@hostafrica/ha-sdk-typescript 1.0.11 → 1.0.12
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/.github/workflows/codeql.yml +34 -0
- package/dist/apis/index.d.ts +0 -2
- package/dist/apis/index.js +0 -2
- package/dist/esm/apis/index.d.ts +0 -2
- package/dist/esm/apis/index.js +0 -2
- package/dist/esm/models/NoVncConsoleDetails.d.ts +2 -26
- package/dist/esm/models/NoVncConsoleDetails.js +3 -19
- package/dist/esm/models/VpsAvailableFeatures.d.ts +0 -6
- package/dist/esm/models/VpsAvailableFeatures.js +0 -4
- package/dist/esm/models/VpsDetailsResponse.d.ts +0 -7
- package/dist/esm/models/VpsDetailsResponse.js +0 -5
- package/dist/esm/models/index.d.ts +0 -15
- package/dist/esm/models/index.js +0 -15
- package/dist/esm/retryablePaths.js +1 -3
- package/dist/models/NoVncConsoleDetails.d.ts +2 -26
- package/dist/models/NoVncConsoleDetails.js +3 -19
- package/dist/models/VpsAvailableFeatures.d.ts +0 -6
- package/dist/models/VpsAvailableFeatures.js +0 -4
- package/dist/models/VpsDetailsResponse.d.ts +0 -7
- package/dist/models/VpsDetailsResponse.js +0 -5
- package/dist/models/index.d.ts +0 -15
- package/dist/models/index.js +0 -15
- package/dist/retryablePaths.js +1 -3
- package/dist.zip +0 -0
- package/docs/NoVncConsoleDetails.md +2 -10
- package/docs/VpsAvailableFeatures.md +0 -2
- package/docs/VpsDetailsResponse.md +0 -2
- package/package.json +1 -1
- package/src/apis/index.ts +0 -2
- package/src/models/NoVncConsoleDetails.ts +5 -41
- package/src/models/VpsAvailableFeatures.ts +0 -9
- package/src/models/VpsDetailsResponse.ts +0 -16
- package/src/models/index.ts +0 -15
- package/src/retryablePaths.ts +1 -3
- package/dist/apis/SecurityApi.d.ts +0 -78
- package/dist/apis/SecurityApi.js +0 -221
- package/dist/apis/UserManagementApi.d.ts +0 -33
- package/dist/apis/UserManagementApi.js +0 -80
- package/dist/client.d.ts +0 -41
- package/dist/client.js +0 -65
- package/dist/esm/apis/SecurityApi.d.ts +0 -78
- package/dist/esm/apis/SecurityApi.js +0 -217
- package/dist/esm/apis/UserManagementApi.d.ts +0 -33
- package/dist/esm/apis/UserManagementApi.js +0 -76
- package/dist/esm/client.d.ts +0 -41
- package/dist/esm/client.js +0 -62
- package/dist/esm/models/AllowedFeaturesResponseData.d.ts +0 -39
- package/dist/esm/models/AllowedFeaturesResponseData.js +0 -48
- package/dist/esm/models/BadRequestError.d.ts +0 -38
- package/dist/esm/models/BadRequestError.js +0 -47
- package/dist/esm/models/ChangePasswordInput.d.ts +0 -38
- package/dist/esm/models/ChangePasswordInput.js +0 -47
- package/dist/esm/models/ChangePasswordOutput.d.ts +0 -40
- package/dist/esm/models/ChangePasswordOutput.js +0 -49
- package/dist/esm/models/ChangePasswordRequestContent.d.ts +0 -38
- package/dist/esm/models/ChangePasswordRequestContent.js +0 -47
- package/dist/esm/models/ChangePasswordResponseContent.d.ts +0 -40
- package/dist/esm/models/ChangePasswordResponseContent.js +0 -49
- package/dist/esm/models/CreateBackupInput.d.ts +0 -45
- package/dist/esm/models/CreateBackupInput.js +0 -48
- package/dist/esm/models/CreateBackupOutput.d.ts +0 -40
- package/dist/esm/models/CreateBackupOutput.js +0 -49
- package/dist/esm/models/CreateBackupScheduleInput.d.ts +0 -63
- package/dist/esm/models/CreateBackupScheduleInput.js +0 -62
- package/dist/esm/models/CreateBackupScheduleOutput.d.ts +0 -40
- package/dist/esm/models/CreateBackupScheduleOutput.js +0 -49
- package/dist/esm/models/CreateFirewallRuleInput.d.ts +0 -112
- package/dist/esm/models/CreateFirewallRuleInput.js +0 -75
- package/dist/esm/models/CreateFirewallRuleOutput.d.ts +0 -40
- package/dist/esm/models/CreateFirewallRuleOutput.js +0 -49
- package/dist/esm/models/CreateNotificationInput.d.ts +0 -99
- package/dist/esm/models/CreateNotificationInput.js +0 -68
- package/dist/esm/models/CreateNotificationOutput.d.ts +0 -40
- package/dist/esm/models/CreateNotificationOutput.js +0 -49
- package/dist/esm/models/CreateOrderInput.d.ts +0 -39
- package/dist/esm/models/CreateOrderInput.js +0 -46
- package/dist/esm/models/CreateOrderOutput.d.ts +0 -40
- package/dist/esm/models/CreateOrderOutput.js +0 -49
- package/dist/esm/models/CreatePowerTaskInput.d.ts +0 -98
- package/dist/esm/models/CreatePowerTaskInput.js +0 -69
- package/dist/esm/models/CreatePowerTaskOutput.d.ts +0 -40
- package/dist/esm/models/CreatePowerTaskOutput.js +0 -49
- package/dist/esm/models/CreateRdnsRecordInput.d.ts +0 -56
- package/dist/esm/models/CreateRdnsRecordInput.js +0 -57
- package/dist/esm/models/CreateRdnsRecordOutput.d.ts +0 -40
- package/dist/esm/models/CreateRdnsRecordOutput.js +0 -49
- package/dist/esm/models/CreateSnapshotInput.d.ts +0 -44
- package/dist/esm/models/CreateSnapshotInput.js +0 -47
- package/dist/esm/models/CreateSnapshotOutput.d.ts +0 -40
- package/dist/esm/models/CreateSnapshotOutput.js +0 -49
- package/dist/esm/models/DeleteBackupInput.d.ts +0 -38
- package/dist/esm/models/DeleteBackupInput.js +0 -47
- package/dist/esm/models/DeleteBackupOutput.d.ts +0 -40
- package/dist/esm/models/DeleteBackupOutput.js +0 -49
- package/dist/esm/models/DeleteBackupScheduleInput.d.ts +0 -38
- package/dist/esm/models/DeleteBackupScheduleInput.js +0 -47
- package/dist/esm/models/DeleteBackupScheduleOutput.d.ts +0 -40
- package/dist/esm/models/DeleteBackupScheduleOutput.js +0 -49
- package/dist/esm/models/DeleteFirewallRuleInput.d.ts +0 -38
- package/dist/esm/models/DeleteFirewallRuleInput.js +0 -47
- package/dist/esm/models/DeleteFirewallRuleOutput.d.ts +0 -40
- package/dist/esm/models/DeleteFirewallRuleOutput.js +0 -49
- package/dist/esm/models/DeleteNotificationInput.d.ts +0 -38
- package/dist/esm/models/DeleteNotificationInput.js +0 -47
- package/dist/esm/models/DeleteNotificationOutput.d.ts +0 -40
- package/dist/esm/models/DeleteNotificationOutput.js +0 -49
- package/dist/esm/models/DeletePowerTaskInput.d.ts +0 -38
- package/dist/esm/models/DeletePowerTaskInput.js +0 -47
- package/dist/esm/models/DeletePowerTaskOutput.d.ts +0 -40
- package/dist/esm/models/DeletePowerTaskOutput.js +0 -49
- package/dist/esm/models/DeleteRdnsRecordInput.d.ts +0 -32
- package/dist/esm/models/DeleteRdnsRecordInput.js +0 -43
- package/dist/esm/models/DeleteRdnsRecordOutput.d.ts +0 -40
- package/dist/esm/models/DeleteRdnsRecordOutput.js +0 -49
- package/dist/esm/models/DeleteSnapshotInput.d.ts +0 -38
- package/dist/esm/models/DeleteSnapshotInput.js +0 -47
- package/dist/esm/models/DeleteSnapshotOutput.d.ts +0 -40
- package/dist/esm/models/DeleteSnapshotOutput.js +0 -49
- package/dist/esm/models/EditBackupScheduleInput.d.ts +0 -69
- package/dist/esm/models/EditBackupScheduleInput.js +0 -66
- package/dist/esm/models/EditBackupScheduleOutput.d.ts +0 -40
- package/dist/esm/models/EditBackupScheduleOutput.js +0 -49
- package/dist/esm/models/ForbiddenError.d.ts +0 -38
- package/dist/esm/models/ForbiddenError.js +0 -47
- package/dist/esm/models/GetCatalogueInput.d.ts +0 -38
- package/dist/esm/models/GetCatalogueInput.js +0 -43
- package/dist/esm/models/GetCatalogueOutput.d.ts +0 -40
- package/dist/esm/models/GetCatalogueOutput.js +0 -49
- package/dist/esm/models/GetNoVncConsoleInput.d.ts +0 -32
- package/dist/esm/models/GetNoVncConsoleInput.js +0 -43
- package/dist/esm/models/GetNoVncConsoleOutput.d.ts +0 -40
- package/dist/esm/models/GetNoVncConsoleOutput.js +0 -49
- package/dist/esm/models/GetOsTemplateDetailsInput.d.ts +0 -38
- package/dist/esm/models/GetOsTemplateDetailsInput.js +0 -47
- package/dist/esm/models/GetOsTemplateDetailsOutput.d.ts +0 -40
- package/dist/esm/models/GetOsTemplateDetailsOutput.js +0 -49
- package/dist/esm/models/GetOsTemplateDetailsRequestContent.d.ts +0 -38
- package/dist/esm/models/GetOsTemplateDetailsRequestContent.js +0 -47
- package/dist/esm/models/GetOsTemplateDetailsResponseContent.d.ts +0 -40
- package/dist/esm/models/GetOsTemplateDetailsResponseContent.js +0 -49
- package/dist/esm/models/GetOsTemplateDetailsResponseData.d.ts +0 -39
- package/dist/esm/models/GetOsTemplateDetailsResponseData.js +0 -48
- package/dist/esm/models/GetPrivateSshKeyInput.d.ts +0 -32
- package/dist/esm/models/GetPrivateSshKeyInput.js +0 -43
- package/dist/esm/models/GetPrivateSshKeyOutput.d.ts +0 -40
- package/dist/esm/models/GetPrivateSshKeyOutput.js +0 -49
- package/dist/esm/models/GetPrivateSshKeyRequestContent.d.ts +0 -32
- package/dist/esm/models/GetPrivateSshKeyRequestContent.js +0 -43
- package/dist/esm/models/GetPrivateSshKeyResponseContent.d.ts +0 -40
- package/dist/esm/models/GetPrivateSshKeyResponseContent.js +0 -49
- package/dist/esm/models/GetPublicSshKeyInput.d.ts +0 -32
- package/dist/esm/models/GetPublicSshKeyInput.js +0 -43
- package/dist/esm/models/GetPublicSshKeyOutput.d.ts +0 -40
- package/dist/esm/models/GetPublicSshKeyOutput.js +0 -49
- package/dist/esm/models/GetPublicSshKeyRequestContent.d.ts +0 -32
- package/dist/esm/models/GetPublicSshKeyRequestContent.js +0 -43
- package/dist/esm/models/GetPublicSshKeyResponseContent.d.ts +0 -40
- package/dist/esm/models/GetPublicSshKeyResponseContent.js +0 -49
- package/dist/esm/models/GetVpsConfigInput.d.ts +0 -32
- package/dist/esm/models/GetVpsConfigInput.js +0 -43
- package/dist/esm/models/GetVpsConfigOutput.d.ts +0 -40
- package/dist/esm/models/GetVpsConfigOutput.js +0 -49
- package/dist/esm/models/GetVpsDetailsInput.d.ts +0 -32
- package/dist/esm/models/GetVpsDetailsInput.js +0 -43
- package/dist/esm/models/GetVpsDetailsOutput.d.ts +0 -40
- package/dist/esm/models/GetVpsDetailsOutput.js +0 -49
- package/dist/esm/models/InternalServiceError.d.ts +0 -38
- package/dist/esm/models/InternalServiceError.js +0 -47
- package/dist/esm/models/InvalidStateError.d.ts +0 -38
- package/dist/esm/models/InvalidStateError.js +0 -47
- package/dist/esm/models/ListAllowedFeaturesInput.d.ts +0 -32
- package/dist/esm/models/ListAllowedFeaturesInput.js +0 -43
- package/dist/esm/models/ListAllowedFeaturesOutput.d.ts +0 -40
- package/dist/esm/models/ListAllowedFeaturesOutput.js +0 -49
- package/dist/esm/models/ListAllowedFeaturesRequestContent.d.ts +0 -32
- package/dist/esm/models/ListAllowedFeaturesRequestContent.js +0 -43
- package/dist/esm/models/ListAllowedFeaturesResponseContent.d.ts +0 -40
- package/dist/esm/models/ListAllowedFeaturesResponseContent.js +0 -49
- package/dist/esm/models/ListBackupSchedulesInput.d.ts +0 -32
- package/dist/esm/models/ListBackupSchedulesInput.js +0 -43
- package/dist/esm/models/ListBackupSchedulesOutput.d.ts +0 -40
- package/dist/esm/models/ListBackupSchedulesOutput.js +0 -49
- package/dist/esm/models/ListBackupsInput.d.ts +0 -32
- package/dist/esm/models/ListBackupsInput.js +0 -43
- package/dist/esm/models/ListBackupsOutput.d.ts +0 -40
- package/dist/esm/models/ListBackupsOutput.js +0 -49
- package/dist/esm/models/ListFirewallRulesInput.d.ts +0 -32
- package/dist/esm/models/ListFirewallRulesInput.js +0 -43
- package/dist/esm/models/ListFirewallRulesOutput.d.ts +0 -40
- package/dist/esm/models/ListFirewallRulesOutput.js +0 -49
- package/dist/esm/models/ListIsosInput.d.ts +0 -32
- package/dist/esm/models/ListIsosInput.js +0 -43
- package/dist/esm/models/ListIsosOutput.d.ts +0 -40
- package/dist/esm/models/ListIsosOutput.js +0 -49
- package/dist/esm/models/ListNotificationsInput.d.ts +0 -32
- package/dist/esm/models/ListNotificationsInput.js +0 -43
- package/dist/esm/models/ListNotificationsOutput.d.ts +0 -40
- package/dist/esm/models/ListNotificationsOutput.js +0 -49
- package/dist/esm/models/ListOrdersOutput.d.ts +0 -40
- package/dist/esm/models/ListOrdersOutput.js +0 -49
- package/dist/esm/models/ListOsTemplatesInput.d.ts +0 -32
- package/dist/esm/models/ListOsTemplatesInput.js +0 -43
- package/dist/esm/models/ListOsTemplatesOutput.d.ts +0 -40
- package/dist/esm/models/ListOsTemplatesOutput.js +0 -49
- package/dist/esm/models/ListOsTemplatesRequestContent.d.ts +0 -32
- package/dist/esm/models/ListOsTemplatesRequestContent.js +0 -43
- package/dist/esm/models/ListOsTemplatesResponseContent.d.ts +0 -40
- package/dist/esm/models/ListOsTemplatesResponseContent.js +0 -49
- package/dist/esm/models/ListOsTemplatesResponseData.d.ts +0 -39
- package/dist/esm/models/ListOsTemplatesResponseData.js +0 -48
- package/dist/esm/models/ListPowerTasksInput.d.ts +0 -32
- package/dist/esm/models/ListPowerTasksInput.js +0 -43
- package/dist/esm/models/ListPowerTasksOutput.d.ts +0 -40
- package/dist/esm/models/ListPowerTasksOutput.js +0 -49
- package/dist/esm/models/ListRdnsRecordsOutput.d.ts +0 -40
- package/dist/esm/models/ListRdnsRecordsOutput.js +0 -49
- package/dist/esm/models/ListReinstallOsInput.d.ts +0 -32
- package/dist/esm/models/ListReinstallOsInput.js +0 -43
- package/dist/esm/models/ListReinstallOsOutput.d.ts +0 -40
- package/dist/esm/models/ListReinstallOsOutput.js +0 -49
- package/dist/esm/models/ListSnapshotsInput.d.ts +0 -32
- package/dist/esm/models/ListSnapshotsInput.js +0 -43
- package/dist/esm/models/ListSnapshotsOutput.d.ts +0 -40
- package/dist/esm/models/ListSnapshotsOutput.js +0 -49
- package/dist/esm/models/ListVpsServicesOutput.d.ts +0 -40
- package/dist/esm/models/ListVpsServicesOutput.js +0 -49
- package/dist/esm/models/MountIsoInput.d.ts +0 -44
- package/dist/esm/models/MountIsoInput.js +0 -49
- package/dist/esm/models/MountIsoOutput.d.ts +0 -40
- package/dist/esm/models/MountIsoOutput.js +0 -49
- package/dist/esm/models/MoveFirewallRuleInput.d.ts +0 -51
- package/dist/esm/models/MoveFirewallRuleInput.js +0 -52
- package/dist/esm/models/MoveFirewallRuleOutput.d.ts +0 -40
- package/dist/esm/models/MoveFirewallRuleOutput.js +0 -49
- package/dist/esm/models/OsImage.d.ts +0 -86
- package/dist/esm/models/OsImage.js +0 -79
- package/dist/esm/models/PublicSshKeyResponseData.d.ts +0 -39
- package/dist/esm/models/PublicSshKeyResponseData.js +0 -48
- package/dist/esm/models/RebootVpsInput.d.ts +0 -32
- package/dist/esm/models/RebootVpsInput.js +0 -43
- package/dist/esm/models/RebootVpsOutput.d.ts +0 -40
- package/dist/esm/models/RebootVpsOutput.js +0 -49
- package/dist/esm/models/ResourceNotFoundError.d.ts +0 -38
- package/dist/esm/models/ResourceNotFoundError.js +0 -47
- package/dist/esm/models/RestoreBackupInput.d.ts +0 -38
- package/dist/esm/models/RestoreBackupInput.js +0 -47
- package/dist/esm/models/RestoreBackupOutput.d.ts +0 -40
- package/dist/esm/models/RestoreBackupOutput.js +0 -49
- package/dist/esm/models/RetryPaymentInput.d.ts +0 -38
- package/dist/esm/models/RetryPaymentInput.js +0 -47
- package/dist/esm/models/RetryPaymentOutput.d.ts +0 -40
- package/dist/esm/models/RetryPaymentOutput.js +0 -49
- package/dist/esm/models/RollbackSnapshotInput.d.ts +0 -38
- package/dist/esm/models/RollbackSnapshotInput.js +0 -47
- package/dist/esm/models/RollbackSnapshotOutput.d.ts +0 -40
- package/dist/esm/models/RollbackSnapshotOutput.js +0 -49
- package/dist/esm/models/ServiceUnavailableError.d.ts +0 -44
- package/dist/esm/models/ServiceUnavailableError.js +0 -49
- package/dist/esm/models/ShutdownVpsInput.d.ts +0 -32
- package/dist/esm/models/ShutdownVpsInput.js +0 -43
- package/dist/esm/models/ShutdownVpsOutput.d.ts +0 -40
- package/dist/esm/models/ShutdownVpsOutput.js +0 -49
- package/dist/esm/models/SshKeyDetails.d.ts +0 -38
- package/dist/esm/models/SshKeyDetails.js +0 -47
- package/dist/esm/models/StartVpsInput.d.ts +0 -32
- package/dist/esm/models/StartVpsInput.js +0 -43
- package/dist/esm/models/StartVpsOutput.d.ts +0 -40
- package/dist/esm/models/StartVpsOutput.js +0 -49
- package/dist/esm/models/StopVpsInput.d.ts +0 -32
- package/dist/esm/models/StopVpsInput.js +0 -43
- package/dist/esm/models/StopVpsOutput.d.ts +0 -40
- package/dist/esm/models/StopVpsOutput.js +0 -49
- package/dist/esm/models/SuspendVpsInput.d.ts +0 -38
- package/dist/esm/models/SuspendVpsInput.js +0 -47
- package/dist/esm/models/SuspendVpsOutput.d.ts +0 -40
- package/dist/esm/models/SuspendVpsOutput.js +0 -49
- package/dist/esm/models/SuspendVpsRequestContent.d.ts +0 -38
- package/dist/esm/models/SuspendVpsRequestContent.js +0 -47
- package/dist/esm/models/SuspendVpsResponseContent.d.ts +0 -40
- package/dist/esm/models/SuspendVpsResponseContent.js +0 -49
- package/dist/esm/models/TerminateVpsInput.d.ts +0 -32
- package/dist/esm/models/TerminateVpsInput.js +0 -43
- package/dist/esm/models/TerminateVpsOutput.d.ts +0 -40
- package/dist/esm/models/TerminateVpsOutput.js +0 -49
- package/dist/esm/models/TerminateVpsRequestContent.d.ts +0 -32
- package/dist/esm/models/TerminateVpsRequestContent.js +0 -43
- package/dist/esm/models/TerminateVpsResponseContent.d.ts +0 -40
- package/dist/esm/models/TerminateVpsResponseContent.js +0 -49
- package/dist/esm/models/TooManyRequestsError.d.ts +0 -44
- package/dist/esm/models/TooManyRequestsError.js +0 -49
- package/dist/esm/models/TriggerReinstallInput.d.ts +0 -38
- package/dist/esm/models/TriggerReinstallInput.js +0 -47
- package/dist/esm/models/TriggerReinstallOutput.d.ts +0 -40
- package/dist/esm/models/TriggerReinstallOutput.js +0 -49
- package/dist/esm/models/UnauthorizedError.d.ts +0 -38
- package/dist/esm/models/UnauthorizedError.js +0 -47
- package/dist/esm/models/UnsuspendVpsInput.d.ts +0 -32
- package/dist/esm/models/UnsuspendVpsInput.js +0 -43
- package/dist/esm/models/UnsuspendVpsOutput.d.ts +0 -40
- package/dist/esm/models/UnsuspendVpsOutput.js +0 -49
- package/dist/esm/models/UnsuspendVpsRequestContent.d.ts +0 -32
- package/dist/esm/models/UnsuspendVpsRequestContent.js +0 -43
- package/dist/esm/models/UnsuspendVpsResponseContent.d.ts +0 -40
- package/dist/esm/models/UnsuspendVpsResponseContent.js +0 -49
- package/dist/esm/models/UpdateFirewallRuleInput.d.ts +0 -51
- package/dist/esm/models/UpdateFirewallRuleInput.js +0 -52
- package/dist/esm/models/UpdateFirewallRuleOutput.d.ts +0 -40
- package/dist/esm/models/UpdateFirewallRuleOutput.js +0 -49
- package/dist/esm/models/UpdateNotificationInput.d.ts +0 -105
- package/dist/esm/models/UpdateNotificationInput.js +0 -70
- package/dist/esm/models/UpdateNotificationOutput.d.ts +0 -40
- package/dist/esm/models/UpdateNotificationOutput.js +0 -49
- package/dist/esm/models/UpdatePowerTaskInput.d.ts +0 -104
- package/dist/esm/models/UpdatePowerTaskInput.js +0 -69
- package/dist/esm/models/UpdatePowerTaskOutput.d.ts +0 -40
- package/dist/esm/models/UpdatePowerTaskOutput.js +0 -49
- package/dist/esm/models/UpdateSnapshotInput.d.ts +0 -44
- package/dist/esm/models/UpdateSnapshotInput.js +0 -49
- package/dist/esm/models/UpdateSnapshotOutput.d.ts +0 -40
- package/dist/esm/models/UpdateSnapshotOutput.js +0 -49
- package/dist/esm/models/UpdateSshKeysInput.d.ts +0 -38
- package/dist/esm/models/UpdateSshKeysInput.js +0 -47
- package/dist/esm/models/UpdateSshKeysOutput.d.ts +0 -40
- package/dist/esm/models/UpdateSshKeysOutput.js +0 -49
- package/dist/esm/models/UpdateSshKeysRequestContent.d.ts +0 -38
- package/dist/esm/models/UpdateSshKeysRequestContent.js +0 -47
- package/dist/esm/models/UpdateSshKeysResponseContent.d.ts +0 -40
- package/dist/esm/models/UpdateSshKeysResponseContent.js +0 -49
- package/dist/esm/models/UpdateVpsConfigInput.d.ts +0 -68
- package/dist/esm/models/UpdateVpsConfigInput.js +0 -55
- package/dist/esm/models/UpdateVpsConfigOutput.d.ts +0 -40
- package/dist/esm/models/UpdateVpsConfigOutput.js +0 -49
- package/dist/esm/models/UserChangePasswordDetails.d.ts +0 -44
- package/dist/esm/models/UserChangePasswordDetails.js +0 -51
- package/dist/esm/models/UserChangePasswordInput.d.ts +0 -44
- package/dist/esm/models/UserChangePasswordInput.js +0 -51
- package/dist/esm/models/UserChangePasswordOutput.d.ts +0 -40
- package/dist/esm/models/UserChangePasswordOutput.js +0 -49
- package/dist/esm/models/UserChangePasswordRequestContent.d.ts +0 -44
- package/dist/esm/models/UserChangePasswordRequestContent.js +0 -51
- package/dist/esm/models/UserChangePasswordResponseContent.d.ts +0 -40
- package/dist/esm/models/UserChangePasswordResponseContent.js +0 -49
- package/dist/esm/models/UserChangePasswordResponseData.d.ts +0 -45
- package/dist/esm/models/UserChangePasswordResponseData.js +0 -52
- package/dist/esm/models/ValidatePricingInput.d.ts +0 -39
- package/dist/esm/models/ValidatePricingInput.js +0 -46
- package/dist/esm/models/ValidatePricingOutput.d.ts +0 -40
- package/dist/esm/models/ValidatePricingOutput.js +0 -49
- package/dist/esm/models/ValidationError.d.ts +0 -38
- package/dist/esm/models/ValidationError.js +0 -47
- package/dist/esm/models/VpsBandwidthInfo.d.ts +0 -50
- package/dist/esm/models/VpsBandwidthInfo.js +0 -49
- package/dist/esm/models/VpsCancelDetails.d.ts +0 -44
- package/dist/esm/models/VpsCancelDetails.js +0 -51
- package/dist/models/AllowedFeaturesResponseData.d.ts +0 -39
- package/dist/models/AllowedFeaturesResponseData.js +0 -55
- package/dist/models/BadRequestError.d.ts +0 -38
- package/dist/models/BadRequestError.js +0 -54
- package/dist/models/ChangePasswordInput.d.ts +0 -38
- package/dist/models/ChangePasswordInput.js +0 -54
- package/dist/models/ChangePasswordOutput.d.ts +0 -40
- package/dist/models/ChangePasswordOutput.js +0 -56
- package/dist/models/ChangePasswordRequestContent.d.ts +0 -38
- package/dist/models/ChangePasswordRequestContent.js +0 -54
- package/dist/models/ChangePasswordResponseContent.d.ts +0 -40
- package/dist/models/ChangePasswordResponseContent.js +0 -56
- package/dist/models/CreateBackupInput.d.ts +0 -45
- package/dist/models/CreateBackupInput.js +0 -55
- package/dist/models/CreateBackupOutput.d.ts +0 -40
- package/dist/models/CreateBackupOutput.js +0 -56
- package/dist/models/CreateBackupScheduleInput.d.ts +0 -63
- package/dist/models/CreateBackupScheduleInput.js +0 -69
- package/dist/models/CreateBackupScheduleOutput.d.ts +0 -40
- package/dist/models/CreateBackupScheduleOutput.js +0 -56
- package/dist/models/CreateFirewallRuleInput.d.ts +0 -112
- package/dist/models/CreateFirewallRuleInput.js +0 -82
- package/dist/models/CreateFirewallRuleOutput.d.ts +0 -40
- package/dist/models/CreateFirewallRuleOutput.js +0 -56
- package/dist/models/CreateNotificationInput.d.ts +0 -99
- package/dist/models/CreateNotificationInput.js +0 -75
- package/dist/models/CreateNotificationOutput.d.ts +0 -40
- package/dist/models/CreateNotificationOutput.js +0 -56
- package/dist/models/CreateOrderInput.d.ts +0 -39
- package/dist/models/CreateOrderInput.js +0 -53
- package/dist/models/CreateOrderOutput.d.ts +0 -40
- package/dist/models/CreateOrderOutput.js +0 -56
- package/dist/models/CreatePowerTaskInput.d.ts +0 -98
- package/dist/models/CreatePowerTaskInput.js +0 -76
- package/dist/models/CreatePowerTaskOutput.d.ts +0 -40
- package/dist/models/CreatePowerTaskOutput.js +0 -56
- package/dist/models/CreateRdnsRecordInput.d.ts +0 -56
- package/dist/models/CreateRdnsRecordInput.js +0 -64
- package/dist/models/CreateRdnsRecordOutput.d.ts +0 -40
- package/dist/models/CreateRdnsRecordOutput.js +0 -56
- package/dist/models/CreateSnapshotInput.d.ts +0 -44
- package/dist/models/CreateSnapshotInput.js +0 -54
- package/dist/models/CreateSnapshotOutput.d.ts +0 -40
- package/dist/models/CreateSnapshotOutput.js +0 -56
- package/dist/models/DeleteBackupInput.d.ts +0 -38
- package/dist/models/DeleteBackupInput.js +0 -54
- package/dist/models/DeleteBackupOutput.d.ts +0 -40
- package/dist/models/DeleteBackupOutput.js +0 -56
- package/dist/models/DeleteBackupScheduleInput.d.ts +0 -38
- package/dist/models/DeleteBackupScheduleInput.js +0 -54
- package/dist/models/DeleteBackupScheduleOutput.d.ts +0 -40
- package/dist/models/DeleteBackupScheduleOutput.js +0 -56
- package/dist/models/DeleteFirewallRuleInput.d.ts +0 -38
- package/dist/models/DeleteFirewallRuleInput.js +0 -54
- package/dist/models/DeleteFirewallRuleOutput.d.ts +0 -40
- package/dist/models/DeleteFirewallRuleOutput.js +0 -56
- package/dist/models/DeleteNotificationInput.d.ts +0 -38
- package/dist/models/DeleteNotificationInput.js +0 -54
- package/dist/models/DeleteNotificationOutput.d.ts +0 -40
- package/dist/models/DeleteNotificationOutput.js +0 -56
- package/dist/models/DeletePowerTaskInput.d.ts +0 -38
- package/dist/models/DeletePowerTaskInput.js +0 -54
- package/dist/models/DeletePowerTaskOutput.d.ts +0 -40
- package/dist/models/DeletePowerTaskOutput.js +0 -56
- package/dist/models/DeleteRdnsRecordInput.d.ts +0 -32
- package/dist/models/DeleteRdnsRecordInput.js +0 -50
- package/dist/models/DeleteRdnsRecordOutput.d.ts +0 -40
- package/dist/models/DeleteRdnsRecordOutput.js +0 -56
- package/dist/models/DeleteSnapshotInput.d.ts +0 -38
- package/dist/models/DeleteSnapshotInput.js +0 -54
- package/dist/models/DeleteSnapshotOutput.d.ts +0 -40
- package/dist/models/DeleteSnapshotOutput.js +0 -56
- package/dist/models/EditBackupScheduleInput.d.ts +0 -69
- package/dist/models/EditBackupScheduleInput.js +0 -73
- package/dist/models/EditBackupScheduleOutput.d.ts +0 -40
- package/dist/models/EditBackupScheduleOutput.js +0 -56
- package/dist/models/ForbiddenError.d.ts +0 -38
- package/dist/models/ForbiddenError.js +0 -54
- package/dist/models/GetCatalogueInput.d.ts +0 -38
- package/dist/models/GetCatalogueInput.js +0 -50
- package/dist/models/GetCatalogueOutput.d.ts +0 -40
- package/dist/models/GetCatalogueOutput.js +0 -56
- package/dist/models/GetNoVncConsoleInput.d.ts +0 -32
- package/dist/models/GetNoVncConsoleInput.js +0 -50
- package/dist/models/GetNoVncConsoleOutput.d.ts +0 -40
- package/dist/models/GetNoVncConsoleOutput.js +0 -56
- package/dist/models/GetOsTemplateDetailsInput.d.ts +0 -38
- package/dist/models/GetOsTemplateDetailsInput.js +0 -54
- package/dist/models/GetOsTemplateDetailsOutput.d.ts +0 -40
- package/dist/models/GetOsTemplateDetailsOutput.js +0 -56
- package/dist/models/GetOsTemplateDetailsRequestContent.d.ts +0 -38
- package/dist/models/GetOsTemplateDetailsRequestContent.js +0 -54
- package/dist/models/GetOsTemplateDetailsResponseContent.d.ts +0 -40
- package/dist/models/GetOsTemplateDetailsResponseContent.js +0 -56
- package/dist/models/GetOsTemplateDetailsResponseData.d.ts +0 -39
- package/dist/models/GetOsTemplateDetailsResponseData.js +0 -55
- package/dist/models/GetPrivateSshKeyInput.d.ts +0 -32
- package/dist/models/GetPrivateSshKeyInput.js +0 -50
- package/dist/models/GetPrivateSshKeyOutput.d.ts +0 -40
- package/dist/models/GetPrivateSshKeyOutput.js +0 -56
- package/dist/models/GetPrivateSshKeyRequestContent.d.ts +0 -32
- package/dist/models/GetPrivateSshKeyRequestContent.js +0 -50
- package/dist/models/GetPrivateSshKeyResponseContent.d.ts +0 -40
- package/dist/models/GetPrivateSshKeyResponseContent.js +0 -56
- package/dist/models/GetPublicSshKeyInput.d.ts +0 -32
- package/dist/models/GetPublicSshKeyInput.js +0 -50
- package/dist/models/GetPublicSshKeyOutput.d.ts +0 -40
- package/dist/models/GetPublicSshKeyOutput.js +0 -56
- package/dist/models/GetPublicSshKeyRequestContent.d.ts +0 -32
- package/dist/models/GetPublicSshKeyRequestContent.js +0 -50
- package/dist/models/GetPublicSshKeyResponseContent.d.ts +0 -40
- package/dist/models/GetPublicSshKeyResponseContent.js +0 -56
- package/dist/models/GetVpsConfigInput.d.ts +0 -32
- package/dist/models/GetVpsConfigInput.js +0 -50
- package/dist/models/GetVpsConfigOutput.d.ts +0 -40
- package/dist/models/GetVpsConfigOutput.js +0 -56
- package/dist/models/GetVpsDetailsInput.d.ts +0 -32
- package/dist/models/GetVpsDetailsInput.js +0 -50
- package/dist/models/GetVpsDetailsOutput.d.ts +0 -40
- package/dist/models/GetVpsDetailsOutput.js +0 -56
- package/dist/models/InternalServiceError.d.ts +0 -38
- package/dist/models/InternalServiceError.js +0 -54
- package/dist/models/InvalidStateError.d.ts +0 -38
- package/dist/models/InvalidStateError.js +0 -54
- package/dist/models/ListAllowedFeaturesInput.d.ts +0 -32
- package/dist/models/ListAllowedFeaturesInput.js +0 -50
- package/dist/models/ListAllowedFeaturesOutput.d.ts +0 -40
- package/dist/models/ListAllowedFeaturesOutput.js +0 -56
- package/dist/models/ListAllowedFeaturesRequestContent.d.ts +0 -32
- package/dist/models/ListAllowedFeaturesRequestContent.js +0 -50
- package/dist/models/ListAllowedFeaturesResponseContent.d.ts +0 -40
- package/dist/models/ListAllowedFeaturesResponseContent.js +0 -56
- package/dist/models/ListBackupSchedulesInput.d.ts +0 -32
- package/dist/models/ListBackupSchedulesInput.js +0 -50
- package/dist/models/ListBackupSchedulesOutput.d.ts +0 -40
- package/dist/models/ListBackupSchedulesOutput.js +0 -56
- package/dist/models/ListBackupsInput.d.ts +0 -32
- package/dist/models/ListBackupsInput.js +0 -50
- package/dist/models/ListBackupsOutput.d.ts +0 -40
- package/dist/models/ListBackupsOutput.js +0 -56
- package/dist/models/ListFirewallRulesInput.d.ts +0 -32
- package/dist/models/ListFirewallRulesInput.js +0 -50
- package/dist/models/ListFirewallRulesOutput.d.ts +0 -40
- package/dist/models/ListFirewallRulesOutput.js +0 -56
- package/dist/models/ListIsosInput.d.ts +0 -32
- package/dist/models/ListIsosInput.js +0 -50
- package/dist/models/ListIsosOutput.d.ts +0 -40
- package/dist/models/ListIsosOutput.js +0 -56
- package/dist/models/ListNotificationsInput.d.ts +0 -32
- package/dist/models/ListNotificationsInput.js +0 -50
- package/dist/models/ListNotificationsOutput.d.ts +0 -40
- package/dist/models/ListNotificationsOutput.js +0 -56
- package/dist/models/ListOrdersOutput.d.ts +0 -40
- package/dist/models/ListOrdersOutput.js +0 -56
- package/dist/models/ListOsTemplatesInput.d.ts +0 -32
- package/dist/models/ListOsTemplatesInput.js +0 -50
- package/dist/models/ListOsTemplatesOutput.d.ts +0 -40
- package/dist/models/ListOsTemplatesOutput.js +0 -56
- package/dist/models/ListOsTemplatesRequestContent.d.ts +0 -32
- package/dist/models/ListOsTemplatesRequestContent.js +0 -50
- package/dist/models/ListOsTemplatesResponseContent.d.ts +0 -40
- package/dist/models/ListOsTemplatesResponseContent.js +0 -56
- package/dist/models/ListOsTemplatesResponseData.d.ts +0 -39
- package/dist/models/ListOsTemplatesResponseData.js +0 -55
- package/dist/models/ListPowerTasksInput.d.ts +0 -32
- package/dist/models/ListPowerTasksInput.js +0 -50
- package/dist/models/ListPowerTasksOutput.d.ts +0 -40
- package/dist/models/ListPowerTasksOutput.js +0 -56
- package/dist/models/ListRdnsRecordsOutput.d.ts +0 -40
- package/dist/models/ListRdnsRecordsOutput.js +0 -56
- package/dist/models/ListReinstallOsInput.d.ts +0 -32
- package/dist/models/ListReinstallOsInput.js +0 -50
- package/dist/models/ListReinstallOsOutput.d.ts +0 -40
- package/dist/models/ListReinstallOsOutput.js +0 -56
- package/dist/models/ListSnapshotsInput.d.ts +0 -32
- package/dist/models/ListSnapshotsInput.js +0 -50
- package/dist/models/ListSnapshotsOutput.d.ts +0 -40
- package/dist/models/ListSnapshotsOutput.js +0 -56
- package/dist/models/ListVpsServicesOutput.d.ts +0 -40
- package/dist/models/ListVpsServicesOutput.js +0 -56
- package/dist/models/MountIsoInput.d.ts +0 -44
- package/dist/models/MountIsoInput.js +0 -56
- package/dist/models/MountIsoOutput.d.ts +0 -40
- package/dist/models/MountIsoOutput.js +0 -56
- package/dist/models/MoveFirewallRuleInput.d.ts +0 -51
- package/dist/models/MoveFirewallRuleInput.js +0 -59
- package/dist/models/MoveFirewallRuleOutput.d.ts +0 -40
- package/dist/models/MoveFirewallRuleOutput.js +0 -56
- package/dist/models/OsImage.d.ts +0 -86
- package/dist/models/OsImage.js +0 -86
- package/dist/models/PublicSshKeyResponseData.d.ts +0 -39
- package/dist/models/PublicSshKeyResponseData.js +0 -55
- package/dist/models/RebootVpsInput.d.ts +0 -32
- package/dist/models/RebootVpsInput.js +0 -50
- package/dist/models/RebootVpsOutput.d.ts +0 -40
- package/dist/models/RebootVpsOutput.js +0 -56
- package/dist/models/ResourceNotFoundError.d.ts +0 -38
- package/dist/models/ResourceNotFoundError.js +0 -54
- package/dist/models/RestoreBackupInput.d.ts +0 -38
- package/dist/models/RestoreBackupInput.js +0 -54
- package/dist/models/RestoreBackupOutput.d.ts +0 -40
- package/dist/models/RestoreBackupOutput.js +0 -56
- package/dist/models/RetryPaymentInput.d.ts +0 -38
- package/dist/models/RetryPaymentInput.js +0 -54
- package/dist/models/RetryPaymentOutput.d.ts +0 -40
- package/dist/models/RetryPaymentOutput.js +0 -56
- package/dist/models/RollbackSnapshotInput.d.ts +0 -38
- package/dist/models/RollbackSnapshotInput.js +0 -54
- package/dist/models/RollbackSnapshotOutput.d.ts +0 -40
- package/dist/models/RollbackSnapshotOutput.js +0 -56
- package/dist/models/ServiceUnavailableError.d.ts +0 -44
- package/dist/models/ServiceUnavailableError.js +0 -56
- package/dist/models/ShutdownVpsInput.d.ts +0 -32
- package/dist/models/ShutdownVpsInput.js +0 -50
- package/dist/models/ShutdownVpsOutput.d.ts +0 -40
- package/dist/models/ShutdownVpsOutput.js +0 -56
- package/dist/models/SshKeyDetails.d.ts +0 -38
- package/dist/models/SshKeyDetails.js +0 -54
- package/dist/models/StartVpsInput.d.ts +0 -32
- package/dist/models/StartVpsInput.js +0 -50
- package/dist/models/StartVpsOutput.d.ts +0 -40
- package/dist/models/StartVpsOutput.js +0 -56
- package/dist/models/StopVpsInput.d.ts +0 -32
- package/dist/models/StopVpsInput.js +0 -50
- package/dist/models/StopVpsOutput.d.ts +0 -40
- package/dist/models/StopVpsOutput.js +0 -56
- package/dist/models/SuspendVpsInput.d.ts +0 -38
- package/dist/models/SuspendVpsInput.js +0 -54
- package/dist/models/SuspendVpsOutput.d.ts +0 -40
- package/dist/models/SuspendVpsOutput.js +0 -56
- package/dist/models/SuspendVpsRequestContent.d.ts +0 -38
- package/dist/models/SuspendVpsRequestContent.js +0 -54
- package/dist/models/SuspendVpsResponseContent.d.ts +0 -40
- package/dist/models/SuspendVpsResponseContent.js +0 -56
- package/dist/models/TerminateVpsInput.d.ts +0 -32
- package/dist/models/TerminateVpsInput.js +0 -50
- package/dist/models/TerminateVpsOutput.d.ts +0 -40
- package/dist/models/TerminateVpsOutput.js +0 -56
- package/dist/models/TerminateVpsRequestContent.d.ts +0 -32
- package/dist/models/TerminateVpsRequestContent.js +0 -50
- package/dist/models/TerminateVpsResponseContent.d.ts +0 -40
- package/dist/models/TerminateVpsResponseContent.js +0 -56
- package/dist/models/TooManyRequestsError.d.ts +0 -44
- package/dist/models/TooManyRequestsError.js +0 -56
- package/dist/models/TriggerReinstallInput.d.ts +0 -38
- package/dist/models/TriggerReinstallInput.js +0 -54
- package/dist/models/TriggerReinstallOutput.d.ts +0 -40
- package/dist/models/TriggerReinstallOutput.js +0 -56
- package/dist/models/UnauthorizedError.d.ts +0 -38
- package/dist/models/UnauthorizedError.js +0 -54
- package/dist/models/UnsuspendVpsInput.d.ts +0 -32
- package/dist/models/UnsuspendVpsInput.js +0 -50
- package/dist/models/UnsuspendVpsOutput.d.ts +0 -40
- package/dist/models/UnsuspendVpsOutput.js +0 -56
- package/dist/models/UnsuspendVpsRequestContent.d.ts +0 -32
- package/dist/models/UnsuspendVpsRequestContent.js +0 -50
- package/dist/models/UnsuspendVpsResponseContent.d.ts +0 -40
- package/dist/models/UnsuspendVpsResponseContent.js +0 -56
- package/dist/models/UpdateFirewallRuleInput.d.ts +0 -51
- package/dist/models/UpdateFirewallRuleInput.js +0 -59
- package/dist/models/UpdateFirewallRuleOutput.d.ts +0 -40
- package/dist/models/UpdateFirewallRuleOutput.js +0 -56
- package/dist/models/UpdateNotificationInput.d.ts +0 -105
- package/dist/models/UpdateNotificationInput.js +0 -77
- package/dist/models/UpdateNotificationOutput.d.ts +0 -40
- package/dist/models/UpdateNotificationOutput.js +0 -56
- package/dist/models/UpdatePowerTaskInput.d.ts +0 -104
- package/dist/models/UpdatePowerTaskInput.js +0 -76
- package/dist/models/UpdatePowerTaskOutput.d.ts +0 -40
- package/dist/models/UpdatePowerTaskOutput.js +0 -56
- package/dist/models/UpdateSnapshotInput.d.ts +0 -44
- package/dist/models/UpdateSnapshotInput.js +0 -56
- package/dist/models/UpdateSnapshotOutput.d.ts +0 -40
- package/dist/models/UpdateSnapshotOutput.js +0 -56
- package/dist/models/UpdateSshKeysInput.d.ts +0 -38
- package/dist/models/UpdateSshKeysInput.js +0 -54
- package/dist/models/UpdateSshKeysOutput.d.ts +0 -40
- package/dist/models/UpdateSshKeysOutput.js +0 -56
- package/dist/models/UpdateSshKeysRequestContent.d.ts +0 -38
- package/dist/models/UpdateSshKeysRequestContent.js +0 -54
- package/dist/models/UpdateSshKeysResponseContent.d.ts +0 -40
- package/dist/models/UpdateSshKeysResponseContent.js +0 -56
- package/dist/models/UpdateVpsConfigInput.d.ts +0 -68
- package/dist/models/UpdateVpsConfigInput.js +0 -62
- package/dist/models/UpdateVpsConfigOutput.d.ts +0 -40
- package/dist/models/UpdateVpsConfigOutput.js +0 -56
- package/dist/models/UserChangePasswordDetails.d.ts +0 -44
- package/dist/models/UserChangePasswordDetails.js +0 -58
- package/dist/models/UserChangePasswordInput.d.ts +0 -44
- package/dist/models/UserChangePasswordInput.js +0 -58
- package/dist/models/UserChangePasswordOutput.d.ts +0 -40
- package/dist/models/UserChangePasswordOutput.js +0 -56
- package/dist/models/UserChangePasswordRequestContent.d.ts +0 -44
- package/dist/models/UserChangePasswordRequestContent.js +0 -58
- package/dist/models/UserChangePasswordResponseContent.d.ts +0 -40
- package/dist/models/UserChangePasswordResponseContent.js +0 -56
- package/dist/models/UserChangePasswordResponseData.d.ts +0 -45
- package/dist/models/UserChangePasswordResponseData.js +0 -59
- package/dist/models/ValidatePricingInput.d.ts +0 -39
- package/dist/models/ValidatePricingInput.js +0 -53
- package/dist/models/ValidatePricingOutput.d.ts +0 -40
- package/dist/models/ValidatePricingOutput.js +0 -56
- package/dist/models/ValidationError.d.ts +0 -38
- package/dist/models/ValidationError.js +0 -54
- package/dist/models/VpsBandwidthInfo.d.ts +0 -50
- package/dist/models/VpsBandwidthInfo.js +0 -56
- package/dist/models/VpsCancelDetails.d.ts +0 -44
- package/dist/models/VpsCancelDetails.js +0 -58
- package/docs/AllowedFeaturesResponseData.md +0 -37
- package/docs/BadRequestError.md +0 -36
- package/docs/ChangePasswordInput.md +0 -36
- package/docs/ChangePasswordOutput.md +0 -36
- package/docs/ChangePasswordRequestContent.md +0 -36
- package/docs/ChangePasswordResponseContent.md +0 -36
- package/docs/CreateBackupInput.md +0 -38
- package/docs/CreateBackupOutput.md +0 -36
- package/docs/CreateBackupScheduleInput.md +0 -44
- package/docs/CreateBackupScheduleOutput.md +0 -36
- package/docs/CreateFirewallRuleInput.md +0 -60
- package/docs/CreateFirewallRuleOutput.md +0 -36
- package/docs/CreateNotificationInput.md +0 -56
- package/docs/CreateNotificationOutput.md +0 -36
- package/docs/CreateOrderInput.md +0 -36
- package/docs/CreateOrderOutput.md +0 -36
- package/docs/CreatePowerTaskInput.md +0 -56
- package/docs/CreatePowerTaskOutput.md +0 -36
- package/docs/CreateRdnsRecordInput.md +0 -42
- package/docs/CreateRdnsRecordOutput.md +0 -36
- package/docs/CreateSnapshotInput.md +0 -38
- package/docs/CreateSnapshotOutput.md +0 -36
- package/docs/DeleteBackupInput.md +0 -36
- package/docs/DeleteBackupOutput.md +0 -36
- package/docs/DeleteBackupScheduleInput.md +0 -36
- package/docs/DeleteBackupScheduleOutput.md +0 -36
- package/docs/DeleteFirewallRuleInput.md +0 -36
- package/docs/DeleteFirewallRuleOutput.md +0 -36
- package/docs/DeleteNotificationInput.md +0 -36
- package/docs/DeleteNotificationOutput.md +0 -36
- package/docs/DeletePowerTaskInput.md +0 -36
- package/docs/DeletePowerTaskOutput.md +0 -36
- package/docs/DeleteRdnsRecordInput.md +0 -34
- package/docs/DeleteRdnsRecordOutput.md +0 -36
- package/docs/DeleteSnapshotInput.md +0 -36
- package/docs/DeleteSnapshotOutput.md +0 -36
- package/docs/EditBackupScheduleInput.md +0 -46
- package/docs/EditBackupScheduleOutput.md +0 -36
- package/docs/ForbiddenError.md +0 -36
- package/docs/GetCatalogueInput.md +0 -36
- package/docs/GetCatalogueOutput.md +0 -36
- package/docs/GetNoVncConsoleInput.md +0 -34
- package/docs/GetNoVncConsoleOutput.md +0 -36
- package/docs/GetOsTemplateDetailsInput.md +0 -36
- package/docs/GetOsTemplateDetailsOutput.md +0 -36
- package/docs/GetOsTemplateDetailsRequestContent.md +0 -36
- package/docs/GetOsTemplateDetailsResponseContent.md +0 -36
- package/docs/GetOsTemplateDetailsResponseData.md +0 -37
- package/docs/GetPrivateSshKeyInput.md +0 -34
- package/docs/GetPrivateSshKeyOutput.md +0 -36
- package/docs/GetPrivateSshKeyRequestContent.md +0 -34
- package/docs/GetPrivateSshKeyResponseContent.md +0 -36
- package/docs/GetPublicSshKeyInput.md +0 -34
- package/docs/GetPublicSshKeyOutput.md +0 -36
- package/docs/GetPublicSshKeyRequestContent.md +0 -34
- package/docs/GetPublicSshKeyResponseContent.md +0 -36
- package/docs/GetVpsConfigInput.md +0 -34
- package/docs/GetVpsConfigOutput.md +0 -36
- package/docs/GetVpsDetailsInput.md +0 -34
- package/docs/GetVpsDetailsOutput.md +0 -36
- package/docs/InternalServiceError.md +0 -36
- package/docs/InvalidStateError.md +0 -36
- package/docs/ListAllowedFeaturesInput.md +0 -34
- package/docs/ListAllowedFeaturesOutput.md +0 -36
- package/docs/ListAllowedFeaturesRequestContent.md +0 -34
- package/docs/ListAllowedFeaturesResponseContent.md +0 -36
- package/docs/ListBackupSchedulesInput.md +0 -34
- package/docs/ListBackupSchedulesOutput.md +0 -36
- package/docs/ListBackupsInput.md +0 -34
- package/docs/ListBackupsOutput.md +0 -36
- package/docs/ListFirewallRulesInput.md +0 -34
- package/docs/ListFirewallRulesOutput.md +0 -36
- package/docs/ListIsosInput.md +0 -34
- package/docs/ListIsosOutput.md +0 -36
- package/docs/ListNotificationsInput.md +0 -34
- package/docs/ListNotificationsOutput.md +0 -36
- package/docs/ListOrdersOutput.md +0 -36
- package/docs/ListOsTemplatesInput.md +0 -34
- package/docs/ListOsTemplatesOutput.md +0 -36
- package/docs/ListOsTemplatesRequestContent.md +0 -34
- package/docs/ListOsTemplatesResponseContent.md +0 -36
- package/docs/ListOsTemplatesResponseData.md +0 -37
- package/docs/ListPowerTasksInput.md +0 -34
- package/docs/ListPowerTasksOutput.md +0 -36
- package/docs/ListRdnsRecordsOutput.md +0 -36
- package/docs/ListReinstallOsInput.md +0 -34
- package/docs/ListReinstallOsOutput.md +0 -36
- package/docs/ListSnapshotsInput.md +0 -34
- package/docs/ListSnapshotsOutput.md +0 -36
- package/docs/ListVpsServicesOutput.md +0 -36
- package/docs/MountIsoInput.md +0 -38
- package/docs/MountIsoOutput.md +0 -36
- package/docs/MoveFirewallRuleInput.md +0 -40
- package/docs/MoveFirewallRuleOutput.md +0 -36
- package/docs/OsImage.md +0 -53
- package/docs/PublicSshKeyResponseData.md +0 -37
- package/docs/RebootVpsInput.md +0 -34
- package/docs/RebootVpsOutput.md +0 -36
- package/docs/ResourceNotFoundError.md +0 -36
- package/docs/RestoreBackupInput.md +0 -36
- package/docs/RestoreBackupOutput.md +0 -36
- package/docs/RetryPaymentInput.md +0 -36
- package/docs/RetryPaymentOutput.md +0 -36
- package/docs/RollbackSnapshotInput.md +0 -36
- package/docs/RollbackSnapshotOutput.md +0 -36
- package/docs/SecurityApi.md +0 -331
- package/docs/ServiceUnavailableError.md +0 -38
- package/docs/ShutdownVpsInput.md +0 -34
- package/docs/ShutdownVpsOutput.md +0 -36
- package/docs/SshKeyDetails.md +0 -37
- package/docs/StartVpsInput.md +0 -34
- package/docs/StartVpsOutput.md +0 -36
- package/docs/StopVpsInput.md +0 -34
- package/docs/StopVpsOutput.md +0 -36
- package/docs/SuspendVpsInput.md +0 -36
- package/docs/SuspendVpsOutput.md +0 -36
- package/docs/SuspendVpsRequestContent.md +0 -36
- package/docs/SuspendVpsResponseContent.md +0 -36
- package/docs/TerminateVpsInput.md +0 -34
- package/docs/TerminateVpsOutput.md +0 -36
- package/docs/TerminateVpsRequestContent.md +0 -34
- package/docs/TerminateVpsResponseContent.md +0 -36
- package/docs/TooManyRequestsError.md +0 -38
- package/docs/TriggerReinstallInput.md +0 -36
- package/docs/TriggerReinstallOutput.md +0 -36
- package/docs/UnauthorizedError.md +0 -36
- package/docs/UnsuspendVpsInput.md +0 -34
- package/docs/UnsuspendVpsOutput.md +0 -36
- package/docs/UnsuspendVpsRequestContent.md +0 -34
- package/docs/UnsuspendVpsResponseContent.md +0 -36
- package/docs/UpdateFirewallRuleInput.md +0 -40
- package/docs/UpdateFirewallRuleOutput.md +0 -36
- package/docs/UpdateNotificationInput.md +0 -58
- package/docs/UpdateNotificationOutput.md +0 -36
- package/docs/UpdatePowerTaskInput.md +0 -58
- package/docs/UpdatePowerTaskOutput.md +0 -36
- package/docs/UpdateSnapshotInput.md +0 -38
- package/docs/UpdateSnapshotOutput.md +0 -36
- package/docs/UpdateSshKeysInput.md +0 -36
- package/docs/UpdateSshKeysOutput.md +0 -36
- package/docs/UpdateSshKeysRequestContent.md +0 -36
- package/docs/UpdateSshKeysResponseContent.md +0 -36
- package/docs/UpdateVpsConfigInput.md +0 -46
- package/docs/UpdateVpsConfigOutput.md +0 -36
- package/docs/UserChangePasswordDetails.md +0 -39
- package/docs/UserChangePasswordInput.md +0 -38
- package/docs/UserChangePasswordOutput.md +0 -36
- package/docs/UserChangePasswordRequestContent.md +0 -38
- package/docs/UserChangePasswordResponseContent.md +0 -36
- package/docs/UserChangePasswordResponseData.md +0 -39
- package/docs/UserManagementApi.md +0 -87
- package/docs/ValidatePricingInput.md +0 -36
- package/docs/ValidatePricingOutput.md +0 -36
- package/docs/ValidationError.md +0 -36
- package/docs/VpsBandwidthInfo.md +0 -41
- package/docs/VpsCancelDetails.md +0 -39
- package/src/apis/SecurityApi.ts +0 -314
- package/src/apis/UserManagementApi.ts +0 -113
- package/src/client.ts +0 -85
- package/src/models/AllowedFeaturesResponseData.ts +0 -83
- package/src/models/BadRequestError.ts +0 -75
- package/src/models/ChangePasswordInput.ts +0 -75
- package/src/models/ChangePasswordOutput.ts +0 -92
- package/src/models/ChangePasswordRequestContent.ts +0 -75
- package/src/models/ChangePasswordResponseContent.ts +0 -92
- package/src/models/CreateBackupInput.ts +0 -92
- package/src/models/CreateBackupOutput.ts +0 -92
- package/src/models/CreateBackupScheduleInput.ts +0 -120
- package/src/models/CreateBackupScheduleOutput.ts +0 -92
- package/src/models/CreateFirewallRuleInput.ts +0 -189
- package/src/models/CreateFirewallRuleOutput.ts +0 -92
- package/src/models/CreateNotificationInput.ts +0 -165
- package/src/models/CreateNotificationOutput.ts +0 -92
- package/src/models/CreateOrderInput.ts +0 -82
- package/src/models/CreateOrderOutput.ts +0 -92
- package/src/models/CreatePowerTaskInput.ts +0 -156
- package/src/models/CreatePowerTaskOutput.ts +0 -92
- package/src/models/CreateRdnsRecordInput.ts +0 -101
- package/src/models/CreateRdnsRecordOutput.ts +0 -92
- package/src/models/CreateSnapshotInput.ts +0 -82
- package/src/models/CreateSnapshotOutput.ts +0 -92
- package/src/models/DeleteBackupInput.ts +0 -75
- package/src/models/DeleteBackupOutput.ts +0 -92
- package/src/models/DeleteBackupScheduleInput.ts +0 -75
- package/src/models/DeleteBackupScheduleOutput.ts +0 -92
- package/src/models/DeleteFirewallRuleInput.ts +0 -75
- package/src/models/DeleteFirewallRuleOutput.ts +0 -92
- package/src/models/DeleteNotificationInput.ts +0 -75
- package/src/models/DeleteNotificationOutput.ts +0 -92
- package/src/models/DeletePowerTaskInput.ts +0 -75
- package/src/models/DeletePowerTaskOutput.ts +0 -92
- package/src/models/DeleteRdnsRecordInput.ts +0 -66
- package/src/models/DeleteRdnsRecordOutput.ts +0 -92
- package/src/models/DeleteSnapshotInput.ts +0 -75
- package/src/models/DeleteSnapshotOutput.ts +0 -92
- package/src/models/EditBackupScheduleInput.ts +0 -129
- package/src/models/EditBackupScheduleOutput.ts +0 -92
- package/src/models/ForbiddenError.ts +0 -75
- package/src/models/GetCatalogueInput.ts +0 -73
- package/src/models/GetCatalogueOutput.ts +0 -92
- package/src/models/GetNoVncConsoleInput.ts +0 -66
- package/src/models/GetNoVncConsoleOutput.ts +0 -92
- package/src/models/GetOsTemplateDetailsInput.ts +0 -75
- package/src/models/GetOsTemplateDetailsOutput.ts +0 -92
- package/src/models/GetOsTemplateDetailsRequestContent.ts +0 -75
- package/src/models/GetOsTemplateDetailsResponseContent.ts +0 -92
- package/src/models/GetOsTemplateDetailsResponseData.ts +0 -83
- package/src/models/GetPrivateSshKeyInput.ts +0 -66
- package/src/models/GetPrivateSshKeyOutput.ts +0 -92
- package/src/models/GetPrivateSshKeyRequestContent.ts +0 -66
- package/src/models/GetPrivateSshKeyResponseContent.ts +0 -92
- package/src/models/GetPublicSshKeyInput.ts +0 -66
- package/src/models/GetPublicSshKeyOutput.ts +0 -92
- package/src/models/GetPublicSshKeyRequestContent.ts +0 -66
- package/src/models/GetPublicSshKeyResponseContent.ts +0 -92
- package/src/models/GetVpsConfigInput.ts +0 -66
- package/src/models/GetVpsConfigOutput.ts +0 -92
- package/src/models/GetVpsDetailsInput.ts +0 -66
- package/src/models/GetVpsDetailsOutput.ts +0 -92
- package/src/models/InternalServiceError.ts +0 -75
- package/src/models/InvalidStateError.ts +0 -75
- package/src/models/ListAllowedFeaturesInput.ts +0 -66
- package/src/models/ListAllowedFeaturesOutput.ts +0 -92
- package/src/models/ListAllowedFeaturesRequestContent.ts +0 -66
- package/src/models/ListAllowedFeaturesResponseContent.ts +0 -92
- package/src/models/ListBackupSchedulesInput.ts +0 -66
- package/src/models/ListBackupSchedulesOutput.ts +0 -92
- package/src/models/ListBackupsInput.ts +0 -66
- package/src/models/ListBackupsOutput.ts +0 -92
- package/src/models/ListFirewallRulesInput.ts +0 -66
- package/src/models/ListFirewallRulesOutput.ts +0 -92
- package/src/models/ListIsosInput.ts +0 -66
- package/src/models/ListIsosOutput.ts +0 -92
- package/src/models/ListNotificationsInput.ts +0 -66
- package/src/models/ListNotificationsOutput.ts +0 -92
- package/src/models/ListOrdersOutput.ts +0 -92
- package/src/models/ListOsTemplatesInput.ts +0 -66
- package/src/models/ListOsTemplatesOutput.ts +0 -92
- package/src/models/ListOsTemplatesRequestContent.ts +0 -66
- package/src/models/ListOsTemplatesResponseContent.ts +0 -92
- package/src/models/ListOsTemplatesResponseData.ts +0 -83
- package/src/models/ListPowerTasksInput.ts +0 -66
- package/src/models/ListPowerTasksOutput.ts +0 -92
- package/src/models/ListRdnsRecordsOutput.ts +0 -92
- package/src/models/ListReinstallOsInput.ts +0 -66
- package/src/models/ListReinstallOsOutput.ts +0 -92
- package/src/models/ListSnapshotsInput.ts +0 -66
- package/src/models/ListSnapshotsOutput.ts +0 -92
- package/src/models/ListVpsServicesOutput.ts +0 -92
- package/src/models/MountIsoInput.ts +0 -83
- package/src/models/MountIsoOutput.ts +0 -92
- package/src/models/MoveFirewallRuleInput.ts +0 -101
- package/src/models/MoveFirewallRuleOutput.ts +0 -92
- package/src/models/OsImage.ts +0 -147
- package/src/models/PublicSshKeyResponseData.ts +0 -83
- package/src/models/RebootVpsInput.ts +0 -66
- package/src/models/RebootVpsOutput.ts +0 -92
- package/src/models/ResourceNotFoundError.ts +0 -75
- package/src/models/RestoreBackupInput.ts +0 -75
- package/src/models/RestoreBackupOutput.ts +0 -92
- package/src/models/RetryPaymentInput.ts +0 -75
- package/src/models/RetryPaymentOutput.ts +0 -92
- package/src/models/RollbackSnapshotInput.ts +0 -75
- package/src/models/RollbackSnapshotOutput.ts +0 -92
- package/src/models/ServiceUnavailableError.ts +0 -83
- package/src/models/ShutdownVpsInput.ts +0 -66
- package/src/models/ShutdownVpsOutput.ts +0 -92
- package/src/models/SshKeyDetails.ts +0 -75
- package/src/models/StartVpsInput.ts +0 -66
- package/src/models/StartVpsOutput.ts +0 -92
- package/src/models/StopVpsInput.ts +0 -66
- package/src/models/StopVpsOutput.ts +0 -92
- package/src/models/SuspendVpsInput.ts +0 -75
- package/src/models/SuspendVpsOutput.ts +0 -92
- package/src/models/SuspendVpsRequestContent.ts +0 -75
- package/src/models/SuspendVpsResponseContent.ts +0 -92
- package/src/models/TerminateVpsInput.ts +0 -66
- package/src/models/TerminateVpsOutput.ts +0 -92
- package/src/models/TerminateVpsRequestContent.ts +0 -66
- package/src/models/TerminateVpsResponseContent.ts +0 -92
- package/src/models/TooManyRequestsError.ts +0 -83
- package/src/models/TriggerReinstallInput.ts +0 -75
- package/src/models/TriggerReinstallOutput.ts +0 -92
- package/src/models/UnauthorizedError.ts +0 -75
- package/src/models/UnsuspendVpsInput.ts +0 -66
- package/src/models/UnsuspendVpsOutput.ts +0 -92
- package/src/models/UnsuspendVpsRequestContent.ts +0 -66
- package/src/models/UnsuspendVpsResponseContent.ts +0 -92
- package/src/models/UpdateFirewallRuleInput.ts +0 -101
- package/src/models/UpdateFirewallRuleOutput.ts +0 -92
- package/src/models/UpdateNotificationInput.ts +0 -173
- package/src/models/UpdateNotificationOutput.ts +0 -92
- package/src/models/UpdatePowerTaskInput.ts +0 -163
- package/src/models/UpdatePowerTaskOutput.ts +0 -92
- package/src/models/UpdateSnapshotInput.ts +0 -83
- package/src/models/UpdateSnapshotOutput.ts +0 -92
- package/src/models/UpdateSshKeysInput.ts +0 -75
- package/src/models/UpdateSshKeysOutput.ts +0 -92
- package/src/models/UpdateSshKeysRequestContent.ts +0 -75
- package/src/models/UpdateSshKeysResponseContent.ts +0 -92
- package/src/models/UpdateVpsConfigInput.ts +0 -114
- package/src/models/UpdateVpsConfigOutput.ts +0 -92
- package/src/models/UserChangePasswordDetails.ts +0 -84
- package/src/models/UserChangePasswordInput.ts +0 -84
- package/src/models/UserChangePasswordOutput.ts +0 -92
- package/src/models/UserChangePasswordRequestContent.ts +0 -84
- package/src/models/UserChangePasswordResponseContent.ts +0 -92
- package/src/models/UserChangePasswordResponseData.ts +0 -92
- package/src/models/ValidatePricingInput.ts +0 -82
- package/src/models/ValidatePricingOutput.ts +0 -92
- package/src/models/ValidationError.ts +0 -75
- package/src/models/VpsBandwidthInfo.ts +0 -90
- package/src/models/VpsCancelDetails.ts +0 -84
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* HostAfricaApi
|
|
5
|
-
* HostAfrica API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2026-01-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
import * as runtime from '../runtime.js';
|
|
24
|
-
import { ChangePasswordRequestContentToJSON, ChangePasswordResponseContentFromJSON, GetPrivateSshKeyRequestContentToJSON, GetPrivateSshKeyResponseContentFromJSON, GetPublicSshKeyRequestContentToJSON, GetPublicSshKeyResponseContentFromJSON, UpdateSshKeysRequestContentToJSON, UpdateSshKeysResponseContentFromJSON, } from '../models/index.js';
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
export class SecurityApi extends runtime.BaseAPI {
|
|
29
|
-
/**
|
|
30
|
-
* Creates request options for changePassword without sending the request
|
|
31
|
-
*/
|
|
32
|
-
changePasswordRequestOpts(requestParameters) {
|
|
33
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
-
if (requestParameters['changePasswordRequestContent'] == null) {
|
|
35
|
-
throw new runtime.RequiredError('changePasswordRequestContent', 'Required parameter "changePasswordRequestContent" was null or undefined when calling changePassword().');
|
|
36
|
-
}
|
|
37
|
-
const queryParameters = {};
|
|
38
|
-
const headerParameters = {};
|
|
39
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
40
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
41
|
-
const token = this.configuration.accessToken;
|
|
42
|
-
const tokenString = yield token("BearerAuth", []);
|
|
43
|
-
if (tokenString) {
|
|
44
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
let urlPath = `/vps/change-password`;
|
|
48
|
-
return {
|
|
49
|
-
path: urlPath,
|
|
50
|
-
method: 'POST',
|
|
51
|
-
headers: headerParameters,
|
|
52
|
-
query: queryParameters,
|
|
53
|
-
body: ChangePasswordRequestContentToJSON(requestParameters['changePasswordRequestContent']),
|
|
54
|
-
};
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Change the root password for a VPS service
|
|
59
|
-
*/
|
|
60
|
-
changePasswordRaw(requestParameters, initOverrides) {
|
|
61
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
62
|
-
const requestOptions = yield this.changePasswordRequestOpts(requestParameters);
|
|
63
|
-
const response = yield this.request(requestOptions, initOverrides);
|
|
64
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ChangePasswordResponseContentFromJSON(jsonValue));
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Change the root password for a VPS service
|
|
69
|
-
*/
|
|
70
|
-
changePassword(requestParameters, initOverrides) {
|
|
71
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
72
|
-
const response = yield this.changePasswordRaw(requestParameters, initOverrides);
|
|
73
|
-
return yield response.value();
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Creates request options for getPrivateSshKey without sending the request
|
|
78
|
-
*/
|
|
79
|
-
getPrivateSshKeyRequestOpts(requestParameters) {
|
|
80
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
81
|
-
if (requestParameters['getPrivateSshKeyRequestContent'] == null) {
|
|
82
|
-
throw new runtime.RequiredError('getPrivateSshKeyRequestContent', 'Required parameter "getPrivateSshKeyRequestContent" was null or undefined when calling getPrivateSshKey().');
|
|
83
|
-
}
|
|
84
|
-
const queryParameters = {};
|
|
85
|
-
const headerParameters = {};
|
|
86
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
87
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
88
|
-
const token = this.configuration.accessToken;
|
|
89
|
-
const tokenString = yield token("BearerAuth", []);
|
|
90
|
-
if (tokenString) {
|
|
91
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
let urlPath = `/vps/get-private-ssh-keys`;
|
|
95
|
-
return {
|
|
96
|
-
path: urlPath,
|
|
97
|
-
method: 'POST',
|
|
98
|
-
headers: headerParameters,
|
|
99
|
-
query: queryParameters,
|
|
100
|
-
body: GetPrivateSshKeyRequestContentToJSON(requestParameters['getPrivateSshKeyRequestContent']),
|
|
101
|
-
};
|
|
102
|
-
});
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Retrieves the private SSH key configured for a VPS service
|
|
106
|
-
*/
|
|
107
|
-
getPrivateSshKeyRaw(requestParameters, initOverrides) {
|
|
108
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
109
|
-
const requestOptions = yield this.getPrivateSshKeyRequestOpts(requestParameters);
|
|
110
|
-
const response = yield this.request(requestOptions, initOverrides);
|
|
111
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => GetPrivateSshKeyResponseContentFromJSON(jsonValue));
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
/**
|
|
115
|
-
* Retrieves the private SSH key configured for a VPS service
|
|
116
|
-
*/
|
|
117
|
-
getPrivateSshKey(requestParameters, initOverrides) {
|
|
118
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
119
|
-
const response = yield this.getPrivateSshKeyRaw(requestParameters, initOverrides);
|
|
120
|
-
return yield response.value();
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Creates request options for getPublicSshKey without sending the request
|
|
125
|
-
*/
|
|
126
|
-
getPublicSshKeyRequestOpts(requestParameters) {
|
|
127
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
128
|
-
if (requestParameters['getPublicSshKeyRequestContent'] == null) {
|
|
129
|
-
throw new runtime.RequiredError('getPublicSshKeyRequestContent', 'Required parameter "getPublicSshKeyRequestContent" was null or undefined when calling getPublicSshKey().');
|
|
130
|
-
}
|
|
131
|
-
const queryParameters = {};
|
|
132
|
-
const headerParameters = {};
|
|
133
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
134
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
135
|
-
const token = this.configuration.accessToken;
|
|
136
|
-
const tokenString = yield token("BearerAuth", []);
|
|
137
|
-
if (tokenString) {
|
|
138
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
let urlPath = `/vps/get-public-ssh-keys`;
|
|
142
|
-
return {
|
|
143
|
-
path: urlPath,
|
|
144
|
-
method: 'POST',
|
|
145
|
-
headers: headerParameters,
|
|
146
|
-
query: queryParameters,
|
|
147
|
-
body: GetPublicSshKeyRequestContentToJSON(requestParameters['getPublicSshKeyRequestContent']),
|
|
148
|
-
};
|
|
149
|
-
});
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* Retrieves the public SSH key configured for a VPS service
|
|
153
|
-
*/
|
|
154
|
-
getPublicSshKeyRaw(requestParameters, initOverrides) {
|
|
155
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
156
|
-
const requestOptions = yield this.getPublicSshKeyRequestOpts(requestParameters);
|
|
157
|
-
const response = yield this.request(requestOptions, initOverrides);
|
|
158
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => GetPublicSshKeyResponseContentFromJSON(jsonValue));
|
|
159
|
-
});
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* Retrieves the public SSH key configured for a VPS service
|
|
163
|
-
*/
|
|
164
|
-
getPublicSshKey(requestParameters, initOverrides) {
|
|
165
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
166
|
-
const response = yield this.getPublicSshKeyRaw(requestParameters, initOverrides);
|
|
167
|
-
return yield response.value();
|
|
168
|
-
});
|
|
169
|
-
}
|
|
170
|
-
/**
|
|
171
|
-
* Creates request options for updateSshKeys without sending the request
|
|
172
|
-
*/
|
|
173
|
-
updateSshKeysRequestOpts(requestParameters) {
|
|
174
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
175
|
-
if (requestParameters['updateSshKeysRequestContent'] == null) {
|
|
176
|
-
throw new runtime.RequiredError('updateSshKeysRequestContent', 'Required parameter "updateSshKeysRequestContent" was null or undefined when calling updateSshKeys().');
|
|
177
|
-
}
|
|
178
|
-
const queryParameters = {};
|
|
179
|
-
const headerParameters = {};
|
|
180
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
181
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
182
|
-
const token = this.configuration.accessToken;
|
|
183
|
-
const tokenString = yield token("BearerAuth", []);
|
|
184
|
-
if (tokenString) {
|
|
185
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
let urlPath = `/vps/update-ssh-keys`;
|
|
189
|
-
return {
|
|
190
|
-
path: urlPath,
|
|
191
|
-
method: 'POST',
|
|
192
|
-
headers: headerParameters,
|
|
193
|
-
query: queryParameters,
|
|
194
|
-
body: UpdateSshKeysRequestContentToJSON(requestParameters['updateSshKeysRequestContent']),
|
|
195
|
-
};
|
|
196
|
-
});
|
|
197
|
-
}
|
|
198
|
-
/**
|
|
199
|
-
* Updates SSH public keys for a VPS service for root access.
|
|
200
|
-
*/
|
|
201
|
-
updateSshKeysRaw(requestParameters, initOverrides) {
|
|
202
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
203
|
-
const requestOptions = yield this.updateSshKeysRequestOpts(requestParameters);
|
|
204
|
-
const response = yield this.request(requestOptions, initOverrides);
|
|
205
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => UpdateSshKeysResponseContentFromJSON(jsonValue));
|
|
206
|
-
});
|
|
207
|
-
}
|
|
208
|
-
/**
|
|
209
|
-
* Updates SSH public keys for a VPS service for root access.
|
|
210
|
-
*/
|
|
211
|
-
updateSshKeys(requestParameters, initOverrides) {
|
|
212
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
213
|
-
const response = yield this.updateSshKeysRaw(requestParameters, initOverrides);
|
|
214
|
-
return yield response.value();
|
|
215
|
-
});
|
|
216
|
-
}
|
|
217
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* HostAfricaApi
|
|
3
|
-
* HostAfrica API
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2026-01-01
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import * as runtime from '../runtime.js';
|
|
13
|
-
import type { UserChangePasswordRequestContent, UserChangePasswordResponseContent } from '../models/index.js';
|
|
14
|
-
export interface UserChangePasswordRequest {
|
|
15
|
-
userChangePasswordRequestContent: UserChangePasswordRequestContent;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
*/
|
|
20
|
-
export declare class UserManagementApi extends runtime.BaseAPI {
|
|
21
|
-
/**
|
|
22
|
-
* Creates request options for userChangePassword without sending the request
|
|
23
|
-
*/
|
|
24
|
-
userChangePasswordRequestOpts(requestParameters: UserChangePasswordRequest): Promise<runtime.RequestOpts>;
|
|
25
|
-
/**
|
|
26
|
-
* Changes the authenticated user\'s password. All active sessions will be revoked and the user must login again.
|
|
27
|
-
*/
|
|
28
|
-
userChangePasswordRaw(requestParameters: UserChangePasswordRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UserChangePasswordResponseContent>>;
|
|
29
|
-
/**
|
|
30
|
-
* Changes the authenticated user\'s password. All active sessions will be revoked and the user must login again.
|
|
31
|
-
*/
|
|
32
|
-
userChangePassword(requestParameters: UserChangePasswordRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserChangePasswordResponseContent>;
|
|
33
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* HostAfricaApi
|
|
5
|
-
* HostAfrica API
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2026-01-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
import * as runtime from '../runtime.js';
|
|
24
|
-
import { UserChangePasswordRequestContentToJSON, UserChangePasswordResponseContentFromJSON, } from '../models/index.js';
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
export class UserManagementApi extends runtime.BaseAPI {
|
|
29
|
-
/**
|
|
30
|
-
* Creates request options for userChangePassword without sending the request
|
|
31
|
-
*/
|
|
32
|
-
userChangePasswordRequestOpts(requestParameters) {
|
|
33
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
-
if (requestParameters['userChangePasswordRequestContent'] == null) {
|
|
35
|
-
throw new runtime.RequiredError('userChangePasswordRequestContent', 'Required parameter "userChangePasswordRequestContent" was null or undefined when calling userChangePassword().');
|
|
36
|
-
}
|
|
37
|
-
const queryParameters = {};
|
|
38
|
-
const headerParameters = {};
|
|
39
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
40
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
41
|
-
const token = this.configuration.accessToken;
|
|
42
|
-
const tokenString = yield token("BearerAuth", []);
|
|
43
|
-
if (tokenString) {
|
|
44
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
let urlPath = `/user/change-password`;
|
|
48
|
-
return {
|
|
49
|
-
path: urlPath,
|
|
50
|
-
method: 'POST',
|
|
51
|
-
headers: headerParameters,
|
|
52
|
-
query: queryParameters,
|
|
53
|
-
body: UserChangePasswordRequestContentToJSON(requestParameters['userChangePasswordRequestContent']),
|
|
54
|
-
};
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Changes the authenticated user\'s password. All active sessions will be revoked and the user must login again.
|
|
59
|
-
*/
|
|
60
|
-
userChangePasswordRaw(requestParameters, initOverrides) {
|
|
61
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
62
|
-
const requestOptions = yield this.userChangePasswordRequestOpts(requestParameters);
|
|
63
|
-
const response = yield this.request(requestOptions, initOverrides);
|
|
64
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => UserChangePasswordResponseContentFromJSON(jsonValue));
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Changes the authenticated user\'s password. All active sessions will be revoked and the user must login again.
|
|
69
|
-
*/
|
|
70
|
-
userChangePassword(requestParameters, initOverrides) {
|
|
71
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
72
|
-
const response = yield this.userChangePasswordRaw(requestParameters, initOverrides);
|
|
73
|
-
return yield response.value();
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
}
|
package/dist/esm/client.d.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* HostAfrica API Client
|
|
3
|
-
*
|
|
4
|
-
* Hand-written wrapper over the generated API classes.
|
|
5
|
-
* Provides a pre-configured client with automatic retry on readonly operations.
|
|
6
|
-
*
|
|
7
|
-
* Usage:
|
|
8
|
-
* import { createClient } from "@hostafrica/sdk-typescript/client";
|
|
9
|
-
* const client = createClient({ accessToken: "Bearer ..." });
|
|
10
|
-
* const result = await client.VPSManagementApi.listVpsServices({ ... });
|
|
11
|
-
*
|
|
12
|
-
* The set of retryable paths is auto-generated from @readonly annotations in
|
|
13
|
-
* hostafrica-api.smithy — run `make sdk-typescript` to keep it in sync.
|
|
14
|
-
*/
|
|
15
|
-
import { ConfigurationParameters } from "./runtime";
|
|
16
|
-
import * as GeneratedApis from "./apis/index";
|
|
17
|
-
export type { ConfigurationParameters };
|
|
18
|
-
export interface ClientOptions extends ConfigurationParameters {
|
|
19
|
-
/**
|
|
20
|
-
* Number of retry attempts for readonly operations that receive a
|
|
21
|
-
* transient error (429, 502, 503, 504). Defaults to 3.
|
|
22
|
-
*/
|
|
23
|
-
retries?: number;
|
|
24
|
-
/**
|
|
25
|
-
* Initial delay in milliseconds before the first retry.
|
|
26
|
-
* Each subsequent retry doubles the delay (exponential backoff).
|
|
27
|
-
* Defaults to 500 ms.
|
|
28
|
-
*/
|
|
29
|
-
retryDelay?: number;
|
|
30
|
-
}
|
|
31
|
-
type ApiInstances = {
|
|
32
|
-
[K in keyof typeof GeneratedApis]: InstanceType<(typeof GeneratedApis)[K]>;
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* Creates a fully-configured HostAfrica API client.
|
|
36
|
-
*
|
|
37
|
-
* All generated API classes are available as properties on the returned object.
|
|
38
|
-
* Readonly operations (as annotated in the Smithy model) are automatically
|
|
39
|
-
* retried up to `retries` times on transient HTTP errors.
|
|
40
|
-
*/
|
|
41
|
-
export declare function createClient(options?: ClientOptions): ApiInstances;
|
package/dist/esm/client.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* HostAfrica API Client
|
|
5
|
-
*
|
|
6
|
-
* Hand-written wrapper over the generated API classes.
|
|
7
|
-
* Provides a pre-configured client with automatic retry on readonly operations.
|
|
8
|
-
*
|
|
9
|
-
* Usage:
|
|
10
|
-
* import { createClient } from "@hostafrica/sdk-typescript/client";
|
|
11
|
-
* const client = createClient({ accessToken: "Bearer ..." });
|
|
12
|
-
* const result = await client.VPSManagementApi.listVpsServices({ ... });
|
|
13
|
-
*
|
|
14
|
-
* The set of retryable paths is auto-generated from @readonly annotations in
|
|
15
|
-
* hostafrica-api.smithy — run `make sdk-typescript` to keep it in sync.
|
|
16
|
-
*/
|
|
17
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
18
|
-
var t = {};
|
|
19
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
20
|
-
t[p] = s[p];
|
|
21
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
22
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
23
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
24
|
-
t[p[i]] = s[p[i]];
|
|
25
|
-
}
|
|
26
|
-
return t;
|
|
27
|
-
};
|
|
28
|
-
import fetchRetry from "fetch-retry";
|
|
29
|
-
import { Configuration, BASE_PATH } from "./runtime";
|
|
30
|
-
import * as GeneratedApis from "./apis/index";
|
|
31
|
-
import { RETRYABLE_PATHS } from "./retryablePaths";
|
|
32
|
-
/**
|
|
33
|
-
* Creates a fully-configured HostAfrica API client.
|
|
34
|
-
*
|
|
35
|
-
* All generated API classes are available as properties on the returned object.
|
|
36
|
-
* Readonly operations (as annotated in the Smithy model) are automatically
|
|
37
|
-
* retried up to `retries` times on transient HTTP errors.
|
|
38
|
-
*/
|
|
39
|
-
export function createClient(options = {}) {
|
|
40
|
-
const { retries = 3, retryDelay = 500, basePath = BASE_PATH } = options, rest = __rest(options, ["retries", "retryDelay", "basePath"]);
|
|
41
|
-
const retryStatuses = [429, 502, 503, 504];
|
|
42
|
-
const plainFetch = fetch;
|
|
43
|
-
const retryFetch = fetchRetry(fetch, {
|
|
44
|
-
retries,
|
|
45
|
-
retryDelay: (attempt) => retryDelay * Math.pow(2, attempt),
|
|
46
|
-
retryOn: retryStatuses,
|
|
47
|
-
});
|
|
48
|
-
const config = new Configuration(Object.assign(Object.assign({}, rest), { basePath, fetchApi: (url, init) => {
|
|
49
|
-
const path = new URL(String(url), "http://x").pathname;
|
|
50
|
-
return RETRYABLE_PATHS.has(path)
|
|
51
|
-
? retryFetch(url, init)
|
|
52
|
-
: plainFetch(url, init);
|
|
53
|
-
} }));
|
|
54
|
-
const instances = {};
|
|
55
|
-
const apis = GeneratedApis;
|
|
56
|
-
for (const name of Object.keys(apis)) {
|
|
57
|
-
if (typeof apis[name] === "function") {
|
|
58
|
-
instances[name] = new apis[name](config);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
return instances;
|
|
62
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* HostAfricaApi
|
|
3
|
-
* HostAfrica API - Manages VPS instances and operations
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2026-01-01
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { VpsAvailableFeatures } from './VpsAvailableFeatures';
|
|
13
|
-
/**
|
|
14
|
-
* Response data for allowed features operation
|
|
15
|
-
* @export
|
|
16
|
-
* @interface AllowedFeaturesResponseData
|
|
17
|
-
*/
|
|
18
|
-
export interface AllowedFeaturesResponseData {
|
|
19
|
-
/**
|
|
20
|
-
* Status message indicating the result
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof AllowedFeaturesResponseData
|
|
23
|
-
*/
|
|
24
|
-
message: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {VpsAvailableFeatures}
|
|
28
|
-
* @memberof AllowedFeaturesResponseData
|
|
29
|
-
*/
|
|
30
|
-
features: VpsAvailableFeatures;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the AllowedFeaturesResponseData interface.
|
|
34
|
-
*/
|
|
35
|
-
export declare function instanceOfAllowedFeaturesResponseData(value: object): value is AllowedFeaturesResponseData;
|
|
36
|
-
export declare function AllowedFeaturesResponseDataFromJSON(json: any): AllowedFeaturesResponseData;
|
|
37
|
-
export declare function AllowedFeaturesResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): AllowedFeaturesResponseData;
|
|
38
|
-
export declare function AllowedFeaturesResponseDataToJSON(json: any): AllowedFeaturesResponseData;
|
|
39
|
-
export declare function AllowedFeaturesResponseDataToJSONTyped(value?: AllowedFeaturesResponseData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* HostAfricaApi
|
|
5
|
-
* HostAfrica API - Manages VPS instances and operations
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2026-01-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { VpsAvailableFeaturesFromJSON, VpsAvailableFeaturesToJSON, } from './VpsAvailableFeatures';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the AllowedFeaturesResponseData interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfAllowedFeaturesResponseData(value) {
|
|
19
|
-
if (!('message' in value) || value['message'] === undefined)
|
|
20
|
-
return false;
|
|
21
|
-
if (!('features' in value) || value['features'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
return true;
|
|
24
|
-
}
|
|
25
|
-
export function AllowedFeaturesResponseDataFromJSON(json) {
|
|
26
|
-
return AllowedFeaturesResponseDataFromJSONTyped(json, false);
|
|
27
|
-
}
|
|
28
|
-
export function AllowedFeaturesResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
-
if (json == null) {
|
|
30
|
-
return json;
|
|
31
|
-
}
|
|
32
|
-
return {
|
|
33
|
-
'message': json['message'],
|
|
34
|
-
'features': VpsAvailableFeaturesFromJSON(json['features']),
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
export function AllowedFeaturesResponseDataToJSON(json) {
|
|
38
|
-
return AllowedFeaturesResponseDataToJSONTyped(json, false);
|
|
39
|
-
}
|
|
40
|
-
export function AllowedFeaturesResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
-
if (value == null) {
|
|
42
|
-
return value;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
'message': value['message'],
|
|
46
|
-
'features': VpsAvailableFeaturesToJSON(value['features']),
|
|
47
|
-
};
|
|
48
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* HostAfricaApi
|
|
3
|
-
* HostAfrica API - Manages VPS instances and operations
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2026-01-01
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface BadRequestError
|
|
16
|
-
*/
|
|
17
|
-
export interface BadRequestError {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof BadRequestError
|
|
22
|
-
*/
|
|
23
|
-
message: string;
|
|
24
|
-
/**
|
|
25
|
-
* Empty object for operations that don't return data
|
|
26
|
-
* @type {object}
|
|
27
|
-
* @memberof BadRequestError
|
|
28
|
-
*/
|
|
29
|
-
data: object;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the BadRequestError interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfBadRequestError(value: object): value is BadRequestError;
|
|
35
|
-
export declare function BadRequestErrorFromJSON(json: any): BadRequestError;
|
|
36
|
-
export declare function BadRequestErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): BadRequestError;
|
|
37
|
-
export declare function BadRequestErrorToJSON(json: any): BadRequestError;
|
|
38
|
-
export declare function BadRequestErrorToJSONTyped(value?: BadRequestError | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* HostAfricaApi
|
|
5
|
-
* HostAfrica API - Manages VPS instances and operations
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2026-01-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Check if a given object implements the BadRequestError interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfBadRequestError(value) {
|
|
18
|
-
if (!('message' in value) || value['message'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
if (!('data' in value) || value['data'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
export function BadRequestErrorFromJSON(json) {
|
|
25
|
-
return BadRequestErrorFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
export function BadRequestErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
-
if (json == null) {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
return {
|
|
32
|
-
'message': json['message'],
|
|
33
|
-
'data': json['data'],
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
export function BadRequestErrorToJSON(json) {
|
|
37
|
-
return BadRequestErrorToJSONTyped(json, false);
|
|
38
|
-
}
|
|
39
|
-
export function BadRequestErrorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
-
if (value == null) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'message': value['message'],
|
|
45
|
-
'data': value['data'],
|
|
46
|
-
};
|
|
47
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* HostAfricaApi
|
|
3
|
-
* HostAfrica API - Manages VPS instances and operations
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2026-01-01
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ChangePasswordInput
|
|
16
|
-
*/
|
|
17
|
-
export interface ChangePasswordInput {
|
|
18
|
-
/**
|
|
19
|
-
* Service ID - must be sent as a string
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ChangePasswordInput
|
|
22
|
-
*/
|
|
23
|
-
serviceId: string;
|
|
24
|
-
/**
|
|
25
|
-
* New root password for the VPS
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ChangePasswordInput
|
|
28
|
-
*/
|
|
29
|
-
password: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the ChangePasswordInput interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfChangePasswordInput(value: object): value is ChangePasswordInput;
|
|
35
|
-
export declare function ChangePasswordInputFromJSON(json: any): ChangePasswordInput;
|
|
36
|
-
export declare function ChangePasswordInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangePasswordInput;
|
|
37
|
-
export declare function ChangePasswordInputToJSON(json: any): ChangePasswordInput;
|
|
38
|
-
export declare function ChangePasswordInputToJSONTyped(value?: ChangePasswordInput | null, ignoreDiscriminator?: boolean): any;
|