@alienplatform/platform-api 1.4.2 → 1.7.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/README.md +18 -10
- package/esm/funcs/billingGetEntitlements.d.ts +16 -0
- package/esm/funcs/billingGetEntitlements.d.ts.map +1 -0
- package/esm/funcs/{billingGetPlan.js → billingGetEntitlements.js} +14 -8
- package/esm/funcs/billingGetEntitlements.js.map +1 -0
- package/esm/funcs/deploymentsCreateSetupRegistrationOperation.d.ts +16 -0
- package/esm/funcs/deploymentsCreateSetupRegistrationOperation.d.ts.map +1 -0
- package/esm/funcs/{deploymentsAcceptCloudFormationCallback.js → deploymentsCreateSetupRegistrationOperation.js} +10 -11
- package/esm/funcs/deploymentsCreateSetupRegistrationOperation.js.map +1 -0
- package/esm/funcs/deploymentsDelete.d.ts +3 -2
- package/esm/funcs/deploymentsDelete.d.ts.map +1 -1
- package/esm/funcs/deploymentsDelete.js +10 -8
- package/esm/funcs/deploymentsDelete.js.map +1 -1
- package/esm/funcs/deploymentsGetSetupRegistrationOperation.d.ts +16 -0
- package/esm/funcs/deploymentsGetSetupRegistrationOperation.d.ts.map +1 -0
- package/esm/funcs/deploymentsGetSetupRegistrationOperation.js +89 -0
- package/esm/funcs/deploymentsGetSetupRegistrationOperation.js.map +1 -0
- package/esm/funcs/domainsCreate.d.ts +1 -1
- package/esm/funcs/domainsCreate.js +3 -3
- package/esm/funcs/domainsCreate.js.map +1 -1
- package/esm/funcs/{deploymentsAcceptCloudFormationCallback.d.ts → domainsCreateEndpoint.d.ts} +4 -3
- package/esm/funcs/domainsCreateEndpoint.d.ts.map +1 -0
- package/esm/funcs/domainsCreateEndpoint.js +90 -0
- package/esm/funcs/domainsCreateEndpoint.js.map +1 -0
- package/esm/funcs/{billingGetPlan.d.ts → managersGetDomainBinding.d.ts} +5 -3
- package/esm/funcs/managersGetDomainBinding.d.ts.map +1 -0
- package/esm/funcs/managersGetDomainBinding.js +89 -0
- package/esm/funcs/managersGetDomainBinding.js.map +1 -0
- package/esm/funcs/managersUpdateDomainBinding.d.ts +16 -0
- package/esm/funcs/managersUpdateDomainBinding.d.ts.map +1 -0
- package/esm/funcs/managersUpdateDomainBinding.js +92 -0
- package/esm/funcs/managersUpdateDomainBinding.js.map +1 -0
- package/esm/funcs/syncReconcile.d.ts +1 -1
- package/esm/funcs/syncReconcile.js +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/billingfeatureflags.d.ts +14 -0
- package/esm/models/billingfeatureflags.d.ts.map +1 -0
- package/esm/models/billingfeatureflags.js +25 -0
- package/esm/models/billingfeatureflags.js.map +1 -0
- package/esm/models/billinglimits.d.ts +15 -0
- package/esm/models/billinglimits.d.ts.map +1 -0
- package/esm/models/billinglimits.js +19 -0
- package/esm/models/billinglimits.js.map +1 -0
- package/esm/models/billingplanstatus.d.ts +13 -0
- package/esm/models/billingplanstatus.d.ts.map +1 -0
- package/esm/models/billingplanstatus.js +14 -0
- package/esm/models/billingplanstatus.js.map +1 -0
- package/esm/models/createmanagerresponse.d.ts +15 -0
- package/esm/models/createmanagerresponse.d.ts.map +1 -1
- package/esm/models/createmanagerresponse.js +9 -0
- package/esm/models/createmanagerresponse.js.map +1 -1
- package/esm/models/createsetupregistrationoperationrequest.d.ts +1633 -0
- package/esm/models/createsetupregistrationoperationrequest.d.ts.map +1 -0
- package/esm/models/createsetupregistrationoperationrequest.js +1015 -0
- package/esm/models/createsetupregistrationoperationrequest.js.map +1 -0
- package/esm/models/deletedeploymentrequest.d.ts +21 -0
- package/esm/models/deletedeploymentrequest.d.ts.map +1 -0
- package/esm/models/deletedeploymentrequest.js +19 -0
- package/esm/models/deletedeploymentrequest.js.map +1 -0
- package/esm/models/deletedeploymentresponse.d.ts +20 -0
- package/esm/models/deletedeploymentresponse.d.ts.map +1 -0
- package/esm/models/deletedeploymentresponse.js +21 -0
- package/esm/models/deletedeploymentresponse.js.map +1 -0
- package/esm/models/deployment.d.ts +58 -64
- package/esm/models/deployment.d.ts.map +1 -1
- package/esm/models/deployment.js +35 -44
- package/esm/models/deployment.js.map +1 -1
- package/esm/models/deploymentconnectioninfo.d.ts +3 -0
- package/esm/models/deploymentconnectioninfo.d.ts.map +1 -1
- package/esm/models/deploymentconnectioninfo.js +3 -0
- package/esm/models/deploymentconnectioninfo.js.map +1 -1
- package/esm/models/deploymentdetailresponse.d.ts +58 -64
- package/esm/models/deploymentdetailresponse.d.ts.map +1 -1
- package/esm/models/deploymentdetailresponse.js +37 -47
- package/esm/models/deploymentdetailresponse.js.map +1 -1
- package/esm/models/deploymentinfo.d.ts +40 -12
- package/esm/models/deploymentinfo.d.ts.map +1 -1
- package/esm/models/deploymentinfo.js +36 -13
- package/esm/models/deploymentinfo.js.map +1 -1
- package/esm/models/deploymentlistitemresponse.d.ts +30 -0
- package/esm/models/deploymentlistitemresponse.d.ts.map +1 -1
- package/esm/models/deploymentlistitemresponse.js +20 -0
- package/esm/models/deploymentlistitemresponse.js.map +1 -1
- package/esm/models/deploymentportaldomainresponse.d.ts +3 -2
- package/esm/models/deploymentportaldomainresponse.d.ts.map +1 -1
- package/esm/models/deploymentportaldomainresponse.js +3 -2
- package/esm/models/deploymentportaldomainresponse.js.map +1 -1
- package/esm/models/deploymentrole.d.ts +1 -0
- package/esm/models/deploymentrole.d.ts.map +1 -1
- package/esm/models/deploymentrole.js +1 -0
- package/esm/models/deploymentrole.js.map +1 -1
- package/esm/models/deploymentsetupstacksettingspolicy.d.ts +7 -0
- package/esm/models/deploymentsetupstacksettingspolicy.d.ts.map +1 -1
- package/esm/models/deploymentsetupstacksettingspolicy.js +6 -0
- package/esm/models/deploymentsetupstacksettingspolicy.js.map +1 -1
- package/esm/models/{deploymentportaldomain.d.ts → domainendpoint.d.ts} +17 -33
- package/esm/models/domainendpoint.d.ts.map +1 -0
- package/esm/models/domainendpoint.js +49 -0
- package/esm/models/domainendpoint.js.map +1 -0
- package/esm/models/domainendpointkind.d.ts +12 -0
- package/esm/models/domainendpointkind.d.ts.map +1 -0
- package/esm/models/domainendpointkind.js +13 -0
- package/esm/models/domainendpointkind.js.map +1 -0
- package/esm/models/domainendpointowner.d.ts +12 -0
- package/esm/models/domainendpointowner.d.ts.map +1 -0
- package/esm/models/domainendpointowner.js +15 -0
- package/esm/models/domainendpointowner.js.map +1 -0
- package/esm/models/domainendpointownertype.d.ts +11 -0
- package/esm/models/domainendpointownertype.d.ts.map +1 -0
- package/esm/models/domainendpointownertype.js +12 -0
- package/esm/models/domainendpointownertype.js.map +1 -0
- package/esm/models/domainendpointstatus.d.ts +15 -0
- package/esm/models/domainendpointstatus.d.ts.map +1 -0
- package/esm/models/domainendpointstatus.js +16 -0
- package/esm/models/domainendpointstatus.js.map +1 -0
- package/esm/models/domainwithusage.d.ts +22 -2
- package/esm/models/domainwithusage.d.ts.map +1 -1
- package/esm/models/domainwithusage.js +25 -2
- package/esm/models/domainwithusage.js.map +1 -1
- package/esm/models/event.d.ts +11 -6
- package/esm/models/event.d.ts.map +1 -1
- package/esm/models/event.js +5 -2
- package/esm/models/event.js.map +1 -1
- package/esm/models/importsource.d.ts +55 -34
- package/esm/models/importsource.d.ts.map +1 -1
- package/esm/models/importsource.js +39 -25
- package/esm/models/importsource.js.map +1 -1
- package/esm/models/importsourcekind.d.ts +2 -0
- package/esm/models/importsourcekind.d.ts.map +1 -1
- package/esm/models/importsourcekind.js +3 -1
- package/esm/models/importsourcekind.js.map +1 -1
- package/esm/models/index.d.ts +20 -2
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +20 -2
- package/esm/models/index.js.map +1 -1
- package/esm/models/kubernetesbaseplatform.d.ts +17 -0
- package/esm/models/kubernetesbaseplatform.d.ts.map +1 -0
- package/esm/models/kubernetesbaseplatform.js +15 -0
- package/esm/models/kubernetesbaseplatform.js.map +1 -0
- package/esm/models/managerdeployment.d.ts +3 -0
- package/esm/models/managerdeployment.d.ts.map +1 -1
- package/esm/models/managerdeployment.js +3 -0
- package/esm/models/managerdeployment.js.map +1 -1
- package/esm/models/managerdomainbindingresponse.d.ts +11 -0
- package/esm/models/managerdomainbindingresponse.d.ts.map +1 -0
- package/esm/models/managerdomainbindingresponse.js +14 -0
- package/esm/models/managerdomainbindingresponse.js.map +1 -0
- package/esm/models/managerretryresponse.d.ts +15 -0
- package/esm/models/managerretryresponse.d.ts.map +1 -1
- package/esm/models/managerretryresponse.js +9 -0
- package/esm/models/managerretryresponse.js.map +1 -1
- package/esm/models/newdeploymentrequest.d.ts +16 -0
- package/esm/models/newdeploymentrequest.d.ts.map +1 -1
- package/esm/models/newdeploymentrequest.js +6 -0
- package/esm/models/newdeploymentrequest.js.map +1 -1
- package/esm/models/operations/createdomain.d.ts +21 -0
- package/esm/models/operations/createdomain.d.ts.map +1 -1
- package/esm/models/operations/createdomain.js +11 -0
- package/esm/models/operations/createdomain.js.map +1 -1
- package/esm/models/operations/createdomainendpoint.d.ts +64 -0
- package/esm/models/operations/createdomainendpoint.d.ts.map +1 -0
- package/esm/models/operations/createdomainendpoint.js +51 -0
- package/esm/models/operations/createdomainendpoint.js.map +1 -0
- package/esm/models/operations/createproject.d.ts +8 -8
- package/esm/models/operations/createprojectfromtemplate.d.ts +8 -8
- package/esm/models/operations/createsetupregistrationoperation.d.ts +18 -0
- package/esm/models/operations/createsetupregistrationoperation.d.ts.map +1 -0
- package/esm/models/operations/createsetupregistrationoperation.js +20 -0
- package/esm/models/operations/createsetupregistrationoperation.js.map +1 -0
- package/esm/models/operations/deletedeployment.d.ts +3 -32
- package/esm/models/operations/deletedeployment.d.ts.map +1 -1
- package/esm/models/operations/deletedeployment.js +8 -19
- package/esm/models/operations/deletedeployment.js.map +1 -1
- package/esm/models/operations/getdeploymentstats.d.ts +3 -0
- package/esm/models/operations/getdeploymentstats.d.ts.map +1 -1
- package/esm/models/operations/getdeploymentstats.js +3 -0
- package/esm/models/operations/getdeploymentstats.js.map +1 -1
- package/esm/models/operations/getmanagerdomainbinding.d.ts +20 -0
- package/esm/models/operations/getmanagerdomainbinding.d.ts.map +1 -0
- package/esm/models/operations/getmanagerdomainbinding.js +13 -0
- package/esm/models/operations/getmanagerdomainbinding.js.map +1 -0
- package/esm/models/operations/getresourcedeploymentdetail.d.ts +1 -0
- package/esm/models/operations/getresourcedeploymentdetail.d.ts.map +1 -1
- package/esm/models/operations/getresourcedeploymentdetail.js +1 -0
- package/esm/models/operations/getresourcedeploymentdetail.js.map +1 -1
- package/esm/models/operations/getsetupregistrationoperation.d.ts +20 -0
- package/esm/models/operations/getsetupregistrationoperation.d.ts.map +1 -0
- package/esm/models/operations/getsetupregistrationoperation.js +13 -0
- package/esm/models/operations/getsetupregistrationoperation.js.map +1 -0
- package/esm/models/operations/getworkspacebillingentitlements.d.ts +15 -0
- package/esm/models/operations/getworkspacebillingentitlements.d.ts.map +1 -0
- package/esm/models/operations/getworkspacebillingentitlements.js +12 -0
- package/esm/models/operations/getworkspacebillingentitlements.js.map +1 -0
- package/esm/models/operations/index.d.ts +6 -2
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +6 -2
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/listdeployments.d.ts +3 -0
- package/esm/models/operations/listdeployments.d.ts.map +1 -1
- package/esm/models/operations/listdeployments.js +3 -0
- package/esm/models/operations/listdeployments.js.map +1 -1
- package/esm/models/operations/preparedeploymentstack.d.ts +7 -0
- package/esm/models/operations/preparedeploymentstack.d.ts.map +1 -1
- package/esm/models/operations/preparedeploymentstack.js +3 -0
- package/esm/models/operations/preparedeploymentstack.js.map +1 -1
- package/esm/models/operations/updatemanagerdomainbinding.d.ts +23 -0
- package/esm/models/operations/updatemanagerdomainbinding.d.ts.map +1 -0
- package/esm/models/operations/updatemanagerdomainbinding.js +21 -0
- package/esm/models/operations/updatemanagerdomainbinding.js.map +1 -0
- package/esm/models/package.d.ts +10 -6
- package/esm/models/package.d.ts.map +1 -1
- package/esm/models/package.js +1 -0
- package/esm/models/package.js.map +1 -1
- package/esm/models/persistimporteddeploymentrequest.d.ts +22 -70
- package/esm/models/persistimporteddeploymentrequest.d.ts.map +1 -1
- package/esm/models/persistimporteddeploymentrequest.js +9 -58
- package/esm/models/persistimporteddeploymentrequest.js.map +1 -1
- package/esm/models/project.d.ts +4 -4
- package/esm/models/projectlistitemresponse.d.ts +4 -4
- package/esm/models/setupregistrationaction.d.ts +13 -0
- package/esm/models/setupregistrationaction.d.ts.map +1 -0
- package/esm/models/setupregistrationaction.js +14 -0
- package/esm/models/setupregistrationaction.js.map +1 -0
- package/esm/models/setupregistrationcloudformationtarget.d.ts +22 -0
- package/esm/models/setupregistrationcloudformationtarget.d.ts.map +1 -0
- package/esm/models/setupregistrationcloudformationtarget.js +17 -0
- package/esm/models/setupregistrationcloudformationtarget.js.map +1 -0
- package/esm/models/setupregistrationoperationresponse.d.ts +34 -0
- package/esm/models/setupregistrationoperationresponse.d.ts.map +1 -0
- package/esm/models/setupregistrationoperationresponse.js +32 -0
- package/esm/models/setupregistrationoperationresponse.js.map +1 -0
- package/esm/models/setupregistrationoperationresult.d.ts +15 -0
- package/esm/models/setupregistrationoperationresult.d.ts.map +1 -0
- package/esm/models/setupregistrationoperationresult.js +15 -0
- package/esm/models/setupregistrationoperationresult.js.map +1 -0
- package/esm/models/setupregistrationoperationstatus.d.ts +15 -0
- package/esm/models/setupregistrationoperationstatus.d.ts.map +1 -0
- package/esm/models/setupregistrationoperationstatus.js +16 -0
- package/esm/models/setupregistrationoperationstatus.js.map +1 -0
- package/esm/models/syncacquirerequest.d.ts +25 -0
- package/esm/models/syncacquirerequest.d.ts.map +1 -1
- package/esm/models/syncacquirerequest.js +16 -0
- package/esm/models/syncacquirerequest.js.map +1 -1
- package/esm/models/syncacquireresponse.d.ts +215 -90
- package/esm/models/syncacquireresponse.d.ts.map +1 -1
- package/esm/models/syncacquireresponse.js +80 -52
- package/esm/models/syncacquireresponse.js.map +1 -1
- package/esm/models/synclistrequest.d.ts +3 -0
- package/esm/models/synclistrequest.d.ts.map +1 -1
- package/esm/models/synclistrequest.js +3 -0
- package/esm/models/synclistrequest.js.map +1 -1
- package/esm/models/synclistresponse.d.ts +58 -64
- package/esm/models/synclistresponse.d.ts.map +1 -1
- package/esm/models/synclistresponse.js +36 -44
- package/esm/models/synclistresponse.js.map +1 -1
- package/esm/models/syncreconcilerequest.d.ts +120 -173
- package/esm/models/syncreconcilerequest.d.ts.map +1 -1
- package/esm/models/syncreconcilerequest.js +31 -72
- package/esm/models/syncreconcilerequest.js.map +1 -1
- package/esm/models/syncreconcileresponse.d.ts +215 -90
- package/esm/models/syncreconcileresponse.d.ts.map +1 -1
- package/esm/models/syncreconcileresponse.js +80 -55
- package/esm/models/syncreconcileresponse.js.map +1 -1
- package/esm/models/updatemanagerdomainbinding.d.ts +15 -0
- package/esm/models/updatemanagerdomainbinding.d.ts.map +1 -0
- package/esm/models/updatemanagerdomainbinding.js +12 -0
- package/esm/models/updatemanagerdomainbinding.js.map +1 -0
- package/esm/models/updateproject.d.ts +4 -9
- package/esm/models/updateproject.d.ts.map +1 -1
- package/esm/models/updateproject.js +0 -1
- package/esm/models/updateproject.js.map +1 -1
- package/esm/models/workspacebillingentitlements.d.ts +19 -0
- package/esm/models/workspacebillingentitlements.d.ts.map +1 -0
- package/esm/models/workspacebillingentitlements.js +22 -0
- package/esm/models/workspacebillingentitlements.js.map +1 -0
- package/esm/sdk/billing.d.ts +3 -2
- package/esm/sdk/billing.d.ts.map +1 -1
- package/esm/sdk/billing.js +4 -4
- package/esm/sdk/billing.js.map +1 -1
- package/esm/sdk/deployments.d.ts +10 -6
- package/esm/sdk/deployments.d.ts.map +1 -1
- package/esm/sdk/deployments.js +17 -10
- package/esm/sdk/deployments.js.map +1 -1
- package/esm/sdk/domains.d.ts +5 -1
- package/esm/sdk/domains.d.ts.map +1 -1
- package/esm/sdk/domains.js +8 -1
- package/esm/sdk/domains.js.map +1 -1
- package/esm/sdk/managers.d.ts +8 -0
- package/esm/sdk/managers.d.ts.map +1 -1
- package/esm/sdk/managers.js +14 -0
- package/esm/sdk/managers.js.map +1 -1
- package/esm/sdk/sync.d.ts +1 -1
- package/esm/sdk/sync.js +1 -1
- package/jsr.json +1 -1
- package/package.json +2 -2
- package/src/funcs/{billingGetPlan.ts → billingGetEntitlements.ts} +24 -13
- package/src/funcs/{deploymentsAcceptCloudFormationCallback.ts → deploymentsCreateSetupRegistrationOperation.ts} +18 -15
- package/src/funcs/deploymentsDelete.ts +13 -11
- package/src/funcs/deploymentsGetSetupRegistrationOperation.ts +184 -0
- package/src/funcs/domainsCreate.ts +3 -3
- package/src/funcs/domainsCreateEndpoint.ts +181 -0
- package/src/funcs/managersGetDomainBinding.ts +180 -0
- package/src/funcs/managersUpdateDomainBinding.ts +183 -0
- package/src/funcs/syncReconcile.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/billingfeatureflags.ts +46 -0
- package/src/models/billinglimits.ts +38 -0
- package/src/models/billingplanstatus.ts +20 -0
- package/src/models/createmanagerresponse.ts +24 -0
- package/src/models/createsetupregistrationoperationrequest.ts +4032 -0
- package/src/models/deletedeploymentrequest.ts +45 -0
- package/src/models/deletedeploymentresponse.ts +47 -0
- package/src/models/deployment.ts +72 -116
- package/src/models/deploymentconnectioninfo.ts +3 -0
- package/src/models/deploymentdetailresponse.ts +78 -138
- package/src/models/deploymentinfo.ts +85 -31
- package/src/models/deploymentlistitemresponse.ts +38 -0
- package/src/models/deploymentportaldomainresponse.ts +7 -5
- package/src/models/deploymentrole.ts +1 -0
- package/src/models/deploymentsetupstacksettingspolicy.ts +13 -0
- package/src/models/{deploymentportaldomain.ts → domainendpoint.ts} +57 -70
- package/src/models/domainendpointkind.ts +19 -0
- package/src/models/domainendpointowner.ts +36 -0
- package/src/models/domainendpointownertype.ts +20 -0
- package/src/models/domainendpointstatus.ts +22 -0
- package/src/models/domainwithusage.ts +62 -4
- package/src/models/event.ts +11 -6
- package/src/models/importsource.ts +115 -63
- package/src/models/importsourcekind.ts +5 -1
- package/src/models/index.ts +20 -2
- package/src/models/kubernetesbaseplatform.ts +24 -0
- package/src/models/managerdeployment.ts +3 -0
- package/src/models/managerdomainbindingresponse.ts +34 -0
- package/src/models/managerretryresponse.ts +24 -0
- package/src/models/newdeploymentrequest.ts +20 -0
- package/src/models/operations/createdomain.ts +33 -0
- package/src/models/operations/createdomainendpoint.ts +131 -0
- package/src/models/operations/createproject.ts +8 -8
- package/src/models/operations/createprojectfromtemplate.ts +8 -8
- package/src/models/operations/createsetupregistrationoperation.ts +51 -0
- package/src/models/operations/deletedeployment.ts +10 -55
- package/src/models/operations/getdeploymentstats.ts +3 -0
- package/src/models/operations/getmanagerdomainbinding.ts +41 -0
- package/src/models/operations/getresourcedeploymentdetail.ts +2 -0
- package/src/models/operations/getsetupregistrationoperation.ts +41 -0
- package/src/models/operations/getworkspacebillingentitlements.ts +36 -0
- package/src/models/operations/index.ts +6 -2
- package/src/models/operations/listdeployments.ts +3 -0
- package/src/models/operations/preparedeploymentstack.ts +10 -0
- package/src/models/operations/updatemanagerdomainbinding.ts +53 -0
- package/src/models/package.ts +11 -6
- package/src/models/persistimporteddeploymentrequest.ts +26 -150
- package/src/models/project.ts +4 -4
- package/src/models/projectlistitemresponse.ts +4 -4
- package/src/models/setupregistrationaction.ts +24 -0
- package/src/models/setupregistrationcloudformationtarget.ts +47 -0
- package/src/models/setupregistrationoperationresponse.ts +99 -0
- package/src/models/setupregistrationoperationresult.ts +37 -0
- package/src/models/setupregistrationoperationstatus.ts +24 -0
- package/src/models/syncacquirerequest.ts +34 -0
- package/src/models/syncacquireresponse.ts +308 -151
- package/src/models/synclistrequest.ts +3 -0
- package/src/models/synclistresponse.ts +77 -124
- package/src/models/syncreconcilerequest.ts +167 -265
- package/src/models/syncreconcileresponse.ts +309 -155
- package/src/models/updatemanagerdomainbinding.ts +33 -0
- package/src/models/updateproject.ts +4 -10
- package/src/models/workspacebillingentitlements.ts +52 -0
- package/src/sdk/billing.ts +7 -6
- package/src/sdk/deployments.ts +35 -20
- package/src/sdk/domains.ts +16 -1
- package/src/sdk/managers.ts +30 -0
- package/src/sdk/sync.ts +1 -1
- package/esm/funcs/billingGetPlan.d.ts.map +0 -1
- package/esm/funcs/billingGetPlan.js.map +0 -1
- package/esm/funcs/deploymentsAcceptCloudFormationCallback.d.ts.map +0 -1
- package/esm/funcs/deploymentsAcceptCloudFormationCallback.js.map +0 -1
- package/esm/models/cloudformationcallbackrequest.d.ts +0 -1619
- package/esm/models/cloudformationcallbackrequest.d.ts.map +0 -1
- package/esm/models/cloudformationcallbackrequest.js +0 -977
- package/esm/models/cloudformationcallbackrequest.js.map +0 -1
- package/esm/models/deploymentportaldomain.d.ts.map +0 -1
- package/esm/models/deploymentportaldomain.js +0 -58
- package/esm/models/deploymentportaldomain.js.map +0 -1
- package/esm/models/operations/acceptcloudformationcallback.d.ts +0 -31
- package/esm/models/operations/acceptcloudformationcallback.d.ts.map +0 -1
- package/esm/models/operations/acceptcloudformationcallback.js +0 -30
- package/esm/models/operations/acceptcloudformationcallback.js.map +0 -1
- package/esm/models/operations/getworkspaceplan.d.ts +0 -27
- package/esm/models/operations/getworkspaceplan.d.ts.map +0 -1
- package/esm/models/operations/getworkspaceplan.js +0 -21
- package/esm/models/operations/getworkspaceplan.js.map +0 -1
- package/src/models/cloudformationcallbackrequest.ts +0 -3844
- package/src/models/operations/acceptcloudformationcallback.ts +0 -82
- package/src/models/operations/getworkspaceplan.ts +0 -62
|
@@ -25,6 +25,7 @@ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
|
25
25
|
*/
|
|
26
26
|
export const DeploymentListItemResponseStatus = {
|
|
27
27
|
Pending: "pending",
|
|
28
|
+
PreflightsFailed: "preflights-failed",
|
|
28
29
|
InitialSetup: "initial-setup",
|
|
29
30
|
InitialSetupFailed: "initial-setup-failed",
|
|
30
31
|
Provisioning: "provisioning",
|
|
@@ -37,6 +38,8 @@ export const DeploymentListItemResponseStatus = {
|
|
|
37
38
|
DeletePending: "delete-pending",
|
|
38
39
|
Deleting: "deleting",
|
|
39
40
|
DeleteFailed: "delete-failed",
|
|
41
|
+
TeardownRequired: "teardown-required",
|
|
42
|
+
TeardownFailed: "teardown-failed",
|
|
40
43
|
Deleted: "deleted",
|
|
41
44
|
Error: "error",
|
|
42
45
|
} as const;
|
|
@@ -209,6 +212,24 @@ export type DeploymentListItemResponseImportSource = ClosedEnum<
|
|
|
209
212
|
typeof DeploymentListItemResponseImportSource
|
|
210
213
|
>;
|
|
211
214
|
|
|
215
|
+
/**
|
|
216
|
+
* Setup method that created the deployment record.
|
|
217
|
+
*/
|
|
218
|
+
export const DeploymentListItemResponseSetupMethod = {
|
|
219
|
+
Cloudformation: "cloudformation",
|
|
220
|
+
GoogleOauth: "google-oauth",
|
|
221
|
+
Terraform: "terraform",
|
|
222
|
+
Helm: "helm",
|
|
223
|
+
Cli: "cli",
|
|
224
|
+
Manual: "manual",
|
|
225
|
+
} as const;
|
|
226
|
+
/**
|
|
227
|
+
* Setup method that created the deployment record.
|
|
228
|
+
*/
|
|
229
|
+
export type DeploymentListItemResponseSetupMethod = ClosedEnum<
|
|
230
|
+
typeof DeploymentListItemResponseSetupMethod
|
|
231
|
+
>;
|
|
232
|
+
|
|
212
233
|
/**
|
|
213
234
|
* Latest error information if in a failed state
|
|
214
235
|
*/
|
|
@@ -341,6 +362,14 @@ export type DeploymentListItemResponse = {
|
|
|
341
362
|
* Setup source that imported this deployment
|
|
342
363
|
*/
|
|
343
364
|
importSource?: DeploymentListItemResponseImportSource | null | undefined;
|
|
365
|
+
/**
|
|
366
|
+
* Setup method that created the deployment record.
|
|
367
|
+
*/
|
|
368
|
+
setupMethod?: DeploymentListItemResponseSetupMethod | null | undefined;
|
|
369
|
+
/**
|
|
370
|
+
* Setup method metadata needed to guide privileged teardown.
|
|
371
|
+
*/
|
|
372
|
+
setupMetadata?: { [k: string]: any | null } | null | undefined;
|
|
344
373
|
/**
|
|
345
374
|
* Imported setup target for compatibility checks
|
|
346
375
|
*/
|
|
@@ -573,6 +602,11 @@ export const DeploymentListItemResponseImportSource$inboundSchema: z.ZodEnum<
|
|
|
573
602
|
typeof DeploymentListItemResponseImportSource
|
|
574
603
|
> = z.enum(DeploymentListItemResponseImportSource);
|
|
575
604
|
|
|
605
|
+
/** @internal */
|
|
606
|
+
export const DeploymentListItemResponseSetupMethod$inboundSchema: z.ZodEnum<
|
|
607
|
+
typeof DeploymentListItemResponseSetupMethod
|
|
608
|
+
> = z.enum(DeploymentListItemResponseSetupMethod);
|
|
609
|
+
|
|
576
610
|
/** @internal */
|
|
577
611
|
export const DeploymentListItemResponseError$inboundSchema: z.ZodType<
|
|
578
612
|
DeploymentListItemResponseError,
|
|
@@ -631,6 +665,10 @@ export const DeploymentListItemResponse$inboundSchema: z.ZodType<
|
|
|
631
665
|
pinnedReleaseId: z.nullable(z.string()).optional(),
|
|
632
666
|
importSource: z.nullable(DeploymentListItemResponseImportSource$inboundSchema)
|
|
633
667
|
.optional(),
|
|
668
|
+
setupMethod: z.nullable(DeploymentListItemResponseSetupMethod$inboundSchema)
|
|
669
|
+
.optional(),
|
|
670
|
+
setupMetadata: z.nullable(z.record(z.string(), z.nullable(z.any())))
|
|
671
|
+
.optional(),
|
|
634
672
|
setupTarget: z.nullable(z.string()).optional(),
|
|
635
673
|
setupFingerprint: z.nullable(z.string()).optional(),
|
|
636
674
|
setupFingerprintVersion: z.nullable(z.int()).optional(),
|
|
@@ -6,13 +6,14 @@ import * as z from "zod/v4";
|
|
|
6
6
|
import { safeParse } from "../lib/schemas.js";
|
|
7
7
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
DomainEndpoint,
|
|
10
|
+
DomainEndpoint$inboundSchema,
|
|
11
|
+
} from "./domainendpoint.js";
|
|
12
12
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
13
13
|
|
|
14
14
|
export type DeploymentPortalDomainResponse = {
|
|
15
|
-
|
|
15
|
+
deploymentPortalEndpoint: DomainEndpoint | null;
|
|
16
|
+
packageEndpoint: DomainEndpoint | null;
|
|
16
17
|
};
|
|
17
18
|
|
|
18
19
|
/** @internal */
|
|
@@ -20,7 +21,8 @@ export const DeploymentPortalDomainResponse$inboundSchema: z.ZodType<
|
|
|
20
21
|
DeploymentPortalDomainResponse,
|
|
21
22
|
unknown
|
|
22
23
|
> = z.object({
|
|
23
|
-
|
|
24
|
+
deploymentPortalEndpoint: z.nullable(DomainEndpoint$inboundSchema),
|
|
25
|
+
packageEndpoint: z.nullable(DomainEndpoint$inboundSchema),
|
|
24
26
|
});
|
|
25
27
|
|
|
26
28
|
export function deploymentPortalDomainResponseFromJSON(
|
|
@@ -11,6 +11,7 @@ import { ClosedEnum } from "../types/enums.js";
|
|
|
11
11
|
export const DeploymentRole = {
|
|
12
12
|
DeploymentViewer: "deployment.viewer",
|
|
13
13
|
DeploymentManager: "deployment.manager",
|
|
14
|
+
DeploymentTelemetryWriter: "deployment.telemetry-writer",
|
|
14
15
|
} as const;
|
|
15
16
|
/**
|
|
16
17
|
* Role for deployment-scoped service accounts
|
|
@@ -33,6 +33,7 @@ export type DeploymentSetupStackSettingsPolicyAwsUnion =
|
|
|
33
33
|
|
|
34
34
|
export type DeploymentSetupStackSettingsPolicyAzure = {
|
|
35
35
|
keyVaultCertificateId: string;
|
|
36
|
+
keyVaultResourceId?: string | null | undefined;
|
|
36
37
|
};
|
|
37
38
|
|
|
38
39
|
export type DeploymentSetupStackSettingsPolicyAzureUnion =
|
|
@@ -859,6 +860,10 @@ export type DeploymentSetupStackSettingsPolicyTypeByoVnetAzure = ClosedEnum<
|
|
|
859
860
|
>;
|
|
860
861
|
|
|
861
862
|
export type DeploymentSetupStackSettingsPolicyNetworkByoVnetAzure = {
|
|
863
|
+
/**
|
|
864
|
+
* Name of the dedicated classic Application Gateway subnet within the VNet.
|
|
865
|
+
*/
|
|
866
|
+
applicationGatewaySubnetName?: string | null | undefined;
|
|
862
867
|
/**
|
|
863
868
|
* Name of the private subnet within the VNet
|
|
864
869
|
*/
|
|
@@ -1214,10 +1219,12 @@ export const DeploymentSetupStackSettingsPolicyAzure$inboundSchema: z.ZodType<
|
|
|
1214
1219
|
unknown
|
|
1215
1220
|
> = z.object({
|
|
1216
1221
|
keyVaultCertificateId: z.string(),
|
|
1222
|
+
keyVaultResourceId: z.nullable(z.string()).optional(),
|
|
1217
1223
|
});
|
|
1218
1224
|
/** @internal */
|
|
1219
1225
|
export type DeploymentSetupStackSettingsPolicyAzure$Outbound = {
|
|
1220
1226
|
keyVaultCertificateId: string;
|
|
1227
|
+
keyVaultResourceId?: string | null | undefined;
|
|
1221
1228
|
};
|
|
1222
1229
|
|
|
1223
1230
|
/** @internal */
|
|
@@ -1226,6 +1233,7 @@ export const DeploymentSetupStackSettingsPolicyAzure$outboundSchema: z.ZodType<
|
|
|
1226
1233
|
DeploymentSetupStackSettingsPolicyAzure
|
|
1227
1234
|
> = z.object({
|
|
1228
1235
|
keyVaultCertificateId: z.string(),
|
|
1236
|
+
keyVaultResourceId: z.nullable(z.string()).optional(),
|
|
1229
1237
|
});
|
|
1230
1238
|
|
|
1231
1239
|
export function deploymentSetupStackSettingsPolicyAzureToJSON(
|
|
@@ -4814,12 +4822,14 @@ export const DeploymentSetupStackSettingsPolicyTypeByoVnetAzure$outboundSchema:
|
|
|
4814
4822
|
export const DeploymentSetupStackSettingsPolicyNetworkByoVnetAzure$inboundSchema:
|
|
4815
4823
|
z.ZodType<DeploymentSetupStackSettingsPolicyNetworkByoVnetAzure, unknown> = z
|
|
4816
4824
|
.object({
|
|
4825
|
+
application_gateway_subnet_name: z.nullable(z.string()).optional(),
|
|
4817
4826
|
private_subnet_name: z.string(),
|
|
4818
4827
|
public_subnet_name: z.string(),
|
|
4819
4828
|
type: DeploymentSetupStackSettingsPolicyTypeByoVnetAzure$inboundSchema,
|
|
4820
4829
|
vnet_resource_id: z.string(),
|
|
4821
4830
|
}).transform((v) => {
|
|
4822
4831
|
return remap$(v, {
|
|
4832
|
+
"application_gateway_subnet_name": "applicationGatewaySubnetName",
|
|
4823
4833
|
"private_subnet_name": "privateSubnetName",
|
|
4824
4834
|
"public_subnet_name": "publicSubnetName",
|
|
4825
4835
|
"vnet_resource_id": "vnetResourceId",
|
|
@@ -4827,6 +4837,7 @@ export const DeploymentSetupStackSettingsPolicyNetworkByoVnetAzure$inboundSchema
|
|
|
4827
4837
|
});
|
|
4828
4838
|
/** @internal */
|
|
4829
4839
|
export type DeploymentSetupStackSettingsPolicyNetworkByoVnetAzure$Outbound = {
|
|
4840
|
+
application_gateway_subnet_name?: string | null | undefined;
|
|
4830
4841
|
private_subnet_name: string;
|
|
4831
4842
|
public_subnet_name: string;
|
|
4832
4843
|
type: string;
|
|
@@ -4839,12 +4850,14 @@ export const DeploymentSetupStackSettingsPolicyNetworkByoVnetAzure$outboundSchem
|
|
|
4839
4850
|
DeploymentSetupStackSettingsPolicyNetworkByoVnetAzure$Outbound,
|
|
4840
4851
|
DeploymentSetupStackSettingsPolicyNetworkByoVnetAzure
|
|
4841
4852
|
> = z.object({
|
|
4853
|
+
applicationGatewaySubnetName: z.nullable(z.string()).optional(),
|
|
4842
4854
|
privateSubnetName: z.string(),
|
|
4843
4855
|
publicSubnetName: z.string(),
|
|
4844
4856
|
type: DeploymentSetupStackSettingsPolicyTypeByoVnetAzure$outboundSchema,
|
|
4845
4857
|
vnetResourceId: z.string(),
|
|
4846
4858
|
}).transform((v) => {
|
|
4847
4859
|
return remap$(v, {
|
|
4860
|
+
applicationGatewaySubnetName: "application_gateway_subnet_name",
|
|
4848
4861
|
privateSubnetName: "private_subnet_name",
|
|
4849
4862
|
publicSubnetName: "public_subnet_name",
|
|
4850
4863
|
vnetResourceId: "vnet_resource_id",
|
|
@@ -4,26 +4,25 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4";
|
|
6
6
|
import { safeParse } from "../lib/schemas.js";
|
|
7
|
-
import { ClosedEnum } from "../types/enums.js";
|
|
8
7
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
9
8
|
import {
|
|
10
9
|
DeploymentPortalManagedDnsRecord,
|
|
11
10
|
DeploymentPortalManagedDnsRecord$inboundSchema,
|
|
12
11
|
} from "./deploymentportalmanageddnsrecord.js";
|
|
12
|
+
import {
|
|
13
|
+
DomainEndpointKind,
|
|
14
|
+
DomainEndpointKind$inboundSchema,
|
|
15
|
+
} from "./domainendpointkind.js";
|
|
16
|
+
import {
|
|
17
|
+
DomainEndpointOwner,
|
|
18
|
+
DomainEndpointOwner$inboundSchema,
|
|
19
|
+
} from "./domainendpointowner.js";
|
|
20
|
+
import {
|
|
21
|
+
DomainEndpointStatus,
|
|
22
|
+
DomainEndpointStatus$inboundSchema,
|
|
23
|
+
} from "./domainendpointstatus.js";
|
|
13
24
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
14
25
|
|
|
15
|
-
export const DeploymentPortalDomainStatus = {
|
|
16
|
-
WaitingForDomain: "waiting-for-domain",
|
|
17
|
-
PendingVercel: "pending-vercel",
|
|
18
|
-
PendingDns: "pending-dns",
|
|
19
|
-
Active: "active",
|
|
20
|
-
Failed: "failed",
|
|
21
|
-
Deleting: "deleting",
|
|
22
|
-
} as const;
|
|
23
|
-
export type DeploymentPortalDomainStatus = ClosedEnum<
|
|
24
|
-
typeof DeploymentPortalDomainStatus
|
|
25
|
-
>;
|
|
26
|
-
|
|
27
26
|
/**
|
|
28
27
|
* Canonical error container that provides a structured way to represent errors
|
|
29
28
|
*
|
|
@@ -35,7 +34,7 @@ export type DeploymentPortalDomainStatus = ClosedEnum<
|
|
|
35
34
|
* supporting serialization for API responses and detailed error reporting
|
|
36
35
|
* in distributed systems.
|
|
37
36
|
*/
|
|
38
|
-
export type
|
|
37
|
+
export type DomainEndpointError = {
|
|
39
38
|
/**
|
|
40
39
|
* A unique identifier for the type of error.
|
|
41
40
|
*
|
|
@@ -110,28 +109,25 @@ export type DeploymentPortalDomainError = {
|
|
|
110
109
|
source?: any | null | undefined;
|
|
111
110
|
};
|
|
112
111
|
|
|
113
|
-
export type
|
|
112
|
+
export type DomainEndpoint = {
|
|
114
113
|
/**
|
|
115
|
-
* Unique identifier for the
|
|
114
|
+
* Unique identifier for the domain endpoint.
|
|
116
115
|
*/
|
|
117
116
|
id: string;
|
|
118
117
|
/**
|
|
119
118
|
* Unique identifier for the workspace.
|
|
120
119
|
*/
|
|
121
120
|
workspaceId: string;
|
|
122
|
-
/**
|
|
123
|
-
* Unique identifier for the project.
|
|
124
|
-
*/
|
|
125
|
-
projectId: string;
|
|
126
121
|
/**
|
|
127
122
|
* Unique identifier for the domain.
|
|
128
123
|
*/
|
|
129
124
|
domainId: string;
|
|
125
|
+
kind: DomainEndpointKind;
|
|
126
|
+
owner: DomainEndpointOwner;
|
|
130
127
|
hostname: string;
|
|
131
|
-
status:
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
vercelDomainConfig?: { [k: string]: any | null } | null | undefined;
|
|
128
|
+
status: DomainEndpointStatus;
|
|
129
|
+
provider?: string | null | undefined;
|
|
130
|
+
providerState?: { [k: string]: any | null } | null | undefined;
|
|
135
131
|
managedDnsRecords: Array<DeploymentPortalManagedDnsRecord>;
|
|
136
132
|
/**
|
|
137
133
|
* Canonical error container that provides a structured way to represent errors
|
|
@@ -144,7 +140,7 @@ export type DeploymentPortalDomain = {
|
|
|
144
140
|
* supporting serialization for API responses and detailed error reporting
|
|
145
141
|
* in distributed systems.
|
|
146
142
|
*/
|
|
147
|
-
error?:
|
|
143
|
+
error?: DomainEndpointError | null | undefined;
|
|
148
144
|
lockedAt?: Date | null | undefined;
|
|
149
145
|
lockedBy?: string | null | undefined;
|
|
150
146
|
retryAttempts: number;
|
|
@@ -154,13 +150,8 @@ export type DeploymentPortalDomain = {
|
|
|
154
150
|
};
|
|
155
151
|
|
|
156
152
|
/** @internal */
|
|
157
|
-
export const
|
|
158
|
-
|
|
159
|
-
> = z.enum(DeploymentPortalDomainStatus);
|
|
160
|
-
|
|
161
|
-
/** @internal */
|
|
162
|
-
export const DeploymentPortalDomainError$inboundSchema: z.ZodType<
|
|
163
|
-
DeploymentPortalDomainError,
|
|
153
|
+
export const DomainEndpointError$inboundSchema: z.ZodType<
|
|
154
|
+
DomainEndpointError,
|
|
164
155
|
unknown
|
|
165
156
|
> = z.object({
|
|
166
157
|
code: z.string(),
|
|
@@ -173,54 +164,50 @@ export const DeploymentPortalDomainError$inboundSchema: z.ZodType<
|
|
|
173
164
|
source: z.nullable(z.any()).optional(),
|
|
174
165
|
});
|
|
175
166
|
|
|
176
|
-
export function
|
|
167
|
+
export function domainEndpointErrorFromJSON(
|
|
177
168
|
jsonString: string,
|
|
178
|
-
): SafeParseResult<
|
|
169
|
+
): SafeParseResult<DomainEndpointError, SDKValidationError> {
|
|
179
170
|
return safeParse(
|
|
180
171
|
jsonString,
|
|
181
|
-
(x) =>
|
|
182
|
-
`Failed to parse '
|
|
172
|
+
(x) => DomainEndpointError$inboundSchema.parse(JSON.parse(x)),
|
|
173
|
+
`Failed to parse 'DomainEndpointError' from JSON`,
|
|
183
174
|
);
|
|
184
175
|
}
|
|
185
176
|
|
|
186
177
|
/** @internal */
|
|
187
|
-
export const
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
.
|
|
201
|
-
|
|
202
|
-
.
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
.optional(),
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
).optional(),
|
|
214
|
-
createdAt: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
215
|
-
updatedAt: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
216
|
-
});
|
|
178
|
+
export const DomainEndpoint$inboundSchema: z.ZodType<DomainEndpoint, unknown> =
|
|
179
|
+
z.object({
|
|
180
|
+
id: z.string(),
|
|
181
|
+
workspaceId: z.string(),
|
|
182
|
+
domainId: z.string(),
|
|
183
|
+
kind: DomainEndpointKind$inboundSchema,
|
|
184
|
+
owner: DomainEndpointOwner$inboundSchema,
|
|
185
|
+
hostname: z.string(),
|
|
186
|
+
status: DomainEndpointStatus$inboundSchema,
|
|
187
|
+
provider: z.nullable(z.string()).optional(),
|
|
188
|
+
providerState: z.nullable(z.record(z.string(), z.nullable(z.any())))
|
|
189
|
+
.optional(),
|
|
190
|
+
managedDnsRecords: z.array(DeploymentPortalManagedDnsRecord$inboundSchema),
|
|
191
|
+
error: z.nullable(z.lazy(() => DomainEndpointError$inboundSchema))
|
|
192
|
+
.optional(),
|
|
193
|
+
lockedAt: z.nullable(
|
|
194
|
+
z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
195
|
+
).optional(),
|
|
196
|
+
lockedBy: z.nullable(z.string()).optional(),
|
|
197
|
+
retryAttempts: z.int(),
|
|
198
|
+
nextStepAfter: z.nullable(
|
|
199
|
+
z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
200
|
+
).optional(),
|
|
201
|
+
createdAt: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
202
|
+
updatedAt: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
203
|
+
});
|
|
217
204
|
|
|
218
|
-
export function
|
|
205
|
+
export function domainEndpointFromJSON(
|
|
219
206
|
jsonString: string,
|
|
220
|
-
): SafeParseResult<
|
|
207
|
+
): SafeParseResult<DomainEndpoint, SDKValidationError> {
|
|
221
208
|
return safeParse(
|
|
222
209
|
jsonString,
|
|
223
|
-
(x) =>
|
|
224
|
-
`Failed to parse '
|
|
210
|
+
(x) => DomainEndpoint$inboundSchema.parse(JSON.parse(x)),
|
|
211
|
+
`Failed to parse 'DomainEndpoint' from JSON`,
|
|
225
212
|
);
|
|
226
213
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const DomainEndpointKind = {
|
|
9
|
+
DeploymentPortal: "deployment_portal",
|
|
10
|
+
WorkspacePackages: "workspace_packages",
|
|
11
|
+
ManagerApi: "manager_api",
|
|
12
|
+
DeploymentUrlBase: "deployment_url_base",
|
|
13
|
+
} as const;
|
|
14
|
+
export type DomainEndpointKind = ClosedEnum<typeof DomainEndpointKind>;
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const DomainEndpointKind$inboundSchema: z.ZodEnum<
|
|
18
|
+
typeof DomainEndpointKind
|
|
19
|
+
> = z.enum(DomainEndpointKind);
|
|
@@ -0,0 +1,36 @@
|
|
|
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 { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import {
|
|
9
|
+
DomainEndpointOwnerType,
|
|
10
|
+
DomainEndpointOwnerType$inboundSchema,
|
|
11
|
+
} from "./domainendpointownertype.js";
|
|
12
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
13
|
+
|
|
14
|
+
export type DomainEndpointOwner = {
|
|
15
|
+
type: DomainEndpointOwnerType;
|
|
16
|
+
id: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const DomainEndpointOwner$inboundSchema: z.ZodType<
|
|
21
|
+
DomainEndpointOwner,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
type: DomainEndpointOwnerType$inboundSchema,
|
|
25
|
+
id: z.string(),
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
export function domainEndpointOwnerFromJSON(
|
|
29
|
+
jsonString: string,
|
|
30
|
+
): SafeParseResult<DomainEndpointOwner, SDKValidationError> {
|
|
31
|
+
return safeParse(
|
|
32
|
+
jsonString,
|
|
33
|
+
(x) => DomainEndpointOwner$inboundSchema.parse(JSON.parse(x)),
|
|
34
|
+
`Failed to parse 'DomainEndpointOwner' from JSON`,
|
|
35
|
+
);
|
|
36
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const DomainEndpointOwnerType = {
|
|
9
|
+
Workspace: "workspace",
|
|
10
|
+
Project: "project",
|
|
11
|
+
Manager: "manager",
|
|
12
|
+
} as const;
|
|
13
|
+
export type DomainEndpointOwnerType = ClosedEnum<
|
|
14
|
+
typeof DomainEndpointOwnerType
|
|
15
|
+
>;
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const DomainEndpointOwnerType$inboundSchema: z.ZodEnum<
|
|
19
|
+
typeof DomainEndpointOwnerType
|
|
20
|
+
> = z.enum(DomainEndpointOwnerType);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const DomainEndpointStatus = {
|
|
9
|
+
WaitingForDomain: "waiting_for_domain",
|
|
10
|
+
Provisioning: "provisioning",
|
|
11
|
+
WaitingForDns: "waiting_for_dns",
|
|
12
|
+
WaitingForHealth: "waiting_for_health",
|
|
13
|
+
Active: "active",
|
|
14
|
+
Failed: "failed",
|
|
15
|
+
Deleting: "deleting",
|
|
16
|
+
} as const;
|
|
17
|
+
export type DomainEndpointStatus = ClosedEnum<typeof DomainEndpointStatus>;
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const DomainEndpointStatus$inboundSchema: z.ZodEnum<
|
|
21
|
+
typeof DomainEndpointStatus
|
|
22
|
+
> = z.enum(DomainEndpointStatus);
|
|
@@ -6,6 +6,10 @@ import * as z from "zod/v4";
|
|
|
6
6
|
import { safeParse } from "../lib/schemas.js";
|
|
7
7
|
import { ClosedEnum } from "../types/enums.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
9
|
+
import {
|
|
10
|
+
DomainEndpoint,
|
|
11
|
+
DomainEndpoint$inboundSchema,
|
|
12
|
+
} from "./domainendpoint.js";
|
|
9
13
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
10
14
|
|
|
11
15
|
export const DomainWithUsageStatus = {
|
|
@@ -25,14 +29,28 @@ export type DeploymentUrlProject = {
|
|
|
25
29
|
|
|
26
30
|
export type PortalBinding = {
|
|
27
31
|
id: string;
|
|
28
|
-
projectId: string;
|
|
29
|
-
projectName: string;
|
|
32
|
+
projectId: string | null;
|
|
33
|
+
projectName: string | null;
|
|
34
|
+
hostname: string;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export type PackageDomain = {
|
|
38
|
+
id: string;
|
|
39
|
+
hostname: string;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export type ManagerBinding = {
|
|
43
|
+
id: string;
|
|
44
|
+
managerId: string;
|
|
45
|
+
managerName: string;
|
|
30
46
|
hostname: string;
|
|
31
47
|
};
|
|
32
48
|
|
|
33
49
|
export type DomainWithUsageUsage = {
|
|
34
50
|
deploymentUrlProjects: Array<DeploymentUrlProject>;
|
|
35
51
|
portalBindings: Array<PortalBinding>;
|
|
52
|
+
packageDomains: Array<PackageDomain>;
|
|
53
|
+
managerBindings: Array<ManagerBinding>;
|
|
36
54
|
};
|
|
37
55
|
|
|
38
56
|
export type DomainWithUsage = {
|
|
@@ -54,6 +72,7 @@ export type DomainWithUsage = {
|
|
|
54
72
|
createdAt: Date;
|
|
55
73
|
updatedAt: Date;
|
|
56
74
|
verifiedAt?: Date | null | undefined;
|
|
75
|
+
endpoints: Array<DomainEndpoint | null>;
|
|
57
76
|
usage: DomainWithUsageUsage;
|
|
58
77
|
};
|
|
59
78
|
|
|
@@ -85,8 +104,8 @@ export function deploymentUrlProjectFromJSON(
|
|
|
85
104
|
export const PortalBinding$inboundSchema: z.ZodType<PortalBinding, unknown> = z
|
|
86
105
|
.object({
|
|
87
106
|
id: z.string(),
|
|
88
|
-
projectId: z.string(),
|
|
89
|
-
projectName: z.string(),
|
|
107
|
+
projectId: z.nullable(z.string()),
|
|
108
|
+
projectName: z.nullable(z.string()),
|
|
90
109
|
hostname: z.string(),
|
|
91
110
|
});
|
|
92
111
|
|
|
@@ -100,6 +119,42 @@ export function portalBindingFromJSON(
|
|
|
100
119
|
);
|
|
101
120
|
}
|
|
102
121
|
|
|
122
|
+
/** @internal */
|
|
123
|
+
export const PackageDomain$inboundSchema: z.ZodType<PackageDomain, unknown> = z
|
|
124
|
+
.object({
|
|
125
|
+
id: z.string(),
|
|
126
|
+
hostname: z.string(),
|
|
127
|
+
});
|
|
128
|
+
|
|
129
|
+
export function packageDomainFromJSON(
|
|
130
|
+
jsonString: string,
|
|
131
|
+
): SafeParseResult<PackageDomain, SDKValidationError> {
|
|
132
|
+
return safeParse(
|
|
133
|
+
jsonString,
|
|
134
|
+
(x) => PackageDomain$inboundSchema.parse(JSON.parse(x)),
|
|
135
|
+
`Failed to parse 'PackageDomain' from JSON`,
|
|
136
|
+
);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/** @internal */
|
|
140
|
+
export const ManagerBinding$inboundSchema: z.ZodType<ManagerBinding, unknown> =
|
|
141
|
+
z.object({
|
|
142
|
+
id: z.string(),
|
|
143
|
+
managerId: z.string(),
|
|
144
|
+
managerName: z.string(),
|
|
145
|
+
hostname: z.string(),
|
|
146
|
+
});
|
|
147
|
+
|
|
148
|
+
export function managerBindingFromJSON(
|
|
149
|
+
jsonString: string,
|
|
150
|
+
): SafeParseResult<ManagerBinding, SDKValidationError> {
|
|
151
|
+
return safeParse(
|
|
152
|
+
jsonString,
|
|
153
|
+
(x) => ManagerBinding$inboundSchema.parse(JSON.parse(x)),
|
|
154
|
+
`Failed to parse 'ManagerBinding' from JSON`,
|
|
155
|
+
);
|
|
156
|
+
}
|
|
157
|
+
|
|
103
158
|
/** @internal */
|
|
104
159
|
export const DomainWithUsageUsage$inboundSchema: z.ZodType<
|
|
105
160
|
DomainWithUsageUsage,
|
|
@@ -109,6 +164,8 @@ export const DomainWithUsageUsage$inboundSchema: z.ZodType<
|
|
|
109
164
|
z.lazy(() => DeploymentUrlProject$inboundSchema),
|
|
110
165
|
),
|
|
111
166
|
portalBindings: z.array(z.lazy(() => PortalBinding$inboundSchema)),
|
|
167
|
+
packageDomains: z.array(z.lazy(() => PackageDomain$inboundSchema)),
|
|
168
|
+
managerBindings: z.array(z.lazy(() => ManagerBinding$inboundSchema)),
|
|
112
169
|
});
|
|
113
170
|
|
|
114
171
|
export function domainWithUsageUsageFromJSON(
|
|
@@ -140,6 +197,7 @@ export const DomainWithUsage$inboundSchema: z.ZodType<
|
|
|
140
197
|
verifiedAt: z.nullable(
|
|
141
198
|
z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
142
199
|
).optional(),
|
|
200
|
+
endpoints: z.array(z.nullable(DomainEndpoint$inboundSchema)),
|
|
143
201
|
usage: z.lazy(() => DomainWithUsageUsage$inboundSchema),
|
|
144
202
|
});
|
|
145
203
|
|
package/src/models/event.ts
CHANGED
|
@@ -390,11 +390,13 @@ export type DataError1 = {
|
|
|
390
390
|
*
|
|
391
391
|
* @remarks
|
|
392
392
|
*
|
|
393
|
-
* Derived from the source deployment status: `
|
|
394
|
-
* `
|
|
393
|
+
* Derived from the source deployment status: `preflights-failed` →
|
|
394
|
+
* `Preflights`, `provisioning-failed` → `Provisioning`, `update-failed` →
|
|
395
|
+
* `Updating`, `delete-failed` → `Deleting`.
|
|
395
396
|
* `refresh-failed` is modelled separately via `DeploymentDegraded`.
|
|
396
397
|
*/
|
|
397
398
|
export const Phase = {
|
|
399
|
+
Preflights: "preflights",
|
|
398
400
|
Provisioning: "provisioning",
|
|
399
401
|
Updating: "updating",
|
|
400
402
|
Deleting: "deleting",
|
|
@@ -404,8 +406,9 @@ export const Phase = {
|
|
|
404
406
|
*
|
|
405
407
|
* @remarks
|
|
406
408
|
*
|
|
407
|
-
* Derived from the source deployment status: `
|
|
408
|
-
* `
|
|
409
|
+
* Derived from the source deployment status: `preflights-failed` →
|
|
410
|
+
* `Preflights`, `provisioning-failed` → `Provisioning`, `update-failed` →
|
|
411
|
+
* `Updating`, `delete-failed` → `Deleting`.
|
|
409
412
|
* `refresh-failed` is modelled separately via `DeploymentDegraded`.
|
|
410
413
|
*/
|
|
411
414
|
export type Phase = ClosedEnum<typeof Phase>;
|
|
@@ -436,8 +439,9 @@ export type DataDeploymentFailed = {
|
|
|
436
439
|
*
|
|
437
440
|
* @remarks
|
|
438
441
|
*
|
|
439
|
-
* Derived from the source deployment status: `
|
|
440
|
-
* `
|
|
442
|
+
* Derived from the source deployment status: `preflights-failed` →
|
|
443
|
+
* `Preflights`, `provisioning-failed` → `Provisioning`, `update-failed` →
|
|
444
|
+
* `Updating`, `delete-failed` → `Deleting`.
|
|
441
445
|
* `refresh-failed` is modelled separately via `DeploymentDegraded`.
|
|
442
446
|
*/
|
|
443
447
|
phase: Phase;
|
|
@@ -857,6 +861,7 @@ export const EventStatus = {
|
|
|
857
861
|
UpdateFailed: "update-failed",
|
|
858
862
|
Deleting: "deleting",
|
|
859
863
|
DeleteFailed: "delete-failed",
|
|
864
|
+
TeardownRequired: "teardown-required",
|
|
860
865
|
Deleted: "deleted",
|
|
861
866
|
RefreshFailed: "refresh-failed",
|
|
862
867
|
} as const;
|