freestyle-sandboxes 0.1.39 → 0.1.40

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/index.d.cts CHANGED
@@ -7301,9 +7301,24 @@ declare class CreateVmBadRequestError extends Error {
7301
7301
  static readonly description: string;
7302
7302
  constructor(body: PublicCreateVmBadRequest & FreestyleError);
7303
7303
  }
7304
+ interface ServiceStateGroup {
7305
+ activeState: string;
7306
+ subState: string;
7307
+ services: string[];
7308
+ }
7309
+ interface ServiceLog {
7310
+ unitName: string;
7311
+ log: string;
7312
+ }
7313
+ interface PostBootDiagnostics {
7314
+ serviceStates: ServiceStateGroup[];
7315
+ failedServiceLogs: ServiceLog[];
7316
+ additionalFailedServiceLogs: ServiceLog[];
7317
+ }
7304
7318
  interface VmSetupFailedPublic {
7305
7319
  snapshotId?: string | null;
7306
7320
  failedReason: string;
7321
+ diagnostics?: PostBootDiagnostics | null;
7307
7322
  [k: string]: unknown;
7308
7323
  }
7309
7324
  declare class VmSetupFailedError extends Error {
@@ -9760,6 +9775,7 @@ type errors_PermissionNotFoundError = PermissionNotFoundError;
9760
9775
  declare const errors_PermissionNotFoundError: typeof PermissionNotFoundError;
9761
9776
  type errors_PersistentVmsNotAllowedError = PersistentVmsNotAllowedError;
9762
9777
  declare const errors_PersistentVmsNotAllowedError: typeof PersistentVmsNotAllowedError;
9778
+ type errors_PostBootDiagnostics = PostBootDiagnostics;
9763
9779
  type errors_ProjectNotFoundError = ProjectNotFoundError;
9764
9780
  declare const errors_ProjectNotFoundError: typeof ProjectNotFoundError;
9765
9781
  type errors_PublicAmbiguous = PublicAmbiguous;
@@ -9942,6 +9958,7 @@ type errors_ServerDeploymentFailedError = ServerDeploymentFailedError;
9942
9958
  declare const errors_ServerDeploymentFailedError: typeof ServerDeploymentFailedError;
9943
9959
  type errors_ServiceAlreadyExistsError = ServiceAlreadyExistsError;
9944
9960
  declare const errors_ServiceAlreadyExistsError: typeof ServiceAlreadyExistsError;
9961
+ type errors_ServiceLog = ServiceLog;
9945
9962
  type errors_ServiceNameEmptyError = ServiceNameEmptyError;
9946
9963
  declare const errors_ServiceNameEmptyError: typeof ServiceNameEmptyError;
9947
9964
  type errors_ServiceNameInvalidCharsError = ServiceNameInvalidCharsError;
@@ -9952,6 +9969,7 @@ type errors_ServiceNameTooLongError = ServiceNameTooLongError;
9952
9969
  declare const errors_ServiceNameTooLongError: typeof ServiceNameTooLongError;
9953
9970
  type errors_ServiceNotFoundError = ServiceNotFoundError;
9954
9971
  declare const errors_ServiceNotFoundError: typeof ServiceNotFoundError;
9972
+ type errors_ServiceStateGroup = ServiceStateGroup;
9955
9973
  type errors_ServiceUnavailableError = ServiceUnavailableError;
9956
9974
  declare const errors_ServiceUnavailableError: typeof ServiceUnavailableError;
9957
9975
  type errors_SetDefaultSnapshotFailedError = SetDefaultSnapshotFailedError;
@@ -10089,7 +10107,7 @@ declare const errors_WriteScriptFailedError: typeof WriteScriptFailedError;
10089
10107
  declare const errors_errorFromJSON: typeof errorFromJSON;
10090
10108
  declare namespace errors {
10091
10109
  export { errors_AccessDeniedError as AccessDeniedError, errors_ActiveTransactionErrorError as ActiveTransactionErrorError, errors_AfterArrayContainsEmptyError as AfterArrayContainsEmptyError, errors_AmbiguousError as AmbiguousError, errors_BackupFailedError as BackupFailedError, errors_BadHeaderError as BadHeaderError, errors_BadKeyError as BadKeyError, errors_BadParseError as BadParseError, errors_BadRequestError as BadRequestError, errors_BadSignatureError as BadSignatureError, errors_BadTimestampError as BadTimestampError, errors_BlobNotFoundError as BlobNotFoundError, errors_BranchAlreadyExistsError as BranchAlreadyExistsError, errors_BranchNameEmptyError as BranchNameEmptyError, errors_BranchNotFoundError as BranchNotFoundError, errors_BuildFailedError as BuildFailedError, errors_CannotDeleteManagedIdentityError as CannotDeleteManagedIdentityError, errors_CannotModifyManagedIdentityError as CannotModifyManagedIdentityError, errors_CertificateProvisioningErrorError as CertificateProvisioningErrorError, errors_CloudstateAccessDeniedError as CloudstateAccessDeniedError, errors_CloudstateDatabaseErrorError as CloudstateDatabaseErrorError, errors_CloudstateInternalErrorError as CloudstateInternalErrorError, errors_CommitNotFoundError as CommitNotFoundError, errors_CommitNotInBranchError as CommitNotInBranchError, errors_ConflictError as ConflictError, errors_ConflictingParentError as ConflictingParentError, errors_ConnectionFailedError as ConnectionFailedError, errors_ContentNotFoundError as ContentNotFoundError, errors_CreateBackupFailedError as CreateBackupFailedError, errors_CreateIdentityFailedError as CreateIdentityFailedError, errors_CreateRepositoryFailedError as CreateRepositoryFailedError, errors_CreateSnapshotBadRequestError as CreateSnapshotBadRequestError, errors_CreateTokenFailedError as CreateTokenFailedError, errors_CreateVmBadRequestError as CreateVmBadRequestError, errors_DatabaseErrorError as DatabaseErrorError, errors_DeleteIdentityFailedError as DeleteIdentityFailedError, errors_DeleteRepositoryFailedError as DeleteRepositoryFailedError, errors_DeploymentAccessDeniedError as DeploymentAccessDeniedError, errors_DeploymentFailedError as DeploymentFailedError, errors_DeploymentLimitExceededError as DeploymentLimitExceededError, errors_DeploymentNotFoundError as DeploymentNotFoundError, errors_DirectoryCreationFailedError as DirectoryCreationFailedError, errors_DockerSnapshotFailedError as DockerSnapshotFailedError, errors_DomainAlreadyExistsError as DomainAlreadyExistsError, errors_DomainMappingErrorError as DomainMappingErrorError, errors_DomainOwnershipErrorError as DomainOwnershipErrorError, errors_DomainOwnershipNotVerifiedError as DomainOwnershipNotVerifiedError, errors_DomainOwnershipVerificationFailedError as DomainOwnershipVerificationFailedError, errors_DownloadFailedError as DownloadFailedError, errors_DuplicateGroupNameError as DuplicateGroupNameError, errors_DuplicateUserNameError as DuplicateUserNameError, errors_EmptyTagError as EmptyTagError, errors_EntrypointNotFoundError as EntrypointNotFoundError, errors_EnvKeyContainsEqualsError as EnvKeyContainsEqualsError, errors_EnvKeyEmptyError as EnvKeyEmptyError, errors_ErrorCreatingRecordError as ErrorCreatingRecordError, errors_ErrorDeletingRecordError as ErrorDeletingRecordError, errors_ExecEmptyError as ExecEmptyError, errors_ExecuteAccessDeniedError as ExecuteAccessDeniedError, errors_ExecuteInternalErrorError as ExecuteInternalErrorError, errors_ExecuteLimitExceededError as ExecuteLimitExceededError, errors_ExecutionErrorError as ExecutionErrorError, errors_ExpectedServiceError as ExpectedServiceError, errors_ExpiredError as ExpiredError, errors_FREESTYLE_ERROR_CODE_MAP as FREESTYLE_ERROR_CODE_MAP, errors_FailedInsertDomainMappingError as FailedInsertDomainMappingError, errors_FailedPermissionsCheckError as FailedPermissionsCheckError, errors_FailedRemoveDomainMappingError as FailedRemoveDomainMappingError, errors_FailedToCheckDomainMappingPermissionsError as FailedToCheckDomainMappingPermissionsError, errors_FailedToCheckPermissionsError as FailedToCheckPermissionsError, errors_FailedToCreateVerificationCodeError as FailedToCreateVerificationCodeError, errors_FailedToDeleteVerificationError as FailedToDeleteVerificationError, errors_FailedToInsertDomainMappingError as FailedToInsertDomainMappingError, errors_FailedToInsertOwnershipError as FailedToInsertOwnershipError, errors_FailedToListDomainsError as FailedToListDomainsError, errors_FailedToListVerificationsError as FailedToListVerificationsError, errors_FailedToProvisionCertificateError as FailedToProvisionCertificateError, errors_FailedToProvisionCertificateForMappingError as FailedToProvisionCertificateForMappingError, errors_FailedToSpawnUffdError as FailedToSpawnUffdError, errors_FailedToVerifyDomainError as FailedToVerifyDomainError, errors_FileNotFoundError as FileNotFoundError, errors_FilesBadRequestError as FilesBadRequestError, errors_FirecrackerApiSocketNotFoundError as FirecrackerApiSocketNotFoundError, errors_FirecrackerPidNotFoundError as FirecrackerPidNotFoundError, errors_ForbiddenError as ForbiddenError, errors_ForkVmNotFoundError as ForkVmNotFoundError, errors_GetContentFailedError as GetContentFailedError, errors_GetDefaultSnapshotFailedError as GetDefaultSnapshotFailedError, errors_GetPermissionFailedError as GetPermissionFailedError, errors_GetRepositoryInfoFailedError as GetRepositoryInfoFailedError, errors_GitErrorError as GitErrorError, errors_GitHubSyncConflictError as GitHubSyncConflictError, errors_GitHubSyncFailedError as GitHubSyncFailedError, errors_GitInvalidRequestError as GitInvalidRequestError, errors_GitRepoLimitExceededError as GitRepoLimitExceededError, errors_GitRepositoryAccessDeniedError as GitRepositoryAccessDeniedError, errors_GitRepositoryNotFoundError as GitRepositoryNotFoundError, errors_GitServerErrorError as GitServerErrorError, errors_GrantPermissionFailedError as GrantPermissionFailedError, errors_GroupAlreadyExistsError as GroupAlreadyExistsError, errors_GroupEmptyError as GroupEmptyError, errors_GroupNameEmptyError as GroupNameEmptyError, errors_GroupNameInvalidCharsError as GroupNameInvalidCharsError, errors_GroupNameReservedError as GroupNameReservedError, errors_GroupNameTooLongError as GroupNameTooLongError, errors_GroupNotFoundError as GroupNotFoundError, errors_IdentityAccessDeniedError as IdentityAccessDeniedError, errors_IdentityErrorError as IdentityErrorError, errors_IdentityNotFoundError as IdentityNotFoundError, errors_ImportSubdirNotFoundError as ImportSubdirNotFoundError, errors_InternalError as InternalError, errors_InternalErrorError as InternalErrorError, errors_InternalForkVmNotFoundError as InternalForkVmNotFoundError, errors_InternalResizeVmNotFoundError as InternalResizeVmNotFoundError, errors_InternalVmNotFoundError as InternalVmNotFoundError, errors_InvalidAccountIdError as InvalidAccountIdError, errors_InvalidBase64ContentError as InvalidBase64ContentError, errors_InvalidDeploymentRequestError as InvalidDeploymentRequestError, errors_InvalidDomainError as InvalidDomainError, errors_InvalidDomainsError as InvalidDomainsError, errors_InvalidError as InvalidError, errors_InvalidFileChangeError as InvalidFileChangeError, errors_InvalidFilePathError as InvalidFilePathError, errors_InvalidGitRepoSpecErrorError as InvalidGitRepoSpecErrorError, errors_InvalidObjectIdError as InvalidObjectIdError, errors_InvalidParametersError as InvalidParametersError, errors_InvalidQueryError as InvalidQueryError, errors_InvalidRangeError as InvalidRangeError, errors_InvalidRequestError as InvalidRequestError, errors_InvalidRevisionError as InvalidRevisionError, errors_InvalidServiceError as InvalidServiceError, errors_InvalidSignatureError as InvalidSignatureError, errors_InvalidSnapshotIdError as InvalidSnapshotIdError, errors_InvalidVmIdError as InvalidVmIdError, errors_KernelPanicError as KernelPanicError, errors_LimitExceededError as LimitExceededError, errors_ListIdentitiesFailedError as ListIdentitiesFailedError, errors_ListPermissionsFailedError as ListPermissionsFailedError, errors_ListRepositoriesFailedError as ListRepositoriesFailedError, errors_ListRunsFailedError as ListRunsFailedError, errors_ListTokensFailedError as ListTokensFailedError, errors_LockGenerationFailedError as LockGenerationFailedError, errors_LockfileErrorError as LockfileErrorError, errors_LoggingFailedError as LoggingFailedError, errors_LogsNotFoundError as LogsNotFoundError, errors_MaxUsesExceededError as MaxUsesExceededError, errors_MetadataWriteFailedError as MetadataWriteFailedError, errors_NetworkPermissionsFailedError as NetworkPermissionsFailedError, errors_NoDefaultBranchError as NoDefaultBranchError, errors_NoDefaultSnapshotAvailableError as NoDefaultSnapshotAvailableError, errors_NoDomainOwnershipError as NoDomainOwnershipError, errors_NoEntrypointFoundError as NoEntrypointFoundError, errors_NodeModulesDownloadFailedError as NodeModulesDownloadFailedError, errors_NodeModulesInstallFailedError as NodeModulesInstallFailedError, errors_NotFoundError as NotFoundError, errors_ObservabilityAccessDeniedError as ObservabilityAccessDeniedError, errors_ObservabilityDatabaseErrorError as ObservabilityDatabaseErrorError, errors_OffsetWithSelectorError as OffsetWithSelectorError, errors_OnFailureArrayContainsEmptyError as OnFailureArrayContainsEmptyError, errors_PackfileError as PackfileError, errors_ParentNotFoundError as ParentNotFoundError, errors_ParseLogsFailedError as ParseLogsFailedError, errors_ParseResponseErrorError as ParseResponseErrorError, errors_PartitionNotFoundError as PartitionNotFoundError, errors_PathNotFoundError as PathNotFoundError, errors_PermissionAlreadyExistsError as PermissionAlreadyExistsError, errors_PermissionDeniedError as PermissionDeniedError, errors_PermissionErrorError as PermissionErrorError, errors_PermissionNotFoundError as PermissionNotFoundError, errors_PersistentVmsNotAllowedError as PersistentVmsNotAllowedError, errors_ProjectNotFoundError as ProjectNotFoundError, errors_RecordOwnershipErrorError as RecordOwnershipErrorError, errors_ReferenceNotFoundError as ReferenceNotFoundError, errors_RepoAlreadyExistsError as RepoAlreadyExistsError, errors_RepoNotFoundError as RepoNotFoundError, errors_RepositoryAccessDeniedError as RepositoryAccessDeniedError, errors_RepositoryNotFoundError as RepositoryNotFoundError, errors_RequiresArrayContainsEmptyError as RequiresArrayContainsEmptyError, errors_ReqwestError as ReqwestError, errors_ResizeFailedError as ResizeFailedError, errors_RestoreFailedError as RestoreFailedError, errors_ResumedVmNonResponsiveError as ResumedVmNonResponsiveError, errors_RetrieveLogsFailedError as RetrieveLogsFailedError, errors_RevokePermissionFailedError as RevokePermissionFailedError, errors_RevokeTokenFailedError as RevokeTokenFailedError, errors_RootfsCopyErrorError as RootfsCopyErrorError, errors_RunNotFoundError as RunNotFoundError, errors_RuntimeErrorError as RuntimeErrorError, errors_ScheduleNotFoundError as ScheduleNotFoundError, errors_SendErrorError as SendErrorError, errors_SerializationErrorError as SerializationErrorError, errors_ServerDeploymentFailedError as ServerDeploymentFailedError, errors_ServiceAlreadyExistsError as ServiceAlreadyExistsError, errors_ServiceNameEmptyError as ServiceNameEmptyError, errors_ServiceNameInvalidCharsError as ServiceNameInvalidCharsError, errors_ServiceNameInvalidPrefixError as ServiceNameInvalidPrefixError, errors_ServiceNameTooLongError as ServiceNameTooLongError, errors_ServiceNotFoundError as ServiceNotFoundError, errors_ServiceUnavailableError as ServiceUnavailableError, errors_SetDefaultSnapshotFailedError as SetDefaultSnapshotFailedError, errors_SigningError as SigningError, errors_SnapshotDirNotFoundError as SnapshotDirNotFoundError, errors_SnapshotLayerCreationFailedError as SnapshotLayerCreationFailedError, errors_SnapshotLoadTimeoutError as SnapshotLoadTimeoutError, errors_SnapshotNotFoundError as SnapshotNotFoundError, errors_SnapshotSetupFailedError as SnapshotSetupFailedError, errors_SnapshotVmBadRequestError as SnapshotVmBadRequestError, errors_SourceImportConflictError as SourceImportConflictError, errors_SourceNotFoundError as SourceNotFoundError, errors_SourceUnauthorizedError as SourceUnauthorizedError, errors_StdIoError as StdIoError, errors_SubvolumeCreationFailedError as SubvolumeCreationFailedError, errors_SuspendFailedAndStopFailedError as SuspendFailedAndStopFailedError, errors_SuspendFailedAndStoppedError as SuspendFailedAndStoppedError, errors_SwapVmTapError as SwapVmTapError, errors_SyntaxErrorError as SyntaxErrorError, errors_TagNotFoundError as TagNotFoundError, errors_TimeoutLimitExceededError as TimeoutLimitExceededError, errors_TokenErrorError as TokenErrorError, errors_TotalVmLimitExceededError as TotalVmLimitExceededError, errors_TreeNotFoundError as TreeNotFoundError, errors_TriggerErrorError as TriggerErrorError, errors_UffdTimeoutErrorError as UffdTimeoutErrorError, errors_UnauthorizedError as UnauthorizedError, errors_UnauthorizedErrorError as UnauthorizedErrorError, errors_UnavailableError as UnavailableError, errors_UnsupportedTransferError as UnsupportedTransferError, errors_UpdateDefaultBranchFailedError as UpdateDefaultBranchFailedError, errors_UpdatePermissionFailedError as UpdatePermissionFailedError, errors_UploadErrorError as UploadErrorError, errors_UserAlreadyExistsError as UserAlreadyExistsError, errors_UserEmptyError as UserEmptyError, errors_UserGroupEmptyError as UserGroupEmptyError, errors_UserHomeInvalidError as UserHomeInvalidError, errors_UserNotFoundError as UserNotFoundError, errors_UserShellInvalidError as UserShellInvalidError, errors_UserSystemFlagMismatchError as UserSystemFlagMismatchError, errors_UserUidOutOfRangeError as UserUidOutOfRangeError, errors_ValidationErrorError as ValidationErrorError, errors_VerificationFailedError as VerificationFailedError, errors_VerificationNotFoundError as VerificationNotFoundError, errors_VmAccessDeniedError as VmAccessDeniedError, errors_VmAccessDeniedForMappingError as VmAccessDeniedForMappingError, errors_VmDeletedError as VmDeletedError, errors_VmExitDuringStartError as VmExitDuringStartError, errors_VmIsSuspendingError as VmIsSuspendingError, errors_VmLimitExceededError as VmLimitExceededError, errors_VmNotFoundError as VmNotFoundError, errors_VmNotFoundInFsError as VmNotFoundInFsError, errors_VmNotInTransactionError as VmNotInTransactionError, errors_VmNotRunningError as VmNotRunningError, errors_VmOperationDeniedDuringTransactionError as VmOperationDeniedDuringTransactionError, errors_VmPermissionNotFoundError as VmPermissionNotFoundError, errors_VmSetupFailedError as VmSetupFailedError, errors_VmSpawnProcessError as VmSpawnProcessError, errors_VmStartTimeoutError as VmStartTimeoutError, errors_VmSubnetNotFoundError as VmSubnetNotFoundError, errors_VmTransactionIdMismatchError as VmTransactionIdMismatchError, errors_WantedByEmptyError as WantedByEmptyError, errors_WebDeploymentBadRequestError as WebDeploymentBadRequestError, errors_WorkdirEmptyError as WorkdirEmptyError, errors_WriteScriptFailedError as WriteScriptFailedError, errors_errorFromJSON as errorFromJSON };
10092
- export type { errors_FreestyleError as FreestyleError, errors_InvalidGitRepoSpecErrorPublic as InvalidGitRepoSpecErrorPublic, errors_InvalidObjectIdPublic as InvalidObjectIdPublic, errors_JavascriptLog as JavascriptLog, errors_LfsTransferAdapter as LfsTransferAdapter, errors_PublicAmbiguous as PublicAmbiguous, errors_PublicBackupFailed as PublicBackupFailed, errors_PublicBadRequest as PublicBadRequest, errors_PublicBlobNotFound as PublicBlobNotFound, errors_PublicBranchAlreadyExists as PublicBranchAlreadyExists, errors_PublicBranchNotFound as PublicBranchNotFound, errors_PublicBuildFailed as PublicBuildFailed, errors_PublicCertificateProvisioningError as PublicCertificateProvisioningError, errors_PublicCloudstateAccessDenied as PublicCloudstateAccessDenied, errors_PublicCloudstateDatabaseError as PublicCloudstateDatabaseError, errors_PublicCloudstateInternalError as PublicCloudstateInternalError, errors_PublicCommitNotFound as PublicCommitNotFound, errors_PublicCommitNotInBranch as PublicCommitNotInBranch, errors_PublicConflictingParent as PublicConflictingParent, errors_PublicConnectionFailed as PublicConnectionFailed, errors_PublicContentNotFound as PublicContentNotFound, errors_PublicCreateBackupFailed as PublicCreateBackupFailed, errors_PublicCreateIdentityFailed as PublicCreateIdentityFailed, errors_PublicCreateRepositoryFailed as PublicCreateRepositoryFailed, errors_PublicCreateSnapshotBadRequest as PublicCreateSnapshotBadRequest, errors_PublicCreateTokenFailed as PublicCreateTokenFailed, errors_PublicCreateVmBadRequest as PublicCreateVmBadRequest, errors_PublicDeleteIdentityFailed as PublicDeleteIdentityFailed, errors_PublicDeleteRepositoryFailed as PublicDeleteRepositoryFailed, errors_PublicDeploymentAccessDenied as PublicDeploymentAccessDenied, errors_PublicDeploymentFailed as PublicDeploymentFailed, errors_PublicDeploymentLimitExceeded as PublicDeploymentLimitExceeded, errors_PublicDirectoryCreationFailed as PublicDirectoryCreationFailed, errors_PublicDomainAlreadyExists as PublicDomainAlreadyExists, errors_PublicDomainMappingError as PublicDomainMappingError, errors_PublicDomainOwnershipError as PublicDomainOwnershipError, errors_PublicDomainOwnershipNotVerified as PublicDomainOwnershipNotVerified, errors_PublicDownloadFailed as PublicDownloadFailed, errors_PublicEntrypointNotFound as PublicEntrypointNotFound, errors_PublicErrorCreatingRecord as PublicErrorCreatingRecord, errors_PublicErrorDeletingRecord as PublicErrorDeletingRecord, errors_PublicExecuteInternalError as PublicExecuteInternalError, errors_PublicExecutionError as PublicExecutionError, errors_PublicFailedInsertDomainMapping as PublicFailedInsertDomainMapping, errors_PublicFailedPermissionsCheck as PublicFailedPermissionsCheck, errors_PublicFailedRemoveDomainMapping as PublicFailedRemoveDomainMapping, errors_PublicFailedToCheckDomainMappingPermissions as PublicFailedToCheckDomainMappingPermissions, errors_PublicFailedToCheckPermissions as PublicFailedToCheckPermissions, errors_PublicFailedToCreateVerificationCode as PublicFailedToCreateVerificationCode, errors_PublicFailedToDeleteVerification as PublicFailedToDeleteVerification, errors_PublicFailedToInsertDomainMapping as PublicFailedToInsertDomainMapping, errors_PublicFailedToInsertOwnership as PublicFailedToInsertOwnership, errors_PublicFailedToListDomains as PublicFailedToListDomains, errors_PublicFailedToListVerifications as PublicFailedToListVerifications, errors_PublicFailedToProvisionCertificate as PublicFailedToProvisionCertificate, errors_PublicFailedToProvisionCertificateForMapping as PublicFailedToProvisionCertificateForMapping, errors_PublicFailedToVerifyDomain as PublicFailedToVerifyDomain, errors_PublicFileNotFound as PublicFileNotFound, errors_PublicFilesBadRequest as PublicFilesBadRequest, errors_PublicForkVmNotFound as PublicForkVmNotFound, errors_PublicGetContentFailed as PublicGetContentFailed, errors_PublicGetPermissionFailed as PublicGetPermissionFailed, errors_PublicGetRepositoryInfoFailed as PublicGetRepositoryInfoFailed, errors_PublicGitHubSyncFailed as PublicGitHubSyncFailed, errors_PublicGitInvalidRequest as PublicGitInvalidRequest, errors_PublicGitServerError as PublicGitServerError, errors_PublicGrantPermissionFailed as PublicGrantPermissionFailed, errors_PublicGroupAlreadyExists as PublicGroupAlreadyExists, errors_PublicIdentityError as PublicIdentityError, errors_PublicImportSubdirNotFound as PublicImportSubdirNotFound, errors_PublicInternalForkVmNotFound as PublicInternalForkVmNotFound, errors_PublicInternalVmNotFound as PublicInternalVmNotFound, errors_PublicInvalid as PublicInvalid, errors_PublicInvalidAccountId as PublicInvalidAccountId, errors_PublicInvalidBase64Content as PublicInvalidBase64Content, errors_PublicInvalidDeploymentRequest as PublicInvalidDeploymentRequest, errors_PublicInvalidDomain as PublicInvalidDomain, errors_PublicInvalidDomains as PublicInvalidDomains, errors_PublicInvalidFileChange as PublicInvalidFileChange, errors_PublicInvalidFilePath as PublicInvalidFilePath, errors_PublicInvalidQuery as PublicInvalidQuery, errors_PublicInvalidRange as PublicInvalidRange, errors_PublicInvalidRevision as PublicInvalidRevision, errors_PublicInvalidVmId as PublicInvalidVmId, errors_PublicLimitExceeded as PublicLimitExceeded, errors_PublicListIdentitiesFailed as PublicListIdentitiesFailed, errors_PublicListPermissionsFailed as PublicListPermissionsFailed, errors_PublicListRepositoriesFailed as PublicListRepositoriesFailed, errors_PublicListRunsFailed as PublicListRunsFailed, errors_PublicListTokensFailed as PublicListTokensFailed, errors_PublicLockGenerationFailed as PublicLockGenerationFailed, errors_PublicLockfileError as PublicLockfileError, errors_PublicLoggingFailed as PublicLoggingFailed, errors_PublicLogsNotFound as PublicLogsNotFound, errors_PublicMetadataWriteFailed as PublicMetadataWriteFailed, errors_PublicNetworkPermissionsFailed as PublicNetworkPermissionsFailed, errors_PublicNoDomainOwnership as PublicNoDomainOwnership, errors_PublicNodeModulesDownloadFailed as PublicNodeModulesDownloadFailed, errors_PublicNodeModulesInstallFailed as PublicNodeModulesInstallFailed, errors_PublicNotFound as PublicNotFound, errors_PublicObservabilityAccessDenied as PublicObservabilityAccessDenied, errors_PublicObservabilityDatabaseError as PublicObservabilityDatabaseError, errors_PublicParentNotFound as PublicParentNotFound, errors_PublicParseLogsFailed as PublicParseLogsFailed, errors_PublicParseResponseError as PublicParseResponseError, errors_PublicPathNotFound as PublicPathNotFound, errors_PublicPermissionDenied as PublicPermissionDenied, errors_PublicPermissionError as PublicPermissionError, errors_PublicProjectNotFound as PublicProjectNotFound, errors_PublicRecordOwnershipError as PublicRecordOwnershipError, errors_PublicReferenceNotFound as PublicReferenceNotFound, errors_PublicRepoAlreadyExists as PublicRepoAlreadyExists, errors_PublicRepositoryNotFound as PublicRepositoryNotFound, errors_PublicResizeFailed as PublicResizeFailed, errors_PublicRestoreFailed as PublicRestoreFailed, errors_PublicRetrieveLogsFailed as PublicRetrieveLogsFailed, errors_PublicRevokePermissionFailed as PublicRevokePermissionFailed, errors_PublicRevokeTokenFailed as PublicRevokeTokenFailed, errors_PublicRunNotFound as PublicRunNotFound, errors_PublicRuntimeError as PublicRuntimeError, errors_PublicSerializationError as PublicSerializationError, errors_PublicServiceAlreadyExists as PublicServiceAlreadyExists, errors_PublicSnapshotNotFound as PublicSnapshotNotFound, errors_PublicSnapshotSetupFailed as PublicSnapshotSetupFailed, errors_PublicSnapshotVmBadRequest as PublicSnapshotVmBadRequest, errors_PublicSourceNotFound as PublicSourceNotFound, errors_PublicSourceUnauthorized as PublicSourceUnauthorized, errors_PublicTagNotFound as PublicTagNotFound, errors_PublicTimeoutLimitExceeded as PublicTimeoutLimitExceeded, errors_PublicTokenError as PublicTokenError, errors_PublicTreeNotFound as PublicTreeNotFound, errors_PublicTriggerError as PublicTriggerError, errors_PublicUnsupportedTransfer as PublicUnsupportedTransfer, errors_PublicUpdateDefaultBranchFailed as PublicUpdateDefaultBranchFailed, errors_PublicUpdatePermissionFailed as PublicUpdatePermissionFailed, errors_PublicUserAlreadyExists as PublicUserAlreadyExists, errors_PublicVerificationFailed as PublicVerificationFailed, errors_PublicVerificationNotFound as PublicVerificationNotFound, errors_PublicVmAccessDeniedForMapping as PublicVmAccessDeniedForMapping, errors_PublicWebDeploymentBadRequest as PublicWebDeploymentBadRequest, errors_PublicWriteScriptFailed as PublicWriteScriptFailed, errors_SnapshotId as SnapshotId, errors_UnauthorizedErrorPublic as UnauthorizedErrorPublic, errors_VmNotFoundPublic as VmNotFoundPublic, errors_VmOperationDeniedDuringTransactionPublic as VmOperationDeniedDuringTransactionPublic, errors_VmSetupFailedPublic as VmSetupFailedPublic, errors_VmTransactionIdMismatchPublic as VmTransactionIdMismatchPublic };
10110
+ export type { errors_FreestyleError as FreestyleError, errors_InvalidGitRepoSpecErrorPublic as InvalidGitRepoSpecErrorPublic, errors_InvalidObjectIdPublic as InvalidObjectIdPublic, errors_JavascriptLog as JavascriptLog, errors_LfsTransferAdapter as LfsTransferAdapter, errors_PostBootDiagnostics as PostBootDiagnostics, errors_PublicAmbiguous as PublicAmbiguous, errors_PublicBackupFailed as PublicBackupFailed, errors_PublicBadRequest as PublicBadRequest, errors_PublicBlobNotFound as PublicBlobNotFound, errors_PublicBranchAlreadyExists as PublicBranchAlreadyExists, errors_PublicBranchNotFound as PublicBranchNotFound, errors_PublicBuildFailed as PublicBuildFailed, errors_PublicCertificateProvisioningError as PublicCertificateProvisioningError, errors_PublicCloudstateAccessDenied as PublicCloudstateAccessDenied, errors_PublicCloudstateDatabaseError as PublicCloudstateDatabaseError, errors_PublicCloudstateInternalError as PublicCloudstateInternalError, errors_PublicCommitNotFound as PublicCommitNotFound, errors_PublicCommitNotInBranch as PublicCommitNotInBranch, errors_PublicConflictingParent as PublicConflictingParent, errors_PublicConnectionFailed as PublicConnectionFailed, errors_PublicContentNotFound as PublicContentNotFound, errors_PublicCreateBackupFailed as PublicCreateBackupFailed, errors_PublicCreateIdentityFailed as PublicCreateIdentityFailed, errors_PublicCreateRepositoryFailed as PublicCreateRepositoryFailed, errors_PublicCreateSnapshotBadRequest as PublicCreateSnapshotBadRequest, errors_PublicCreateTokenFailed as PublicCreateTokenFailed, errors_PublicCreateVmBadRequest as PublicCreateVmBadRequest, errors_PublicDeleteIdentityFailed as PublicDeleteIdentityFailed, errors_PublicDeleteRepositoryFailed as PublicDeleteRepositoryFailed, errors_PublicDeploymentAccessDenied as PublicDeploymentAccessDenied, errors_PublicDeploymentFailed as PublicDeploymentFailed, errors_PublicDeploymentLimitExceeded as PublicDeploymentLimitExceeded, errors_PublicDirectoryCreationFailed as PublicDirectoryCreationFailed, errors_PublicDomainAlreadyExists as PublicDomainAlreadyExists, errors_PublicDomainMappingError as PublicDomainMappingError, errors_PublicDomainOwnershipError as PublicDomainOwnershipError, errors_PublicDomainOwnershipNotVerified as PublicDomainOwnershipNotVerified, errors_PublicDownloadFailed as PublicDownloadFailed, errors_PublicEntrypointNotFound as PublicEntrypointNotFound, errors_PublicErrorCreatingRecord as PublicErrorCreatingRecord, errors_PublicErrorDeletingRecord as PublicErrorDeletingRecord, errors_PublicExecuteInternalError as PublicExecuteInternalError, errors_PublicExecutionError as PublicExecutionError, errors_PublicFailedInsertDomainMapping as PublicFailedInsertDomainMapping, errors_PublicFailedPermissionsCheck as PublicFailedPermissionsCheck, errors_PublicFailedRemoveDomainMapping as PublicFailedRemoveDomainMapping, errors_PublicFailedToCheckDomainMappingPermissions as PublicFailedToCheckDomainMappingPermissions, errors_PublicFailedToCheckPermissions as PublicFailedToCheckPermissions, errors_PublicFailedToCreateVerificationCode as PublicFailedToCreateVerificationCode, errors_PublicFailedToDeleteVerification as PublicFailedToDeleteVerification, errors_PublicFailedToInsertDomainMapping as PublicFailedToInsertDomainMapping, errors_PublicFailedToInsertOwnership as PublicFailedToInsertOwnership, errors_PublicFailedToListDomains as PublicFailedToListDomains, errors_PublicFailedToListVerifications as PublicFailedToListVerifications, errors_PublicFailedToProvisionCertificate as PublicFailedToProvisionCertificate, errors_PublicFailedToProvisionCertificateForMapping as PublicFailedToProvisionCertificateForMapping, errors_PublicFailedToVerifyDomain as PublicFailedToVerifyDomain, errors_PublicFileNotFound as PublicFileNotFound, errors_PublicFilesBadRequest as PublicFilesBadRequest, errors_PublicForkVmNotFound as PublicForkVmNotFound, errors_PublicGetContentFailed as PublicGetContentFailed, errors_PublicGetPermissionFailed as PublicGetPermissionFailed, errors_PublicGetRepositoryInfoFailed as PublicGetRepositoryInfoFailed, errors_PublicGitHubSyncFailed as PublicGitHubSyncFailed, errors_PublicGitInvalidRequest as PublicGitInvalidRequest, errors_PublicGitServerError as PublicGitServerError, errors_PublicGrantPermissionFailed as PublicGrantPermissionFailed, errors_PublicGroupAlreadyExists as PublicGroupAlreadyExists, errors_PublicIdentityError as PublicIdentityError, errors_PublicImportSubdirNotFound as PublicImportSubdirNotFound, errors_PublicInternalForkVmNotFound as PublicInternalForkVmNotFound, errors_PublicInternalVmNotFound as PublicInternalVmNotFound, errors_PublicInvalid as PublicInvalid, errors_PublicInvalidAccountId as PublicInvalidAccountId, errors_PublicInvalidBase64Content as PublicInvalidBase64Content, errors_PublicInvalidDeploymentRequest as PublicInvalidDeploymentRequest, errors_PublicInvalidDomain as PublicInvalidDomain, errors_PublicInvalidDomains as PublicInvalidDomains, errors_PublicInvalidFileChange as PublicInvalidFileChange, errors_PublicInvalidFilePath as PublicInvalidFilePath, errors_PublicInvalidQuery as PublicInvalidQuery, errors_PublicInvalidRange as PublicInvalidRange, errors_PublicInvalidRevision as PublicInvalidRevision, errors_PublicInvalidVmId as PublicInvalidVmId, errors_PublicLimitExceeded as PublicLimitExceeded, errors_PublicListIdentitiesFailed as PublicListIdentitiesFailed, errors_PublicListPermissionsFailed as PublicListPermissionsFailed, errors_PublicListRepositoriesFailed as PublicListRepositoriesFailed, errors_PublicListRunsFailed as PublicListRunsFailed, errors_PublicListTokensFailed as PublicListTokensFailed, errors_PublicLockGenerationFailed as PublicLockGenerationFailed, errors_PublicLockfileError as PublicLockfileError, errors_PublicLoggingFailed as PublicLoggingFailed, errors_PublicLogsNotFound as PublicLogsNotFound, errors_PublicMetadataWriteFailed as PublicMetadataWriteFailed, errors_PublicNetworkPermissionsFailed as PublicNetworkPermissionsFailed, errors_PublicNoDomainOwnership as PublicNoDomainOwnership, errors_PublicNodeModulesDownloadFailed as PublicNodeModulesDownloadFailed, errors_PublicNodeModulesInstallFailed as PublicNodeModulesInstallFailed, errors_PublicNotFound as PublicNotFound, errors_PublicObservabilityAccessDenied as PublicObservabilityAccessDenied, errors_PublicObservabilityDatabaseError as PublicObservabilityDatabaseError, errors_PublicParentNotFound as PublicParentNotFound, errors_PublicParseLogsFailed as PublicParseLogsFailed, errors_PublicParseResponseError as PublicParseResponseError, errors_PublicPathNotFound as PublicPathNotFound, errors_PublicPermissionDenied as PublicPermissionDenied, errors_PublicPermissionError as PublicPermissionError, errors_PublicProjectNotFound as PublicProjectNotFound, errors_PublicRecordOwnershipError as PublicRecordOwnershipError, errors_PublicReferenceNotFound as PublicReferenceNotFound, errors_PublicRepoAlreadyExists as PublicRepoAlreadyExists, errors_PublicRepositoryNotFound as PublicRepositoryNotFound, errors_PublicResizeFailed as PublicResizeFailed, errors_PublicRestoreFailed as PublicRestoreFailed, errors_PublicRetrieveLogsFailed as PublicRetrieveLogsFailed, errors_PublicRevokePermissionFailed as PublicRevokePermissionFailed, errors_PublicRevokeTokenFailed as PublicRevokeTokenFailed, errors_PublicRunNotFound as PublicRunNotFound, errors_PublicRuntimeError as PublicRuntimeError, errors_PublicSerializationError as PublicSerializationError, errors_PublicServiceAlreadyExists as PublicServiceAlreadyExists, errors_PublicSnapshotNotFound as PublicSnapshotNotFound, errors_PublicSnapshotSetupFailed as PublicSnapshotSetupFailed, errors_PublicSnapshotVmBadRequest as PublicSnapshotVmBadRequest, errors_PublicSourceNotFound as PublicSourceNotFound, errors_PublicSourceUnauthorized as PublicSourceUnauthorized, errors_PublicTagNotFound as PublicTagNotFound, errors_PublicTimeoutLimitExceeded as PublicTimeoutLimitExceeded, errors_PublicTokenError as PublicTokenError, errors_PublicTreeNotFound as PublicTreeNotFound, errors_PublicTriggerError as PublicTriggerError, errors_PublicUnsupportedTransfer as PublicUnsupportedTransfer, errors_PublicUpdateDefaultBranchFailed as PublicUpdateDefaultBranchFailed, errors_PublicUpdatePermissionFailed as PublicUpdatePermissionFailed, errors_PublicUserAlreadyExists as PublicUserAlreadyExists, errors_PublicVerificationFailed as PublicVerificationFailed, errors_PublicVerificationNotFound as PublicVerificationNotFound, errors_PublicVmAccessDeniedForMapping as PublicVmAccessDeniedForMapping, errors_PublicWebDeploymentBadRequest as PublicWebDeploymentBadRequest, errors_PublicWriteScriptFailed as PublicWriteScriptFailed, errors_ServiceLog as ServiceLog, errors_ServiceStateGroup as ServiceStateGroup, errors_SnapshotId as SnapshotId, errors_UnauthorizedErrorPublic as UnauthorizedErrorPublic, errors_VmNotFoundPublic as VmNotFoundPublic, errors_VmOperationDeniedDuringTransactionPublic as VmOperationDeniedDuringTransactionPublic, errors_VmSetupFailedPublic as VmSetupFailedPublic, errors_VmTransactionIdMismatchPublic as VmTransactionIdMismatchPublic };
10093
10111
  }
10094
10112
 
10095
10113
  /**
@@ -12274,6 +12292,9 @@ type SystemdServiceInput = Omit<RawSystemdService, "mode" | "exec"> & {
12274
12292
  */
12275
12293
  bash?: string;
12276
12294
  };
12295
+ type VmWaitForConfig = Omit<SystemdServiceInput, "mode" | "exec" | "bash" | "deleteAfterSuccess"> & {
12296
+ intervalSeconds?: number;
12297
+ };
12277
12298
  /**
12278
12299
  * Terminal management operations for a VM.
12279
12300
  */
@@ -12381,8 +12402,10 @@ declare class Vm {
12381
12402
  * @returns A new VM instance representing the forked VM
12382
12403
  */
12383
12404
  fork({ ...options }?: PostV1VmsVmIdForkRequestBody): Promise<{
12384
- vmId: string;
12385
- vm: Vm;
12405
+ forks: {
12406
+ vmId: string;
12407
+ vm: Vm;
12408
+ }[];
12386
12409
  }>;
12387
12410
  /**
12388
12411
  * Optimize the VM (compact memory/disk).
@@ -12479,6 +12502,7 @@ declare class VmSpec<T extends Record<string, VmWithLike> = {}> {
12479
12502
  groups(groups: NonNullable<CreateVmOptions["groups"]>): this;
12480
12503
  additionalFiles(files: NonNullable<CreateVmOptions["additionalFiles"]>): this;
12481
12504
  runCommands(...commands: string[]): this;
12505
+ waitFor(command: string, config?: VmWaitForConfig): this;
12482
12506
  repo(repo: string, path: string): this;
12483
12507
  systemdService(service: SystemdServiceInput): this;
12484
12508
  }
@@ -12491,6 +12515,11 @@ declare class VmsNamespace {
12491
12515
  * @param options Optional VM configuration
12492
12516
  * @returns A VM instance representing the created VM
12493
12517
  */
12518
+ create(): Promise<Omit<ResponsePostV1Vms200, "consoleUrl"> & {
12519
+ vmId: string;
12520
+ vm: Vm;
12521
+ domains: string[];
12522
+ }>;
12494
12523
  create<T extends Record<string, VmWithLike>>(spec: VmSpec<T>): Promise<Omit<ResponsePostV1Vms200, "consoleUrl"> & {
12495
12524
  vmId: string;
12496
12525
  vm: Vm & {
@@ -12714,4 +12743,4 @@ declare class Freestyle {
12714
12743
  declare const freestyle: Freestyle;
12715
12744
 
12716
12745
  export { CronNamespace, Deployment, errors as Errors, FileSystem, Freestyle, GitRepo, Identity, requests as Requests, responses as Responses, Systemd, SystemdService, Vm, VmBaseImage, VmBuilder, VmService, VmSpec, VmTemplate, VmWith, VmWithInstance, debugCreateRequests, freestyle, readFiles };
12717
- export type { CreateVmOptions, CronSchedule, FreestyleOptions, SystemdServiceInput, VmWithDefaultFieldRecord };
12746
+ export type { CreateVmOptions, CronSchedule, FreestyleOptions, SystemdServiceInput, VmWaitForConfig, VmWithDefaultFieldRecord };
package/index.d.mts CHANGED
@@ -7301,9 +7301,24 @@ declare class CreateVmBadRequestError extends Error {
7301
7301
  static readonly description: string;
7302
7302
  constructor(body: PublicCreateVmBadRequest & FreestyleError);
7303
7303
  }
7304
+ interface ServiceStateGroup {
7305
+ activeState: string;
7306
+ subState: string;
7307
+ services: string[];
7308
+ }
7309
+ interface ServiceLog {
7310
+ unitName: string;
7311
+ log: string;
7312
+ }
7313
+ interface PostBootDiagnostics {
7314
+ serviceStates: ServiceStateGroup[];
7315
+ failedServiceLogs: ServiceLog[];
7316
+ additionalFailedServiceLogs: ServiceLog[];
7317
+ }
7304
7318
  interface VmSetupFailedPublic {
7305
7319
  snapshotId?: string | null;
7306
7320
  failedReason: string;
7321
+ diagnostics?: PostBootDiagnostics | null;
7307
7322
  [k: string]: unknown;
7308
7323
  }
7309
7324
  declare class VmSetupFailedError extends Error {
@@ -9760,6 +9775,7 @@ type errors_PermissionNotFoundError = PermissionNotFoundError;
9760
9775
  declare const errors_PermissionNotFoundError: typeof PermissionNotFoundError;
9761
9776
  type errors_PersistentVmsNotAllowedError = PersistentVmsNotAllowedError;
9762
9777
  declare const errors_PersistentVmsNotAllowedError: typeof PersistentVmsNotAllowedError;
9778
+ type errors_PostBootDiagnostics = PostBootDiagnostics;
9763
9779
  type errors_ProjectNotFoundError = ProjectNotFoundError;
9764
9780
  declare const errors_ProjectNotFoundError: typeof ProjectNotFoundError;
9765
9781
  type errors_PublicAmbiguous = PublicAmbiguous;
@@ -9942,6 +9958,7 @@ type errors_ServerDeploymentFailedError = ServerDeploymentFailedError;
9942
9958
  declare const errors_ServerDeploymentFailedError: typeof ServerDeploymentFailedError;
9943
9959
  type errors_ServiceAlreadyExistsError = ServiceAlreadyExistsError;
9944
9960
  declare const errors_ServiceAlreadyExistsError: typeof ServiceAlreadyExistsError;
9961
+ type errors_ServiceLog = ServiceLog;
9945
9962
  type errors_ServiceNameEmptyError = ServiceNameEmptyError;
9946
9963
  declare const errors_ServiceNameEmptyError: typeof ServiceNameEmptyError;
9947
9964
  type errors_ServiceNameInvalidCharsError = ServiceNameInvalidCharsError;
@@ -9952,6 +9969,7 @@ type errors_ServiceNameTooLongError = ServiceNameTooLongError;
9952
9969
  declare const errors_ServiceNameTooLongError: typeof ServiceNameTooLongError;
9953
9970
  type errors_ServiceNotFoundError = ServiceNotFoundError;
9954
9971
  declare const errors_ServiceNotFoundError: typeof ServiceNotFoundError;
9972
+ type errors_ServiceStateGroup = ServiceStateGroup;
9955
9973
  type errors_ServiceUnavailableError = ServiceUnavailableError;
9956
9974
  declare const errors_ServiceUnavailableError: typeof ServiceUnavailableError;
9957
9975
  type errors_SetDefaultSnapshotFailedError = SetDefaultSnapshotFailedError;
@@ -10089,7 +10107,7 @@ declare const errors_WriteScriptFailedError: typeof WriteScriptFailedError;
10089
10107
  declare const errors_errorFromJSON: typeof errorFromJSON;
10090
10108
  declare namespace errors {
10091
10109
  export { errors_AccessDeniedError as AccessDeniedError, errors_ActiveTransactionErrorError as ActiveTransactionErrorError, errors_AfterArrayContainsEmptyError as AfterArrayContainsEmptyError, errors_AmbiguousError as AmbiguousError, errors_BackupFailedError as BackupFailedError, errors_BadHeaderError as BadHeaderError, errors_BadKeyError as BadKeyError, errors_BadParseError as BadParseError, errors_BadRequestError as BadRequestError, errors_BadSignatureError as BadSignatureError, errors_BadTimestampError as BadTimestampError, errors_BlobNotFoundError as BlobNotFoundError, errors_BranchAlreadyExistsError as BranchAlreadyExistsError, errors_BranchNameEmptyError as BranchNameEmptyError, errors_BranchNotFoundError as BranchNotFoundError, errors_BuildFailedError as BuildFailedError, errors_CannotDeleteManagedIdentityError as CannotDeleteManagedIdentityError, errors_CannotModifyManagedIdentityError as CannotModifyManagedIdentityError, errors_CertificateProvisioningErrorError as CertificateProvisioningErrorError, errors_CloudstateAccessDeniedError as CloudstateAccessDeniedError, errors_CloudstateDatabaseErrorError as CloudstateDatabaseErrorError, errors_CloudstateInternalErrorError as CloudstateInternalErrorError, errors_CommitNotFoundError as CommitNotFoundError, errors_CommitNotInBranchError as CommitNotInBranchError, errors_ConflictError as ConflictError, errors_ConflictingParentError as ConflictingParentError, errors_ConnectionFailedError as ConnectionFailedError, errors_ContentNotFoundError as ContentNotFoundError, errors_CreateBackupFailedError as CreateBackupFailedError, errors_CreateIdentityFailedError as CreateIdentityFailedError, errors_CreateRepositoryFailedError as CreateRepositoryFailedError, errors_CreateSnapshotBadRequestError as CreateSnapshotBadRequestError, errors_CreateTokenFailedError as CreateTokenFailedError, errors_CreateVmBadRequestError as CreateVmBadRequestError, errors_DatabaseErrorError as DatabaseErrorError, errors_DeleteIdentityFailedError as DeleteIdentityFailedError, errors_DeleteRepositoryFailedError as DeleteRepositoryFailedError, errors_DeploymentAccessDeniedError as DeploymentAccessDeniedError, errors_DeploymentFailedError as DeploymentFailedError, errors_DeploymentLimitExceededError as DeploymentLimitExceededError, errors_DeploymentNotFoundError as DeploymentNotFoundError, errors_DirectoryCreationFailedError as DirectoryCreationFailedError, errors_DockerSnapshotFailedError as DockerSnapshotFailedError, errors_DomainAlreadyExistsError as DomainAlreadyExistsError, errors_DomainMappingErrorError as DomainMappingErrorError, errors_DomainOwnershipErrorError as DomainOwnershipErrorError, errors_DomainOwnershipNotVerifiedError as DomainOwnershipNotVerifiedError, errors_DomainOwnershipVerificationFailedError as DomainOwnershipVerificationFailedError, errors_DownloadFailedError as DownloadFailedError, errors_DuplicateGroupNameError as DuplicateGroupNameError, errors_DuplicateUserNameError as DuplicateUserNameError, errors_EmptyTagError as EmptyTagError, errors_EntrypointNotFoundError as EntrypointNotFoundError, errors_EnvKeyContainsEqualsError as EnvKeyContainsEqualsError, errors_EnvKeyEmptyError as EnvKeyEmptyError, errors_ErrorCreatingRecordError as ErrorCreatingRecordError, errors_ErrorDeletingRecordError as ErrorDeletingRecordError, errors_ExecEmptyError as ExecEmptyError, errors_ExecuteAccessDeniedError as ExecuteAccessDeniedError, errors_ExecuteInternalErrorError as ExecuteInternalErrorError, errors_ExecuteLimitExceededError as ExecuteLimitExceededError, errors_ExecutionErrorError as ExecutionErrorError, errors_ExpectedServiceError as ExpectedServiceError, errors_ExpiredError as ExpiredError, errors_FREESTYLE_ERROR_CODE_MAP as FREESTYLE_ERROR_CODE_MAP, errors_FailedInsertDomainMappingError as FailedInsertDomainMappingError, errors_FailedPermissionsCheckError as FailedPermissionsCheckError, errors_FailedRemoveDomainMappingError as FailedRemoveDomainMappingError, errors_FailedToCheckDomainMappingPermissionsError as FailedToCheckDomainMappingPermissionsError, errors_FailedToCheckPermissionsError as FailedToCheckPermissionsError, errors_FailedToCreateVerificationCodeError as FailedToCreateVerificationCodeError, errors_FailedToDeleteVerificationError as FailedToDeleteVerificationError, errors_FailedToInsertDomainMappingError as FailedToInsertDomainMappingError, errors_FailedToInsertOwnershipError as FailedToInsertOwnershipError, errors_FailedToListDomainsError as FailedToListDomainsError, errors_FailedToListVerificationsError as FailedToListVerificationsError, errors_FailedToProvisionCertificateError as FailedToProvisionCertificateError, errors_FailedToProvisionCertificateForMappingError as FailedToProvisionCertificateForMappingError, errors_FailedToSpawnUffdError as FailedToSpawnUffdError, errors_FailedToVerifyDomainError as FailedToVerifyDomainError, errors_FileNotFoundError as FileNotFoundError, errors_FilesBadRequestError as FilesBadRequestError, errors_FirecrackerApiSocketNotFoundError as FirecrackerApiSocketNotFoundError, errors_FirecrackerPidNotFoundError as FirecrackerPidNotFoundError, errors_ForbiddenError as ForbiddenError, errors_ForkVmNotFoundError as ForkVmNotFoundError, errors_GetContentFailedError as GetContentFailedError, errors_GetDefaultSnapshotFailedError as GetDefaultSnapshotFailedError, errors_GetPermissionFailedError as GetPermissionFailedError, errors_GetRepositoryInfoFailedError as GetRepositoryInfoFailedError, errors_GitErrorError as GitErrorError, errors_GitHubSyncConflictError as GitHubSyncConflictError, errors_GitHubSyncFailedError as GitHubSyncFailedError, errors_GitInvalidRequestError as GitInvalidRequestError, errors_GitRepoLimitExceededError as GitRepoLimitExceededError, errors_GitRepositoryAccessDeniedError as GitRepositoryAccessDeniedError, errors_GitRepositoryNotFoundError as GitRepositoryNotFoundError, errors_GitServerErrorError as GitServerErrorError, errors_GrantPermissionFailedError as GrantPermissionFailedError, errors_GroupAlreadyExistsError as GroupAlreadyExistsError, errors_GroupEmptyError as GroupEmptyError, errors_GroupNameEmptyError as GroupNameEmptyError, errors_GroupNameInvalidCharsError as GroupNameInvalidCharsError, errors_GroupNameReservedError as GroupNameReservedError, errors_GroupNameTooLongError as GroupNameTooLongError, errors_GroupNotFoundError as GroupNotFoundError, errors_IdentityAccessDeniedError as IdentityAccessDeniedError, errors_IdentityErrorError as IdentityErrorError, errors_IdentityNotFoundError as IdentityNotFoundError, errors_ImportSubdirNotFoundError as ImportSubdirNotFoundError, errors_InternalError as InternalError, errors_InternalErrorError as InternalErrorError, errors_InternalForkVmNotFoundError as InternalForkVmNotFoundError, errors_InternalResizeVmNotFoundError as InternalResizeVmNotFoundError, errors_InternalVmNotFoundError as InternalVmNotFoundError, errors_InvalidAccountIdError as InvalidAccountIdError, errors_InvalidBase64ContentError as InvalidBase64ContentError, errors_InvalidDeploymentRequestError as InvalidDeploymentRequestError, errors_InvalidDomainError as InvalidDomainError, errors_InvalidDomainsError as InvalidDomainsError, errors_InvalidError as InvalidError, errors_InvalidFileChangeError as InvalidFileChangeError, errors_InvalidFilePathError as InvalidFilePathError, errors_InvalidGitRepoSpecErrorError as InvalidGitRepoSpecErrorError, errors_InvalidObjectIdError as InvalidObjectIdError, errors_InvalidParametersError as InvalidParametersError, errors_InvalidQueryError as InvalidQueryError, errors_InvalidRangeError as InvalidRangeError, errors_InvalidRequestError as InvalidRequestError, errors_InvalidRevisionError as InvalidRevisionError, errors_InvalidServiceError as InvalidServiceError, errors_InvalidSignatureError as InvalidSignatureError, errors_InvalidSnapshotIdError as InvalidSnapshotIdError, errors_InvalidVmIdError as InvalidVmIdError, errors_KernelPanicError as KernelPanicError, errors_LimitExceededError as LimitExceededError, errors_ListIdentitiesFailedError as ListIdentitiesFailedError, errors_ListPermissionsFailedError as ListPermissionsFailedError, errors_ListRepositoriesFailedError as ListRepositoriesFailedError, errors_ListRunsFailedError as ListRunsFailedError, errors_ListTokensFailedError as ListTokensFailedError, errors_LockGenerationFailedError as LockGenerationFailedError, errors_LockfileErrorError as LockfileErrorError, errors_LoggingFailedError as LoggingFailedError, errors_LogsNotFoundError as LogsNotFoundError, errors_MaxUsesExceededError as MaxUsesExceededError, errors_MetadataWriteFailedError as MetadataWriteFailedError, errors_NetworkPermissionsFailedError as NetworkPermissionsFailedError, errors_NoDefaultBranchError as NoDefaultBranchError, errors_NoDefaultSnapshotAvailableError as NoDefaultSnapshotAvailableError, errors_NoDomainOwnershipError as NoDomainOwnershipError, errors_NoEntrypointFoundError as NoEntrypointFoundError, errors_NodeModulesDownloadFailedError as NodeModulesDownloadFailedError, errors_NodeModulesInstallFailedError as NodeModulesInstallFailedError, errors_NotFoundError as NotFoundError, errors_ObservabilityAccessDeniedError as ObservabilityAccessDeniedError, errors_ObservabilityDatabaseErrorError as ObservabilityDatabaseErrorError, errors_OffsetWithSelectorError as OffsetWithSelectorError, errors_OnFailureArrayContainsEmptyError as OnFailureArrayContainsEmptyError, errors_PackfileError as PackfileError, errors_ParentNotFoundError as ParentNotFoundError, errors_ParseLogsFailedError as ParseLogsFailedError, errors_ParseResponseErrorError as ParseResponseErrorError, errors_PartitionNotFoundError as PartitionNotFoundError, errors_PathNotFoundError as PathNotFoundError, errors_PermissionAlreadyExistsError as PermissionAlreadyExistsError, errors_PermissionDeniedError as PermissionDeniedError, errors_PermissionErrorError as PermissionErrorError, errors_PermissionNotFoundError as PermissionNotFoundError, errors_PersistentVmsNotAllowedError as PersistentVmsNotAllowedError, errors_ProjectNotFoundError as ProjectNotFoundError, errors_RecordOwnershipErrorError as RecordOwnershipErrorError, errors_ReferenceNotFoundError as ReferenceNotFoundError, errors_RepoAlreadyExistsError as RepoAlreadyExistsError, errors_RepoNotFoundError as RepoNotFoundError, errors_RepositoryAccessDeniedError as RepositoryAccessDeniedError, errors_RepositoryNotFoundError as RepositoryNotFoundError, errors_RequiresArrayContainsEmptyError as RequiresArrayContainsEmptyError, errors_ReqwestError as ReqwestError, errors_ResizeFailedError as ResizeFailedError, errors_RestoreFailedError as RestoreFailedError, errors_ResumedVmNonResponsiveError as ResumedVmNonResponsiveError, errors_RetrieveLogsFailedError as RetrieveLogsFailedError, errors_RevokePermissionFailedError as RevokePermissionFailedError, errors_RevokeTokenFailedError as RevokeTokenFailedError, errors_RootfsCopyErrorError as RootfsCopyErrorError, errors_RunNotFoundError as RunNotFoundError, errors_RuntimeErrorError as RuntimeErrorError, errors_ScheduleNotFoundError as ScheduleNotFoundError, errors_SendErrorError as SendErrorError, errors_SerializationErrorError as SerializationErrorError, errors_ServerDeploymentFailedError as ServerDeploymentFailedError, errors_ServiceAlreadyExistsError as ServiceAlreadyExistsError, errors_ServiceNameEmptyError as ServiceNameEmptyError, errors_ServiceNameInvalidCharsError as ServiceNameInvalidCharsError, errors_ServiceNameInvalidPrefixError as ServiceNameInvalidPrefixError, errors_ServiceNameTooLongError as ServiceNameTooLongError, errors_ServiceNotFoundError as ServiceNotFoundError, errors_ServiceUnavailableError as ServiceUnavailableError, errors_SetDefaultSnapshotFailedError as SetDefaultSnapshotFailedError, errors_SigningError as SigningError, errors_SnapshotDirNotFoundError as SnapshotDirNotFoundError, errors_SnapshotLayerCreationFailedError as SnapshotLayerCreationFailedError, errors_SnapshotLoadTimeoutError as SnapshotLoadTimeoutError, errors_SnapshotNotFoundError as SnapshotNotFoundError, errors_SnapshotSetupFailedError as SnapshotSetupFailedError, errors_SnapshotVmBadRequestError as SnapshotVmBadRequestError, errors_SourceImportConflictError as SourceImportConflictError, errors_SourceNotFoundError as SourceNotFoundError, errors_SourceUnauthorizedError as SourceUnauthorizedError, errors_StdIoError as StdIoError, errors_SubvolumeCreationFailedError as SubvolumeCreationFailedError, errors_SuspendFailedAndStopFailedError as SuspendFailedAndStopFailedError, errors_SuspendFailedAndStoppedError as SuspendFailedAndStoppedError, errors_SwapVmTapError as SwapVmTapError, errors_SyntaxErrorError as SyntaxErrorError, errors_TagNotFoundError as TagNotFoundError, errors_TimeoutLimitExceededError as TimeoutLimitExceededError, errors_TokenErrorError as TokenErrorError, errors_TotalVmLimitExceededError as TotalVmLimitExceededError, errors_TreeNotFoundError as TreeNotFoundError, errors_TriggerErrorError as TriggerErrorError, errors_UffdTimeoutErrorError as UffdTimeoutErrorError, errors_UnauthorizedError as UnauthorizedError, errors_UnauthorizedErrorError as UnauthorizedErrorError, errors_UnavailableError as UnavailableError, errors_UnsupportedTransferError as UnsupportedTransferError, errors_UpdateDefaultBranchFailedError as UpdateDefaultBranchFailedError, errors_UpdatePermissionFailedError as UpdatePermissionFailedError, errors_UploadErrorError as UploadErrorError, errors_UserAlreadyExistsError as UserAlreadyExistsError, errors_UserEmptyError as UserEmptyError, errors_UserGroupEmptyError as UserGroupEmptyError, errors_UserHomeInvalidError as UserHomeInvalidError, errors_UserNotFoundError as UserNotFoundError, errors_UserShellInvalidError as UserShellInvalidError, errors_UserSystemFlagMismatchError as UserSystemFlagMismatchError, errors_UserUidOutOfRangeError as UserUidOutOfRangeError, errors_ValidationErrorError as ValidationErrorError, errors_VerificationFailedError as VerificationFailedError, errors_VerificationNotFoundError as VerificationNotFoundError, errors_VmAccessDeniedError as VmAccessDeniedError, errors_VmAccessDeniedForMappingError as VmAccessDeniedForMappingError, errors_VmDeletedError as VmDeletedError, errors_VmExitDuringStartError as VmExitDuringStartError, errors_VmIsSuspendingError as VmIsSuspendingError, errors_VmLimitExceededError as VmLimitExceededError, errors_VmNotFoundError as VmNotFoundError, errors_VmNotFoundInFsError as VmNotFoundInFsError, errors_VmNotInTransactionError as VmNotInTransactionError, errors_VmNotRunningError as VmNotRunningError, errors_VmOperationDeniedDuringTransactionError as VmOperationDeniedDuringTransactionError, errors_VmPermissionNotFoundError as VmPermissionNotFoundError, errors_VmSetupFailedError as VmSetupFailedError, errors_VmSpawnProcessError as VmSpawnProcessError, errors_VmStartTimeoutError as VmStartTimeoutError, errors_VmSubnetNotFoundError as VmSubnetNotFoundError, errors_VmTransactionIdMismatchError as VmTransactionIdMismatchError, errors_WantedByEmptyError as WantedByEmptyError, errors_WebDeploymentBadRequestError as WebDeploymentBadRequestError, errors_WorkdirEmptyError as WorkdirEmptyError, errors_WriteScriptFailedError as WriteScriptFailedError, errors_errorFromJSON as errorFromJSON };
10092
- export type { errors_FreestyleError as FreestyleError, errors_InvalidGitRepoSpecErrorPublic as InvalidGitRepoSpecErrorPublic, errors_InvalidObjectIdPublic as InvalidObjectIdPublic, errors_JavascriptLog as JavascriptLog, errors_LfsTransferAdapter as LfsTransferAdapter, errors_PublicAmbiguous as PublicAmbiguous, errors_PublicBackupFailed as PublicBackupFailed, errors_PublicBadRequest as PublicBadRequest, errors_PublicBlobNotFound as PublicBlobNotFound, errors_PublicBranchAlreadyExists as PublicBranchAlreadyExists, errors_PublicBranchNotFound as PublicBranchNotFound, errors_PublicBuildFailed as PublicBuildFailed, errors_PublicCertificateProvisioningError as PublicCertificateProvisioningError, errors_PublicCloudstateAccessDenied as PublicCloudstateAccessDenied, errors_PublicCloudstateDatabaseError as PublicCloudstateDatabaseError, errors_PublicCloudstateInternalError as PublicCloudstateInternalError, errors_PublicCommitNotFound as PublicCommitNotFound, errors_PublicCommitNotInBranch as PublicCommitNotInBranch, errors_PublicConflictingParent as PublicConflictingParent, errors_PublicConnectionFailed as PublicConnectionFailed, errors_PublicContentNotFound as PublicContentNotFound, errors_PublicCreateBackupFailed as PublicCreateBackupFailed, errors_PublicCreateIdentityFailed as PublicCreateIdentityFailed, errors_PublicCreateRepositoryFailed as PublicCreateRepositoryFailed, errors_PublicCreateSnapshotBadRequest as PublicCreateSnapshotBadRequest, errors_PublicCreateTokenFailed as PublicCreateTokenFailed, errors_PublicCreateVmBadRequest as PublicCreateVmBadRequest, errors_PublicDeleteIdentityFailed as PublicDeleteIdentityFailed, errors_PublicDeleteRepositoryFailed as PublicDeleteRepositoryFailed, errors_PublicDeploymentAccessDenied as PublicDeploymentAccessDenied, errors_PublicDeploymentFailed as PublicDeploymentFailed, errors_PublicDeploymentLimitExceeded as PublicDeploymentLimitExceeded, errors_PublicDirectoryCreationFailed as PublicDirectoryCreationFailed, errors_PublicDomainAlreadyExists as PublicDomainAlreadyExists, errors_PublicDomainMappingError as PublicDomainMappingError, errors_PublicDomainOwnershipError as PublicDomainOwnershipError, errors_PublicDomainOwnershipNotVerified as PublicDomainOwnershipNotVerified, errors_PublicDownloadFailed as PublicDownloadFailed, errors_PublicEntrypointNotFound as PublicEntrypointNotFound, errors_PublicErrorCreatingRecord as PublicErrorCreatingRecord, errors_PublicErrorDeletingRecord as PublicErrorDeletingRecord, errors_PublicExecuteInternalError as PublicExecuteInternalError, errors_PublicExecutionError as PublicExecutionError, errors_PublicFailedInsertDomainMapping as PublicFailedInsertDomainMapping, errors_PublicFailedPermissionsCheck as PublicFailedPermissionsCheck, errors_PublicFailedRemoveDomainMapping as PublicFailedRemoveDomainMapping, errors_PublicFailedToCheckDomainMappingPermissions as PublicFailedToCheckDomainMappingPermissions, errors_PublicFailedToCheckPermissions as PublicFailedToCheckPermissions, errors_PublicFailedToCreateVerificationCode as PublicFailedToCreateVerificationCode, errors_PublicFailedToDeleteVerification as PublicFailedToDeleteVerification, errors_PublicFailedToInsertDomainMapping as PublicFailedToInsertDomainMapping, errors_PublicFailedToInsertOwnership as PublicFailedToInsertOwnership, errors_PublicFailedToListDomains as PublicFailedToListDomains, errors_PublicFailedToListVerifications as PublicFailedToListVerifications, errors_PublicFailedToProvisionCertificate as PublicFailedToProvisionCertificate, errors_PublicFailedToProvisionCertificateForMapping as PublicFailedToProvisionCertificateForMapping, errors_PublicFailedToVerifyDomain as PublicFailedToVerifyDomain, errors_PublicFileNotFound as PublicFileNotFound, errors_PublicFilesBadRequest as PublicFilesBadRequest, errors_PublicForkVmNotFound as PublicForkVmNotFound, errors_PublicGetContentFailed as PublicGetContentFailed, errors_PublicGetPermissionFailed as PublicGetPermissionFailed, errors_PublicGetRepositoryInfoFailed as PublicGetRepositoryInfoFailed, errors_PublicGitHubSyncFailed as PublicGitHubSyncFailed, errors_PublicGitInvalidRequest as PublicGitInvalidRequest, errors_PublicGitServerError as PublicGitServerError, errors_PublicGrantPermissionFailed as PublicGrantPermissionFailed, errors_PublicGroupAlreadyExists as PublicGroupAlreadyExists, errors_PublicIdentityError as PublicIdentityError, errors_PublicImportSubdirNotFound as PublicImportSubdirNotFound, errors_PublicInternalForkVmNotFound as PublicInternalForkVmNotFound, errors_PublicInternalVmNotFound as PublicInternalVmNotFound, errors_PublicInvalid as PublicInvalid, errors_PublicInvalidAccountId as PublicInvalidAccountId, errors_PublicInvalidBase64Content as PublicInvalidBase64Content, errors_PublicInvalidDeploymentRequest as PublicInvalidDeploymentRequest, errors_PublicInvalidDomain as PublicInvalidDomain, errors_PublicInvalidDomains as PublicInvalidDomains, errors_PublicInvalidFileChange as PublicInvalidFileChange, errors_PublicInvalidFilePath as PublicInvalidFilePath, errors_PublicInvalidQuery as PublicInvalidQuery, errors_PublicInvalidRange as PublicInvalidRange, errors_PublicInvalidRevision as PublicInvalidRevision, errors_PublicInvalidVmId as PublicInvalidVmId, errors_PublicLimitExceeded as PublicLimitExceeded, errors_PublicListIdentitiesFailed as PublicListIdentitiesFailed, errors_PublicListPermissionsFailed as PublicListPermissionsFailed, errors_PublicListRepositoriesFailed as PublicListRepositoriesFailed, errors_PublicListRunsFailed as PublicListRunsFailed, errors_PublicListTokensFailed as PublicListTokensFailed, errors_PublicLockGenerationFailed as PublicLockGenerationFailed, errors_PublicLockfileError as PublicLockfileError, errors_PublicLoggingFailed as PublicLoggingFailed, errors_PublicLogsNotFound as PublicLogsNotFound, errors_PublicMetadataWriteFailed as PublicMetadataWriteFailed, errors_PublicNetworkPermissionsFailed as PublicNetworkPermissionsFailed, errors_PublicNoDomainOwnership as PublicNoDomainOwnership, errors_PublicNodeModulesDownloadFailed as PublicNodeModulesDownloadFailed, errors_PublicNodeModulesInstallFailed as PublicNodeModulesInstallFailed, errors_PublicNotFound as PublicNotFound, errors_PublicObservabilityAccessDenied as PublicObservabilityAccessDenied, errors_PublicObservabilityDatabaseError as PublicObservabilityDatabaseError, errors_PublicParentNotFound as PublicParentNotFound, errors_PublicParseLogsFailed as PublicParseLogsFailed, errors_PublicParseResponseError as PublicParseResponseError, errors_PublicPathNotFound as PublicPathNotFound, errors_PublicPermissionDenied as PublicPermissionDenied, errors_PublicPermissionError as PublicPermissionError, errors_PublicProjectNotFound as PublicProjectNotFound, errors_PublicRecordOwnershipError as PublicRecordOwnershipError, errors_PublicReferenceNotFound as PublicReferenceNotFound, errors_PublicRepoAlreadyExists as PublicRepoAlreadyExists, errors_PublicRepositoryNotFound as PublicRepositoryNotFound, errors_PublicResizeFailed as PublicResizeFailed, errors_PublicRestoreFailed as PublicRestoreFailed, errors_PublicRetrieveLogsFailed as PublicRetrieveLogsFailed, errors_PublicRevokePermissionFailed as PublicRevokePermissionFailed, errors_PublicRevokeTokenFailed as PublicRevokeTokenFailed, errors_PublicRunNotFound as PublicRunNotFound, errors_PublicRuntimeError as PublicRuntimeError, errors_PublicSerializationError as PublicSerializationError, errors_PublicServiceAlreadyExists as PublicServiceAlreadyExists, errors_PublicSnapshotNotFound as PublicSnapshotNotFound, errors_PublicSnapshotSetupFailed as PublicSnapshotSetupFailed, errors_PublicSnapshotVmBadRequest as PublicSnapshotVmBadRequest, errors_PublicSourceNotFound as PublicSourceNotFound, errors_PublicSourceUnauthorized as PublicSourceUnauthorized, errors_PublicTagNotFound as PublicTagNotFound, errors_PublicTimeoutLimitExceeded as PublicTimeoutLimitExceeded, errors_PublicTokenError as PublicTokenError, errors_PublicTreeNotFound as PublicTreeNotFound, errors_PublicTriggerError as PublicTriggerError, errors_PublicUnsupportedTransfer as PublicUnsupportedTransfer, errors_PublicUpdateDefaultBranchFailed as PublicUpdateDefaultBranchFailed, errors_PublicUpdatePermissionFailed as PublicUpdatePermissionFailed, errors_PublicUserAlreadyExists as PublicUserAlreadyExists, errors_PublicVerificationFailed as PublicVerificationFailed, errors_PublicVerificationNotFound as PublicVerificationNotFound, errors_PublicVmAccessDeniedForMapping as PublicVmAccessDeniedForMapping, errors_PublicWebDeploymentBadRequest as PublicWebDeploymentBadRequest, errors_PublicWriteScriptFailed as PublicWriteScriptFailed, errors_SnapshotId as SnapshotId, errors_UnauthorizedErrorPublic as UnauthorizedErrorPublic, errors_VmNotFoundPublic as VmNotFoundPublic, errors_VmOperationDeniedDuringTransactionPublic as VmOperationDeniedDuringTransactionPublic, errors_VmSetupFailedPublic as VmSetupFailedPublic, errors_VmTransactionIdMismatchPublic as VmTransactionIdMismatchPublic };
10110
+ export type { errors_FreestyleError as FreestyleError, errors_InvalidGitRepoSpecErrorPublic as InvalidGitRepoSpecErrorPublic, errors_InvalidObjectIdPublic as InvalidObjectIdPublic, errors_JavascriptLog as JavascriptLog, errors_LfsTransferAdapter as LfsTransferAdapter, errors_PostBootDiagnostics as PostBootDiagnostics, errors_PublicAmbiguous as PublicAmbiguous, errors_PublicBackupFailed as PublicBackupFailed, errors_PublicBadRequest as PublicBadRequest, errors_PublicBlobNotFound as PublicBlobNotFound, errors_PublicBranchAlreadyExists as PublicBranchAlreadyExists, errors_PublicBranchNotFound as PublicBranchNotFound, errors_PublicBuildFailed as PublicBuildFailed, errors_PublicCertificateProvisioningError as PublicCertificateProvisioningError, errors_PublicCloudstateAccessDenied as PublicCloudstateAccessDenied, errors_PublicCloudstateDatabaseError as PublicCloudstateDatabaseError, errors_PublicCloudstateInternalError as PublicCloudstateInternalError, errors_PublicCommitNotFound as PublicCommitNotFound, errors_PublicCommitNotInBranch as PublicCommitNotInBranch, errors_PublicConflictingParent as PublicConflictingParent, errors_PublicConnectionFailed as PublicConnectionFailed, errors_PublicContentNotFound as PublicContentNotFound, errors_PublicCreateBackupFailed as PublicCreateBackupFailed, errors_PublicCreateIdentityFailed as PublicCreateIdentityFailed, errors_PublicCreateRepositoryFailed as PublicCreateRepositoryFailed, errors_PublicCreateSnapshotBadRequest as PublicCreateSnapshotBadRequest, errors_PublicCreateTokenFailed as PublicCreateTokenFailed, errors_PublicCreateVmBadRequest as PublicCreateVmBadRequest, errors_PublicDeleteIdentityFailed as PublicDeleteIdentityFailed, errors_PublicDeleteRepositoryFailed as PublicDeleteRepositoryFailed, errors_PublicDeploymentAccessDenied as PublicDeploymentAccessDenied, errors_PublicDeploymentFailed as PublicDeploymentFailed, errors_PublicDeploymentLimitExceeded as PublicDeploymentLimitExceeded, errors_PublicDirectoryCreationFailed as PublicDirectoryCreationFailed, errors_PublicDomainAlreadyExists as PublicDomainAlreadyExists, errors_PublicDomainMappingError as PublicDomainMappingError, errors_PublicDomainOwnershipError as PublicDomainOwnershipError, errors_PublicDomainOwnershipNotVerified as PublicDomainOwnershipNotVerified, errors_PublicDownloadFailed as PublicDownloadFailed, errors_PublicEntrypointNotFound as PublicEntrypointNotFound, errors_PublicErrorCreatingRecord as PublicErrorCreatingRecord, errors_PublicErrorDeletingRecord as PublicErrorDeletingRecord, errors_PublicExecuteInternalError as PublicExecuteInternalError, errors_PublicExecutionError as PublicExecutionError, errors_PublicFailedInsertDomainMapping as PublicFailedInsertDomainMapping, errors_PublicFailedPermissionsCheck as PublicFailedPermissionsCheck, errors_PublicFailedRemoveDomainMapping as PublicFailedRemoveDomainMapping, errors_PublicFailedToCheckDomainMappingPermissions as PublicFailedToCheckDomainMappingPermissions, errors_PublicFailedToCheckPermissions as PublicFailedToCheckPermissions, errors_PublicFailedToCreateVerificationCode as PublicFailedToCreateVerificationCode, errors_PublicFailedToDeleteVerification as PublicFailedToDeleteVerification, errors_PublicFailedToInsertDomainMapping as PublicFailedToInsertDomainMapping, errors_PublicFailedToInsertOwnership as PublicFailedToInsertOwnership, errors_PublicFailedToListDomains as PublicFailedToListDomains, errors_PublicFailedToListVerifications as PublicFailedToListVerifications, errors_PublicFailedToProvisionCertificate as PublicFailedToProvisionCertificate, errors_PublicFailedToProvisionCertificateForMapping as PublicFailedToProvisionCertificateForMapping, errors_PublicFailedToVerifyDomain as PublicFailedToVerifyDomain, errors_PublicFileNotFound as PublicFileNotFound, errors_PublicFilesBadRequest as PublicFilesBadRequest, errors_PublicForkVmNotFound as PublicForkVmNotFound, errors_PublicGetContentFailed as PublicGetContentFailed, errors_PublicGetPermissionFailed as PublicGetPermissionFailed, errors_PublicGetRepositoryInfoFailed as PublicGetRepositoryInfoFailed, errors_PublicGitHubSyncFailed as PublicGitHubSyncFailed, errors_PublicGitInvalidRequest as PublicGitInvalidRequest, errors_PublicGitServerError as PublicGitServerError, errors_PublicGrantPermissionFailed as PublicGrantPermissionFailed, errors_PublicGroupAlreadyExists as PublicGroupAlreadyExists, errors_PublicIdentityError as PublicIdentityError, errors_PublicImportSubdirNotFound as PublicImportSubdirNotFound, errors_PublicInternalForkVmNotFound as PublicInternalForkVmNotFound, errors_PublicInternalVmNotFound as PublicInternalVmNotFound, errors_PublicInvalid as PublicInvalid, errors_PublicInvalidAccountId as PublicInvalidAccountId, errors_PublicInvalidBase64Content as PublicInvalidBase64Content, errors_PublicInvalidDeploymentRequest as PublicInvalidDeploymentRequest, errors_PublicInvalidDomain as PublicInvalidDomain, errors_PublicInvalidDomains as PublicInvalidDomains, errors_PublicInvalidFileChange as PublicInvalidFileChange, errors_PublicInvalidFilePath as PublicInvalidFilePath, errors_PublicInvalidQuery as PublicInvalidQuery, errors_PublicInvalidRange as PublicInvalidRange, errors_PublicInvalidRevision as PublicInvalidRevision, errors_PublicInvalidVmId as PublicInvalidVmId, errors_PublicLimitExceeded as PublicLimitExceeded, errors_PublicListIdentitiesFailed as PublicListIdentitiesFailed, errors_PublicListPermissionsFailed as PublicListPermissionsFailed, errors_PublicListRepositoriesFailed as PublicListRepositoriesFailed, errors_PublicListRunsFailed as PublicListRunsFailed, errors_PublicListTokensFailed as PublicListTokensFailed, errors_PublicLockGenerationFailed as PublicLockGenerationFailed, errors_PublicLockfileError as PublicLockfileError, errors_PublicLoggingFailed as PublicLoggingFailed, errors_PublicLogsNotFound as PublicLogsNotFound, errors_PublicMetadataWriteFailed as PublicMetadataWriteFailed, errors_PublicNetworkPermissionsFailed as PublicNetworkPermissionsFailed, errors_PublicNoDomainOwnership as PublicNoDomainOwnership, errors_PublicNodeModulesDownloadFailed as PublicNodeModulesDownloadFailed, errors_PublicNodeModulesInstallFailed as PublicNodeModulesInstallFailed, errors_PublicNotFound as PublicNotFound, errors_PublicObservabilityAccessDenied as PublicObservabilityAccessDenied, errors_PublicObservabilityDatabaseError as PublicObservabilityDatabaseError, errors_PublicParentNotFound as PublicParentNotFound, errors_PublicParseLogsFailed as PublicParseLogsFailed, errors_PublicParseResponseError as PublicParseResponseError, errors_PublicPathNotFound as PublicPathNotFound, errors_PublicPermissionDenied as PublicPermissionDenied, errors_PublicPermissionError as PublicPermissionError, errors_PublicProjectNotFound as PublicProjectNotFound, errors_PublicRecordOwnershipError as PublicRecordOwnershipError, errors_PublicReferenceNotFound as PublicReferenceNotFound, errors_PublicRepoAlreadyExists as PublicRepoAlreadyExists, errors_PublicRepositoryNotFound as PublicRepositoryNotFound, errors_PublicResizeFailed as PublicResizeFailed, errors_PublicRestoreFailed as PublicRestoreFailed, errors_PublicRetrieveLogsFailed as PublicRetrieveLogsFailed, errors_PublicRevokePermissionFailed as PublicRevokePermissionFailed, errors_PublicRevokeTokenFailed as PublicRevokeTokenFailed, errors_PublicRunNotFound as PublicRunNotFound, errors_PublicRuntimeError as PublicRuntimeError, errors_PublicSerializationError as PublicSerializationError, errors_PublicServiceAlreadyExists as PublicServiceAlreadyExists, errors_PublicSnapshotNotFound as PublicSnapshotNotFound, errors_PublicSnapshotSetupFailed as PublicSnapshotSetupFailed, errors_PublicSnapshotVmBadRequest as PublicSnapshotVmBadRequest, errors_PublicSourceNotFound as PublicSourceNotFound, errors_PublicSourceUnauthorized as PublicSourceUnauthorized, errors_PublicTagNotFound as PublicTagNotFound, errors_PublicTimeoutLimitExceeded as PublicTimeoutLimitExceeded, errors_PublicTokenError as PublicTokenError, errors_PublicTreeNotFound as PublicTreeNotFound, errors_PublicTriggerError as PublicTriggerError, errors_PublicUnsupportedTransfer as PublicUnsupportedTransfer, errors_PublicUpdateDefaultBranchFailed as PublicUpdateDefaultBranchFailed, errors_PublicUpdatePermissionFailed as PublicUpdatePermissionFailed, errors_PublicUserAlreadyExists as PublicUserAlreadyExists, errors_PublicVerificationFailed as PublicVerificationFailed, errors_PublicVerificationNotFound as PublicVerificationNotFound, errors_PublicVmAccessDeniedForMapping as PublicVmAccessDeniedForMapping, errors_PublicWebDeploymentBadRequest as PublicWebDeploymentBadRequest, errors_PublicWriteScriptFailed as PublicWriteScriptFailed, errors_ServiceLog as ServiceLog, errors_ServiceStateGroup as ServiceStateGroup, errors_SnapshotId as SnapshotId, errors_UnauthorizedErrorPublic as UnauthorizedErrorPublic, errors_VmNotFoundPublic as VmNotFoundPublic, errors_VmOperationDeniedDuringTransactionPublic as VmOperationDeniedDuringTransactionPublic, errors_VmSetupFailedPublic as VmSetupFailedPublic, errors_VmTransactionIdMismatchPublic as VmTransactionIdMismatchPublic };
10093
10111
  }
10094
10112
 
10095
10113
  /**
@@ -12274,6 +12292,9 @@ type SystemdServiceInput = Omit<RawSystemdService, "mode" | "exec"> & {
12274
12292
  */
12275
12293
  bash?: string;
12276
12294
  };
12295
+ type VmWaitForConfig = Omit<SystemdServiceInput, "mode" | "exec" | "bash" | "deleteAfterSuccess"> & {
12296
+ intervalSeconds?: number;
12297
+ };
12277
12298
  /**
12278
12299
  * Terminal management operations for a VM.
12279
12300
  */
@@ -12381,8 +12402,10 @@ declare class Vm {
12381
12402
  * @returns A new VM instance representing the forked VM
12382
12403
  */
12383
12404
  fork({ ...options }?: PostV1VmsVmIdForkRequestBody): Promise<{
12384
- vmId: string;
12385
- vm: Vm;
12405
+ forks: {
12406
+ vmId: string;
12407
+ vm: Vm;
12408
+ }[];
12386
12409
  }>;
12387
12410
  /**
12388
12411
  * Optimize the VM (compact memory/disk).
@@ -12479,6 +12502,7 @@ declare class VmSpec<T extends Record<string, VmWithLike> = {}> {
12479
12502
  groups(groups: NonNullable<CreateVmOptions["groups"]>): this;
12480
12503
  additionalFiles(files: NonNullable<CreateVmOptions["additionalFiles"]>): this;
12481
12504
  runCommands(...commands: string[]): this;
12505
+ waitFor(command: string, config?: VmWaitForConfig): this;
12482
12506
  repo(repo: string, path: string): this;
12483
12507
  systemdService(service: SystemdServiceInput): this;
12484
12508
  }
@@ -12491,6 +12515,11 @@ declare class VmsNamespace {
12491
12515
  * @param options Optional VM configuration
12492
12516
  * @returns A VM instance representing the created VM
12493
12517
  */
12518
+ create(): Promise<Omit<ResponsePostV1Vms200, "consoleUrl"> & {
12519
+ vmId: string;
12520
+ vm: Vm;
12521
+ domains: string[];
12522
+ }>;
12494
12523
  create<T extends Record<string, VmWithLike>>(spec: VmSpec<T>): Promise<Omit<ResponsePostV1Vms200, "consoleUrl"> & {
12495
12524
  vmId: string;
12496
12525
  vm: Vm & {
@@ -12714,4 +12743,4 @@ declare class Freestyle {
12714
12743
  declare const freestyle: Freestyle;
12715
12744
 
12716
12745
  export { CronNamespace, Deployment, errors as Errors, FileSystem, Freestyle, GitRepo, Identity, requests as Requests, responses as Responses, Systemd, SystemdService, Vm, VmBaseImage, VmBuilder, VmService, VmSpec, VmTemplate, VmWith, VmWithInstance, debugCreateRequests, freestyle, readFiles };
12717
- export type { CreateVmOptions, CronSchedule, FreestyleOptions, SystemdServiceInput, VmWithDefaultFieldRecord };
12746
+ export type { CreateVmOptions, CronSchedule, FreestyleOptions, SystemdServiceInput, VmWaitForConfig, VmWithDefaultFieldRecord };