@phala/cloud 0.2.3 → 0.2.5
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/dist/actions/apps/get_app_attestation.d.ts +963 -0
- package/dist/actions/apps/get_app_device_allowlist.d.ts +108 -0
- package/dist/actions/blockchains/abi/dstack_app.d.ts +101 -0
- package/dist/actions/blockchains/add_device.d.ts +62 -0
- package/dist/actions/blockchains/check_device_allowed.d.ts +44 -0
- package/dist/actions/blockchains/get_allowed_devices.d.ts +65 -0
- package/dist/actions/blockchains/remove_device.d.ts +62 -0
- package/dist/actions/blockchains/set_allow_any_device.d.ts +62 -0
- package/dist/actions/cvms/get_cvm_attestation.d.ts +220 -0
- package/dist/actions/cvms/get_cvm_compose_file.d.ts +16 -0
- package/dist/actions/cvms/get_cvm_user_config.d.ts +92 -0
- package/dist/actions/cvms/provision_cvm.d.ts +26 -1
- package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +18 -0
- package/dist/actions/cvms/refresh_cvm_instance_id.d.ts +93 -0
- package/dist/actions/cvms/refresh_cvm_instance_ids.d.ts +194 -0
- package/dist/actions/cvms/replicate_cvm.d.ts +126 -0
- package/dist/actions/cvms/restart_cvm.d.ts +2 -2
- package/dist/actions/cvms/shutdown_cvm.d.ts +2 -2
- package/dist/actions/cvms/start_cvm.d.ts +2 -2
- package/dist/actions/cvms/stop_cvm.d.ts +2 -2
- package/dist/actions/index.d.ts +20 -1
- package/dist/actions/kms/get_kms_onchain_detail.d.ts +688 -0
- package/dist/actions/os_images/get_os_images.d.ts +217 -0
- package/dist/actions/ssh_keys/create_ssh_key.d.ts +104 -0
- package/dist/actions/ssh_keys/delete_ssh_key.d.ts +65 -0
- package/dist/actions/ssh_keys/import_github_profile.d.ts +93 -0
- package/dist/actions/ssh_keys/list_ssh_keys.d.ts +101 -0
- package/dist/actions/ssh_keys/sync_github_ssh_keys.d.ts +78 -0
- package/dist/actions/workspaces/get_workspace.d.ts +2 -0
- package/dist/actions/workspaces/list_workspaces.d.ts +18 -0
- package/dist/create-client.d.ts +106 -0
- package/dist/index.js +1500 -322
- package/dist/index.mjs +1441 -320
- package/dist/types/app_compose.d.ts +5 -0
- package/dist/types/app_info_v20260121.d.ts +68 -0
- package/dist/types/cvm_info.d.ts +3 -3
- package/dist/types/cvm_info_v20260121.d.ts +22 -0
- package/package.json +1 -1
package/dist/actions/index.d.ts
CHANGED
|
@@ -4,6 +4,12 @@ export { provisionCvm, safeProvisionCvm, ProvisionCvmSchema, type ProvisionCvm,
|
|
|
4
4
|
export { commitCvmProvision, safeCommitCvmProvision, CommitCvmProvisionSchema, type CommitCvmProvision, CommitCvmProvisionRequestSchema, type CommitCvmProvisionRequest, } from "./cvms/commit_cvm_provision";
|
|
5
5
|
export { deployAppAuth, safeDeployAppAuth, type DeployAppAuthParameters, type DeployAppAuthReturnType, DeployAppAuthSchema, type DeployAppAuth, DeployAppAuthRequestSchema, type DeployAppAuthRequest, type SafeDeployAppAuthResult, } from "./blockchains/deploy_app_auth";
|
|
6
6
|
export { addComposeHash, safeAddComposeHash, type AddComposeHashParameters, type AddComposeHashReturnType, AddComposeHashSchema, type AddComposeHash, type AddComposeHashRequest, type SafeAddComposeHashResult, } from "./blockchains/add_compose_hash";
|
|
7
|
+
export { addDevice, safeAddDevice, type AddDeviceParameters, type AddDeviceReturnType, AddDeviceSchema, type AddDevice, type AddDeviceRequest, type SafeAddDeviceResult, } from "./blockchains/add_device";
|
|
8
|
+
export { removeDevice, safeRemoveDevice, type RemoveDeviceParameters, type RemoveDeviceReturnType, RemoveDeviceSchema, type RemoveDevice, type RemoveDeviceRequest, type SafeRemoveDeviceResult, } from "./blockchains/remove_device";
|
|
9
|
+
export { setAllowAnyDevice, safeSetAllowAnyDevice, type SetAllowAnyDeviceParameters, type SetAllowAnyDeviceReturnType, SetAllowAnyDeviceSchema, type SetAllowAnyDevice, type SetAllowAnyDeviceRequest, type SafeSetAllowAnyDeviceResult, } from "./blockchains/set_allow_any_device";
|
|
10
|
+
export { getAllowedDevices, safeGetAllowedDevices, GetAllowedDevicesSchema, type GetAllowedDevices, type GetAllowedDevicesRequest, type SafeGetAllowedDevicesResult, } from "./blockchains/get_allowed_devices";
|
|
11
|
+
export { checkDeviceAllowed, safeCheckDeviceAllowed, type CheckDeviceAllowedRequest, } from "./blockchains/check_device_allowed";
|
|
12
|
+
export { dstackAppAbi } from "./blockchains/abi/dstack_app";
|
|
7
13
|
export { getCvmComposeFile, safeGetCvmComposeFile, type GetCvmComposeFileResult, GetCvmComposeFileRequestSchema, type GetCvmComposeFileRequest, } from "./cvms/get_cvm_compose_file";
|
|
8
14
|
export { provisionCvmComposeFileUpdate, safeProvisionCvmComposeFileUpdate, ProvisionCvmComposeFileUpdateRequestSchema, type ProvisionCvmComposeFileUpdateRequest, ProvisionCvmComposeFileUpdateResultSchema, type ProvisionCvmComposeFileUpdateResult, } from "./cvms/provision_cvm_compose_file_update";
|
|
9
15
|
export { commitCvmComposeFileUpdate, safeCommitCvmComposeFileUpdate, CommitCvmComposeFileUpdateRequestSchema, type CommitCvmComposeFileUpdateRequest, CommitCvmComposeFileUpdateSchema, type CommitCvmComposeFileUpdate, } from "./cvms/commit_cvm_compose_file_update";
|
|
@@ -13,6 +19,7 @@ export { getCvmInfo, safeGetCvmInfo, GetCvmInfoRequestSchema, type GetCvmInfoReq
|
|
|
13
19
|
export { getCvmList, safeGetCvmList, GetCvmListRequestSchema, type GetCvmListRequest, } from "./cvms/get_cvm_list";
|
|
14
20
|
export { getKmsInfo, safeGetKmsInfo, GetKmsInfoRequestSchema, type GetKmsInfoRequest, } from "./kms/get_kms_info";
|
|
15
21
|
export { getKmsList, safeGetKmsList, GetKmsListSchema, GetKmsListRequestSchema, type GetKmsListRequest, type GetKmsListResponse, } from "./kms/get_kms_list";
|
|
22
|
+
export { getKmsOnChainDetail, safeGetKmsOnChainDetail, GetKmsOnChainDetailResponseSchema, GetKmsOnChainDetailRequestSchema, OnChainKmsContractSchema, OnChainDeviceSchema, OnChainOsImageSchema, type GetKmsOnChainDetailResponse, type GetKmsOnChainDetailRequest, type OnChainKmsContract, type OnChainDevice, type OnChainOsImage, } from "./kms/get_kms_onchain_detail";
|
|
16
23
|
export { nextAppIds, safeNextAppIds, NextAppIdsSchema, NextAppIdsRequestSchema, type NextAppIdsRequest, type NextAppIds, } from "./kms/next_app_ids";
|
|
17
24
|
export { listWorkspaces, safeListWorkspaces, WorkspaceResponseSchema, ListWorkspacesSchema, PaginationMetadataSchema, type WorkspaceResponse, type ListWorkspaces, type PaginationMetadata, type ListWorkspacesRequest, } from "./workspaces/list_workspaces";
|
|
18
25
|
export { getWorkspace, safeGetWorkspace, } from "./workspaces/get_workspace";
|
|
@@ -24,24 +31,36 @@ export { shutdownCvm, safeShutdownCvm, ShutdownCvmRequestSchema, type ShutdownCv
|
|
|
24
31
|
export { stopCvm, safeStopCvm, StopCvmRequestSchema, type StopCvmRequest, } from "./cvms/stop_cvm";
|
|
25
32
|
export { restartCvm, safeRestartCvm, RestartCvmRequestSchema, type RestartCvmRequest, } from "./cvms/restart_cvm";
|
|
26
33
|
export { deleteCvm, safeDeleteCvm, DeleteCvmRequestSchema, type DeleteCvmRequest, } from "./cvms/delete_cvm";
|
|
34
|
+
export { replicateCvm, safeReplicateCvm, ReplicateCvmRequestSchema, type ReplicateCvmRequest, } from "./cvms/replicate_cvm";
|
|
27
35
|
export { getCvmStats, safeGetCvmStats, CvmSystemInfoSchema, GetCvmStatsRequestSchema, type GetCvmStatsRequest, type CvmSystemInfo, } from "./cvms/get_cvm_stats";
|
|
28
36
|
export { getCvmContainersStats, safeGetCvmContainersStats, CvmContainersStatsSchema, GetCvmContainersStatsRequestSchema, type GetCvmContainersStatsRequest, type CvmContainersStats, } from "./cvms/get_cvm_containers_stats";
|
|
29
37
|
export { getCvmNetwork, safeGetCvmNetwork, CvmNetworkSchema, GetCvmNetworkRequestSchema, type GetCvmNetworkRequest, type CvmNetwork, } from "./cvms/get_cvm_network";
|
|
30
38
|
export { getCvmState, safeGetCvmState, CvmStateSchema, GetCvmStateRequestSchema, type GetCvmStateRequest, type CvmState, } from "./cvms/get_cvm_state";
|
|
31
39
|
export { watchCvmState, WatchCvmStateRequestSchema, type WatchCvmStateRequest, type WatchCvmStateOptions, type SSEEvent, WatchAbortedError, MaxRetriesExceededError, } from "./cvms/watch_cvm_state";
|
|
32
|
-
export { getCvmAttestation, safeGetCvmAttestation, CvmAttestationSchema, GetCvmAttestationRequestSchema, type GetCvmAttestationRequest, type CvmAttestation, } from "./cvms/get_cvm_attestation";
|
|
40
|
+
export { getCvmAttestation, safeGetCvmAttestation, CvmAttestationSchema, GetCvmAttestationRequestSchema, CertificateSubjectSchema, CertificateIssuerSchema, CertificateSchema, EventLogSchema, TcbInfoSchema, type GetCvmAttestationRequest, type CvmAttestation, } from "./cvms/get_cvm_attestation";
|
|
33
41
|
export { getCvmDockerCompose, safeGetCvmDockerCompose, GetCvmDockerComposeRequestSchema, type GetCvmDockerComposeRequest, } from "./cvms/get_cvm_docker_compose";
|
|
34
42
|
export { updateCvmResources, safeUpdateCvmResources, UpdateCvmResourcesRequestSchema, type UpdateCvmResourcesRequest, } from "./cvms/update_cvm_resources";
|
|
35
43
|
export { updateCvmVisibility, safeUpdateCvmVisibility, UpdateCvmVisibilityRequestSchema, type UpdateCvmVisibilityRequest, } from "./cvms/update_cvm_visibility";
|
|
44
|
+
export { refreshCvmInstanceId, safeRefreshCvmInstanceId, InstanceIdRefreshResultSchema, RefreshCvmInstanceIdRequestSchema, type InstanceIdRefreshResult, type RefreshCvmInstanceIdRequest, } from "./cvms/refresh_cvm_instance_id";
|
|
45
|
+
export { refreshCvmInstanceIds, safeRefreshCvmInstanceIds, RefreshCvmInstanceIdsRequestSchema, RefreshCvmInstanceIdsResponseSchema, type RefreshCvmInstanceIdsRequest, type RefreshCvmInstanceIdsResponse, } from "./cvms/refresh_cvm_instance_ids";
|
|
36
46
|
export { getAvailableOsImages, safeGetAvailableOsImages, OSImageVariantSchema, GetAvailableOSImagesResponseSchema, GetAvailableOSImagesRequestSchema, type OSImageVariant, type GetAvailableOSImagesResponse, type GetAvailableOSImagesRequest, } from "./cvms/get_available_os_images";
|
|
37
47
|
export { updateOsImage, safeUpdateOsImage, UpdateOsImageRequestSchema, type UpdateOsImageRequest, } from "./cvms/update_os_image";
|
|
38
48
|
export { updateDockerCompose, safeUpdateDockerCompose, UpdateDockerComposeRequestSchema, type UpdateDockerComposeRequest, UpdateDockerComposeResultSchema, type UpdateDockerComposeResult, type UpdateDockerComposeInProgress, type UpdateDockerComposePreconditionRequired, } from "./cvms/update_docker_compose";
|
|
39
49
|
export { updatePreLaunchScript, safeUpdatePreLaunchScript, UpdatePreLaunchScriptRequestSchema, type UpdatePreLaunchScriptRequest, UpdatePreLaunchScriptResultSchema, type UpdatePreLaunchScriptResult, type UpdatePreLaunchScriptInProgress, type UpdatePreLaunchScriptPreconditionRequired, } from "./cvms/update_prelaunch_script";
|
|
40
50
|
export { getCvmPreLaunchScript, safeGetCvmPreLaunchScript, GetCvmPreLaunchScriptRequestSchema, type GetCvmPreLaunchScriptRequest, } from "./cvms/get_cvm_prelaunch_script";
|
|
41
51
|
export { getCvmStatusBatch, safeGetCvmStatusBatch, CvmStatusSchema, GetCvmStatusBatchResponseSchema, GetCvmStatusBatchRequestSchema, type CvmStatus, type GetCvmStatusBatchResponse, type GetCvmStatusBatchRequest, } from "./cvms/get_cvm_status_batch";
|
|
52
|
+
export { getCvmUserConfig, safeGetCvmUserConfig, CvmUserConfigSchema, GetCvmUserConfigRequestSchema, type CvmUserConfig, type GetCvmUserConfigRequest, } from "./cvms/get_cvm_user_config";
|
|
53
|
+
export { listSshKeys, safeListSshKeys, SshKeySchema, ListSshKeysResponseSchema, type SshKey, type ListSshKeysResponse, } from "./ssh_keys/list_ssh_keys";
|
|
54
|
+
export { importGithubProfileSshKeys, safeImportGithubProfileSshKeys, ImportGithubProfileRequestSchema, ImportGithubProfileResponseSchema, type ImportGithubProfileRequest, type ImportGithubProfileResponse, } from "./ssh_keys/import_github_profile";
|
|
55
|
+
export { createSshKey, safeCreateSshKey, CreateSshKeyRequestSchema, type CreateSshKeyRequest, } from "./ssh_keys/create_ssh_key";
|
|
56
|
+
export { deleteSshKey, safeDeleteSshKey, DeleteSshKeyRequestSchema, type DeleteSshKeyRequest, } from "./ssh_keys/delete_ssh_key";
|
|
57
|
+
export { syncGithubSshKeys, safeSyncGithubSshKeys, SyncGithubSshKeysResponseSchema, type SyncGithubSshKeysResponse, } from "./ssh_keys/sync_github_ssh_keys";
|
|
42
58
|
export { getAppList, safeGetAppList, GetAppListRequestSchema, type GetAppListRequest, } from "./apps/get_app_list";
|
|
43
59
|
export { getAppInfo, safeGetAppInfo, GetAppInfoRequestSchema, type GetAppInfoRequest, } from "./apps/get_app_info";
|
|
44
60
|
export { getAppCvms, safeGetAppCvms, GetAppCvmsRequestSchema, type GetAppCvmsRequest, } from "./apps/get_app_cvms";
|
|
61
|
+
export { getAppDeviceAllowlist, safeGetAppDeviceAllowlist, GetAppDeviceAllowlistRequestSchema, type GetAppDeviceAllowlistRequest, type DeviceAllowlistResponse, type DeviceAllowlistItem, } from "./apps/get_app_device_allowlist";
|
|
45
62
|
export { getAppRevisions, safeGetAppRevisions, GetAppRevisionsRequestSchema, type GetAppRevisionsRequest, } from "./apps/get_app_revisions";
|
|
46
63
|
export { getAppRevisionDetail, safeGetAppRevisionDetail, GetAppRevisionDetailRequestSchema, type GetAppRevisionDetailRequest, } from "./apps/get_app_revision_detail";
|
|
47
64
|
export { getAppFilterOptions, safeGetAppFilterOptions, AppFilterOptionsSchema, type AppFilterOptions, } from "./apps/get_app_filter_options";
|
|
65
|
+
export { getAppAttestation, safeGetAppAttestation, AppAttestationInstanceSchema, AppAttestationResponseSchema, GetAppAttestationRequestSchema, type AppAttestationInstance, type AppAttestationResponse, type GetAppAttestationRequest, } from "./apps/get_app_attestation";
|
|
66
|
+
export { getOsImages, safeGetOsImages, GetOsImagesResponseSchema, GetOsImagesRequestSchema, OSImagePublicSchema, type GetOsImagesResponse, type GetOsImagesRequest, type OSImagePublic, } from "./os_images/get_os_images";
|