@nutanix-scratch/licensing-js-client 4.0.1 → 4.2.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 (430) hide show
  1. package/README.md +20 -19
  2. package/dist/Ntnx-Licensing-js-client-prod.js +1 -1
  3. package/dist/Ntnx-Licensing-js-client.js +265 -166
  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 +7 -22
  11. package/dist/es/apis/licensekeys-endpoints.js +16 -30
  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 +27 -9
  15. package/dist/es/index.js +92 -20
  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 +14 -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/AssociationType.d.ts +19 -0
  58. package/dist/es/models/licensing/v4/config/AssociationType.js +85 -0
  59. package/dist/es/models/licensing/v4/config/BaseClusterInfo.d.ts +1 -1
  60. package/dist/es/models/licensing/v4/config/BaseClusterInfo.js +5 -5
  61. package/dist/es/models/licensing/v4/config/BaseLicenseInfo.d.ts +1 -1
  62. package/dist/es/models/licensing/v4/config/BaseLicenseInfo.js +5 -5
  63. package/dist/es/models/licensing/v4/config/BillingPlan.js +2 -2
  64. package/dist/es/models/licensing/v4/config/CapacityViolation.d.ts +1 -1
  65. package/dist/es/models/licensing/v4/config/CapacityViolation.js +4 -4
  66. package/dist/es/models/licensing/v4/config/ClusterLicenseKeyMapping.d.ts +1 -1
  67. package/dist/es/models/licensing/v4/config/ClusterLicenseKeyMapping.js +4 -4
  68. package/dist/es/models/licensing/v4/config/ClusterLicenseKeyMappingProjection.d.ts +1 -1
  69. package/dist/es/models/licensing/v4/config/ClusterLicenseKeyMappingProjection.js +4 -4
  70. package/dist/es/models/licensing/v4/config/ClusterType.js +2 -2
  71. package/dist/es/models/licensing/v4/config/Compliance.d.ts +1 -1
  72. package/dist/es/models/licensing/v4/config/Compliance.js +5 -5
  73. package/dist/es/models/licensing/v4/config/ComplianceProjection.d.ts +1 -1
  74. package/dist/es/models/licensing/v4/config/ComplianceProjection.js +5 -5
  75. package/dist/es/models/licensing/v4/config/Consumption.d.ts +1 -1
  76. package/dist/es/models/licensing/v4/config/Consumption.js +4 -4
  77. package/dist/es/models/licensing/v4/config/ConsumptionProjection.d.ts +1 -1
  78. package/dist/es/models/licensing/v4/config/ConsumptionProjection.js +4 -4
  79. package/dist/es/models/licensing/v4/config/ConsumptionType.js +2 -2
  80. package/dist/es/models/licensing/v4/config/DeleteLicenseKeyApiResponse.d.ts +1 -1
  81. package/dist/es/models/licensing/v4/config/DeleteLicenseKeyApiResponse.js +5 -5
  82. package/dist/es/models/licensing/v4/config/DryRunCheck.d.ts +1 -1
  83. package/dist/es/models/licensing/v4/config/DryRunCheck.js +7 -4
  84. package/dist/es/models/licensing/v4/config/DryRunStatus.js +2 -2
  85. package/dist/es/models/licensing/v4/config/DryRunValidationResult.d.ts +1 -1
  86. package/dist/es/models/licensing/v4/config/DryRunValidationResult.js +4 -4
  87. package/dist/es/models/licensing/v4/config/EnforcementActions.js +2 -2
  88. package/dist/es/models/licensing/v4/config/EnforcementLevel.js +2 -2
  89. package/dist/es/models/licensing/v4/config/EnforcementPolicy.js +2 -2
  90. package/dist/es/models/licensing/v4/config/Entitlement.d.ts +1 -1
  91. package/dist/es/models/licensing/v4/config/Entitlement.js +5 -5
  92. package/dist/es/models/licensing/v4/config/EntitlementDetail.d.ts +1 -1
  93. package/dist/es/models/licensing/v4/config/EntitlementDetail.js +4 -4
  94. package/dist/es/models/licensing/v4/config/EntitlementDetailProjection.d.ts +1 -1
  95. package/dist/es/models/licensing/v4/config/EntitlementDetailProjection.js +4 -4
  96. package/dist/es/models/licensing/v4/config/EntitlementProjection.d.ts +1 -1
  97. package/dist/es/models/licensing/v4/config/EntitlementProjection.js +5 -5
  98. package/dist/es/models/licensing/v4/config/ExpiredLicense.d.ts +1 -1
  99. package/dist/es/models/licensing/v4/config/ExpiredLicense.js +5 -5
  100. package/dist/es/models/licensing/v4/config/Feature.d.ts +1 -1
  101. package/dist/es/models/licensing/v4/config/Feature.js +5 -5
  102. package/dist/es/models/licensing/v4/config/FeatureDetail.d.ts +1 -1
  103. package/dist/es/models/licensing/v4/config/FeatureDetail.js +4 -4
  104. package/dist/es/models/licensing/v4/config/FeatureProjection.d.ts +1 -1
  105. package/dist/es/models/licensing/v4/config/FeatureProjection.js +4 -4
  106. package/dist/es/models/licensing/v4/config/FeatureViolation.d.ts +1 -1
  107. package/dist/es/models/licensing/v4/config/FeatureViolation.js +4 -4
  108. package/dist/es/models/licensing/v4/config/GetLicenseKeyApiResponse.d.ts +1 -1
  109. package/dist/es/models/licensing/v4/config/GetLicenseKeyApiResponse.js +5 -5
  110. package/dist/es/models/licensing/v4/config/License.d.ts +1 -1
  111. package/dist/es/models/licensing/v4/config/License.js +5 -5
  112. package/dist/es/models/licensing/v4/config/LicenseCategory.js +22 -4
  113. package/dist/es/models/licensing/v4/config/LicenseClass.js +2 -2
  114. package/dist/es/models/licensing/v4/config/LicenseKey.d.ts +59 -16
  115. package/dist/es/models/licensing/v4/config/LicenseKey.js +166 -52
  116. package/dist/{lib/models/licensing/v4/config/LicenseKeyAssignSpec.d.ts → es/models/licensing/v4/config/LicenseKeyAssignment.d.ts} +8 -8
  117. package/dist/{lib/models/licensing/v4/config/LicenseKeyAssignSpec.js → es/models/licensing/v4/config/LicenseKeyAssignment.js} +27 -27
  118. package/dist/es/models/licensing/v4/config/LicenseKeyAssignmentSpec.d.ts +75 -0
  119. package/dist/es/models/licensing/v4/config/LicenseKeyAssignmentSpec.js +296 -0
  120. package/dist/es/models/licensing/v4/config/LicenseKeyAssociation.d.ts +104 -0
  121. package/dist/es/models/licensing/v4/{agreements/UpdateEulaApiResponse.js → config/LicenseKeyAssociation.js} +166 -128
  122. package/dist/es/models/licensing/v4/config/LicenseKeyAssociationProjection.d.ts +16 -0
  123. package/dist/es/models/licensing/v4/config/LicenseKeyAssociationProjection.js +164 -0
  124. package/dist/es/models/licensing/v4/config/LicenseKeyAssociationSpec.d.ts +71 -0
  125. package/dist/es/models/licensing/v4/config/LicenseKeyAssociationSpec.js +296 -0
  126. package/dist/es/models/licensing/v4/config/LicenseKeyMapping.d.ts +1 -1
  127. package/dist/es/models/licensing/v4/config/LicenseKeyMapping.js +4 -4
  128. package/dist/es/models/licensing/v4/config/LicenseKeyProjection.d.ts +36 -4
  129. package/dist/es/models/licensing/v4/config/LicenseKeyProjection.js +89 -15
  130. package/dist/es/models/licensing/v4/config/LicenseKeySubCategory.d.ts +19 -0
  131. package/dist/es/models/licensing/v4/config/LicenseKeySubCategory.js +85 -0
  132. package/dist/es/models/licensing/v4/config/LicenseProjection.d.ts +1 -1
  133. package/dist/es/models/licensing/v4/config/LicenseProjection.js +5 -5
  134. package/dist/es/models/licensing/v4/config/LicenseStateSyncSpec.d.ts +1 -1
  135. package/dist/es/models/licensing/v4/config/LicenseStateSyncSpec.js +4 -4
  136. package/dist/es/models/licensing/v4/config/LicenseType.js +22 -4
  137. package/dist/es/models/licensing/v4/config/ListAllowancesApiResponse.d.ts +1 -1
  138. package/dist/es/models/licensing/v4/config/ListAllowancesApiResponse.js +5 -5
  139. package/dist/es/models/licensing/v4/config/ListCompliancesApiResponse.d.ts +1 -1
  140. package/dist/es/models/licensing/v4/config/ListCompliancesApiResponse.js +5 -5
  141. package/dist/es/models/licensing/v4/config/ListEntitlementsApiResponse.d.ts +1 -1
  142. package/dist/es/models/licensing/v4/config/ListEntitlementsApiResponse.js +5 -5
  143. package/dist/es/models/licensing/v4/config/ListFeaturesApiResponse.d.ts +1 -1
  144. package/dist/es/models/licensing/v4/config/ListFeaturesApiResponse.js +5 -5
  145. package/dist/es/models/licensing/v4/config/ListLicenseKeysApiResponse.d.ts +1 -1
  146. package/dist/es/models/licensing/v4/config/ListLicenseKeysApiResponse.js +5 -5
  147. package/dist/es/models/licensing/v4/config/ListLicensesApiResponse.d.ts +1 -1
  148. package/dist/es/models/licensing/v4/config/ListLicensesApiResponse.js +5 -5
  149. package/dist/es/models/licensing/v4/config/ListRecommendationsApiResponse.d.ts +1 -1
  150. package/dist/es/models/licensing/v4/config/ListRecommendationsApiResponse.js +5 -5
  151. package/dist/es/models/licensing/v4/config/ListSettingsApiResponse.d.ts +1 -1
  152. package/dist/es/models/licensing/v4/config/ListSettingsApiResponse.js +5 -5
  153. package/dist/es/models/licensing/v4/config/ListViolationsApiResponse.d.ts +1 -1
  154. package/dist/es/models/licensing/v4/config/ListViolationsApiResponse.js +5 -5
  155. package/dist/es/models/licensing/v4/config/LogicalVersion.d.ts +1 -1
  156. package/dist/es/models/licensing/v4/config/LogicalVersion.js +4 -4
  157. package/dist/es/models/licensing/v4/config/Meter.js +10 -4
  158. package/dist/es/models/licensing/v4/config/OperationType.js +2 -2
  159. package/dist/es/models/licensing/v4/config/PortalSetting.d.ts +1 -1
  160. package/dist/es/models/licensing/v4/config/PortalSetting.js +4 -4
  161. package/dist/es/models/licensing/v4/config/PostPaidCategory.js +2 -2
  162. package/dist/es/models/licensing/v4/config/PostPaidConfig.d.ts +1 -1
  163. package/dist/es/models/licensing/v4/config/PostPaidConfig.js +4 -4
  164. package/dist/es/models/licensing/v4/config/ProductName.js +2 -2
  165. package/dist/es/models/licensing/v4/config/ReclaimType.d.ts +19 -0
  166. package/dist/es/models/licensing/v4/config/ReclaimType.js +85 -0
  167. package/dist/es/models/licensing/v4/config/Recommendation.d.ts +1 -1
  168. package/dist/es/models/licensing/v4/config/Recommendation.js +5 -5
  169. package/dist/es/models/licensing/v4/config/RecommendationDetail.d.ts +1 -1
  170. package/dist/es/models/licensing/v4/config/RecommendationDetail.js +4 -4
  171. package/dist/es/models/licensing/v4/config/RecommendationScope.js +2 -2
  172. package/dist/es/models/licensing/v4/config/ResetScope.js +2 -2
  173. package/dist/es/models/licensing/v4/config/Scope.js +2 -2
  174. package/dist/es/models/licensing/v4/config/Service.d.ts +1 -1
  175. package/dist/es/models/licensing/v4/config/Service.js +4 -4
  176. package/dist/es/models/licensing/v4/config/ServiceProjection.d.ts +1 -1
  177. package/dist/es/models/licensing/v4/config/ServiceProjection.js +4 -4
  178. package/dist/es/models/licensing/v4/config/ServiceViolation.d.ts +1 -1
  179. package/dist/es/models/licensing/v4/config/ServiceViolation.js +4 -4
  180. package/dist/es/models/licensing/v4/config/ServiceViolationType.js +2 -2
  181. package/dist/es/models/licensing/v4/config/Setting.d.ts +1 -1
  182. package/dist/es/models/licensing/v4/config/Setting.js +5 -5
  183. package/dist/es/models/licensing/v4/config/Status.js +2 -2
  184. package/dist/es/models/licensing/v4/config/SubCategory.js +2 -2
  185. package/dist/es/models/licensing/v4/config/SyncLicenseStateApiResponse.d.ts +1 -1
  186. package/dist/es/models/licensing/v4/config/SyncLicenseStateApiResponse.js +5 -5
  187. package/dist/es/models/licensing/v4/config/SyncOperationType.js +2 -2
  188. package/dist/es/models/licensing/v4/config/Trial.d.ts +93 -0
  189. package/dist/es/models/licensing/v4/config/{ResetLicenseStateApiResponse.js → Trial.js} +194 -138
  190. package/dist/es/models/licensing/v4/config/TrialCategory.d.ts +19 -0
  191. package/dist/es/models/licensing/v4/config/TrialCategory.js +79 -0
  192. package/dist/es/models/licensing/v4/config/TrialProjection.d.ts +12 -0
  193. package/dist/es/models/licensing/v4/config/TrialProjection.js +159 -0
  194. package/dist/es/models/licensing/v4/config/TrialStatus.d.ts +19 -0
  195. package/dist/es/models/licensing/v4/config/TrialStatus.js +85 -0
  196. package/dist/es/models/licensing/v4/config/TrialType.d.ts +19 -0
  197. package/dist/es/models/licensing/v4/config/TrialType.js +79 -0
  198. package/dist/es/models/licensing/v4/config/ValueType.js +2 -2
  199. package/dist/es/models/licensing/v4/config/Violation.d.ts +1 -1
  200. package/dist/es/models/licensing/v4/config/Violation.js +5 -5
  201. package/dist/es/models/licensing/v4/error/AppMessage.d.ts +4 -4
  202. package/dist/es/models/licensing/v4/error/AppMessage.js +8 -8
  203. package/dist/es/models/licensing/v4/error/ErrorResponse.d.ts +1 -1
  204. package/dist/es/models/licensing/v4/error/ErrorResponse.js +5 -8
  205. package/dist/es/models/licensing/v4/error/SchemaValidationError.d.ts +1 -1
  206. package/dist/es/models/licensing/v4/error/SchemaValidationError.js +4 -4
  207. package/dist/es/models/licensing/v4/error/SchemaValidationErrorMessage.d.ts +1 -1
  208. package/dist/es/models/licensing/v4/error/SchemaValidationErrorMessage.js +4 -4
  209. package/dist/es/models/prism/v4/config/TaskReference.d.ts +4 -4
  210. package/dist/es/models/prism/v4/config/TaskReference.js +8 -8
  211. package/dist/es/models/validation/ValidationError.js +2 -2
  212. package/dist/es/utils/ValidationUtils.js +2 -2
  213. package/dist/lib/ApiClient.d.ts +7 -1
  214. package/dist/lib/ApiClient.js +16 -25
  215. package/dist/lib/Paginable.d.ts +1 -1
  216. package/dist/lib/Paginable.js +3 -3
  217. package/dist/lib/apis/enduserlicenseagreement-endpoints.d.ts +1 -1
  218. package/dist/lib/apis/enduserlicenseagreement-endpoints.js +5 -5
  219. package/dist/lib/apis/licensekeys-endpoints.d.ts +7 -22
  220. package/dist/lib/apis/licensekeys-endpoints.js +16 -30
  221. package/dist/lib/apis/licenses-endpoints.d.ts +15 -101
  222. package/dist/lib/apis/licenses-endpoints.js +36 -112
  223. package/dist/lib/index.d.ts +27 -9
  224. package/dist/lib/index.js +92 -20
  225. package/dist/lib/models/common/v1/config/Flag.d.ts +1 -1
  226. package/dist/lib/models/common/v1/config/Flag.js +3 -3
  227. package/dist/lib/models/common/v1/config/KVPair.d.ts +1 -1
  228. package/dist/lib/models/common/v1/config/KVPair.js +3 -3
  229. package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +1 -1
  230. package/dist/lib/models/common/v1/config/MapOfStringWrapper.js +3 -3
  231. package/dist/lib/models/common/v1/config/Message.d.ts +1 -1
  232. package/dist/lib/models/common/v1/config/Message.js +3 -3
  233. package/dist/lib/models/common/v1/config/MessageSeverity.js +2 -2
  234. package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +4 -4
  235. package/dist/lib/models/common/v1/config/TenantAwareModel.js +7 -7
  236. package/dist/lib/models/common/v1/response/ApiLink.d.ts +1 -1
  237. package/dist/lib/models/common/v1/response/ApiLink.js +3 -3
  238. package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +1 -1
  239. package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +3 -3
  240. package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -1
  241. package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +4 -4
  242. package/dist/lib/models/licensing/v4/agreements/Acceptance.d.ts +1 -1
  243. package/dist/lib/models/licensing/v4/agreements/Acceptance.js +4 -4
  244. package/dist/lib/models/licensing/v4/agreements/AddUserApiResponse.d.ts +1 -1
  245. package/dist/lib/models/licensing/v4/agreements/AddUserApiResponse.js +5 -5
  246. package/dist/lib/models/licensing/v4/agreements/EndUser.d.ts +1 -1
  247. package/dist/lib/models/licensing/v4/agreements/EndUser.js +4 -4
  248. package/dist/lib/models/licensing/v4/agreements/Eula.d.ts +1 -1
  249. package/dist/lib/models/licensing/v4/agreements/Eula.js +5 -5
  250. package/dist/lib/models/licensing/v4/agreements/GetEulaApiResponse.d.ts +1 -1
  251. package/dist/lib/models/licensing/v4/agreements/GetEulaApiResponse.js +5 -5
  252. package/dist/lib/models/licensing/v4/config/AddLicenseKeyApiResponse.d.ts +1 -1
  253. package/dist/lib/models/licensing/v4/config/AddLicenseKeyApiResponse.js +5 -5
  254. package/dist/lib/models/licensing/v4/config/AddLicenseKeyDryRunApiResponse.d.ts +14 -3
  255. package/dist/lib/models/licensing/v4/config/AddLicenseKeyDryRunApiResponse.js +4 -4
  256. package/dist/lib/models/licensing/v4/config/Allowance.d.ts +1 -1
  257. package/dist/lib/models/licensing/v4/config/Allowance.js +5 -5
  258. package/dist/lib/models/licensing/v4/config/AllowanceDetail.d.ts +1 -1
  259. package/dist/lib/models/licensing/v4/config/AllowanceDetail.js +4 -4
  260. package/dist/lib/models/licensing/v4/config/AllowanceDetailProjection.d.ts +1 -1
  261. package/dist/lib/models/licensing/v4/config/AllowanceDetailProjection.js +4 -4
  262. package/dist/lib/models/licensing/v4/config/AllowanceProjection.d.ts +1 -1
  263. package/dist/lib/models/licensing/v4/config/AllowanceProjection.js +5 -5
  264. package/dist/lib/models/licensing/v4/config/AssignLicenseKeysApiResponse.d.ts +1 -1
  265. package/dist/lib/models/licensing/v4/config/AssignLicenseKeysApiResponse.js +5 -5
  266. package/dist/lib/models/licensing/v4/config/AssociationType.d.ts +19 -0
  267. package/dist/lib/models/licensing/v4/config/AssociationType.js +85 -0
  268. package/dist/lib/models/licensing/v4/config/BaseClusterInfo.d.ts +1 -1
  269. package/dist/lib/models/licensing/v4/config/BaseClusterInfo.js +5 -5
  270. package/dist/lib/models/licensing/v4/config/BaseLicenseInfo.d.ts +1 -1
  271. package/dist/lib/models/licensing/v4/config/BaseLicenseInfo.js +5 -5
  272. package/dist/lib/models/licensing/v4/config/BillingPlan.js +2 -2
  273. package/dist/lib/models/licensing/v4/config/CapacityViolation.d.ts +1 -1
  274. package/dist/lib/models/licensing/v4/config/CapacityViolation.js +4 -4
  275. package/dist/lib/models/licensing/v4/config/ClusterLicenseKeyMapping.d.ts +1 -1
  276. package/dist/lib/models/licensing/v4/config/ClusterLicenseKeyMapping.js +4 -4
  277. package/dist/lib/models/licensing/v4/config/ClusterLicenseKeyMappingProjection.d.ts +1 -1
  278. package/dist/lib/models/licensing/v4/config/ClusterLicenseKeyMappingProjection.js +4 -4
  279. package/dist/lib/models/licensing/v4/config/ClusterType.js +2 -2
  280. package/dist/lib/models/licensing/v4/config/Compliance.d.ts +1 -1
  281. package/dist/lib/models/licensing/v4/config/Compliance.js +5 -5
  282. package/dist/lib/models/licensing/v4/config/ComplianceProjection.d.ts +1 -1
  283. package/dist/lib/models/licensing/v4/config/ComplianceProjection.js +5 -5
  284. package/dist/lib/models/licensing/v4/config/Consumption.d.ts +1 -1
  285. package/dist/lib/models/licensing/v4/config/Consumption.js +4 -4
  286. package/dist/lib/models/licensing/v4/config/ConsumptionProjection.d.ts +1 -1
  287. package/dist/lib/models/licensing/v4/config/ConsumptionProjection.js +4 -4
  288. package/dist/lib/models/licensing/v4/config/ConsumptionType.js +2 -2
  289. package/dist/lib/models/licensing/v4/config/DeleteLicenseKeyApiResponse.d.ts +1 -1
  290. package/dist/lib/models/licensing/v4/config/DeleteLicenseKeyApiResponse.js +5 -5
  291. package/dist/lib/models/licensing/v4/config/DryRunCheck.d.ts +1 -1
  292. package/dist/lib/models/licensing/v4/config/DryRunCheck.js +7 -4
  293. package/dist/lib/models/licensing/v4/config/DryRunStatus.js +2 -2
  294. package/dist/lib/models/licensing/v4/config/DryRunValidationResult.d.ts +1 -1
  295. package/dist/lib/models/licensing/v4/config/DryRunValidationResult.js +4 -4
  296. package/dist/lib/models/licensing/v4/config/EnforcementActions.js +2 -2
  297. package/dist/lib/models/licensing/v4/config/EnforcementLevel.js +2 -2
  298. package/dist/lib/models/licensing/v4/config/EnforcementPolicy.js +2 -2
  299. package/dist/lib/models/licensing/v4/config/Entitlement.d.ts +1 -1
  300. package/dist/lib/models/licensing/v4/config/Entitlement.js +5 -5
  301. package/dist/lib/models/licensing/v4/config/EntitlementDetail.d.ts +1 -1
  302. package/dist/lib/models/licensing/v4/config/EntitlementDetail.js +4 -4
  303. package/dist/lib/models/licensing/v4/config/EntitlementDetailProjection.d.ts +1 -1
  304. package/dist/lib/models/licensing/v4/config/EntitlementDetailProjection.js +4 -4
  305. package/dist/lib/models/licensing/v4/config/EntitlementProjection.d.ts +1 -1
  306. package/dist/lib/models/licensing/v4/config/EntitlementProjection.js +5 -5
  307. package/dist/lib/models/licensing/v4/config/ExpiredLicense.d.ts +1 -1
  308. package/dist/lib/models/licensing/v4/config/ExpiredLicense.js +5 -5
  309. package/dist/lib/models/licensing/v4/config/Feature.d.ts +1 -1
  310. package/dist/lib/models/licensing/v4/config/Feature.js +5 -5
  311. package/dist/lib/models/licensing/v4/config/FeatureDetail.d.ts +1 -1
  312. package/dist/lib/models/licensing/v4/config/FeatureDetail.js +4 -4
  313. package/dist/lib/models/licensing/v4/config/FeatureProjection.d.ts +1 -1
  314. package/dist/lib/models/licensing/v4/config/FeatureProjection.js +4 -4
  315. package/dist/lib/models/licensing/v4/config/FeatureViolation.d.ts +1 -1
  316. package/dist/lib/models/licensing/v4/config/FeatureViolation.js +4 -4
  317. package/dist/lib/models/licensing/v4/config/GetLicenseKeyApiResponse.d.ts +1 -1
  318. package/dist/lib/models/licensing/v4/config/GetLicenseKeyApiResponse.js +5 -5
  319. package/dist/lib/models/licensing/v4/config/License.d.ts +1 -1
  320. package/dist/lib/models/licensing/v4/config/License.js +5 -5
  321. package/dist/lib/models/licensing/v4/config/LicenseCategory.js +22 -4
  322. package/dist/lib/models/licensing/v4/config/LicenseClass.js +2 -2
  323. package/dist/lib/models/licensing/v4/config/LicenseKey.d.ts +59 -16
  324. package/dist/lib/models/licensing/v4/config/LicenseKey.js +166 -52
  325. package/dist/{es/models/licensing/v4/config/LicenseKeyAssignSpec.d.ts → lib/models/licensing/v4/config/LicenseKeyAssignment.d.ts} +8 -8
  326. package/dist/{es/models/licensing/v4/config/LicenseKeyAssignSpec.js → lib/models/licensing/v4/config/LicenseKeyAssignment.js} +27 -27
  327. package/dist/lib/models/licensing/v4/config/LicenseKeyAssignmentSpec.d.ts +75 -0
  328. package/dist/lib/models/licensing/v4/config/LicenseKeyAssignmentSpec.js +296 -0
  329. package/dist/lib/models/licensing/v4/config/LicenseKeyAssociation.d.ts +104 -0
  330. package/dist/lib/models/licensing/v4/{agreements/UpdateEulaApiResponse.js → config/LicenseKeyAssociation.js} +166 -128
  331. package/dist/lib/models/licensing/v4/config/LicenseKeyAssociationProjection.d.ts +16 -0
  332. package/dist/lib/models/licensing/v4/config/LicenseKeyAssociationProjection.js +164 -0
  333. package/dist/lib/models/licensing/v4/config/LicenseKeyAssociationSpec.d.ts +71 -0
  334. package/dist/lib/models/licensing/v4/config/LicenseKeyAssociationSpec.js +296 -0
  335. package/dist/lib/models/licensing/v4/config/LicenseKeyMapping.d.ts +1 -1
  336. package/dist/lib/models/licensing/v4/config/LicenseKeyMapping.js +4 -4
  337. package/dist/lib/models/licensing/v4/config/LicenseKeyProjection.d.ts +36 -4
  338. package/dist/lib/models/licensing/v4/config/LicenseKeyProjection.js +89 -15
  339. package/dist/lib/models/licensing/v4/config/LicenseKeySubCategory.d.ts +19 -0
  340. package/dist/lib/models/licensing/v4/config/LicenseKeySubCategory.js +85 -0
  341. package/dist/lib/models/licensing/v4/config/LicenseProjection.d.ts +1 -1
  342. package/dist/lib/models/licensing/v4/config/LicenseProjection.js +5 -5
  343. package/dist/lib/models/licensing/v4/config/LicenseStateSyncSpec.d.ts +1 -1
  344. package/dist/lib/models/licensing/v4/config/LicenseStateSyncSpec.js +4 -4
  345. package/dist/lib/models/licensing/v4/config/LicenseType.js +22 -4
  346. package/dist/lib/models/licensing/v4/config/ListAllowancesApiResponse.d.ts +1 -1
  347. package/dist/lib/models/licensing/v4/config/ListAllowancesApiResponse.js +5 -5
  348. package/dist/lib/models/licensing/v4/config/ListCompliancesApiResponse.d.ts +1 -1
  349. package/dist/lib/models/licensing/v4/config/ListCompliancesApiResponse.js +5 -5
  350. package/dist/lib/models/licensing/v4/config/ListEntitlementsApiResponse.d.ts +1 -1
  351. package/dist/lib/models/licensing/v4/config/ListEntitlementsApiResponse.js +5 -5
  352. package/dist/lib/models/licensing/v4/config/ListFeaturesApiResponse.d.ts +1 -1
  353. package/dist/lib/models/licensing/v4/config/ListFeaturesApiResponse.js +5 -5
  354. package/dist/lib/models/licensing/v4/config/ListLicenseKeysApiResponse.d.ts +1 -1
  355. package/dist/lib/models/licensing/v4/config/ListLicenseKeysApiResponse.js +5 -5
  356. package/dist/lib/models/licensing/v4/config/ListLicensesApiResponse.d.ts +1 -1
  357. package/dist/lib/models/licensing/v4/config/ListLicensesApiResponse.js +5 -5
  358. package/dist/lib/models/licensing/v4/config/ListRecommendationsApiResponse.d.ts +1 -1
  359. package/dist/lib/models/licensing/v4/config/ListRecommendationsApiResponse.js +5 -5
  360. package/dist/lib/models/licensing/v4/config/ListSettingsApiResponse.d.ts +1 -1
  361. package/dist/lib/models/licensing/v4/config/ListSettingsApiResponse.js +5 -5
  362. package/dist/lib/models/licensing/v4/config/ListViolationsApiResponse.d.ts +1 -1
  363. package/dist/lib/models/licensing/v4/config/ListViolationsApiResponse.js +5 -5
  364. package/dist/lib/models/licensing/v4/config/LogicalVersion.d.ts +1 -1
  365. package/dist/lib/models/licensing/v4/config/LogicalVersion.js +4 -4
  366. package/dist/lib/models/licensing/v4/config/Meter.js +10 -4
  367. package/dist/lib/models/licensing/v4/config/OperationType.js +2 -2
  368. package/dist/lib/models/licensing/v4/config/PortalSetting.d.ts +1 -1
  369. package/dist/lib/models/licensing/v4/config/PortalSetting.js +4 -4
  370. package/dist/lib/models/licensing/v4/config/PostPaidCategory.js +2 -2
  371. package/dist/lib/models/licensing/v4/config/PostPaidConfig.d.ts +1 -1
  372. package/dist/lib/models/licensing/v4/config/PostPaidConfig.js +4 -4
  373. package/dist/lib/models/licensing/v4/config/ProductName.js +2 -2
  374. package/dist/lib/models/licensing/v4/config/ReclaimType.d.ts +19 -0
  375. package/dist/lib/models/licensing/v4/config/ReclaimType.js +85 -0
  376. package/dist/lib/models/licensing/v4/config/Recommendation.d.ts +1 -1
  377. package/dist/lib/models/licensing/v4/config/Recommendation.js +5 -5
  378. package/dist/lib/models/licensing/v4/config/RecommendationDetail.d.ts +1 -1
  379. package/dist/lib/models/licensing/v4/config/RecommendationDetail.js +4 -4
  380. package/dist/lib/models/licensing/v4/config/RecommendationScope.js +2 -2
  381. package/dist/lib/models/licensing/v4/config/ResetScope.js +2 -2
  382. package/dist/lib/models/licensing/v4/config/Scope.js +2 -2
  383. package/dist/lib/models/licensing/v4/config/Service.d.ts +1 -1
  384. package/dist/lib/models/licensing/v4/config/Service.js +4 -4
  385. package/dist/lib/models/licensing/v4/config/ServiceProjection.d.ts +1 -1
  386. package/dist/lib/models/licensing/v4/config/ServiceProjection.js +4 -4
  387. package/dist/lib/models/licensing/v4/config/ServiceViolation.d.ts +1 -1
  388. package/dist/lib/models/licensing/v4/config/ServiceViolation.js +4 -4
  389. package/dist/lib/models/licensing/v4/config/ServiceViolationType.js +2 -2
  390. package/dist/lib/models/licensing/v4/config/Setting.d.ts +1 -1
  391. package/dist/lib/models/licensing/v4/config/Setting.js +5 -5
  392. package/dist/lib/models/licensing/v4/config/Status.js +2 -2
  393. package/dist/lib/models/licensing/v4/config/SubCategory.js +2 -2
  394. package/dist/lib/models/licensing/v4/config/SyncLicenseStateApiResponse.d.ts +1 -1
  395. package/dist/lib/models/licensing/v4/config/SyncLicenseStateApiResponse.js +5 -5
  396. package/dist/lib/models/licensing/v4/config/SyncOperationType.js +2 -2
  397. package/dist/lib/models/licensing/v4/config/Trial.d.ts +93 -0
  398. package/dist/lib/models/licensing/v4/config/{ResetLicenseStateApiResponse.js → Trial.js} +194 -138
  399. package/dist/lib/models/licensing/v4/config/TrialCategory.d.ts +19 -0
  400. package/dist/lib/models/licensing/v4/config/TrialCategory.js +79 -0
  401. package/dist/lib/models/licensing/v4/config/TrialProjection.d.ts +12 -0
  402. package/dist/lib/models/licensing/v4/config/TrialProjection.js +159 -0
  403. package/dist/lib/models/licensing/v4/config/TrialStatus.d.ts +19 -0
  404. package/dist/lib/models/licensing/v4/config/TrialStatus.js +85 -0
  405. package/dist/lib/models/licensing/v4/config/TrialType.d.ts +19 -0
  406. package/dist/lib/models/licensing/v4/config/TrialType.js +79 -0
  407. package/dist/lib/models/licensing/v4/config/ValueType.js +2 -2
  408. package/dist/lib/models/licensing/v4/config/Violation.d.ts +1 -1
  409. package/dist/lib/models/licensing/v4/config/Violation.js +5 -5
  410. package/dist/lib/models/licensing/v4/error/AppMessage.d.ts +4 -4
  411. package/dist/lib/models/licensing/v4/error/AppMessage.js +8 -8
  412. package/dist/lib/models/licensing/v4/error/ErrorResponse.d.ts +1 -1
  413. package/dist/lib/models/licensing/v4/error/ErrorResponse.js +5 -8
  414. package/dist/lib/models/licensing/v4/error/SchemaValidationError.d.ts +1 -1
  415. package/dist/lib/models/licensing/v4/error/SchemaValidationError.js +4 -4
  416. package/dist/lib/models/licensing/v4/error/SchemaValidationErrorMessage.d.ts +1 -1
  417. package/dist/lib/models/licensing/v4/error/SchemaValidationErrorMessage.js +4 -4
  418. package/dist/lib/models/prism/v4/config/TaskReference.d.ts +4 -4
  419. package/dist/lib/models/prism/v4/config/TaskReference.js +8 -8
  420. package/dist/lib/models/validation/ValidationError.js +2 -2
  421. package/dist/lib/utils/ValidationUtils.js +2 -2
  422. package/package.json +3 -3
  423. package/dist/es/models/licensing/v4/agreements/UpdateEulaApiResponse.d.ts +0 -101
  424. package/dist/es/models/licensing/v4/config/ResetLicenseStateApiResponse.d.ts +0 -102
  425. package/dist/es/models/licensing/v4/config/UpdatePortalSettingApiResponse.d.ts +0 -99
  426. package/dist/es/models/licensing/v4/config/UpdatePortalSettingApiResponse.js +0 -365
  427. package/dist/lib/models/licensing/v4/agreements/UpdateEulaApiResponse.d.ts +0 -101
  428. package/dist/lib/models/licensing/v4/config/ResetLicenseStateApiResponse.d.ts +0 -102
  429. package/dist/lib/models/licensing/v4/config/UpdatePortalSettingApiResponse.d.ts +0 -99
  430. package/dist/lib/models/licensing/v4/config/UpdatePortalSettingApiResponse.js +0 -365
@@ -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.2.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
  *
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The Entitlement model module.
3
3
  * @module Ntnx/Entitlement
4
- * @version 4.0.1
4
+ * @version 4.2.1
5
5
  * @class Entitlement
6
6
  * @extends BaseClusterInfo
7
7
  */
@@ -39,11 +39,11 @@ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a
39
39
  function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
40
40
  * Nutanix Licensing APIs
41
41
  *
42
- * OpenAPI spec version: 4.0.1
42
+ * OpenAPI spec version: 4.2.1
43
43
  *
44
44
  * NOTE: This class is auto generated by the Open API Dev Platform.
45
45
  *
46
- * Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
46
+ * Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
47
47
  *
48
48
  * Do not edit the class manually.
49
49
  *
@@ -51,7 +51,7 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
51
51
  /**
52
52
  * The Entitlement model module.
53
53
  * @module Ntnx/Entitlement
54
- * @version 4.0.1
54
+ * @version 4.2.1
55
55
  * @class Entitlement
56
56
  * @extends BaseClusterInfo
57
57
  */
@@ -77,7 +77,7 @@ var Entitlement = exports["default"] = /*#__PURE__*/function (_BaseClusterInfo)
77
77
  _this.$objectType = "licensing.v4.config.Entitlement";
78
78
  /** @type {object<string, any>} */
79
79
  _this.$reserved = {
80
- '$fv': "v4.r0"
80
+ '$fv': "v4.r2"
81
81
  };
82
82
  /** @type {object<string, any>} */
83
83
  _this.$unknownFields = {};
@@ -444,7 +444,7 @@ _ExternalizableAbstractModel["default"].prototype.extId = undefined;
444
444
  */
445
445
  _ExternalizableAbstractModel["default"].prototype.links = undefined;
446
446
  /**
447
- * 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).
447
+ * 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).
448
448
  * @memberof Entitlement
449
449
  */
450
450
  _TenantAwareModel["default"].prototype.tenantId = undefined;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The EntitlementDetail model module.
3
3
  * @module Ntnx/EntitlementDetail
4
- * @version 4.0.1
4
+ * @version 4.2.1
5
5
  * @class EntitlementDetail
6
6
  */
7
7
  export default class EntitlementDetail {
@@ -33,11 +33,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
33
33
  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"); } /*
34
34
  * Nutanix Licensing APIs
35
35
  *
36
- * OpenAPI spec version: 4.0.1
36
+ * OpenAPI spec version: 4.2.1
37
37
  *
38
38
  * NOTE: This class is auto generated by the Open API Dev Platform.
39
39
  *
40
- * Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
40
+ * Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
41
41
  *
42
42
  * Do not edit the class manually.
43
43
  *
@@ -45,7 +45,7 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
45
45
  /**
46
46
  * The EntitlementDetail model module.
47
47
  * @module Ntnx/EntitlementDetail
48
- * @version 4.0.1
48
+ * @version 4.2.1
49
49
  * @class EntitlementDetail
50
50
  */
51
51
  var _EntitlementDetail_brand = /*#__PURE__*/new WeakSet();
@@ -67,7 +67,7 @@ var EntitlementDetail = exports["default"] = /*#__PURE__*/function () {
67
67
  this.$objectType = "licensing.v4.config.EntitlementDetail";
68
68
  /** @type {object<string, any>} */
69
69
  this.$reserved = {
70
- '$fv': "v4.r0"
70
+ '$fv': "v4.r2"
71
71
  };
72
72
  /** @type {object<string, any>} */
73
73
  this.$unknownFields = {};
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The EntitlementDetailProjection model module.
3
3
  * @module Ntnx/EntitlementDetailProjection
4
- * @version 4.0.1
4
+ * @version 4.2.1
5
5
  * @class EntitlementDetailProjection
6
6
  * @extends EntitlementDetail
7
7
  */
@@ -32,11 +32,11 @@ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new T
32
32
  function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); } /*
33
33
  * Nutanix Licensing APIs
34
34
  *
35
- * OpenAPI spec version: 4.0.1
35
+ * OpenAPI spec version: 4.2.1
36
36
  *
37
37
  * NOTE: This class is auto generated by the Open API Dev Platform.
38
38
  *
39
- * Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
39
+ * Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
40
40
  *
41
41
  * Do not edit the class manually.
42
42
  *
@@ -44,7 +44,7 @@ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf
44
44
  /**
45
45
  * The EntitlementDetailProjection model module.
46
46
  * @module Ntnx/EntitlementDetailProjection
47
- * @version 4.0.1
47
+ * @version 4.2.1
48
48
  * @class EntitlementDetailProjection
49
49
  * @extends EntitlementDetail
50
50
  */
@@ -61,7 +61,7 @@ var EntitlementDetailProjection = exports["default"] = /*#__PURE__*/function (_E
61
61
  _this.$objectType = "licensing.v4.config.EntitlementDetailProjection";
62
62
  /** @type {object<string, any>} */
63
63
  _this.$reserved = {
64
- '$fv': "v4.r0"
64
+ '$fv': "v4.r2"
65
65
  };
66
66
  /** @type {object<string, any>} */
67
67
  _this.$unknownFields = {};
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The EntitlementProjection model module.
3
3
  * @module Ntnx/EntitlementProjection
4
- * @version 4.0.1
4
+ * @version 4.2.1
5
5
  * @class EntitlementProjection
6
6
  * @extends Entitlement
7
7
  */
@@ -41,11 +41,11 @@ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a
41
41
  function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
42
42
  * Nutanix Licensing APIs
43
43
  *
44
- * OpenAPI spec version: 4.0.1
44
+ * OpenAPI spec version: 4.2.1
45
45
  *
46
46
  * NOTE: This class is auto generated by the Open API Dev Platform.
47
47
  *
48
- * Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
48
+ * Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
49
49
  *
50
50
  * Do not edit the class manually.
51
51
  *
@@ -53,7 +53,7 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
53
53
  /**
54
54
  * The EntitlementProjection model module.
55
55
  * @module Ntnx/EntitlementProjection
56
- * @version 4.0.1
56
+ * @version 4.2.1
57
57
  * @class EntitlementProjection
58
58
  * @extends Entitlement
59
59
  */
@@ -78,7 +78,7 @@ var EntitlementProjection = exports["default"] = /*#__PURE__*/function (_Entitle
78
78
  _this.$objectType = "licensing.v4.config.EntitlementProjection";
79
79
  /** @type {object<string, any>} */
80
80
  _this.$reserved = {
81
- '$fv': "v4.r0"
81
+ '$fv': "v4.r2"
82
82
  };
83
83
  /** @type {object<string, any>} */
84
84
  _this.$unknownFields = {};
@@ -332,7 +332,7 @@ _ExternalizableAbstractModel["default"].prototype.extId = undefined;
332
332
  */
333
333
  _ExternalizableAbstractModel["default"].prototype.links = undefined;
334
334
  /**
335
- * 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).
335
+ * 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).
336
336
  * @memberof EntitlementProjection
337
337
  */
338
338
  _TenantAwareModel["default"].prototype.tenantId = undefined;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The ExpiredLicense model module.
3
3
  * @module Ntnx/ExpiredLicense
4
- * @version 4.0.1
4
+ * @version 4.2.1
5
5
  * @class ExpiredLicense
6
6
  * @extends BaseLicenseInfo
7
7
  */
@@ -42,11 +42,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
42
42
  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"); } /*
43
43
  * Nutanix Licensing APIs
44
44
  *
45
- * OpenAPI spec version: 4.0.1
45
+ * OpenAPI spec version: 4.2.1
46
46
  *
47
47
  * NOTE: This class is auto generated by the Open API Dev Platform.
48
48
  *
49
- * Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
49
+ * Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
50
50
  *
51
51
  * Do not edit the class manually.
52
52
  *
@@ -54,7 +54,7 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
54
54
  /**
55
55
  * The ExpiredLicense model module.
56
56
  * @module Ntnx/ExpiredLicense
57
- * @version 4.0.1
57
+ * @version 4.2.1
58
58
  * @class ExpiredLicense
59
59
  * @extends BaseLicenseInfo
60
60
  */
@@ -80,7 +80,7 @@ var ExpiredLicense = exports["default"] = /*#__PURE__*/function (_BaseLicenseInf
80
80
  _this.$objectType = "licensing.v4.config.ExpiredLicense";
81
81
  /** @type {object<string, any>} */
82
82
  _this.$reserved = {
83
- '$fv': "v4.r0"
83
+ '$fv': "v4.r2"
84
84
  };
85
85
  /** @type {object<string, any>} */
86
86
  _this.$unknownFields = {};
@@ -390,7 +390,7 @@ _ExternalizableAbstractModel["default"].prototype.extId = undefined;
390
390
  */
391
391
  _ExternalizableAbstractModel["default"].prototype.links = undefined;
392
392
  /**
393
- * 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).
393
+ * 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).
394
394
  * @memberof ExpiredLicense
395
395
  */
396
396
  _TenantAwareModel["default"].prototype.tenantId = undefined;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The Feature model module.
3
3
  * @module Ntnx/Feature
4
- * @version 4.0.1
4
+ * @version 4.2.1
5
5
  * @class Feature
6
6
  * @extends ExternalizableAbstractModel
7
7
  */
@@ -42,11 +42,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
42
42
  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"); } /*
43
43
  * Nutanix Licensing APIs
44
44
  *
45
- * OpenAPI spec version: 4.0.1
45
+ * OpenAPI spec version: 4.2.1
46
46
  *
47
47
  * NOTE: This class is auto generated by the Open API Dev Platform.
48
48
  *
49
- * Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
49
+ * Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
50
50
  *
51
51
  * Do not edit the class manually.
52
52
  *
@@ -54,7 +54,7 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
54
54
  /**
55
55
  * The Feature model module.
56
56
  * @module Ntnx/Feature
57
- * @version 4.0.1
57
+ * @version 4.2.1
58
58
  * @class Feature
59
59
  * @extends ExternalizableAbstractModel
60
60
  */
@@ -80,7 +80,7 @@ var Feature = exports["default"] = /*#__PURE__*/function (_ExternalizableAbstra)
80
80
  _this.$objectType = "licensing.v4.config.Feature";
81
81
  /** @type {object<string, any>} */
82
82
  _this.$reserved = {
83
- '$fv': "v4.r0"
83
+ '$fv': "v4.r2"
84
84
  };
85
85
  /** @type {object<string, any>} */
86
86
  _this.$unknownFields = {};
@@ -506,7 +506,7 @@ _ExternalizableAbstractModel["default"].prototype.extId = undefined;
506
506
  */
507
507
  _ExternalizableAbstractModel["default"].prototype.links = undefined;
508
508
  /**
509
- * 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).
509
+ * 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).
510
510
  * @memberof Feature
511
511
  */
512
512
  _TenantAwareModel["default"].prototype.tenantId = undefined;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The FeatureDetail model module.
3
3
  * @module Ntnx/FeatureDetail
4
- * @version 4.0.1
4
+ * @version 4.2.1
5
5
  * @class FeatureDetail
6
6
  */
7
7
  export default class FeatureDetail {
@@ -27,11 +27,11 @@ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a
27
27
  function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
28
28
  * Nutanix Licensing APIs
29
29
  *
30
- * OpenAPI spec version: 4.0.1
30
+ * OpenAPI spec version: 4.2.1
31
31
  *
32
32
  * NOTE: This class is auto generated by the Open API Dev Platform.
33
33
  *
34
- * Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
34
+ * Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
35
35
  *
36
36
  * Do not edit the class manually.
37
37
  *
@@ -39,7 +39,7 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
39
39
  /**
40
40
  * The FeatureDetail model module.
41
41
  * @module Ntnx/FeatureDetail
42
- * @version 4.0.1
42
+ * @version 4.2.1
43
43
  * @class FeatureDetail
44
44
  */
45
45
  var _FeatureDetail_brand = /*#__PURE__*/new WeakSet();
@@ -61,7 +61,7 @@ var FeatureDetail = exports["default"] = /*#__PURE__*/function () {
61
61
  this.$objectType = "licensing.v4.config.FeatureDetail";
62
62
  /** @type {object<string, any>} */
63
63
  this.$reserved = {
64
- '$fv': "v4.r0"
64
+ '$fv': "v4.r2"
65
65
  };
66
66
  /** @type {object<string, any>} */
67
67
  this.$unknownFields = {};
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The FeatureProjection model module.
3
3
  * @module Ntnx/FeatureProjection
4
- * @version 4.0.1
4
+ * @version 4.2.1
5
5
  * @class FeatureProjection
6
6
  * @extends Feature
7
7
  */
@@ -29,11 +29,11 @@ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new T
29
29
  function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); } /*
30
30
  * Nutanix Licensing APIs
31
31
  *
32
- * OpenAPI spec version: 4.0.1
32
+ * OpenAPI spec version: 4.2.1
33
33
  *
34
34
  * NOTE: This class is auto generated by the Open API Dev Platform.
35
35
  *
36
- * Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
36
+ * Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
37
37
  *
38
38
  * Do not edit the class manually.
39
39
  *
@@ -41,7 +41,7 @@ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf
41
41
  /**
42
42
  * The FeatureProjection model module.
43
43
  * @module Ntnx/FeatureProjection
44
- * @version 4.0.1
44
+ * @version 4.2.1
45
45
  * @class FeatureProjection
46
46
  * @extends Feature
47
47
  */
@@ -58,7 +58,7 @@ var FeatureProjection = exports["default"] = /*#__PURE__*/function (_Feature) {
58
58
  _this.$objectType = "licensing.v4.config.FeatureProjection";
59
59
  /** @type {object<string, any>} */
60
60
  _this.$reserved = {
61
- '$fv': "v4.r0"
61
+ '$fv': "v4.r2"
62
62
  };
63
63
  /** @type {object<string, any>} */
64
64
  _this.$unknownFields = {};
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The FeatureViolation model module.
3
3
  * @module Ntnx/FeatureViolation
4
- * @version 4.0.1
4
+ * @version 4.2.1
5
5
  * @class FeatureViolation
6
6
  * @extends FeatureDetail
7
7
  */
@@ -35,11 +35,11 @@ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a
35
35
  function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
36
36
  * Nutanix Licensing APIs
37
37
  *
38
- * OpenAPI spec version: 4.0.1
38
+ * OpenAPI spec version: 4.2.1
39
39
  *
40
40
  * NOTE: This class is auto generated by the Open API Dev Platform.
41
41
  *
42
- * Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
42
+ * Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
43
43
  *
44
44
  * Do not edit the class manually.
45
45
  *
@@ -47,7 +47,7 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
47
47
  /**
48
48
  * The FeatureViolation model module.
49
49
  * @module Ntnx/FeatureViolation
50
- * @version 4.0.1
50
+ * @version 4.2.1
51
51
  * @class FeatureViolation
52
52
  * @extends FeatureDetail
53
53
  */
@@ -73,7 +73,7 @@ var FeatureViolation = exports["default"] = /*#__PURE__*/function (_FeatureDetai
73
73
  _this.$objectType = "licensing.v4.config.FeatureViolation";
74
74
  /** @type {object<string, any>} */
75
75
  _this.$reserved = {
76
- '$fv': "v4.r0"
76
+ '$fv': "v4.r2"
77
77
  };
78
78
  /** @type {object<string, any>} */
79
79
  _this.$unknownFields = {};
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The GetLicenseKeyApiResponse model module.
3
3
  * @module Ntnx/GetLicenseKeyApiResponse
4
- * @version 4.0.1
4
+ * @version 4.2.1
5
5
  * @class GetLicenseKeyApiResponse
6
6
  */
7
7
  export default class GetLicenseKeyApiResponse extends Paginable {
@@ -39,11 +39,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
39
39
  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"); } /*
40
40
  * Nutanix Licensing APIs
41
41
  *
42
- * OpenAPI spec version: 4.0.1
42
+ * OpenAPI spec version: 4.2.1
43
43
  *
44
44
  * NOTE: This class is auto generated by the Open API Dev Platform.
45
45
  *
46
- * Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
46
+ * Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
47
47
  *
48
48
  * Do not edit the class manually.
49
49
  *
@@ -51,14 +51,14 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
51
51
  /**
52
52
  * The GetLicenseKeyApiResponse model module.
53
53
  * @module Ntnx/GetLicenseKeyApiResponse
54
- * @version 4.0.1
54
+ * @version 4.2.1
55
55
  * @class GetLicenseKeyApiResponse
56
56
  */
57
57
  var _GetLicenseKeyApiResponse_brand = /*#__PURE__*/new WeakSet();
58
58
  var GetLicenseKeyApiResponse = exports["default"] = /*#__PURE__*/function (_Paginable) {
59
59
  /**
60
60
  * Constructs a new <code>GetLicenseKeyApiResponse</code>.
61
- * REST response for all response codes in API path /licensing/v4.0/config/license-keys/{extId} Get operation
61
+ * REST response for all response codes in API path /licensing/v4.2/config/license-keys/{extId} Get operation
62
62
  * @alias module:Ntnx/GetLicenseKeyApiResponse
63
63
  */
64
64
  function GetLicenseKeyApiResponse() {
@@ -75,7 +75,7 @@ var GetLicenseKeyApiResponse = exports["default"] = /*#__PURE__*/function (_Pagi
75
75
  _this.$objectType = "licensing.v4.config.GetLicenseKeyApiResponse";
76
76
  /** @type {object<string, any>} */
77
77
  _this.$reserved = {
78
- '$fv': "v4.r0"
78
+ '$fv': "v4.r2"
79
79
  };
80
80
  /** @type {object<string, any>} */
81
81
  _this.$unknownFields = {};
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The License model module.
3
3
  * @module Ntnx/License
4
- * @version 4.0.1
4
+ * @version 4.2.1
5
5
  * @class License
6
6
  * @extends BaseLicenseInfo
7
7
  */
@@ -44,11 +44,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
44
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"); } /*
45
45
  * Nutanix Licensing APIs
46
46
  *
47
- * OpenAPI spec version: 4.0.1
47
+ * OpenAPI spec version: 4.2.1
48
48
  *
49
49
  * NOTE: This class is auto generated by the Open API Dev Platform.
50
50
  *
51
- * Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
51
+ * Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
52
52
  *
53
53
  * Do not edit the class manually.
54
54
  *
@@ -56,7 +56,7 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
56
56
  /**
57
57
  * The License model module.
58
58
  * @module Ntnx/License
59
- * @version 4.0.1
59
+ * @version 4.2.1
60
60
  * @class License
61
61
  * @extends BaseLicenseInfo
62
62
  */
@@ -82,7 +82,7 @@ var License = exports["default"] = /*#__PURE__*/function (_BaseLicenseInfo) {
82
82
  _this.$objectType = "licensing.v4.config.License";
83
83
  /** @type {object<string, any>} */
84
84
  _this.$reserved = {
85
- '$fv': "v4.r0"
85
+ '$fv': "v4.r2"
86
86
  };
87
87
  /** @type {object<string, any>} */
88
88
  _this.$unknownFields = {};
@@ -478,7 +478,7 @@ _ExternalizableAbstractModel["default"].prototype.extId = undefined;
478
478
  */
479
479
  _ExternalizableAbstractModel["default"].prototype.links = undefined;
480
480
  /**
481
- * 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).
481
+ * 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).
482
482
  * @memberof License
483
483
  */
484
484
  _TenantAwareModel["default"].prototype.tenantId = undefined;
@@ -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.2.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
  *
@@ -206,7 +206,22 @@ var LicenseCategory = {
206
206
  * License category for Nutanix Data Services for Kubernetes Addon.
207
207
  * @const
208
208
  */
209
- NDK: "NDK"
209
+ NDK: "NDK",
210
+ /**
211
+ * License category for NDL Analytics Data Retention 3Y Addon.
212
+ * @const
213
+ */
214
+ RET_3Y: "RET_3Y",
215
+ /**
216
+ * License category for NDL Analytics Data Retention 5Y Addon.
217
+ * @const
218
+ */
219
+ RET_5Y: "RET_5Y",
220
+ /**
221
+ * License category for NDL Analytics Data Retention 7Y Addon.
222
+ * @const
223
+ */
224
+ RET_7Y: "RET_7Y"
210
225
  };
211
226
 
212
227
  /**
@@ -268,9 +283,12 @@ LicenseCategory.validate = function (obj) {
268
283
  case LicenseCategory.PUBLIC_CLOUD:
269
284
  case LicenseCategory.ADVANCED_REPLICATION:
270
285
  case LicenseCategory.NDK:
286
+ case LicenseCategory.RET_3Y:
287
+ case LicenseCategory.RET_5Y:
288
+ case LicenseCategory.RET_7Y:
271
289
  return;
272
290
  default:
273
- throw new Error("Invalid : must be LicenseCategory.{ $UNKNOWN|$REDACTED|STARTER|PRO|ULTIMATE|CALM|STANDARD|AOS_MINE|SOFTWARE_ENCRYPTION|ADV_REPLICATION|OBJECT|ULTIMATE_TRIAL|PRISM_STARTER|PRO_SPECIAL|ADR|SECURITY|NKS|APPAUTOMATION|NDA|UST|ANALYTICS|STANDALONE|DRASS|CLOUD_NATIVE|DATA_ENCRYPTION|NDS|NDB|NO_LICENSE|NUS_ENCRYPTION|NUS_REPLICATION|CLOUD_PRO|CLOUD_ULTIMATE|CLOUD|PUBLIC_CLOUD|ADVANCED_REPLICATION|NDK }");
291
+ throw new Error("Invalid : must be LicenseCategory.{ $UNKNOWN|$REDACTED|STARTER|PRO|ULTIMATE|CALM|STANDARD|AOS_MINE|SOFTWARE_ENCRYPTION|ADV_REPLICATION|OBJECT|ULTIMATE_TRIAL|PRISM_STARTER|PRO_SPECIAL|ADR|SECURITY|NKS|APPAUTOMATION|NDA|UST|ANALYTICS|STANDALONE|DRASS|CLOUD_NATIVE|DATA_ENCRYPTION|NDS|NDB|NO_LICENSE|NUS_ENCRYPTION|NUS_REPLICATION|CLOUD_PRO|CLOUD_ULTIMATE|CLOUD|PUBLIC_CLOUD|ADVANCED_REPLICATION|NDK|RET_3Y|RET_5Y|RET_7Y }");
274
292
  }
275
293
  };
276
294
  Object.freeze(LicenseCategory);
@@ -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.2.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
  *