@nexgencloud/hyperstack-sdk-javascript 1.52.3-alpha → 1.55.1-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 +18 -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 +54 -5
- 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 +84 -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 +12 -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/InstanceEnhancedMetricsFields.js +85 -0
- 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 +15 -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/UserEnhancedMetricsPayload.js +109 -0
- package/dist/model/UserEnhancedMetricsResponse.js +124 -0
- package/dist/model/UserEnhancedMetricsResponseFields.js +85 -0
- 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
|
@@ -0,0 +1,182 @@
|
|
|
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 _EmailCategoryChild = _interopRequireDefault(require("./EmailCategoryChild"));
|
|
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, 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
|
+
* The EmailCategory model module.
|
|
32
|
+
* @module model/EmailCategory
|
|
33
|
+
* @version v1.55.1-alpha
|
|
34
|
+
*/
|
|
35
|
+
var EmailCategory = /*#__PURE__*/function () {
|
|
36
|
+
/**
|
|
37
|
+
* Constructs a new <code>EmailCategory</code>.
|
|
38
|
+
* @alias module:model/EmailCategory
|
|
39
|
+
*/
|
|
40
|
+
function EmailCategory() {
|
|
41
|
+
_classCallCheck(this, EmailCategory);
|
|
42
|
+
EmailCategory.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(EmailCategory, null, [{
|
|
51
|
+
key: "initialize",
|
|
52
|
+
value: function initialize(obj) {}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Constructs a <code>EmailCategory</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/EmailCategory} obj Optional instance to populate.
|
|
59
|
+
* @return {module:model/EmailCategory} The populated <code>EmailCategory</code> instance.
|
|
60
|
+
*/
|
|
61
|
+
}, {
|
|
62
|
+
key: "constructFromObject",
|
|
63
|
+
value: function constructFromObject(data, obj) {
|
|
64
|
+
if (data) {
|
|
65
|
+
obj = obj || new EmailCategory();
|
|
66
|
+
if (data.hasOwnProperty('childs')) {
|
|
67
|
+
obj['childs'] = _ApiClient["default"].convertToType(data['childs'], [_EmailCategoryChild["default"]]);
|
|
68
|
+
}
|
|
69
|
+
if (data.hasOwnProperty('description')) {
|
|
70
|
+
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
|
71
|
+
}
|
|
72
|
+
if (data.hasOwnProperty('display_name')) {
|
|
73
|
+
obj['display_name'] = _ApiClient["default"].convertToType(data['display_name'], 'String');
|
|
74
|
+
}
|
|
75
|
+
if (data.hasOwnProperty('icon')) {
|
|
76
|
+
obj['icon'] = _ApiClient["default"].convertToType(data['icon'], 'String');
|
|
77
|
+
}
|
|
78
|
+
if (data.hasOwnProperty('opted_in')) {
|
|
79
|
+
obj['opted_in'] = _ApiClient["default"].convertToType(data['opted_in'], 'Boolean');
|
|
80
|
+
}
|
|
81
|
+
if (data.hasOwnProperty('position')) {
|
|
82
|
+
obj['position'] = _ApiClient["default"].convertToType(data['position'], 'Number');
|
|
83
|
+
}
|
|
84
|
+
if (data.hasOwnProperty('required')) {
|
|
85
|
+
obj['required'] = _ApiClient["default"].convertToType(data['required'], 'Boolean');
|
|
86
|
+
}
|
|
87
|
+
if (data.hasOwnProperty('slug')) {
|
|
88
|
+
obj['slug'] = _ApiClient["default"].convertToType(data['slug'], 'String');
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
return obj;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Validates the JSON data with respect to <code>EmailCategory</code>.
|
|
96
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
97
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>EmailCategory</code>.
|
|
98
|
+
*/
|
|
99
|
+
}, {
|
|
100
|
+
key: "validateJSON",
|
|
101
|
+
value: function validateJSON(data) {
|
|
102
|
+
if (data['childs']) {
|
|
103
|
+
// data not null
|
|
104
|
+
// ensure the json data is an array
|
|
105
|
+
if (!Array.isArray(data['childs'])) {
|
|
106
|
+
throw new Error("Expected the field `childs` to be an array in the JSON data but got " + data['childs']);
|
|
107
|
+
}
|
|
108
|
+
// validate the optional field `childs` (array)
|
|
109
|
+
var _iterator = _createForOfIteratorHelper(data['childs']),
|
|
110
|
+
_step;
|
|
111
|
+
try {
|
|
112
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
113
|
+
var item = _step.value;
|
|
114
|
+
_EmailCategoryChild["default"].validateJSON(item);
|
|
115
|
+
}
|
|
116
|
+
} catch (err) {
|
|
117
|
+
_iterator.e(err);
|
|
118
|
+
} finally {
|
|
119
|
+
_iterator.f();
|
|
120
|
+
}
|
|
121
|
+
;
|
|
122
|
+
}
|
|
123
|
+
// ensure the json data is a string
|
|
124
|
+
if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
|
|
125
|
+
throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
|
|
126
|
+
}
|
|
127
|
+
// ensure the json data is a string
|
|
128
|
+
if (data['display_name'] && !(typeof data['display_name'] === 'string' || data['display_name'] instanceof String)) {
|
|
129
|
+
throw new Error("Expected the field `display_name` to be a primitive type in the JSON string but got " + data['display_name']);
|
|
130
|
+
}
|
|
131
|
+
// ensure the json data is a string
|
|
132
|
+
if (data['icon'] && !(typeof data['icon'] === 'string' || data['icon'] instanceof String)) {
|
|
133
|
+
throw new Error("Expected the field `icon` to be a primitive type in the JSON string but got " + data['icon']);
|
|
134
|
+
}
|
|
135
|
+
// ensure the json data is a string
|
|
136
|
+
if (data['slug'] && !(typeof data['slug'] === 'string' || data['slug'] instanceof String)) {
|
|
137
|
+
throw new Error("Expected the field `slug` to be a primitive type in the JSON string but got " + data['slug']);
|
|
138
|
+
}
|
|
139
|
+
return true;
|
|
140
|
+
}
|
|
141
|
+
}]);
|
|
142
|
+
}();
|
|
143
|
+
/**
|
|
144
|
+
* @member {Array.<module:model/EmailCategoryChild>} childs
|
|
145
|
+
*/
|
|
146
|
+
EmailCategory.prototype['childs'] = undefined;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* @member {String} description
|
|
150
|
+
*/
|
|
151
|
+
EmailCategory.prototype['description'] = undefined;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* @member {String} display_name
|
|
155
|
+
*/
|
|
156
|
+
EmailCategory.prototype['display_name'] = undefined;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* @member {String} icon
|
|
160
|
+
*/
|
|
161
|
+
EmailCategory.prototype['icon'] = undefined;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* @member {Boolean} opted_in
|
|
165
|
+
*/
|
|
166
|
+
EmailCategory.prototype['opted_in'] = undefined;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* @member {Number} position
|
|
170
|
+
*/
|
|
171
|
+
EmailCategory.prototype['position'] = undefined;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* @member {Boolean} required
|
|
175
|
+
*/
|
|
176
|
+
EmailCategory.prototype['required'] = undefined;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* @member {String} slug
|
|
180
|
+
*/
|
|
181
|
+
EmailCategory.prototype['slug'] = undefined;
|
|
182
|
+
var _default = exports["default"] = EmailCategory;
|
|
@@ -0,0 +1,157 @@
|
|
|
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, 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); } /**
|
|
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 EmailCategoryChild model module.
|
|
28
|
+
* @module model/EmailCategoryChild
|
|
29
|
+
* @version v1.55.1-alpha
|
|
30
|
+
*/
|
|
31
|
+
var EmailCategoryChild = /*#__PURE__*/function () {
|
|
32
|
+
/**
|
|
33
|
+
* Constructs a new <code>EmailCategoryChild</code>.
|
|
34
|
+
* @alias module:model/EmailCategoryChild
|
|
35
|
+
*/
|
|
36
|
+
function EmailCategoryChild() {
|
|
37
|
+
_classCallCheck(this, EmailCategoryChild);
|
|
38
|
+
EmailCategoryChild.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(EmailCategoryChild, null, [{
|
|
47
|
+
key: "initialize",
|
|
48
|
+
value: function initialize(obj) {}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Constructs a <code>EmailCategoryChild</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/EmailCategoryChild} obj Optional instance to populate.
|
|
55
|
+
* @return {module:model/EmailCategoryChild} The populated <code>EmailCategoryChild</code> instance.
|
|
56
|
+
*/
|
|
57
|
+
}, {
|
|
58
|
+
key: "constructFromObject",
|
|
59
|
+
value: function constructFromObject(data, obj) {
|
|
60
|
+
if (data) {
|
|
61
|
+
obj = obj || new EmailCategoryChild();
|
|
62
|
+
if (data.hasOwnProperty('description')) {
|
|
63
|
+
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
|
64
|
+
}
|
|
65
|
+
if (data.hasOwnProperty('display_name')) {
|
|
66
|
+
obj['display_name'] = _ApiClient["default"].convertToType(data['display_name'], 'String');
|
|
67
|
+
}
|
|
68
|
+
if (data.hasOwnProperty('email_category_id')) {
|
|
69
|
+
obj['email_category_id'] = _ApiClient["default"].convertToType(data['email_category_id'], 'Number');
|
|
70
|
+
}
|
|
71
|
+
if (data.hasOwnProperty('icon')) {
|
|
72
|
+
obj['icon'] = _ApiClient["default"].convertToType(data['icon'], 'String');
|
|
73
|
+
}
|
|
74
|
+
if (data.hasOwnProperty('opted_in')) {
|
|
75
|
+
obj['opted_in'] = _ApiClient["default"].convertToType(data['opted_in'], 'Boolean');
|
|
76
|
+
}
|
|
77
|
+
if (data.hasOwnProperty('position')) {
|
|
78
|
+
obj['position'] = _ApiClient["default"].convertToType(data['position'], 'Number');
|
|
79
|
+
}
|
|
80
|
+
if (data.hasOwnProperty('required')) {
|
|
81
|
+
obj['required'] = _ApiClient["default"].convertToType(data['required'], 'Boolean');
|
|
82
|
+
}
|
|
83
|
+
if (data.hasOwnProperty('slug')) {
|
|
84
|
+
obj['slug'] = _ApiClient["default"].convertToType(data['slug'], 'String');
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
return obj;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Validates the JSON data with respect to <code>EmailCategoryChild</code>.
|
|
92
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
93
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>EmailCategoryChild</code>.
|
|
94
|
+
*/
|
|
95
|
+
}, {
|
|
96
|
+
key: "validateJSON",
|
|
97
|
+
value: function validateJSON(data) {
|
|
98
|
+
// ensure the json data is a string
|
|
99
|
+
if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
|
|
100
|
+
throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
|
|
101
|
+
}
|
|
102
|
+
// ensure the json data is a string
|
|
103
|
+
if (data['display_name'] && !(typeof data['display_name'] === 'string' || data['display_name'] instanceof String)) {
|
|
104
|
+
throw new Error("Expected the field `display_name` to be a primitive type in the JSON string but got " + data['display_name']);
|
|
105
|
+
}
|
|
106
|
+
// ensure the json data is a string
|
|
107
|
+
if (data['icon'] && !(typeof data['icon'] === 'string' || data['icon'] instanceof String)) {
|
|
108
|
+
throw new Error("Expected the field `icon` to be a primitive type in the JSON string but got " + data['icon']);
|
|
109
|
+
}
|
|
110
|
+
// ensure the json data is a string
|
|
111
|
+
if (data['slug'] && !(typeof data['slug'] === 'string' || data['slug'] instanceof String)) {
|
|
112
|
+
throw new Error("Expected the field `slug` to be a primitive type in the JSON string but got " + data['slug']);
|
|
113
|
+
}
|
|
114
|
+
return true;
|
|
115
|
+
}
|
|
116
|
+
}]);
|
|
117
|
+
}();
|
|
118
|
+
/**
|
|
119
|
+
* @member {String} description
|
|
120
|
+
*/
|
|
121
|
+
EmailCategoryChild.prototype['description'] = undefined;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* @member {String} display_name
|
|
125
|
+
*/
|
|
126
|
+
EmailCategoryChild.prototype['display_name'] = undefined;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* @member {Number} email_category_id
|
|
130
|
+
*/
|
|
131
|
+
EmailCategoryChild.prototype['email_category_id'] = undefined;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @member {String} icon
|
|
135
|
+
*/
|
|
136
|
+
EmailCategoryChild.prototype['icon'] = undefined;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* @member {Boolean} opted_in
|
|
140
|
+
*/
|
|
141
|
+
EmailCategoryChild.prototype['opted_in'] = undefined;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* @member {Number} position
|
|
145
|
+
*/
|
|
146
|
+
EmailCategoryChild.prototype['position'] = undefined;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* @member {Boolean} required
|
|
150
|
+
*/
|
|
151
|
+
EmailCategoryChild.prototype['required'] = undefined;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* @member {String} slug
|
|
155
|
+
*/
|
|
156
|
+
EmailCategoryChild.prototype['slug'] = undefined;
|
|
157
|
+
var _default = exports["default"] = EmailCategoryChild;
|
|
@@ -0,0 +1,110 @@
|
|
|
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 _EmailCategory = _interopRequireDefault(require("./EmailCategory"));
|
|
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, 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
|
+
* The EmailPreferencesResponse model module.
|
|
32
|
+
* @module model/EmailPreferencesResponse
|
|
33
|
+
* @version v1.55.1-alpha
|
|
34
|
+
*/
|
|
35
|
+
var EmailPreferencesResponse = /*#__PURE__*/function () {
|
|
36
|
+
/**
|
|
37
|
+
* Constructs a new <code>EmailPreferencesResponse</code>.
|
|
38
|
+
* @alias module:model/EmailPreferencesResponse
|
|
39
|
+
*/
|
|
40
|
+
function EmailPreferencesResponse() {
|
|
41
|
+
_classCallCheck(this, EmailPreferencesResponse);
|
|
42
|
+
EmailPreferencesResponse.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(EmailPreferencesResponse, null, [{
|
|
51
|
+
key: "initialize",
|
|
52
|
+
value: function initialize(obj) {}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Constructs a <code>EmailPreferencesResponse</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/EmailPreferencesResponse} obj Optional instance to populate.
|
|
59
|
+
* @return {module:model/EmailPreferencesResponse} The populated <code>EmailPreferencesResponse</code> instance.
|
|
60
|
+
*/
|
|
61
|
+
}, {
|
|
62
|
+
key: "constructFromObject",
|
|
63
|
+
value: function constructFromObject(data, obj) {
|
|
64
|
+
if (data) {
|
|
65
|
+
obj = obj || new EmailPreferencesResponse();
|
|
66
|
+
if (data.hasOwnProperty('email_categories')) {
|
|
67
|
+
obj['email_categories'] = _ApiClient["default"].convertToType(data['email_categories'], [_EmailCategory["default"]]);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
return obj;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Validates the JSON data with respect to <code>EmailPreferencesResponse</code>.
|
|
75
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
76
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>EmailPreferencesResponse</code>.
|
|
77
|
+
*/
|
|
78
|
+
}, {
|
|
79
|
+
key: "validateJSON",
|
|
80
|
+
value: function validateJSON(data) {
|
|
81
|
+
if (data['email_categories']) {
|
|
82
|
+
// data not null
|
|
83
|
+
// ensure the json data is an array
|
|
84
|
+
if (!Array.isArray(data['email_categories'])) {
|
|
85
|
+
throw new Error("Expected the field `email_categories` to be an array in the JSON data but got " + data['email_categories']);
|
|
86
|
+
}
|
|
87
|
+
// validate the optional field `email_categories` (array)
|
|
88
|
+
var _iterator = _createForOfIteratorHelper(data['email_categories']),
|
|
89
|
+
_step;
|
|
90
|
+
try {
|
|
91
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
92
|
+
var item = _step.value;
|
|
93
|
+
_EmailCategory["default"].validateJSON(item);
|
|
94
|
+
}
|
|
95
|
+
} catch (err) {
|
|
96
|
+
_iterator.e(err);
|
|
97
|
+
} finally {
|
|
98
|
+
_iterator.f();
|
|
99
|
+
}
|
|
100
|
+
;
|
|
101
|
+
}
|
|
102
|
+
return true;
|
|
103
|
+
}
|
|
104
|
+
}]);
|
|
105
|
+
}();
|
|
106
|
+
/**
|
|
107
|
+
* @member {Array.<module:model/EmailCategory>} email_categories
|
|
108
|
+
*/
|
|
109
|
+
EmailPreferencesResponse.prototype['email_categories'] = undefined;
|
|
110
|
+
var _default = exports["default"] = EmailPreferencesResponse;
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* The Environment model module.
|
|
29
29
|
* @module model/Environment
|
|
30
|
-
* @version v1.
|
|
30
|
+
* @version v1.55.1-alpha
|
|
31
31
|
*/
|
|
32
32
|
var Environment = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The EnvironmentFeatures model module.
|
|
28
28
|
* @module model/EnvironmentFeatures
|
|
29
|
-
* @version v1.
|
|
29
|
+
* @version v1.55.1-alpha
|
|
30
30
|
*/
|
|
31
31
|
var EnvironmentFeatures = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* The EnvironmentFields model module.
|
|
29
29
|
* @module model/EnvironmentFields
|
|
30
|
-
* @version v1.
|
|
30
|
+
* @version v1.55.1-alpha
|
|
31
31
|
*/
|
|
32
32
|
var EnvironmentFields = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The EnvironmentFieldsForVolume model module.
|
|
28
28
|
* @module model/EnvironmentFieldsForVolume
|
|
29
|
-
* @version v1.
|
|
29
|
+
* @version v1.55.1-alpha
|
|
30
30
|
*/
|
|
31
31
|
var EnvironmentFieldsForVolume = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The Environments model module.
|
|
32
32
|
* @module model/Environments
|
|
33
|
-
* @version v1.
|
|
33
|
+
* @version v1.55.1-alpha
|
|
34
34
|
*/
|
|
35
35
|
var Environments = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The ErrorResponseModel model module.
|
|
28
28
|
* @module model/ErrorResponseModel
|
|
29
|
-
* @version v1.
|
|
29
|
+
* @version v1.55.1-alpha
|
|
30
30
|
*/
|
|
31
31
|
var ErrorResponseModel = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* The FirewallAttachmentModel model module.
|
|
29
29
|
* @module model/FirewallAttachmentModel
|
|
30
|
-
* @version v1.
|
|
30
|
+
* @version v1.55.1-alpha
|
|
31
31
|
*/
|
|
32
32
|
var FirewallAttachmentModel = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The FirewallAttachmentVMModel model module.
|
|
28
28
|
* @module model/FirewallAttachmentVMModel
|
|
29
|
-
* @version v1.
|
|
29
|
+
* @version v1.55.1-alpha
|
|
30
30
|
*/
|
|
31
31
|
var FirewallAttachmentVMModel = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The FirewallDetailFields model module.
|
|
34
34
|
* @module model/FirewallDetailFields
|
|
35
|
-
* @version v1.
|
|
35
|
+
* @version v1.55.1-alpha
|
|
36
36
|
*/
|
|
37
37
|
var FirewallDetailFields = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* The FirewallDetailResponse model module.
|
|
29
29
|
* @module model/FirewallDetailResponse
|
|
30
|
-
* @version v1.
|
|
30
|
+
* @version v1.55.1-alpha
|
|
31
31
|
*/
|
|
32
32
|
var FirewallDetailResponse = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The FirewallEnvironmentFields model module.
|
|
28
28
|
* @module model/FirewallEnvironmentFields
|
|
29
|
-
* @version v1.
|
|
29
|
+
* @version v1.55.1-alpha
|
|
30
30
|
*/
|
|
31
31
|
var FirewallEnvironmentFields = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* The FirewallFields model module.
|
|
29
29
|
* @module model/FirewallFields
|
|
30
|
-
* @version v1.
|
|
30
|
+
* @version v1.55.1-alpha
|
|
31
31
|
*/
|
|
32
32
|
var FirewallFields = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* The FirewallResponse model module.
|
|
29
29
|
* @module model/FirewallResponse
|
|
30
|
-
* @version v1.
|
|
30
|
+
* @version v1.55.1-alpha
|
|
31
31
|
*/
|
|
32
32
|
var FirewallResponse = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* The FirewallRule model module.
|
|
29
29
|
* @module model/FirewallRule
|
|
30
|
-
* @version v1.
|
|
30
|
+
* @version v1.55.1-alpha
|
|
31
31
|
*/
|
|
32
32
|
var FirewallRule = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The FirewallsListResponse model module.
|
|
32
32
|
* @module model/FirewallsListResponse
|
|
33
|
-
* @version v1.
|
|
33
|
+
* @version v1.55.1-alpha
|
|
34
34
|
*/
|
|
35
35
|
var FirewallsListResponse = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The FlavorFields model module.
|
|
32
32
|
* @module model/FlavorFields
|
|
33
|
-
* @version v1.
|
|
33
|
+
* @version v1.55.1-alpha
|
|
34
34
|
*/
|
|
35
35
|
var FlavorFields = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The FlavorItemGetResponse model module.
|
|
32
32
|
* @module model/FlavorItemGetResponse
|
|
33
|
-
* @version v1.
|
|
33
|
+
* @version v1.55.1-alpha
|
|
34
34
|
*/
|
|
35
35
|
var FlavorItemGetResponse = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The FlavorLabelFields model module.
|
|
28
28
|
* @module model/FlavorLabelFields
|
|
29
|
-
* @version v1.
|
|
29
|
+
* @version v1.55.1-alpha
|
|
30
30
|
*/
|
|
31
31
|
var FlavorLabelFields = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The FlavorListResponse model module.
|
|
32
32
|
* @module model/FlavorListResponse
|
|
33
|
-
* @version v1.
|
|
33
|
+
* @version v1.55.1-alpha
|
|
34
34
|
*/
|
|
35
35
|
var FlavorListResponse = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The FlavorObjectFields model module.
|
|
28
28
|
* @module model/FlavorObjectFields
|
|
29
|
-
* @version v1.
|
|
29
|
+
* @version v1.55.1-alpha
|
|
30
30
|
*/
|
|
31
31
|
var FlavorObjectFields = /*#__PURE__*/function () {
|
|
32
32
|
/**
|