@nexgencloud/hyperstack-sdk-javascript 1.55.7-alpha → 1.56.0-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 +9 -1
- package/dist/ApiClient.js +5 -4
- package/dist/HyperstackHeaders.js +1 -1
- package/dist/api/AccessKeysApi.js +48 -2
- package/dist/api/AliveApi.js +4 -4
- package/dist/api/ApiKeyApi.js +2 -2
- package/dist/api/AssigningMemberRoleApi.js +2 -2
- package/dist/api/AuthApi.js +2 -2
- package/dist/api/AutoTopupApi.js +4 -4
- package/dist/api/BetaAccessApi.js +2 -2
- package/dist/api/BillingApi.js +6 -6
- package/dist/api/BucketsApi.js +2 -2
- package/dist/api/CalculateApi.js +2 -2
- package/dist/api/CallbacksApi.js +2 -2
- package/dist/api/ClusterEventsApi.js +2 -2
- package/dist/api/ClustersApi.js +42 -2
- package/dist/api/CreditApi.js +4 -4
- package/dist/api/CustomerContractApi.js +2 -2
- package/dist/api/DashboardApi.js +2 -2
- package/dist/api/EmailOptInOutApi.js +2 -2
- package/dist/api/EnvironmentApi.js +2 -2
- package/dist/api/FIPExclusionsApi.js +2 -2
- package/dist/api/FirewallAttachmentApi.js +2 -2
- package/dist/api/FirewallsApi.js +2 -2
- package/dist/api/FlavorApi.js +2 -2
- package/dist/api/FloatingIpApi.js +2 -2
- package/dist/api/GpuApi.js +2 -2
- package/dist/api/HealthApi.js +2 -2
- package/dist/api/ImageApi.js +2 -2
- package/dist/api/InviteApi.js +2 -2
- package/dist/api/KeypairApi.js +2 -2
- package/dist/api/OrganizationApi.js +2 -2
- package/dist/api/PartnerConfigApi.js +2 -2
- package/dist/api/PaymentApi.js +12 -11
- package/dist/api/PermissionApi.js +2 -2
- package/dist/api/PolicyApi.js +2 -2
- package/dist/api/PricebookApi.js +2 -2
- package/dist/api/ProfileApi.js +2 -2
- package/dist/api/RbacRoleApi.js +2 -2
- package/dist/api/RegionApi.js +2 -2
- package/dist/api/RegionsApi.js +2 -2
- package/dist/api/SecurityRulesApi.js +2 -2
- package/dist/api/SnapshotEventsApi.js +2 -2
- package/dist/api/SnapshotsApi.js +2 -2
- package/dist/api/StockApi.js +2 -2
- package/dist/api/UserApi.js +2 -2
- package/dist/api/UserConsentApi.js +2 -2
- package/dist/api/UserConsentEventsApi.js +2 -2
- package/dist/api/UserDetailChoiceApi.js +2 -2
- package/dist/api/UserPermissionApi.js +2 -2
- package/dist/api/VirtualMachineApi.js +2 -2
- package/dist/api/VirtualMachineEventsApi.js +2 -2
- package/dist/api/VncUrlApi.js +2 -2
- package/dist/api/VolumeApi.js +2 -2
- package/dist/api/VolumeAttachmentApi.js +2 -2
- package/dist/api/VouchersApi.js +2 -2
- package/dist/api/ZendeskApi.js +79 -0
- package/dist/index.js +42 -0
- package/dist/model/AccessTokenField.js +2 -2
- package/dist/model/AddUserInfoSuccessResponseModel.js +2 -2
- package/dist/model/AllocatedGPUCountGraph.js +2 -2
- package/dist/model/AllowedCountriesResponse.js +2 -2
- package/dist/model/ApiKeyFields.js +2 -2
- package/dist/model/AssignRbacRolePayload.js +2 -2
- package/dist/model/AttachCallbackPayload.js +2 -2
- package/dist/model/AttachCallbackResponse.js +2 -2
- package/dist/model/AttachFirewallWithVM.js +2 -2
- package/dist/model/AttachFirewallsToVMPayload.js +2 -2
- package/dist/model/AttachVolumeFields.js +2 -2
- package/dist/model/AttachVolumes.js +2 -2
- package/dist/model/AttachVolumesPayload.js +2 -2
- package/dist/model/AttachmentsFieldsForVolume.js +2 -2
- package/dist/model/Attributes.js +2 -2
- package/dist/model/AuthGetTokenResponseModel.js +2 -2
- package/dist/model/AuthUserFields.js +2 -2
- package/dist/model/AuthUserInfoResponseModel.js +2 -2
- package/dist/model/AutoTopup.js +2 -2
- package/dist/model/AutoTopupErrorResponse.js +2 -2
- package/dist/model/AutoTopupStatusSchema.js +2 -2
- package/dist/model/BetaAccessRequestFields.js +2 -2
- package/dist/model/BetaAccessRequestPayload.js +2 -2
- package/dist/model/BetaAccessRequestResponseModel.js +2 -2
- package/dist/model/BetaAccessStatusItem.js +2 -2
- package/dist/model/BetaAccessStatusResponseModel.js +2 -2
- package/dist/model/BillingHistory.js +2 -2
- package/dist/model/BillingHistoryDataSynthesisDetails.js +2 -2
- package/dist/model/BillingHistoryFineTuning.js +2 -2
- package/dist/model/BillingHistoryImageGenerationDetails.js +2 -2
- package/dist/model/BillingHistoryModelEvalutationDetails.js +2 -2
- package/dist/model/BillingHistoryServerlessInference.js +2 -2
- package/dist/model/BillingHistoryServerlessInferenceDetails.js +2 -2
- package/dist/model/BillingMetricesFields.js +2 -2
- package/dist/model/BillingMetricesResponse.js +2 -2
- package/dist/model/ClusterEvents.js +2 -2
- package/dist/model/ClusterEventsFields.js +2 -2
- package/dist/model/ClusterFields.js +10 -2
- package/dist/model/ClusterFlavorFields.js +2 -2
- package/dist/model/ClusterListResponse.js +2 -2
- package/dist/model/ClusterNodeFields.js +2 -2
- package/dist/model/ClusterNodeGroupFields.js +2 -2
- package/dist/model/ClusterNodeGroupFirewallFields.js +2 -2
- package/dist/model/ClusterNodeGroupsCreateResponse.js +2 -2
- package/dist/model/ClusterNodeGroupsGetResponse.js +2 -2
- package/dist/model/ClusterNodeGroupsListResponse.js +2 -2
- package/dist/model/ClusterNodeInstanceFields.js +2 -2
- package/dist/model/ClusterNodesListResponse.js +2 -2
- package/dist/model/ClusterResponse.js +2 -2
- package/dist/model/ClusterRestoreFailedNode.js +97 -0
- package/dist/model/ClusterRestoreResponse.js +142 -0
- package/dist/model/ClusterVersion.js +2 -2
- package/dist/model/ClusterVersions.js +2 -2
- package/dist/model/Colors.js +2 -2
- package/dist/model/CommonResponseModel.js +2 -2
- package/dist/model/CompatibleFlavor.js +2 -2
- package/dist/model/CompatibleImage.js +2 -2
- package/dist/model/ConsentActionResponse.js +2 -2
- package/dist/model/ConsentBlock.js +2 -2
- package/dist/model/ConsentEventsResponse.js +2 -2
- package/dist/model/ConsentTemplate.js +2 -2
- package/dist/model/ConsentTemplatesResponse.js +2 -2
- package/dist/model/Contract.js +2 -2
- package/dist/model/ContractDiscountPlanFields.js +2 -2
- package/dist/model/ContractGPUAllocationGraphResponse.js +2 -2
- package/dist/model/ContractInstanceFields.js +2 -2
- package/dist/model/ContractInstancesResponse.js +2 -2
- package/dist/model/CreateAutoTopupPayload.js +2 -2
- package/dist/model/CreateAutoTopupResponse.js +2 -2
- package/dist/model/CreateClusterNodeFields.js +2 -2
- package/dist/model/CreateClusterNodeGroupPayload.js +2 -2
- package/dist/model/CreateClusterPayload.js +2 -2
- package/dist/model/CreateEnvironment.js +2 -2
- package/dist/model/CreateFirewallPayload.js +2 -2
- package/dist/model/CreateFirewallRulePayload.js +2 -2
- package/dist/model/CreateImage.js +2 -2
- package/dist/model/CreateImagePayload.js +2 -2
- package/dist/model/CreateInstancesPayload.js +2 -2
- package/dist/model/CreateInstancesResponse.js +2 -2
- package/dist/model/CreateProfilePayload.js +2 -2
- package/dist/model/CreateProfileResponse.js +2 -2
- package/dist/model/CreateSecurityRulePayload.js +2 -2
- package/dist/model/CreateSnapshotPayload.js +2 -2
- package/dist/model/CreateSnapshotResponse.js +2 -2
- package/dist/model/CreateUpdateRbacRolePayload.js +2 -2
- package/dist/model/CreateVolumePayload.js +2 -2
- package/dist/model/CustomerContractDetailResponseModel.js +2 -2
- package/dist/model/CustomerContractFields.js +2 -2
- package/dist/model/DashboardInfoResponse.js +2 -2
- package/dist/model/DataSynthesisBillingHistoryDetailsResponseSchema.js +2 -2
- package/dist/model/DeleteClusterNodesFields.js +2 -2
- package/dist/model/DetachVolumes.js +2 -2
- package/dist/model/DetachVolumesPayload.js +2 -2
- package/dist/model/DisableAutoTopupResponse.js +2 -2
- package/dist/model/EditLabelOfAnExistingVMPayload.js +2 -2
- package/dist/model/EmailCategory.js +2 -2
- package/dist/model/EmailCategoryChild.js +2 -2
- package/dist/model/EmailPreferencesResponse.js +2 -2
- package/dist/model/Environment.js +2 -2
- package/dist/model/EnvironmentFeatures.js +2 -2
- package/dist/model/EnvironmentFields.js +2 -2
- package/dist/model/EnvironmentFieldsForVolume.js +2 -2
- package/dist/model/Environments.js +2 -2
- package/dist/model/ErrorResponseModel.js +2 -2
- package/dist/model/FirewallAttachmentModel.js +2 -2
- package/dist/model/FirewallAttachmentVMModel.js +2 -2
- package/dist/model/FirewallDetailFields.js +2 -2
- package/dist/model/FirewallDetailResponse.js +2 -2
- package/dist/model/FirewallEnvironmentFields.js +2 -2
- package/dist/model/FirewallFields.js +2 -2
- package/dist/model/FirewallResponse.js +2 -2
- package/dist/model/FirewallRule.js +2 -2
- package/dist/model/FirewallsListResponse.js +2 -2
- package/dist/model/FlavorFields.js +2 -2
- package/dist/model/FlavorItemGetResponse.js +2 -2
- package/dist/model/FlavorLabelFields.js +2 -2
- package/dist/model/FlavorListResponse.js +2 -2
- package/dist/model/FlavorObjectFields.js +2 -2
- package/dist/model/FlavorRestrictions.js +2 -2
- package/dist/model/GPUFields.js +2 -2
- package/dist/model/GPUList.js +2 -2
- package/dist/model/GPURegionFields.js +2 -2
- package/dist/model/GenerateUpdateApiKeyPayload.js +2 -2
- package/dist/model/GenerateUpdateApiKeyResponseModel.js +2 -2
- package/dist/model/GetApiKeysResponseModel.js +2 -2
- package/dist/model/GetAutoTopupResponse.js +2 -2
- package/dist/model/GetCreditAndThresholdInfo.js +2 -2
- package/dist/model/GetCreditAndThresholdInfoInResponse.js +2 -2
- package/dist/model/GetCustomerContractsListResponseModel.js +2 -2
- package/dist/model/GetInstanceLogsResponse.js +2 -2
- package/dist/model/GetInvitesResponseModel.js +2 -2
- package/dist/model/GetOrganizationResponseModel.js +2 -2
- package/dist/model/GetPermissionsResponseModel.js +2 -2
- package/dist/model/GetPoliciesResponseModel.js +2 -2
- package/dist/model/GetRbacRolesResponseModel.js +2 -2
- package/dist/model/GetUserPermissionsResponseModel.js +2 -2
- package/dist/model/GraphDatetimeValueModel.js +2 -2
- package/dist/model/Image.js +2 -2
- package/dist/model/ImageFields.js +2 -2
- package/dist/model/ImageGenerationBillingHistoryDetailsResponseSchema.js +2 -2
- package/dist/model/ImageGetResponse.js +2 -2
- package/dist/model/ImageRestrictions.js +2 -2
- package/dist/model/Images.js +2 -2
- package/dist/model/ImportKeypairPayload.js +2 -2
- package/dist/model/ImportKeypairResponse.js +2 -2
- package/dist/model/InfrahubResourceObjectResponseForCustomer.js +2 -2
- package/dist/model/Instance.js +2 -2
- package/dist/model/InstanceEnhancedMetricsFields.js +2 -2
- package/dist/model/InstanceEnvironmentFields.js +2 -2
- package/dist/model/InstanceEvents.js +2 -2
- package/dist/model/InstanceEventsFields.js +2 -2
- package/dist/model/InstanceFields.js +2 -2
- package/dist/model/InstanceFlavorFields.js +2 -2
- package/dist/model/InstanceImageFields.js +2 -2
- package/dist/model/InstanceKeypairFields.js +2 -2
- package/dist/model/InstanceOverviewFields.js +2 -2
- package/dist/model/InstanceResizePayload.js +2 -2
- package/dist/model/Instances.js +2 -2
- package/dist/model/InviteFields.js +2 -2
- package/dist/model/InviteUserPayload.js +2 -2
- package/dist/model/InviteUserResponseModel.js +2 -2
- package/dist/model/KeypairEnvironmentFeatures.js +2 -2
- package/dist/model/KeypairEnvironmentFields.js +2 -2
- package/dist/model/KeypairFields.js +2 -2
- package/dist/model/Keypairs.js +2 -2
- package/dist/model/LableResonse.js +2 -2
- package/dist/model/LastDayCostFields.js +2 -2
- package/dist/model/LastDayCostResponse.js +2 -2
- package/dist/model/Logos.js +2 -2
- package/dist/model/MFAStatusFields.js +2 -2
- package/dist/model/MFAStatusResponse.js +2 -2
- package/dist/model/ManualReconciliationModel.js +2 -2
- package/dist/model/MasterFlavorsResponse.js +2 -2
- package/dist/model/MetricItemFields.js +2 -2
- package/dist/model/Metrics.js +2 -2
- package/dist/model/MetricsFields.js +2 -2
- package/dist/model/ModelEvaluationBillingHistoryDetailsResponseSchema.js +2 -2
- package/dist/model/NameAvailableModel.js +2 -2
- package/dist/model/NewConfigurationsResponse.js +2 -2
- package/dist/model/NewModelResponse.js +2 -2
- package/dist/model/NewStockResponse.js +2 -2
- package/dist/model/NewStockRetriveResponse.js +2 -2
- package/dist/model/ObjectStorageAccessKeyCreateRequest.js +2 -2
- package/dist/model/ObjectStorageAccessKeyCreateResponse.js +2 -2
- package/dist/model/ObjectStorageAccessKeyListResponse.js +2 -2
- package/dist/model/ObjectStorageAccessKeyResponse.js +2 -2
- package/dist/model/ObjectStorageAccessKeyUpdateRequest.js +112 -0
- package/dist/model/ObjectStorageBucketListResponse.js +2 -2
- package/dist/model/ObjectStorageBucketResponse.js +2 -2
- package/dist/model/ObjectStorageDeleteResponse.js +2 -2
- package/dist/model/ObjectStorageErrorResponse.js +2 -2
- package/dist/model/ObjectStorageHealthResponse.js +2 -2
- package/dist/model/ObjectStoragePaginationMeta.js +2 -2
- package/dist/model/ObjectStorageRegionListResponse.js +2 -2
- package/dist/model/ObjectStorageRegionResponse.js +2 -2
- package/dist/model/ObjectStorageRegionsEnum.js +1 -1
- package/dist/model/OrganizationFields.js +2 -2
- package/dist/model/OrganizationLevelBillingHistory.js +2 -2
- package/dist/model/OrganizationLevelBillingHistoryResources.js +2 -2
- package/dist/model/OrganizationLevelBillingHistoryResponseAttributes.js +2 -2
- package/dist/model/OrganizationLevelBillingHistoryResponseMetrics.js +2 -2
- package/dist/model/OrganizationLevelBillingHistoryResponseModel.js +2 -2
- package/dist/model/OrganizationThresholdFields.js +2 -2
- package/dist/model/OrganizationThresholdUpdateResponse.js +2 -2
- package/dist/model/OrganizationThresholdsResponse.js +2 -2
- package/dist/model/OrganizationUserResponseModel.js +2 -2
- package/dist/model/OverviewInfo.js +2 -2
- package/dist/model/Pagination.js +2 -2
- package/dist/model/PaginationData.js +2 -2
- package/dist/model/PartnerConfig.js +2 -2
- package/dist/model/PaymentDetailsFields.js +2 -2
- package/dist/model/PaymentDetailsResponse.js +2 -2
- package/dist/model/PaymentInitiateFields.js +2 -2
- package/dist/model/PaymentInitiatePayload.js +2 -2
- package/dist/model/PaymentInitiateResponse.js +2 -2
- package/dist/model/PaymentReceiptResponse.js +109 -0
- package/dist/model/PermissionFields.js +2 -2
- package/dist/model/PolicyFields.js +2 -2
- package/dist/model/PolicyPermissionFields.js +2 -2
- package/dist/model/PricebookModel.js +2 -2
- package/dist/model/PricebookResourceObjectResponseForCustomer.js +2 -2
- package/dist/model/PrimaryColor.js +2 -2
- package/dist/model/ProfileFields.js +2 -2
- package/dist/model/ProfileListResponse.js +2 -2
- package/dist/model/ProfileObjectFields.js +2 -2
- package/dist/model/RbacRoleDetailResponseModel.js +2 -2
- package/dist/model/RbacRoleDetailResponseModelFixed.js +2 -2
- package/dist/model/RbacRoleField.js +2 -2
- package/dist/model/RbacRoleFields.js +2 -2
- package/dist/model/RecordConsentRequest.js +2 -2
- package/dist/model/RedeemVoucherPayload.js +2 -2
- package/dist/model/RegionFields.js +2 -2
- package/dist/model/Regions.js +2 -2
- package/dist/model/RemoveMemberFromOrganizationResponseModel.js +2 -2
- package/dist/model/RemoveMemberPayload.js +2 -2
- package/dist/model/RequestConsole.js +2 -2
- package/dist/model/RequestInstanceLogsPayload.js +2 -2
- package/dist/model/RequestInstanceLogsResponse.js +2 -2
- package/dist/model/ResourceBillingEventsHistoryMetrics.js +2 -2
- package/dist/model/ResourceBillingEventsHistoryResponse.js +2 -2
- package/dist/model/ResourceBillingResponseForCustomer.js +2 -2
- package/dist/model/ResourceLevelBillingBucketDetailsResources.js +2 -2
- package/dist/model/ResourceLevelBillingDetailsAttributes.js +2 -2
- package/dist/model/ResourceLevelBillingDetailsMetrics.js +2 -2
- package/dist/model/ResourceLevelBillingDetailsVM.js +2 -2
- package/dist/model/ResourceLevelBillingDetailsVolume.js +2 -2
- package/dist/model/ResourceLevelBillingDetailsVolumeAttributes.js +2 -2
- package/dist/model/ResourceLevelBillingDetailsVolumeMetrics.js +2 -2
- package/dist/model/ResourceLevelBillingHistory.js +2 -2
- package/dist/model/ResourceLevelBillingHistoryResources.js +2 -2
- package/dist/model/ResourceLevelBillingHistoryResourcesCluster.js +2 -2
- package/dist/model/ResourceLevelBillingHistoryResponseAttributes.js +2 -2
- package/dist/model/ResourceLevelBillingHistoryResponseMetrics.js +2 -2
- package/dist/model/ResourceLevelBillingVMDetailsResources.js +2 -2
- package/dist/model/ResourceLevelBillingVolumeDetailsResources.js +2 -2
- package/dist/model/ResourceLevelBucketBillingDetailsResponseModel.js +2 -2
- package/dist/model/ResourceLevelBucketBillingHistoryResponseModel.js +2 -2
- package/dist/model/ResourceLevelClusterBillingDetailsResponseModel.js +2 -2
- package/dist/model/ResourceLevelClusterBillingHistoryResponseModel.js +2 -2
- package/dist/model/ResourceLevelClusterGraphBillingDetailsResponseModel.js +2 -2
- package/dist/model/ResourceLevelGraphBillingDetailVolume.js +2 -2
- package/dist/model/ResourceLevelGraphBillingDetailsAttributes.js +2 -2
- package/dist/model/ResourceLevelGraphBillingDetailsBucket.js +2 -2
- package/dist/model/ResourceLevelGraphBillingDetailsMetrics.js +2 -2
- package/dist/model/ResourceLevelGraphBillingDetailsVM.js +2 -2
- package/dist/model/ResourceLevelGraphBillingVMDetailsResources.js +2 -2
- package/dist/model/ResourceLevelGraphBillingVolumeDetailsResources.js +2 -2
- package/dist/model/ResourceLevelVMBillingDetailsResponseModel.js +2 -2
- package/dist/model/ResourceLevelVmBillingHistoryResponseModel.js +2 -2
- package/dist/model/ResourceLevelVmGraphBillingDetailsResponseModel.js +2 -2
- package/dist/model/ResourceLevelVolumeBillingDetailsResponseModel.js +2 -2
- package/dist/model/ResourceLevelVolumeBillingHistoryResponseModel.js +2 -2
- package/dist/model/ResourceLevelVolumeGraphBillingDetailsResponseModel.js +2 -2
- package/dist/model/ResourceObjectResponseForCustomer.js +2 -2
- package/dist/model/ResponseModel.js +2 -2
- package/dist/model/RolePermissionFields.js +2 -2
- package/dist/model/RolePolicyFields.js +2 -2
- package/dist/model/SecondaryColor.js +2 -2
- package/dist/model/SecurityGroupRule.js +2 -2
- package/dist/model/SecurityGroupRuleFields.js +2 -2
- package/dist/model/SecurityRulesFieldsForInstance.js +2 -2
- package/dist/model/SecurityRulesProtocolFields.js +2 -2
- package/dist/model/ServerlessInferencedBillingHistoryDetailsResponseSchema.js +2 -2
- package/dist/model/SnapshotFields.js +2 -2
- package/dist/model/SnapshotRestoreRequest.js +2 -2
- package/dist/model/SnapshotRetrieve.js +2 -2
- package/dist/model/SnapshotRetrieveFields.js +2 -2
- package/dist/model/Snapshots.js +2 -2
- package/dist/model/SubResourceGraphBillingDetailsMetrics.js +2 -2
- package/dist/model/SubResourcesCostsResponseModel.js +2 -2
- package/dist/model/SubResourcesGraphBillingHistoryFields.js +2 -2
- package/dist/model/SubResourcesGraphResponseModel.js +2 -2
- package/dist/model/SubscribeOrUnsubscribeUpdatePayload.js +2 -2
- package/dist/model/SupportedKeypairPublicKeyTypesResponse.js +2 -2
- package/dist/model/TokenBasedBillingHistoryResponse.js +2 -2
- package/dist/model/URIs.js +2 -2
- package/dist/model/UpdateAutoTopupPayload.js +2 -2
- package/dist/model/UpdateAutoTopupResponse.js +2 -2
- package/dist/model/UpdateClusterNodeGroupPayload.js +2 -2
- package/dist/model/UpdateConsentRequest.js +2 -2
- package/dist/model/UpdateEmailPreferenceInput.js +2 -2
- package/dist/model/UpdateEmailPreferenceResponse.js +2 -2
- package/dist/model/UpdateEnvironment.js +2 -2
- package/dist/model/UpdateKeypairName.js +2 -2
- package/dist/model/UpdateKeypairNameResponse.js +2 -2
- package/dist/model/UpdateOrganizationPayload.js +2 -2
- package/dist/model/UpdateOrganizationResponseModel.js +2 -2
- package/dist/model/UpdateVolumeAttachmentPayload.js +2 -2
- package/dist/model/UpdateVolumePayload.js +2 -2
- package/dist/model/UpdateVolumeResponse.js +2 -2
- package/dist/model/UserConsent.js +2 -2
- package/dist/model/UserConsentEvent.js +2 -2
- package/dist/model/UserConsentsResponse.js +2 -2
- package/dist/model/UserDefaultChoiceForUserFields.js +2 -2
- package/dist/model/UserDefaultChoicesForUserResponse.js +2 -2
- package/dist/model/UserEnhancedMetricsPayload.js +2 -2
- package/dist/model/UserEnhancedMetricsResponse.js +2 -2
- package/dist/model/UserEnhancedMetricsResponseFields.js +2 -2
- package/dist/model/UserInfoPostPayload.js +2 -2
- package/dist/model/UserOrganizationsResponse.js +2 -2
- package/dist/model/UserPermissionFields.js +2 -2
- package/dist/model/UsersInfoFields.js +2 -2
- package/dist/model/UsersInfoListResponse.js +2 -2
- package/dist/model/VMQuota.js +2 -2
- package/dist/model/VNCURL.js +2 -2
- package/dist/model/VNCURLFields.js +2 -2
- package/dist/model/Volume.js +2 -2
- package/dist/model/VolumeAttachmentFields.js +2 -2
- package/dist/model/VolumeFields.js +2 -2
- package/dist/model/VolumeFieldsForInstance.js +2 -2
- package/dist/model/VolumeOverviewFields.js +2 -2
- package/dist/model/VolumeTypes.js +2 -2
- package/dist/model/Volumes.js +2 -2
- package/dist/model/VolumesFields.js +2 -2
- package/dist/model/Voucher.js +2 -2
- package/dist/model/VoucherRedeemResponseSchema.js +2 -2
- package/dist/model/WorkloadBillingHistoryResponse.js +2 -2
- package/dist/model/ZendeskMessagingToken.js +110 -0
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
15
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
16
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
-
function _toPrimitive(t,
|
|
18
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
19
19
|
* Infrahub-API
|
|
20
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
21
|
*
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The BillingMetricesResponse model module.
|
|
32
32
|
* @module model/BillingMetricesResponse
|
|
33
|
-
* @version v1.
|
|
33
|
+
* @version v1.56.0-alpha
|
|
34
34
|
*/
|
|
35
35
|
var BillingMetricesResponse = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -15,7 +15,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
15
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
16
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
-
function _toPrimitive(t,
|
|
18
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
19
19
|
* Infrahub-API
|
|
20
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
21
|
*
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The ClusterEvents model module.
|
|
32
32
|
* @module model/ClusterEvents
|
|
33
|
-
* @version v1.
|
|
33
|
+
* @version v1.56.0-alpha
|
|
34
34
|
*/
|
|
35
35
|
var ClusterEvents = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -11,7 +11,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
11
11
|
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); } }
|
|
12
12
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
13
13
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
14
|
-
function _toPrimitive(t,
|
|
14
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
15
15
|
* Infrahub-API
|
|
16
16
|
* 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.
|
|
17
17
|
*
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The ClusterEventsFields model module.
|
|
28
28
|
* @module model/ClusterEventsFields
|
|
29
|
-
* @version v1.
|
|
29
|
+
* @version v1.56.0-alpha
|
|
30
30
|
*/
|
|
31
31
|
var ClusterEventsFields = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -17,7 +17,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
17
17
|
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); } }
|
|
18
18
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
19
19
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
20
|
-
function _toPrimitive(t,
|
|
20
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
21
21
|
* Infrahub-API
|
|
22
22
|
* 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.
|
|
23
23
|
*
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The ClusterFields model module.
|
|
34
34
|
* @module model/ClusterFields
|
|
35
|
-
* @version v1.
|
|
35
|
+
* @version v1.56.0-alpha
|
|
36
36
|
*/
|
|
37
37
|
var ClusterFields = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -74,6 +74,9 @@ var ClusterFields = /*#__PURE__*/function () {
|
|
|
74
74
|
if (data.hasOwnProperty('environment_name')) {
|
|
75
75
|
obj['environment_name'] = _ApiClient["default"].convertToType(data['environment_name'], 'String');
|
|
76
76
|
}
|
|
77
|
+
if (data.hasOwnProperty('has_persistent_storage')) {
|
|
78
|
+
obj['has_persistent_storage'] = _ApiClient["default"].convertToType(data['has_persistent_storage'], 'Boolean');
|
|
79
|
+
}
|
|
77
80
|
if (data.hasOwnProperty('id')) {
|
|
78
81
|
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
|
|
79
82
|
}
|
|
@@ -217,6 +220,11 @@ ClusterFields.prototype['created_at'] = undefined;
|
|
|
217
220
|
*/
|
|
218
221
|
ClusterFields.prototype['environment_name'] = undefined;
|
|
219
222
|
|
|
223
|
+
/**
|
|
224
|
+
* @member {Boolean} has_persistent_storage
|
|
225
|
+
*/
|
|
226
|
+
ClusterFields.prototype['has_persistent_storage'] = undefined;
|
|
227
|
+
|
|
220
228
|
/**
|
|
221
229
|
* @member {Number} id
|
|
222
230
|
*/
|
|
@@ -15,7 +15,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
15
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
16
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
-
function _toPrimitive(t,
|
|
18
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
19
19
|
* Infrahub-API
|
|
20
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
21
|
*
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The ClusterFlavorFields model module.
|
|
32
32
|
* @module model/ClusterFlavorFields
|
|
33
|
-
* @version v1.
|
|
33
|
+
* @version v1.56.0-alpha
|
|
34
34
|
*/
|
|
35
35
|
var ClusterFlavorFields = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -15,7 +15,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
15
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
16
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
-
function _toPrimitive(t,
|
|
18
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
19
19
|
* Infrahub-API
|
|
20
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
21
|
*
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The ClusterListResponse model module.
|
|
32
32
|
* @module model/ClusterListResponse
|
|
33
|
-
* @version v1.
|
|
33
|
+
* @version v1.56.0-alpha
|
|
34
34
|
*/
|
|
35
35
|
var ClusterListResponse = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -12,7 +12,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
12
12
|
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); } }
|
|
13
13
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
14
14
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
15
|
-
function _toPrimitive(t,
|
|
15
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
16
16
|
* Infrahub-API
|
|
17
17
|
* 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.
|
|
18
18
|
*
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* The ClusterNodeFields model module.
|
|
29
29
|
* @module model/ClusterNodeFields
|
|
30
|
-
* @version v1.
|
|
30
|
+
* @version v1.56.0-alpha
|
|
31
31
|
*/
|
|
32
32
|
var ClusterNodeFields = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -16,7 +16,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
16
16
|
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); } }
|
|
17
17
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
18
18
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
19
|
-
function _toPrimitive(t,
|
|
19
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
20
20
|
* Infrahub-API
|
|
21
21
|
* 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.
|
|
22
22
|
*
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The ClusterNodeGroupFields model module.
|
|
33
33
|
* @module model/ClusterNodeGroupFields
|
|
34
|
-
* @version v1.
|
|
34
|
+
* @version v1.56.0-alpha
|
|
35
35
|
*/
|
|
36
36
|
var ClusterNodeGroupFields = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -11,7 +11,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
11
11
|
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); } }
|
|
12
12
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
13
13
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
14
|
-
function _toPrimitive(t,
|
|
14
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
15
15
|
* Infrahub-API
|
|
16
16
|
* 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.
|
|
17
17
|
*
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The ClusterNodeGroupFirewallFields model module.
|
|
28
28
|
* @module model/ClusterNodeGroupFirewallFields
|
|
29
|
-
* @version v1.
|
|
29
|
+
* @version v1.56.0-alpha
|
|
30
30
|
*/
|
|
31
31
|
var ClusterNodeGroupFirewallFields = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -16,7 +16,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
16
16
|
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); } }
|
|
17
17
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
18
18
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
19
|
-
function _toPrimitive(t,
|
|
19
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
20
20
|
* Infrahub-API
|
|
21
21
|
* 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.
|
|
22
22
|
*
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The ClusterNodeGroupsCreateResponse model module.
|
|
33
33
|
* @module model/ClusterNodeGroupsCreateResponse
|
|
34
|
-
* @version v1.
|
|
34
|
+
* @version v1.56.0-alpha
|
|
35
35
|
*/
|
|
36
36
|
var ClusterNodeGroupsCreateResponse = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -12,7 +12,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
12
12
|
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); } }
|
|
13
13
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
14
14
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
15
|
-
function _toPrimitive(t,
|
|
15
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
16
16
|
* Infrahub-API
|
|
17
17
|
* 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.
|
|
18
18
|
*
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* The ClusterNodeGroupsGetResponse model module.
|
|
29
29
|
* @module model/ClusterNodeGroupsGetResponse
|
|
30
|
-
* @version v1.
|
|
30
|
+
* @version v1.56.0-alpha
|
|
31
31
|
*/
|
|
32
32
|
var ClusterNodeGroupsGetResponse = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -15,7 +15,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
15
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
16
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
-
function _toPrimitive(t,
|
|
18
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
19
19
|
* Infrahub-API
|
|
20
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
21
|
*
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The ClusterNodeGroupsListResponse model module.
|
|
32
32
|
* @module model/ClusterNodeGroupsListResponse
|
|
33
|
-
* @version v1.
|
|
33
|
+
* @version v1.56.0-alpha
|
|
34
34
|
*/
|
|
35
35
|
var ClusterNodeGroupsListResponse = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -11,7 +11,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
11
11
|
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); } }
|
|
12
12
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
13
13
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
14
|
-
function _toPrimitive(t,
|
|
14
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
15
15
|
* Infrahub-API
|
|
16
16
|
* 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.
|
|
17
17
|
*
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The ClusterNodeInstanceFields model module.
|
|
28
28
|
* @module model/ClusterNodeInstanceFields
|
|
29
|
-
* @version v1.
|
|
29
|
+
* @version v1.56.0-alpha
|
|
30
30
|
*/
|
|
31
31
|
var ClusterNodeInstanceFields = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -15,7 +15,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
15
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
16
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
-
function _toPrimitive(t,
|
|
18
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
19
19
|
* Infrahub-API
|
|
20
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
21
|
*
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The ClusterNodesListResponse model module.
|
|
32
32
|
* @module model/ClusterNodesListResponse
|
|
33
|
-
* @version v1.
|
|
33
|
+
* @version v1.56.0-alpha
|
|
34
34
|
*/
|
|
35
35
|
var ClusterNodesListResponse = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -12,7 +12,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
12
12
|
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); } }
|
|
13
13
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
14
14
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
15
|
-
function _toPrimitive(t,
|
|
15
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
16
16
|
* Infrahub-API
|
|
17
17
|
* 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.
|
|
18
18
|
*
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* The ClusterResponse model module.
|
|
29
29
|
* @module model/ClusterResponse
|
|
30
|
-
* @version v1.
|
|
30
|
+
* @version v1.56.0-alpha
|
|
31
31
|
*/
|
|
32
32
|
var ClusterResponse = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -0,0 +1,97 @@
|
|
|
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
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
9
|
+
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); }
|
|
10
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
11
|
+
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); } }
|
|
12
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
13
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
14
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
15
|
+
* Infrahub-API
|
|
16
|
+
* 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.
|
|
17
|
+
*
|
|
18
|
+
* The version of the OpenAPI document: 1.0
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
22
|
+
* https://openapi-generator.tech
|
|
23
|
+
* Do not edit the class manually.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* The ClusterRestoreFailedNode model module.
|
|
28
|
+
* @module model/ClusterRestoreFailedNode
|
|
29
|
+
* @version v1.56.0-alpha
|
|
30
|
+
*/
|
|
31
|
+
var ClusterRestoreFailedNode = /*#__PURE__*/function () {
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a new <code>ClusterRestoreFailedNode</code>.
|
|
34
|
+
* @alias module:model/ClusterRestoreFailedNode
|
|
35
|
+
*/
|
|
36
|
+
function ClusterRestoreFailedNode() {
|
|
37
|
+
_classCallCheck(this, ClusterRestoreFailedNode);
|
|
38
|
+
ClusterRestoreFailedNode.initialize(this);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Initializes the fields of this object.
|
|
43
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
44
|
+
* Only for internal use.
|
|
45
|
+
*/
|
|
46
|
+
return _createClass(ClusterRestoreFailedNode, null, [{
|
|
47
|
+
key: "initialize",
|
|
48
|
+
value: function initialize(obj) {}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Constructs a <code>ClusterRestoreFailedNode</code> from a plain JavaScript object, optionally creating a new instance.
|
|
52
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
53
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
54
|
+
* @param {module:model/ClusterRestoreFailedNode} obj Optional instance to populate.
|
|
55
|
+
* @return {module:model/ClusterRestoreFailedNode} The populated <code>ClusterRestoreFailedNode</code> instance.
|
|
56
|
+
*/
|
|
57
|
+
}, {
|
|
58
|
+
key: "constructFromObject",
|
|
59
|
+
value: function constructFromObject(data, obj) {
|
|
60
|
+
if (data) {
|
|
61
|
+
obj = obj || new ClusterRestoreFailedNode();
|
|
62
|
+
if (data.hasOwnProperty('error')) {
|
|
63
|
+
obj['error'] = _ApiClient["default"].convertToType(data['error'], 'String');
|
|
64
|
+
}
|
|
65
|
+
if (data.hasOwnProperty('id')) {
|
|
66
|
+
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
return obj;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Validates the JSON data with respect to <code>ClusterRestoreFailedNode</code>.
|
|
74
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
75
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>ClusterRestoreFailedNode</code>.
|
|
76
|
+
*/
|
|
77
|
+
}, {
|
|
78
|
+
key: "validateJSON",
|
|
79
|
+
value: function validateJSON(data) {
|
|
80
|
+
// ensure the json data is a string
|
|
81
|
+
if (data['error'] && !(typeof data['error'] === 'string' || data['error'] instanceof String)) {
|
|
82
|
+
throw new Error("Expected the field `error` to be a primitive type in the JSON string but got " + data['error']);
|
|
83
|
+
}
|
|
84
|
+
return true;
|
|
85
|
+
}
|
|
86
|
+
}]);
|
|
87
|
+
}();
|
|
88
|
+
/**
|
|
89
|
+
* @member {String} error
|
|
90
|
+
*/
|
|
91
|
+
ClusterRestoreFailedNode.prototype['error'] = undefined;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @member {Number} id
|
|
95
|
+
*/
|
|
96
|
+
ClusterRestoreFailedNode.prototype['id'] = undefined;
|
|
97
|
+
var _default = exports["default"] = ClusterRestoreFailedNode;
|
|
@@ -0,0 +1,142 @@
|
|
|
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 _ClusterRestoreFailedNode = _interopRequireDefault(require("./ClusterRestoreFailedNode"));
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
|
+
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); }
|
|
11
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
12
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
13
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
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, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? 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
|
+
* The ClusterRestoreResponse model module.
|
|
32
|
+
* @module model/ClusterRestoreResponse
|
|
33
|
+
* @version v1.56.0-alpha
|
|
34
|
+
*/
|
|
35
|
+
var ClusterRestoreResponse = /*#__PURE__*/function () {
|
|
36
|
+
/**
|
|
37
|
+
* Constructs a new <code>ClusterRestoreResponse</code>.
|
|
38
|
+
* @alias module:model/ClusterRestoreResponse
|
|
39
|
+
*/
|
|
40
|
+
function ClusterRestoreResponse() {
|
|
41
|
+
_classCallCheck(this, ClusterRestoreResponse);
|
|
42
|
+
ClusterRestoreResponse.initialize(this);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Initializes the fields of this object.
|
|
47
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
48
|
+
* Only for internal use.
|
|
49
|
+
*/
|
|
50
|
+
return _createClass(ClusterRestoreResponse, null, [{
|
|
51
|
+
key: "initialize",
|
|
52
|
+
value: function initialize(obj) {}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Constructs a <code>ClusterRestoreResponse</code> from a plain JavaScript object, optionally creating a new instance.
|
|
56
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
57
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
58
|
+
* @param {module:model/ClusterRestoreResponse} obj Optional instance to populate.
|
|
59
|
+
* @return {module:model/ClusterRestoreResponse} The populated <code>ClusterRestoreResponse</code> instance.
|
|
60
|
+
*/
|
|
61
|
+
}, {
|
|
62
|
+
key: "constructFromObject",
|
|
63
|
+
value: function constructFromObject(data, obj) {
|
|
64
|
+
if (data) {
|
|
65
|
+
obj = obj || new ClusterRestoreResponse();
|
|
66
|
+
if (data.hasOwnProperty('failed_nodes')) {
|
|
67
|
+
obj['failed_nodes'] = _ApiClient["default"].convertToType(data['failed_nodes'], [_ClusterRestoreFailedNode["default"]]);
|
|
68
|
+
}
|
|
69
|
+
if (data.hasOwnProperty('message')) {
|
|
70
|
+
obj['message'] = _ApiClient["default"].convertToType(data['message'], 'String');
|
|
71
|
+
}
|
|
72
|
+
if (data.hasOwnProperty('restoring_nodes')) {
|
|
73
|
+
obj['restoring_nodes'] = _ApiClient["default"].convertToType(data['restoring_nodes'], ['Number']);
|
|
74
|
+
}
|
|
75
|
+
if (data.hasOwnProperty('status')) {
|
|
76
|
+
obj['status'] = _ApiClient["default"].convertToType(data['status'], 'Boolean');
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
return obj;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Validates the JSON data with respect to <code>ClusterRestoreResponse</code>.
|
|
84
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
85
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>ClusterRestoreResponse</code>.
|
|
86
|
+
*/
|
|
87
|
+
}, {
|
|
88
|
+
key: "validateJSON",
|
|
89
|
+
value: function validateJSON(data) {
|
|
90
|
+
if (data['failed_nodes']) {
|
|
91
|
+
// data not null
|
|
92
|
+
// ensure the json data is an array
|
|
93
|
+
if (!Array.isArray(data['failed_nodes'])) {
|
|
94
|
+
throw new Error("Expected the field `failed_nodes` to be an array in the JSON data but got " + data['failed_nodes']);
|
|
95
|
+
}
|
|
96
|
+
// validate the optional field `failed_nodes` (array)
|
|
97
|
+
var _iterator = _createForOfIteratorHelper(data['failed_nodes']),
|
|
98
|
+
_step;
|
|
99
|
+
try {
|
|
100
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
101
|
+
var item = _step.value;
|
|
102
|
+
_ClusterRestoreFailedNode["default"].validateJSON(item);
|
|
103
|
+
}
|
|
104
|
+
} catch (err) {
|
|
105
|
+
_iterator.e(err);
|
|
106
|
+
} finally {
|
|
107
|
+
_iterator.f();
|
|
108
|
+
}
|
|
109
|
+
;
|
|
110
|
+
}
|
|
111
|
+
// ensure the json data is a string
|
|
112
|
+
if (data['message'] && !(typeof data['message'] === 'string' || data['message'] instanceof String)) {
|
|
113
|
+
throw new Error("Expected the field `message` to be a primitive type in the JSON string but got " + data['message']);
|
|
114
|
+
}
|
|
115
|
+
// ensure the json data is an array
|
|
116
|
+
if (!Array.isArray(data['restoring_nodes'])) {
|
|
117
|
+
throw new Error("Expected the field `restoring_nodes` to be an array in the JSON data but got " + data['restoring_nodes']);
|
|
118
|
+
}
|
|
119
|
+
return true;
|
|
120
|
+
}
|
|
121
|
+
}]);
|
|
122
|
+
}();
|
|
123
|
+
/**
|
|
124
|
+
* @member {Array.<module:model/ClusterRestoreFailedNode>} failed_nodes
|
|
125
|
+
*/
|
|
126
|
+
ClusterRestoreResponse.prototype['failed_nodes'] = undefined;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* @member {String} message
|
|
130
|
+
*/
|
|
131
|
+
ClusterRestoreResponse.prototype['message'] = undefined;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @member {Array.<Number>} restoring_nodes
|
|
135
|
+
*/
|
|
136
|
+
ClusterRestoreResponse.prototype['restoring_nodes'] = undefined;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* @member {Boolean} status
|
|
140
|
+
*/
|
|
141
|
+
ClusterRestoreResponse.prototype['status'] = undefined;
|
|
142
|
+
var _default = exports["default"] = ClusterRestoreResponse;
|
|
@@ -11,7 +11,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
11
11
|
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); } }
|
|
12
12
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
13
13
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
14
|
-
function _toPrimitive(t,
|
|
14
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
15
15
|
* Infrahub-API
|
|
16
16
|
* 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.
|
|
17
17
|
*
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The ClusterVersion model module.
|
|
28
28
|
* @module model/ClusterVersion
|
|
29
|
-
* @version v1.
|
|
29
|
+
* @version v1.56.0-alpha
|
|
30
30
|
*/
|
|
31
31
|
var ClusterVersion = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -15,7 +15,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
15
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
16
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
-
function _toPrimitive(t,
|
|
18
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
19
19
|
* Infrahub-API
|
|
20
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
21
|
*
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The ClusterVersions model module.
|
|
32
32
|
* @module model/ClusterVersions
|
|
33
|
-
* @version v1.
|
|
33
|
+
* @version v1.56.0-alpha
|
|
34
34
|
*/
|
|
35
35
|
var ClusterVersions = /*#__PURE__*/function () {
|
|
36
36
|
/**
|