Files
HexaHost-GameCloud/packages/contracts/src/index.ts
smueller 316679a913
Some checks failed
CI / Node — lint, typecheck, test, build (push) Failing after 9s
CI / Go — node-agent tests (push) Failing after 8s
CI / Go — edge-gateway build (push) Successful in 18s
Enhance WHMCS integration with mTLS support and product mapping features. Added mTLS configuration options, updated API endpoints for mTLS status and fingerprint registration, and implemented product validation API. Updated database schema and documentation accordingly.
2026-06-30 13:17:12 +02:00

275 lines
6.5 KiB
TypeScript

export {
healthStatusSchema,
healthCheckSchema,
healthResponseSchema,
type HealthStatus,
type HealthCheck,
type HealthResponse,
} from './health';
export {
problemDetailsSchema,
createProblemDetails,
type ProblemDetails,
} from './error';
export {
paginationQuerySchema,
paginationMetaSchema,
createPaginatedResponseSchema,
buildPaginationMeta,
type PaginationQuery,
type PaginationMeta,
} from './pagination';
export {
registerRequestSchema,
loginRequestSchema,
verifyEmailRequestSchema,
forgotPasswordRequestSchema,
resetPasswordRequestSchema,
twoFactorConfirmRequestSchema,
twoFactorVerifyRequestSchema,
twoFactorDisableRequestSchema,
authUserSchema,
loginSuccessResponseSchema,
loginTwoFactorRequiredResponseSchema,
loginResponseSchema,
twoFactorSetupResponseSchema,
sessionSummarySchema,
sessionListResponseSchema,
messageResponseSchema,
type RegisterRequest,
type LoginRequest,
type VerifyEmailRequest,
type ForgotPasswordRequest,
type ResetPasswordRequest,
type TwoFactorConfirmRequest,
type TwoFactorVerifyRequest,
type TwoFactorDisableRequest,
type AuthUser,
type LoginResponse,
type TwoFactorSetupResponse,
type SessionSummary,
type SessionListResponse,
type MessageResponse,
} from './auth';
export {
gameServerStatusSchema,
serverEditionSchema,
softwareFamilySchema,
createServerRequestSchema,
serverResponseSchema,
serverListResponseSchema,
serverActionResponseSchema,
type GameServerStatus,
type ServerEdition,
type SoftwareFamily,
type CreateServerRequest,
type ServerResponse,
type ServerListResponse,
type ServerActionResponse,
} from './servers';
export {
listFilesQuerySchema,
fileEntrySchema,
fileListResponseSchema,
fileContentSchema,
readFileContentQuerySchema,
updateFileContentSchema,
type ListFilesQuery,
type FileEntry,
type FileListResponse,
type FileContent,
type ReadFileContentQuery,
type UpdateFileContent,
} from './files';
export {
consoleTokenResponseSchema,
consoleCommandSchema,
type ConsoleTokenResponse,
type ConsoleCommand,
} from './console';
export {
serverPropertiesSchema,
updateServerPropertiesSchema,
serverPropertiesResponseSchema,
type ServerProperties,
type UpdateServerProperties,
type ServerPropertiesResponse,
} from './properties';
export {
onlinePlayerSchema,
whitelistEntrySchema,
operatorEntrySchema,
playerListResponseSchema,
type OnlinePlayer,
type WhitelistEntry,
type OperatorEntry,
type PlayerListResponse,
} from './players';
export {
backupStatusSchema,
backupTypeSchema,
backupRestoreStatusSchema,
backupResponseSchema,
backupListResponseSchema,
createBackupRequestSchema,
backupActionResponseSchema,
backupDownloadUrlResponseSchema,
restoreBackupRequestSchema,
backupRestoreResponseSchema,
backupScheduleSchema,
updateBackupScheduleSchema,
type BackupStatus,
type BackupType,
type BackupResponse,
type BackupListResponse,
type CreateBackupRequest,
type BackupActionResponse,
type BackupDownloadUrlResponse,
type RestoreBackupRequest,
type BackupRestoreResponse,
type BackupSchedule,
type UpdateBackupSchedule,
} from './backups';
export {
worldSummarySchema,
worldInfoResponseSchema,
initiateWorldUploadSchema,
worldUploadInitResponseSchema,
worldUploadResponseSchema,
worldDownloadUrlResponseSchema,
type WorldSummary,
type WorldInfoResponse,
type InitiateWorldUpload,
type WorldUploadInitResponse,
type WorldUploadResponse,
type WorldDownloadUrlResponse,
} from './worlds';
export {
catalogProjectSchema,
catalogSearchQuerySchema,
catalogSearchResponseSchema,
catalogVersionSchema,
catalogVersionsResponseSchema,
type CatalogProject,
type CatalogSearchQuery,
type CatalogSearchResponse,
type CatalogVersion,
type CatalogVersionsResponse,
} from './catalog';
export {
addonTypeSchema,
addonStatusSchema,
installedAddonSchema,
addonListResponseSchema,
installAddonRequestSchema,
installAddonResponseSchema,
type InstalledAddon,
type AddonListResponse,
type InstallAddonRequest,
type InstallAddonResponse,
} from './addons';
export {
gameNodeStatusSchema,
nodeSummarySchema,
nodeListResponseSchema,
startQueueStatusSchema,
startQueueEntrySchema,
startQueueResponseSchema,
type GameNodeStatus,
type NodeSummary,
type NodeListResponse,
type StartQueueEntry,
type StartQueueResponse,
} from './nodes';
export {
idleStatusResponseSchema,
creditTransactionSchema,
walletResponseSchema,
usageRecordSchema,
usageListResponseSchema,
type IdleStatusResponse,
type WalletResponse,
type UsageListResponse,
} from './billing';
export {
edgeBackendSchema,
edgeActionSchema,
edgeResolveResponseSchema,
edgeStartRequestSchema,
edgeStartResponseSchema,
type EdgeBackend,
type EdgeAction,
type EdgeResolveResponse,
type EdgeStartRequest,
type EdgeStartResponse,
} from './join';
export {
whmcsHealthResponseSchema,
whmcsPlanCatalogResponseSchema,
whmcsUpsertClientRequestSchema,
whmcsUpsertClientResponseSchema,
whmcsProvisionServiceRequestSchema,
whmcsServiceResponseSchema,
whmcsChangePackageRequestSchema,
whmcsSuspendRequestSchema,
whmcsCreateSsoRequestSchema,
whmcsCreateSsoResponseSchema,
ssoConsumeRequestSchema,
ssoConsumeResponseSchema,
type WhmcsHealthResponse,
type WhmcsPlanCatalogResponse,
type WhmcsProvisionServiceRequest,
type WhmcsServiceResponse,
type WhmcsUpsertClientRequest,
type WhmcsUpsertClientResponse,
type WhmcsChangePackageRequest,
type WhmcsCreateSsoRequest,
type WhmcsCreateSsoResponse,
type SsoConsumeRequest,
type SsoConsumeResponse,
whmcsReconcileRequestSchema,
whmcsReconcileResponseSchema,
whmcsListAccountsResponseSchema,
whmcsImportServiceRequestSchema,
whmcsEventsResponseSchema,
whmcsEventsAckRequestSchema,
whmcsEventsAckResponseSchema,
whmcsUsageQuerySchema,
whmcsUsageResponseSchema,
whmcsUsageAdjustmentRequestSchema,
whmcsDashboardStatsResponseSchema,
whmcsRegisterMtlsRequestSchema,
whmcsMtlsStatusResponseSchema,
whmcsValidatePlanRequestSchema,
whmcsValidatePlanResponseSchema,
type WhmcsReconcileRequest,
type WhmcsReconcileResponse,
type WhmcsListAccountsResponse,
type WhmcsImportServiceRequest,
type WhmcsEventsResponse,
type WhmcsEventsAckRequest,
type WhmcsEventsAckResponse,
type WhmcsUsageResponse,
type WhmcsUsageAdjustmentRequest,
type WhmcsDashboardStatsResponse,
type WhmcsRegisterMtlsRequest,
type WhmcsMtlsStatusResponse,
type WhmcsValidatePlanResponse,
} from './whmcs';