@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
|
@@ -24,6 +24,254 @@ export type PreparedDeploymentStackPlatform = ClosedEnum<
|
|
|
24
24
|
typeof PreparedDeploymentStackPlatform
|
|
25
25
|
>;
|
|
26
26
|
|
|
27
|
+
export const PreparedDeploymentStackTypeStringList = {
|
|
28
|
+
StringList: "stringList",
|
|
29
|
+
} as const;
|
|
30
|
+
export type PreparedDeploymentStackTypeStringList = ClosedEnum<
|
|
31
|
+
typeof PreparedDeploymentStackTypeStringList
|
|
32
|
+
>;
|
|
33
|
+
|
|
34
|
+
export type PreparedDeploymentStackDefaultStringList = {
|
|
35
|
+
type: PreparedDeploymentStackTypeStringList;
|
|
36
|
+
/**
|
|
37
|
+
* String list default.
|
|
38
|
+
*/
|
|
39
|
+
value: Array<string>;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export const PreparedDeploymentStackTypeBoolean = {
|
|
43
|
+
Boolean: "boolean",
|
|
44
|
+
} as const;
|
|
45
|
+
export type PreparedDeploymentStackTypeBoolean = ClosedEnum<
|
|
46
|
+
typeof PreparedDeploymentStackTypeBoolean
|
|
47
|
+
>;
|
|
48
|
+
|
|
49
|
+
export type PreparedDeploymentStackDefaultBoolean = {
|
|
50
|
+
type: PreparedDeploymentStackTypeBoolean;
|
|
51
|
+
/**
|
|
52
|
+
* Boolean default.
|
|
53
|
+
*/
|
|
54
|
+
value: boolean;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
export const PreparedDeploymentStackTypeNumber = {
|
|
58
|
+
Number: "number",
|
|
59
|
+
} as const;
|
|
60
|
+
export type PreparedDeploymentStackTypeNumber = ClosedEnum<
|
|
61
|
+
typeof PreparedDeploymentStackTypeNumber
|
|
62
|
+
>;
|
|
63
|
+
|
|
64
|
+
export type PreparedDeploymentStackDefaultNumber = {
|
|
65
|
+
type: PreparedDeploymentStackTypeNumber;
|
|
66
|
+
/**
|
|
67
|
+
* Number default.
|
|
68
|
+
*/
|
|
69
|
+
value: string;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
export const PreparedDeploymentStackTypeString = {
|
|
73
|
+
String: "string",
|
|
74
|
+
} as const;
|
|
75
|
+
export type PreparedDeploymentStackTypeString = ClosedEnum<
|
|
76
|
+
typeof PreparedDeploymentStackTypeString
|
|
77
|
+
>;
|
|
78
|
+
|
|
79
|
+
export type PreparedDeploymentStackDefaultString = {
|
|
80
|
+
type: PreparedDeploymentStackTypeString;
|
|
81
|
+
/**
|
|
82
|
+
* String default.
|
|
83
|
+
*/
|
|
84
|
+
value: string;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
export type PreparedDeploymentStackDefaultUnion =
|
|
88
|
+
| PreparedDeploymentStackDefaultString
|
|
89
|
+
| PreparedDeploymentStackDefaultNumber
|
|
90
|
+
| PreparedDeploymentStackDefaultBoolean
|
|
91
|
+
| PreparedDeploymentStackDefaultStringList
|
|
92
|
+
| any;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Environment variable handling for a stack input mapping.
|
|
96
|
+
*/
|
|
97
|
+
export const PreparedDeploymentStackTypeEnvEnum = {
|
|
98
|
+
Plain: "plain",
|
|
99
|
+
Secret: "secret",
|
|
100
|
+
} as const;
|
|
101
|
+
/**
|
|
102
|
+
* Environment variable handling for a stack input mapping.
|
|
103
|
+
*/
|
|
104
|
+
export type PreparedDeploymentStackTypeEnvEnum = ClosedEnum<
|
|
105
|
+
typeof PreparedDeploymentStackTypeEnvEnum
|
|
106
|
+
>;
|
|
107
|
+
|
|
108
|
+
export type PreparedDeploymentStackTypeUnion =
|
|
109
|
+
| PreparedDeploymentStackTypeEnvEnum
|
|
110
|
+
| any;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* How a resolved stack input is injected into runtime environment variables.
|
|
114
|
+
*/
|
|
115
|
+
export type PreparedDeploymentStackEnv = {
|
|
116
|
+
/**
|
|
117
|
+
* Environment variable name.
|
|
118
|
+
*/
|
|
119
|
+
name: string;
|
|
120
|
+
/**
|
|
121
|
+
* Target resource IDs or patterns. None means every env-capable resource.
|
|
122
|
+
*/
|
|
123
|
+
targetResources?: Array<string> | null | undefined;
|
|
124
|
+
type?: PreparedDeploymentStackTypeEnvEnum | any | null | undefined;
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Primitive stack input kind.
|
|
129
|
+
*/
|
|
130
|
+
export const PreparedDeploymentStackKind = {
|
|
131
|
+
String: "string",
|
|
132
|
+
Secret: "secret",
|
|
133
|
+
Number: "number",
|
|
134
|
+
Integer: "integer",
|
|
135
|
+
Boolean: "boolean",
|
|
136
|
+
Enum: "enum",
|
|
137
|
+
StringList: "stringList",
|
|
138
|
+
} as const;
|
|
139
|
+
/**
|
|
140
|
+
* Primitive stack input kind.
|
|
141
|
+
*/
|
|
142
|
+
export type PreparedDeploymentStackKind = ClosedEnum<
|
|
143
|
+
typeof PreparedDeploymentStackKind
|
|
144
|
+
>;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Represents the target cloud platform.
|
|
148
|
+
*/
|
|
149
|
+
export const PreparedDeploymentStackStackPlatform = {
|
|
150
|
+
Aws: "aws",
|
|
151
|
+
Gcp: "gcp",
|
|
152
|
+
Azure: "azure",
|
|
153
|
+
Kubernetes: "kubernetes",
|
|
154
|
+
Local: "local",
|
|
155
|
+
Test: "test",
|
|
156
|
+
} as const;
|
|
157
|
+
/**
|
|
158
|
+
* Represents the target cloud platform.
|
|
159
|
+
*/
|
|
160
|
+
export type PreparedDeploymentStackStackPlatform = ClosedEnum<
|
|
161
|
+
typeof PreparedDeploymentStackStackPlatform
|
|
162
|
+
>;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Who can provide a stack input value.
|
|
166
|
+
*/
|
|
167
|
+
export const PreparedDeploymentStackProvidedBy = {
|
|
168
|
+
Developer: "developer",
|
|
169
|
+
Deployer: "deployer",
|
|
170
|
+
} as const;
|
|
171
|
+
/**
|
|
172
|
+
* Who can provide a stack input value.
|
|
173
|
+
*/
|
|
174
|
+
export type PreparedDeploymentStackProvidedBy = ClosedEnum<
|
|
175
|
+
typeof PreparedDeploymentStackProvidedBy
|
|
176
|
+
>;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Portable stack input validation constraints.
|
|
180
|
+
*/
|
|
181
|
+
export type PreparedDeploymentStackValidation = {
|
|
182
|
+
/**
|
|
183
|
+
* Semantic format hint such as url.
|
|
184
|
+
*/
|
|
185
|
+
format?: string | null | undefined;
|
|
186
|
+
/**
|
|
187
|
+
* Maximum number.
|
|
188
|
+
*/
|
|
189
|
+
max?: string | null | undefined;
|
|
190
|
+
/**
|
|
191
|
+
* Maximum string-list items.
|
|
192
|
+
*/
|
|
193
|
+
maxItems?: number | null | undefined;
|
|
194
|
+
/**
|
|
195
|
+
* Maximum string length.
|
|
196
|
+
*/
|
|
197
|
+
maxLength?: number | null | undefined;
|
|
198
|
+
/**
|
|
199
|
+
* Minimum number.
|
|
200
|
+
*/
|
|
201
|
+
min?: string | null | undefined;
|
|
202
|
+
/**
|
|
203
|
+
* Minimum string-list items.
|
|
204
|
+
*/
|
|
205
|
+
minItems?: number | null | undefined;
|
|
206
|
+
/**
|
|
207
|
+
* Minimum string length.
|
|
208
|
+
*/
|
|
209
|
+
minLength?: number | null | undefined;
|
|
210
|
+
/**
|
|
211
|
+
* Portable whole-value regex pattern.
|
|
212
|
+
*/
|
|
213
|
+
pattern?: string | null | undefined;
|
|
214
|
+
/**
|
|
215
|
+
* Allowed string enum values.
|
|
216
|
+
*/
|
|
217
|
+
values?: Array<string> | null | undefined;
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
export type PreparedDeploymentStackValidationUnion =
|
|
221
|
+
| PreparedDeploymentStackValidation
|
|
222
|
+
| any;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Stack input definition serialized into a release stack.
|
|
226
|
+
*/
|
|
227
|
+
export type PreparedDeploymentStackInput = {
|
|
228
|
+
default?:
|
|
229
|
+
| PreparedDeploymentStackDefaultString
|
|
230
|
+
| PreparedDeploymentStackDefaultNumber
|
|
231
|
+
| PreparedDeploymentStackDefaultBoolean
|
|
232
|
+
| PreparedDeploymentStackDefaultStringList
|
|
233
|
+
| any
|
|
234
|
+
| null
|
|
235
|
+
| undefined;
|
|
236
|
+
/**
|
|
237
|
+
* Human-facing helper text.
|
|
238
|
+
*/
|
|
239
|
+
description: string;
|
|
240
|
+
/**
|
|
241
|
+
* Runtime env-var mappings for v1 input resolution.
|
|
242
|
+
*/
|
|
243
|
+
env?: Array<PreparedDeploymentStackEnv> | undefined;
|
|
244
|
+
/**
|
|
245
|
+
* Stable input ID used by CLI/API calls.
|
|
246
|
+
*/
|
|
247
|
+
id: string;
|
|
248
|
+
/**
|
|
249
|
+
* Primitive stack input kind.
|
|
250
|
+
*/
|
|
251
|
+
kind: PreparedDeploymentStackKind;
|
|
252
|
+
/**
|
|
253
|
+
* Human-facing field label.
|
|
254
|
+
*/
|
|
255
|
+
label: string;
|
|
256
|
+
/**
|
|
257
|
+
* Example placeholder shown in UI.
|
|
258
|
+
*/
|
|
259
|
+
placeholder?: string | null | undefined;
|
|
260
|
+
/**
|
|
261
|
+
* Platforms where this input applies.
|
|
262
|
+
*/
|
|
263
|
+
platforms?: Array<PreparedDeploymentStackStackPlatform> | null | undefined;
|
|
264
|
+
/**
|
|
265
|
+
* Who can provide this value.
|
|
266
|
+
*/
|
|
267
|
+
providedBy: Array<PreparedDeploymentStackProvidedBy>;
|
|
268
|
+
/**
|
|
269
|
+
* Whether a resolved value is required before deployment can proceed.
|
|
270
|
+
*/
|
|
271
|
+
required: boolean;
|
|
272
|
+
validation?: PreparedDeploymentStackValidation | any | null | undefined;
|
|
273
|
+
};
|
|
274
|
+
|
|
27
275
|
export const PreparedDeploymentStackManagementEnum = {
|
|
28
276
|
Auto: "auto",
|
|
29
277
|
} as const;
|
|
@@ -1214,6 +1462,10 @@ export type PreparedDeploymentStackStack = {
|
|
|
1214
1462
|
* Unique identifier for the stack
|
|
1215
1463
|
*/
|
|
1216
1464
|
id: string;
|
|
1465
|
+
/**
|
|
1466
|
+
* Input definitions required before setup or deployment can proceed.
|
|
1467
|
+
*/
|
|
1468
|
+
inputs?: Array<PreparedDeploymentStackInput> | undefined;
|
|
1217
1469
|
/**
|
|
1218
1470
|
* Combined permissions configuration that contains both profiles and management
|
|
1219
1471
|
*/
|
|
@@ -1245,6 +1497,282 @@ export const PreparedDeploymentStackPlatform$inboundSchema: z.ZodEnum<
|
|
|
1245
1497
|
typeof PreparedDeploymentStackPlatform
|
|
1246
1498
|
> = z.enum(PreparedDeploymentStackPlatform);
|
|
1247
1499
|
|
|
1500
|
+
/** @internal */
|
|
1501
|
+
export const PreparedDeploymentStackTypeStringList$inboundSchema: z.ZodEnum<
|
|
1502
|
+
typeof PreparedDeploymentStackTypeStringList
|
|
1503
|
+
> = z.enum(PreparedDeploymentStackTypeStringList);
|
|
1504
|
+
|
|
1505
|
+
/** @internal */
|
|
1506
|
+
export const PreparedDeploymentStackDefaultStringList$inboundSchema: z.ZodType<
|
|
1507
|
+
PreparedDeploymentStackDefaultStringList,
|
|
1508
|
+
unknown
|
|
1509
|
+
> = z.object({
|
|
1510
|
+
type: PreparedDeploymentStackTypeStringList$inboundSchema,
|
|
1511
|
+
value: z.array(z.string()),
|
|
1512
|
+
});
|
|
1513
|
+
|
|
1514
|
+
export function preparedDeploymentStackDefaultStringListFromJSON(
|
|
1515
|
+
jsonString: string,
|
|
1516
|
+
): SafeParseResult<
|
|
1517
|
+
PreparedDeploymentStackDefaultStringList,
|
|
1518
|
+
SDKValidationError
|
|
1519
|
+
> {
|
|
1520
|
+
return safeParse(
|
|
1521
|
+
jsonString,
|
|
1522
|
+
(x) =>
|
|
1523
|
+
PreparedDeploymentStackDefaultStringList$inboundSchema.parse(
|
|
1524
|
+
JSON.parse(x),
|
|
1525
|
+
),
|
|
1526
|
+
`Failed to parse 'PreparedDeploymentStackDefaultStringList' from JSON`,
|
|
1527
|
+
);
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
/** @internal */
|
|
1531
|
+
export const PreparedDeploymentStackTypeBoolean$inboundSchema: z.ZodEnum<
|
|
1532
|
+
typeof PreparedDeploymentStackTypeBoolean
|
|
1533
|
+
> = z.enum(PreparedDeploymentStackTypeBoolean);
|
|
1534
|
+
|
|
1535
|
+
/** @internal */
|
|
1536
|
+
export const PreparedDeploymentStackDefaultBoolean$inboundSchema: z.ZodType<
|
|
1537
|
+
PreparedDeploymentStackDefaultBoolean,
|
|
1538
|
+
unknown
|
|
1539
|
+
> = z.object({
|
|
1540
|
+
type: PreparedDeploymentStackTypeBoolean$inboundSchema,
|
|
1541
|
+
value: z.boolean(),
|
|
1542
|
+
});
|
|
1543
|
+
|
|
1544
|
+
export function preparedDeploymentStackDefaultBooleanFromJSON(
|
|
1545
|
+
jsonString: string,
|
|
1546
|
+
): SafeParseResult<PreparedDeploymentStackDefaultBoolean, SDKValidationError> {
|
|
1547
|
+
return safeParse(
|
|
1548
|
+
jsonString,
|
|
1549
|
+
(x) =>
|
|
1550
|
+
PreparedDeploymentStackDefaultBoolean$inboundSchema.parse(JSON.parse(x)),
|
|
1551
|
+
`Failed to parse 'PreparedDeploymentStackDefaultBoolean' from JSON`,
|
|
1552
|
+
);
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1555
|
+
/** @internal */
|
|
1556
|
+
export const PreparedDeploymentStackTypeNumber$inboundSchema: z.ZodEnum<
|
|
1557
|
+
typeof PreparedDeploymentStackTypeNumber
|
|
1558
|
+
> = z.enum(PreparedDeploymentStackTypeNumber);
|
|
1559
|
+
|
|
1560
|
+
/** @internal */
|
|
1561
|
+
export const PreparedDeploymentStackDefaultNumber$inboundSchema: z.ZodType<
|
|
1562
|
+
PreparedDeploymentStackDefaultNumber,
|
|
1563
|
+
unknown
|
|
1564
|
+
> = z.object({
|
|
1565
|
+
type: PreparedDeploymentStackTypeNumber$inboundSchema,
|
|
1566
|
+
value: z.string(),
|
|
1567
|
+
});
|
|
1568
|
+
|
|
1569
|
+
export function preparedDeploymentStackDefaultNumberFromJSON(
|
|
1570
|
+
jsonString: string,
|
|
1571
|
+
): SafeParseResult<PreparedDeploymentStackDefaultNumber, SDKValidationError> {
|
|
1572
|
+
return safeParse(
|
|
1573
|
+
jsonString,
|
|
1574
|
+
(x) =>
|
|
1575
|
+
PreparedDeploymentStackDefaultNumber$inboundSchema.parse(JSON.parse(x)),
|
|
1576
|
+
`Failed to parse 'PreparedDeploymentStackDefaultNumber' from JSON`,
|
|
1577
|
+
);
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
/** @internal */
|
|
1581
|
+
export const PreparedDeploymentStackTypeString$inboundSchema: z.ZodEnum<
|
|
1582
|
+
typeof PreparedDeploymentStackTypeString
|
|
1583
|
+
> = z.enum(PreparedDeploymentStackTypeString);
|
|
1584
|
+
|
|
1585
|
+
/** @internal */
|
|
1586
|
+
export const PreparedDeploymentStackDefaultString$inboundSchema: z.ZodType<
|
|
1587
|
+
PreparedDeploymentStackDefaultString,
|
|
1588
|
+
unknown
|
|
1589
|
+
> = z.object({
|
|
1590
|
+
type: PreparedDeploymentStackTypeString$inboundSchema,
|
|
1591
|
+
value: z.string(),
|
|
1592
|
+
});
|
|
1593
|
+
|
|
1594
|
+
export function preparedDeploymentStackDefaultStringFromJSON(
|
|
1595
|
+
jsonString: string,
|
|
1596
|
+
): SafeParseResult<PreparedDeploymentStackDefaultString, SDKValidationError> {
|
|
1597
|
+
return safeParse(
|
|
1598
|
+
jsonString,
|
|
1599
|
+
(x) =>
|
|
1600
|
+
PreparedDeploymentStackDefaultString$inboundSchema.parse(JSON.parse(x)),
|
|
1601
|
+
`Failed to parse 'PreparedDeploymentStackDefaultString' from JSON`,
|
|
1602
|
+
);
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
/** @internal */
|
|
1606
|
+
export const PreparedDeploymentStackDefaultUnion$inboundSchema: z.ZodType<
|
|
1607
|
+
PreparedDeploymentStackDefaultUnion,
|
|
1608
|
+
unknown
|
|
1609
|
+
> = z.union([
|
|
1610
|
+
z.lazy(() => PreparedDeploymentStackDefaultString$inboundSchema),
|
|
1611
|
+
z.lazy(() => PreparedDeploymentStackDefaultNumber$inboundSchema),
|
|
1612
|
+
z.lazy(() => PreparedDeploymentStackDefaultBoolean$inboundSchema),
|
|
1613
|
+
z.lazy(() => PreparedDeploymentStackDefaultStringList$inboundSchema),
|
|
1614
|
+
z.any(),
|
|
1615
|
+
]);
|
|
1616
|
+
|
|
1617
|
+
export function preparedDeploymentStackDefaultUnionFromJSON(
|
|
1618
|
+
jsonString: string,
|
|
1619
|
+
): SafeParseResult<PreparedDeploymentStackDefaultUnion, SDKValidationError> {
|
|
1620
|
+
return safeParse(
|
|
1621
|
+
jsonString,
|
|
1622
|
+
(x) =>
|
|
1623
|
+
PreparedDeploymentStackDefaultUnion$inboundSchema.parse(JSON.parse(x)),
|
|
1624
|
+
`Failed to parse 'PreparedDeploymentStackDefaultUnion' from JSON`,
|
|
1625
|
+
);
|
|
1626
|
+
}
|
|
1627
|
+
|
|
1628
|
+
/** @internal */
|
|
1629
|
+
export const PreparedDeploymentStackTypeEnvEnum$inboundSchema: z.ZodEnum<
|
|
1630
|
+
typeof PreparedDeploymentStackTypeEnvEnum
|
|
1631
|
+
> = z.enum(PreparedDeploymentStackTypeEnvEnum);
|
|
1632
|
+
|
|
1633
|
+
/** @internal */
|
|
1634
|
+
export const PreparedDeploymentStackTypeUnion$inboundSchema: z.ZodType<
|
|
1635
|
+
PreparedDeploymentStackTypeUnion,
|
|
1636
|
+
unknown
|
|
1637
|
+
> = z.union([PreparedDeploymentStackTypeEnvEnum$inboundSchema, z.any()]);
|
|
1638
|
+
|
|
1639
|
+
export function preparedDeploymentStackTypeUnionFromJSON(
|
|
1640
|
+
jsonString: string,
|
|
1641
|
+
): SafeParseResult<PreparedDeploymentStackTypeUnion, SDKValidationError> {
|
|
1642
|
+
return safeParse(
|
|
1643
|
+
jsonString,
|
|
1644
|
+
(x) => PreparedDeploymentStackTypeUnion$inboundSchema.parse(JSON.parse(x)),
|
|
1645
|
+
`Failed to parse 'PreparedDeploymentStackTypeUnion' from JSON`,
|
|
1646
|
+
);
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1649
|
+
/** @internal */
|
|
1650
|
+
export const PreparedDeploymentStackEnv$inboundSchema: z.ZodType<
|
|
1651
|
+
PreparedDeploymentStackEnv,
|
|
1652
|
+
unknown
|
|
1653
|
+
> = z.object({
|
|
1654
|
+
name: z.string(),
|
|
1655
|
+
targetResources: z.nullable(z.array(z.string())).optional(),
|
|
1656
|
+
type: z.nullable(
|
|
1657
|
+
z.union([PreparedDeploymentStackTypeEnvEnum$inboundSchema, z.any()]),
|
|
1658
|
+
).optional(),
|
|
1659
|
+
});
|
|
1660
|
+
|
|
1661
|
+
export function preparedDeploymentStackEnvFromJSON(
|
|
1662
|
+
jsonString: string,
|
|
1663
|
+
): SafeParseResult<PreparedDeploymentStackEnv, SDKValidationError> {
|
|
1664
|
+
return safeParse(
|
|
1665
|
+
jsonString,
|
|
1666
|
+
(x) => PreparedDeploymentStackEnv$inboundSchema.parse(JSON.parse(x)),
|
|
1667
|
+
`Failed to parse 'PreparedDeploymentStackEnv' from JSON`,
|
|
1668
|
+
);
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1671
|
+
/** @internal */
|
|
1672
|
+
export const PreparedDeploymentStackKind$inboundSchema: z.ZodEnum<
|
|
1673
|
+
typeof PreparedDeploymentStackKind
|
|
1674
|
+
> = z.enum(PreparedDeploymentStackKind);
|
|
1675
|
+
|
|
1676
|
+
/** @internal */
|
|
1677
|
+
export const PreparedDeploymentStackStackPlatform$inboundSchema: z.ZodEnum<
|
|
1678
|
+
typeof PreparedDeploymentStackStackPlatform
|
|
1679
|
+
> = z.enum(PreparedDeploymentStackStackPlatform);
|
|
1680
|
+
|
|
1681
|
+
/** @internal */
|
|
1682
|
+
export const PreparedDeploymentStackProvidedBy$inboundSchema: z.ZodEnum<
|
|
1683
|
+
typeof PreparedDeploymentStackProvidedBy
|
|
1684
|
+
> = z.enum(PreparedDeploymentStackProvidedBy);
|
|
1685
|
+
|
|
1686
|
+
/** @internal */
|
|
1687
|
+
export const PreparedDeploymentStackValidation$inboundSchema: z.ZodType<
|
|
1688
|
+
PreparedDeploymentStackValidation,
|
|
1689
|
+
unknown
|
|
1690
|
+
> = z.object({
|
|
1691
|
+
format: z.nullable(z.string()).optional(),
|
|
1692
|
+
max: z.nullable(z.string()).optional(),
|
|
1693
|
+
maxItems: z.nullable(z.int()).optional(),
|
|
1694
|
+
maxLength: z.nullable(z.int()).optional(),
|
|
1695
|
+
min: z.nullable(z.string()).optional(),
|
|
1696
|
+
minItems: z.nullable(z.int()).optional(),
|
|
1697
|
+
minLength: z.nullable(z.int()).optional(),
|
|
1698
|
+
pattern: z.nullable(z.string()).optional(),
|
|
1699
|
+
values: z.nullable(z.array(z.string())).optional(),
|
|
1700
|
+
});
|
|
1701
|
+
|
|
1702
|
+
export function preparedDeploymentStackValidationFromJSON(
|
|
1703
|
+
jsonString: string,
|
|
1704
|
+
): SafeParseResult<PreparedDeploymentStackValidation, SDKValidationError> {
|
|
1705
|
+
return safeParse(
|
|
1706
|
+
jsonString,
|
|
1707
|
+
(x) => PreparedDeploymentStackValidation$inboundSchema.parse(JSON.parse(x)),
|
|
1708
|
+
`Failed to parse 'PreparedDeploymentStackValidation' from JSON`,
|
|
1709
|
+
);
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
/** @internal */
|
|
1713
|
+
export const PreparedDeploymentStackValidationUnion$inboundSchema: z.ZodType<
|
|
1714
|
+
PreparedDeploymentStackValidationUnion,
|
|
1715
|
+
unknown
|
|
1716
|
+
> = z.union([
|
|
1717
|
+
z.lazy(() => PreparedDeploymentStackValidation$inboundSchema),
|
|
1718
|
+
z.any(),
|
|
1719
|
+
]);
|
|
1720
|
+
|
|
1721
|
+
export function preparedDeploymentStackValidationUnionFromJSON(
|
|
1722
|
+
jsonString: string,
|
|
1723
|
+
): SafeParseResult<PreparedDeploymentStackValidationUnion, SDKValidationError> {
|
|
1724
|
+
return safeParse(
|
|
1725
|
+
jsonString,
|
|
1726
|
+
(x) =>
|
|
1727
|
+
PreparedDeploymentStackValidationUnion$inboundSchema.parse(JSON.parse(x)),
|
|
1728
|
+
`Failed to parse 'PreparedDeploymentStackValidationUnion' from JSON`,
|
|
1729
|
+
);
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
/** @internal */
|
|
1733
|
+
export const PreparedDeploymentStackInput$inboundSchema: z.ZodType<
|
|
1734
|
+
PreparedDeploymentStackInput,
|
|
1735
|
+
unknown
|
|
1736
|
+
> = z.object({
|
|
1737
|
+
default: z.nullable(
|
|
1738
|
+
z.union([
|
|
1739
|
+
z.lazy(() => PreparedDeploymentStackDefaultString$inboundSchema),
|
|
1740
|
+
z.lazy(() => PreparedDeploymentStackDefaultNumber$inboundSchema),
|
|
1741
|
+
z.lazy(() => PreparedDeploymentStackDefaultBoolean$inboundSchema),
|
|
1742
|
+
z.lazy(() => PreparedDeploymentStackDefaultStringList$inboundSchema),
|
|
1743
|
+
z.any(),
|
|
1744
|
+
]),
|
|
1745
|
+
).optional(),
|
|
1746
|
+
description: z.string(),
|
|
1747
|
+
env: z.array(z.lazy(() => PreparedDeploymentStackEnv$inboundSchema))
|
|
1748
|
+
.optional(),
|
|
1749
|
+
id: z.string(),
|
|
1750
|
+
kind: PreparedDeploymentStackKind$inboundSchema,
|
|
1751
|
+
label: z.string(),
|
|
1752
|
+
placeholder: z.nullable(z.string()).optional(),
|
|
1753
|
+
platforms: z.nullable(
|
|
1754
|
+
z.array(PreparedDeploymentStackStackPlatform$inboundSchema),
|
|
1755
|
+
).optional(),
|
|
1756
|
+
providedBy: z.array(PreparedDeploymentStackProvidedBy$inboundSchema),
|
|
1757
|
+
required: z.boolean(),
|
|
1758
|
+
validation: z.nullable(
|
|
1759
|
+
z.union([
|
|
1760
|
+
z.lazy(() => PreparedDeploymentStackValidation$inboundSchema),
|
|
1761
|
+
z.any(),
|
|
1762
|
+
]),
|
|
1763
|
+
).optional(),
|
|
1764
|
+
});
|
|
1765
|
+
|
|
1766
|
+
export function preparedDeploymentStackInputFromJSON(
|
|
1767
|
+
jsonString: string,
|
|
1768
|
+
): SafeParseResult<PreparedDeploymentStackInput, SDKValidationError> {
|
|
1769
|
+
return safeParse(
|
|
1770
|
+
jsonString,
|
|
1771
|
+
(x) => PreparedDeploymentStackInput$inboundSchema.parse(JSON.parse(x)),
|
|
1772
|
+
`Failed to parse 'PreparedDeploymentStackInput' from JSON`,
|
|
1773
|
+
);
|
|
1774
|
+
}
|
|
1775
|
+
|
|
1248
1776
|
/** @internal */
|
|
1249
1777
|
export const PreparedDeploymentStackManagementEnum$inboundSchema: z.ZodEnum<
|
|
1250
1778
|
typeof PreparedDeploymentStackManagementEnum
|
|
@@ -3081,6 +3609,8 @@ export const PreparedDeploymentStackStack$inboundSchema: z.ZodType<
|
|
|
3081
3609
|
unknown
|
|
3082
3610
|
> = z.object({
|
|
3083
3611
|
id: z.string(),
|
|
3612
|
+
inputs: z.array(z.lazy(() => PreparedDeploymentStackInput$inboundSchema))
|
|
3613
|
+
.optional(),
|
|
3084
3614
|
permissions: z.lazy(() => PreparedDeploymentStackPermissions$inboundSchema)
|
|
3085
3615
|
.optional(),
|
|
3086
3616
|
resources: z.record(
|
package/src/models/project.ts
CHANGED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export const ResolvedStackInputSummaryProvidedBy = {
|
|
12
|
+
Developer: "developer",
|
|
13
|
+
Deployer: "deployer",
|
|
14
|
+
} as const;
|
|
15
|
+
export type ResolvedStackInputSummaryProvidedBy = ClosedEnum<
|
|
16
|
+
typeof ResolvedStackInputSummaryProvidedBy
|
|
17
|
+
>;
|
|
18
|
+
|
|
19
|
+
export type ResolvedStackInputSummary = {
|
|
20
|
+
id: string;
|
|
21
|
+
label: string;
|
|
22
|
+
providedBy: Array<ResolvedStackInputSummaryProvidedBy>;
|
|
23
|
+
required: boolean;
|
|
24
|
+
secret: boolean;
|
|
25
|
+
provided: boolean;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const ResolvedStackInputSummaryProvidedBy$inboundSchema: z.ZodEnum<
|
|
30
|
+
typeof ResolvedStackInputSummaryProvidedBy
|
|
31
|
+
> = z.enum(ResolvedStackInputSummaryProvidedBy);
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const ResolvedStackInputSummary$inboundSchema: z.ZodType<
|
|
35
|
+
ResolvedStackInputSummary,
|
|
36
|
+
unknown
|
|
37
|
+
> = z.object({
|
|
38
|
+
id: z.string(),
|
|
39
|
+
label: z.string(),
|
|
40
|
+
providedBy: z.array(ResolvedStackInputSummaryProvidedBy$inboundSchema),
|
|
41
|
+
required: z.boolean(),
|
|
42
|
+
secret: z.boolean(),
|
|
43
|
+
provided: z.boolean(),
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
export function resolvedStackInputSummaryFromJSON(
|
|
47
|
+
jsonString: string,
|
|
48
|
+
): SafeParseResult<ResolvedStackInputSummary, SDKValidationError> {
|
|
49
|
+
return safeParse(
|
|
50
|
+
jsonString,
|
|
51
|
+
(x) => ResolvedStackInputSummary$inboundSchema.parse(JSON.parse(x)),
|
|
52
|
+
`Failed to parse 'ResolvedStackInputSummary' from JSON`,
|
|
53
|
+
);
|
|
54
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
|
|
7
|
+
export type StackInputValueRequest = string | number | boolean | Array<string>;
|
|
8
|
+
|
|
9
|
+
/** @internal */
|
|
10
|
+
export type StackInputValueRequest$Outbound =
|
|
11
|
+
| string
|
|
12
|
+
| number
|
|
13
|
+
| boolean
|
|
14
|
+
| Array<string>;
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const StackInputValueRequest$outboundSchema: z.ZodType<
|
|
18
|
+
StackInputValueRequest$Outbound,
|
|
19
|
+
StackInputValueRequest
|
|
20
|
+
> = z.union([z.string(), z.number(), z.boolean(), z.array(z.string())]);
|
|
21
|
+
|
|
22
|
+
export function stackInputValueRequestToJSON(
|
|
23
|
+
stackInputValueRequest: StackInputValueRequest,
|
|
24
|
+
): string {
|
|
25
|
+
return JSON.stringify(
|
|
26
|
+
StackInputValueRequest$outboundSchema.parse(stackInputValueRequest),
|
|
27
|
+
);
|
|
28
|
+
}
|