@nexgencloud/hyperstack-sdk-javascript 1.52.3-alpha → 1.54.7-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -1
- package/dist/ApiClient.js +2 -2
- package/dist/api/AccessKeysApi.js +1 -1
- package/dist/api/AliveApi.js +1 -1
- package/dist/api/ApiKeyApi.js +1 -1
- package/dist/api/AssigningMemberRoleApi.js +1 -1
- package/dist/api/AuthApi.js +1 -1
- package/dist/api/AutoTopupApi.js +1 -1
- package/dist/api/BetaAccessApi.js +1 -1
- package/dist/api/BillingApi.js +1 -1
- package/dist/api/BucketsApi.js +1 -1
- package/dist/api/CalculateApi.js +1 -1
- package/dist/api/CallbacksApi.js +1 -1
- package/dist/api/ClusterEventsApi.js +1 -1
- package/dist/api/ClustersApi.js +1 -1
- package/dist/api/ComplianceApi.js +1 -1
- package/dist/api/CreditApi.js +1 -1
- package/dist/api/CustomerContractApi.js +1 -1
- package/dist/api/DashboardApi.js +1 -1
- package/dist/api/DeploymentApi.js +1 -1
- package/dist/api/EmailOptInOutApi.js +167 -0
- package/dist/api/EnvironmentApi.js +1 -1
- package/dist/api/FIPExclusionsApi.js +1 -1
- package/dist/api/FirewallAttachmentApi.js +1 -1
- package/dist/api/FirewallsApi.js +1 -1
- package/dist/api/FlavorApi.js +1 -1
- package/dist/api/FloatingIpApi.js +1 -1
- package/dist/api/GpuApi.js +1 -1
- package/dist/api/HealthApi.js +1 -1
- package/dist/api/ImageApi.js +1 -1
- package/dist/api/InviteApi.js +1 -1
- package/dist/api/KeypairApi.js +35 -1
- package/dist/api/OrganizationApi.js +1 -1
- package/dist/api/PartnerConfigApi.js +1 -1
- package/dist/api/PaymentApi.js +1 -1
- package/dist/api/PermissionApi.js +1 -1
- package/dist/api/PolicyApi.js +1 -1
- package/dist/api/PricebookApi.js +1 -1
- package/dist/api/ProfileApi.js +1 -1
- package/dist/api/RbacRoleApi.js +1 -1
- package/dist/api/RegionApi.js +1 -1
- package/dist/api/RegionsApi.js +1 -1
- package/dist/api/SecurityRulesApi.js +1 -1
- package/dist/api/SnapshotEventsApi.js +1 -1
- package/dist/api/SnapshotsApi.js +1 -1
- package/dist/api/StockApi.js +1 -1
- package/dist/api/TemplateApi.js +1 -1
- package/dist/api/UserApi.js +35 -1
- package/dist/api/UserConsentApi.js +1 -1
- package/dist/api/UserConsentEventsApi.js +1 -1
- package/dist/api/UserDetailChoiceApi.js +1 -1
- package/dist/api/UserPermissionApi.js +1 -1
- package/dist/api/VirtualMachineApi.js +1 -1
- package/dist/api/VirtualMachineEventsApi.js +1 -1
- package/dist/api/VncUrlApi.js +1 -1
- package/dist/api/VolumeApi.js +1 -1
- package/dist/api/VolumeAttachmentApi.js +1 -1
- package/dist/api/VouchersApi.js +1 -1
- package/dist/index.js +56 -0
- package/dist/model/AccessTokenField.js +1 -1
- package/dist/model/AddUserInfoSuccessResponseModel.js +1 -1
- package/dist/model/AllocatedGPUCountGraph.js +1 -1
- package/dist/model/AllowedCountriesResponse.js +97 -0
- package/dist/model/ApiKeyFields.js +1 -1
- package/dist/model/AssignRbacRolePayload.js +1 -1
- package/dist/model/AttachCallbackPayload.js +1 -1
- package/dist/model/AttachCallbackResponse.js +1 -1
- package/dist/model/AttachFirewallWithVM.js +1 -1
- package/dist/model/AttachFirewallsToVMPayload.js +1 -1
- package/dist/model/AttachVolumeFields.js +1 -1
- package/dist/model/AttachVolumes.js +1 -1
- package/dist/model/AttachVolumesPayload.js +1 -1
- package/dist/model/AttachmentsFieldsForVolume.js +1 -1
- package/dist/model/Attributes.js +1 -1
- package/dist/model/AuthGetTokenResponseModel.js +1 -1
- package/dist/model/AuthUserFields.js +1 -1
- package/dist/model/AuthUserInfoResponseModel.js +1 -1
- package/dist/model/AutoTopup.js +1 -1
- package/dist/model/AutoTopupErrorResponse.js +1 -1
- package/dist/model/AutoTopupStatusSchema.js +1 -1
- package/dist/model/BetaAccessRequestFields.js +1 -1
- package/dist/model/BetaAccessRequestPayload.js +1 -1
- package/dist/model/BetaAccessRequestResponseModel.js +1 -1
- package/dist/model/BetaAccessStatusItem.js +1 -1
- package/dist/model/BetaAccessStatusResponseModel.js +1 -1
- package/dist/model/BillingHistory.js +1 -1
- package/dist/model/BillingHistoryDataSynthesisDetails.js +1 -1
- package/dist/model/BillingHistoryFineTuning.js +1 -1
- package/dist/model/BillingHistoryImageGenerationDetails.js +1 -1
- package/dist/model/BillingHistoryModelEvalutationDetails.js +1 -1
- package/dist/model/BillingHistoryServerlessInference.js +1 -1
- package/dist/model/BillingHistoryServerlessInferenceDetails.js +1 -1
- package/dist/model/BillingMetricesFields.js +1 -1
- package/dist/model/BillingMetricesResponse.js +1 -1
- package/dist/model/ClusterEvents.js +1 -1
- package/dist/model/ClusterEventsFields.js +1 -1
- package/dist/model/ClusterFields.js +1 -1
- package/dist/model/ClusterFlavorFields.js +1 -1
- package/dist/model/ClusterListResponse.js +1 -1
- package/dist/model/ClusterNodeFields.js +1 -1
- package/dist/model/ClusterNodeGroupFields.js +1 -1
- package/dist/model/ClusterNodeGroupFirewallFields.js +1 -1
- package/dist/model/ClusterNodeGroupsCreateResponse.js +1 -1
- package/dist/model/ClusterNodeGroupsGetResponse.js +1 -1
- package/dist/model/ClusterNodeGroupsListResponse.js +1 -1
- package/dist/model/ClusterNodeInstanceFields.js +1 -1
- package/dist/model/ClusterNodesListResponse.js +1 -1
- package/dist/model/ClusterResponse.js +1 -1
- package/dist/model/ClusterVersion.js +1 -1
- package/dist/model/ClusterVersions.js +1 -1
- package/dist/model/Colors.js +1 -1
- package/dist/model/CommonResponseModel.js +1 -1
- package/dist/model/CompatibleFlavor.js +1 -1
- package/dist/model/ComplianceFields.js +1 -1
- package/dist/model/ComplianceModelFields.js +1 -1
- package/dist/model/CompliancePayload.js +1 -1
- package/dist/model/ComplianceResponse.js +1 -1
- package/dist/model/ConsentActionResponse.js +1 -1
- package/dist/model/ConsentBlock.js +1 -1
- package/dist/model/ConsentEventsResponse.js +1 -1
- package/dist/model/ConsentTemplate.js +1 -1
- package/dist/model/ConsentTemplatesResponse.js +1 -1
- package/dist/model/ContainerOverviewFields.js +1 -1
- package/dist/model/Contract.js +1 -1
- package/dist/model/ContractDiscountPlanFields.js +1 -1
- package/dist/model/ContractGPUAllocationGraphResponse.js +1 -1
- package/dist/model/ContractInstanceFields.js +1 -1
- package/dist/model/ContractInstancesResponse.js +1 -1
- package/dist/model/CreateAutoTopupPayload.js +1 -1
- package/dist/model/CreateAutoTopupResponse.js +1 -1
- package/dist/model/CreateClusterNodeFields.js +1 -1
- package/dist/model/CreateClusterNodeGroupPayload.js +1 -1
- package/dist/model/CreateClusterPayload.js +1 -1
- package/dist/model/CreateEnvironment.js +1 -1
- package/dist/model/CreateFirewallPayload.js +1 -1
- package/dist/model/CreateFirewallRulePayload.js +1 -1
- package/dist/model/CreateImage.js +1 -1
- package/dist/model/CreateImagePayload.js +1 -1
- package/dist/model/CreateInstancesPayload.js +1 -1
- package/dist/model/CreateInstancesResponse.js +1 -1
- package/dist/model/CreateProfilePayload.js +1 -1
- package/dist/model/CreateProfileResponse.js +1 -1
- package/dist/model/CreateSecurityRulePayload.js +1 -1
- package/dist/model/CreateSnapshotPayload.js +1 -1
- package/dist/model/CreateSnapshotResponse.js +1 -1
- package/dist/model/CreateUpdateComplianceResponse.js +1 -1
- package/dist/model/CreateUpdateRbacRolePayload.js +1 -1
- package/dist/model/CreateVolumePayload.js +1 -1
- package/dist/model/CustomerContractDetailResponseModel.js +1 -1
- package/dist/model/CustomerContractFields.js +1 -1
- package/dist/model/DashboardInfoResponse.js +1 -1
- package/dist/model/DataSynthesisBillingHistoryDetailsResponseSchema.js +1 -1
- package/dist/model/DeleteClusterNodesFields.js +1 -1
- package/dist/model/DeploymentFields.js +1 -1
- package/dist/model/DeploymentFieldsForStartDeployments.js +1 -1
- package/dist/model/Deployments.js +1 -1
- package/dist/model/DetachVolumes.js +1 -1
- package/dist/model/DetachVolumesPayload.js +1 -1
- package/dist/model/DisableAutoTopupResponse.js +1 -1
- package/dist/model/EditLabelOfAnExistingVMPayload.js +1 -1
- package/dist/model/EmailCategory.js +182 -0
- package/dist/model/EmailCategoryChild.js +157 -0
- package/dist/model/EmailPreferencesResponse.js +110 -0
- package/dist/model/Environment.js +1 -1
- package/dist/model/EnvironmentFeatures.js +1 -1
- package/dist/model/EnvironmentFields.js +1 -1
- package/dist/model/EnvironmentFieldsForVolume.js +1 -1
- package/dist/model/Environments.js +1 -1
- package/dist/model/ErrorResponseModel.js +1 -1
- package/dist/model/FirewallAttachmentModel.js +1 -1
- package/dist/model/FirewallAttachmentVMModel.js +1 -1
- package/dist/model/FirewallDetailFields.js +1 -1
- package/dist/model/FirewallDetailResponse.js +1 -1
- package/dist/model/FirewallEnvironmentFields.js +1 -1
- package/dist/model/FirewallFields.js +1 -1
- package/dist/model/FirewallResponse.js +1 -1
- package/dist/model/FirewallRule.js +1 -1
- package/dist/model/FirewallsListResponse.js +1 -1
- package/dist/model/FlavorFields.js +1 -1
- package/dist/model/FlavorItemGetResponse.js +1 -1
- package/dist/model/FlavorLabelFields.js +1 -1
- package/dist/model/FlavorListResponse.js +1 -1
- package/dist/model/FlavorObjectFields.js +1 -1
- package/dist/model/FlavorRestrictions.js +1 -1
- package/dist/model/GPUFields.js +1 -1
- package/dist/model/GPUList.js +1 -1
- package/dist/model/GPURegionFields.js +1 -1
- package/dist/model/GenerateUpdateApiKeyPayload.js +1 -1
- package/dist/model/GenerateUpdateApiKeyResponseModel.js +1 -1
- package/dist/model/GetApiKeysResponseModel.js +1 -1
- package/dist/model/GetAutoTopupResponse.js +1 -1
- package/dist/model/GetCreditAndThresholdInfo.js +1 -1
- package/dist/model/GetCreditAndThresholdInfoInResponse.js +1 -1
- package/dist/model/GetCustomerContractsListResponseModel.js +1 -1
- package/dist/model/GetInstanceLogsResponse.js +1 -1
- package/dist/model/GetInvitesResponseModel.js +1 -1
- package/dist/model/GetOrganizationResponseModel.js +1 -1
- package/dist/model/GetPermissionsResponseModel.js +1 -1
- package/dist/model/GetPoliciesResponseModel.js +1 -1
- package/dist/model/GetRbacRolesResponseModel.js +1 -1
- package/dist/model/GetUserPermissionsResponseModel.js +1 -1
- package/dist/model/GraphDatetimeValueModel.js +1 -1
- package/dist/model/Image.js +1 -1
- package/dist/model/ImageFields.js +1 -1
- package/dist/model/ImageGenerationBillingHistoryDetailsResponseSchema.js +1 -1
- package/dist/model/ImageGetResponse.js +1 -1
- package/dist/model/Images.js +1 -1
- package/dist/model/ImportKeypairPayload.js +1 -1
- package/dist/model/ImportKeypairResponse.js +1 -1
- package/dist/model/InfrahubResourceObjectResponseForCustomer.js +1 -1
- package/dist/model/Instance.js +1 -1
- package/dist/model/InstanceEnvironmentFields.js +1 -1
- package/dist/model/InstanceEvents.js +1 -1
- package/dist/model/InstanceEventsFields.js +1 -1
- package/dist/model/InstanceFields.js +1 -1
- package/dist/model/InstanceFlavorFields.js +1 -1
- package/dist/model/InstanceImageFields.js +1 -1
- package/dist/model/InstanceKeypairFields.js +1 -1
- package/dist/model/InstanceOverviewFields.js +1 -1
- package/dist/model/InstanceResizePayload.js +1 -1
- package/dist/model/Instances.js +1 -1
- package/dist/model/InviteFields.js +1 -1
- package/dist/model/InviteUserPayload.js +1 -1
- package/dist/model/InviteUserResponseModel.js +1 -1
- package/dist/model/KeypairEnvironmentFeatures.js +1 -1
- package/dist/model/KeypairEnvironmentFields.js +1 -1
- package/dist/model/KeypairFields.js +1 -1
- package/dist/model/Keypairs.js +1 -1
- package/dist/model/LableResonse.js +1 -1
- package/dist/model/LastDayCostFields.js +1 -1
- package/dist/model/LastDayCostResponse.js +1 -1
- package/dist/model/Logos.js +1 -1
- package/dist/model/MFAStatusFields.js +1 -1
- package/dist/model/MFAStatusResponse.js +1 -1
- package/dist/model/ManualReconciliationModel.js +1 -1
- package/dist/model/MasterFlavorsResponse.js +1 -1
- package/dist/model/MetricItemFields.js +1 -1
- package/dist/model/Metrics.js +1 -1
- package/dist/model/MetricsFields.js +1 -1
- package/dist/model/ModelEvaluationBillingHistoryDetailsResponseSchema.js +1 -1
- package/dist/model/NameAvailableModel.js +1 -1
- package/dist/model/NewConfigurationsResponse.js +1 -1
- package/dist/model/NewModelResponse.js +1 -1
- package/dist/model/NewStockResponse.js +1 -1
- package/dist/model/NewStockRetriveResponse.js +1 -1
- package/dist/model/ObjectStorageAccessKeyCreateRequest.js +1 -1
- package/dist/model/ObjectStorageAccessKeyCreateResponse.js +1 -1
- package/dist/model/ObjectStorageAccessKeyListResponse.js +1 -1
- package/dist/model/ObjectStorageAccessKeyResponse.js +1 -1
- package/dist/model/ObjectStorageBucketListResponse.js +1 -1
- package/dist/model/ObjectStorageBucketResponse.js +1 -1
- package/dist/model/ObjectStorageDeleteResponse.js +1 -1
- package/dist/model/ObjectStorageErrorResponse.js +1 -1
- package/dist/model/ObjectStorageHealthResponse.js +1 -1
- package/dist/model/ObjectStoragePaginationMeta.js +1 -1
- package/dist/model/ObjectStorageRegionListResponse.js +1 -1
- package/dist/model/ObjectStorageRegionResponse.js +1 -1
- package/dist/model/OrganizationFields.js +1 -1
- package/dist/model/OrganizationLevelBillingHistory.js +1 -1
- package/dist/model/OrganizationLevelBillingHistoryResources.js +1 -1
- package/dist/model/OrganizationLevelBillingHistoryResponseAttributes.js +1 -1
- package/dist/model/OrganizationLevelBillingHistoryResponseMetrics.js +1 -1
- package/dist/model/OrganizationLevelBillingHistoryResponseModel.js +1 -1
- package/dist/model/OrganizationThresholdFields.js +1 -1
- package/dist/model/OrganizationThresholdUpdateResponse.js +1 -1
- package/dist/model/OrganizationThresholdsResponse.js +1 -1
- package/dist/model/OrganizationUserResponseModel.js +1 -1
- package/dist/model/OverviewInfo.js +1 -1
- package/dist/model/Pagination.js +1 -1
- package/dist/model/PaginationData.js +1 -1
- package/dist/model/PartnerConfig.js +1 -1
- package/dist/model/PaymentDetailsFields.js +1 -1
- package/dist/model/PaymentDetailsResponse.js +1 -1
- package/dist/model/PaymentInitiateFields.js +1 -1
- package/dist/model/PaymentInitiatePayload.js +1 -1
- package/dist/model/PaymentInitiateResponse.js +1 -1
- package/dist/model/PermissionFields.js +1 -1
- package/dist/model/PolicyFields.js +1 -1
- package/dist/model/PolicyPermissionFields.js +1 -1
- package/dist/model/PricebookModel.js +1 -1
- package/dist/model/PricebookResourceObjectResponseForCustomer.js +1 -1
- package/dist/model/PrimaryColor.js +1 -1
- package/dist/model/ProfileFields.js +1 -1
- package/dist/model/ProfileListResponse.js +1 -1
- package/dist/model/ProfileObjectFields.js +1 -1
- package/dist/model/RbacRoleDetailResponseModel.js +1 -1
- package/dist/model/RbacRoleDetailResponseModelFixed.js +1 -1
- package/dist/model/RbacRoleField.js +1 -1
- package/dist/model/RbacRoleFields.js +1 -1
- package/dist/model/RecordConsentRequest.js +1 -1
- package/dist/model/RedeemVoucherPayload.js +1 -1
- package/dist/model/RegionFields.js +1 -1
- package/dist/model/Regions.js +1 -1
- package/dist/model/RemoveMemberFromOrganizationResponseModel.js +1 -1
- package/dist/model/RemoveMemberPayload.js +1 -1
- package/dist/model/RequestConsole.js +1 -1
- package/dist/model/RequestInstanceLogsPayload.js +1 -1
- package/dist/model/RequestInstanceLogsResponse.js +1 -1
- package/dist/model/ResourceBillingEventsHistoryMetrics.js +1 -1
- package/dist/model/ResourceBillingEventsHistoryResponse.js +1 -1
- package/dist/model/ResourceBillingResponseForCustomer.js +1 -1
- package/dist/model/ResourceLevelBillingBucketDetailsResources.js +1 -1
- package/dist/model/ResourceLevelBillingDetailsAttributes.js +1 -1
- package/dist/model/ResourceLevelBillingDetailsMetrics.js +1 -1
- package/dist/model/ResourceLevelBillingDetailsVM.js +1 -1
- package/dist/model/ResourceLevelBillingDetailsVolume.js +1 -1
- package/dist/model/ResourceLevelBillingDetailsVolumeAttributes.js +1 -1
- package/dist/model/ResourceLevelBillingDetailsVolumeMetrics.js +1 -1
- package/dist/model/ResourceLevelBillingHistory.js +1 -1
- package/dist/model/ResourceLevelBillingHistoryResources.js +1 -1
- package/dist/model/ResourceLevelBillingHistoryResourcesCluster.js +1 -1
- package/dist/model/ResourceLevelBillingHistoryResponseAttributes.js +1 -1
- package/dist/model/ResourceLevelBillingHistoryResponseMetrics.js +1 -1
- package/dist/model/ResourceLevelBillingVMDetailsResources.js +1 -1
- package/dist/model/ResourceLevelBillingVolumeDetailsResources.js +1 -1
- package/dist/model/ResourceLevelBucketBillingDetailsResponseModel.js +1 -1
- package/dist/model/ResourceLevelBucketBillingHistoryResponseModel.js +1 -1
- package/dist/model/ResourceLevelClusterBillingDetailsResponseModel.js +1 -1
- package/dist/model/ResourceLevelClusterBillingHistoryResponseModel.js +1 -1
- package/dist/model/ResourceLevelClusterGraphBillingDetailsResponseModel.js +1 -1
- package/dist/model/ResourceLevelGraphBillingDetailVolume.js +1 -1
- package/dist/model/ResourceLevelGraphBillingDetailsAttributes.js +1 -1
- package/dist/model/ResourceLevelGraphBillingDetailsBucket.js +1 -1
- package/dist/model/ResourceLevelGraphBillingDetailsMetrics.js +1 -1
- package/dist/model/ResourceLevelGraphBillingDetailsVM.js +1 -1
- package/dist/model/ResourceLevelGraphBillingVMDetailsResources.js +1 -1
- package/dist/model/ResourceLevelGraphBillingVolumeDetailsResources.js +1 -1
- package/dist/model/ResourceLevelVMBillingDetailsResponseModel.js +1 -1
- package/dist/model/ResourceLevelVmBillingHistoryResponseModel.js +1 -1
- package/dist/model/ResourceLevelVmGraphBillingDetailsResponseModel.js +1 -1
- package/dist/model/ResourceLevelVolumeBillingDetailsResponseModel.js +1 -1
- package/dist/model/ResourceLevelVolumeBillingHistoryResponseModel.js +1 -1
- package/dist/model/ResourceLevelVolumeGraphBillingDetailsResponseModel.js +1 -1
- package/dist/model/ResourceObjectResponseForCustomer.js +1 -1
- package/dist/model/ResponseModel.js +1 -1
- package/dist/model/RolePermissionFields.js +1 -1
- package/dist/model/RolePolicyFields.js +1 -1
- package/dist/model/SecondaryColor.js +1 -1
- package/dist/model/SecurityGroupRule.js +1 -1
- package/dist/model/SecurityGroupRuleFields.js +1 -1
- package/dist/model/SecurityRulesFieldsForInstance.js +1 -1
- package/dist/model/SecurityRulesProtocolFields.js +1 -1
- package/dist/model/ServerlessInferencedBillingHistoryDetailsResponseSchema.js +1 -1
- package/dist/model/SnapshotFields.js +1 -1
- package/dist/model/SnapshotRestoreRequest.js +1 -1
- package/dist/model/SnapshotRetrieve.js +1 -1
- package/dist/model/SnapshotRetrieveFields.js +1 -1
- package/dist/model/Snapshots.js +1 -1
- package/dist/model/StartDeployment.js +1 -1
- package/dist/model/StartDeploymentPayload.js +1 -1
- package/dist/model/SubResourceGraphBillingDetailsMetrics.js +1 -1
- package/dist/model/SubResourcesCostsResponseModel.js +1 -1
- package/dist/model/SubResourcesGraphBillingHistoryFields.js +1 -1
- package/dist/model/SubResourcesGraphResponseModel.js +1 -1
- package/dist/model/SubscribeOrUnsubscribeUpdatePayload.js +1 -1
- package/dist/model/SupportedKeypairPublicKeyTypesResponse.js +109 -0
- package/dist/model/Template.js +1 -1
- package/dist/model/TemplateFields.js +1 -1
- package/dist/model/Templates.js +1 -1
- package/dist/model/TokenBasedBillingHistoryResponse.js +1 -1
- package/dist/model/URIs.js +1 -1
- package/dist/model/UpdateAutoTopupPayload.js +1 -1
- package/dist/model/UpdateAutoTopupResponse.js +1 -1
- package/dist/model/UpdateClusterNodeGroupPayload.js +1 -1
- package/dist/model/UpdateConsentRequest.js +1 -1
- package/dist/model/UpdateEmailPreferenceInput.js +109 -0
- package/dist/model/UpdateEmailPreferenceResponse.js +89 -0
- package/dist/model/UpdateEnvironment.js +1 -1
- package/dist/model/UpdateKeypairName.js +1 -1
- package/dist/model/UpdateKeypairNameResponse.js +1 -1
- package/dist/model/UpdateOrganizationPayload.js +1 -1
- package/dist/model/UpdateOrganizationResponseModel.js +1 -1
- package/dist/model/UpdateTemplate.js +1 -1
- package/dist/model/UpdateVolumeAttachmentPayload.js +1 -1
- package/dist/model/UpdateVolumePayload.js +1 -1
- package/dist/model/UpdateVolumeResponse.js +1 -1
- package/dist/model/UserConsent.js +1 -1
- package/dist/model/UserConsentEvent.js +1 -1
- package/dist/model/UserConsentsResponse.js +1 -1
- package/dist/model/UserDefaultChoiceForUserFields.js +1 -1
- package/dist/model/UserDefaultChoicesForUserResponse.js +1 -1
- package/dist/model/UserInfoPostPayload.js +1 -1
- package/dist/model/UserOrganizationsResponse.js +1 -1
- package/dist/model/UserPermissionFields.js +1 -1
- package/dist/model/UsersInfoFields.js +1 -1
- package/dist/model/UsersInfoListResponse.js +1 -1
- package/dist/model/VMQuota.js +1 -1
- package/dist/model/VNCURL.js +1 -1
- package/dist/model/VNCURLFields.js +1 -1
- package/dist/model/Volume.js +1 -1
- package/dist/model/VolumeAttachmentFields.js +1 -1
- package/dist/model/VolumeFields.js +1 -1
- package/dist/model/VolumeFieldsForInstance.js +1 -1
- package/dist/model/VolumeOverviewFields.js +1 -1
- package/dist/model/VolumeTypes.js +1 -1
- package/dist/model/Volumes.js +1 -1
- package/dist/model/VolumesFields.js +1 -1
- package/dist/model/Voucher.js +1 -1
- package/dist/model/VoucherRedeemResponseSchema.js +1 -1
- package/dist/model/WorkloadBillingHistoryResponse.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ To contribute, please raise an issue with a bug report, feature request, feedbac
|
|
|
9
9
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
10
10
|
|
|
11
11
|
- API version: 1.0
|
|
12
|
-
- Package version: v1.
|
|
12
|
+
- Package version: v1.54.7-alpha
|
|
13
13
|
- Generator version: 7.10.0
|
|
14
14
|
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
|
|
15
15
|
|
|
@@ -236,6 +236,9 @@ Class | Method | HTTP request | Description
|
|
|
236
236
|
*HyperstackApi.DeploymentApi* | [**getDeployment**](docs/DeploymentApi.md#getDeployment) | **GET** /core/marketplace/deployments/{id} | Details of Deployment by ID
|
|
237
237
|
*HyperstackApi.DeploymentApi* | [**listDeployments**](docs/DeploymentApi.md#listDeployments) | **GET** /core/marketplace/deployments | List Deployments
|
|
238
238
|
*HyperstackApi.DeploymentApi* | [**startDeployment**](docs/DeploymentApi.md#startDeployment) | **POST** /core/marketplace/deployments | Start Deployment
|
|
239
|
+
*HyperstackApi.EmailOptInOutApi* | [**getEmailPreferencesForAUser**](docs/EmailOptInOutApi.md#getEmailPreferencesForAUser) | **GET** /auth/email/opt-out | Get all email preferences for the authenticated user
|
|
240
|
+
*HyperstackApi.EmailOptInOutApi* | [**toggleAllOptionalEmailPreferencesForTheUser**](docs/EmailOptInOutApi.md#toggleAllOptionalEmailPreferencesForTheUser) | **PUT** /auth/email/opt-out | Toggle all optional email preferences for the authenticated user
|
|
241
|
+
*HyperstackApi.EmailOptInOutApi* | [**updateEmailPreferenceForACategoryBySlug**](docs/EmailOptInOutApi.md#updateEmailPreferenceForACategoryBySlug) | **PUT** /auth/email/opt-out/{slug} | Update email preference opted_in status for a category slug
|
|
239
242
|
*HyperstackApi.EnvironmentApi* | [**createEnvironment**](docs/EnvironmentApi.md#createEnvironment) | **POST** /core/environments | Create environment
|
|
240
243
|
*HyperstackApi.EnvironmentApi* | [**deleteEnvironment**](docs/EnvironmentApi.md#deleteEnvironment) | **DELETE** /core/environments/{id} | Delete environment
|
|
241
244
|
*HyperstackApi.EnvironmentApi* | [**fetchEnvironmentNameAvailability**](docs/EnvironmentApi.md#fetchEnvironmentNameAvailability) | **GET** /core/environments/name-availability/{name} | Fetch environment name availability
|
|
@@ -267,6 +270,7 @@ Class | Method | HTTP request | Description
|
|
|
267
270
|
*HyperstackApi.KeypairApi* | [**deleteKeyPair**](docs/KeypairApi.md#deleteKeyPair) | **DELETE** /core/keypair/{id} | Delete key pair
|
|
268
271
|
*HyperstackApi.KeypairApi* | [**importKeyPair**](docs/KeypairApi.md#importKeyPair) | **POST** /core/keypairs | Import key pair
|
|
269
272
|
*HyperstackApi.KeypairApi* | [**listKeyPairs**](docs/KeypairApi.md#listKeyPairs) | **GET** /core/keypairs | List key pairs
|
|
273
|
+
*HyperstackApi.KeypairApi* | [**listSupportedKeyPairTypes**](docs/KeypairApi.md#listSupportedKeyPairTypes) | **GET** /core/supported-keypairs | List supported key pair types
|
|
270
274
|
*HyperstackApi.KeypairApi* | [**updateKeyPairName**](docs/KeypairApi.md#updateKeyPairName) | **PUT** /core/keypair/{id} | Update key pair name
|
|
271
275
|
*HyperstackApi.OrganizationApi* | [**removeOrganizationMember**](docs/OrganizationApi.md#removeOrganizationMember) | **POST** /auth/organizations/remove-member | Remove Organization Member
|
|
272
276
|
*HyperstackApi.OrganizationApi* | [**retrieveOrganizationInformation**](docs/OrganizationApi.md#retrieveOrganizationInformation) | **GET** /auth/organizations | Retrieve Organization Information
|
|
@@ -305,6 +309,7 @@ Class | Method | HTTP request | Description
|
|
|
305
309
|
*HyperstackApi.TemplateApi* | [**listTemplates**](docs/TemplateApi.md#listTemplates) | **GET** /core/marketplace/templates | List templates
|
|
306
310
|
*HyperstackApi.TemplateApi* | [**updateTemplate**](docs/TemplateApi.md#updateTemplate) | **PUT** /core/marketplace/templates/{id} | Update template
|
|
307
311
|
*HyperstackApi.UserApi* | [**addUserBillingInfo**](docs/UserApi.md#addUserBillingInfo) | **POST** /billing/user/info | POST: Insert billing info
|
|
312
|
+
*HyperstackApi.UserApi* | [**getAllowedCountryCodes**](docs/UserApi.md#getAllowedCountryCodes) | **GET** /billing/user/countries | GET: Retrieve allowed country codes
|
|
308
313
|
*HyperstackApi.UserApi* | [**getUserBillingInfo**](docs/UserApi.md#getUserBillingInfo) | **GET** /billing/user/info | GET: Retrieve billing info
|
|
309
314
|
*HyperstackApi.UserApi* | [**updateUserBillingInfo**](docs/UserApi.md#updateUserBillingInfo) | **PUT** /billing/user/info | PUT: Update billing info
|
|
310
315
|
*HyperstackApi.UserConsentApi* | [**addANewConsentForAUser**](docs/UserConsentApi.md#addANewConsentForAUser) | **POST** /auth/user-consent | Add a new User consent
|
|
@@ -357,6 +362,7 @@ Class | Method | HTTP request | Description
|
|
|
357
362
|
- [HyperstackApi.AccessTokenField](docs/AccessTokenField.md)
|
|
358
363
|
- [HyperstackApi.AddUserInfoSuccessResponseModel](docs/AddUserInfoSuccessResponseModel.md)
|
|
359
364
|
- [HyperstackApi.AllocatedGPUCountGraph](docs/AllocatedGPUCountGraph.md)
|
|
365
|
+
- [HyperstackApi.AllowedCountriesResponse](docs/AllowedCountriesResponse.md)
|
|
360
366
|
- [HyperstackApi.ApiKeyFields](docs/ApiKeyFields.md)
|
|
361
367
|
- [HyperstackApi.AssignRbacRolePayload](docs/AssignRbacRolePayload.md)
|
|
362
368
|
- [HyperstackApi.AttachCallbackPayload](docs/AttachCallbackPayload.md)
|
|
@@ -454,6 +460,9 @@ Class | Method | HTTP request | Description
|
|
|
454
460
|
- [HyperstackApi.DetachVolumesPayload](docs/DetachVolumesPayload.md)
|
|
455
461
|
- [HyperstackApi.DisableAutoTopupResponse](docs/DisableAutoTopupResponse.md)
|
|
456
462
|
- [HyperstackApi.EditLabelOfAnExistingVMPayload](docs/EditLabelOfAnExistingVMPayload.md)
|
|
463
|
+
- [HyperstackApi.EmailCategory](docs/EmailCategory.md)
|
|
464
|
+
- [HyperstackApi.EmailCategoryChild](docs/EmailCategoryChild.md)
|
|
465
|
+
- [HyperstackApi.EmailPreferencesResponse](docs/EmailPreferencesResponse.md)
|
|
457
466
|
- [HyperstackApi.Environment](docs/Environment.md)
|
|
458
467
|
- [HyperstackApi.EnvironmentFeatures](docs/EnvironmentFeatures.md)
|
|
459
468
|
- [HyperstackApi.EnvironmentFields](docs/EnvironmentFields.md)
|
|
@@ -647,6 +656,7 @@ Class | Method | HTTP request | Description
|
|
|
647
656
|
- [HyperstackApi.SubResourcesGraphBillingHistoryFields](docs/SubResourcesGraphBillingHistoryFields.md)
|
|
648
657
|
- [HyperstackApi.SubResourcesGraphResponseModel](docs/SubResourcesGraphResponseModel.md)
|
|
649
658
|
- [HyperstackApi.SubscribeOrUnsubscribeUpdatePayload](docs/SubscribeOrUnsubscribeUpdatePayload.md)
|
|
659
|
+
- [HyperstackApi.SupportedKeypairPublicKeyTypesResponse](docs/SupportedKeypairPublicKeyTypesResponse.md)
|
|
650
660
|
- [HyperstackApi.Template](docs/Template.md)
|
|
651
661
|
- [HyperstackApi.TemplateFields](docs/TemplateFields.md)
|
|
652
662
|
- [HyperstackApi.Templates](docs/Templates.md)
|
|
@@ -656,6 +666,8 @@ Class | Method | HTTP request | Description
|
|
|
656
666
|
- [HyperstackApi.UpdateAutoTopupResponse](docs/UpdateAutoTopupResponse.md)
|
|
657
667
|
- [HyperstackApi.UpdateClusterNodeGroupPayload](docs/UpdateClusterNodeGroupPayload.md)
|
|
658
668
|
- [HyperstackApi.UpdateConsentRequest](docs/UpdateConsentRequest.md)
|
|
669
|
+
- [HyperstackApi.UpdateEmailPreferenceInput](docs/UpdateEmailPreferenceInput.md)
|
|
670
|
+
- [HyperstackApi.UpdateEmailPreferenceResponse](docs/UpdateEmailPreferenceResponse.md)
|
|
659
671
|
- [HyperstackApi.UpdateEnvironment](docs/UpdateEnvironment.md)
|
|
660
672
|
- [HyperstackApi.UpdateKeypairName](docs/UpdateKeypairName.md)
|
|
661
673
|
- [HyperstackApi.UpdateKeypairNameResponse](docs/UpdateKeypairNameResponse.md)
|
package/dist/ApiClient.js
CHANGED
|
@@ -25,7 +25,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
25
25
|
*/
|
|
26
26
|
/**
|
|
27
27
|
* @module ApiClient
|
|
28
|
-
* @version v1.
|
|
28
|
+
* @version v1.54.7-alpha
|
|
29
29
|
*/
|
|
30
30
|
/**
|
|
31
31
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
@@ -68,7 +68,7 @@ var ApiClient = /*#__PURE__*/function () {
|
|
|
68
68
|
* @default {}
|
|
69
69
|
*/
|
|
70
70
|
this.defaultHeaders = {
|
|
71
|
-
'User-Agent': 'OpenAPI-Generator/v1.
|
|
71
|
+
'User-Agent': 'OpenAPI-Generator/v1.54.7-alpha/Javascript'
|
|
72
72
|
};
|
|
73
73
|
|
|
74
74
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* AccessKeys service.
|
|
33
33
|
* @module api/AccessKeysApi
|
|
34
|
-
* @version v1.
|
|
34
|
+
* @version v1.54.7-alpha
|
|
35
35
|
*/
|
|
36
36
|
var AccessKeysApi = exports["default"] = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
package/dist/api/AliveApi.js
CHANGED
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* Alive service.
|
|
28
28
|
* @module api/AliveApi
|
|
29
|
-
* @version v1.
|
|
29
|
+
* @version v1.54.7-alpha
|
|
30
30
|
*/
|
|
31
31
|
var AliveApi = exports["default"] = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/api/ApiKeyApi.js
CHANGED
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* ApiKey service.
|
|
33
33
|
* @module api/ApiKeyApi
|
|
34
|
-
* @version v1.
|
|
34
|
+
* @version v1.54.7-alpha
|
|
35
35
|
*/
|
|
36
36
|
var ApiKeyApi = exports["default"] = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* AssigningMemberRole service.
|
|
32
32
|
* @module api/AssigningMemberRoleApi
|
|
33
|
-
* @version v1.
|
|
33
|
+
* @version v1.54.7-alpha
|
|
34
34
|
*/
|
|
35
35
|
var AssigningMemberRoleApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/api/AuthApi.js
CHANGED
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* Auth service.
|
|
34
34
|
* @module api/AuthApi
|
|
35
|
-
* @version v1.
|
|
35
|
+
* @version v1.54.7-alpha
|
|
36
36
|
*/
|
|
37
37
|
var AuthApi = exports["default"] = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
package/dist/api/AutoTopupApi.js
CHANGED
|
@@ -34,7 +34,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
34
34
|
/**
|
|
35
35
|
* AutoTopup service.
|
|
36
36
|
* @module api/AutoTopupApi
|
|
37
|
-
* @version v1.
|
|
37
|
+
* @version v1.54.7-alpha
|
|
38
38
|
*/
|
|
39
39
|
var AutoTopupApi = exports["default"] = /*#__PURE__*/function () {
|
|
40
40
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* BetaAccess service.
|
|
32
32
|
* @module api/BetaAccessApi
|
|
33
|
-
* @version v1.
|
|
33
|
+
* @version v1.54.7-alpha
|
|
34
34
|
*/
|
|
35
35
|
var BetaAccessApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/api/BillingApi.js
CHANGED
|
@@ -54,7 +54,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
54
54
|
/**
|
|
55
55
|
* Billing service.
|
|
56
56
|
* @module api/BillingApi
|
|
57
|
-
* @version v1.
|
|
57
|
+
* @version v1.54.7-alpha
|
|
58
58
|
*/
|
|
59
59
|
var BillingApi = exports["default"] = /*#__PURE__*/function () {
|
|
60
60
|
/**
|
package/dist/api/BucketsApi.js
CHANGED
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* Buckets service.
|
|
32
32
|
* @module api/BucketsApi
|
|
33
|
-
* @version v1.
|
|
33
|
+
* @version v1.54.7-alpha
|
|
34
34
|
*/
|
|
35
35
|
var BucketsApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/api/CalculateApi.js
CHANGED
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* Calculate service.
|
|
30
30
|
* @module api/CalculateApi
|
|
31
|
-
* @version v1.
|
|
31
|
+
* @version v1.54.7-alpha
|
|
32
32
|
*/
|
|
33
33
|
var CalculateApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
package/dist/api/CallbacksApi.js
CHANGED
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* Callbacks service.
|
|
32
32
|
* @module api/CallbacksApi
|
|
33
|
-
* @version v1.
|
|
33
|
+
* @version v1.54.7-alpha
|
|
34
34
|
*/
|
|
35
35
|
var CallbacksApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* ClusterEvents service.
|
|
30
30
|
* @module api/ClusterEventsApi
|
|
31
|
-
* @version v1.
|
|
31
|
+
* @version v1.54.7-alpha
|
|
32
32
|
*/
|
|
33
33
|
var ClusterEventsApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
package/dist/api/ClustersApi.js
CHANGED
|
@@ -43,7 +43,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
43
43
|
/**
|
|
44
44
|
* Clusters service.
|
|
45
45
|
* @module api/ClustersApi
|
|
46
|
-
* @version v1.
|
|
46
|
+
* @version v1.54.7-alpha
|
|
47
47
|
*/
|
|
48
48
|
var ClustersApi = exports["default"] = /*#__PURE__*/function () {
|
|
49
49
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* Compliance service.
|
|
33
33
|
* @module api/ComplianceApi
|
|
34
|
-
* @version v1.
|
|
34
|
+
* @version v1.54.7-alpha
|
|
35
35
|
*/
|
|
36
36
|
var ComplianceApi = exports["default"] = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
package/dist/api/CreditApi.js
CHANGED
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* Credit service.
|
|
30
30
|
* @module api/CreditApi
|
|
31
|
-
* @version v1.
|
|
31
|
+
* @version v1.54.7-alpha
|
|
32
32
|
*/
|
|
33
33
|
var CreditApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* CustomerContract service.
|
|
32
32
|
* @module api/CustomerContractApi
|
|
33
|
-
* @version v1.
|
|
33
|
+
* @version v1.54.7-alpha
|
|
34
34
|
*/
|
|
35
35
|
var CustomerContractApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/api/DashboardApi.js
CHANGED
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* Dashboard service.
|
|
30
30
|
* @module api/DashboardApi
|
|
31
|
-
* @version v1.
|
|
31
|
+
* @version v1.54.7-alpha
|
|
32
32
|
*/
|
|
33
33
|
var DashboardApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* Deployment service.
|
|
33
33
|
* @module api/DeploymentApi
|
|
34
|
-
* @version v1.
|
|
34
|
+
* @version v1.54.7-alpha
|
|
35
35
|
*/
|
|
36
36
|
var DeploymentApi = exports["default"] = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _EmailPreferencesResponse = _interopRequireDefault(require("../model/EmailPreferencesResponse"));
|
|
9
|
+
var _ErrorResponseModel = _interopRequireDefault(require("../model/ErrorResponseModel"));
|
|
10
|
+
var _UpdateEmailPreferenceInput = _interopRequireDefault(require("../model/UpdateEmailPreferenceInput"));
|
|
11
|
+
var _UpdateEmailPreferenceResponse = _interopRequireDefault(require("../model/UpdateEmailPreferenceResponse"));
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
13
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
14
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
15
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
16
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
19
|
+
* Infrahub-API
|
|
20
|
+
* Leverage the Infrahub API and Hyperstack platform to easily create, manage, and scale powerful GPU virtual machines and their associated resources. Access this SDK to automate the deployment of your workloads and streamline your infrastructure management. To contribute, please raise an issue with a bug report, feature request, feedback, or general inquiry.
|
|
21
|
+
*
|
|
22
|
+
* The version of the OpenAPI document: 1.0
|
|
23
|
+
*
|
|
24
|
+
*
|
|
25
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26
|
+
* https://openapi-generator.tech
|
|
27
|
+
* Do not edit the class manually.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* EmailOptInOut service.
|
|
32
|
+
* @module api/EmailOptInOutApi
|
|
33
|
+
* @version v1.54.7-alpha
|
|
34
|
+
*/
|
|
35
|
+
var EmailOptInOutApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
|
+
/**
|
|
37
|
+
* Constructs a new EmailOptInOutApi.
|
|
38
|
+
* @alias module:api/EmailOptInOutApi
|
|
39
|
+
* @class
|
|
40
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
41
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
42
|
+
*/
|
|
43
|
+
function EmailOptInOutApi(apiClient) {
|
|
44
|
+
_classCallCheck(this, EmailOptInOutApi);
|
|
45
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Get all email preferences for the authenticated user
|
|
50
|
+
* Returns all email categories with the user's opt-in status. Categories without an explicit preference default to opted_in=true.
|
|
51
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EmailPreferencesResponse} and HTTP response
|
|
52
|
+
*/
|
|
53
|
+
return _createClass(EmailOptInOutApi, [{
|
|
54
|
+
key: "getEmailPreferencesForAUserWithHttpInfo",
|
|
55
|
+
value: function getEmailPreferencesForAUserWithHttpInfo() {
|
|
56
|
+
var postBody = null;
|
|
57
|
+
var pathParams = {};
|
|
58
|
+
var queryParams = {};
|
|
59
|
+
var headerParams = {};
|
|
60
|
+
var formParams = {};
|
|
61
|
+
var authNames = ['apiKey'];
|
|
62
|
+
var contentTypes = [];
|
|
63
|
+
var accepts = ['application/json'];
|
|
64
|
+
var returnType = _EmailPreferencesResponse["default"];
|
|
65
|
+
return this.apiClient.callApi('/auth/email/opt-out', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Get all email preferences for the authenticated user
|
|
70
|
+
* Returns all email categories with the user's opt-in status. Categories without an explicit preference default to opted_in=true.
|
|
71
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EmailPreferencesResponse}
|
|
72
|
+
*/
|
|
73
|
+
}, {
|
|
74
|
+
key: "getEmailPreferencesForAUser",
|
|
75
|
+
value: function getEmailPreferencesForAUser() {
|
|
76
|
+
return this.getEmailPreferencesForAUserWithHttpInfo().then(function (response_and_data) {
|
|
77
|
+
return response_and_data.data;
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Toggle all optional email preferences for the authenticated user
|
|
83
|
+
* Sets opted_in to the given value for every non-required, non-deleted email category. Required categories are not affected.
|
|
84
|
+
* @param {module:model/UpdateEmailPreferenceInput} payload
|
|
85
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdateEmailPreferenceResponse} and HTTP response
|
|
86
|
+
*/
|
|
87
|
+
}, {
|
|
88
|
+
key: "toggleAllOptionalEmailPreferencesForTheUserWithHttpInfo",
|
|
89
|
+
value: function toggleAllOptionalEmailPreferencesForTheUserWithHttpInfo(payload) {
|
|
90
|
+
var postBody = payload;
|
|
91
|
+
// verify the required parameter 'payload' is set
|
|
92
|
+
if (payload === undefined || payload === null) {
|
|
93
|
+
throw new Error("Missing the required parameter 'payload' when calling toggleAllOptionalEmailPreferencesForTheUser");
|
|
94
|
+
}
|
|
95
|
+
var pathParams = {};
|
|
96
|
+
var queryParams = {};
|
|
97
|
+
var headerParams = {};
|
|
98
|
+
var formParams = {};
|
|
99
|
+
var authNames = ['apiKey'];
|
|
100
|
+
var contentTypes = ['application/json'];
|
|
101
|
+
var accepts = ['application/json'];
|
|
102
|
+
var returnType = _UpdateEmailPreferenceResponse["default"];
|
|
103
|
+
return this.apiClient.callApi('/auth/email/opt-out', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Toggle all optional email preferences for the authenticated user
|
|
108
|
+
* Sets opted_in to the given value for every non-required, non-deleted email category. Required categories are not affected.
|
|
109
|
+
* @param {module:model/UpdateEmailPreferenceInput} payload
|
|
110
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdateEmailPreferenceResponse}
|
|
111
|
+
*/
|
|
112
|
+
}, {
|
|
113
|
+
key: "toggleAllOptionalEmailPreferencesForTheUser",
|
|
114
|
+
value: function toggleAllOptionalEmailPreferencesForTheUser(payload) {
|
|
115
|
+
return this.toggleAllOptionalEmailPreferencesForTheUserWithHttpInfo(payload).then(function (response_and_data) {
|
|
116
|
+
return response_and_data.data;
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Update email preference opted_in status for a category slug
|
|
122
|
+
* Updates the opted_in status for the given email category slug. If the slug belongs to a parent category (email_category_id is null), all non-deleted child categories are updated. If the slug belongs to a child category, only that category is updated.
|
|
123
|
+
* @param {String} slug
|
|
124
|
+
* @param {module:model/UpdateEmailPreferenceInput} payload
|
|
125
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdateEmailPreferenceResponse} and HTTP response
|
|
126
|
+
*/
|
|
127
|
+
}, {
|
|
128
|
+
key: "updateEmailPreferenceForACategoryBySlugWithHttpInfo",
|
|
129
|
+
value: function updateEmailPreferenceForACategoryBySlugWithHttpInfo(slug, payload) {
|
|
130
|
+
var postBody = payload;
|
|
131
|
+
// verify the required parameter 'slug' is set
|
|
132
|
+
if (slug === undefined || slug === null) {
|
|
133
|
+
throw new Error("Missing the required parameter 'slug' when calling updateEmailPreferenceForACategoryBySlug");
|
|
134
|
+
}
|
|
135
|
+
// verify the required parameter 'payload' is set
|
|
136
|
+
if (payload === undefined || payload === null) {
|
|
137
|
+
throw new Error("Missing the required parameter 'payload' when calling updateEmailPreferenceForACategoryBySlug");
|
|
138
|
+
}
|
|
139
|
+
var pathParams = {
|
|
140
|
+
'slug': slug
|
|
141
|
+
};
|
|
142
|
+
var queryParams = {};
|
|
143
|
+
var headerParams = {};
|
|
144
|
+
var formParams = {};
|
|
145
|
+
var authNames = ['apiKey'];
|
|
146
|
+
var contentTypes = ['application/json'];
|
|
147
|
+
var accepts = ['application/json'];
|
|
148
|
+
var returnType = _UpdateEmailPreferenceResponse["default"];
|
|
149
|
+
return this.apiClient.callApi('/auth/email/opt-out/{slug}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Update email preference opted_in status for a category slug
|
|
154
|
+
* Updates the opted_in status for the given email category slug. If the slug belongs to a parent category (email_category_id is null), all non-deleted child categories are updated. If the slug belongs to a child category, only that category is updated.
|
|
155
|
+
* @param {String} slug
|
|
156
|
+
* @param {module:model/UpdateEmailPreferenceInput} payload
|
|
157
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdateEmailPreferenceResponse}
|
|
158
|
+
*/
|
|
159
|
+
}, {
|
|
160
|
+
key: "updateEmailPreferenceForACategoryBySlug",
|
|
161
|
+
value: function updateEmailPreferenceForACategoryBySlug(slug, payload) {
|
|
162
|
+
return this.updateEmailPreferenceForACategoryBySlugWithHttpInfo(slug, payload).then(function (response_and_data) {
|
|
163
|
+
return response_and_data.data;
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
}]);
|
|
167
|
+
}();
|
|
@@ -34,7 +34,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
34
34
|
/**
|
|
35
35
|
* Environment service.
|
|
36
36
|
* @module api/EnvironmentApi
|
|
37
|
-
* @version v1.
|
|
37
|
+
* @version v1.54.7-alpha
|
|
38
38
|
*/
|
|
39
39
|
var EnvironmentApi = exports["default"] = /*#__PURE__*/function () {
|
|
40
40
|
/**
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* FIPExclusions service.
|
|
30
30
|
* @module api/FIPExclusionsApi
|
|
31
|
-
* @version v1.
|
|
31
|
+
* @version v1.54.7-alpha
|
|
32
32
|
*/
|
|
33
33
|
var FIPExclusionsApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* FirewallAttachment service.
|
|
31
31
|
* @module api/FirewallAttachmentApi
|
|
32
|
-
* @version v1.
|
|
32
|
+
* @version v1.54.7-alpha
|
|
33
33
|
*/
|
|
34
34
|
var FirewallAttachmentApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/FirewallsApi.js
CHANGED
|
@@ -34,7 +34,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
34
34
|
/**
|
|
35
35
|
* Firewalls service.
|
|
36
36
|
* @module api/FirewallsApi
|
|
37
|
-
* @version v1.
|
|
37
|
+
* @version v1.54.7-alpha
|
|
38
38
|
*/
|
|
39
39
|
var FirewallsApi = exports["default"] = /*#__PURE__*/function () {
|
|
40
40
|
/**
|
package/dist/api/FlavorApi.js
CHANGED
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* Flavor service.
|
|
30
30
|
* @module api/FlavorApi
|
|
31
|
-
* @version v1.
|
|
31
|
+
* @version v1.54.7-alpha
|
|
32
32
|
*/
|
|
33
33
|
var FlavorApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* FloatingIp service.
|
|
30
30
|
* @module api/FloatingIpApi
|
|
31
|
-
* @version v1.
|
|
31
|
+
* @version v1.54.7-alpha
|
|
32
32
|
*/
|
|
33
33
|
var FloatingIpApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
package/dist/api/GpuApi.js
CHANGED
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* Gpu service.
|
|
30
30
|
* @module api/GpuApi
|
|
31
|
-
* @version v1.
|
|
31
|
+
* @version v1.54.7-alpha
|
|
32
32
|
*/
|
|
33
33
|
var GpuApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
package/dist/api/HealthApi.js
CHANGED
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* Health service.
|
|
29
29
|
* @module api/HealthApi
|
|
30
|
-
* @version v1.
|
|
30
|
+
* @version v1.54.7-alpha
|
|
31
31
|
*/
|
|
32
32
|
var HealthApi = exports["default"] = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
package/dist/api/ImageApi.js
CHANGED
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* Image service.
|
|
33
33
|
* @module api/ImageApi
|
|
34
|
-
* @version v1.
|
|
34
|
+
* @version v1.54.7-alpha
|
|
35
35
|
*/
|
|
36
36
|
var ImageApi = exports["default"] = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
package/dist/api/InviteApi.js
CHANGED
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* Invite service.
|
|
33
33
|
* @module api/InviteApi
|
|
34
|
-
* @version v1.
|
|
34
|
+
* @version v1.54.7-alpha
|
|
35
35
|
*/
|
|
36
36
|
var InviteApi = exports["default"] = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
package/dist/api/KeypairApi.js
CHANGED
|
@@ -10,6 +10,7 @@ var _ImportKeypairPayload = _interopRequireDefault(require("../model/ImportKeypa
|
|
|
10
10
|
var _ImportKeypairResponse = _interopRequireDefault(require("../model/ImportKeypairResponse"));
|
|
11
11
|
var _Keypairs = _interopRequireDefault(require("../model/Keypairs"));
|
|
12
12
|
var _ResponseModel = _interopRequireDefault(require("../model/ResponseModel"));
|
|
13
|
+
var _SupportedKeypairPublicKeyTypesResponse = _interopRequireDefault(require("../model/SupportedKeypairPublicKeyTypesResponse"));
|
|
13
14
|
var _UpdateKeypairName = _interopRequireDefault(require("../model/UpdateKeypairName"));
|
|
14
15
|
var _UpdateKeypairNameResponse = _interopRequireDefault(require("../model/UpdateKeypairNameResponse"));
|
|
15
16
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
@@ -33,7 +34,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
33
34
|
/**
|
|
34
35
|
* Keypair service.
|
|
35
36
|
* @module api/KeypairApi
|
|
36
|
-
* @version v1.
|
|
37
|
+
* @version v1.54.7-alpha
|
|
37
38
|
*/
|
|
38
39
|
var KeypairApi = exports["default"] = /*#__PURE__*/function () {
|
|
39
40
|
/**
|
|
@@ -174,6 +175,39 @@ var KeypairApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
174
175
|
});
|
|
175
176
|
}
|
|
176
177
|
|
|
178
|
+
/**
|
|
179
|
+
* List supported key pair types
|
|
180
|
+
* Retrieves the SSH public key types supported for import.
|
|
181
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SupportedKeypairPublicKeyTypesResponse} and HTTP response
|
|
182
|
+
*/
|
|
183
|
+
}, {
|
|
184
|
+
key: "listSupportedKeyPairTypesWithHttpInfo",
|
|
185
|
+
value: function listSupportedKeyPairTypesWithHttpInfo() {
|
|
186
|
+
var postBody = null;
|
|
187
|
+
var pathParams = {};
|
|
188
|
+
var queryParams = {};
|
|
189
|
+
var headerParams = {};
|
|
190
|
+
var formParams = {};
|
|
191
|
+
var authNames = ['apiKey'];
|
|
192
|
+
var contentTypes = [];
|
|
193
|
+
var accepts = ['application/json'];
|
|
194
|
+
var returnType = _SupportedKeypairPublicKeyTypesResponse["default"];
|
|
195
|
+
return this.apiClient.callApi('/core/supported-keypairs', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* List supported key pair types
|
|
200
|
+
* Retrieves the SSH public key types supported for import.
|
|
201
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SupportedKeypairPublicKeyTypesResponse}
|
|
202
|
+
*/
|
|
203
|
+
}, {
|
|
204
|
+
key: "listSupportedKeyPairTypes",
|
|
205
|
+
value: function listSupportedKeyPairTypes() {
|
|
206
|
+
return this.listSupportedKeyPairTypesWithHttpInfo().then(function (response_and_data) {
|
|
207
|
+
return response_and_data.data;
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
|
|
177
211
|
/**
|
|
178
212
|
* Update key pair name
|
|
179
213
|
* Updates the name of a specified key pair. Provide the key pair ID in the path, and include the new `name` in the request body.
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* Organization service.
|
|
34
34
|
* @module api/OrganizationApi
|
|
35
|
-
* @version v1.
|
|
35
|
+
* @version v1.54.7-alpha
|
|
36
36
|
*/
|
|
37
37
|
var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* PartnerConfig service.
|
|
30
30
|
* @module api/PartnerConfigApi
|
|
31
|
-
* @version v1.
|
|
31
|
+
* @version v1.54.7-alpha
|
|
32
32
|
*/
|
|
33
33
|
var PartnerConfigApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
package/dist/api/PaymentApi.js
CHANGED
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* Payment service.
|
|
32
32
|
* @module api/PaymentApi
|
|
33
|
-
* @version v1.
|
|
33
|
+
* @version v1.54.7-alpha
|
|
34
34
|
*/
|
|
35
35
|
var PaymentApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* Permission service.
|
|
30
30
|
* @module api/PermissionApi
|
|
31
|
-
* @version v1.
|
|
31
|
+
* @version v1.54.7-alpha
|
|
32
32
|
*/
|
|
33
33
|
var PermissionApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|