@alienplatform/platform-api 1.5.1 → 1.7.1
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 +12 -8
- 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/{billingGetPlan.d.ts → deploymentsGetSetupRegistrationOperation.d.ts} +5 -3
- 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/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/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 +53 -64
- package/esm/models/deployment.d.ts.map +1 -1
- package/esm/models/deployment.js +32 -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 +53 -64
- package/esm/models/deploymentdetailresponse.d.ts.map +1 -1
- package/esm/models/deploymentdetailresponse.js +34 -47
- package/esm/models/deploymentdetailresponse.js.map +1 -1
- package/esm/models/deploymentinfo.d.ts +4 -0
- package/esm/models/deploymentinfo.d.ts.map +1 -1
- package/esm/models/deploymentinfo.js +1 -0
- 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 -4
- package/esm/models/deploymentportaldomainresponse.d.ts.map +1 -1
- package/esm/models/deploymentportaldomainresponse.js +3 -4
- 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/{managerdomainbinding.d.ts → domainendpoint.d.ts} +19 -12
- package/esm/models/domainendpoint.d.ts.map +1 -0
- package/esm/models/{managerdomainbinding.js → domainendpoint.js} +17 -11
- 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 +8 -6
- package/esm/models/domainwithusage.d.ts.map +1 -1
- package/esm/models/domainwithusage.js +9 -6
- 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 +8 -18
- package/esm/models/importsource.d.ts.map +1 -1
- package/esm/models/importsource.js +3 -14
- 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 +18 -5
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +18 -5
- 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 +2 -2
- package/esm/models/managerdomainbindingresponse.d.ts.map +1 -1
- package/esm/models/managerdomainbindingresponse.js +2 -2
- package/esm/models/managerdomainbindingresponse.js.map +1 -1
- package/esm/models/newdeploymentrequest.d.ts +9 -0
- package/esm/models/newdeploymentrequest.d.ts.map +1 -1
- package/esm/models/newdeploymentrequest.js +3 -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/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/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 +4 -2
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +4 -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/package.d.ts +4 -0
- 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 +11 -88
- package/esm/models/persistimporteddeploymentrequest.d.ts.map +1 -1
- package/esm/models/persistimporteddeploymentrequest.js +6 -73
- package/esm/models/persistimporteddeploymentrequest.js.map +1 -1
- 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 +197 -90
- package/esm/models/syncacquireresponse.d.ts.map +1 -1
- package/esm/models/syncacquireresponse.js +76 -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 +53 -64
- package/esm/models/synclistresponse.d.ts.map +1 -1
- package/esm/models/synclistresponse.js +33 -44
- package/esm/models/synclistresponse.js.map +1 -1
- package/esm/models/syncreconcilerequest.d.ts +118 -173
- package/esm/models/syncreconcilerequest.d.ts.map +1 -1
- package/esm/models/syncreconcilerequest.js +30 -72
- package/esm/models/syncreconcilerequest.js.map +1 -1
- package/esm/models/syncreconcileresponse.d.ts +197 -90
- package/esm/models/syncreconcileresponse.d.ts.map +1 -1
- package/esm/models/syncreconcileresponse.js +76 -55
- package/esm/models/syncreconcileresponse.js.map +1 -1
- package/esm/models/updateproject.d.ts +0 -5
- 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/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/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/createsetupregistrationoperationrequest.ts +4032 -0
- package/src/models/deletedeploymentrequest.ts +45 -0
- package/src/models/deletedeploymentresponse.ts +47 -0
- package/src/models/deployment.ts +64 -116
- package/src/models/deploymentconnectioninfo.ts +3 -0
- package/src/models/deploymentdetailresponse.ts +70 -138
- package/src/models/deploymentinfo.ts +5 -0
- package/src/models/deploymentlistitemresponse.ts +38 -0
- package/src/models/deploymentportaldomainresponse.ts +7 -8
- package/src/models/deploymentrole.ts +1 -0
- package/src/models/{packagedomain.ts → domainendpoint.ts} +40 -35
- 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 +22 -20
- package/src/models/event.ts +11 -6
- package/src/models/importsource.ts +9 -25
- package/src/models/importsourcekind.ts +5 -1
- package/src/models/index.ts +18 -5
- package/src/models/kubernetesbaseplatform.ts +24 -0
- package/src/models/managerdeployment.ts +3 -0
- package/src/models/managerdomainbindingresponse.ts +6 -6
- package/src/models/newdeploymentrequest.ts +10 -0
- package/src/models/operations/createdomain.ts +33 -0
- package/src/models/operations/createdomainendpoint.ts +131 -0
- 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/getsetupregistrationoperation.ts +41 -0
- package/src/models/operations/getworkspacebillingentitlements.ts +36 -0
- package/src/models/operations/index.ts +4 -2
- package/src/models/operations/listdeployments.ts +3 -0
- package/src/models/package.ts +5 -0
- package/src/models/persistimporteddeploymentrequest.ts +12 -177
- 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 +288 -151
- package/src/models/synclistrequest.ts +3 -0
- package/src/models/synclistresponse.ts +69 -124
- package/src/models/syncreconcilerequest.ts +164 -265
- package/src/models/syncreconcileresponse.ts +289 -155
- package/src/models/updateproject.ts +0 -6
- 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/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 -1650
- package/esm/models/cloudformationcallbackrequest.d.ts.map +0 -1
- package/esm/models/cloudformationcallbackrequest.js +0 -1002
- package/esm/models/cloudformationcallbackrequest.js.map +0 -1
- package/esm/models/deploymentportaldomain.d.ts +0 -156
- 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/managerdomainbinding.d.ts.map +0 -1
- package/esm/models/managerdomainbinding.js.map +0 -1
- package/esm/models/managerdomainbindingstatus.d.ts +0 -15
- package/esm/models/managerdomainbindingstatus.d.ts.map +0 -1
- package/esm/models/managerdomainbindingstatus.js +0 -16
- package/esm/models/managerdomainbindingstatus.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/esm/models/packagedomain.d.ts +0 -143
- package/esm/models/packagedomain.d.ts.map +0 -1
- package/esm/models/packagedomain.js +0 -52
- package/esm/models/packagedomain.js.map +0 -1
- package/src/models/cloudformationcallbackrequest.ts +0 -3915
- package/src/models/deploymentportaldomain.ts +0 -226
- package/src/models/managerdomainbinding.ts +0 -200
- package/src/models/managerdomainbindingstatus.ts +0 -24
- package/src/models/operations/acceptcloudformationcallback.ts +0 -82
- package/src/models/operations/getworkspaceplan.ts +0 -62
|
@@ -1403,6 +1403,94 @@ export type SyncAcquireResponseEnvironmentInfoUnion =
|
|
|
1403
1403
|
| SyncAcquireResponseEnvironmentInfoTest
|
|
1404
1404
|
| any;
|
|
1405
1405
|
|
|
1406
|
+
/**
|
|
1407
|
+
* Canonical error container that provides a structured way to represent errors
|
|
1408
|
+
*
|
|
1409
|
+
* @remarks
|
|
1410
|
+
* with rich metadata including error codes, human-readable messages, context,
|
|
1411
|
+
* and chaining capabilities for error propagation.
|
|
1412
|
+
*
|
|
1413
|
+
* This struct is designed to be both machine-readable and user-friendly,
|
|
1414
|
+
* supporting serialization for API responses and detailed error reporting
|
|
1415
|
+
* in distributed systems.
|
|
1416
|
+
*/
|
|
1417
|
+
export type SyncAcquireResponseError = {
|
|
1418
|
+
/**
|
|
1419
|
+
* A unique identifier for the type of error.
|
|
1420
|
+
*
|
|
1421
|
+
* @remarks
|
|
1422
|
+
*
|
|
1423
|
+
* This should be a short, machine-readable string that can be used
|
|
1424
|
+
* by clients to programmatically handle different error types.
|
|
1425
|
+
* Examples: "NOT_FOUND", "VALIDATION_ERROR", "TIMEOUT"
|
|
1426
|
+
*/
|
|
1427
|
+
code: string;
|
|
1428
|
+
/**
|
|
1429
|
+
* Additional diagnostic information about the error context.
|
|
1430
|
+
*
|
|
1431
|
+
* @remarks
|
|
1432
|
+
*
|
|
1433
|
+
* This optional field can contain structured data providing more details
|
|
1434
|
+
* about the error, such as validation errors, request parameters that
|
|
1435
|
+
* caused the issue, or other relevant context information.
|
|
1436
|
+
*/
|
|
1437
|
+
context?: any | null | undefined;
|
|
1438
|
+
/**
|
|
1439
|
+
* Optional human-facing remediation hint.
|
|
1440
|
+
*/
|
|
1441
|
+
hint?: string | null | undefined;
|
|
1442
|
+
/**
|
|
1443
|
+
* HTTP status code for this error.
|
|
1444
|
+
*
|
|
1445
|
+
* @remarks
|
|
1446
|
+
*
|
|
1447
|
+
* Used when converting the error to an HTTP response. If None, falls back to
|
|
1448
|
+
* the error type's default status code or 500.
|
|
1449
|
+
*/
|
|
1450
|
+
httpStatusCode?: number | null | undefined;
|
|
1451
|
+
/**
|
|
1452
|
+
* Indicates if this is an internal error that should not be exposed to users.
|
|
1453
|
+
*
|
|
1454
|
+
* @remarks
|
|
1455
|
+
*
|
|
1456
|
+
* When `true`, this error contains sensitive information or implementation
|
|
1457
|
+
* details that should not be shown to end-users. Such errors should be
|
|
1458
|
+
* logged for debugging but replaced with generic error messages in responses.
|
|
1459
|
+
*/
|
|
1460
|
+
internal: boolean;
|
|
1461
|
+
/**
|
|
1462
|
+
* Human-readable error message.
|
|
1463
|
+
*
|
|
1464
|
+
* @remarks
|
|
1465
|
+
*
|
|
1466
|
+
* This message should be clear and actionable for developers or end-users,
|
|
1467
|
+
* providing context about what went wrong and potentially how to fix it.
|
|
1468
|
+
*/
|
|
1469
|
+
message: string;
|
|
1470
|
+
/**
|
|
1471
|
+
* Indicates whether the operation that caused the error should be retried.
|
|
1472
|
+
*
|
|
1473
|
+
* @remarks
|
|
1474
|
+
*
|
|
1475
|
+
* When `true`, the error is transient and the operation might succeed
|
|
1476
|
+
* if attempted again. When `false`, retrying the same operation is
|
|
1477
|
+
* unlikely to succeed without changes.
|
|
1478
|
+
*/
|
|
1479
|
+
retryable: boolean;
|
|
1480
|
+
/**
|
|
1481
|
+
* The underlying error that caused this error, creating an error chain.
|
|
1482
|
+
*
|
|
1483
|
+
* @remarks
|
|
1484
|
+
*
|
|
1485
|
+
* This allows for proper error propagation and debugging by maintaining
|
|
1486
|
+
* the full context of how an error occurred through multiple layers
|
|
1487
|
+
* of an application.
|
|
1488
|
+
*/
|
|
1489
|
+
source?: any | null | undefined;
|
|
1490
|
+
};
|
|
1491
|
+
|
|
1492
|
+
export type SyncAcquireResponseErrorUnion = SyncAcquireResponseError | any;
|
|
1493
|
+
|
|
1406
1494
|
/**
|
|
1407
1495
|
* Represents the target cloud platform.
|
|
1408
1496
|
*/
|
|
@@ -1421,70 +1509,6 @@ export type SyncAcquireResponseCurrentPlatform = ClosedEnum<
|
|
|
1421
1509
|
typeof SyncAcquireResponseCurrentPlatform
|
|
1422
1510
|
>;
|
|
1423
1511
|
|
|
1424
|
-
/**
|
|
1425
|
-
* Scope for a delete operation.
|
|
1426
|
-
*
|
|
1427
|
-
* @remarks
|
|
1428
|
-
*
|
|
1429
|
-
* Full deletes are setup/admin owned and may remove both Frozen and Live
|
|
1430
|
-
* resources. Live-only deletes are used by setup handoff resources
|
|
1431
|
-
* (Terraform/CloudFormation) so Alien removes only the resources it owns
|
|
1432
|
-
* before setup tears down Frozen resources.
|
|
1433
|
-
*/
|
|
1434
|
-
export const SyncAcquireResponseDeleteScopeEnum = {
|
|
1435
|
-
Full: "full",
|
|
1436
|
-
LiveOnly: "liveOnly",
|
|
1437
|
-
} as const;
|
|
1438
|
-
/**
|
|
1439
|
-
* Scope for a delete operation.
|
|
1440
|
-
*
|
|
1441
|
-
* @remarks
|
|
1442
|
-
*
|
|
1443
|
-
* Full deletes are setup/admin owned and may remove both Frozen and Live
|
|
1444
|
-
* resources. Live-only deletes are used by setup handoff resources
|
|
1445
|
-
* (Terraform/CloudFormation) so Alien removes only the resources it owns
|
|
1446
|
-
* before setup tears down Frozen resources.
|
|
1447
|
-
*/
|
|
1448
|
-
export type SyncAcquireResponseDeleteScopeEnum = ClosedEnum<
|
|
1449
|
-
typeof SyncAcquireResponseDeleteScopeEnum
|
|
1450
|
-
>;
|
|
1451
|
-
|
|
1452
|
-
export type SyncAcquireResponseDeleteScopeUnion =
|
|
1453
|
-
| SyncAcquireResponseDeleteScopeEnum
|
|
1454
|
-
| any;
|
|
1455
|
-
|
|
1456
|
-
/**
|
|
1457
|
-
* Scope for a delete operation.
|
|
1458
|
-
*
|
|
1459
|
-
* @remarks
|
|
1460
|
-
*
|
|
1461
|
-
* Full deletes are setup/admin owned and may remove both Frozen and Live
|
|
1462
|
-
* resources. Live-only deletes are used by setup handoff resources
|
|
1463
|
-
* (Terraform/CloudFormation) so Alien removes only the resources it owns
|
|
1464
|
-
* before setup tears down Frozen resources.
|
|
1465
|
-
*/
|
|
1466
|
-
export const SyncAcquireResponsePendingDeleteScopeEnum = {
|
|
1467
|
-
Full: "full",
|
|
1468
|
-
LiveOnly: "liveOnly",
|
|
1469
|
-
} as const;
|
|
1470
|
-
/**
|
|
1471
|
-
* Scope for a delete operation.
|
|
1472
|
-
*
|
|
1473
|
-
* @remarks
|
|
1474
|
-
*
|
|
1475
|
-
* Full deletes are setup/admin owned and may remove both Frozen and Live
|
|
1476
|
-
* resources. Live-only deletes are used by setup handoff resources
|
|
1477
|
-
* (Terraform/CloudFormation) so Alien removes only the resources it owns
|
|
1478
|
-
* before setup tears down Frozen resources.
|
|
1479
|
-
*/
|
|
1480
|
-
export type SyncAcquireResponsePendingDeleteScopeEnum = ClosedEnum<
|
|
1481
|
-
typeof SyncAcquireResponsePendingDeleteScopeEnum
|
|
1482
|
-
>;
|
|
1483
|
-
|
|
1484
|
-
export type SyncAcquireResponsePendingDeleteScopeUnion =
|
|
1485
|
-
| SyncAcquireResponsePendingDeleteScopeEnum
|
|
1486
|
-
| any;
|
|
1487
|
-
|
|
1488
1512
|
export const SyncAcquireResponsePreparedStackManagementEnum = {
|
|
1489
1513
|
Auto: "auto",
|
|
1490
1514
|
} as const;
|
|
@@ -2726,7 +2750,6 @@ export type SyncAcquireResponsePreparedStackUnion =
|
|
|
2726
2750
|
* Stores deployment state that needs to persist across step calls.
|
|
2727
2751
|
*/
|
|
2728
2752
|
export type SyncAcquireResponseRuntimeMetadata = {
|
|
2729
|
-
deleteScope?: SyncAcquireResponseDeleteScopeEnum | any | null | undefined;
|
|
2730
2753
|
/**
|
|
2731
2754
|
* Hash of the environment variables snapshot that was last synced to the vault
|
|
2732
2755
|
*
|
|
@@ -2734,11 +2757,6 @@ export type SyncAcquireResponseRuntimeMetadata = {
|
|
|
2734
2757
|
* Used to avoid redundant sync operations during incremental deployment
|
|
2735
2758
|
*/
|
|
2736
2759
|
lastSyncedEnvVarsHash?: string | null | undefined;
|
|
2737
|
-
pendingDeleteScope?:
|
|
2738
|
-
| SyncAcquireResponsePendingDeleteScopeEnum
|
|
2739
|
-
| any
|
|
2740
|
-
| null
|
|
2741
|
-
| undefined;
|
|
2742
2760
|
preparedStack?: SyncAcquireResponsePreparedStack | any | null | undefined;
|
|
2743
2761
|
/**
|
|
2744
2762
|
* Whether cross-account registry access has been successfully granted.
|
|
@@ -2835,7 +2853,7 @@ export type SyncAcquireResponseStackStateDependency = {
|
|
|
2835
2853
|
* supporting serialization for API responses and detailed error reporting
|
|
2836
2854
|
* in distributed systems.
|
|
2837
2855
|
*/
|
|
2838
|
-
export type
|
|
2856
|
+
export type SyncAcquireResponseStackStateError = {
|
|
2839
2857
|
/**
|
|
2840
2858
|
* A unique identifier for the type of error.
|
|
2841
2859
|
*
|
|
@@ -2910,7 +2928,9 @@ export type SyncAcquireResponseError = {
|
|
|
2910
2928
|
source?: any | null | undefined;
|
|
2911
2929
|
};
|
|
2912
2930
|
|
|
2913
|
-
export type
|
|
2931
|
+
export type SyncAcquireResponseStackStateErrorUnion =
|
|
2932
|
+
| SyncAcquireResponseStackStateError
|
|
2933
|
+
| any;
|
|
2914
2934
|
|
|
2915
2935
|
/**
|
|
2916
2936
|
* Describes the lifecycle of a resource within a stack, determining how it's managed and deployed.
|
|
@@ -2974,6 +2994,7 @@ export const SyncAcquireResponseStackStateStatus = {
|
|
|
2974
2994
|
UpdateFailed: "update-failed",
|
|
2975
2995
|
Deleting: "deleting",
|
|
2976
2996
|
DeleteFailed: "delete-failed",
|
|
2997
|
+
TeardownRequired: "teardown-required",
|
|
2977
2998
|
Deleted: "deleted",
|
|
2978
2999
|
RefreshFailed: "refresh-failed",
|
|
2979
3000
|
} as const;
|
|
@@ -3012,7 +3033,7 @@ export type SyncAcquireResponseStackStateResources = {
|
|
|
3012
3033
|
* This preserves the full dependency information from the stack definition.
|
|
3013
3034
|
*/
|
|
3014
3035
|
dependencies?: Array<SyncAcquireResponseStackStateDependency> | undefined;
|
|
3015
|
-
error?:
|
|
3036
|
+
error?: SyncAcquireResponseStackStateError | any | null | undefined;
|
|
3016
3037
|
/**
|
|
3017
3038
|
* Stores the controller state that failed, used for manual retry operations.
|
|
3018
3039
|
*
|
|
@@ -3078,6 +3099,7 @@ export type SyncAcquireResponseStackStateUnion =
|
|
|
3078
3099
|
*/
|
|
3079
3100
|
export const SyncAcquireResponseStatus = {
|
|
3080
3101
|
Pending: "pending",
|
|
3102
|
+
PreflightsFailed: "preflights-failed",
|
|
3081
3103
|
InitialSetup: "initial-setup",
|
|
3082
3104
|
InitialSetupFailed: "initial-setup-failed",
|
|
3083
3105
|
Provisioning: "provisioning",
|
|
@@ -3090,6 +3112,8 @@ export const SyncAcquireResponseStatus = {
|
|
|
3090
3112
|
DeletePending: "delete-pending",
|
|
3091
3113
|
Deleting: "deleting",
|
|
3092
3114
|
DeleteFailed: "delete-failed",
|
|
3115
|
+
TeardownRequired: "teardown-required",
|
|
3116
|
+
TeardownFailed: "teardown-failed",
|
|
3093
3117
|
Deleted: "deleted",
|
|
3094
3118
|
Error: "error",
|
|
3095
3119
|
} as const;
|
|
@@ -4375,6 +4399,7 @@ export type SyncAcquireResponseCurrent = {
|
|
|
4375
4399
|
| any
|
|
4376
4400
|
| null
|
|
4377
4401
|
| undefined;
|
|
4402
|
+
error?: SyncAcquireResponseError | any | null | undefined;
|
|
4378
4403
|
/**
|
|
4379
4404
|
* Represents the target cloud platform.
|
|
4380
4405
|
*/
|
|
@@ -4605,6 +4630,88 @@ export type SyncAcquireResponseComputeBackendUnion =
|
|
|
4605
4630
|
| SyncAcquireResponseComputeBackendHorizon
|
|
4606
4631
|
| any;
|
|
4607
4632
|
|
|
4633
|
+
/**
|
|
4634
|
+
* Certificate status in the certificate lifecycle
|
|
4635
|
+
*/
|
|
4636
|
+
export const SyncAcquireResponseAliasCertificateStatus = {
|
|
4637
|
+
Pending: "pending",
|
|
4638
|
+
Issued: "issued",
|
|
4639
|
+
Renewing: "renewing",
|
|
4640
|
+
RenewalFailed: "renewal-failed",
|
|
4641
|
+
Failed: "failed",
|
|
4642
|
+
Deleting: "deleting",
|
|
4643
|
+
} as const;
|
|
4644
|
+
/**
|
|
4645
|
+
* Certificate status in the certificate lifecycle
|
|
4646
|
+
*/
|
|
4647
|
+
export type SyncAcquireResponseAliasCertificateStatus = ClosedEnum<
|
|
4648
|
+
typeof SyncAcquireResponseAliasCertificateStatus
|
|
4649
|
+
>;
|
|
4650
|
+
|
|
4651
|
+
/**
|
|
4652
|
+
* DNS record status in the DNS lifecycle
|
|
4653
|
+
*/
|
|
4654
|
+
export const SyncAcquireResponseAliasDnsStatus = {
|
|
4655
|
+
Pending: "pending",
|
|
4656
|
+
Active: "active",
|
|
4657
|
+
Updating: "updating",
|
|
4658
|
+
Deleting: "deleting",
|
|
4659
|
+
Failed: "failed",
|
|
4660
|
+
} as const;
|
|
4661
|
+
/**
|
|
4662
|
+
* DNS record status in the DNS lifecycle
|
|
4663
|
+
*/
|
|
4664
|
+
export type SyncAcquireResponseAliasDnsStatus = ClosedEnum<
|
|
4665
|
+
typeof SyncAcquireResponseAliasDnsStatus
|
|
4666
|
+
>;
|
|
4667
|
+
|
|
4668
|
+
/**
|
|
4669
|
+
* Certificate and DNS metadata for a managed hostname.
|
|
4670
|
+
*
|
|
4671
|
+
* @remarks
|
|
4672
|
+
*
|
|
4673
|
+
* Includes decrypted certificate data for issued certificates.
|
|
4674
|
+
* Private keys are deployment-scoped secrets (like environment variables).
|
|
4675
|
+
*/
|
|
4676
|
+
export type SyncAcquireResponseAlias = {
|
|
4677
|
+
/**
|
|
4678
|
+
* Full PEM certificate chain (only present if status is "issued").
|
|
4679
|
+
*/
|
|
4680
|
+
certificateChain?: string | null | undefined;
|
|
4681
|
+
/**
|
|
4682
|
+
* Certificate ID (for tracking/logging).
|
|
4683
|
+
*/
|
|
4684
|
+
certificateId: string;
|
|
4685
|
+
/**
|
|
4686
|
+
* Certificate status in the certificate lifecycle
|
|
4687
|
+
*/
|
|
4688
|
+
certificateStatus: SyncAcquireResponseAliasCertificateStatus;
|
|
4689
|
+
/**
|
|
4690
|
+
* Last DNS error message. Present when DNS previously failed, even if status
|
|
4691
|
+
*
|
|
4692
|
+
* @remarks
|
|
4693
|
+
* was reset to pending for retry. Used to surface actionable error context
|
|
4694
|
+
* in WaitingForDns failure messages.
|
|
4695
|
+
*/
|
|
4696
|
+
dnsError?: string | null | undefined;
|
|
4697
|
+
/**
|
|
4698
|
+
* DNS record status in the DNS lifecycle
|
|
4699
|
+
*/
|
|
4700
|
+
dnsStatus: SyncAcquireResponseAliasDnsStatus;
|
|
4701
|
+
/**
|
|
4702
|
+
* Fully qualified domain name.
|
|
4703
|
+
*/
|
|
4704
|
+
fqdn: string;
|
|
4705
|
+
/**
|
|
4706
|
+
* ISO 8601 timestamp when certificate was issued (for renewal detection).
|
|
4707
|
+
*/
|
|
4708
|
+
issuedAt?: string | null | undefined;
|
|
4709
|
+
/**
|
|
4710
|
+
* Decrypted private key (only present if status is "issued").
|
|
4711
|
+
*/
|
|
4712
|
+
privateKey?: string | null | undefined;
|
|
4713
|
+
};
|
|
4714
|
+
|
|
4608
4715
|
/**
|
|
4609
4716
|
* Certificate status in the certificate lifecycle
|
|
4610
4717
|
*/
|
|
@@ -4645,10 +4752,15 @@ export type SyncAcquireResponseDnsStatus = ClosedEnum<
|
|
|
4645
4752
|
*
|
|
4646
4753
|
* @remarks
|
|
4647
4754
|
*
|
|
4648
|
-
*
|
|
4649
|
-
*
|
|
4755
|
+
* The direct fields describe the primary generated hostname. `aliases`
|
|
4756
|
+
* contains additional managed hostnames that route directly to the same
|
|
4757
|
+
* resource.
|
|
4650
4758
|
*/
|
|
4651
4759
|
export type SyncAcquireResponseDomainMetadataResources = {
|
|
4760
|
+
/**
|
|
4761
|
+
* Additional managed hostnames for the resource.
|
|
4762
|
+
*/
|
|
4763
|
+
aliases?: Array<SyncAcquireResponseAlias> | undefined;
|
|
4652
4764
|
/**
|
|
4653
4765
|
* Full PEM certificate chain (only present if status is "issued").
|
|
4654
4766
|
*/
|
|
@@ -6757,29 +6869,16 @@ export type SyncAcquireResponseManagementConfigUnion =
|
|
|
6757
6869
|
*
|
|
6758
6870
|
* @remarks
|
|
6759
6871
|
*
|
|
6760
|
-
* When set,
|
|
6761
|
-
*
|
|
6762
|
-
*
|
|
6763
|
-
*
|
|
6764
|
-
* alien-runtime reads `OTEL_EXPORTER_OTLP_HEADERS` at tracing-init time,
|
|
6765
|
-
* before vault secrets load. For worker VMs, worker-template stamping passes
|
|
6766
|
-
* the monitoring configuration to the provider controller, which stores the
|
|
6767
|
-
* sensitive header in the cloud vault used by the worker image.
|
|
6872
|
+
* When set, worker runtimes export captured application logs through the
|
|
6873
|
+
* given endpoint via OTLP/HTTP. Auth headers are runtime-owned secret material:
|
|
6874
|
+
* deployment code must sync them to a runtime-only secret and avoid putting
|
|
6875
|
+
* them into user application environment variables.
|
|
6768
6876
|
*/
|
|
6769
6877
|
export type SyncAcquireResponseMonitoring = {
|
|
6770
6878
|
/**
|
|
6771
|
-
* Auth header value in "key=value,..." format
|
|
6879
|
+
* Auth header value in "key=value,..." format.
|
|
6772
6880
|
*
|
|
6773
6881
|
* @remarks
|
|
6774
|
-
*
|
|
6775
|
-
* `alien-deployment` injects this as the `OTEL_EXPORTER_OTLP_HEADERS` plain env var
|
|
6776
|
-
* into all containers. It must be plain (not a vault secret) because alien-runtime
|
|
6777
|
-
* reads `OTEL_EXPORTER_OTLP_HEADERS` at tracing-init time, before vault secrets load.
|
|
6778
|
-
*
|
|
6779
|
-
* Worker VMs do NOT use this field directly. The ComputeCluster infra
|
|
6780
|
-
* controller writes the same value to the cloud vault used by the worker
|
|
6781
|
-
* image (GCP: Secret Manager, AWS: Secrets Manager, Azure: Key Vault).
|
|
6782
|
-
*
|
|
6783
6882
|
* Example: "authorization=Bearer <write-token>"
|
|
6784
6883
|
*/
|
|
6785
6884
|
logsAuthHeader: string;
|
|
@@ -10336,60 +10435,51 @@ export function syncAcquireResponseEnvironmentInfoUnionFromJSON(
|
|
|
10336
10435
|
}
|
|
10337
10436
|
|
|
10338
10437
|
/** @internal */
|
|
10339
|
-
export const
|
|
10340
|
-
|
|
10341
|
-
> = z.enum(SyncAcquireResponseCurrentPlatform);
|
|
10342
|
-
|
|
10343
|
-
/** @internal */
|
|
10344
|
-
export const SyncAcquireResponseDeleteScopeEnum$inboundSchema: z.ZodEnum<
|
|
10345
|
-
typeof SyncAcquireResponseDeleteScopeEnum
|
|
10346
|
-
> = z.enum(SyncAcquireResponseDeleteScopeEnum);
|
|
10347
|
-
|
|
10348
|
-
/** @internal */
|
|
10349
|
-
export const SyncAcquireResponseDeleteScopeUnion$inboundSchema: z.ZodType<
|
|
10350
|
-
SyncAcquireResponseDeleteScopeUnion,
|
|
10438
|
+
export const SyncAcquireResponseError$inboundSchema: z.ZodType<
|
|
10439
|
+
SyncAcquireResponseError,
|
|
10351
10440
|
unknown
|
|
10352
|
-
> = z.
|
|
10441
|
+
> = z.object({
|
|
10442
|
+
code: z.string(),
|
|
10443
|
+
context: z.nullable(z.any()).optional(),
|
|
10444
|
+
hint: z.nullable(z.string()).optional(),
|
|
10445
|
+
httpStatusCode: z.nullable(z.int()).optional(),
|
|
10446
|
+
internal: z.boolean(),
|
|
10447
|
+
message: z.string(),
|
|
10448
|
+
retryable: z.boolean().default(false),
|
|
10449
|
+
source: z.nullable(z.any()).optional(),
|
|
10450
|
+
});
|
|
10353
10451
|
|
|
10354
|
-
export function
|
|
10452
|
+
export function syncAcquireResponseErrorFromJSON(
|
|
10355
10453
|
jsonString: string,
|
|
10356
|
-
): SafeParseResult<
|
|
10454
|
+
): SafeParseResult<SyncAcquireResponseError, SDKValidationError> {
|
|
10357
10455
|
return safeParse(
|
|
10358
10456
|
jsonString,
|
|
10359
|
-
(x) =>
|
|
10360
|
-
|
|
10361
|
-
`Failed to parse 'SyncAcquireResponseDeleteScopeUnion' from JSON`,
|
|
10457
|
+
(x) => SyncAcquireResponseError$inboundSchema.parse(JSON.parse(x)),
|
|
10458
|
+
`Failed to parse 'SyncAcquireResponseError' from JSON`,
|
|
10362
10459
|
);
|
|
10363
10460
|
}
|
|
10364
10461
|
|
|
10365
10462
|
/** @internal */
|
|
10366
|
-
export const
|
|
10367
|
-
|
|
10368
|
-
|
|
10369
|
-
|
|
10370
|
-
/** @internal */
|
|
10371
|
-
export const SyncAcquireResponsePendingDeleteScopeUnion$inboundSchema:
|
|
10372
|
-
z.ZodType<SyncAcquireResponsePendingDeleteScopeUnion, unknown> = z.union([
|
|
10373
|
-
SyncAcquireResponsePendingDeleteScopeEnum$inboundSchema,
|
|
10374
|
-
z.any(),
|
|
10375
|
-
]);
|
|
10463
|
+
export const SyncAcquireResponseErrorUnion$inboundSchema: z.ZodType<
|
|
10464
|
+
SyncAcquireResponseErrorUnion,
|
|
10465
|
+
unknown
|
|
10466
|
+
> = z.union([z.lazy(() => SyncAcquireResponseError$inboundSchema), z.any()]);
|
|
10376
10467
|
|
|
10377
|
-
export function
|
|
10468
|
+
export function syncAcquireResponseErrorUnionFromJSON(
|
|
10378
10469
|
jsonString: string,
|
|
10379
|
-
): SafeParseResult<
|
|
10380
|
-
SyncAcquireResponsePendingDeleteScopeUnion,
|
|
10381
|
-
SDKValidationError
|
|
10382
|
-
> {
|
|
10470
|
+
): SafeParseResult<SyncAcquireResponseErrorUnion, SDKValidationError> {
|
|
10383
10471
|
return safeParse(
|
|
10384
10472
|
jsonString,
|
|
10385
|
-
(x) =>
|
|
10386
|
-
|
|
10387
|
-
JSON.parse(x),
|
|
10388
|
-
),
|
|
10389
|
-
`Failed to parse 'SyncAcquireResponsePendingDeleteScopeUnion' from JSON`,
|
|
10473
|
+
(x) => SyncAcquireResponseErrorUnion$inboundSchema.parse(JSON.parse(x)),
|
|
10474
|
+
`Failed to parse 'SyncAcquireResponseErrorUnion' from JSON`,
|
|
10390
10475
|
);
|
|
10391
10476
|
}
|
|
10392
10477
|
|
|
10478
|
+
/** @internal */
|
|
10479
|
+
export const SyncAcquireResponseCurrentPlatform$inboundSchema: z.ZodEnum<
|
|
10480
|
+
typeof SyncAcquireResponseCurrentPlatform
|
|
10481
|
+
> = z.enum(SyncAcquireResponseCurrentPlatform);
|
|
10482
|
+
|
|
10393
10483
|
/** @internal */
|
|
10394
10484
|
export const SyncAcquireResponsePreparedStackManagementEnum$inboundSchema:
|
|
10395
10485
|
z.ZodEnum<typeof SyncAcquireResponsePreparedStackManagementEnum> = z.enum(
|
|
@@ -12484,13 +12574,7 @@ export const SyncAcquireResponseRuntimeMetadata$inboundSchema: z.ZodType<
|
|
|
12484
12574
|
SyncAcquireResponseRuntimeMetadata,
|
|
12485
12575
|
unknown
|
|
12486
12576
|
> = z.object({
|
|
12487
|
-
deleteScope: z.nullable(
|
|
12488
|
-
z.union([SyncAcquireResponseDeleteScopeEnum$inboundSchema, z.any()]),
|
|
12489
|
-
).optional(),
|
|
12490
12577
|
lastSyncedEnvVarsHash: z.nullable(z.string()).optional(),
|
|
12491
|
-
pendingDeleteScope: z.nullable(
|
|
12492
|
-
z.union([SyncAcquireResponsePendingDeleteScopeEnum$inboundSchema, z.any()]),
|
|
12493
|
-
).optional(),
|
|
12494
12578
|
preparedStack: z.nullable(
|
|
12495
12579
|
z.union([
|
|
12496
12580
|
z.lazy(() => SyncAcquireResponsePreparedStack$inboundSchema),
|
|
@@ -12619,8 +12703,8 @@ export function syncAcquireResponseStackStateDependencyFromJSON(
|
|
|
12619
12703
|
}
|
|
12620
12704
|
|
|
12621
12705
|
/** @internal */
|
|
12622
|
-
export const
|
|
12623
|
-
|
|
12706
|
+
export const SyncAcquireResponseStackStateError$inboundSchema: z.ZodType<
|
|
12707
|
+
SyncAcquireResponseStackStateError,
|
|
12624
12708
|
unknown
|
|
12625
12709
|
> = z.object({
|
|
12626
12710
|
code: z.string(),
|
|
@@ -12633,29 +12717,39 @@ export const SyncAcquireResponseError$inboundSchema: z.ZodType<
|
|
|
12633
12717
|
source: z.nullable(z.any()).optional(),
|
|
12634
12718
|
});
|
|
12635
12719
|
|
|
12636
|
-
export function
|
|
12720
|
+
export function syncAcquireResponseStackStateErrorFromJSON(
|
|
12637
12721
|
jsonString: string,
|
|
12638
|
-
): SafeParseResult<
|
|
12722
|
+
): SafeParseResult<SyncAcquireResponseStackStateError, SDKValidationError> {
|
|
12639
12723
|
return safeParse(
|
|
12640
12724
|
jsonString,
|
|
12641
|
-
(x) =>
|
|
12642
|
-
|
|
12725
|
+
(x) =>
|
|
12726
|
+
SyncAcquireResponseStackStateError$inboundSchema.parse(JSON.parse(x)),
|
|
12727
|
+
`Failed to parse 'SyncAcquireResponseStackStateError' from JSON`,
|
|
12643
12728
|
);
|
|
12644
12729
|
}
|
|
12645
12730
|
|
|
12646
12731
|
/** @internal */
|
|
12647
|
-
export const
|
|
12648
|
-
|
|
12732
|
+
export const SyncAcquireResponseStackStateErrorUnion$inboundSchema: z.ZodType<
|
|
12733
|
+
SyncAcquireResponseStackStateErrorUnion,
|
|
12649
12734
|
unknown
|
|
12650
|
-
> = z.union([
|
|
12735
|
+
> = z.union([
|
|
12736
|
+
z.lazy(() => SyncAcquireResponseStackStateError$inboundSchema),
|
|
12737
|
+
z.any(),
|
|
12738
|
+
]);
|
|
12651
12739
|
|
|
12652
|
-
export function
|
|
12740
|
+
export function syncAcquireResponseStackStateErrorUnionFromJSON(
|
|
12653
12741
|
jsonString: string,
|
|
12654
|
-
): SafeParseResult<
|
|
12742
|
+
): SafeParseResult<
|
|
12743
|
+
SyncAcquireResponseStackStateErrorUnion,
|
|
12744
|
+
SDKValidationError
|
|
12745
|
+
> {
|
|
12655
12746
|
return safeParse(
|
|
12656
12747
|
jsonString,
|
|
12657
|
-
(x) =>
|
|
12658
|
-
|
|
12748
|
+
(x) =>
|
|
12749
|
+
SyncAcquireResponseStackStateErrorUnion$inboundSchema.parse(
|
|
12750
|
+
JSON.parse(x),
|
|
12751
|
+
),
|
|
12752
|
+
`Failed to parse 'SyncAcquireResponseStackStateErrorUnion' from JSON`,
|
|
12659
12753
|
);
|
|
12660
12754
|
}
|
|
12661
12755
|
|
|
@@ -12784,7 +12878,10 @@ export const SyncAcquireResponseStackStateResources$inboundSchema: z.ZodType<
|
|
|
12784
12878
|
z.lazy(() => SyncAcquireResponseStackStateDependency$inboundSchema),
|
|
12785
12879
|
).optional(),
|
|
12786
12880
|
error: z.nullable(
|
|
12787
|
-
z.union([
|
|
12881
|
+
z.union([
|
|
12882
|
+
z.lazy(() => SyncAcquireResponseStackStateError$inboundSchema),
|
|
12883
|
+
z.any(),
|
|
12884
|
+
]),
|
|
12788
12885
|
).optional(),
|
|
12789
12886
|
lastFailedState: z.nullable(z.any()).optional(),
|
|
12790
12887
|
lifecycle: z.nullable(
|
|
@@ -15000,6 +15097,9 @@ export const SyncAcquireResponseCurrent$inboundSchema: z.ZodType<
|
|
|
15000
15097
|
z.any(),
|
|
15001
15098
|
]),
|
|
15002
15099
|
).optional(),
|
|
15100
|
+
error: z.nullable(
|
|
15101
|
+
z.union([z.lazy(() => SyncAcquireResponseError$inboundSchema), z.any()]),
|
|
15102
|
+
).optional(),
|
|
15003
15103
|
platform: SyncAcquireResponseCurrentPlatform$inboundSchema,
|
|
15004
15104
|
protocolVersion: z.int(),
|
|
15005
15105
|
retryRequested: z.boolean().optional(),
|
|
@@ -15401,6 +15501,41 @@ export function syncAcquireResponseComputeBackendUnionFromJSON(
|
|
|
15401
15501
|
);
|
|
15402
15502
|
}
|
|
15403
15503
|
|
|
15504
|
+
/** @internal */
|
|
15505
|
+
export const SyncAcquireResponseAliasCertificateStatus$inboundSchema: z.ZodEnum<
|
|
15506
|
+
typeof SyncAcquireResponseAliasCertificateStatus
|
|
15507
|
+
> = z.enum(SyncAcquireResponseAliasCertificateStatus);
|
|
15508
|
+
|
|
15509
|
+
/** @internal */
|
|
15510
|
+
export const SyncAcquireResponseAliasDnsStatus$inboundSchema: z.ZodEnum<
|
|
15511
|
+
typeof SyncAcquireResponseAliasDnsStatus
|
|
15512
|
+
> = z.enum(SyncAcquireResponseAliasDnsStatus);
|
|
15513
|
+
|
|
15514
|
+
/** @internal */
|
|
15515
|
+
export const SyncAcquireResponseAlias$inboundSchema: z.ZodType<
|
|
15516
|
+
SyncAcquireResponseAlias,
|
|
15517
|
+
unknown
|
|
15518
|
+
> = z.object({
|
|
15519
|
+
certificateChain: z.nullable(z.string()).optional(),
|
|
15520
|
+
certificateId: z.string(),
|
|
15521
|
+
certificateStatus: SyncAcquireResponseAliasCertificateStatus$inboundSchema,
|
|
15522
|
+
dnsError: z.nullable(z.string()).optional(),
|
|
15523
|
+
dnsStatus: SyncAcquireResponseAliasDnsStatus$inboundSchema,
|
|
15524
|
+
fqdn: z.string(),
|
|
15525
|
+
issuedAt: z.nullable(z.string()).optional(),
|
|
15526
|
+
privateKey: z.nullable(z.string()).optional(),
|
|
15527
|
+
});
|
|
15528
|
+
|
|
15529
|
+
export function syncAcquireResponseAliasFromJSON(
|
|
15530
|
+
jsonString: string,
|
|
15531
|
+
): SafeParseResult<SyncAcquireResponseAlias, SDKValidationError> {
|
|
15532
|
+
return safeParse(
|
|
15533
|
+
jsonString,
|
|
15534
|
+
(x) => SyncAcquireResponseAlias$inboundSchema.parse(JSON.parse(x)),
|
|
15535
|
+
`Failed to parse 'SyncAcquireResponseAlias' from JSON`,
|
|
15536
|
+
);
|
|
15537
|
+
}
|
|
15538
|
+
|
|
15404
15539
|
/** @internal */
|
|
15405
15540
|
export const SyncAcquireResponseCertificateStatus$inboundSchema: z.ZodEnum<
|
|
15406
15541
|
typeof SyncAcquireResponseCertificateStatus
|
|
@@ -15414,6 +15549,8 @@ export const SyncAcquireResponseDnsStatus$inboundSchema: z.ZodEnum<
|
|
|
15414
15549
|
/** @internal */
|
|
15415
15550
|
export const SyncAcquireResponseDomainMetadataResources$inboundSchema:
|
|
15416
15551
|
z.ZodType<SyncAcquireResponseDomainMetadataResources, unknown> = z.object({
|
|
15552
|
+
aliases: z.array(z.lazy(() => SyncAcquireResponseAlias$inboundSchema))
|
|
15553
|
+
.optional(),
|
|
15417
15554
|
certificateChain: z.nullable(z.string()).optional(),
|
|
15418
15555
|
certificateId: z.string(),
|
|
15419
15556
|
certificateStatus: SyncAcquireResponseCertificateStatus$inboundSchema,
|
|
@@ -10,6 +10,7 @@ import { ClosedEnum } from "../types/enums.js";
|
|
|
10
10
|
*/
|
|
11
11
|
export const SyncListRequestStatus = {
|
|
12
12
|
Pending: "pending",
|
|
13
|
+
PreflightsFailed: "preflights-failed",
|
|
13
14
|
InitialSetup: "initial-setup",
|
|
14
15
|
InitialSetupFailed: "initial-setup-failed",
|
|
15
16
|
Provisioning: "provisioning",
|
|
@@ -22,6 +23,8 @@ export const SyncListRequestStatus = {
|
|
|
22
23
|
DeletePending: "delete-pending",
|
|
23
24
|
Deleting: "deleting",
|
|
24
25
|
DeleteFailed: "delete-failed",
|
|
26
|
+
TeardownRequired: "teardown-required",
|
|
27
|
+
TeardownFailed: "teardown-failed",
|
|
25
28
|
Deleted: "deleted",
|
|
26
29
|
Error: "error",
|
|
27
30
|
} as const;
|