@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
@@ -37,11 +37,11 @@ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a
37
37
  function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
38
38
  * Nutanix Licensing APIs
39
39
  *
40
- * OpenAPI spec version: 4.0.1
40
+ * OpenAPI spec version: 4.2.1
41
41
  *
42
42
  * NOTE: This class is auto generated by the Open API Dev Platform.
43
43
  *
44
- * Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
44
+ * Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
45
45
  *
46
46
  * Do not edit the class manually.
47
47
  *
@@ -49,7 +49,7 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
49
49
  /**
50
50
  * The BaseClusterInfo model module.
51
51
  * @module Ntnx/BaseClusterInfo
52
- * @version 4.0.1
52
+ * @version 4.2.1
53
53
  * @class BaseClusterInfo
54
54
  * @extends ExternalizableAbstractModel
55
55
  */
@@ -75,7 +75,7 @@ var BaseClusterInfo = exports["default"] = /*#__PURE__*/function (_Externalizabl
75
75
  _this.$objectType = "licensing.v4.config.BaseClusterInfo";
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 = {};
@@ -265,7 +265,7 @@ _ExternalizableAbstractModel["default"].prototype.extId = undefined;
265
265
  */
266
266
  _ExternalizableAbstractModel["default"].prototype.links = undefined;
267
267
  /**
268
- * 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).
268
+ * 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).
269
269
  * @memberof BaseClusterInfo
270
270
  */
271
271
  _TenantAwareModel["default"].prototype.tenantId = undefined;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The BaseLicenseInfo model module.
3
3
  * @module Ntnx/BaseLicenseInfo
4
- * @version 4.0.1
4
+ * @version 4.2.1
5
5
  * @class BaseLicenseInfo
6
6
  * @extends ExternalizableAbstractModel
7
7
  */
@@ -41,11 +41,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
41
41
  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"); } /*
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 _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
53
53
  /**
54
54
  * The BaseLicenseInfo model module.
55
55
  * @module Ntnx/BaseLicenseInfo
56
- * @version 4.0.1
56
+ * @version 4.2.1
57
57
  * @class BaseLicenseInfo
58
58
  * @extends ExternalizableAbstractModel
59
59
  */
@@ -79,7 +79,7 @@ var BaseLicenseInfo = exports["default"] = /*#__PURE__*/function (_Externalizabl
79
79
  _this.$objectType = "licensing.v4.config.BaseLicenseInfo";
80
80
  /** @type {object<string, any>} */
81
81
  _this.$reserved = {
82
- '$fv': "v4.r0"
82
+ '$fv': "v4.r2"
83
83
  };
84
84
  /** @type {object<string, any>} */
85
85
  _this.$unknownFields = {};
@@ -417,7 +417,7 @@ _ExternalizableAbstractModel["default"].prototype.extId = undefined;
417
417
  */
418
418
  _ExternalizableAbstractModel["default"].prototype.links = undefined;
419
419
  /**
420
- * 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).
420
+ * 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).
421
421
  * @memberof BaseLicenseInfo
422
422
  */
423
423
  _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
  *
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The CapacityViolation model module.
3
3
  * @module Ntnx/CapacityViolation
4
- * @version 4.0.1
4
+ * @version 4.2.1
5
5
  * @class CapacityViolation
6
6
  */
7
7
  export default class CapacityViolation {
@@ -30,11 +30,11 @@ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a
30
30
  function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
31
31
  * Nutanix Licensing APIs
32
32
  *
33
- * OpenAPI spec version: 4.0.1
33
+ * OpenAPI spec version: 4.2.1
34
34
  *
35
35
  * NOTE: This class is auto generated by the Open API Dev Platform.
36
36
  *
37
- * Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
37
+ * Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
38
38
  *
39
39
  * Do not edit the class manually.
40
40
  *
@@ -42,7 +42,7 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
42
42
  /**
43
43
  * The CapacityViolation model module.
44
44
  * @module Ntnx/CapacityViolation
45
- * @version 4.0.1
45
+ * @version 4.2.1
46
46
  * @class CapacityViolation
47
47
  */
48
48
  var _CapacityViolation_brand = /*#__PURE__*/new WeakSet();
@@ -64,7 +64,7 @@ var CapacityViolation = exports["default"] = /*#__PURE__*/function () {
64
64
  this.$objectType = "licensing.v4.config.CapacityViolation";
65
65
  /** @type {object<string, any>} */
66
66
  this.$reserved = {
67
- '$fv': "v4.r0"
67
+ '$fv': "v4.r2"
68
68
  };
69
69
  /** @type {object<string, any>} */
70
70
  this.$unknownFields = {};
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The ClusterLicenseKeyMapping model module.
3
3
  * @module Ntnx/ClusterLicenseKeyMapping
4
- * @version 4.0.1
4
+ * @version 4.2.1
5
5
  * @class ClusterLicenseKeyMapping
6
6
  * @extends LicenseKeyMapping
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 ClusterLicenseKeyMapping model module.
49
49
  * @module Ntnx/ClusterLicenseKeyMapping
50
- * @version 4.0.1
50
+ * @version 4.2.1
51
51
  * @class ClusterLicenseKeyMapping
52
52
  * @extends LicenseKeyMapping
53
53
  */
@@ -73,7 +73,7 @@ var ClusterLicenseKeyMapping = exports["default"] = /*#__PURE__*/function (_Lice
73
73
  _this.$objectType = "licensing.v4.config.ClusterLicenseKeyMapping";
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 ClusterLicenseKeyMappingProjection model module.
3
3
  * @module Ntnx/ClusterLicenseKeyMappingProjection
4
- * @version 4.0.1
4
+ * @version 4.2.1
5
5
  * @class ClusterLicenseKeyMappingProjection
6
6
  * @extends ClusterLicenseKeyMapping
7
7
  */
@@ -28,11 +28,11 @@ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new T
28
28
  function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); } /*
29
29
  * Nutanix Licensing APIs
30
30
  *
31
- * OpenAPI spec version: 4.0.1
31
+ * OpenAPI spec version: 4.2.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 _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf
40
40
  /**
41
41
  * The ClusterLicenseKeyMappingProjection model module.
42
42
  * @module Ntnx/ClusterLicenseKeyMappingProjection
43
- * @version 4.0.1
43
+ * @version 4.2.1
44
44
  * @class ClusterLicenseKeyMappingProjection
45
45
  * @extends ClusterLicenseKeyMapping
46
46
  */
@@ -57,7 +57,7 @@ var ClusterLicenseKeyMappingProjection = exports["default"] = /*#__PURE__*/funct
57
57
  _this.$objectType = "licensing.v4.config.ClusterLicenseKeyMappingProjection";
58
58
  /** @type {object<string, any>} */
59
59
  _this.$reserved = {
60
- '$fv': "v4.r0"
60
+ '$fv': "v4.r2"
61
61
  };
62
62
  /** @type {object<string, any>} */
63
63
  _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.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 Compliance model module.
3
3
  * @module Ntnx/Compliance
4
- * @version 4.0.1
4
+ * @version 4.2.1
5
5
  * @class Compliance
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 Compliance model module.
53
53
  * @module Ntnx/Compliance
54
- * @version 4.0.1
54
+ * @version 4.2.1
55
55
  * @class Compliance
56
56
  * @extends BaseClusterInfo
57
57
  */
@@ -77,7 +77,7 @@ var Compliance = exports["default"] = /*#__PURE__*/function (_BaseClusterInfo) {
77
77
  _this.$objectType = "licensing.v4.config.Compliance";
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 = {};
@@ -365,7 +365,7 @@ _ExternalizableAbstractModel["default"].prototype.extId = undefined;
365
365
  */
366
366
  _ExternalizableAbstractModel["default"].prototype.links = undefined;
367
367
  /**
368
- * 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).
368
+ * 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).
369
369
  * @memberof Compliance
370
370
  */
371
371
  _TenantAwareModel["default"].prototype.tenantId = undefined;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The ComplianceProjection model module.
3
3
  * @module Ntnx/ComplianceProjection
4
- * @version 4.0.1
4
+ * @version 4.2.1
5
5
  * @class ComplianceProjection
6
6
  * @extends Compliance
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 ComplianceProjection model module.
55
55
  * @module Ntnx/ComplianceProjection
56
- * @version 4.0.1
56
+ * @version 4.2.1
57
57
  * @class ComplianceProjection
58
58
  * @extends Compliance
59
59
  */
@@ -78,7 +78,7 @@ var ComplianceProjection = exports["default"] = /*#__PURE__*/function (_Complian
78
78
  _this.$objectType = "licensing.v4.config.ComplianceProjection";
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 = {};
@@ -314,7 +314,7 @@ _ExternalizableAbstractModel["default"].prototype.extId = undefined;
314
314
  */
315
315
  _ExternalizableAbstractModel["default"].prototype.links = undefined;
316
316
  /**
317
- * 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).
317
+ * 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).
318
318
  * @memberof ComplianceProjection
319
319
  */
320
320
  _TenantAwareModel["default"].prototype.tenantId = undefined;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The Consumption model module.
3
3
  * @module Ntnx/Consumption
4
- * @version 4.0.1
4
+ * @version 4.2.1
5
5
  * @class Consumption
6
6
  */
7
7
  export default class Consumption {
@@ -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 Consumption model module.
41
41
  * @module Ntnx/Consumption
42
- * @version 4.0.1
42
+ * @version 4.2.1
43
43
  * @class Consumption
44
44
  */
45
45
  var _Consumption_brand = /*#__PURE__*/new WeakSet();
@@ -61,7 +61,7 @@ var Consumption = exports["default"] = /*#__PURE__*/function () {
61
61
  this.$objectType = "licensing.v4.config.Consumption";
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 ConsumptionProjection model module.
3
3
  * @module Ntnx/ConsumptionProjection
4
- * @version 4.0.1
4
+ * @version 4.2.1
5
5
  * @class ConsumptionProjection
6
6
  * @extends Consumption
7
7
  */
@@ -27,11 +27,11 @@ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new T
27
27
  function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); } /*
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 _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf
39
39
  /**
40
40
  * The ConsumptionProjection model module.
41
41
  * @module Ntnx/ConsumptionProjection
42
- * @version 4.0.1
42
+ * @version 4.2.1
43
43
  * @class ConsumptionProjection
44
44
  * @extends Consumption
45
45
  */
@@ -56,7 +56,7 @@ var ConsumptionProjection = exports["default"] = /*#__PURE__*/function (_Consump
56
56
  _this.$objectType = "licensing.v4.config.ConsumptionProjection";
57
57
  /** @type {object<string, any>} */
58
58
  _this.$reserved = {
59
- '$fv': "v4.r0"
59
+ '$fv': "v4.r2"
60
60
  };
61
61
  /** @type {object<string, any>} */
62
62
  _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.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 DeleteLicenseKeyApiResponse model module.
3
3
  * @module Ntnx/DeleteLicenseKeyApiResponse
4
- * @version 4.0.1
4
+ * @version 4.2.1
5
5
  * @class DeleteLicenseKeyApiResponse
6
6
  */
7
7
  export default class DeleteLicenseKeyApiResponse extends Paginable {
@@ -38,11 +38,11 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
38
38
  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"); } /*
39
39
  * Nutanix Licensing APIs
40
40
  *
41
- * OpenAPI spec version: 4.0.1
41
+ * OpenAPI spec version: 4.2.1
42
42
  *
43
43
  * NOTE: This class is auto generated by the Open API Dev Platform.
44
44
  *
45
- * Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
45
+ * Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
46
46
  *
47
47
  * Do not edit the class manually.
48
48
  *
@@ -50,14 +50,14 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
50
50
  /**
51
51
  * The DeleteLicenseKeyApiResponse model module.
52
52
  * @module Ntnx/DeleteLicenseKeyApiResponse
53
- * @version 4.0.1
53
+ * @version 4.2.1
54
54
  * @class DeleteLicenseKeyApiResponse
55
55
  */
56
56
  var _DeleteLicenseKeyApiResponse_brand = /*#__PURE__*/new WeakSet();
57
57
  var DeleteLicenseKeyApiResponse = exports["default"] = /*#__PURE__*/function (_Paginable) {
58
58
  /**
59
59
  * Constructs a new <code>DeleteLicenseKeyApiResponse</code>.
60
- * REST response for all response codes in API path /licensing/v4.0/config/license-keys/{extId} Delete operation
60
+ * REST response for all response codes in API path /licensing/v4.2/config/license-keys/{extId} Delete operation
61
61
  * @alias module:Ntnx/DeleteLicenseKeyApiResponse
62
62
  */
63
63
  function DeleteLicenseKeyApiResponse() {
@@ -74,7 +74,7 @@ var DeleteLicenseKeyApiResponse = exports["default"] = /*#__PURE__*/function (_P
74
74
  _this.$objectType = "licensing.v4.config.DeleteLicenseKeyApiResponse";
75
75
  /** @type {object<string, any>} */
76
76
  _this.$reserved = {
77
- '$fv': "v4.r0"
77
+ '$fv': "v4.r2"
78
78
  };
79
79
  /** @type {object<string, any>} */
80
80
  _this.$unknownFields = {};
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The DryRunCheck model module.
3
3
  * @module Ntnx/DryRunCheck
4
- * @version 4.0.1
4
+ * @version 4.2.1
5
5
  * @class DryRunCheck
6
6
  */
7
7
  export default class DryRunCheck extends Paginable {
@@ -36,11 +36,11 @@ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a
36
36
  function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
37
37
  * Nutanix Licensing APIs
38
38
  *
39
- * OpenAPI spec version: 4.0.1
39
+ * OpenAPI spec version: 4.2.1
40
40
  *
41
41
  * NOTE: This class is auto generated by the Open API Dev Platform.
42
42
  *
43
- * Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
43
+ * Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
44
44
  *
45
45
  * Do not edit the class manually.
46
46
  *
@@ -48,7 +48,7 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
48
48
  /**
49
49
  * The DryRunCheck model module.
50
50
  * @module Ntnx/DryRunCheck
51
- * @version 4.0.1
51
+ * @version 4.2.1
52
52
  * @class DryRunCheck
53
53
  */
54
54
  var _DryRunCheck_brand = /*#__PURE__*/new WeakSet();
@@ -72,7 +72,7 @@ var DryRunCheck = exports["default"] = /*#__PURE__*/function (_Paginable) {
72
72
  _this.$objectType = "licensing.v4.config.DryRunCheck";
73
73
  /** @type {object<string, any>} */
74
74
  _this.$reserved = {
75
- '$fv': "v4.r0"
75
+ '$fv': "v4.r2"
76
76
  };
77
77
  /** @type {object<string, any>} */
78
78
  _this.$unknownFields = {};
@@ -202,6 +202,9 @@ var DryRunCheck = exports["default"] = /*#__PURE__*/function (_Paginable) {
202
202
  if (typeof this.name === 'undefined' || this.name === null) {
203
203
  return new _ValidationError["default"]("name", "undefined or null");
204
204
  }
205
+ if (!_ValidationUtils["default"].validateMaxLength(this.name, 256)) {
206
+ return new _ValidationError["default"]("name", "does not satisfy required maxLength constraint: 256");
207
+ }
205
208
  }
206
209
  if (property === "result") {
207
210
  if (typeof this.result === 'undefined' || this.result === null) {
@@ -12,11 +12,11 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default":
12
12
  /*
13
13
  * Nutanix Licensing APIs
14
14
  *
15
- * OpenAPI spec version: 4.0.1
15
+ * OpenAPI spec version: 4.2.1
16
16
  *
17
17
  * NOTE: This class is auto generated by the Open API Dev Platform.
18
18
  *
19
- * Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
19
+ * Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
20
20
  *
21
21
  * Do not edit the class manually.
22
22
  *
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The DryRunValidationResult model module.
3
3
  * @module Ntnx/DryRunValidationResult
4
- * @version 4.0.1
4
+ * @version 4.2.1
5
5
  * @class DryRunValidationResult
6
6
  */
7
7
  export default class DryRunValidationResult extends Paginable {
@@ -36,11 +36,11 @@ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a
36
36
  function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); } /*
37
37
  * Nutanix Licensing APIs
38
38
  *
39
- * OpenAPI spec version: 4.0.1
39
+ * OpenAPI spec version: 4.2.1
40
40
  *
41
41
  * NOTE: This class is auto generated by the Open API Dev Platform.
42
42
  *
43
- * Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
43
+ * Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
44
44
  *
45
45
  * Do not edit the class manually.
46
46
  *
@@ -48,7 +48,7 @@ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("C
48
48
  /**
49
49
  * The DryRunValidationResult model module.
50
50
  * @module Ntnx/DryRunValidationResult
51
- * @version 4.0.1
51
+ * @version 4.2.1
52
52
  * @class DryRunValidationResult
53
53
  */
54
54
  var _DryRunValidationResult_brand = /*#__PURE__*/new WeakSet();
@@ -72,7 +72,7 @@ var DryRunValidationResult = exports["default"] = /*#__PURE__*/function (_Pagina
72
72
  _this.$objectType = "licensing.v4.config.DryRunValidationResult";
73
73
  /** @type {object<string, any>} */
74
74
  _this.$reserved = {
75
- '$fv': "v4.r0"
75
+ '$fv': "v4.r2"
76
76
  };
77
77
  /** @type {object<string, any>} */
78
78
  _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.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
  *
@@ -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
  *