@nutanix-scratch/licensing-js-client 4.0.1 → 4.1.1
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 +19 -18
- package/dist/Ntnx-Licensing-js-client-prod.js +1 -1
- package/dist/Ntnx-Licensing-js-client.js +126 -148
- package/dist/es/ApiClient.d.ts +7 -1
- package/dist/es/ApiClient.js +16 -25
- package/dist/es/Paginable.d.ts +1 -1
- package/dist/es/Paginable.js +3 -3
- package/dist/es/apis/enduserlicenseagreement-endpoints.d.ts +1 -1
- package/dist/es/apis/enduserlicenseagreement-endpoints.js +5 -5
- package/dist/es/apis/licensekeys-endpoints.d.ts +4 -20
- package/dist/es/apis/licensekeys-endpoints.js +13 -27
- package/dist/es/apis/licenses-endpoints.d.ts +15 -101
- package/dist/es/apis/licenses-endpoints.js +36 -112
- package/dist/es/index.d.ts +3 -7
- package/dist/es/index.js +8 -24
- package/dist/es/models/common/v1/config/Flag.d.ts +1 -1
- package/dist/es/models/common/v1/config/Flag.js +3 -3
- package/dist/es/models/common/v1/config/KVPair.d.ts +1 -1
- package/dist/es/models/common/v1/config/KVPair.js +3 -3
- package/dist/es/models/common/v1/config/MapOfStringWrapper.d.ts +1 -1
- package/dist/es/models/common/v1/config/MapOfStringWrapper.js +3 -3
- package/dist/es/models/common/v1/config/Message.d.ts +1 -1
- package/dist/es/models/common/v1/config/Message.js +3 -3
- package/dist/es/models/common/v1/config/MessageSeverity.js +2 -2
- package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +4 -4
- package/dist/es/models/common/v1/config/TenantAwareModel.js +7 -7
- package/dist/es/models/common/v1/response/ApiLink.d.ts +1 -1
- package/dist/es/models/common/v1/response/ApiLink.js +3 -3
- package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +1 -1
- package/dist/es/models/common/v1/response/ApiResponseMetadata.js +3 -3
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -1
- package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +4 -4
- package/dist/es/models/licensing/v4/agreements/Acceptance.d.ts +1 -1
- package/dist/es/models/licensing/v4/agreements/Acceptance.js +4 -4
- package/dist/es/models/licensing/v4/agreements/AddUserApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/agreements/AddUserApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/agreements/EndUser.d.ts +1 -1
- package/dist/es/models/licensing/v4/agreements/EndUser.js +4 -4
- package/dist/es/models/licensing/v4/agreements/Eula.d.ts +1 -1
- package/dist/es/models/licensing/v4/agreements/Eula.js +5 -5
- package/dist/es/models/licensing/v4/agreements/GetEulaApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/agreements/GetEulaApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/AddLicenseKeyApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/AddLicenseKeyApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/AddLicenseKeyDryRunApiResponse.d.ts +4 -3
- package/dist/es/models/licensing/v4/config/AddLicenseKeyDryRunApiResponse.js +4 -4
- package/dist/es/models/licensing/v4/config/Allowance.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/Allowance.js +5 -5
- package/dist/es/models/licensing/v4/config/AllowanceDetail.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/AllowanceDetail.js +4 -4
- package/dist/es/models/licensing/v4/config/AllowanceDetailProjection.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/AllowanceDetailProjection.js +4 -4
- package/dist/es/models/licensing/v4/config/AllowanceProjection.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/AllowanceProjection.js +5 -5
- package/dist/es/models/licensing/v4/config/AssignLicenseKeysApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/AssignLicenseKeysApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/BaseClusterInfo.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/BaseClusterInfo.js +5 -5
- package/dist/es/models/licensing/v4/config/BaseLicenseInfo.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/BaseLicenseInfo.js +5 -5
- package/dist/es/models/licensing/v4/config/BillingPlan.js +2 -2
- package/dist/es/models/licensing/v4/config/CapacityViolation.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/CapacityViolation.js +4 -4
- package/dist/es/models/licensing/v4/config/ClusterLicenseKeyMapping.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ClusterLicenseKeyMapping.js +4 -4
- package/dist/es/models/licensing/v4/config/ClusterLicenseKeyMappingProjection.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ClusterLicenseKeyMappingProjection.js +4 -4
- package/dist/es/models/licensing/v4/config/ClusterType.js +2 -2
- package/dist/es/models/licensing/v4/config/Compliance.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/Compliance.js +5 -5
- package/dist/es/models/licensing/v4/config/ComplianceProjection.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ComplianceProjection.js +5 -5
- package/dist/es/models/licensing/v4/config/Consumption.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/Consumption.js +4 -4
- package/dist/es/models/licensing/v4/config/ConsumptionProjection.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ConsumptionProjection.js +4 -4
- package/dist/es/models/licensing/v4/config/ConsumptionType.js +2 -2
- package/dist/es/models/licensing/v4/config/DeleteLicenseKeyApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/DeleteLicenseKeyApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/DryRunCheck.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/DryRunCheck.js +7 -4
- package/dist/es/models/licensing/v4/config/DryRunStatus.js +2 -2
- package/dist/es/models/licensing/v4/config/DryRunValidationResult.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/DryRunValidationResult.js +4 -4
- package/dist/es/models/licensing/v4/config/EnforcementActions.js +2 -2
- package/dist/es/models/licensing/v4/config/EnforcementLevel.js +2 -2
- package/dist/es/models/licensing/v4/config/EnforcementPolicy.js +2 -2
- package/dist/es/models/licensing/v4/config/Entitlement.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/Entitlement.js +5 -5
- package/dist/es/models/licensing/v4/config/EntitlementDetail.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/EntitlementDetail.js +4 -4
- package/dist/es/models/licensing/v4/config/EntitlementDetailProjection.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/EntitlementDetailProjection.js +4 -4
- package/dist/es/models/licensing/v4/config/EntitlementProjection.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/EntitlementProjection.js +5 -5
- package/dist/es/models/licensing/v4/config/ExpiredLicense.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ExpiredLicense.js +5 -5
- package/dist/es/models/licensing/v4/config/Feature.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/Feature.js +5 -5
- package/dist/es/models/licensing/v4/config/FeatureDetail.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/FeatureDetail.js +4 -4
- package/dist/es/models/licensing/v4/config/FeatureProjection.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/FeatureProjection.js +4 -4
- package/dist/es/models/licensing/v4/config/FeatureViolation.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/FeatureViolation.js +4 -4
- package/dist/es/models/licensing/v4/config/GetLicenseKeyApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/GetLicenseKeyApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/License.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/License.js +5 -5
- package/dist/es/models/licensing/v4/config/LicenseCategory.js +2 -2
- package/dist/es/models/licensing/v4/config/LicenseClass.js +2 -2
- package/dist/es/models/licensing/v4/config/LicenseKey.d.ts +27 -16
- package/dist/es/models/licensing/v4/config/LicenseKey.js +82 -52
- package/dist/es/models/licensing/v4/config/LicenseKeyAssignSpec.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/LicenseKeyAssignSpec.js +4 -4
- package/dist/es/models/licensing/v4/config/LicenseKeyMapping.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/LicenseKeyMapping.js +4 -4
- package/dist/es/models/licensing/v4/config/LicenseKeyProjection.d.ts +4 -3
- package/dist/es/models/licensing/v4/config/LicenseKeyProjection.js +24 -15
- package/dist/es/models/licensing/v4/config/LicenseKeySubCategory.d.ts +19 -0
- package/dist/es/models/licensing/v4/config/LicenseKeySubCategory.js +85 -0
- package/dist/es/models/licensing/v4/config/LicenseProjection.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/LicenseProjection.js +5 -5
- package/dist/es/models/licensing/v4/config/LicenseStateSyncSpec.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/LicenseStateSyncSpec.js +4 -4
- package/dist/es/models/licensing/v4/config/LicenseType.js +10 -4
- package/dist/es/models/licensing/v4/config/ListAllowancesApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ListAllowancesApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/ListCompliancesApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ListCompliancesApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/ListEntitlementsApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ListEntitlementsApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/ListFeaturesApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ListFeaturesApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/ListLicenseKeysApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ListLicenseKeysApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/ListLicensesApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ListLicensesApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/ListRecommendationsApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ListRecommendationsApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/ListSettingsApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ListSettingsApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/ListViolationsApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ListViolationsApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/LogicalVersion.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/LogicalVersion.js +4 -4
- package/dist/es/models/licensing/v4/config/Meter.js +10 -4
- package/dist/es/models/licensing/v4/config/OperationType.js +2 -2
- package/dist/es/models/licensing/v4/config/PortalSetting.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/PortalSetting.js +4 -4
- package/dist/es/models/licensing/v4/config/PostPaidCategory.js +2 -2
- package/dist/es/models/licensing/v4/config/PostPaidConfig.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/PostPaidConfig.js +4 -4
- package/dist/es/models/licensing/v4/config/ProductName.js +2 -2
- package/dist/es/models/licensing/v4/config/Recommendation.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/Recommendation.js +5 -5
- package/dist/es/models/licensing/v4/config/RecommendationDetail.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/RecommendationDetail.js +4 -4
- package/dist/es/models/licensing/v4/config/RecommendationScope.js +2 -2
- package/dist/es/models/licensing/v4/config/ResetScope.js +2 -2
- package/dist/es/models/licensing/v4/config/Scope.js +2 -2
- package/dist/es/models/licensing/v4/config/Service.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/Service.js +4 -4
- package/dist/es/models/licensing/v4/config/ServiceProjection.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ServiceProjection.js +4 -4
- package/dist/es/models/licensing/v4/config/ServiceViolation.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/ServiceViolation.js +4 -4
- package/dist/es/models/licensing/v4/config/ServiceViolationType.js +2 -2
- package/dist/es/models/licensing/v4/config/Setting.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/Setting.js +5 -5
- package/dist/es/models/licensing/v4/config/Status.js +2 -2
- package/dist/es/models/licensing/v4/config/SubCategory.js +2 -2
- package/dist/es/models/licensing/v4/config/SyncLicenseStateApiResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/SyncLicenseStateApiResponse.js +5 -5
- package/dist/es/models/licensing/v4/config/SyncOperationType.js +2 -2
- package/dist/es/models/licensing/v4/config/ValueType.js +2 -2
- package/dist/es/models/licensing/v4/config/Violation.d.ts +1 -1
- package/dist/es/models/licensing/v4/config/Violation.js +5 -5
- package/dist/es/models/licensing/v4/error/AppMessage.d.ts +4 -4
- package/dist/es/models/licensing/v4/error/AppMessage.js +8 -8
- package/dist/es/models/licensing/v4/error/ErrorResponse.d.ts +1 -1
- package/dist/es/models/licensing/v4/error/ErrorResponse.js +5 -8
- package/dist/es/models/licensing/v4/error/SchemaValidationError.d.ts +1 -1
- package/dist/es/models/licensing/v4/error/SchemaValidationError.js +4 -4
- package/dist/es/models/licensing/v4/error/SchemaValidationErrorMessage.d.ts +1 -1
- package/dist/es/models/licensing/v4/error/SchemaValidationErrorMessage.js +4 -4
- package/dist/es/models/prism/v4/config/TaskReference.d.ts +4 -4
- package/dist/es/models/prism/v4/config/TaskReference.js +8 -8
- package/dist/es/models/validation/ValidationError.js +2 -2
- package/dist/es/utils/ValidationUtils.js +2 -2
- package/dist/lib/ApiClient.d.ts +7 -1
- package/dist/lib/ApiClient.js +16 -25
- package/dist/lib/Paginable.d.ts +1 -1
- package/dist/lib/Paginable.js +3 -3
- package/dist/lib/apis/enduserlicenseagreement-endpoints.d.ts +1 -1
- package/dist/lib/apis/enduserlicenseagreement-endpoints.js +5 -5
- package/dist/lib/apis/licensekeys-endpoints.d.ts +4 -20
- package/dist/lib/apis/licensekeys-endpoints.js +13 -27
- package/dist/lib/apis/licenses-endpoints.d.ts +15 -101
- package/dist/lib/apis/licenses-endpoints.js +36 -112
- package/dist/lib/index.d.ts +3 -7
- package/dist/lib/index.js +8 -24
- package/dist/lib/models/common/v1/config/Flag.d.ts +1 -1
- package/dist/lib/models/common/v1/config/Flag.js +3 -3
- package/dist/lib/models/common/v1/config/KVPair.d.ts +1 -1
- package/dist/lib/models/common/v1/config/KVPair.js +3 -3
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +1 -1
- package/dist/lib/models/common/v1/config/MapOfStringWrapper.js +3 -3
- package/dist/lib/models/common/v1/config/Message.d.ts +1 -1
- package/dist/lib/models/common/v1/config/Message.js +3 -3
- package/dist/lib/models/common/v1/config/MessageSeverity.js +2 -2
- package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +4 -4
- package/dist/lib/models/common/v1/config/TenantAwareModel.js +7 -7
- package/dist/lib/models/common/v1/response/ApiLink.d.ts +1 -1
- package/dist/lib/models/common/v1/response/ApiLink.js +3 -3
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +1 -1
- package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +3 -3
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -1
- package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +4 -4
- package/dist/lib/models/licensing/v4/agreements/Acceptance.d.ts +1 -1
- package/dist/lib/models/licensing/v4/agreements/Acceptance.js +4 -4
- package/dist/lib/models/licensing/v4/agreements/AddUserApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/agreements/AddUserApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/agreements/EndUser.d.ts +1 -1
- package/dist/lib/models/licensing/v4/agreements/EndUser.js +4 -4
- package/dist/lib/models/licensing/v4/agreements/Eula.d.ts +1 -1
- package/dist/lib/models/licensing/v4/agreements/Eula.js +5 -5
- package/dist/lib/models/licensing/v4/agreements/GetEulaApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/agreements/GetEulaApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/AddLicenseKeyApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/AddLicenseKeyApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/AddLicenseKeyDryRunApiResponse.d.ts +4 -3
- package/dist/lib/models/licensing/v4/config/AddLicenseKeyDryRunApiResponse.js +4 -4
- package/dist/lib/models/licensing/v4/config/Allowance.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/Allowance.js +5 -5
- package/dist/lib/models/licensing/v4/config/AllowanceDetail.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/AllowanceDetail.js +4 -4
- package/dist/lib/models/licensing/v4/config/AllowanceDetailProjection.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/AllowanceDetailProjection.js +4 -4
- package/dist/lib/models/licensing/v4/config/AllowanceProjection.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/AllowanceProjection.js +5 -5
- package/dist/lib/models/licensing/v4/config/AssignLicenseKeysApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/AssignLicenseKeysApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/BaseClusterInfo.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/BaseClusterInfo.js +5 -5
- package/dist/lib/models/licensing/v4/config/BaseLicenseInfo.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/BaseLicenseInfo.js +5 -5
- package/dist/lib/models/licensing/v4/config/BillingPlan.js +2 -2
- package/dist/lib/models/licensing/v4/config/CapacityViolation.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/CapacityViolation.js +4 -4
- package/dist/lib/models/licensing/v4/config/ClusterLicenseKeyMapping.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ClusterLicenseKeyMapping.js +4 -4
- package/dist/lib/models/licensing/v4/config/ClusterLicenseKeyMappingProjection.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ClusterLicenseKeyMappingProjection.js +4 -4
- package/dist/lib/models/licensing/v4/config/ClusterType.js +2 -2
- package/dist/lib/models/licensing/v4/config/Compliance.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/Compliance.js +5 -5
- package/dist/lib/models/licensing/v4/config/ComplianceProjection.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ComplianceProjection.js +5 -5
- package/dist/lib/models/licensing/v4/config/Consumption.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/Consumption.js +4 -4
- package/dist/lib/models/licensing/v4/config/ConsumptionProjection.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ConsumptionProjection.js +4 -4
- package/dist/lib/models/licensing/v4/config/ConsumptionType.js +2 -2
- package/dist/lib/models/licensing/v4/config/DeleteLicenseKeyApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/DeleteLicenseKeyApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/DryRunCheck.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/DryRunCheck.js +7 -4
- package/dist/lib/models/licensing/v4/config/DryRunStatus.js +2 -2
- package/dist/lib/models/licensing/v4/config/DryRunValidationResult.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/DryRunValidationResult.js +4 -4
- package/dist/lib/models/licensing/v4/config/EnforcementActions.js +2 -2
- package/dist/lib/models/licensing/v4/config/EnforcementLevel.js +2 -2
- package/dist/lib/models/licensing/v4/config/EnforcementPolicy.js +2 -2
- package/dist/lib/models/licensing/v4/config/Entitlement.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/Entitlement.js +5 -5
- package/dist/lib/models/licensing/v4/config/EntitlementDetail.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/EntitlementDetail.js +4 -4
- package/dist/lib/models/licensing/v4/config/EntitlementDetailProjection.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/EntitlementDetailProjection.js +4 -4
- package/dist/lib/models/licensing/v4/config/EntitlementProjection.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/EntitlementProjection.js +5 -5
- package/dist/lib/models/licensing/v4/config/ExpiredLicense.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ExpiredLicense.js +5 -5
- package/dist/lib/models/licensing/v4/config/Feature.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/Feature.js +5 -5
- package/dist/lib/models/licensing/v4/config/FeatureDetail.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/FeatureDetail.js +4 -4
- package/dist/lib/models/licensing/v4/config/FeatureProjection.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/FeatureProjection.js +4 -4
- package/dist/lib/models/licensing/v4/config/FeatureViolation.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/FeatureViolation.js +4 -4
- package/dist/lib/models/licensing/v4/config/GetLicenseKeyApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/GetLicenseKeyApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/License.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/License.js +5 -5
- package/dist/lib/models/licensing/v4/config/LicenseCategory.js +2 -2
- package/dist/lib/models/licensing/v4/config/LicenseClass.js +2 -2
- package/dist/lib/models/licensing/v4/config/LicenseKey.d.ts +27 -16
- package/dist/lib/models/licensing/v4/config/LicenseKey.js +82 -52
- package/dist/lib/models/licensing/v4/config/LicenseKeyAssignSpec.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/LicenseKeyAssignSpec.js +4 -4
- package/dist/lib/models/licensing/v4/config/LicenseKeyMapping.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/LicenseKeyMapping.js +4 -4
- package/dist/lib/models/licensing/v4/config/LicenseKeyProjection.d.ts +4 -3
- package/dist/lib/models/licensing/v4/config/LicenseKeyProjection.js +24 -15
- package/dist/lib/models/licensing/v4/config/LicenseKeySubCategory.d.ts +19 -0
- package/dist/lib/models/licensing/v4/config/LicenseKeySubCategory.js +85 -0
- package/dist/lib/models/licensing/v4/config/LicenseProjection.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/LicenseProjection.js +5 -5
- package/dist/lib/models/licensing/v4/config/LicenseStateSyncSpec.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/LicenseStateSyncSpec.js +4 -4
- package/dist/lib/models/licensing/v4/config/LicenseType.js +10 -4
- package/dist/lib/models/licensing/v4/config/ListAllowancesApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ListAllowancesApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/ListCompliancesApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ListCompliancesApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/ListEntitlementsApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ListEntitlementsApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/ListFeaturesApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ListFeaturesApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/ListLicenseKeysApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ListLicenseKeysApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/ListLicensesApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ListLicensesApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/ListRecommendationsApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ListRecommendationsApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/ListSettingsApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ListSettingsApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/ListViolationsApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ListViolationsApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/LogicalVersion.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/LogicalVersion.js +4 -4
- package/dist/lib/models/licensing/v4/config/Meter.js +10 -4
- package/dist/lib/models/licensing/v4/config/OperationType.js +2 -2
- package/dist/lib/models/licensing/v4/config/PortalSetting.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/PortalSetting.js +4 -4
- package/dist/lib/models/licensing/v4/config/PostPaidCategory.js +2 -2
- package/dist/lib/models/licensing/v4/config/PostPaidConfig.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/PostPaidConfig.js +4 -4
- package/dist/lib/models/licensing/v4/config/ProductName.js +2 -2
- package/dist/lib/models/licensing/v4/config/Recommendation.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/Recommendation.js +5 -5
- package/dist/lib/models/licensing/v4/config/RecommendationDetail.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/RecommendationDetail.js +4 -4
- package/dist/lib/models/licensing/v4/config/RecommendationScope.js +2 -2
- package/dist/lib/models/licensing/v4/config/ResetScope.js +2 -2
- package/dist/lib/models/licensing/v4/config/Scope.js +2 -2
- package/dist/lib/models/licensing/v4/config/Service.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/Service.js +4 -4
- package/dist/lib/models/licensing/v4/config/ServiceProjection.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ServiceProjection.js +4 -4
- package/dist/lib/models/licensing/v4/config/ServiceViolation.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/ServiceViolation.js +4 -4
- package/dist/lib/models/licensing/v4/config/ServiceViolationType.js +2 -2
- package/dist/lib/models/licensing/v4/config/Setting.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/Setting.js +5 -5
- package/dist/lib/models/licensing/v4/config/Status.js +2 -2
- package/dist/lib/models/licensing/v4/config/SubCategory.js +2 -2
- package/dist/lib/models/licensing/v4/config/SyncLicenseStateApiResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/SyncLicenseStateApiResponse.js +5 -5
- package/dist/lib/models/licensing/v4/config/SyncOperationType.js +2 -2
- package/dist/lib/models/licensing/v4/config/ValueType.js +2 -2
- package/dist/lib/models/licensing/v4/config/Violation.d.ts +1 -1
- package/dist/lib/models/licensing/v4/config/Violation.js +5 -5
- package/dist/lib/models/licensing/v4/error/AppMessage.d.ts +4 -4
- package/dist/lib/models/licensing/v4/error/AppMessage.js +8 -8
- package/dist/lib/models/licensing/v4/error/ErrorResponse.d.ts +1 -1
- package/dist/lib/models/licensing/v4/error/ErrorResponse.js +5 -8
- package/dist/lib/models/licensing/v4/error/SchemaValidationError.d.ts +1 -1
- package/dist/lib/models/licensing/v4/error/SchemaValidationError.js +4 -4
- package/dist/lib/models/licensing/v4/error/SchemaValidationErrorMessage.d.ts +1 -1
- package/dist/lib/models/licensing/v4/error/SchemaValidationErrorMessage.js +4 -4
- package/dist/lib/models/prism/v4/config/TaskReference.d.ts +4 -4
- package/dist/lib/models/prism/v4/config/TaskReference.js +8 -8
- package/dist/lib/models/validation/ValidationError.js +2 -2
- package/dist/lib/utils/ValidationUtils.js +2 -2
- package/package.json +2 -2
- package/dist/es/models/licensing/v4/agreements/UpdateEulaApiResponse.d.ts +0 -101
- package/dist/es/models/licensing/v4/agreements/UpdateEulaApiResponse.js +0 -365
- package/dist/es/models/licensing/v4/config/ResetLicenseStateApiResponse.d.ts +0 -102
- package/dist/es/models/licensing/v4/config/ResetLicenseStateApiResponse.js +0 -365
- package/dist/es/models/licensing/v4/config/UpdatePortalSettingApiResponse.d.ts +0 -99
- package/dist/es/models/licensing/v4/config/UpdatePortalSettingApiResponse.js +0 -365
- package/dist/lib/models/licensing/v4/agreements/UpdateEulaApiResponse.d.ts +0 -101
- package/dist/lib/models/licensing/v4/agreements/UpdateEulaApiResponse.js +0 -365
- package/dist/lib/models/licensing/v4/config/ResetLicenseStateApiResponse.d.ts +0 -102
- package/dist/lib/models/licensing/v4/config/ResetLicenseStateApiResponse.js +0 -365
- package/dist/lib/models/licensing/v4/config/UpdatePortalSettingApiResponse.d.ts +0 -99
- package/dist/lib/models/licensing/v4/config/UpdatePortalSettingApiResponse.js +0 -365
|
@@ -10,6 +10,7 @@ var _ClusterLicenseKeyMapping = _interopRequireDefault(require("./ClusterLicense
|
|
|
10
10
|
var _ClusterLicenseKeyMappingProjection = _interopRequireDefault(require("./ClusterLicenseKeyMappingProjection"));
|
|
11
11
|
var _LicenseCategory = _interopRequireDefault(require("./LicenseCategory"));
|
|
12
12
|
var _LicenseKey2 = _interopRequireDefault(require("./LicenseKey"));
|
|
13
|
+
var _LicenseKeySubCategory = _interopRequireDefault(require("./LicenseKeySubCategory"));
|
|
13
14
|
var _LicenseType = _interopRequireDefault(require("./LicenseType"));
|
|
14
15
|
var _Meter = _interopRequireDefault(require("./Meter"));
|
|
15
16
|
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
@@ -43,11 +44,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
43
44
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
|
|
44
45
|
* Nutanix Licensing APIs
|
|
45
46
|
*
|
|
46
|
-
* OpenAPI spec version: 4.
|
|
47
|
+
* OpenAPI spec version: 4.1.1
|
|
47
48
|
*
|
|
48
49
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
49
50
|
*
|
|
50
|
-
* Open API Dev Platform Codegen version:
|
|
51
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
51
52
|
*
|
|
52
53
|
* Do not edit the class manually.
|
|
53
54
|
*
|
|
@@ -55,7 +56,7 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
|
|
|
55
56
|
/**
|
|
56
57
|
* The LicenseKeyProjection model module.
|
|
57
58
|
* @module Ntnx/LicenseKeyProjection
|
|
58
|
-
* @version 4.
|
|
59
|
+
* @version 4.1.1
|
|
59
60
|
* @class LicenseKeyProjection
|
|
60
61
|
* @extends LicenseKey
|
|
61
62
|
*/
|
|
@@ -80,7 +81,7 @@ var LicenseKeyProjection = exports["default"] = /*#__PURE__*/function (_LicenseK
|
|
|
80
81
|
_this.$objectType = "licensing.v4.config.LicenseKeyProjection";
|
|
81
82
|
/** @type {object<string, any>} */
|
|
82
83
|
_this.$reserved = {
|
|
83
|
-
'$fv': "v4.
|
|
84
|
+
'$fv': "v4.r1"
|
|
84
85
|
};
|
|
85
86
|
/** @type {object<string, any>} */
|
|
86
87
|
_this.$unknownFields = {};
|
|
@@ -118,7 +119,7 @@ var LicenseKeyProjection = exports["default"] = /*#__PURE__*/function (_LicenseK
|
|
|
118
119
|
key: "toJson",
|
|
119
120
|
value: function toJson(forMutation) {
|
|
120
121
|
if (forMutation === false) {
|
|
121
|
-
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getClusterLicenseKeyMappingProjection() !== 'undefined' && this.getClusterLicenseKeyMappingProjection() !== null ? {
|
|
122
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getClusterLicenseKeyMappingProjection() !== 'undefined' && this.getClusterLicenseKeyMappingProjection() !== null ? {
|
|
122
123
|
'clusterLicenseKeyMappingProjection': this.getClusterLicenseKeyMappingProjection().map(function (item) {
|
|
123
124
|
return item.toJson(false);
|
|
124
125
|
})
|
|
@@ -130,14 +131,16 @@ var LicenseKeyProjection = exports["default"] = /*#__PURE__*/function (_LicenseK
|
|
|
130
131
|
'type': this.getType()
|
|
131
132
|
} : {}), typeof this.getCategory() !== 'undefined' && this.getCategory() !== null ? {
|
|
132
133
|
'category': this.getCategory()
|
|
133
|
-
} : {}), typeof this.
|
|
134
|
-
'
|
|
134
|
+
} : {}), typeof this.getSubCategory() !== 'undefined' && this.getSubCategory() !== null ? {
|
|
135
|
+
'subCategory': this.getSubCategory()
|
|
136
|
+
} : {}), typeof this.getEntitlementExpiryDate() !== 'undefined' && this.getEntitlementExpiryDate() !== null ? {
|
|
137
|
+
'entitlementExpiryDate': _assertClassBrand(_LicenseKeyProjection_brand, this, _handleDateType).call(this, this.getEntitlementExpiryDate(), true)
|
|
135
138
|
} : {}), typeof this.getMeter() !== 'undefined' && this.getMeter() !== null ? {
|
|
136
139
|
'meter': this.getMeter()
|
|
137
140
|
} : {}), typeof this.getQuantity() !== 'undefined' && this.getQuantity() !== null ? {
|
|
138
141
|
'quantity': this.getQuantity()
|
|
139
|
-
} : {}), typeof this.
|
|
140
|
-
'
|
|
142
|
+
} : {}), typeof this.getGroupId() !== 'undefined' && this.getGroupId() !== null ? {
|
|
143
|
+
'groupId': this.getGroupId()
|
|
141
144
|
} : {}), typeof this.getAssignmentDetails() !== 'undefined' && this.getAssignmentDetails() !== null ? {
|
|
142
145
|
'assignmentDetails': this.getAssignmentDetails().map(function (item) {
|
|
143
146
|
return item.toJson(false);
|
|
@@ -156,7 +159,7 @@ var LicenseKeyProjection = exports["default"] = /*#__PURE__*/function (_LicenseK
|
|
|
156
159
|
'$unknownFields': this.get$UnknownFields()
|
|
157
160
|
});
|
|
158
161
|
}
|
|
159
|
-
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getClusterLicenseKeyMappingProjection() !== 'undefined' && this.getClusterLicenseKeyMappingProjection() !== null ? {
|
|
162
|
+
return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, typeof this.getClusterLicenseKeyMappingProjection() !== 'undefined' && this.getClusterLicenseKeyMappingProjection() !== null ? {
|
|
160
163
|
'clusterLicenseKeyMappingProjection': this.getClusterLicenseKeyMappingProjection().map(function (item) {
|
|
161
164
|
return item.toJson(false);
|
|
162
165
|
})
|
|
@@ -168,6 +171,8 @@ var LicenseKeyProjection = exports["default"] = /*#__PURE__*/function (_LicenseK
|
|
|
168
171
|
'type': this.getType()
|
|
169
172
|
} : {}), typeof this.getCategory() !== 'undefined' && this.getCategory() !== null ? {
|
|
170
173
|
'category': this.getCategory()
|
|
174
|
+
} : {}), typeof this.getSubCategory() !== 'undefined' && this.getSubCategory() !== null ? {
|
|
175
|
+
'subCategory': this.getSubCategory()
|
|
171
176
|
} : {}), typeof this.getMeter() !== 'undefined' && this.getMeter() !== null ? {
|
|
172
177
|
'meter': this.getMeter()
|
|
173
178
|
} : {}), {}, {
|
|
@@ -317,10 +322,14 @@ _LicenseKey2["default"].prototype.type = undefined;
|
|
|
317
322
|
*/
|
|
318
323
|
_LicenseKey2["default"].prototype.category = undefined;
|
|
319
324
|
/**
|
|
320
|
-
* Attribute for capturing license key expiration date.
|
|
321
325
|
* @memberof LicenseKeyProjection
|
|
322
326
|
*/
|
|
323
|
-
_LicenseKey2["default"].prototype.
|
|
327
|
+
_LicenseKey2["default"].prototype.subCategory = undefined;
|
|
328
|
+
/**
|
|
329
|
+
* Attribute for capturing expiry date of the entitlement encoded in license key.
|
|
330
|
+
* @memberof LicenseKeyProjection
|
|
331
|
+
*/
|
|
332
|
+
_LicenseKey2["default"].prototype.entitlementExpiryDate = undefined;
|
|
324
333
|
/**
|
|
325
334
|
* @memberof LicenseKeyProjection
|
|
326
335
|
*/
|
|
@@ -331,10 +340,10 @@ _LicenseKey2["default"].prototype.meter = undefined;
|
|
|
331
340
|
*/
|
|
332
341
|
_LicenseKey2["default"].prototype.quantity = undefined;
|
|
333
342
|
/**
|
|
334
|
-
* Attribute for capturing
|
|
343
|
+
* Attribute for capturing groupId associated with this license key.
|
|
335
344
|
* @memberof LicenseKeyProjection
|
|
336
345
|
*/
|
|
337
|
-
_LicenseKey2["default"].prototype.
|
|
346
|
+
_LicenseKey2["default"].prototype.groupId = undefined;
|
|
338
347
|
/**
|
|
339
348
|
* Expansion attribute used for fetching the license key assignment details.
|
|
340
349
|
* @memberof LicenseKeyProjection
|
|
@@ -351,7 +360,7 @@ _ExternalizableAbstractModel["default"].prototype.extId = undefined;
|
|
|
351
360
|
*/
|
|
352
361
|
_ExternalizableAbstractModel["default"].prototype.links = undefined;
|
|
353
362
|
/**
|
|
354
|
-
* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this
|
|
363
|
+
* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this ID to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
|
|
355
364
|
* @memberof LicenseKeyProjection
|
|
356
365
|
*/
|
|
357
366
|
_TenantAwareModel["default"].prototype.tenantId = undefined;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export default LicenseKeySubCategory;
|
|
2
|
+
/**
|
|
3
|
+
* *
|
|
4
|
+
*/
|
|
5
|
+
type LicenseKeySubCategory = string;
|
|
6
|
+
declare namespace LicenseKeySubCategory {
|
|
7
|
+
/**
|
|
8
|
+
* Returns a <code>LicenseKeySubCategory</code> enum value from a JavaScript object name.
|
|
9
|
+
* @param {Object} obj The plain JavaScript object containing the name of the enum value.
|
|
10
|
+
* @return {LicenseKeySubCategory} The enum <code>LicenseKeySubCategory</code> value.
|
|
11
|
+
*/
|
|
12
|
+
function constructFromObject(obj: any): string;
|
|
13
|
+
/**
|
|
14
|
+
* Validates <code>LicenseKeySubCategory</code> enum value.
|
|
15
|
+
* @param {Object} obj The plain JavaScript object containing the name of the enum value.
|
|
16
|
+
* @return {null} Throws error for invalid value.
|
|
17
|
+
*/
|
|
18
|
+
function validate(obj: any): null;
|
|
19
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ValidationScopes = _interopRequireDefault(require("../../../validation/ValidationScopes"));
|
|
8
|
+
var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
|
|
9
|
+
var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
|
+
/*
|
|
12
|
+
* Nutanix Licensing APIs
|
|
13
|
+
*
|
|
14
|
+
* OpenAPI spec version: 4.1.1
|
|
15
|
+
*
|
|
16
|
+
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
17
|
+
*
|
|
18
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
19
|
+
*
|
|
20
|
+
* Do not edit the class manually.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Enum class LicenseKeySubCategory.
|
|
26
|
+
* @enum {string}
|
|
27
|
+
* @readonly
|
|
28
|
+
*/
|
|
29
|
+
var LicenseKeySubCategory = {
|
|
30
|
+
/**
|
|
31
|
+
* Unknown value.
|
|
32
|
+
* @const
|
|
33
|
+
*/
|
|
34
|
+
$UNKNOWN: "$UNKNOWN",
|
|
35
|
+
/**
|
|
36
|
+
* Redacted value.
|
|
37
|
+
* @const
|
|
38
|
+
*/
|
|
39
|
+
$REDACTED: "$REDACTED",
|
|
40
|
+
/**
|
|
41
|
+
* License is a primary license.
|
|
42
|
+
* @const
|
|
43
|
+
*/
|
|
44
|
+
PRIMARY: "PRIMARY",
|
|
45
|
+
/**
|
|
46
|
+
* License is an addon.
|
|
47
|
+
* @const
|
|
48
|
+
*/
|
|
49
|
+
ADDON: "ADDON"
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Returns a <code>LicenseKeySubCategory</code> enum value from a JavaScript object name.
|
|
54
|
+
* @param {Object} obj The plain JavaScript object containing the name of the enum value.
|
|
55
|
+
* @return {LicenseKeySubCategory} The enum <code>LicenseKeySubCategory</code> value.
|
|
56
|
+
*/
|
|
57
|
+
LicenseKeySubCategory.constructFromObject = function (obj) {
|
|
58
|
+
if (typeof obj === 'string' || obj instanceof String) {
|
|
59
|
+
var enumVal = Object.keys(LicenseKeySubCategory).find(function (key) {
|
|
60
|
+
return LicenseKeySubCategory[key] === obj;
|
|
61
|
+
});
|
|
62
|
+
return enumVal === undefined || enumVal === null ? LicenseKeySubCategory.$UNKNOWN : LicenseKeySubCategory[enumVal];
|
|
63
|
+
} else {
|
|
64
|
+
throw new Error("Received object name is not an instance of String");
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Validates <code>LicenseKeySubCategory</code> enum value.
|
|
70
|
+
* @param {Object} obj The plain JavaScript object containing the name of the enum value.
|
|
71
|
+
* @return {null} Throws error for invalid value.
|
|
72
|
+
*/
|
|
73
|
+
LicenseKeySubCategory.validate = function (obj) {
|
|
74
|
+
switch (obj) {
|
|
75
|
+
case LicenseKeySubCategory.$UNKNOWN:
|
|
76
|
+
case LicenseKeySubCategory.$REDACTED:
|
|
77
|
+
case LicenseKeySubCategory.PRIMARY:
|
|
78
|
+
case LicenseKeySubCategory.ADDON:
|
|
79
|
+
return;
|
|
80
|
+
default:
|
|
81
|
+
throw new Error("Invalid : must be LicenseKeySubCategory.{ $UNKNOWN|$REDACTED|PRIMARY|ADDON }");
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
Object.freeze(LicenseKeySubCategory);
|
|
85
|
+
var _default = exports["default"] = LicenseKeySubCategory;
|
|
@@ -43,11 +43,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
43
43
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
|
|
44
44
|
* Nutanix Licensing APIs
|
|
45
45
|
*
|
|
46
|
-
* OpenAPI spec version: 4.
|
|
46
|
+
* OpenAPI spec version: 4.1.1
|
|
47
47
|
*
|
|
48
48
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
49
49
|
*
|
|
50
|
-
* Open API Dev Platform Codegen version:
|
|
50
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
51
51
|
*
|
|
52
52
|
* Do not edit the class manually.
|
|
53
53
|
*
|
|
@@ -55,7 +55,7 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
|
|
|
55
55
|
/**
|
|
56
56
|
* The LicenseProjection model module.
|
|
57
57
|
* @module Ntnx/LicenseProjection
|
|
58
|
-
* @version 4.
|
|
58
|
+
* @version 4.1.1
|
|
59
59
|
* @class LicenseProjection
|
|
60
60
|
* @extends License
|
|
61
61
|
*/
|
|
@@ -80,7 +80,7 @@ var LicenseProjection = exports["default"] = /*#__PURE__*/function (_License) {
|
|
|
80
80
|
_this.$objectType = "licensing.v4.config.LicenseProjection";
|
|
81
81
|
/** @type {object<string, any>} */
|
|
82
82
|
_this.$reserved = {
|
|
83
|
-
'$fv': "v4.
|
|
83
|
+
'$fv': "v4.r1"
|
|
84
84
|
};
|
|
85
85
|
/** @type {object<string, any>} */
|
|
86
86
|
_this.$unknownFields = {};
|
|
@@ -368,7 +368,7 @@ _ExternalizableAbstractModel["default"].prototype.extId = undefined;
|
|
|
368
368
|
*/
|
|
369
369
|
_ExternalizableAbstractModel["default"].prototype.links = undefined;
|
|
370
370
|
/**
|
|
371
|
-
* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this
|
|
371
|
+
* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this ID to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
|
|
372
372
|
* @memberof LicenseProjection
|
|
373
373
|
*/
|
|
374
374
|
_TenantAwareModel["default"].prototype.tenantId = undefined;
|
|
@@ -28,11 +28,11 @@ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a
|
|
|
28
28
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
|
|
29
29
|
* Nutanix Licensing APIs
|
|
30
30
|
*
|
|
31
|
-
* OpenAPI spec version: 4.
|
|
31
|
+
* OpenAPI spec version: 4.1.1
|
|
32
32
|
*
|
|
33
33
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
34
34
|
*
|
|
35
|
-
* Open API Dev Platform Codegen version:
|
|
35
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
36
36
|
*
|
|
37
37
|
* Do not edit the class manually.
|
|
38
38
|
*
|
|
@@ -40,7 +40,7 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
40
40
|
/**
|
|
41
41
|
* The LicenseStateSyncSpec model module.
|
|
42
42
|
* @module Ntnx/LicenseStateSyncSpec
|
|
43
|
-
* @version 4.
|
|
43
|
+
* @version 4.1.1
|
|
44
44
|
* @class LicenseStateSyncSpec
|
|
45
45
|
*/
|
|
46
46
|
var _LicenseStateSyncSpec_brand = /*#__PURE__*/new WeakSet();
|
|
@@ -62,7 +62,7 @@ var LicenseStateSyncSpec = exports["default"] = /*#__PURE__*/function () {
|
|
|
62
62
|
this.$objectType = "licensing.v4.config.LicenseStateSyncSpec";
|
|
63
63
|
/** @type {object<string, any>} */
|
|
64
64
|
this.$reserved = {
|
|
65
|
-
'$fv': "v4.
|
|
65
|
+
'$fv': "v4.r1"
|
|
66
66
|
};
|
|
67
67
|
/** @type {object<string, any>} */
|
|
68
68
|
this.$unknownFields = {};
|
|
@@ -11,11 +11,11 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default":
|
|
|
11
11
|
/*
|
|
12
12
|
* Nutanix Licensing APIs
|
|
13
13
|
*
|
|
14
|
-
* OpenAPI spec version: 4.
|
|
14
|
+
* OpenAPI spec version: 4.1.1
|
|
15
15
|
*
|
|
16
16
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
17
17
|
*
|
|
18
|
-
* Open API Dev Platform Codegen version:
|
|
18
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
19
19
|
*
|
|
20
20
|
* Do not edit the class manually.
|
|
21
21
|
*
|
|
@@ -196,7 +196,12 @@ var LicenseType = {
|
|
|
196
196
|
* License type for Nutanix Kubernetes Platform (NKP) Full Stack.
|
|
197
197
|
* @const
|
|
198
198
|
*/
|
|
199
|
-
NKPFS: "NKPFS"
|
|
199
|
+
NKPFS: "NKPFS",
|
|
200
|
+
/**
|
|
201
|
+
* License type for Nutanix Enterprise AI (NAI).
|
|
202
|
+
* @const
|
|
203
|
+
*/
|
|
204
|
+
NAI: "NAI"
|
|
200
205
|
};
|
|
201
206
|
|
|
202
207
|
/**
|
|
@@ -256,9 +261,10 @@ LicenseType.validate = function (obj) {
|
|
|
256
261
|
case LicenseType.NCI_C:
|
|
257
262
|
case LicenseType.NKP:
|
|
258
263
|
case LicenseType.NKPFS:
|
|
264
|
+
case LicenseType.NAI:
|
|
259
265
|
return;
|
|
260
266
|
default:
|
|
261
|
-
throw new Error("Invalid : must be LicenseType.{ $UNKNOWN|$REDACTED|PRISM|CALM|FLOW|OBJECT|AOS|FILE|VDI|ROBO|MINE|NCI|NCM|NCI_D|NDA_PLATFORM|UNIFIED_STORAGE|EUC|OBJECTS|ERA|DRS|NDS|NDA|NDS_PLATFORM|NDB_PLATFORM|NUS|NDB|NCM_CLOUD|EDGE|NO_LICENSE|NCM_EDGE|NCM_EUC|NCI_C|NKP|NKPFS }");
|
|
267
|
+
throw new Error("Invalid : must be LicenseType.{ $UNKNOWN|$REDACTED|PRISM|CALM|FLOW|OBJECT|AOS|FILE|VDI|ROBO|MINE|NCI|NCM|NCI_D|NDA_PLATFORM|UNIFIED_STORAGE|EUC|OBJECTS|ERA|DRS|NDS|NDA|NDS_PLATFORM|NDB_PLATFORM|NUS|NDB|NCM_CLOUD|EDGE|NO_LICENSE|NCM_EDGE|NCM_EUC|NCI_C|NKP|NKPFS|NAI }");
|
|
262
268
|
}
|
|
263
269
|
};
|
|
264
270
|
Object.freeze(LicenseType);
|
|
@@ -40,11 +40,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
40
40
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
|
|
41
41
|
* Nutanix Licensing APIs
|
|
42
42
|
*
|
|
43
|
-
* OpenAPI spec version: 4.
|
|
43
|
+
* OpenAPI spec version: 4.1.1
|
|
44
44
|
*
|
|
45
45
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
46
46
|
*
|
|
47
|
-
* Open API Dev Platform Codegen version:
|
|
47
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
48
48
|
*
|
|
49
49
|
* Do not edit the class manually.
|
|
50
50
|
*
|
|
@@ -52,14 +52,14 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
|
|
|
52
52
|
/**
|
|
53
53
|
* The ListAllowancesApiResponse model module.
|
|
54
54
|
* @module Ntnx/ListAllowancesApiResponse
|
|
55
|
-
* @version 4.
|
|
55
|
+
* @version 4.1.1
|
|
56
56
|
* @class ListAllowancesApiResponse
|
|
57
57
|
*/
|
|
58
58
|
var _ListAllowancesApiResponse_brand = /*#__PURE__*/new WeakSet();
|
|
59
59
|
var ListAllowancesApiResponse = exports["default"] = /*#__PURE__*/function (_Paginable) {
|
|
60
60
|
/**
|
|
61
61
|
* Constructs a new <code>ListAllowancesApiResponse</code>.
|
|
62
|
-
* REST response for all response codes in API path /licensing/v4.
|
|
62
|
+
* REST response for all response codes in API path /licensing/v4.1/config/allowances Get operation
|
|
63
63
|
* @alias module:Ntnx/ListAllowancesApiResponse
|
|
64
64
|
*/
|
|
65
65
|
function ListAllowancesApiResponse() {
|
|
@@ -76,7 +76,7 @@ var ListAllowancesApiResponse = exports["default"] = /*#__PURE__*/function (_Pag
|
|
|
76
76
|
_this.$objectType = "licensing.v4.config.ListAllowancesApiResponse";
|
|
77
77
|
/** @type {object<string, any>} */
|
|
78
78
|
_this.$reserved = {
|
|
79
|
-
'$fv': "v4.
|
|
79
|
+
'$fv': "v4.r1"
|
|
80
80
|
};
|
|
81
81
|
/** @type {object<string, any>} */
|
|
82
82
|
_this.$unknownFields = {};
|
|
@@ -40,11 +40,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
40
40
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
|
|
41
41
|
* Nutanix Licensing APIs
|
|
42
42
|
*
|
|
43
|
-
* OpenAPI spec version: 4.
|
|
43
|
+
* OpenAPI spec version: 4.1.1
|
|
44
44
|
*
|
|
45
45
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
46
46
|
*
|
|
47
|
-
* Open API Dev Platform Codegen version:
|
|
47
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
48
48
|
*
|
|
49
49
|
* Do not edit the class manually.
|
|
50
50
|
*
|
|
@@ -52,14 +52,14 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
|
|
|
52
52
|
/**
|
|
53
53
|
* The ListCompliancesApiResponse model module.
|
|
54
54
|
* @module Ntnx/ListCompliancesApiResponse
|
|
55
|
-
* @version 4.
|
|
55
|
+
* @version 4.1.1
|
|
56
56
|
* @class ListCompliancesApiResponse
|
|
57
57
|
*/
|
|
58
58
|
var _ListCompliancesApiResponse_brand = /*#__PURE__*/new WeakSet();
|
|
59
59
|
var ListCompliancesApiResponse = exports["default"] = /*#__PURE__*/function (_Paginable) {
|
|
60
60
|
/**
|
|
61
61
|
* Constructs a new <code>ListCompliancesApiResponse</code>.
|
|
62
|
-
* REST response for all response codes in API path /licensing/v4.
|
|
62
|
+
* REST response for all response codes in API path /licensing/v4.1/config/compliances Get operation
|
|
63
63
|
* @alias module:Ntnx/ListCompliancesApiResponse
|
|
64
64
|
*/
|
|
65
65
|
function ListCompliancesApiResponse() {
|
|
@@ -76,7 +76,7 @@ var ListCompliancesApiResponse = exports["default"] = /*#__PURE__*/function (_Pa
|
|
|
76
76
|
_this.$objectType = "licensing.v4.config.ListCompliancesApiResponse";
|
|
77
77
|
/** @type {object<string, any>} */
|
|
78
78
|
_this.$reserved = {
|
|
79
|
-
'$fv': "v4.
|
|
79
|
+
'$fv': "v4.r1"
|
|
80
80
|
};
|
|
81
81
|
/** @type {object<string, any>} */
|
|
82
82
|
_this.$unknownFields = {};
|
|
@@ -40,11 +40,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
40
40
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
|
|
41
41
|
* Nutanix Licensing APIs
|
|
42
42
|
*
|
|
43
|
-
* OpenAPI spec version: 4.
|
|
43
|
+
* OpenAPI spec version: 4.1.1
|
|
44
44
|
*
|
|
45
45
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
46
46
|
*
|
|
47
|
-
* Open API Dev Platform Codegen version:
|
|
47
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
48
48
|
*
|
|
49
49
|
* Do not edit the class manually.
|
|
50
50
|
*
|
|
@@ -52,14 +52,14 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
|
|
|
52
52
|
/**
|
|
53
53
|
* The ListEntitlementsApiResponse model module.
|
|
54
54
|
* @module Ntnx/ListEntitlementsApiResponse
|
|
55
|
-
* @version 4.
|
|
55
|
+
* @version 4.1.1
|
|
56
56
|
* @class ListEntitlementsApiResponse
|
|
57
57
|
*/
|
|
58
58
|
var _ListEntitlementsApiResponse_brand = /*#__PURE__*/new WeakSet();
|
|
59
59
|
var ListEntitlementsApiResponse = exports["default"] = /*#__PURE__*/function (_Paginable) {
|
|
60
60
|
/**
|
|
61
61
|
* Constructs a new <code>ListEntitlementsApiResponse</code>.
|
|
62
|
-
* REST response for all response codes in API path /licensing/v4.
|
|
62
|
+
* REST response for all response codes in API path /licensing/v4.1/config/entitlements Get operation
|
|
63
63
|
* @alias module:Ntnx/ListEntitlementsApiResponse
|
|
64
64
|
*/
|
|
65
65
|
function ListEntitlementsApiResponse() {
|
|
@@ -76,7 +76,7 @@ var ListEntitlementsApiResponse = exports["default"] = /*#__PURE__*/function (_P
|
|
|
76
76
|
_this.$objectType = "licensing.v4.config.ListEntitlementsApiResponse";
|
|
77
77
|
/** @type {object<string, any>} */
|
|
78
78
|
_this.$reserved = {
|
|
79
|
-
'$fv': "v4.
|
|
79
|
+
'$fv': "v4.r1"
|
|
80
80
|
};
|
|
81
81
|
/** @type {object<string, any>} */
|
|
82
82
|
_this.$unknownFields = {};
|
|
@@ -40,11 +40,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
40
40
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
|
|
41
41
|
* Nutanix Licensing APIs
|
|
42
42
|
*
|
|
43
|
-
* OpenAPI spec version: 4.
|
|
43
|
+
* OpenAPI spec version: 4.1.1
|
|
44
44
|
*
|
|
45
45
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
46
46
|
*
|
|
47
|
-
* Open API Dev Platform Codegen version:
|
|
47
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
48
48
|
*
|
|
49
49
|
* Do not edit the class manually.
|
|
50
50
|
*
|
|
@@ -52,14 +52,14 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
|
|
|
52
52
|
/**
|
|
53
53
|
* The ListFeaturesApiResponse model module.
|
|
54
54
|
* @module Ntnx/ListFeaturesApiResponse
|
|
55
|
-
* @version 4.
|
|
55
|
+
* @version 4.1.1
|
|
56
56
|
* @class ListFeaturesApiResponse
|
|
57
57
|
*/
|
|
58
58
|
var _ListFeaturesApiResponse_brand = /*#__PURE__*/new WeakSet();
|
|
59
59
|
var ListFeaturesApiResponse = exports["default"] = /*#__PURE__*/function (_Paginable) {
|
|
60
60
|
/**
|
|
61
61
|
* Constructs a new <code>ListFeaturesApiResponse</code>.
|
|
62
|
-
* REST response for all response codes in API path /licensing/v4.
|
|
62
|
+
* REST response for all response codes in API path /licensing/v4.1/config/features Get operation
|
|
63
63
|
* @alias module:Ntnx/ListFeaturesApiResponse
|
|
64
64
|
*/
|
|
65
65
|
function ListFeaturesApiResponse() {
|
|
@@ -76,7 +76,7 @@ var ListFeaturesApiResponse = exports["default"] = /*#__PURE__*/function (_Pagin
|
|
|
76
76
|
_this.$objectType = "licensing.v4.config.ListFeaturesApiResponse";
|
|
77
77
|
/** @type {object<string, any>} */
|
|
78
78
|
_this.$reserved = {
|
|
79
|
-
'$fv': "v4.
|
|
79
|
+
'$fv': "v4.r1"
|
|
80
80
|
};
|
|
81
81
|
/** @type {object<string, any>} */
|
|
82
82
|
_this.$unknownFields = {};
|
|
@@ -40,11 +40,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
|
|
|
40
40
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
|
|
41
41
|
* Nutanix Licensing APIs
|
|
42
42
|
*
|
|
43
|
-
* OpenAPI spec version: 4.
|
|
43
|
+
* OpenAPI spec version: 4.1.1
|
|
44
44
|
*
|
|
45
45
|
* NOTE: This class is auto generated by the Open API Dev Platform.
|
|
46
46
|
*
|
|
47
|
-
* Open API Dev Platform Codegen version:
|
|
47
|
+
* Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
|
|
48
48
|
*
|
|
49
49
|
* Do not edit the class manually.
|
|
50
50
|
*
|
|
@@ -52,14 +52,14 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
|
|
|
52
52
|
/**
|
|
53
53
|
* The ListLicenseKeysApiResponse model module.
|
|
54
54
|
* @module Ntnx/ListLicenseKeysApiResponse
|
|
55
|
-
* @version 4.
|
|
55
|
+
* @version 4.1.1
|
|
56
56
|
* @class ListLicenseKeysApiResponse
|
|
57
57
|
*/
|
|
58
58
|
var _ListLicenseKeysApiResponse_brand = /*#__PURE__*/new WeakSet();
|
|
59
59
|
var ListLicenseKeysApiResponse = exports["default"] = /*#__PURE__*/function (_Paginable) {
|
|
60
60
|
/**
|
|
61
61
|
* Constructs a new <code>ListLicenseKeysApiResponse</code>.
|
|
62
|
-
* REST response for all response codes in API path /licensing/v4.
|
|
62
|
+
* REST response for all response codes in API path /licensing/v4.1/config/license-keys Get operation
|
|
63
63
|
* @alias module:Ntnx/ListLicenseKeysApiResponse
|
|
64
64
|
*/
|
|
65
65
|
function ListLicenseKeysApiResponse() {
|
|
@@ -76,7 +76,7 @@ var ListLicenseKeysApiResponse = exports["default"] = /*#__PURE__*/function (_Pa
|
|
|
76
76
|
_this.$objectType = "licensing.v4.config.ListLicenseKeysApiResponse";
|
|
77
77
|
/** @type {object<string, any>} */
|
|
78
78
|
_this.$reserved = {
|
|
79
|
-
'$fv': "v4.
|
|
79
|
+
'$fv': "v4.r1"
|
|
80
80
|
};
|
|
81
81
|
/** @type {object<string, any>} */
|
|
82
82
|
_this.$unknownFields = {};
|