@alienplatform/platform-api 1.7.1 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +3 -3
- package/README.md +20 -7
- package/esm/funcs/authWhoami.d.ts +2 -1
- package/esm/funcs/authWhoami.d.ts.map +1 -1
- package/esm/funcs/authWhoami.js +19 -5
- package/esm/funcs/authWhoami.js.map +1 -1
- package/esm/funcs/debugSessionsCreate.d.ts +16 -0
- package/esm/funcs/debugSessionsCreate.d.ts.map +1 -0
- package/esm/funcs/debugSessionsCreate.js +86 -0
- package/esm/funcs/debugSessionsCreate.js.map +1 -0
- package/esm/funcs/debugSessionsGet.d.ts +16 -0
- package/esm/funcs/debugSessionsGet.d.ts.map +1 -0
- package/esm/funcs/debugSessionsGet.js +89 -0
- package/esm/funcs/debugSessionsGet.js.map +1 -0
- package/esm/funcs/debugSessionsList.d.ts +16 -0
- package/esm/funcs/debugSessionsList.d.ts.map +1 -0
- package/esm/funcs/debugSessionsList.js +90 -0
- package/esm/funcs/debugSessionsList.js.map +1 -0
- package/esm/funcs/debugSessionsUpdate.d.ts +16 -0
- package/esm/funcs/debugSessionsUpdate.d.ts.map +1 -0
- package/esm/funcs/debugSessionsUpdate.js +92 -0
- package/esm/funcs/debugSessionsUpdate.js.map +1 -0
- package/esm/funcs/deploymentPlanCompute.d.ts +16 -0
- package/esm/funcs/deploymentPlanCompute.d.ts.map +1 -0
- package/esm/funcs/deploymentPlanCompute.js +84 -0
- package/esm/funcs/deploymentPlanCompute.js.map +1 -0
- package/esm/funcs/deploymentsList.js +3 -2
- package/esm/funcs/deploymentsList.js.map +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/commanddeploymentinfo.d.ts +1 -1
- package/esm/models/commanddeploymentinfo.d.ts.map +1 -1
- package/esm/models/commanddeploymentinfo.js +1 -1
- package/esm/models/commanddeploymentinfo.js.map +1 -1
- package/esm/models/createdebugsessionrequest.d.ts +27 -0
- package/esm/models/createdebugsessionrequest.d.ts.map +1 -0
- package/esm/models/createdebugsessionrequest.js +17 -0
- package/esm/models/createdebugsessionrequest.js.map +1 -0
- package/esm/models/createdeploymentgrouptokenrequest.d.ts +7 -0
- package/esm/models/createdeploymentgrouptokenrequest.d.ts.map +1 -1
- package/esm/models/createdeploymentgrouptokenrequest.js +3 -0
- package/esm/models/createdeploymentgrouptokenrequest.js.map +1 -1
- package/esm/models/createmanagerresponse.d.ts +196 -0
- package/esm/models/createmanagerresponse.d.ts.map +1 -1
- package/esm/models/createmanagerresponse.js +150 -0
- package/esm/models/createmanagerresponse.js.map +1 -1
- package/esm/models/createreleaserequest.d.ts +5 -5
- package/esm/models/createreleaserequest.d.ts.map +1 -1
- package/esm/models/createreleaserequest.js +2 -2
- package/esm/models/createreleaserequest.js.map +1 -1
- package/esm/models/createsetupregistrationoperationrequest.d.ts +95 -0
- package/esm/models/createsetupregistrationoperationrequest.d.ts.map +1 -1
- package/esm/models/createsetupregistrationoperationrequest.js +52 -0
- package/esm/models/createsetupregistrationoperationrequest.js.map +1 -1
- package/esm/models/debugpackagepresignedurls.d.ts +11 -0
- package/esm/models/debugpackagepresignedurls.d.ts.map +1 -0
- package/esm/models/debugpackagepresignedurls.js +14 -0
- package/esm/models/debugpackagepresignedurls.js.map +1 -0
- package/esm/models/debugsession.d.ts +74 -0
- package/esm/models/debugsession.d.ts.map +1 -0
- package/esm/models/debugsession.js +49 -0
- package/esm/models/debugsession.js.map +1 -0
- package/esm/models/debugsessionlistresponse.d.ts +21 -0
- package/esm/models/debugsessionlistresponse.d.ts.map +1 -0
- package/esm/models/debugsessionlistresponse.js +15 -0
- package/esm/models/debugsessionlistresponse.js.map +1 -0
- package/esm/models/debugsessionstate.d.ts +22 -0
- package/esm/models/debugsessionstate.d.ts.map +1 -0
- package/esm/models/debugsessionstate.js +20 -0
- package/esm/models/debugsessionstate.js.map +1 -0
- package/esm/models/deployment.d.ts +313 -4
- package/esm/models/deployment.d.ts.map +1 -1
- package/esm/models/deployment.js +214 -1
- package/esm/models/deployment.js.map +1 -1
- package/esm/models/deploymentcomputeplan.d.ts +165 -0
- package/esm/models/deploymentcomputeplan.d.ts.map +1 -0
- package/esm/models/deploymentcomputeplan.js +206 -0
- package/esm/models/deploymentcomputeplan.js.map +1 -0
- package/esm/models/deploymentconnectioninfo.d.ts +13 -3
- package/esm/models/deploymentconnectioninfo.d.ts.map +1 -1
- package/esm/models/deploymentconnectioninfo.js +10 -1
- package/esm/models/deploymentconnectioninfo.js.map +1 -1
- package/esm/models/deploymentdetailresponse.d.ts +313 -4
- package/esm/models/deploymentdetailresponse.d.ts.map +1 -1
- package/esm/models/deploymentdetailresponse.js +224 -1
- package/esm/models/deploymentdetailresponse.js.map +1 -1
- package/esm/models/deploymentinfo.d.ts +18 -1
- package/esm/models/deploymentinfo.d.ts.map +1 -1
- package/esm/models/deploymentinfo.js +12 -0
- package/esm/models/deploymentinfo.js.map +1 -1
- package/esm/models/deploymentinfosetupconfig.d.ts +248 -0
- package/esm/models/deploymentinfosetupconfig.d.ts.map +1 -1
- package/esm/models/deploymentinfosetupconfig.js +176 -0
- package/esm/models/deploymentinfosetupconfig.js.map +1 -1
- package/esm/models/deploymentlistitemresponse.d.ts +1 -1
- package/esm/models/deploymentlistitemresponse.d.ts.map +1 -1
- package/esm/models/deploymentlistitemresponse.js +1 -1
- package/esm/models/deploymentlistitemresponse.js.map +1 -1
- package/esm/models/deploymentsetupconfig.d.ts +7 -0
- package/esm/models/deploymentsetupconfig.d.ts.map +1 -1
- package/esm/models/deploymentsetupconfig.js +3 -0
- package/esm/models/deploymentsetupconfig.js.map +1 -1
- package/esm/models/deploymentsetupstacksettingspolicy.d.ts +103 -0
- package/esm/models/deploymentsetupstacksettingspolicy.d.ts.map +1 -1
- package/esm/models/deploymentsetupstacksettingspolicy.js +99 -0
- package/esm/models/deploymentsetupstacksettingspolicy.js.map +1 -1
- package/esm/models/encryptedstackinputvalue.d.ts +42 -0
- package/esm/models/encryptedstackinputvalue.d.ts.map +1 -0
- package/esm/models/encryptedstackinputvalue.js +37 -0
- package/esm/models/encryptedstackinputvalue.js.map +1 -0
- package/esm/models/forwardimportrequest.d.ts +7 -3
- package/esm/models/forwardimportrequest.d.ts.map +1 -1
- package/esm/models/forwardimportrequest.js +3 -0
- package/esm/models/forwardimportrequest.js.map +1 -1
- package/esm/models/importsource.d.ts +88 -0
- package/esm/models/importsource.d.ts.map +1 -1
- package/esm/models/importsource.js +43 -0
- package/esm/models/importsource.js.map +1 -1
- package/esm/models/index.d.ts +11 -0
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +11 -0
- package/esm/models/index.js.map +1 -1
- package/esm/models/managerretryresponse.d.ts +196 -0
- package/esm/models/managerretryresponse.d.ts.map +1 -1
- package/esm/models/managerretryresponse.js +150 -0
- package/esm/models/managerretryresponse.js.map +1 -1
- package/esm/models/newdeploymentrequest.d.ts +100 -5
- package/esm/models/newdeploymentrequest.d.ts.map +1 -1
- package/esm/models/newdeploymentrequest.js +53 -1
- package/esm/models/newdeploymentrequest.js.map +1 -1
- package/esm/models/operations/addworkspacemember.d.ts +1 -1
- package/esm/models/operations/cancelmanagersetup.d.ts +1 -1
- package/esm/models/operations/cancelpackage.d.ts +1 -1
- package/esm/models/operations/createapikey.d.ts +1 -1
- package/esm/models/operations/createcommand.d.ts +1 -1
- package/esm/models/operations/createdebugsession.d.ts +18 -0
- package/esm/models/operations/createdebugsession.d.ts.map +1 -0
- package/esm/models/operations/createdebugsession.js +20 -0
- package/esm/models/operations/createdebugsession.js.map +1 -0
- package/esm/models/operations/createdeployment.d.ts +1 -1
- package/esm/models/operations/createdeploymentgroup.d.ts +1 -1
- package/esm/models/operations/createdeploymentgrouptoken.d.ts +1 -1
- package/esm/models/operations/createdeploymenttoken.d.ts +1 -1
- package/esm/models/operations/createdomain.d.ts +1 -1
- package/esm/models/operations/createdomainendpoint.d.ts +1 -1
- package/esm/models/operations/createmanager.d.ts +1 -1
- package/esm/models/operations/createproject.d.ts +3 -3
- package/esm/models/operations/createprojectfromtemplate.d.ts +3 -3
- package/esm/models/operations/createrelease.d.ts +1 -1
- package/esm/models/operations/createsetupregistrationoperation.d.ts +1 -1
- package/esm/models/operations/deleteapikeys.d.ts +1 -1
- package/esm/models/operations/deletedeployment.d.ts +1 -1
- package/esm/models/operations/deletedeploymentgroup.d.ts +1 -1
- package/esm/models/operations/deletedomain.d.ts +1 -1
- package/esm/models/operations/deletemanager.d.ts +1 -1
- package/esm/models/operations/deleteproject.d.ts +1 -1
- package/esm/models/operations/deleteworkspace.d.ts +1 -1
- package/esm/models/operations/dismissworkspaceonboarding.d.ts +1 -1
- package/esm/models/operations/generatemanagertoken.d.ts +1 -1
- package/esm/models/operations/getapikey.d.ts +1 -1
- package/esm/models/operations/getcloudregions.d.ts +1 -1
- package/esm/models/operations/getcommand.d.ts +1 -1
- package/esm/models/operations/getdebugsession.d.ts +20 -0
- package/esm/models/operations/getdebugsession.d.ts.map +1 -0
- package/esm/models/operations/getdebugsession.js +13 -0
- package/esm/models/operations/getdebugsession.js.map +1 -0
- package/esm/models/operations/getdeployment.d.ts +1 -1
- package/esm/models/operations/getdeploymentconnectioninfo.d.ts +1 -1
- package/esm/models/operations/getdeploymentgroup.d.ts +1 -1
- package/esm/models/operations/getdeploymentinfo.d.ts +1 -1
- package/esm/models/operations/getdeploymentstats.d.ts +1 -1
- package/esm/models/operations/getdomain.d.ts +1 -1
- package/esm/models/operations/getevent.d.ts +1 -1
- package/esm/models/operations/getmanager.d.ts +1 -1
- package/esm/models/operations/getmanagerdeployment.d.ts +1 -1
- package/esm/models/operations/getmanagerdomainbinding.d.ts +1 -1
- package/esm/models/operations/getmanagermanagementconfig.d.ts +1 -1
- package/esm/models/operations/getpackage.d.ts +1 -1
- package/esm/models/operations/getproject.d.ts +1 -1
- package/esm/models/operations/getprojectactiverelease.d.ts +1 -1
- package/esm/models/operations/getprojectdeploymentportaldomain.d.ts +1 -1
- package/esm/models/operations/getprojectgcpoauthprovider.d.ts +1 -1
- package/esm/models/operations/getprojecttemplateurls.d.ts +1 -1
- package/esm/models/operations/getrelease.d.ts +1 -1
- package/esm/models/operations/getresourcedeploymentdetail.d.ts +1 -1
- package/esm/models/operations/getsetupregistrationoperation.d.ts +1 -1
- package/esm/models/operations/getworkspace.d.ts +1 -1
- package/esm/models/operations/getworkspacebillingentitlements.d.ts +1 -1
- package/esm/models/operations/importdeployment.d.ts +1 -1
- package/esm/models/operations/index.d.ts +6 -0
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +6 -0
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/listapikeys.d.ts +1 -1
- package/esm/models/operations/listbillingauditlog.d.ts +1 -1
- package/esm/models/operations/listcommanddeployments.d.ts +1 -1
- package/esm/models/operations/listcommandnames.d.ts +1 -1
- package/esm/models/operations/listcommands.d.ts +1 -1
- package/esm/models/operations/listdebugsessions.d.ts +82 -0
- package/esm/models/operations/listdebugsessions.d.ts.map +1 -0
- package/esm/models/operations/listdebugsessions.js +42 -0
- package/esm/models/operations/listdebugsessions.js.map +1 -0
- package/esm/models/operations/listdeploymentfilterdeploymentgroups.d.ts +1 -1
- package/esm/models/operations/listdeploymentfilterenvironments.d.ts +1 -1
- package/esm/models/operations/listdeploymentgroups.d.ts +1 -1
- package/esm/models/operations/listdeployments.d.ts +6 -1
- package/esm/models/operations/listdeployments.d.ts.map +1 -1
- package/esm/models/operations/listdeployments.js +1 -0
- package/esm/models/operations/listdeployments.js.map +1 -1
- package/esm/models/operations/listdomains.d.ts +1 -1
- package/esm/models/operations/listevents.d.ts +1 -1
- package/esm/models/operations/listmanagerevents.d.ts +1 -1
- package/esm/models/operations/listmanagers.d.ts +1 -1
- package/esm/models/operations/listpackages.d.ts +1 -1
- package/esm/models/operations/listprojects.d.ts +1 -1
- package/esm/models/operations/listreleaseauthors.d.ts +1 -1
- package/esm/models/operations/listreleasebranches.d.ts +1 -1
- package/esm/models/operations/listreleases.d.ts +1 -1
- package/esm/models/operations/listresourcedeployments.d.ts +1 -1
- package/esm/models/operations/listresourceoverview.d.ts +1 -1
- package/esm/models/operations/listworkspacemembers.d.ts +1 -1
- package/esm/models/operations/listworkspaces.d.ts +1 -1
- package/esm/models/operations/pindeploymentrelease.d.ts +1 -1
- package/esm/models/operations/plandeploymentcompute.d.ts +1470 -0
- package/esm/models/operations/plandeploymentcompute.d.ts.map +1 -0
- package/esm/models/operations/plandeploymentcompute.js +897 -0
- package/esm/models/operations/plandeploymentcompute.js.map +1 -0
- package/esm/models/operations/preparedeploymentstack.d.ts +435 -407
- package/esm/models/operations/preparedeploymentstack.d.ts.map +1 -1
- package/esm/models/operations/preparedeploymentstack.js +401 -352
- package/esm/models/operations/preparedeploymentstack.js.map +1 -1
- package/esm/models/operations/provisionmanager.d.ts +1 -1
- package/esm/models/operations/rebuildpackages.d.ts +1 -1
- package/esm/models/operations/redeploydeployment.d.ts +1 -1
- package/esm/models/operations/refreshdomain.d.ts +1 -1
- package/esm/models/operations/removeworkspacemember.d.ts +1 -1
- package/esm/models/operations/reportmanagerheartbeat.d.ts +1 -1
- package/esm/models/operations/resolve.d.ts +1 -1
- package/esm/models/operations/resolvemanagergcpoauthprovider.d.ts +1 -1
- package/esm/models/operations/retrydeployment.d.ts +1 -1
- package/esm/models/operations/retrymanager.d.ts +1 -1
- package/esm/models/operations/retrymanagersetup.d.ts +1 -1
- package/esm/models/operations/revokeapikey.d.ts +1 -1
- package/esm/models/operations/syncacquire.d.ts +1 -1
- package/esm/models/operations/synclist.d.ts +1 -1
- package/esm/models/operations/syncreconcile.d.ts +1 -1
- package/esm/models/operations/syncrelease.d.ts +1 -1
- package/esm/models/operations/updateapikey.d.ts +1 -1
- package/esm/models/operations/updatecommand.d.ts +1 -1
- package/esm/models/operations/updatedebugsession.d.ts +23 -0
- package/esm/models/operations/updatedebugsession.d.ts.map +1 -0
- package/esm/models/operations/updatedebugsession.js +21 -0
- package/esm/models/operations/updatedebugsession.js.map +1 -0
- package/esm/models/operations/updatedeploymentenvironmentvariables.d.ts +1 -1
- package/esm/models/operations/updatedeploymentgroup.d.ts +1 -1
- package/esm/models/operations/updatemanager.d.ts +1 -1
- package/esm/models/operations/updatemanagerdomainbinding.d.ts +1 -1
- package/esm/models/operations/updateproject.d.ts +1 -1
- package/esm/models/operations/updateprojectgcpoauthprovider.d.ts +1 -1
- package/esm/models/operations/updateworkspace.d.ts +1 -1
- package/esm/models/operations/updateworkspacemember.d.ts +1 -1
- package/esm/models/operations/whoami.d.ts +15 -0
- package/esm/models/operations/whoami.d.ts.map +1 -0
- package/esm/models/operations/whoami.js +12 -0
- package/esm/models/operations/whoami.js.map +1 -0
- package/esm/models/package.d.ts +1 -1
- package/esm/models/persistimporteddeploymentrequest.d.ts +402 -0
- package/esm/models/persistimporteddeploymentrequest.d.ts.map +1 -1
- package/esm/models/persistimporteddeploymentrequest.js +232 -0
- package/esm/models/persistimporteddeploymentrequest.js.map +1 -1
- package/esm/models/prepareddeploymentstack.d.ts +248 -0
- package/esm/models/prepareddeploymentstack.d.ts.map +1 -1
- package/esm/models/prepareddeploymentstack.js +174 -0
- package/esm/models/prepareddeploymentstack.js.map +1 -1
- package/esm/models/project.d.ts +1 -1
- package/esm/models/projectlistitemresponse.d.ts +1 -1
- package/esm/models/resolvedstackinputsummary.d.ts +23 -0
- package/esm/models/resolvedstackinputsummary.d.ts.map +1 -0
- package/esm/models/resolvedstackinputsummary.js +24 -0
- package/esm/models/resolvedstackinputsummary.js.map +1 -0
- package/esm/models/stackinputvaluerequest.d.ts +8 -0
- package/esm/models/stackinputvaluerequest.d.ts.map +1 -0
- package/esm/models/stackinputvaluerequest.js +10 -0
- package/esm/models/stackinputvaluerequest.js.map +1 -0
- package/esm/models/syncacquireresponse.d.ts +916 -18
- package/esm/models/syncacquireresponse.d.ts.map +1 -1
- package/esm/models/syncacquireresponse.js +628 -1
- package/esm/models/syncacquireresponse.js.map +1 -1
- package/esm/models/synclistresponse.d.ts +313 -4
- package/esm/models/synclistresponse.d.ts.map +1 -1
- package/esm/models/synclistresponse.js +210 -1
- package/esm/models/synclistresponse.js.map +1 -1
- package/esm/models/syncreconcilerequest.d.ts +921 -0
- package/esm/models/syncreconcilerequest.d.ts.map +1 -1
- package/esm/models/syncreconcilerequest.js +534 -0
- package/esm/models/syncreconcilerequest.js.map +1 -1
- package/esm/models/syncreconcileresponse.d.ts +1318 -174
- package/esm/models/syncreconcileresponse.d.ts.map +1 -1
- package/esm/models/syncreconcileresponse.js +901 -91
- package/esm/models/syncreconcileresponse.js.map +1 -1
- package/esm/models/updateapikeyrequest.d.ts +11 -0
- package/esm/models/updateapikeyrequest.d.ts.map +1 -1
- package/esm/models/updateapikeyrequest.js +3 -0
- package/esm/models/updateapikeyrequest.js.map +1 -1
- package/esm/models/updatedebugsessionrequest.d.ts +21 -0
- package/esm/models/updatedebugsessionrequest.d.ts.map +1 -0
- package/esm/models/updatedebugsessionrequest.js +15 -0
- package/esm/models/updatedebugsessionrequest.js.map +1 -0
- package/esm/models/updatedeploymentsetuppolicy.d.ts +22 -0
- package/esm/models/updatedeploymentsetuppolicy.d.ts.map +1 -0
- package/esm/models/updatedeploymentsetuppolicy.js +14 -0
- package/esm/models/updatedeploymentsetuppolicy.js.map +1 -0
- package/esm/models/updateproject.d.ts +1 -1
- package/esm/sdk/auth.d.ts +2 -1
- package/esm/sdk/auth.d.ts.map +1 -1
- package/esm/sdk/auth.js +2 -2
- package/esm/sdk/auth.js.map +1 -1
- package/esm/sdk/debugsessions.d.ts +22 -0
- package/esm/sdk/debugsessions.d.ts.map +1 -0
- package/esm/sdk/debugsessions.js +36 -0
- package/esm/sdk/debugsessions.js.map +1 -0
- package/esm/sdk/deployment.d.ts +4 -0
- package/esm/sdk/deployment.d.ts.map +1 -1
- package/esm/sdk/deployment.js +7 -0
- package/esm/sdk/deployment.js.map +1 -1
- package/esm/sdk/sdk.d.ts +3 -0
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +4 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/user.d.ts +4 -4
- package/esm/sdk/user.d.ts.map +1 -1
- package/esm/sdk/user.js +6 -6
- package/esm/sdk/user.js.map +1 -1
- package/examples/{userGetProfile.example.ts → userListMemberships.example.ts} +2 -2
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/authWhoami.ts +25 -2
- package/src/funcs/debugSessionsCreate.ts +178 -0
- package/src/funcs/debugSessionsGet.ts +179 -0
- package/src/funcs/debugSessionsList.ts +181 -0
- package/src/funcs/debugSessionsUpdate.ts +182 -0
- package/src/funcs/deploymentPlanCompute.ts +176 -0
- package/src/funcs/deploymentsList.ts +3 -1
- package/src/lib/config.ts +2 -2
- package/src/models/commanddeploymentinfo.ts +2 -2
- package/src/models/createdebugsessionrequest.ts +52 -0
- package/src/models/createdeploymentgrouptokenrequest.ts +9 -0
- package/src/models/createmanagerresponse.ts +520 -0
- package/src/models/createreleaserequest.ts +7 -7
- package/src/models/createsetupregistrationoperationrequest.ts +241 -0
- package/src/models/debugpackagepresignedurls.ts +32 -0
- package/src/models/debugsession.ts +118 -0
- package/src/models/debugsessionlistresponse.ts +42 -0
- package/src/models/debugsessionstate.ts +31 -0
- package/src/models/deployment.ts +651 -5
- package/src/models/deploymentcomputeplan.ts +500 -0
- package/src/models/deploymentconnectioninfo.ts +33 -4
- package/src/models/deploymentdetailresponse.ts +715 -5
- package/src/models/deploymentinfo.ts +37 -1
- package/src/models/deploymentinfosetupconfig.ts +544 -0
- package/src/models/deploymentlistitemresponse.ts +2 -2
- package/src/models/deploymentsetupconfig.ts +9 -0
- package/src/models/deploymentsetupstacksettingspolicy.ts +350 -0
- package/src/models/encryptedstackinputvalue.ts +86 -0
- package/src/models/forwardimportrequest.ts +9 -3
- package/src/models/importsource.ts +184 -0
- package/src/models/index.ts +11 -0
- package/src/models/managerretryresponse.ts +517 -0
- package/src/models/newdeploymentrequest.ts +219 -6
- package/src/models/operations/addworkspacemember.ts +1 -1
- package/src/models/operations/cancelmanagersetup.ts +1 -1
- package/src/models/operations/cancelpackage.ts +1 -1
- package/src/models/operations/createapikey.ts +1 -1
- package/src/models/operations/createcommand.ts +1 -1
- package/src/models/operations/createdebugsession.ts +45 -0
- package/src/models/operations/createdeployment.ts +1 -1
- package/src/models/operations/createdeploymentgroup.ts +1 -1
- package/src/models/operations/createdeploymentgrouptoken.ts +1 -1
- package/src/models/operations/createdeploymenttoken.ts +1 -1
- package/src/models/operations/createdomain.ts +1 -1
- package/src/models/operations/createdomainendpoint.ts +1 -1
- package/src/models/operations/createmanager.ts +1 -1
- package/src/models/operations/createproject.ts +3 -3
- package/src/models/operations/createprojectfromtemplate.ts +3 -3
- package/src/models/operations/createrelease.ts +1 -1
- package/src/models/operations/createsetupregistrationoperation.ts +1 -1
- package/src/models/operations/deleteapikeys.ts +1 -1
- package/src/models/operations/deletedeployment.ts +1 -1
- package/src/models/operations/deletedeploymentgroup.ts +1 -1
- package/src/models/operations/deletedomain.ts +1 -1
- package/src/models/operations/deletemanager.ts +1 -1
- package/src/models/operations/deleteproject.ts +1 -1
- package/src/models/operations/deleteworkspace.ts +1 -1
- package/src/models/operations/dismissworkspaceonboarding.ts +1 -1
- package/src/models/operations/generatemanagertoken.ts +1 -1
- package/src/models/operations/getapikey.ts +1 -1
- package/src/models/operations/getcloudregions.ts +1 -1
- package/src/models/operations/getcommand.ts +1 -1
- package/src/models/operations/getdebugsession.ts +39 -0
- package/src/models/operations/getdeployment.ts +1 -1
- package/src/models/operations/getdeploymentconnectioninfo.ts +1 -1
- package/src/models/operations/getdeploymentgroup.ts +1 -1
- package/src/models/operations/getdeploymentinfo.ts +1 -1
- package/src/models/operations/getdeploymentstats.ts +1 -1
- package/src/models/operations/getdomain.ts +1 -1
- package/src/models/operations/getevent.ts +1 -1
- package/src/models/operations/getmanager.ts +1 -1
- package/src/models/operations/getmanagerdeployment.ts +1 -1
- package/src/models/operations/getmanagerdomainbinding.ts +1 -1
- package/src/models/operations/getmanagermanagementconfig.ts +1 -1
- package/src/models/operations/getpackage.ts +1 -1
- package/src/models/operations/getproject.ts +1 -1
- package/src/models/operations/getprojectactiverelease.ts +1 -1
- package/src/models/operations/getprojectdeploymentportaldomain.ts +1 -1
- package/src/models/operations/getprojectgcpoauthprovider.ts +1 -1
- package/src/models/operations/getprojecttemplateurls.ts +1 -1
- package/src/models/operations/getrelease.ts +1 -1
- package/src/models/operations/getresourcedeploymentdetail.ts +1 -1
- package/src/models/operations/getsetupregistrationoperation.ts +1 -1
- package/src/models/operations/getworkspace.ts +1 -1
- package/src/models/operations/getworkspacebillingentitlements.ts +1 -1
- package/src/models/operations/importdeployment.ts +1 -1
- package/src/models/operations/index.ts +6 -0
- package/src/models/operations/listapikeys.ts +1 -1
- package/src/models/operations/listbillingauditlog.ts +1 -1
- package/src/models/operations/listcommanddeployments.ts +1 -1
- package/src/models/operations/listcommandnames.ts +1 -1
- package/src/models/operations/listcommands.ts +1 -1
- package/src/models/operations/listdebugsessions.ts +117 -0
- package/src/models/operations/listdeploymentfilterdeploymentgroups.ts +1 -1
- package/src/models/operations/listdeploymentfilterenvironments.ts +1 -1
- package/src/models/operations/listdeploymentgroups.ts +1 -1
- package/src/models/operations/listdeployments.ts +7 -1
- package/src/models/operations/listdomains.ts +1 -1
- package/src/models/operations/listevents.ts +1 -1
- package/src/models/operations/listmanagerevents.ts +1 -1
- package/src/models/operations/listmanagers.ts +1 -1
- package/src/models/operations/listpackages.ts +1 -1
- package/src/models/operations/listprojects.ts +1 -1
- package/src/models/operations/listreleaseauthors.ts +1 -1
- package/src/models/operations/listreleasebranches.ts +1 -1
- package/src/models/operations/listreleases.ts +1 -1
- package/src/models/operations/listresourcedeployments.ts +1 -1
- package/src/models/operations/listresourceoverview.ts +1 -1
- package/src/models/operations/listworkspacemembers.ts +1 -1
- package/src/models/operations/listworkspaces.ts +1 -1
- package/src/models/operations/pindeploymentrelease.ts +1 -1
- package/src/models/operations/plandeploymentcompute.ts +3412 -0
- package/src/models/operations/preparedeploymentstack.ts +1656 -1063
- package/src/models/operations/provisionmanager.ts +1 -1
- package/src/models/operations/rebuildpackages.ts +1 -1
- package/src/models/operations/redeploydeployment.ts +1 -1
- package/src/models/operations/refreshdomain.ts +1 -1
- package/src/models/operations/removeworkspacemember.ts +1 -1
- package/src/models/operations/reportmanagerheartbeat.ts +1 -1
- package/src/models/operations/resolve.ts +1 -1
- package/src/models/operations/resolvemanagergcpoauthprovider.ts +1 -1
- package/src/models/operations/retrydeployment.ts +1 -1
- package/src/models/operations/retrymanager.ts +1 -1
- package/src/models/operations/retrymanagersetup.ts +1 -1
- package/src/models/operations/revokeapikey.ts +1 -1
- package/src/models/operations/syncacquire.ts +1 -1
- package/src/models/operations/synclist.ts +1 -1
- package/src/models/operations/syncreconcile.ts +1 -1
- package/src/models/operations/syncrelease.ts +1 -1
- package/src/models/operations/updateapikey.ts +1 -1
- package/src/models/operations/updatecommand.ts +1 -1
- package/src/models/operations/updatedebugsession.ts +51 -0
- package/src/models/operations/updatedeploymentenvironmentvariables.ts +1 -1
- package/src/models/operations/updatedeploymentgroup.ts +1 -1
- package/src/models/operations/updatemanager.ts +1 -1
- package/src/models/operations/updatemanagerdomainbinding.ts +1 -1
- package/src/models/operations/updateproject.ts +1 -1
- package/src/models/operations/updateprojectgcpoauthprovider.ts +1 -1
- package/src/models/operations/updateworkspace.ts +1 -1
- package/src/models/operations/updateworkspacemember.ts +1 -1
- package/src/models/operations/whoami.ts +29 -0
- package/src/models/package.ts +1 -1
- package/src/models/persistimporteddeploymentrequest.ts +884 -0
- package/src/models/prepareddeploymentstack.ts +530 -0
- package/src/models/project.ts +1 -1
- package/src/models/projectlistitemresponse.ts +1 -1
- package/src/models/resolvedstackinputsummary.ts +54 -0
- package/src/models/stackinputvaluerequest.ts +28 -0
- package/src/models/syncacquireresponse.ts +2216 -154
- package/src/models/synclistresponse.ts +666 -5
- package/src/models/syncreconcilerequest.ts +2059 -82
- package/src/models/syncreconcileresponse.ts +2978 -444
- package/src/models/updateapikeyrequest.ts +17 -0
- package/src/models/updatedebugsessionrequest.ts +40 -0
- package/src/models/updatedeploymentsetuppolicy.ts +43 -0
- package/src/models/updateproject.ts +1 -1
- package/src/sdk/auth.ts +3 -0
- package/src/sdk/debugsessions.ts +70 -0
- package/src/sdk/deployment.ts +15 -0
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/user.ts +12 -12
package/src/models/deployment.ts
CHANGED
|
@@ -196,6 +196,61 @@ export type DeploymentEnvironmentInfoUnion =
|
|
|
196
196
|
| DeploymentEnvironmentInfoTest
|
|
197
197
|
| any;
|
|
198
198
|
|
|
199
|
+
export type DeploymentPoolsAutoscale = {
|
|
200
|
+
/**
|
|
201
|
+
* Provider machine type selected for this deployment.
|
|
202
|
+
*/
|
|
203
|
+
machine?: string | null | undefined;
|
|
204
|
+
/**
|
|
205
|
+
* Maximum machine count.
|
|
206
|
+
*/
|
|
207
|
+
max: number;
|
|
208
|
+
/**
|
|
209
|
+
* Minimum machine count.
|
|
210
|
+
*/
|
|
211
|
+
min: number;
|
|
212
|
+
mode: "autoscale";
|
|
213
|
+
};
|
|
214
|
+
|
|
215
|
+
export type DeploymentPoolsFixed = {
|
|
216
|
+
/**
|
|
217
|
+
* Provider machine type selected for this deployment.
|
|
218
|
+
*/
|
|
219
|
+
machine?: string | null | undefined;
|
|
220
|
+
/**
|
|
221
|
+
* Number of machines to run.
|
|
222
|
+
*/
|
|
223
|
+
machines: number;
|
|
224
|
+
mode: "fixed";
|
|
225
|
+
};
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* User-selected deployment settings for one compute pool.
|
|
229
|
+
*/
|
|
230
|
+
export type DeploymentPoolsUnion =
|
|
231
|
+
| DeploymentPoolsFixed
|
|
232
|
+
| DeploymentPoolsAutoscale;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Deployment-time compute choices for Alien-managed compute pools.
|
|
236
|
+
*
|
|
237
|
+
* @remarks
|
|
238
|
+
*
|
|
239
|
+
* Application source declares portable pool requirements. This settings
|
|
240
|
+
* object stores the concrete choices made for one deployment, such as the
|
|
241
|
+
* provider machine type and selected machine counts.
|
|
242
|
+
*/
|
|
243
|
+
export type DeploymentCompute = {
|
|
244
|
+
/**
|
|
245
|
+
* Selected compute choices keyed by pool ID.
|
|
246
|
+
*/
|
|
247
|
+
pools?:
|
|
248
|
+
| { [k: string]: DeploymentPoolsFixed | DeploymentPoolsAutoscale }
|
|
249
|
+
| undefined;
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
export type DeploymentComputeUnion = DeploymentCompute | any;
|
|
253
|
+
|
|
199
254
|
/**
|
|
200
255
|
* Deployment model: how updates are delivered to the remote environment.
|
|
201
256
|
*/
|
|
@@ -1139,6 +1194,7 @@ export type DeploymentUpdates = ClosedEnum<typeof DeploymentUpdates>;
|
|
|
1139
1194
|
* User-provided configuration (network, deployment model, approvals)
|
|
1140
1195
|
*/
|
|
1141
1196
|
export type DeploymentStackSettings = {
|
|
1197
|
+
compute?: DeploymentCompute | any | null | undefined;
|
|
1142
1198
|
/**
|
|
1143
1199
|
* Deployment model: how updates are delivered to the remote environment.
|
|
1144
1200
|
*/
|
|
@@ -1484,6 +1540,238 @@ export type DeploymentStackState = {
|
|
|
1484
1540
|
resources: { [k: string]: DeploymentStackStateResources };
|
|
1485
1541
|
};
|
|
1486
1542
|
|
|
1543
|
+
export const DeploymentTypeStringList = {
|
|
1544
|
+
StringList: "stringList",
|
|
1545
|
+
} as const;
|
|
1546
|
+
export type DeploymentTypeStringList = ClosedEnum<
|
|
1547
|
+
typeof DeploymentTypeStringList
|
|
1548
|
+
>;
|
|
1549
|
+
|
|
1550
|
+
export type DeploymentDefaultStringList = {
|
|
1551
|
+
type: DeploymentTypeStringList;
|
|
1552
|
+
/**
|
|
1553
|
+
* String list default.
|
|
1554
|
+
*/
|
|
1555
|
+
value: Array<string>;
|
|
1556
|
+
};
|
|
1557
|
+
|
|
1558
|
+
export const DeploymentTypeBoolean = {
|
|
1559
|
+
Boolean: "boolean",
|
|
1560
|
+
} as const;
|
|
1561
|
+
export type DeploymentTypeBoolean = ClosedEnum<typeof DeploymentTypeBoolean>;
|
|
1562
|
+
|
|
1563
|
+
export type DeploymentDefaultBoolean = {
|
|
1564
|
+
type: DeploymentTypeBoolean;
|
|
1565
|
+
/**
|
|
1566
|
+
* Boolean default.
|
|
1567
|
+
*/
|
|
1568
|
+
value: boolean;
|
|
1569
|
+
};
|
|
1570
|
+
|
|
1571
|
+
export const DeploymentTypeNumber = {
|
|
1572
|
+
Number: "number",
|
|
1573
|
+
} as const;
|
|
1574
|
+
export type DeploymentTypeNumber = ClosedEnum<typeof DeploymentTypeNumber>;
|
|
1575
|
+
|
|
1576
|
+
export type DeploymentDefaultNumber = {
|
|
1577
|
+
type: DeploymentTypeNumber;
|
|
1578
|
+
/**
|
|
1579
|
+
* Number default.
|
|
1580
|
+
*/
|
|
1581
|
+
value: string;
|
|
1582
|
+
};
|
|
1583
|
+
|
|
1584
|
+
export const DeploymentTypeString = {
|
|
1585
|
+
String: "string",
|
|
1586
|
+
} as const;
|
|
1587
|
+
export type DeploymentTypeString = ClosedEnum<typeof DeploymentTypeString>;
|
|
1588
|
+
|
|
1589
|
+
export type DeploymentDefaultString = {
|
|
1590
|
+
type: DeploymentTypeString;
|
|
1591
|
+
/**
|
|
1592
|
+
* String default.
|
|
1593
|
+
*/
|
|
1594
|
+
value: string;
|
|
1595
|
+
};
|
|
1596
|
+
|
|
1597
|
+
export type DeploymentDefaultUnion =
|
|
1598
|
+
| DeploymentDefaultString
|
|
1599
|
+
| DeploymentDefaultNumber
|
|
1600
|
+
| DeploymentDefaultBoolean
|
|
1601
|
+
| DeploymentDefaultStringList
|
|
1602
|
+
| any;
|
|
1603
|
+
|
|
1604
|
+
/**
|
|
1605
|
+
* Environment variable handling for a stack input mapping.
|
|
1606
|
+
*/
|
|
1607
|
+
export const DeploymentTypeEnvEnum = {
|
|
1608
|
+
Plain: "plain",
|
|
1609
|
+
Secret: "secret",
|
|
1610
|
+
} as const;
|
|
1611
|
+
/**
|
|
1612
|
+
* Environment variable handling for a stack input mapping.
|
|
1613
|
+
*/
|
|
1614
|
+
export type DeploymentTypeEnvEnum = ClosedEnum<typeof DeploymentTypeEnvEnum>;
|
|
1615
|
+
|
|
1616
|
+
export type DeploymentTypeUnion = DeploymentTypeEnvEnum | any;
|
|
1617
|
+
|
|
1618
|
+
/**
|
|
1619
|
+
* How a resolved stack input is injected into runtime environment variables.
|
|
1620
|
+
*/
|
|
1621
|
+
export type DeploymentEnv = {
|
|
1622
|
+
/**
|
|
1623
|
+
* Environment variable name.
|
|
1624
|
+
*/
|
|
1625
|
+
name: string;
|
|
1626
|
+
/**
|
|
1627
|
+
* Target resource IDs or patterns. None means every env-capable resource.
|
|
1628
|
+
*/
|
|
1629
|
+
targetResources?: Array<string> | null | undefined;
|
|
1630
|
+
type?: DeploymentTypeEnvEnum | any | null | undefined;
|
|
1631
|
+
};
|
|
1632
|
+
|
|
1633
|
+
/**
|
|
1634
|
+
* Primitive stack input kind.
|
|
1635
|
+
*/
|
|
1636
|
+
export const DeploymentKind = {
|
|
1637
|
+
String: "string",
|
|
1638
|
+
Secret: "secret",
|
|
1639
|
+
Number: "number",
|
|
1640
|
+
Integer: "integer",
|
|
1641
|
+
Boolean: "boolean",
|
|
1642
|
+
Enum: "enum",
|
|
1643
|
+
StringList: "stringList",
|
|
1644
|
+
} as const;
|
|
1645
|
+
/**
|
|
1646
|
+
* Primitive stack input kind.
|
|
1647
|
+
*/
|
|
1648
|
+
export type DeploymentKind = ClosedEnum<typeof DeploymentKind>;
|
|
1649
|
+
|
|
1650
|
+
/**
|
|
1651
|
+
* Represents the target cloud platform.
|
|
1652
|
+
*/
|
|
1653
|
+
export const DeploymentPreparedStackPlatform = {
|
|
1654
|
+
Aws: "aws",
|
|
1655
|
+
Gcp: "gcp",
|
|
1656
|
+
Azure: "azure",
|
|
1657
|
+
Kubernetes: "kubernetes",
|
|
1658
|
+
Local: "local",
|
|
1659
|
+
Test: "test",
|
|
1660
|
+
} as const;
|
|
1661
|
+
/**
|
|
1662
|
+
* Represents the target cloud platform.
|
|
1663
|
+
*/
|
|
1664
|
+
export type DeploymentPreparedStackPlatform = ClosedEnum<
|
|
1665
|
+
typeof DeploymentPreparedStackPlatform
|
|
1666
|
+
>;
|
|
1667
|
+
|
|
1668
|
+
/**
|
|
1669
|
+
* Who can provide a stack input value.
|
|
1670
|
+
*/
|
|
1671
|
+
export const DeploymentProvidedBy = {
|
|
1672
|
+
Developer: "developer",
|
|
1673
|
+
Deployer: "deployer",
|
|
1674
|
+
} as const;
|
|
1675
|
+
/**
|
|
1676
|
+
* Who can provide a stack input value.
|
|
1677
|
+
*/
|
|
1678
|
+
export type DeploymentProvidedBy = ClosedEnum<typeof DeploymentProvidedBy>;
|
|
1679
|
+
|
|
1680
|
+
/**
|
|
1681
|
+
* Portable stack input validation constraints.
|
|
1682
|
+
*/
|
|
1683
|
+
export type DeploymentValidation = {
|
|
1684
|
+
/**
|
|
1685
|
+
* Semantic format hint such as url.
|
|
1686
|
+
*/
|
|
1687
|
+
format?: string | null | undefined;
|
|
1688
|
+
/**
|
|
1689
|
+
* Maximum number.
|
|
1690
|
+
*/
|
|
1691
|
+
max?: string | null | undefined;
|
|
1692
|
+
/**
|
|
1693
|
+
* Maximum string-list items.
|
|
1694
|
+
*/
|
|
1695
|
+
maxItems?: number | null | undefined;
|
|
1696
|
+
/**
|
|
1697
|
+
* Maximum string length.
|
|
1698
|
+
*/
|
|
1699
|
+
maxLength?: number | null | undefined;
|
|
1700
|
+
/**
|
|
1701
|
+
* Minimum number.
|
|
1702
|
+
*/
|
|
1703
|
+
min?: string | null | undefined;
|
|
1704
|
+
/**
|
|
1705
|
+
* Minimum string-list items.
|
|
1706
|
+
*/
|
|
1707
|
+
minItems?: number | null | undefined;
|
|
1708
|
+
/**
|
|
1709
|
+
* Minimum string length.
|
|
1710
|
+
*/
|
|
1711
|
+
minLength?: number | null | undefined;
|
|
1712
|
+
/**
|
|
1713
|
+
* Portable whole-value regex pattern.
|
|
1714
|
+
*/
|
|
1715
|
+
pattern?: string | null | undefined;
|
|
1716
|
+
/**
|
|
1717
|
+
* Allowed string enum values.
|
|
1718
|
+
*/
|
|
1719
|
+
values?: Array<string> | null | undefined;
|
|
1720
|
+
};
|
|
1721
|
+
|
|
1722
|
+
export type DeploymentValidationUnion = DeploymentValidation | any;
|
|
1723
|
+
|
|
1724
|
+
/**
|
|
1725
|
+
* Stack input definition serialized into a release stack.
|
|
1726
|
+
*/
|
|
1727
|
+
export type DeploymentInput = {
|
|
1728
|
+
default?:
|
|
1729
|
+
| DeploymentDefaultString
|
|
1730
|
+
| DeploymentDefaultNumber
|
|
1731
|
+
| DeploymentDefaultBoolean
|
|
1732
|
+
| DeploymentDefaultStringList
|
|
1733
|
+
| any
|
|
1734
|
+
| null
|
|
1735
|
+
| undefined;
|
|
1736
|
+
/**
|
|
1737
|
+
* Human-facing helper text.
|
|
1738
|
+
*/
|
|
1739
|
+
description: string;
|
|
1740
|
+
/**
|
|
1741
|
+
* Runtime env-var mappings for v1 input resolution.
|
|
1742
|
+
*/
|
|
1743
|
+
env?: Array<DeploymentEnv> | undefined;
|
|
1744
|
+
/**
|
|
1745
|
+
* Stable input ID used by CLI/API calls.
|
|
1746
|
+
*/
|
|
1747
|
+
id: string;
|
|
1748
|
+
/**
|
|
1749
|
+
* Primitive stack input kind.
|
|
1750
|
+
*/
|
|
1751
|
+
kind: DeploymentKind;
|
|
1752
|
+
/**
|
|
1753
|
+
* Human-facing field label.
|
|
1754
|
+
*/
|
|
1755
|
+
label: string;
|
|
1756
|
+
/**
|
|
1757
|
+
* Example placeholder shown in UI.
|
|
1758
|
+
*/
|
|
1759
|
+
placeholder?: string | null | undefined;
|
|
1760
|
+
/**
|
|
1761
|
+
* Platforms where this input applies.
|
|
1762
|
+
*/
|
|
1763
|
+
platforms?: Array<DeploymentPreparedStackPlatform> | null | undefined;
|
|
1764
|
+
/**
|
|
1765
|
+
* Who can provide this value.
|
|
1766
|
+
*/
|
|
1767
|
+
providedBy: Array<DeploymentProvidedBy>;
|
|
1768
|
+
/**
|
|
1769
|
+
* Whether a resolved value is required before deployment can proceed.
|
|
1770
|
+
*/
|
|
1771
|
+
required: boolean;
|
|
1772
|
+
validation?: DeploymentValidation | any | null | undefined;
|
|
1773
|
+
};
|
|
1774
|
+
|
|
1487
1775
|
export const DeploymentManagementEnum = {
|
|
1488
1776
|
Auto: "auto",
|
|
1489
1777
|
} as const;
|
|
@@ -2650,6 +2938,10 @@ export type DeploymentPreparedStack = {
|
|
|
2650
2938
|
* Unique identifier for the stack
|
|
2651
2939
|
*/
|
|
2652
2940
|
id: string;
|
|
2941
|
+
/**
|
|
2942
|
+
* Input definitions required before setup or deployment can proceed.
|
|
2943
|
+
*/
|
|
2944
|
+
inputs?: Array<DeploymentInput> | undefined;
|
|
2653
2945
|
/**
|
|
2654
2946
|
* Combined permissions configuration that contains both profiles and management
|
|
2655
2947
|
*/
|
|
@@ -2965,10 +3257,7 @@ export type Deployment = {
|
|
|
2965
3257
|
| undefined;
|
|
2966
3258
|
createdAt: Date;
|
|
2967
3259
|
updatedAt: Date;
|
|
2968
|
-
|
|
2969
|
-
* ID of the manager responsible for this deployment
|
|
2970
|
-
*/
|
|
2971
|
-
managerId?: string | null | undefined;
|
|
3260
|
+
managerId: string;
|
|
2972
3261
|
/**
|
|
2973
3262
|
* Unique identifier for the workspace.
|
|
2974
3263
|
*/
|
|
@@ -3140,6 +3429,106 @@ export function deploymentEnvironmentInfoUnionFromJSON(
|
|
|
3140
3429
|
);
|
|
3141
3430
|
}
|
|
3142
3431
|
|
|
3432
|
+
/** @internal */
|
|
3433
|
+
export const DeploymentPoolsAutoscale$inboundSchema: z.ZodType<
|
|
3434
|
+
DeploymentPoolsAutoscale,
|
|
3435
|
+
unknown
|
|
3436
|
+
> = z.object({
|
|
3437
|
+
machine: z.nullable(z.string()).optional(),
|
|
3438
|
+
max: z.int(),
|
|
3439
|
+
min: z.int(),
|
|
3440
|
+
mode: z.literal("autoscale"),
|
|
3441
|
+
});
|
|
3442
|
+
|
|
3443
|
+
export function deploymentPoolsAutoscaleFromJSON(
|
|
3444
|
+
jsonString: string,
|
|
3445
|
+
): SafeParseResult<DeploymentPoolsAutoscale, SDKValidationError> {
|
|
3446
|
+
return safeParse(
|
|
3447
|
+
jsonString,
|
|
3448
|
+
(x) => DeploymentPoolsAutoscale$inboundSchema.parse(JSON.parse(x)),
|
|
3449
|
+
`Failed to parse 'DeploymentPoolsAutoscale' from JSON`,
|
|
3450
|
+
);
|
|
3451
|
+
}
|
|
3452
|
+
|
|
3453
|
+
/** @internal */
|
|
3454
|
+
export const DeploymentPoolsFixed$inboundSchema: z.ZodType<
|
|
3455
|
+
DeploymentPoolsFixed,
|
|
3456
|
+
unknown
|
|
3457
|
+
> = z.object({
|
|
3458
|
+
machine: z.nullable(z.string()).optional(),
|
|
3459
|
+
machines: z.int(),
|
|
3460
|
+
mode: z.literal("fixed"),
|
|
3461
|
+
});
|
|
3462
|
+
|
|
3463
|
+
export function deploymentPoolsFixedFromJSON(
|
|
3464
|
+
jsonString: string,
|
|
3465
|
+
): SafeParseResult<DeploymentPoolsFixed, SDKValidationError> {
|
|
3466
|
+
return safeParse(
|
|
3467
|
+
jsonString,
|
|
3468
|
+
(x) => DeploymentPoolsFixed$inboundSchema.parse(JSON.parse(x)),
|
|
3469
|
+
`Failed to parse 'DeploymentPoolsFixed' from JSON`,
|
|
3470
|
+
);
|
|
3471
|
+
}
|
|
3472
|
+
|
|
3473
|
+
/** @internal */
|
|
3474
|
+
export const DeploymentPoolsUnion$inboundSchema: z.ZodType<
|
|
3475
|
+
DeploymentPoolsUnion,
|
|
3476
|
+
unknown
|
|
3477
|
+
> = z.union([
|
|
3478
|
+
z.lazy(() => DeploymentPoolsFixed$inboundSchema),
|
|
3479
|
+
z.lazy(() => DeploymentPoolsAutoscale$inboundSchema),
|
|
3480
|
+
]);
|
|
3481
|
+
|
|
3482
|
+
export function deploymentPoolsUnionFromJSON(
|
|
3483
|
+
jsonString: string,
|
|
3484
|
+
): SafeParseResult<DeploymentPoolsUnion, SDKValidationError> {
|
|
3485
|
+
return safeParse(
|
|
3486
|
+
jsonString,
|
|
3487
|
+
(x) => DeploymentPoolsUnion$inboundSchema.parse(JSON.parse(x)),
|
|
3488
|
+
`Failed to parse 'DeploymentPoolsUnion' from JSON`,
|
|
3489
|
+
);
|
|
3490
|
+
}
|
|
3491
|
+
|
|
3492
|
+
/** @internal */
|
|
3493
|
+
export const DeploymentCompute$inboundSchema: z.ZodType<
|
|
3494
|
+
DeploymentCompute,
|
|
3495
|
+
unknown
|
|
3496
|
+
> = z.object({
|
|
3497
|
+
pools: z.record(
|
|
3498
|
+
z.string(),
|
|
3499
|
+
z.union([
|
|
3500
|
+
z.lazy(() => DeploymentPoolsFixed$inboundSchema),
|
|
3501
|
+
z.lazy(() => DeploymentPoolsAutoscale$inboundSchema),
|
|
3502
|
+
]),
|
|
3503
|
+
).optional(),
|
|
3504
|
+
});
|
|
3505
|
+
|
|
3506
|
+
export function deploymentComputeFromJSON(
|
|
3507
|
+
jsonString: string,
|
|
3508
|
+
): SafeParseResult<DeploymentCompute, SDKValidationError> {
|
|
3509
|
+
return safeParse(
|
|
3510
|
+
jsonString,
|
|
3511
|
+
(x) => DeploymentCompute$inboundSchema.parse(JSON.parse(x)),
|
|
3512
|
+
`Failed to parse 'DeploymentCompute' from JSON`,
|
|
3513
|
+
);
|
|
3514
|
+
}
|
|
3515
|
+
|
|
3516
|
+
/** @internal */
|
|
3517
|
+
export const DeploymentComputeUnion$inboundSchema: z.ZodType<
|
|
3518
|
+
DeploymentComputeUnion,
|
|
3519
|
+
unknown
|
|
3520
|
+
> = z.union([z.lazy(() => DeploymentCompute$inboundSchema), z.any()]);
|
|
3521
|
+
|
|
3522
|
+
export function deploymentComputeUnionFromJSON(
|
|
3523
|
+
jsonString: string,
|
|
3524
|
+
): SafeParseResult<DeploymentComputeUnion, SDKValidationError> {
|
|
3525
|
+
return safeParse(
|
|
3526
|
+
jsonString,
|
|
3527
|
+
(x) => DeploymentComputeUnion$inboundSchema.parse(JSON.parse(x)),
|
|
3528
|
+
`Failed to parse 'DeploymentComputeUnion' from JSON`,
|
|
3529
|
+
);
|
|
3530
|
+
}
|
|
3531
|
+
|
|
3143
3532
|
/** @internal */
|
|
3144
3533
|
export const DeploymentDeploymentModel$inboundSchema: z.ZodEnum<
|
|
3145
3534
|
typeof DeploymentDeploymentModel
|
|
@@ -4672,6 +5061,9 @@ export const DeploymentStackSettings$inboundSchema: z.ZodType<
|
|
|
4672
5061
|
DeploymentStackSettings,
|
|
4673
5062
|
unknown
|
|
4674
5063
|
> = z.object({
|
|
5064
|
+
compute: z.nullable(
|
|
5065
|
+
z.union([z.lazy(() => DeploymentCompute$inboundSchema), z.any()]),
|
|
5066
|
+
).optional(),
|
|
4675
5067
|
deploymentModel: DeploymentDeploymentModel$inboundSchema.optional(),
|
|
4676
5068
|
domains: z.nullable(
|
|
4677
5069
|
z.union([z.lazy(() => DeploymentDomains$inboundSchema), z.any()]),
|
|
@@ -4988,6 +5380,259 @@ export function deploymentStackStateFromJSON(
|
|
|
4988
5380
|
);
|
|
4989
5381
|
}
|
|
4990
5382
|
|
|
5383
|
+
/** @internal */
|
|
5384
|
+
export const DeploymentTypeStringList$inboundSchema: z.ZodEnum<
|
|
5385
|
+
typeof DeploymentTypeStringList
|
|
5386
|
+
> = z.enum(DeploymentTypeStringList);
|
|
5387
|
+
|
|
5388
|
+
/** @internal */
|
|
5389
|
+
export const DeploymentDefaultStringList$inboundSchema: z.ZodType<
|
|
5390
|
+
DeploymentDefaultStringList,
|
|
5391
|
+
unknown
|
|
5392
|
+
> = z.object({
|
|
5393
|
+
type: DeploymentTypeStringList$inboundSchema,
|
|
5394
|
+
value: z.array(z.string()),
|
|
5395
|
+
});
|
|
5396
|
+
|
|
5397
|
+
export function deploymentDefaultStringListFromJSON(
|
|
5398
|
+
jsonString: string,
|
|
5399
|
+
): SafeParseResult<DeploymentDefaultStringList, SDKValidationError> {
|
|
5400
|
+
return safeParse(
|
|
5401
|
+
jsonString,
|
|
5402
|
+
(x) => DeploymentDefaultStringList$inboundSchema.parse(JSON.parse(x)),
|
|
5403
|
+
`Failed to parse 'DeploymentDefaultStringList' from JSON`,
|
|
5404
|
+
);
|
|
5405
|
+
}
|
|
5406
|
+
|
|
5407
|
+
/** @internal */
|
|
5408
|
+
export const DeploymentTypeBoolean$inboundSchema: z.ZodEnum<
|
|
5409
|
+
typeof DeploymentTypeBoolean
|
|
5410
|
+
> = z.enum(DeploymentTypeBoolean);
|
|
5411
|
+
|
|
5412
|
+
/** @internal */
|
|
5413
|
+
export const DeploymentDefaultBoolean$inboundSchema: z.ZodType<
|
|
5414
|
+
DeploymentDefaultBoolean,
|
|
5415
|
+
unknown
|
|
5416
|
+
> = z.object({
|
|
5417
|
+
type: DeploymentTypeBoolean$inboundSchema,
|
|
5418
|
+
value: z.boolean(),
|
|
5419
|
+
});
|
|
5420
|
+
|
|
5421
|
+
export function deploymentDefaultBooleanFromJSON(
|
|
5422
|
+
jsonString: string,
|
|
5423
|
+
): SafeParseResult<DeploymentDefaultBoolean, SDKValidationError> {
|
|
5424
|
+
return safeParse(
|
|
5425
|
+
jsonString,
|
|
5426
|
+
(x) => DeploymentDefaultBoolean$inboundSchema.parse(JSON.parse(x)),
|
|
5427
|
+
`Failed to parse 'DeploymentDefaultBoolean' from JSON`,
|
|
5428
|
+
);
|
|
5429
|
+
}
|
|
5430
|
+
|
|
5431
|
+
/** @internal */
|
|
5432
|
+
export const DeploymentTypeNumber$inboundSchema: z.ZodEnum<
|
|
5433
|
+
typeof DeploymentTypeNumber
|
|
5434
|
+
> = z.enum(DeploymentTypeNumber);
|
|
5435
|
+
|
|
5436
|
+
/** @internal */
|
|
5437
|
+
export const DeploymentDefaultNumber$inboundSchema: z.ZodType<
|
|
5438
|
+
DeploymentDefaultNumber,
|
|
5439
|
+
unknown
|
|
5440
|
+
> = z.object({
|
|
5441
|
+
type: DeploymentTypeNumber$inboundSchema,
|
|
5442
|
+
value: z.string(),
|
|
5443
|
+
});
|
|
5444
|
+
|
|
5445
|
+
export function deploymentDefaultNumberFromJSON(
|
|
5446
|
+
jsonString: string,
|
|
5447
|
+
): SafeParseResult<DeploymentDefaultNumber, SDKValidationError> {
|
|
5448
|
+
return safeParse(
|
|
5449
|
+
jsonString,
|
|
5450
|
+
(x) => DeploymentDefaultNumber$inboundSchema.parse(JSON.parse(x)),
|
|
5451
|
+
`Failed to parse 'DeploymentDefaultNumber' from JSON`,
|
|
5452
|
+
);
|
|
5453
|
+
}
|
|
5454
|
+
|
|
5455
|
+
/** @internal */
|
|
5456
|
+
export const DeploymentTypeString$inboundSchema: z.ZodEnum<
|
|
5457
|
+
typeof DeploymentTypeString
|
|
5458
|
+
> = z.enum(DeploymentTypeString);
|
|
5459
|
+
|
|
5460
|
+
/** @internal */
|
|
5461
|
+
export const DeploymentDefaultString$inboundSchema: z.ZodType<
|
|
5462
|
+
DeploymentDefaultString,
|
|
5463
|
+
unknown
|
|
5464
|
+
> = z.object({
|
|
5465
|
+
type: DeploymentTypeString$inboundSchema,
|
|
5466
|
+
value: z.string(),
|
|
5467
|
+
});
|
|
5468
|
+
|
|
5469
|
+
export function deploymentDefaultStringFromJSON(
|
|
5470
|
+
jsonString: string,
|
|
5471
|
+
): SafeParseResult<DeploymentDefaultString, SDKValidationError> {
|
|
5472
|
+
return safeParse(
|
|
5473
|
+
jsonString,
|
|
5474
|
+
(x) => DeploymentDefaultString$inboundSchema.parse(JSON.parse(x)),
|
|
5475
|
+
`Failed to parse 'DeploymentDefaultString' from JSON`,
|
|
5476
|
+
);
|
|
5477
|
+
}
|
|
5478
|
+
|
|
5479
|
+
/** @internal */
|
|
5480
|
+
export const DeploymentDefaultUnion$inboundSchema: z.ZodType<
|
|
5481
|
+
DeploymentDefaultUnion,
|
|
5482
|
+
unknown
|
|
5483
|
+
> = z.union([
|
|
5484
|
+
z.lazy(() => DeploymentDefaultString$inboundSchema),
|
|
5485
|
+
z.lazy(() => DeploymentDefaultNumber$inboundSchema),
|
|
5486
|
+
z.lazy(() => DeploymentDefaultBoolean$inboundSchema),
|
|
5487
|
+
z.lazy(() => DeploymentDefaultStringList$inboundSchema),
|
|
5488
|
+
z.any(),
|
|
5489
|
+
]);
|
|
5490
|
+
|
|
5491
|
+
export function deploymentDefaultUnionFromJSON(
|
|
5492
|
+
jsonString: string,
|
|
5493
|
+
): SafeParseResult<DeploymentDefaultUnion, SDKValidationError> {
|
|
5494
|
+
return safeParse(
|
|
5495
|
+
jsonString,
|
|
5496
|
+
(x) => DeploymentDefaultUnion$inboundSchema.parse(JSON.parse(x)),
|
|
5497
|
+
`Failed to parse 'DeploymentDefaultUnion' from JSON`,
|
|
5498
|
+
);
|
|
5499
|
+
}
|
|
5500
|
+
|
|
5501
|
+
/** @internal */
|
|
5502
|
+
export const DeploymentTypeEnvEnum$inboundSchema: z.ZodEnum<
|
|
5503
|
+
typeof DeploymentTypeEnvEnum
|
|
5504
|
+
> = z.enum(DeploymentTypeEnvEnum);
|
|
5505
|
+
|
|
5506
|
+
/** @internal */
|
|
5507
|
+
export const DeploymentTypeUnion$inboundSchema: z.ZodType<
|
|
5508
|
+
DeploymentTypeUnion,
|
|
5509
|
+
unknown
|
|
5510
|
+
> = z.union([DeploymentTypeEnvEnum$inboundSchema, z.any()]);
|
|
5511
|
+
|
|
5512
|
+
export function deploymentTypeUnionFromJSON(
|
|
5513
|
+
jsonString: string,
|
|
5514
|
+
): SafeParseResult<DeploymentTypeUnion, SDKValidationError> {
|
|
5515
|
+
return safeParse(
|
|
5516
|
+
jsonString,
|
|
5517
|
+
(x) => DeploymentTypeUnion$inboundSchema.parse(JSON.parse(x)),
|
|
5518
|
+
`Failed to parse 'DeploymentTypeUnion' from JSON`,
|
|
5519
|
+
);
|
|
5520
|
+
}
|
|
5521
|
+
|
|
5522
|
+
/** @internal */
|
|
5523
|
+
export const DeploymentEnv$inboundSchema: z.ZodType<DeploymentEnv, unknown> = z
|
|
5524
|
+
.object({
|
|
5525
|
+
name: z.string(),
|
|
5526
|
+
targetResources: z.nullable(z.array(z.string())).optional(),
|
|
5527
|
+
type: z.nullable(z.union([DeploymentTypeEnvEnum$inboundSchema, z.any()]))
|
|
5528
|
+
.optional(),
|
|
5529
|
+
});
|
|
5530
|
+
|
|
5531
|
+
export function deploymentEnvFromJSON(
|
|
5532
|
+
jsonString: string,
|
|
5533
|
+
): SafeParseResult<DeploymentEnv, SDKValidationError> {
|
|
5534
|
+
return safeParse(
|
|
5535
|
+
jsonString,
|
|
5536
|
+
(x) => DeploymentEnv$inboundSchema.parse(JSON.parse(x)),
|
|
5537
|
+
`Failed to parse 'DeploymentEnv' from JSON`,
|
|
5538
|
+
);
|
|
5539
|
+
}
|
|
5540
|
+
|
|
5541
|
+
/** @internal */
|
|
5542
|
+
export const DeploymentKind$inboundSchema: z.ZodEnum<typeof DeploymentKind> = z
|
|
5543
|
+
.enum(DeploymentKind);
|
|
5544
|
+
|
|
5545
|
+
/** @internal */
|
|
5546
|
+
export const DeploymentPreparedStackPlatform$inboundSchema: z.ZodEnum<
|
|
5547
|
+
typeof DeploymentPreparedStackPlatform
|
|
5548
|
+
> = z.enum(DeploymentPreparedStackPlatform);
|
|
5549
|
+
|
|
5550
|
+
/** @internal */
|
|
5551
|
+
export const DeploymentProvidedBy$inboundSchema: z.ZodEnum<
|
|
5552
|
+
typeof DeploymentProvidedBy
|
|
5553
|
+
> = z.enum(DeploymentProvidedBy);
|
|
5554
|
+
|
|
5555
|
+
/** @internal */
|
|
5556
|
+
export const DeploymentValidation$inboundSchema: z.ZodType<
|
|
5557
|
+
DeploymentValidation,
|
|
5558
|
+
unknown
|
|
5559
|
+
> = z.object({
|
|
5560
|
+
format: z.nullable(z.string()).optional(),
|
|
5561
|
+
max: z.nullable(z.string()).optional(),
|
|
5562
|
+
maxItems: z.nullable(z.int()).optional(),
|
|
5563
|
+
maxLength: z.nullable(z.int()).optional(),
|
|
5564
|
+
min: z.nullable(z.string()).optional(),
|
|
5565
|
+
minItems: z.nullable(z.int()).optional(),
|
|
5566
|
+
minLength: z.nullable(z.int()).optional(),
|
|
5567
|
+
pattern: z.nullable(z.string()).optional(),
|
|
5568
|
+
values: z.nullable(z.array(z.string())).optional(),
|
|
5569
|
+
});
|
|
5570
|
+
|
|
5571
|
+
export function deploymentValidationFromJSON(
|
|
5572
|
+
jsonString: string,
|
|
5573
|
+
): SafeParseResult<DeploymentValidation, SDKValidationError> {
|
|
5574
|
+
return safeParse(
|
|
5575
|
+
jsonString,
|
|
5576
|
+
(x) => DeploymentValidation$inboundSchema.parse(JSON.parse(x)),
|
|
5577
|
+
`Failed to parse 'DeploymentValidation' from JSON`,
|
|
5578
|
+
);
|
|
5579
|
+
}
|
|
5580
|
+
|
|
5581
|
+
/** @internal */
|
|
5582
|
+
export const DeploymentValidationUnion$inboundSchema: z.ZodType<
|
|
5583
|
+
DeploymentValidationUnion,
|
|
5584
|
+
unknown
|
|
5585
|
+
> = z.union([z.lazy(() => DeploymentValidation$inboundSchema), z.any()]);
|
|
5586
|
+
|
|
5587
|
+
export function deploymentValidationUnionFromJSON(
|
|
5588
|
+
jsonString: string,
|
|
5589
|
+
): SafeParseResult<DeploymentValidationUnion, SDKValidationError> {
|
|
5590
|
+
return safeParse(
|
|
5591
|
+
jsonString,
|
|
5592
|
+
(x) => DeploymentValidationUnion$inboundSchema.parse(JSON.parse(x)),
|
|
5593
|
+
`Failed to parse 'DeploymentValidationUnion' from JSON`,
|
|
5594
|
+
);
|
|
5595
|
+
}
|
|
5596
|
+
|
|
5597
|
+
/** @internal */
|
|
5598
|
+
export const DeploymentInput$inboundSchema: z.ZodType<
|
|
5599
|
+
DeploymentInput,
|
|
5600
|
+
unknown
|
|
5601
|
+
> = z.object({
|
|
5602
|
+
default: z.nullable(
|
|
5603
|
+
z.union([
|
|
5604
|
+
z.lazy(() => DeploymentDefaultString$inboundSchema),
|
|
5605
|
+
z.lazy(() => DeploymentDefaultNumber$inboundSchema),
|
|
5606
|
+
z.lazy(() => DeploymentDefaultBoolean$inboundSchema),
|
|
5607
|
+
z.lazy(() => DeploymentDefaultStringList$inboundSchema),
|
|
5608
|
+
z.any(),
|
|
5609
|
+
]),
|
|
5610
|
+
).optional(),
|
|
5611
|
+
description: z.string(),
|
|
5612
|
+
env: z.array(z.lazy(() => DeploymentEnv$inboundSchema)).optional(),
|
|
5613
|
+
id: z.string(),
|
|
5614
|
+
kind: DeploymentKind$inboundSchema,
|
|
5615
|
+
label: z.string(),
|
|
5616
|
+
placeholder: z.nullable(z.string()).optional(),
|
|
5617
|
+
platforms: z.nullable(z.array(DeploymentPreparedStackPlatform$inboundSchema))
|
|
5618
|
+
.optional(),
|
|
5619
|
+
providedBy: z.array(DeploymentProvidedBy$inboundSchema),
|
|
5620
|
+
required: z.boolean(),
|
|
5621
|
+
validation: z.nullable(
|
|
5622
|
+
z.union([z.lazy(() => DeploymentValidation$inboundSchema), z.any()]),
|
|
5623
|
+
).optional(),
|
|
5624
|
+
});
|
|
5625
|
+
|
|
5626
|
+
export function deploymentInputFromJSON(
|
|
5627
|
+
jsonString: string,
|
|
5628
|
+
): SafeParseResult<DeploymentInput, SDKValidationError> {
|
|
5629
|
+
return safeParse(
|
|
5630
|
+
jsonString,
|
|
5631
|
+
(x) => DeploymentInput$inboundSchema.parse(JSON.parse(x)),
|
|
5632
|
+
`Failed to parse 'DeploymentInput' from JSON`,
|
|
5633
|
+
);
|
|
5634
|
+
}
|
|
5635
|
+
|
|
4991
5636
|
/** @internal */
|
|
4992
5637
|
export const DeploymentManagementEnum$inboundSchema: z.ZodEnum<
|
|
4993
5638
|
typeof DeploymentManagementEnum
|
|
@@ -6547,6 +7192,7 @@ export const DeploymentPreparedStack$inboundSchema: z.ZodType<
|
|
|
6547
7192
|
unknown
|
|
6548
7193
|
> = z.object({
|
|
6549
7194
|
id: z.string(),
|
|
7195
|
+
inputs: z.array(z.lazy(() => DeploymentInput$inboundSchema)).optional(),
|
|
6550
7196
|
permissions: z.lazy(() => DeploymentPermissions$inboundSchema).optional(),
|
|
6551
7197
|
resources: z.record(
|
|
6552
7198
|
z.string(),
|
|
@@ -6737,7 +7383,7 @@ export const Deployment$inboundSchema: z.ZodType<Deployment, unknown> = z
|
|
|
6737
7383
|
).optional(),
|
|
6738
7384
|
createdAt: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
6739
7385
|
updatedAt: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
6740
|
-
managerId: z.
|
|
7386
|
+
managerId: z.string(),
|
|
6741
7387
|
workspaceId: z.string(),
|
|
6742
7388
|
});
|
|
6743
7389
|
|