@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.
Files changed (390) hide show
  1. package/README.md +19 -18
  2. package/dist/Ntnx-Licensing-js-client-prod.js +1 -1
  3. package/dist/Ntnx-Licensing-js-client.js +126 -148
  4. package/dist/es/ApiClient.d.ts +7 -1
  5. package/dist/es/ApiClient.js +16 -25
  6. package/dist/es/Paginable.d.ts +1 -1
  7. package/dist/es/Paginable.js +3 -3
  8. package/dist/es/apis/enduserlicenseagreement-endpoints.d.ts +1 -1
  9. package/dist/es/apis/enduserlicenseagreement-endpoints.js +5 -5
  10. package/dist/es/apis/licensekeys-endpoints.d.ts +4 -20
  11. package/dist/es/apis/licensekeys-endpoints.js +13 -27
  12. package/dist/es/apis/licenses-endpoints.d.ts +15 -101
  13. package/dist/es/apis/licenses-endpoints.js +36 -112
  14. package/dist/es/index.d.ts +3 -7
  15. package/dist/es/index.js +8 -24
  16. package/dist/es/models/common/v1/config/Flag.d.ts +1 -1
  17. package/dist/es/models/common/v1/config/Flag.js +3 -3
  18. package/dist/es/models/common/v1/config/KVPair.d.ts +1 -1
  19. package/dist/es/models/common/v1/config/KVPair.js +3 -3
  20. package/dist/es/models/common/v1/config/MapOfStringWrapper.d.ts +1 -1
  21. package/dist/es/models/common/v1/config/MapOfStringWrapper.js +3 -3
  22. package/dist/es/models/common/v1/config/Message.d.ts +1 -1
  23. package/dist/es/models/common/v1/config/Message.js +3 -3
  24. package/dist/es/models/common/v1/config/MessageSeverity.js +2 -2
  25. package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +4 -4
  26. package/dist/es/models/common/v1/config/TenantAwareModel.js +7 -7
  27. package/dist/es/models/common/v1/response/ApiLink.d.ts +1 -1
  28. package/dist/es/models/common/v1/response/ApiLink.js +3 -3
  29. package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +1 -1
  30. package/dist/es/models/common/v1/response/ApiResponseMetadata.js +3 -3
  31. package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -1
  32. package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +4 -4
  33. package/dist/es/models/licensing/v4/agreements/Acceptance.d.ts +1 -1
  34. package/dist/es/models/licensing/v4/agreements/Acceptance.js +4 -4
  35. package/dist/es/models/licensing/v4/agreements/AddUserApiResponse.d.ts +1 -1
  36. package/dist/es/models/licensing/v4/agreements/AddUserApiResponse.js +5 -5
  37. package/dist/es/models/licensing/v4/agreements/EndUser.d.ts +1 -1
  38. package/dist/es/models/licensing/v4/agreements/EndUser.js +4 -4
  39. package/dist/es/models/licensing/v4/agreements/Eula.d.ts +1 -1
  40. package/dist/es/models/licensing/v4/agreements/Eula.js +5 -5
  41. package/dist/es/models/licensing/v4/agreements/GetEulaApiResponse.d.ts +1 -1
  42. package/dist/es/models/licensing/v4/agreements/GetEulaApiResponse.js +5 -5
  43. package/dist/es/models/licensing/v4/config/AddLicenseKeyApiResponse.d.ts +1 -1
  44. package/dist/es/models/licensing/v4/config/AddLicenseKeyApiResponse.js +5 -5
  45. package/dist/es/models/licensing/v4/config/AddLicenseKeyDryRunApiResponse.d.ts +4 -3
  46. package/dist/es/models/licensing/v4/config/AddLicenseKeyDryRunApiResponse.js +4 -4
  47. package/dist/es/models/licensing/v4/config/Allowance.d.ts +1 -1
  48. package/dist/es/models/licensing/v4/config/Allowance.js +5 -5
  49. package/dist/es/models/licensing/v4/config/AllowanceDetail.d.ts +1 -1
  50. package/dist/es/models/licensing/v4/config/AllowanceDetail.js +4 -4
  51. package/dist/es/models/licensing/v4/config/AllowanceDetailProjection.d.ts +1 -1
  52. package/dist/es/models/licensing/v4/config/AllowanceDetailProjection.js +4 -4
  53. package/dist/es/models/licensing/v4/config/AllowanceProjection.d.ts +1 -1
  54. package/dist/es/models/licensing/v4/config/AllowanceProjection.js +5 -5
  55. package/dist/es/models/licensing/v4/config/AssignLicenseKeysApiResponse.d.ts +1 -1
  56. package/dist/es/models/licensing/v4/config/AssignLicenseKeysApiResponse.js +5 -5
  57. package/dist/es/models/licensing/v4/config/BaseClusterInfo.d.ts +1 -1
  58. package/dist/es/models/licensing/v4/config/BaseClusterInfo.js +5 -5
  59. package/dist/es/models/licensing/v4/config/BaseLicenseInfo.d.ts +1 -1
  60. package/dist/es/models/licensing/v4/config/BaseLicenseInfo.js +5 -5
  61. package/dist/es/models/licensing/v4/config/BillingPlan.js +2 -2
  62. package/dist/es/models/licensing/v4/config/CapacityViolation.d.ts +1 -1
  63. package/dist/es/models/licensing/v4/config/CapacityViolation.js +4 -4
  64. package/dist/es/models/licensing/v4/config/ClusterLicenseKeyMapping.d.ts +1 -1
  65. package/dist/es/models/licensing/v4/config/ClusterLicenseKeyMapping.js +4 -4
  66. package/dist/es/models/licensing/v4/config/ClusterLicenseKeyMappingProjection.d.ts +1 -1
  67. package/dist/es/models/licensing/v4/config/ClusterLicenseKeyMappingProjection.js +4 -4
  68. package/dist/es/models/licensing/v4/config/ClusterType.js +2 -2
  69. package/dist/es/models/licensing/v4/config/Compliance.d.ts +1 -1
  70. package/dist/es/models/licensing/v4/config/Compliance.js +5 -5
  71. package/dist/es/models/licensing/v4/config/ComplianceProjection.d.ts +1 -1
  72. package/dist/es/models/licensing/v4/config/ComplianceProjection.js +5 -5
  73. package/dist/es/models/licensing/v4/config/Consumption.d.ts +1 -1
  74. package/dist/es/models/licensing/v4/config/Consumption.js +4 -4
  75. package/dist/es/models/licensing/v4/config/ConsumptionProjection.d.ts +1 -1
  76. package/dist/es/models/licensing/v4/config/ConsumptionProjection.js +4 -4
  77. package/dist/es/models/licensing/v4/config/ConsumptionType.js +2 -2
  78. package/dist/es/models/licensing/v4/config/DeleteLicenseKeyApiResponse.d.ts +1 -1
  79. package/dist/es/models/licensing/v4/config/DeleteLicenseKeyApiResponse.js +5 -5
  80. package/dist/es/models/licensing/v4/config/DryRunCheck.d.ts +1 -1
  81. package/dist/es/models/licensing/v4/config/DryRunCheck.js +7 -4
  82. package/dist/es/models/licensing/v4/config/DryRunStatus.js +2 -2
  83. package/dist/es/models/licensing/v4/config/DryRunValidationResult.d.ts +1 -1
  84. package/dist/es/models/licensing/v4/config/DryRunValidationResult.js +4 -4
  85. package/dist/es/models/licensing/v4/config/EnforcementActions.js +2 -2
  86. package/dist/es/models/licensing/v4/config/EnforcementLevel.js +2 -2
  87. package/dist/es/models/licensing/v4/config/EnforcementPolicy.js +2 -2
  88. package/dist/es/models/licensing/v4/config/Entitlement.d.ts +1 -1
  89. package/dist/es/models/licensing/v4/config/Entitlement.js +5 -5
  90. package/dist/es/models/licensing/v4/config/EntitlementDetail.d.ts +1 -1
  91. package/dist/es/models/licensing/v4/config/EntitlementDetail.js +4 -4
  92. package/dist/es/models/licensing/v4/config/EntitlementDetailProjection.d.ts +1 -1
  93. package/dist/es/models/licensing/v4/config/EntitlementDetailProjection.js +4 -4
  94. package/dist/es/models/licensing/v4/config/EntitlementProjection.d.ts +1 -1
  95. package/dist/es/models/licensing/v4/config/EntitlementProjection.js +5 -5
  96. package/dist/es/models/licensing/v4/config/ExpiredLicense.d.ts +1 -1
  97. package/dist/es/models/licensing/v4/config/ExpiredLicense.js +5 -5
  98. package/dist/es/models/licensing/v4/config/Feature.d.ts +1 -1
  99. package/dist/es/models/licensing/v4/config/Feature.js +5 -5
  100. package/dist/es/models/licensing/v4/config/FeatureDetail.d.ts +1 -1
  101. package/dist/es/models/licensing/v4/config/FeatureDetail.js +4 -4
  102. package/dist/es/models/licensing/v4/config/FeatureProjection.d.ts +1 -1
  103. package/dist/es/models/licensing/v4/config/FeatureProjection.js +4 -4
  104. package/dist/es/models/licensing/v4/config/FeatureViolation.d.ts +1 -1
  105. package/dist/es/models/licensing/v4/config/FeatureViolation.js +4 -4
  106. package/dist/es/models/licensing/v4/config/GetLicenseKeyApiResponse.d.ts +1 -1
  107. package/dist/es/models/licensing/v4/config/GetLicenseKeyApiResponse.js +5 -5
  108. package/dist/es/models/licensing/v4/config/License.d.ts +1 -1
  109. package/dist/es/models/licensing/v4/config/License.js +5 -5
  110. package/dist/es/models/licensing/v4/config/LicenseCategory.js +2 -2
  111. package/dist/es/models/licensing/v4/config/LicenseClass.js +2 -2
  112. package/dist/es/models/licensing/v4/config/LicenseKey.d.ts +27 -16
  113. package/dist/es/models/licensing/v4/config/LicenseKey.js +82 -52
  114. package/dist/es/models/licensing/v4/config/LicenseKeyAssignSpec.d.ts +1 -1
  115. package/dist/es/models/licensing/v4/config/LicenseKeyAssignSpec.js +4 -4
  116. package/dist/es/models/licensing/v4/config/LicenseKeyMapping.d.ts +1 -1
  117. package/dist/es/models/licensing/v4/config/LicenseKeyMapping.js +4 -4
  118. package/dist/es/models/licensing/v4/config/LicenseKeyProjection.d.ts +4 -3
  119. package/dist/es/models/licensing/v4/config/LicenseKeyProjection.js +24 -15
  120. package/dist/es/models/licensing/v4/config/LicenseKeySubCategory.d.ts +19 -0
  121. package/dist/es/models/licensing/v4/config/LicenseKeySubCategory.js +85 -0
  122. package/dist/es/models/licensing/v4/config/LicenseProjection.d.ts +1 -1
  123. package/dist/es/models/licensing/v4/config/LicenseProjection.js +5 -5
  124. package/dist/es/models/licensing/v4/config/LicenseStateSyncSpec.d.ts +1 -1
  125. package/dist/es/models/licensing/v4/config/LicenseStateSyncSpec.js +4 -4
  126. package/dist/es/models/licensing/v4/config/LicenseType.js +10 -4
  127. package/dist/es/models/licensing/v4/config/ListAllowancesApiResponse.d.ts +1 -1
  128. package/dist/es/models/licensing/v4/config/ListAllowancesApiResponse.js +5 -5
  129. package/dist/es/models/licensing/v4/config/ListCompliancesApiResponse.d.ts +1 -1
  130. package/dist/es/models/licensing/v4/config/ListCompliancesApiResponse.js +5 -5
  131. package/dist/es/models/licensing/v4/config/ListEntitlementsApiResponse.d.ts +1 -1
  132. package/dist/es/models/licensing/v4/config/ListEntitlementsApiResponse.js +5 -5
  133. package/dist/es/models/licensing/v4/config/ListFeaturesApiResponse.d.ts +1 -1
  134. package/dist/es/models/licensing/v4/config/ListFeaturesApiResponse.js +5 -5
  135. package/dist/es/models/licensing/v4/config/ListLicenseKeysApiResponse.d.ts +1 -1
  136. package/dist/es/models/licensing/v4/config/ListLicenseKeysApiResponse.js +5 -5
  137. package/dist/es/models/licensing/v4/config/ListLicensesApiResponse.d.ts +1 -1
  138. package/dist/es/models/licensing/v4/config/ListLicensesApiResponse.js +5 -5
  139. package/dist/es/models/licensing/v4/config/ListRecommendationsApiResponse.d.ts +1 -1
  140. package/dist/es/models/licensing/v4/config/ListRecommendationsApiResponse.js +5 -5
  141. package/dist/es/models/licensing/v4/config/ListSettingsApiResponse.d.ts +1 -1
  142. package/dist/es/models/licensing/v4/config/ListSettingsApiResponse.js +5 -5
  143. package/dist/es/models/licensing/v4/config/ListViolationsApiResponse.d.ts +1 -1
  144. package/dist/es/models/licensing/v4/config/ListViolationsApiResponse.js +5 -5
  145. package/dist/es/models/licensing/v4/config/LogicalVersion.d.ts +1 -1
  146. package/dist/es/models/licensing/v4/config/LogicalVersion.js +4 -4
  147. package/dist/es/models/licensing/v4/config/Meter.js +10 -4
  148. package/dist/es/models/licensing/v4/config/OperationType.js +2 -2
  149. package/dist/es/models/licensing/v4/config/PortalSetting.d.ts +1 -1
  150. package/dist/es/models/licensing/v4/config/PortalSetting.js +4 -4
  151. package/dist/es/models/licensing/v4/config/PostPaidCategory.js +2 -2
  152. package/dist/es/models/licensing/v4/config/PostPaidConfig.d.ts +1 -1
  153. package/dist/es/models/licensing/v4/config/PostPaidConfig.js +4 -4
  154. package/dist/es/models/licensing/v4/config/ProductName.js +2 -2
  155. package/dist/es/models/licensing/v4/config/Recommendation.d.ts +1 -1
  156. package/dist/es/models/licensing/v4/config/Recommendation.js +5 -5
  157. package/dist/es/models/licensing/v4/config/RecommendationDetail.d.ts +1 -1
  158. package/dist/es/models/licensing/v4/config/RecommendationDetail.js +4 -4
  159. package/dist/es/models/licensing/v4/config/RecommendationScope.js +2 -2
  160. package/dist/es/models/licensing/v4/config/ResetScope.js +2 -2
  161. package/dist/es/models/licensing/v4/config/Scope.js +2 -2
  162. package/dist/es/models/licensing/v4/config/Service.d.ts +1 -1
  163. package/dist/es/models/licensing/v4/config/Service.js +4 -4
  164. package/dist/es/models/licensing/v4/config/ServiceProjection.d.ts +1 -1
  165. package/dist/es/models/licensing/v4/config/ServiceProjection.js +4 -4
  166. package/dist/es/models/licensing/v4/config/ServiceViolation.d.ts +1 -1
  167. package/dist/es/models/licensing/v4/config/ServiceViolation.js +4 -4
  168. package/dist/es/models/licensing/v4/config/ServiceViolationType.js +2 -2
  169. package/dist/es/models/licensing/v4/config/Setting.d.ts +1 -1
  170. package/dist/es/models/licensing/v4/config/Setting.js +5 -5
  171. package/dist/es/models/licensing/v4/config/Status.js +2 -2
  172. package/dist/es/models/licensing/v4/config/SubCategory.js +2 -2
  173. package/dist/es/models/licensing/v4/config/SyncLicenseStateApiResponse.d.ts +1 -1
  174. package/dist/es/models/licensing/v4/config/SyncLicenseStateApiResponse.js +5 -5
  175. package/dist/es/models/licensing/v4/config/SyncOperationType.js +2 -2
  176. package/dist/es/models/licensing/v4/config/ValueType.js +2 -2
  177. package/dist/es/models/licensing/v4/config/Violation.d.ts +1 -1
  178. package/dist/es/models/licensing/v4/config/Violation.js +5 -5
  179. package/dist/es/models/licensing/v4/error/AppMessage.d.ts +4 -4
  180. package/dist/es/models/licensing/v4/error/AppMessage.js +8 -8
  181. package/dist/es/models/licensing/v4/error/ErrorResponse.d.ts +1 -1
  182. package/dist/es/models/licensing/v4/error/ErrorResponse.js +5 -8
  183. package/dist/es/models/licensing/v4/error/SchemaValidationError.d.ts +1 -1
  184. package/dist/es/models/licensing/v4/error/SchemaValidationError.js +4 -4
  185. package/dist/es/models/licensing/v4/error/SchemaValidationErrorMessage.d.ts +1 -1
  186. package/dist/es/models/licensing/v4/error/SchemaValidationErrorMessage.js +4 -4
  187. package/dist/es/models/prism/v4/config/TaskReference.d.ts +4 -4
  188. package/dist/es/models/prism/v4/config/TaskReference.js +8 -8
  189. package/dist/es/models/validation/ValidationError.js +2 -2
  190. package/dist/es/utils/ValidationUtils.js +2 -2
  191. package/dist/lib/ApiClient.d.ts +7 -1
  192. package/dist/lib/ApiClient.js +16 -25
  193. package/dist/lib/Paginable.d.ts +1 -1
  194. package/dist/lib/Paginable.js +3 -3
  195. package/dist/lib/apis/enduserlicenseagreement-endpoints.d.ts +1 -1
  196. package/dist/lib/apis/enduserlicenseagreement-endpoints.js +5 -5
  197. package/dist/lib/apis/licensekeys-endpoints.d.ts +4 -20
  198. package/dist/lib/apis/licensekeys-endpoints.js +13 -27
  199. package/dist/lib/apis/licenses-endpoints.d.ts +15 -101
  200. package/dist/lib/apis/licenses-endpoints.js +36 -112
  201. package/dist/lib/index.d.ts +3 -7
  202. package/dist/lib/index.js +8 -24
  203. package/dist/lib/models/common/v1/config/Flag.d.ts +1 -1
  204. package/dist/lib/models/common/v1/config/Flag.js +3 -3
  205. package/dist/lib/models/common/v1/config/KVPair.d.ts +1 -1
  206. package/dist/lib/models/common/v1/config/KVPair.js +3 -3
  207. package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +1 -1
  208. package/dist/lib/models/common/v1/config/MapOfStringWrapper.js +3 -3
  209. package/dist/lib/models/common/v1/config/Message.d.ts +1 -1
  210. package/dist/lib/models/common/v1/config/Message.js +3 -3
  211. package/dist/lib/models/common/v1/config/MessageSeverity.js +2 -2
  212. package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +4 -4
  213. package/dist/lib/models/common/v1/config/TenantAwareModel.js +7 -7
  214. package/dist/lib/models/common/v1/response/ApiLink.d.ts +1 -1
  215. package/dist/lib/models/common/v1/response/ApiLink.js +3 -3
  216. package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +1 -1
  217. package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +3 -3
  218. package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -1
  219. package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +4 -4
  220. package/dist/lib/models/licensing/v4/agreements/Acceptance.d.ts +1 -1
  221. package/dist/lib/models/licensing/v4/agreements/Acceptance.js +4 -4
  222. package/dist/lib/models/licensing/v4/agreements/AddUserApiResponse.d.ts +1 -1
  223. package/dist/lib/models/licensing/v4/agreements/AddUserApiResponse.js +5 -5
  224. package/dist/lib/models/licensing/v4/agreements/EndUser.d.ts +1 -1
  225. package/dist/lib/models/licensing/v4/agreements/EndUser.js +4 -4
  226. package/dist/lib/models/licensing/v4/agreements/Eula.d.ts +1 -1
  227. package/dist/lib/models/licensing/v4/agreements/Eula.js +5 -5
  228. package/dist/lib/models/licensing/v4/agreements/GetEulaApiResponse.d.ts +1 -1
  229. package/dist/lib/models/licensing/v4/agreements/GetEulaApiResponse.js +5 -5
  230. package/dist/lib/models/licensing/v4/config/AddLicenseKeyApiResponse.d.ts +1 -1
  231. package/dist/lib/models/licensing/v4/config/AddLicenseKeyApiResponse.js +5 -5
  232. package/dist/lib/models/licensing/v4/config/AddLicenseKeyDryRunApiResponse.d.ts +4 -3
  233. package/dist/lib/models/licensing/v4/config/AddLicenseKeyDryRunApiResponse.js +4 -4
  234. package/dist/lib/models/licensing/v4/config/Allowance.d.ts +1 -1
  235. package/dist/lib/models/licensing/v4/config/Allowance.js +5 -5
  236. package/dist/lib/models/licensing/v4/config/AllowanceDetail.d.ts +1 -1
  237. package/dist/lib/models/licensing/v4/config/AllowanceDetail.js +4 -4
  238. package/dist/lib/models/licensing/v4/config/AllowanceDetailProjection.d.ts +1 -1
  239. package/dist/lib/models/licensing/v4/config/AllowanceDetailProjection.js +4 -4
  240. package/dist/lib/models/licensing/v4/config/AllowanceProjection.d.ts +1 -1
  241. package/dist/lib/models/licensing/v4/config/AllowanceProjection.js +5 -5
  242. package/dist/lib/models/licensing/v4/config/AssignLicenseKeysApiResponse.d.ts +1 -1
  243. package/dist/lib/models/licensing/v4/config/AssignLicenseKeysApiResponse.js +5 -5
  244. package/dist/lib/models/licensing/v4/config/BaseClusterInfo.d.ts +1 -1
  245. package/dist/lib/models/licensing/v4/config/BaseClusterInfo.js +5 -5
  246. package/dist/lib/models/licensing/v4/config/BaseLicenseInfo.d.ts +1 -1
  247. package/dist/lib/models/licensing/v4/config/BaseLicenseInfo.js +5 -5
  248. package/dist/lib/models/licensing/v4/config/BillingPlan.js +2 -2
  249. package/dist/lib/models/licensing/v4/config/CapacityViolation.d.ts +1 -1
  250. package/dist/lib/models/licensing/v4/config/CapacityViolation.js +4 -4
  251. package/dist/lib/models/licensing/v4/config/ClusterLicenseKeyMapping.d.ts +1 -1
  252. package/dist/lib/models/licensing/v4/config/ClusterLicenseKeyMapping.js +4 -4
  253. package/dist/lib/models/licensing/v4/config/ClusterLicenseKeyMappingProjection.d.ts +1 -1
  254. package/dist/lib/models/licensing/v4/config/ClusterLicenseKeyMappingProjection.js +4 -4
  255. package/dist/lib/models/licensing/v4/config/ClusterType.js +2 -2
  256. package/dist/lib/models/licensing/v4/config/Compliance.d.ts +1 -1
  257. package/dist/lib/models/licensing/v4/config/Compliance.js +5 -5
  258. package/dist/lib/models/licensing/v4/config/ComplianceProjection.d.ts +1 -1
  259. package/dist/lib/models/licensing/v4/config/ComplianceProjection.js +5 -5
  260. package/dist/lib/models/licensing/v4/config/Consumption.d.ts +1 -1
  261. package/dist/lib/models/licensing/v4/config/Consumption.js +4 -4
  262. package/dist/lib/models/licensing/v4/config/ConsumptionProjection.d.ts +1 -1
  263. package/dist/lib/models/licensing/v4/config/ConsumptionProjection.js +4 -4
  264. package/dist/lib/models/licensing/v4/config/ConsumptionType.js +2 -2
  265. package/dist/lib/models/licensing/v4/config/DeleteLicenseKeyApiResponse.d.ts +1 -1
  266. package/dist/lib/models/licensing/v4/config/DeleteLicenseKeyApiResponse.js +5 -5
  267. package/dist/lib/models/licensing/v4/config/DryRunCheck.d.ts +1 -1
  268. package/dist/lib/models/licensing/v4/config/DryRunCheck.js +7 -4
  269. package/dist/lib/models/licensing/v4/config/DryRunStatus.js +2 -2
  270. package/dist/lib/models/licensing/v4/config/DryRunValidationResult.d.ts +1 -1
  271. package/dist/lib/models/licensing/v4/config/DryRunValidationResult.js +4 -4
  272. package/dist/lib/models/licensing/v4/config/EnforcementActions.js +2 -2
  273. package/dist/lib/models/licensing/v4/config/EnforcementLevel.js +2 -2
  274. package/dist/lib/models/licensing/v4/config/EnforcementPolicy.js +2 -2
  275. package/dist/lib/models/licensing/v4/config/Entitlement.d.ts +1 -1
  276. package/dist/lib/models/licensing/v4/config/Entitlement.js +5 -5
  277. package/dist/lib/models/licensing/v4/config/EntitlementDetail.d.ts +1 -1
  278. package/dist/lib/models/licensing/v4/config/EntitlementDetail.js +4 -4
  279. package/dist/lib/models/licensing/v4/config/EntitlementDetailProjection.d.ts +1 -1
  280. package/dist/lib/models/licensing/v4/config/EntitlementDetailProjection.js +4 -4
  281. package/dist/lib/models/licensing/v4/config/EntitlementProjection.d.ts +1 -1
  282. package/dist/lib/models/licensing/v4/config/EntitlementProjection.js +5 -5
  283. package/dist/lib/models/licensing/v4/config/ExpiredLicense.d.ts +1 -1
  284. package/dist/lib/models/licensing/v4/config/ExpiredLicense.js +5 -5
  285. package/dist/lib/models/licensing/v4/config/Feature.d.ts +1 -1
  286. package/dist/lib/models/licensing/v4/config/Feature.js +5 -5
  287. package/dist/lib/models/licensing/v4/config/FeatureDetail.d.ts +1 -1
  288. package/dist/lib/models/licensing/v4/config/FeatureDetail.js +4 -4
  289. package/dist/lib/models/licensing/v4/config/FeatureProjection.d.ts +1 -1
  290. package/dist/lib/models/licensing/v4/config/FeatureProjection.js +4 -4
  291. package/dist/lib/models/licensing/v4/config/FeatureViolation.d.ts +1 -1
  292. package/dist/lib/models/licensing/v4/config/FeatureViolation.js +4 -4
  293. package/dist/lib/models/licensing/v4/config/GetLicenseKeyApiResponse.d.ts +1 -1
  294. package/dist/lib/models/licensing/v4/config/GetLicenseKeyApiResponse.js +5 -5
  295. package/dist/lib/models/licensing/v4/config/License.d.ts +1 -1
  296. package/dist/lib/models/licensing/v4/config/License.js +5 -5
  297. package/dist/lib/models/licensing/v4/config/LicenseCategory.js +2 -2
  298. package/dist/lib/models/licensing/v4/config/LicenseClass.js +2 -2
  299. package/dist/lib/models/licensing/v4/config/LicenseKey.d.ts +27 -16
  300. package/dist/lib/models/licensing/v4/config/LicenseKey.js +82 -52
  301. package/dist/lib/models/licensing/v4/config/LicenseKeyAssignSpec.d.ts +1 -1
  302. package/dist/lib/models/licensing/v4/config/LicenseKeyAssignSpec.js +4 -4
  303. package/dist/lib/models/licensing/v4/config/LicenseKeyMapping.d.ts +1 -1
  304. package/dist/lib/models/licensing/v4/config/LicenseKeyMapping.js +4 -4
  305. package/dist/lib/models/licensing/v4/config/LicenseKeyProjection.d.ts +4 -3
  306. package/dist/lib/models/licensing/v4/config/LicenseKeyProjection.js +24 -15
  307. package/dist/lib/models/licensing/v4/config/LicenseKeySubCategory.d.ts +19 -0
  308. package/dist/lib/models/licensing/v4/config/LicenseKeySubCategory.js +85 -0
  309. package/dist/lib/models/licensing/v4/config/LicenseProjection.d.ts +1 -1
  310. package/dist/lib/models/licensing/v4/config/LicenseProjection.js +5 -5
  311. package/dist/lib/models/licensing/v4/config/LicenseStateSyncSpec.d.ts +1 -1
  312. package/dist/lib/models/licensing/v4/config/LicenseStateSyncSpec.js +4 -4
  313. package/dist/lib/models/licensing/v4/config/LicenseType.js +10 -4
  314. package/dist/lib/models/licensing/v4/config/ListAllowancesApiResponse.d.ts +1 -1
  315. package/dist/lib/models/licensing/v4/config/ListAllowancesApiResponse.js +5 -5
  316. package/dist/lib/models/licensing/v4/config/ListCompliancesApiResponse.d.ts +1 -1
  317. package/dist/lib/models/licensing/v4/config/ListCompliancesApiResponse.js +5 -5
  318. package/dist/lib/models/licensing/v4/config/ListEntitlementsApiResponse.d.ts +1 -1
  319. package/dist/lib/models/licensing/v4/config/ListEntitlementsApiResponse.js +5 -5
  320. package/dist/lib/models/licensing/v4/config/ListFeaturesApiResponse.d.ts +1 -1
  321. package/dist/lib/models/licensing/v4/config/ListFeaturesApiResponse.js +5 -5
  322. package/dist/lib/models/licensing/v4/config/ListLicenseKeysApiResponse.d.ts +1 -1
  323. package/dist/lib/models/licensing/v4/config/ListLicenseKeysApiResponse.js +5 -5
  324. package/dist/lib/models/licensing/v4/config/ListLicensesApiResponse.d.ts +1 -1
  325. package/dist/lib/models/licensing/v4/config/ListLicensesApiResponse.js +5 -5
  326. package/dist/lib/models/licensing/v4/config/ListRecommendationsApiResponse.d.ts +1 -1
  327. package/dist/lib/models/licensing/v4/config/ListRecommendationsApiResponse.js +5 -5
  328. package/dist/lib/models/licensing/v4/config/ListSettingsApiResponse.d.ts +1 -1
  329. package/dist/lib/models/licensing/v4/config/ListSettingsApiResponse.js +5 -5
  330. package/dist/lib/models/licensing/v4/config/ListViolationsApiResponse.d.ts +1 -1
  331. package/dist/lib/models/licensing/v4/config/ListViolationsApiResponse.js +5 -5
  332. package/dist/lib/models/licensing/v4/config/LogicalVersion.d.ts +1 -1
  333. package/dist/lib/models/licensing/v4/config/LogicalVersion.js +4 -4
  334. package/dist/lib/models/licensing/v4/config/Meter.js +10 -4
  335. package/dist/lib/models/licensing/v4/config/OperationType.js +2 -2
  336. package/dist/lib/models/licensing/v4/config/PortalSetting.d.ts +1 -1
  337. package/dist/lib/models/licensing/v4/config/PortalSetting.js +4 -4
  338. package/dist/lib/models/licensing/v4/config/PostPaidCategory.js +2 -2
  339. package/dist/lib/models/licensing/v4/config/PostPaidConfig.d.ts +1 -1
  340. package/dist/lib/models/licensing/v4/config/PostPaidConfig.js +4 -4
  341. package/dist/lib/models/licensing/v4/config/ProductName.js +2 -2
  342. package/dist/lib/models/licensing/v4/config/Recommendation.d.ts +1 -1
  343. package/dist/lib/models/licensing/v4/config/Recommendation.js +5 -5
  344. package/dist/lib/models/licensing/v4/config/RecommendationDetail.d.ts +1 -1
  345. package/dist/lib/models/licensing/v4/config/RecommendationDetail.js +4 -4
  346. package/dist/lib/models/licensing/v4/config/RecommendationScope.js +2 -2
  347. package/dist/lib/models/licensing/v4/config/ResetScope.js +2 -2
  348. package/dist/lib/models/licensing/v4/config/Scope.js +2 -2
  349. package/dist/lib/models/licensing/v4/config/Service.d.ts +1 -1
  350. package/dist/lib/models/licensing/v4/config/Service.js +4 -4
  351. package/dist/lib/models/licensing/v4/config/ServiceProjection.d.ts +1 -1
  352. package/dist/lib/models/licensing/v4/config/ServiceProjection.js +4 -4
  353. package/dist/lib/models/licensing/v4/config/ServiceViolation.d.ts +1 -1
  354. package/dist/lib/models/licensing/v4/config/ServiceViolation.js +4 -4
  355. package/dist/lib/models/licensing/v4/config/ServiceViolationType.js +2 -2
  356. package/dist/lib/models/licensing/v4/config/Setting.d.ts +1 -1
  357. package/dist/lib/models/licensing/v4/config/Setting.js +5 -5
  358. package/dist/lib/models/licensing/v4/config/Status.js +2 -2
  359. package/dist/lib/models/licensing/v4/config/SubCategory.js +2 -2
  360. package/dist/lib/models/licensing/v4/config/SyncLicenseStateApiResponse.d.ts +1 -1
  361. package/dist/lib/models/licensing/v4/config/SyncLicenseStateApiResponse.js +5 -5
  362. package/dist/lib/models/licensing/v4/config/SyncOperationType.js +2 -2
  363. package/dist/lib/models/licensing/v4/config/ValueType.js +2 -2
  364. package/dist/lib/models/licensing/v4/config/Violation.d.ts +1 -1
  365. package/dist/lib/models/licensing/v4/config/Violation.js +5 -5
  366. package/dist/lib/models/licensing/v4/error/AppMessage.d.ts +4 -4
  367. package/dist/lib/models/licensing/v4/error/AppMessage.js +8 -8
  368. package/dist/lib/models/licensing/v4/error/ErrorResponse.d.ts +1 -1
  369. package/dist/lib/models/licensing/v4/error/ErrorResponse.js +5 -8
  370. package/dist/lib/models/licensing/v4/error/SchemaValidationError.d.ts +1 -1
  371. package/dist/lib/models/licensing/v4/error/SchemaValidationError.js +4 -4
  372. package/dist/lib/models/licensing/v4/error/SchemaValidationErrorMessage.d.ts +1 -1
  373. package/dist/lib/models/licensing/v4/error/SchemaValidationErrorMessage.js +4 -4
  374. package/dist/lib/models/prism/v4/config/TaskReference.d.ts +4 -4
  375. package/dist/lib/models/prism/v4/config/TaskReference.js +8 -8
  376. package/dist/lib/models/validation/ValidationError.js +2 -2
  377. package/dist/lib/utils/ValidationUtils.js +2 -2
  378. package/package.json +2 -2
  379. package/dist/es/models/licensing/v4/agreements/UpdateEulaApiResponse.d.ts +0 -101
  380. package/dist/es/models/licensing/v4/agreements/UpdateEulaApiResponse.js +0 -365
  381. package/dist/es/models/licensing/v4/config/ResetLicenseStateApiResponse.d.ts +0 -102
  382. package/dist/es/models/licensing/v4/config/ResetLicenseStateApiResponse.js +0 -365
  383. package/dist/es/models/licensing/v4/config/UpdatePortalSettingApiResponse.d.ts +0 -99
  384. package/dist/es/models/licensing/v4/config/UpdatePortalSettingApiResponse.js +0 -365
  385. package/dist/lib/models/licensing/v4/agreements/UpdateEulaApiResponse.d.ts +0 -101
  386. package/dist/lib/models/licensing/v4/agreements/UpdateEulaApiResponse.js +0 -365
  387. package/dist/lib/models/licensing/v4/config/ResetLicenseStateApiResponse.d.ts +0 -102
  388. package/dist/lib/models/licensing/v4/config/ResetLicenseStateApiResponse.js +0 -365
  389. package/dist/lib/models/licensing/v4/config/UpdatePortalSettingApiResponse.d.ts +0 -99
  390. 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.0.1
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: 16.9.0.8546-RELEASE
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.0.1
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.r0"
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.getExpiryDate() !== 'undefined' && this.getExpiryDate() !== null ? {
134
- 'expiryDate': _assertClassBrand(_LicenseKeyProjection_brand, this, _handleDateType).call(this, this.getExpiryDate(), true)
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.getAddons() !== 'undefined' && this.getAddons() !== null ? {
140
- 'addons': this.getAddons()
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.expiryDate = undefined;
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 add-on categories associated with this license key.
343
+ * Attribute for capturing groupId associated with this license key.
335
344
  * @memberof LicenseKeyProjection
336
345
  */
337
- _LicenseKey2["default"].prototype.addons = undefined;
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 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).
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;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The LicenseProjection model module.
3
3
  * @module Ntnx/LicenseProjection
4
- * @version 4.0.1
4
+ * @version 4.1.1
5
5
  * @class LicenseProjection
6
6
  * @extends License
7
7
  */
@@ -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.0.1
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: 16.9.0.8546-RELEASE
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.0.1
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.r0"
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 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).
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;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The LicenseStateSyncSpec model module.
3
3
  * @module Ntnx/LicenseStateSyncSpec
4
- * @version 4.0.1
4
+ * @version 4.1.1
5
5
  * @class LicenseStateSyncSpec
6
6
  */
7
7
  export default class LicenseStateSyncSpec {
@@ -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.0.1
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: 16.9.0.8546-RELEASE
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.0.1
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.r0"
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.0.1
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: 16.9.0.8546-RELEASE
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);
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The ListAllowancesApiResponse model module.
3
3
  * @module Ntnx/ListAllowancesApiResponse
4
- * @version 4.0.1
4
+ * @version 4.1.1
5
5
  * @class ListAllowancesApiResponse
6
6
  */
7
7
  export default class ListAllowancesApiResponse extends Paginable {
@@ -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.0.1
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: 16.9.0.8546-RELEASE
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.0.1
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.0/config/allowances Get operation
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.r0"
79
+ '$fv': "v4.r1"
80
80
  };
81
81
  /** @type {object<string, any>} */
82
82
  _this.$unknownFields = {};
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The ListCompliancesApiResponse model module.
3
3
  * @module Ntnx/ListCompliancesApiResponse
4
- * @version 4.0.1
4
+ * @version 4.1.1
5
5
  * @class ListCompliancesApiResponse
6
6
  */
7
7
  export default class ListCompliancesApiResponse extends Paginable {
@@ -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.0.1
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: 16.9.0.8546-RELEASE
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.0.1
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.0/config/compliances Get operation
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.r0"
79
+ '$fv': "v4.r1"
80
80
  };
81
81
  /** @type {object<string, any>} */
82
82
  _this.$unknownFields = {};
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The ListEntitlementsApiResponse model module.
3
3
  * @module Ntnx/ListEntitlementsApiResponse
4
- * @version 4.0.1
4
+ * @version 4.1.1
5
5
  * @class ListEntitlementsApiResponse
6
6
  */
7
7
  export default class ListEntitlementsApiResponse extends Paginable {
@@ -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.0.1
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: 16.9.0.8546-RELEASE
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.0.1
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.0/config/entitlements Get operation
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.r0"
79
+ '$fv': "v4.r1"
80
80
  };
81
81
  /** @type {object<string, any>} */
82
82
  _this.$unknownFields = {};
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The ListFeaturesApiResponse model module.
3
3
  * @module Ntnx/ListFeaturesApiResponse
4
- * @version 4.0.1
4
+ * @version 4.1.1
5
5
  * @class ListFeaturesApiResponse
6
6
  */
7
7
  export default class ListFeaturesApiResponse extends Paginable {
@@ -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.0.1
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: 16.9.0.8546-RELEASE
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.0.1
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.0/config/features Get operation
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.r0"
79
+ '$fv': "v4.r1"
80
80
  };
81
81
  /** @type {object<string, any>} */
82
82
  _this.$unknownFields = {};
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The ListLicenseKeysApiResponse model module.
3
3
  * @module Ntnx/ListLicenseKeysApiResponse
4
- * @version 4.0.1
4
+ * @version 4.1.1
5
5
  * @class ListLicenseKeysApiResponse
6
6
  */
7
7
  export default class ListLicenseKeysApiResponse extends Paginable {
@@ -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.0.1
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: 16.9.0.8546-RELEASE
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.0.1
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.0/config/license-keys Get operation
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.r0"
79
+ '$fv': "v4.r1"
80
80
  };
81
81
  /** @type {object<string, any>} */
82
82
  _this.$unknownFields = {};
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The ListLicensesApiResponse model module.
3
3
  * @module Ntnx/ListLicensesApiResponse
4
- * @version 4.0.1
4
+ * @version 4.1.1
5
5
  * @class ListLicensesApiResponse
6
6
  */
7
7
  export default class ListLicensesApiResponse extends Paginable {