@nutanix-scratch/dataprotection-js-client 4.0.1-alpha.4 → 4.0.1-beta.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 (483) hide show
  1. package/README.md +35 -28
  2. package/dist/Ntnx-Dataprotection-js-client-prod.js +1 -11
  3. package/dist/Ntnx-Dataprotection-js-client.js +530 -1501
  4. package/dist/es/ApiClient.d.ts +2 -1
  5. package/dist/es/ApiClient.js +401 -246
  6. package/dist/es/Paginable.d.ts +1 -1
  7. package/dist/es/Paginable.js +17 -19
  8. package/dist/es/apis/protectedresources-endpoints.d.ts +52 -0
  9. package/dist/es/apis/protectedresources-endpoints.js +192 -0
  10. package/dist/es/apis/recoverypoints-endpoints.d.ts +126 -0
  11. package/dist/es/apis/recoverypoints-endpoints.js +394 -0
  12. package/dist/es/index.d.ts +55 -87
  13. package/dist/es/index.js +169 -298
  14. package/dist/es/models/common/v1/config/Flag.d.ts +5 -5
  15. package/dist/es/models/common/v1/config/Flag.js +25 -27
  16. package/dist/es/models/common/v1/config/IPv4Address.d.ts +5 -5
  17. package/dist/es/models/common/v1/config/IPv4Address.js +25 -27
  18. package/dist/es/models/common/v1/config/KVPair.d.ts +5 -5
  19. package/dist/es/models/common/v1/config/KVPair.js +28 -30
  20. package/dist/es/models/common/v1/config/Message.d.ts +5 -5
  21. package/dist/es/models/common/v1/config/Message.js +25 -27
  22. package/dist/es/models/common/v1/config/MessageSeverity.js +9 -10
  23. package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +8 -8
  24. package/dist/es/models/common/v1/config/TenantAwareModel.js +29 -31
  25. package/dist/es/models/common/v1/response/ApiLink.d.ts +5 -5
  26. package/dist/es/models/common/v1/response/ApiLink.js +26 -28
  27. package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +8 -8
  28. package/dist/es/models/common/v1/response/ApiResponseMetadata.js +29 -31
  29. package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +5 -5
  30. package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +36 -39
  31. package/dist/es/models/dataprotection/v4/common/BaseRecoveryPoint.d.ts +2 -14
  32. package/dist/es/models/dataprotection/v4/common/BaseRecoveryPoint.js +33 -81
  33. package/dist/es/models/dataprotection/v4/common/RecoveryPointStatus.js +3 -4
  34. package/dist/es/models/dataprotection/v4/common/RecoveryPointType.js +3 -4
  35. package/dist/es/models/dataprotection/v4/config/AhvVmOverrideSpec.d.ts +5 -5
  36. package/dist/es/models/dataprotection/v4/config/AhvVmOverrideSpec.js +31 -31
  37. package/dist/es/models/dataprotection/v4/config/AmazonS3Bucket.d.ts +62 -0
  38. package/dist/es/models/{storage/v4/config/Task.js → dataprotection/v4/config/AmazonS3Bucket.js} +101 -72
  39. package/dist/es/models/dataprotection/v4/config/AzureBlobStorageContainer.d.ts +62 -0
  40. package/dist/{lib/models/storage/v4/config/Task.js → es/models/dataprotection/v4/config/AzureBlobStorageContainer.js} +101 -72
  41. package/dist/es/models/dataprotection/v4/config/Category.d.ts +17 -11
  42. package/dist/es/models/dataprotection/v4/config/Category.js +33 -29
  43. package/dist/es/models/dataprotection/v4/config/ClusterReference.d.ts +12 -9
  44. package/dist/es/models/dataprotection/v4/config/ClusterReference.js +29 -28
  45. package/dist/es/models/{storage/v4/config/Task.d.ts → dataprotection/v4/config/ComputeChangedRegionsResponse.d.ts} +17 -19
  46. package/dist/es/models/dataprotection/v4/config/ComputeChangedRegionsResponse.js +262 -0
  47. package/dist/{lib/models/dataprotection/v4/config/ConsistencyGroupMigrateApiResponse.d.ts → es/models/dataprotection/v4/config/ComputeChangedRegionsResponseModel.d.ts} +12 -12
  48. package/dist/es/models/dataprotection/v4/config/{WitnessApiResponse.js → ComputeChangedRegionsResponseModel.js} +57 -60
  49. package/dist/es/models/dataprotection/v4/config/ConsistencyGroup.d.ts +39 -7
  50. package/dist/es/models/dataprotection/v4/config/ConsistencyGroup.js +123 -42
  51. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMember.d.ts +18 -26
  52. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMember.js +48 -88
  53. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMemberType.js +3 -4
  54. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.d.ts +15 -22
  55. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.js +65 -69
  56. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupProjection.d.ts +5 -1
  57. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupProjection.js +39 -35
  58. package/dist/es/models/dataprotection/v4/config/{VmRecoveryPointRestoreApiResponse.d.ts → CreateConsistencyGroupApiResponse.d.ts} +12 -12
  59. package/dist/{lib/models/dataprotection/v4/config/ConsistencyGroupApiResponse.js → es/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.js} +54 -57
  60. package/dist/es/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.d.ts +5 -5
  61. package/dist/es/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.js +35 -42
  62. package/dist/es/models/dataprotection/v4/config/DataProtectionSiteReference.d.ts +10 -10
  63. package/dist/es/models/dataprotection/v4/config/DataProtectionSiteReference.js +44 -46
  64. package/dist/es/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.d.ts +5 -5
  65. package/dist/es/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.js +35 -38
  66. package/dist/es/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.d.ts +5 -5
  67. package/dist/es/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.js +35 -42
  68. package/dist/es/models/dataprotection/v4/config/DisasterRecoveryLocation.d.ts +12 -9
  69. package/dist/es/models/dataprotection/v4/config/DisasterRecoveryLocation.js +29 -28
  70. package/dist/es/models/dataprotection/v4/config/DiskRecoveryPoint.d.ts +44 -19
  71. package/dist/es/models/dataprotection/v4/config/DiskRecoveryPoint.js +137 -105
  72. package/dist/es/models/dataprotection/v4/config/EsxiVmOverrideSpec.d.ts +5 -5
  73. package/dist/es/models/dataprotection/v4/config/EsxiVmOverrideSpec.js +31 -31
  74. package/dist/es/models/dataprotection/v4/config/ExpirationTimeSpec.d.ts +60 -0
  75. package/dist/es/models/dataprotection/v4/config/{SetExpirationTimeSpec.js → ExpirationTimeSpec.js} +51 -50
  76. package/dist/es/models/dataprotection/v4/config/{ConsistencyGroupListApiResponse.d.ts → GetProtectedResourceApiResponse.d.ts} +12 -12
  77. package/dist/{lib/models/dataprotection/v4/config/ProtectedResourceApiResponse.js → es/models/dataprotection/v4/config/GetProtectedResourceApiResponse.js} +54 -57
  78. package/dist/{lib/models/dataprotection/v4/config/ConsistencyGroupApiResponse.d.ts → es/models/dataprotection/v4/config/GetRecoveryPointApiResponse.d.ts} +12 -12
  79. package/dist/{lib/models/dataprotection/v4/config/RecoveryPointApiResponse.js → es/models/dataprotection/v4/config/GetRecoveryPointApiResponse.js} +54 -57
  80. package/dist/es/models/dataprotection/v4/config/HostReference.d.ts +2 -2
  81. package/dist/es/models/dataprotection/v4/config/HostReference.js +34 -34
  82. package/dist/es/models/dataprotection/v4/config/HostType.js +3 -4
  83. package/dist/es/models/dataprotection/v4/config/IpAddress.d.ts +12 -9
  84. package/dist/es/models/dataprotection/v4/config/IpAddress.js +29 -28
  85. package/dist/{lib/models/dataprotection/v4/config/ChangedRegionsListApiResponse.d.ts → es/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.d.ts} +12 -12
  86. package/dist/{lib/models/dataprotection/v4/config/RecoveryPointListApiResponse.js → es/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.js} +59 -57
  87. package/dist/es/models/dataprotection/v4/config/LocationReference.d.ts +8 -8
  88. package/dist/es/models/dataprotection/v4/config/LocationReference.js +30 -32
  89. package/dist/es/models/dataprotection/v4/config/{ConsistencyGroupMigrateApiResponse.d.ts → MigrateConsistencyGroupApiResponse.d.ts} +12 -12
  90. package/dist/{lib/models/dataprotection/v4/config/WitnessApiResponse.js → es/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.js} +57 -60
  91. package/dist/es/models/dataprotection/v4/config/NutanixObjectsBucket.d.ts +50 -0
  92. package/dist/es/models/dataprotection/v4/config/NutanixObjectsBucket.js +245 -0
  93. package/dist/{lib/models/dataprotection/v4/config/HypervisorType.d.ts → es/models/dataprotection/v4/config/ObjectStorageType.d.ts} +6 -6
  94. package/dist/{lib/models/dataprotection/v4/config/HypervisorType.js → es/models/dataprotection/v4/config/ObjectStorageType.js} +26 -27
  95. package/dist/es/models/dataprotection/v4/config/{ValidationSeverity.d.ts → ProtectedEntityType.d.ts} +6 -6
  96. package/dist/{lib/models/dataprotection/v4/config/ProtectedResourceEntityType.js → es/models/dataprotection/v4/config/ProtectedEntityType.js} +21 -22
  97. package/dist/es/models/dataprotection/v4/config/ProtectedResource.d.ts +21 -9
  98. package/dist/es/models/dataprotection/v4/config/ProtectedResource.js +111 -62
  99. package/dist/es/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.d.ts +5 -5
  100. package/dist/es/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.js +35 -38
  101. package/dist/es/models/dataprotection/v4/config/ProtectedResourceReplicationStatus.js +11 -24
  102. package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.d.ts +5 -5
  103. package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.js +35 -38
  104. package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.d.ts +24 -9
  105. package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.js +95 -31
  106. package/dist/es/models/dataprotection/v4/config/RecoveryInfo.d.ts +5 -5
  107. package/dist/es/models/dataprotection/v4/config/RecoveryInfo.js +25 -27
  108. package/dist/es/models/dataprotection/v4/config/RecoveryPoint.d.ts +14 -44
  109. package/dist/es/models/dataprotection/v4/config/RecoveryPoint.js +59 -167
  110. package/dist/es/models/dataprotection/v4/config/RecoveryPointProjection.d.ts +9 -0
  111. package/dist/es/models/dataprotection/v4/config/RecoveryPointProjection.js +132 -0
  112. package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.d.ts +5 -5
  113. package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.js +35 -42
  114. package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicationSpec.d.ts +37 -18
  115. package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicationSpec.js +114 -91
  116. package/dist/es/models/dataprotection/v4/config/RecoveryPointRepository.d.ts +52 -0
  117. package/dist/es/models/dataprotection/v4/config/RecoveryPointRepository.js +323 -0
  118. package/dist/es/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.d.ts +9 -0
  119. package/dist/es/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.js +129 -0
  120. package/dist/es/models/dataprotection/v4/config/RecoveryPointRestorationSpec.d.ts +14 -14
  121. package/dist/es/models/dataprotection/v4/config/RecoveryPointRestorationSpec.js +42 -44
  122. package/dist/es/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.d.ts +5 -5
  123. package/dist/es/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.js +35 -42
  124. package/dist/es/models/dataprotection/v4/config/RedirectionResponse.d.ts +60 -0
  125. package/dist/es/models/dataprotection/v4/config/RedirectionResponse.js +279 -0
  126. package/dist/es/models/dataprotection/v4/config/Region.d.ts +91 -0
  127. package/dist/{lib/models/dataprotection/v4/config/Regions.js → es/models/dataprotection/v4/config/Region.js} +107 -58
  128. package/dist/es/models/dataprotection/v4/config/RegionResponse.d.ts +60 -0
  129. package/dist/es/models/dataprotection/v4/config/{ChangedRegions.js → RegionResponse.js} +58 -58
  130. package/dist/es/models/dataprotection/v4/config/{PowerState.d.ts → RegionType.d.ts} +6 -6
  131. package/dist/es/models/dataprotection/v4/config/{PowerState.js → RegionType.js} +23 -24
  132. package/dist/es/models/dataprotection/v4/config/ReplicationState.d.ts +19 -17
  133. package/dist/es/models/dataprotection/v4/config/ReplicationState.js +72 -66
  134. package/dist/es/models/dataprotection/v4/config/RestorableTimeRange.d.ts +5 -5
  135. package/dist/es/models/dataprotection/v4/config/RestorableTimeRange.js +25 -27
  136. package/dist/{lib/models/dataprotection/v4/config/DataProtectionInfo.d.ts → es/models/dataprotection/v4/config/SiteProtectionInfo.d.ts} +12 -12
  137. package/dist/{lib/models/dataprotection/v4/config/DataProtectionInfo.js → es/models/dataprotection/v4/config/SiteProtectionInfo.js} +45 -47
  138. package/dist/es/models/dataprotection/v4/config/SiteReference.d.ts +5 -5
  139. package/dist/es/models/dataprotection/v4/config/SiteReference.js +25 -27
  140. package/dist/es/models/dataprotection/v4/config/Subnet.d.ts +5 -5
  141. package/dist/es/models/dataprotection/v4/config/Subnet.js +25 -27
  142. package/dist/es/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.d.ts +5 -5
  143. package/dist/es/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.js +35 -38
  144. package/dist/{lib/models/dataprotection/v4/config/VmRecoveryPointRestoreApiResponse.d.ts → es/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.d.ts} +12 -12
  145. package/dist/es/models/dataprotection/v4/config/{VMRecoveryPointListApiResponse.js → UpdateConsistencyGroupApiResponse.js} +57 -60
  146. package/dist/es/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.d.ts +5 -5
  147. package/dist/es/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.js +35 -38
  148. package/dist/es/models/dataprotection/v4/config/VmRecoveryPoint.d.ts +77 -0
  149. package/dist/es/models/dataprotection/v4/config/VmRecoveryPoint.js +361 -0
  150. package/dist/es/models/dataprotection/v4/config/VmRecoveryPointComputeChangedRegionsRequest.d.ts +98 -0
  151. package/dist/es/models/dataprotection/v4/config/VmRecoveryPointComputeChangedRegionsRequest.js +403 -0
  152. package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.d.ts +12 -38
  153. package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.js +49 -125
  154. package/dist/es/models/dataprotection/v4/config/VolumeGroupOverrideSpec.d.ts +5 -5
  155. package/dist/es/models/dataprotection/v4/config/VolumeGroupOverrideSpec.js +29 -29
  156. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.d.ts +40 -22
  157. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.js +126 -108
  158. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointComputeChangedRegionsRequest.d.ts +98 -0
  159. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointComputeChangedRegionsRequest.js +403 -0
  160. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.d.ts +12 -18
  161. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.js +49 -53
  162. package/dist/es/models/dataprotection/v4/config/VolumeGroupSyncContext.d.ts +5 -5
  163. package/dist/es/models/dataprotection/v4/config/VolumeGroupSyncContext.js +27 -31
  164. package/dist/es/models/dataprotection/v4/config/VpcReference.d.ts +13 -10
  165. package/dist/es/models/dataprotection/v4/config/VpcReference.js +30 -29
  166. package/dist/es/models/dataprotection/v4/config/Witness.d.ts +5 -5
  167. package/dist/es/models/dataprotection/v4/config/Witness.js +39 -41
  168. package/dist/es/models/dataprotection/v4/config/WitnessAvailabilityStatus.js +3 -4
  169. package/dist/es/models/dataprotection/v4/error/AppMessage.d.ts +20 -12
  170. package/dist/es/models/dataprotection/v4/error/AppMessage.js +49 -39
  171. package/dist/es/models/dataprotection/v4/error/ErrorResponse.d.ts +5 -5
  172. package/dist/es/models/dataprotection/v4/error/ErrorResponse.js +36 -50
  173. package/dist/es/models/dataprotection/v4/error/SchemaValidationError.d.ts +20 -10
  174. package/dist/es/models/dataprotection/v4/error/SchemaValidationError.js +45 -32
  175. package/dist/es/models/dataprotection/v4/error/SchemaValidationErrorMessage.d.ts +14 -8
  176. package/dist/es/models/dataprotection/v4/error/SchemaValidationErrorMessage.js +37 -30
  177. package/dist/es/models/prism/v4/config/TaskReference.d.ts +5 -5
  178. package/dist/es/models/prism/v4/config/TaskReference.js +27 -32
  179. package/dist/es/models/validation/ValidationError.js +8 -10
  180. package/dist/es/models/validation/ValidationScopes.js +1 -2
  181. package/dist/es/utils/ValidationUtils.js +8 -10
  182. package/dist/lib/ApiClient.d.ts +2 -1
  183. package/dist/lib/ApiClient.js +401 -246
  184. package/dist/lib/Paginable.d.ts +1 -1
  185. package/dist/lib/Paginable.js +17 -19
  186. package/dist/lib/apis/protectedresources-endpoints.d.ts +52 -0
  187. package/dist/lib/apis/protectedresources-endpoints.js +192 -0
  188. package/dist/lib/apis/recoverypoints-endpoints.d.ts +126 -0
  189. package/dist/lib/apis/recoverypoints-endpoints.js +394 -0
  190. package/dist/lib/index.d.ts +55 -87
  191. package/dist/lib/index.js +169 -298
  192. package/dist/lib/models/common/v1/config/Flag.d.ts +5 -5
  193. package/dist/lib/models/common/v1/config/Flag.js +25 -27
  194. package/dist/lib/models/common/v1/config/IPv4Address.d.ts +5 -5
  195. package/dist/lib/models/common/v1/config/IPv4Address.js +25 -27
  196. package/dist/lib/models/common/v1/config/KVPair.d.ts +5 -5
  197. package/dist/lib/models/common/v1/config/KVPair.js +28 -30
  198. package/dist/lib/models/common/v1/config/Message.d.ts +5 -5
  199. package/dist/lib/models/common/v1/config/Message.js +25 -27
  200. package/dist/lib/models/common/v1/config/MessageSeverity.js +9 -10
  201. package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +8 -8
  202. package/dist/lib/models/common/v1/config/TenantAwareModel.js +29 -31
  203. package/dist/lib/models/common/v1/response/ApiLink.d.ts +5 -5
  204. package/dist/lib/models/common/v1/response/ApiLink.js +26 -28
  205. package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +8 -8
  206. package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +29 -31
  207. package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +5 -5
  208. package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +36 -39
  209. package/dist/lib/models/dataprotection/v4/common/BaseRecoveryPoint.d.ts +2 -14
  210. package/dist/lib/models/dataprotection/v4/common/BaseRecoveryPoint.js +33 -81
  211. package/dist/lib/models/dataprotection/v4/common/RecoveryPointStatus.js +3 -4
  212. package/dist/lib/models/dataprotection/v4/common/RecoveryPointType.js +3 -4
  213. package/dist/lib/models/dataprotection/v4/config/AhvVmOverrideSpec.d.ts +5 -5
  214. package/dist/lib/models/dataprotection/v4/config/AhvVmOverrideSpec.js +31 -31
  215. package/dist/lib/models/dataprotection/v4/config/AmazonS3Bucket.d.ts +62 -0
  216. package/dist/lib/models/dataprotection/v4/config/AmazonS3Bucket.js +283 -0
  217. package/dist/lib/models/dataprotection/v4/config/AzureBlobStorageContainer.d.ts +62 -0
  218. package/dist/lib/models/dataprotection/v4/config/AzureBlobStorageContainer.js +283 -0
  219. package/dist/lib/models/dataprotection/v4/config/Category.d.ts +17 -11
  220. package/dist/lib/models/dataprotection/v4/config/Category.js +33 -29
  221. package/dist/lib/models/dataprotection/v4/config/ClusterReference.d.ts +12 -9
  222. package/dist/lib/models/dataprotection/v4/config/ClusterReference.js +29 -28
  223. package/dist/lib/models/{storage/v4/config/Task.d.ts → dataprotection/v4/config/ComputeChangedRegionsResponse.d.ts} +17 -19
  224. package/dist/lib/models/dataprotection/v4/config/ComputeChangedRegionsResponse.js +262 -0
  225. package/dist/lib/models/dataprotection/v4/config/ComputeChangedRegionsResponseModel.d.ts +59 -0
  226. package/dist/lib/models/dataprotection/v4/config/ComputeChangedRegionsResponseModel.js +311 -0
  227. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroup.d.ts +39 -7
  228. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroup.js +123 -42
  229. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMember.d.ts +18 -26
  230. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMember.js +48 -88
  231. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMemberType.js +3 -4
  232. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.d.ts +15 -22
  233. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.js +65 -69
  234. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupProjection.d.ts +5 -1
  235. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupProjection.js +39 -35
  236. package/dist/{es/models/dataprotection/v4/config/DiskRecoveryPointApiResponse.d.ts → lib/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.d.ts} +12 -12
  237. package/dist/{es/models/dataprotection/v4/config/ConsistencyGroupApiResponse.js → lib/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.js} +54 -57
  238. package/dist/lib/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.d.ts +5 -5
  239. package/dist/lib/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.js +35 -42
  240. package/dist/lib/models/dataprotection/v4/config/DataProtectionSiteReference.d.ts +10 -10
  241. package/dist/lib/models/dataprotection/v4/config/DataProtectionSiteReference.js +44 -46
  242. package/dist/lib/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.d.ts +5 -5
  243. package/dist/lib/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.js +35 -38
  244. package/dist/lib/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.d.ts +5 -5
  245. package/dist/lib/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.js +35 -42
  246. package/dist/lib/models/dataprotection/v4/config/DisasterRecoveryLocation.d.ts +12 -9
  247. package/dist/lib/models/dataprotection/v4/config/DisasterRecoveryLocation.js +29 -28
  248. package/dist/lib/models/dataprotection/v4/config/DiskRecoveryPoint.d.ts +44 -19
  249. package/dist/lib/models/dataprotection/v4/config/DiskRecoveryPoint.js +137 -105
  250. package/dist/lib/models/dataprotection/v4/config/EsxiVmOverrideSpec.d.ts +5 -5
  251. package/dist/lib/models/dataprotection/v4/config/EsxiVmOverrideSpec.js +31 -31
  252. package/dist/lib/models/dataprotection/v4/config/ExpirationTimeSpec.d.ts +60 -0
  253. package/dist/lib/models/dataprotection/v4/config/{SetExpirationTimeSpec.js → ExpirationTimeSpec.js} +51 -50
  254. package/dist/lib/models/dataprotection/v4/config/{ConsistencyGroupListApiResponse.d.ts → GetProtectedResourceApiResponse.d.ts} +12 -12
  255. package/dist/{es/models/dataprotection/v4/config/ProtectedResourceApiResponse.js → lib/models/dataprotection/v4/config/GetProtectedResourceApiResponse.js} +54 -57
  256. package/dist/{es/models/dataprotection/v4/config/ConsistencyGroupApiResponse.d.ts → lib/models/dataprotection/v4/config/GetRecoveryPointApiResponse.d.ts} +12 -12
  257. package/dist/{es/models/dataprotection/v4/config/RecoveryPointApiResponse.js → lib/models/dataprotection/v4/config/GetRecoveryPointApiResponse.js} +54 -57
  258. package/dist/lib/models/dataprotection/v4/config/HostReference.d.ts +2 -2
  259. package/dist/lib/models/dataprotection/v4/config/HostReference.js +34 -34
  260. package/dist/lib/models/dataprotection/v4/config/HostType.js +3 -4
  261. package/dist/lib/models/dataprotection/v4/config/IpAddress.d.ts +12 -9
  262. package/dist/lib/models/dataprotection/v4/config/IpAddress.js +29 -28
  263. package/dist/{es/models/dataprotection/v4/config/ChangedRegionsListApiResponse.d.ts → lib/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.d.ts} +12 -12
  264. package/dist/{es/models/dataprotection/v4/config/RecoveryPointListApiResponse.js → lib/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.js} +59 -57
  265. package/dist/lib/models/dataprotection/v4/config/LocationReference.d.ts +8 -8
  266. package/dist/lib/models/dataprotection/v4/config/LocationReference.js +30 -32
  267. package/dist/lib/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.d.ts +59 -0
  268. package/dist/{es/models/dataprotection/v4/config/ConsistencyGroupMigrateApiResponse.js → lib/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.js} +54 -61
  269. package/dist/lib/models/dataprotection/v4/config/NutanixObjectsBucket.d.ts +50 -0
  270. package/dist/lib/models/dataprotection/v4/config/NutanixObjectsBucket.js +245 -0
  271. package/dist/{es/models/dataprotection/v4/config/HypervisorType.d.ts → lib/models/dataprotection/v4/config/ObjectStorageType.d.ts} +6 -6
  272. package/dist/{es/models/dataprotection/v4/config/HypervisorType.js → lib/models/dataprotection/v4/config/ObjectStorageType.js} +26 -27
  273. package/dist/lib/models/dataprotection/v4/config/ProtectedEntityType.d.ts +19 -0
  274. package/dist/{es/models/dataprotection/v4/config/ProtectedResourceEntityType.js → lib/models/dataprotection/v4/config/ProtectedEntityType.js} +21 -22
  275. package/dist/lib/models/dataprotection/v4/config/ProtectedResource.d.ts +21 -9
  276. package/dist/lib/models/dataprotection/v4/config/ProtectedResource.js +111 -62
  277. package/dist/lib/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.d.ts +5 -5
  278. package/dist/lib/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.js +35 -38
  279. package/dist/lib/models/dataprotection/v4/config/ProtectedResourceReplicationStatus.js +11 -24
  280. package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.d.ts +5 -5
  281. package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.js +35 -38
  282. package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.d.ts +24 -9
  283. package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.js +95 -31
  284. package/dist/lib/models/dataprotection/v4/config/RecoveryInfo.d.ts +5 -5
  285. package/dist/lib/models/dataprotection/v4/config/RecoveryInfo.js +25 -27
  286. package/dist/lib/models/dataprotection/v4/config/RecoveryPoint.d.ts +14 -44
  287. package/dist/lib/models/dataprotection/v4/config/RecoveryPoint.js +59 -167
  288. package/dist/lib/models/dataprotection/v4/config/RecoveryPointProjection.d.ts +9 -0
  289. package/dist/lib/models/dataprotection/v4/config/RecoveryPointProjection.js +132 -0
  290. package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.d.ts +5 -5
  291. package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.js +35 -42
  292. package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicationSpec.d.ts +37 -18
  293. package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicationSpec.js +114 -91
  294. package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepository.d.ts +52 -0
  295. package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepository.js +323 -0
  296. package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.d.ts +9 -0
  297. package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.js +129 -0
  298. package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestorationSpec.d.ts +14 -14
  299. package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestorationSpec.js +42 -44
  300. package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.d.ts +5 -5
  301. package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.js +35 -42
  302. package/dist/lib/models/dataprotection/v4/config/RedirectionResponse.d.ts +60 -0
  303. package/dist/lib/models/dataprotection/v4/config/RedirectionResponse.js +279 -0
  304. package/dist/lib/models/dataprotection/v4/config/Region.d.ts +91 -0
  305. package/dist/{es/models/dataprotection/v4/config/Regions.js → lib/models/dataprotection/v4/config/Region.js} +107 -58
  306. package/dist/lib/models/dataprotection/v4/config/RegionResponse.d.ts +60 -0
  307. package/dist/lib/models/dataprotection/v4/config/{ChangedRegions.js → RegionResponse.js} +58 -58
  308. package/dist/lib/models/dataprotection/v4/config/{PowerState.d.ts → RegionType.d.ts} +6 -6
  309. package/dist/lib/models/dataprotection/v4/config/{PowerState.js → RegionType.js} +23 -24
  310. package/dist/lib/models/dataprotection/v4/config/ReplicationState.d.ts +19 -17
  311. package/dist/lib/models/dataprotection/v4/config/ReplicationState.js +72 -66
  312. package/dist/lib/models/dataprotection/v4/config/RestorableTimeRange.d.ts +5 -5
  313. package/dist/lib/models/dataprotection/v4/config/RestorableTimeRange.js +25 -27
  314. package/dist/{es/models/dataprotection/v4/config/DataProtectionInfo.d.ts → lib/models/dataprotection/v4/config/SiteProtectionInfo.d.ts} +12 -12
  315. package/dist/{es/models/dataprotection/v4/config/DataProtectionInfo.js → lib/models/dataprotection/v4/config/SiteProtectionInfo.js} +45 -47
  316. package/dist/lib/models/dataprotection/v4/config/SiteReference.d.ts +5 -5
  317. package/dist/lib/models/dataprotection/v4/config/SiteReference.js +25 -27
  318. package/dist/lib/models/dataprotection/v4/config/Subnet.d.ts +5 -5
  319. package/dist/lib/models/dataprotection/v4/config/Subnet.js +25 -27
  320. package/dist/lib/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.d.ts +5 -5
  321. package/dist/lib/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.js +35 -38
  322. package/dist/lib/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.d.ts +59 -0
  323. package/dist/lib/models/dataprotection/v4/config/{VMRecoveryPointListApiResponse.js → UpdateConsistencyGroupApiResponse.js} +57 -60
  324. package/dist/lib/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.d.ts +5 -5
  325. package/dist/lib/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.js +35 -38
  326. package/dist/lib/models/dataprotection/v4/config/VmRecoveryPoint.d.ts +77 -0
  327. package/dist/lib/models/dataprotection/v4/config/VmRecoveryPoint.js +361 -0
  328. package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointComputeChangedRegionsRequest.d.ts +98 -0
  329. package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointComputeChangedRegionsRequest.js +403 -0
  330. package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.d.ts +12 -38
  331. package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.js +49 -125
  332. package/dist/lib/models/dataprotection/v4/config/VolumeGroupOverrideSpec.d.ts +5 -5
  333. package/dist/lib/models/dataprotection/v4/config/VolumeGroupOverrideSpec.js +29 -29
  334. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.d.ts +40 -22
  335. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.js +126 -108
  336. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointComputeChangedRegionsRequest.d.ts +98 -0
  337. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointComputeChangedRegionsRequest.js +403 -0
  338. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.d.ts +12 -18
  339. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.js +49 -53
  340. package/dist/lib/models/dataprotection/v4/config/VolumeGroupSyncContext.d.ts +5 -5
  341. package/dist/lib/models/dataprotection/v4/config/VolumeGroupSyncContext.js +27 -31
  342. package/dist/lib/models/dataprotection/v4/config/VpcReference.d.ts +13 -10
  343. package/dist/lib/models/dataprotection/v4/config/VpcReference.js +30 -29
  344. package/dist/lib/models/dataprotection/v4/config/Witness.d.ts +5 -5
  345. package/dist/lib/models/dataprotection/v4/config/Witness.js +39 -41
  346. package/dist/lib/models/dataprotection/v4/config/WitnessAvailabilityStatus.js +3 -4
  347. package/dist/lib/models/dataprotection/v4/error/AppMessage.d.ts +20 -12
  348. package/dist/lib/models/dataprotection/v4/error/AppMessage.js +49 -39
  349. package/dist/lib/models/dataprotection/v4/error/ErrorResponse.d.ts +5 -5
  350. package/dist/lib/models/dataprotection/v4/error/ErrorResponse.js +36 -50
  351. package/dist/lib/models/dataprotection/v4/error/SchemaValidationError.d.ts +20 -10
  352. package/dist/lib/models/dataprotection/v4/error/SchemaValidationError.js +45 -32
  353. package/dist/lib/models/dataprotection/v4/error/SchemaValidationErrorMessage.d.ts +14 -8
  354. package/dist/lib/models/dataprotection/v4/error/SchemaValidationErrorMessage.js +37 -30
  355. package/dist/lib/models/prism/v4/config/TaskReference.d.ts +5 -5
  356. package/dist/lib/models/prism/v4/config/TaskReference.js +27 -32
  357. package/dist/lib/models/validation/ValidationError.js +8 -10
  358. package/dist/lib/models/validation/ValidationScopes.js +1 -2
  359. package/dist/lib/utils/ValidationUtils.js +8 -10
  360. package/package.json +3 -2
  361. package/dist/es/apis/consistencygroup-endpoints.d.ts +0 -98
  362. package/dist/es/apis/consistencygroup-endpoints.js +0 -304
  363. package/dist/es/models/dataprotection/v4/common/VendorSpecificProperty.d.ts +0 -70
  364. package/dist/es/models/dataprotection/v4/common/VendorSpecificProperty.js +0 -286
  365. package/dist/es/models/dataprotection/v4/config/ChangedRegions.d.ts +0 -62
  366. package/dist/es/models/dataprotection/v4/config/ChangedRegionsListApiResponse.js +0 -314
  367. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupListApiResponse.js +0 -341
  368. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupRecoveryPointSpec.d.ts +0 -67
  369. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupRecoveryPointSpec.js +0 -285
  370. package/dist/es/models/dataprotection/v4/config/CreateConsistencyGroupRecoveryPointApiResponse.d.ts +0 -59
  371. package/dist/es/models/dataprotection/v4/config/CreateConsistencyGroupRecoveryPointApiResponse.js +0 -318
  372. package/dist/es/models/dataprotection/v4/config/Disk.d.ts +0 -62
  373. package/dist/es/models/dataprotection/v4/config/Disk.js +0 -285
  374. package/dist/es/models/dataprotection/v4/config/DiskRecoveryPointApiResponse.js +0 -314
  375. package/dist/es/models/dataprotection/v4/config/DiskRecoveryPointListApiResponse.d.ts +0 -59
  376. package/dist/es/models/dataprotection/v4/config/DiskRecoveryPointListApiResponse.js +0 -336
  377. package/dist/es/models/dataprotection/v4/config/HardwareArchitecture.d.ts +0 -19
  378. package/dist/es/models/dataprotection/v4/config/HardwareArchitecture.js +0 -86
  379. package/dist/es/models/dataprotection/v4/config/ProtectedResourceApiResponse.d.ts +0 -59
  380. package/dist/es/models/dataprotection/v4/config/ProtectedResourceEntityType.d.ts +0 -19
  381. package/dist/es/models/dataprotection/v4/config/RecoveryPointApiResponse.d.ts +0 -59
  382. package/dist/es/models/dataprotection/v4/config/RecoveryPointListApiResponse.d.ts +0 -59
  383. package/dist/es/models/dataprotection/v4/config/Regions.d.ts +0 -62
  384. package/dist/es/models/dataprotection/v4/config/SetExpirationTimeSpec.d.ts +0 -57
  385. package/dist/es/models/dataprotection/v4/config/SyncedVolumeGroupByIdApiResponse.d.ts +0 -59
  386. package/dist/es/models/dataprotection/v4/config/SyncedVolumeGroupByIdApiResponse.js +0 -314
  387. package/dist/es/models/dataprotection/v4/config/VMRecoveryPoint.d.ts +0 -49
  388. package/dist/es/models/dataprotection/v4/config/VMRecoveryPoint.js +0 -295
  389. package/dist/es/models/dataprotection/v4/config/VMRecoveryPointApiResponse.d.ts +0 -59
  390. package/dist/es/models/dataprotection/v4/config/VMRecoveryPointApiResponse.js +0 -314
  391. package/dist/es/models/dataprotection/v4/config/VMRecoveryPointListApiResponse.d.ts +0 -59
  392. package/dist/es/models/dataprotection/v4/config/ValidateRecoveryPointResult.d.ts +0 -79
  393. package/dist/es/models/dataprotection/v4/config/ValidateRecoveryPointResult.js +0 -320
  394. package/dist/es/models/dataprotection/v4/config/ValidateRestoreVmRecoveryPointApiResponse.d.ts +0 -59
  395. package/dist/es/models/dataprotection/v4/config/ValidateRestoreVmRecoveryPointApiResponse.js +0 -336
  396. package/dist/es/models/dataprotection/v4/config/ValidationSeverity.js +0 -86
  397. package/dist/es/models/dataprotection/v4/config/Vm.d.ts +0 -140
  398. package/dist/es/models/dataprotection/v4/config/Vm.js +0 -545
  399. package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestorationSpec.d.ts +0 -70
  400. package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestorationSpec.js +0 -319
  401. package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestoreApiResponse.js +0 -318
  402. package/dist/es/models/dataprotection/v4/config/VmSubRecoveryPoint.d.ts +0 -98
  403. package/dist/es/models/dataprotection/v4/config/VmSubRecoveryPoint.js +0 -405
  404. package/dist/es/models/dataprotection/v4/config/VmSubRecoveryPointProjection.d.ts +0 -9
  405. package/dist/es/models/dataprotection/v4/config/VmSubRecoveryPointProjection.js +0 -132
  406. package/dist/es/models/dataprotection/v4/config/VolumeGroup.d.ts +0 -62
  407. package/dist/es/models/dataprotection/v4/config/VolumeGroup.js +0 -285
  408. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointApiResponse.d.ts +0 -59
  409. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointApiResponse.js +0 -314
  410. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointListApiResponse.d.ts +0 -59
  411. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointListApiResponse.js +0 -336
  412. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestorationSpec.d.ts +0 -62
  413. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestorationSpec.js +0 -288
  414. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreApiResponse.d.ts +0 -59
  415. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreApiResponse.js +0 -318
  416. package/dist/es/models/dataprotection/v4/config/VolumeGroupSubRecoveryPoint.d.ts +0 -98
  417. package/dist/es/models/dataprotection/v4/config/VolumeGroupSubRecoveryPoint.js +0 -407
  418. package/dist/es/models/dataprotection/v4/config/VolumeGroupSubRecoveryPointProjection.d.ts +0 -9
  419. package/dist/es/models/dataprotection/v4/config/VolumeGroupSubRecoveryPointProjection.js +0 -132
  420. package/dist/es/models/dataprotection/v4/config/WitnessApiResponse.d.ts +0 -59
  421. package/dist/lib/apis/consistencygroup-endpoints.d.ts +0 -98
  422. package/dist/lib/apis/consistencygroup-endpoints.js +0 -304
  423. package/dist/lib/models/dataprotection/v4/common/VendorSpecificProperty.d.ts +0 -70
  424. package/dist/lib/models/dataprotection/v4/common/VendorSpecificProperty.js +0 -286
  425. package/dist/lib/models/dataprotection/v4/config/ChangedRegions.d.ts +0 -62
  426. package/dist/lib/models/dataprotection/v4/config/ChangedRegionsListApiResponse.js +0 -314
  427. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupListApiResponse.js +0 -341
  428. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMigrateApiResponse.js +0 -318
  429. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupRecoveryPointSpec.d.ts +0 -67
  430. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupRecoveryPointSpec.js +0 -285
  431. package/dist/lib/models/dataprotection/v4/config/CreateConsistencyGroupRecoveryPointApiResponse.d.ts +0 -59
  432. package/dist/lib/models/dataprotection/v4/config/CreateConsistencyGroupRecoveryPointApiResponse.js +0 -318
  433. package/dist/lib/models/dataprotection/v4/config/Disk.d.ts +0 -62
  434. package/dist/lib/models/dataprotection/v4/config/Disk.js +0 -285
  435. package/dist/lib/models/dataprotection/v4/config/DiskRecoveryPointApiResponse.d.ts +0 -59
  436. package/dist/lib/models/dataprotection/v4/config/DiskRecoveryPointApiResponse.js +0 -314
  437. package/dist/lib/models/dataprotection/v4/config/DiskRecoveryPointListApiResponse.d.ts +0 -59
  438. package/dist/lib/models/dataprotection/v4/config/DiskRecoveryPointListApiResponse.js +0 -336
  439. package/dist/lib/models/dataprotection/v4/config/HardwareArchitecture.d.ts +0 -19
  440. package/dist/lib/models/dataprotection/v4/config/HardwareArchitecture.js +0 -86
  441. package/dist/lib/models/dataprotection/v4/config/ProtectedResourceApiResponse.d.ts +0 -59
  442. package/dist/lib/models/dataprotection/v4/config/ProtectedResourceEntityType.d.ts +0 -19
  443. package/dist/lib/models/dataprotection/v4/config/RecoveryPointApiResponse.d.ts +0 -59
  444. package/dist/lib/models/dataprotection/v4/config/RecoveryPointListApiResponse.d.ts +0 -59
  445. package/dist/lib/models/dataprotection/v4/config/Regions.d.ts +0 -62
  446. package/dist/lib/models/dataprotection/v4/config/SetExpirationTimeSpec.d.ts +0 -57
  447. package/dist/lib/models/dataprotection/v4/config/SyncedVolumeGroupByIdApiResponse.d.ts +0 -59
  448. package/dist/lib/models/dataprotection/v4/config/SyncedVolumeGroupByIdApiResponse.js +0 -314
  449. package/dist/lib/models/dataprotection/v4/config/VMRecoveryPoint.d.ts +0 -49
  450. package/dist/lib/models/dataprotection/v4/config/VMRecoveryPoint.js +0 -295
  451. package/dist/lib/models/dataprotection/v4/config/VMRecoveryPointApiResponse.d.ts +0 -59
  452. package/dist/lib/models/dataprotection/v4/config/VMRecoveryPointApiResponse.js +0 -314
  453. package/dist/lib/models/dataprotection/v4/config/VMRecoveryPointListApiResponse.d.ts +0 -59
  454. package/dist/lib/models/dataprotection/v4/config/ValidateRecoveryPointResult.d.ts +0 -79
  455. package/dist/lib/models/dataprotection/v4/config/ValidateRecoveryPointResult.js +0 -320
  456. package/dist/lib/models/dataprotection/v4/config/ValidateRestoreVmRecoveryPointApiResponse.d.ts +0 -59
  457. package/dist/lib/models/dataprotection/v4/config/ValidateRestoreVmRecoveryPointApiResponse.js +0 -336
  458. package/dist/lib/models/dataprotection/v4/config/ValidationSeverity.d.ts +0 -19
  459. package/dist/lib/models/dataprotection/v4/config/ValidationSeverity.js +0 -86
  460. package/dist/lib/models/dataprotection/v4/config/Vm.d.ts +0 -140
  461. package/dist/lib/models/dataprotection/v4/config/Vm.js +0 -545
  462. package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestorationSpec.d.ts +0 -70
  463. package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestorationSpec.js +0 -319
  464. package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestoreApiResponse.js +0 -318
  465. package/dist/lib/models/dataprotection/v4/config/VmSubRecoveryPoint.d.ts +0 -98
  466. package/dist/lib/models/dataprotection/v4/config/VmSubRecoveryPoint.js +0 -405
  467. package/dist/lib/models/dataprotection/v4/config/VmSubRecoveryPointProjection.d.ts +0 -9
  468. package/dist/lib/models/dataprotection/v4/config/VmSubRecoveryPointProjection.js +0 -132
  469. package/dist/lib/models/dataprotection/v4/config/VolumeGroup.d.ts +0 -62
  470. package/dist/lib/models/dataprotection/v4/config/VolumeGroup.js +0 -285
  471. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointApiResponse.d.ts +0 -59
  472. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointApiResponse.js +0 -314
  473. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointListApiResponse.d.ts +0 -59
  474. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointListApiResponse.js +0 -336
  475. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestorationSpec.d.ts +0 -62
  476. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestorationSpec.js +0 -288
  477. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreApiResponse.d.ts +0 -59
  478. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreApiResponse.js +0 -318
  479. package/dist/lib/models/dataprotection/v4/config/VolumeGroupSubRecoveryPoint.d.ts +0 -98
  480. package/dist/lib/models/dataprotection/v4/config/VolumeGroupSubRecoveryPoint.js +0 -407
  481. package/dist/lib/models/dataprotection/v4/config/VolumeGroupSubRecoveryPointProjection.d.ts +0 -9
  482. package/dist/lib/models/dataprotection/v4/config/VolumeGroupSubRecoveryPointProjection.js +0 -132
  483. package/dist/lib/models/dataprotection/v4/config/WitnessApiResponse.d.ts +0 -59
@@ -12,71 +12,69 @@ var _ValidationScopes = _interopRequireDefault(require("../../../validation/Vali
12
12
  var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
13
13
  var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
14
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
15
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
16
16
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
17
17
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
18
18
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
19
19
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
20
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
20
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
21
21
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
22
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
23
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
22
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
23
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
24
24
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
25
25
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
26
26
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
27
27
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
28
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
29
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
30
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
31
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
32
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
28
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
29
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
30
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
33
31
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
34
32
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
35
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
33
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
36
34
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
35
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
36
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
37
37
  function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
38
38
  function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } } /*
39
- * Nutanix Dataprotection Versioned APIs
40
- *
41
- * OpenAPI spec version: 4.0.1-alpha-4
42
- *
43
- * NOTE: This class is auto generated by the Open API Dev Platform.
44
- *
45
- * Open API Dev Platform Codegen version: 16.8.0.6343-RELEASE
46
- *
47
- * Do not edit the class manually.
48
- *
49
- */
39
+ * Nutanix Dataprotection Versioned APIs
40
+ *
41
+ * OpenAPI spec version: 4.0.1-beta-1
42
+ *
43
+ * NOTE: This class is auto generated by the Open API Dev Platform.
44
+ *
45
+ * Open API Dev Platform Codegen version: 16.8.0.7344-RELEASE
46
+ *
47
+ * Do not edit the class manually.
48
+ *
49
+ */
50
50
  /**
51
51
  * The Witness model module.
52
52
  * @module Ntnx/Witness
53
- * @version 4.0.1-alpha-4
53
+ * @version 4.0.1-beta-1
54
54
  * @class Witness
55
55
  */
56
- var _toJsonMapType = /*#__PURE__*/new WeakSet();
57
- var Witness = /*#__PURE__*/function (_ExternalizableAbstra) {
58
- _inherits(Witness, _ExternalizableAbstra);
59
- var _super = _createSuper(Witness);
56
+ var _Witness_brand = /*#__PURE__*/new WeakSet();
57
+ var Witness = exports["default"] = /*#__PURE__*/function (_ExternalizableAbstra) {
60
58
  /**
61
59
  * Constructs a new <code>Witness</code>.
62
60
  * A model that represents the details of a Witness site.
63
61
  * @alias module:Ntnx/Witness
64
62
  * @extends module:Ntnx/ExternalizableAbstractModel
65
- */
63
+ */
66
64
  function Witness() {
67
65
  var _this;
68
66
  _classCallCheck(this, Witness);
69
- _this = _super.call(this);
67
+ _this = _callSuper(this, Witness);
70
68
  /*
71
69
  * toJson method for a map type which supports map with primitive keys and values of object types
72
70
  * @param {Object} obj
73
71
  * @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
74
72
  * Otherwise, just returns the input object.
75
73
  */
76
- _classPrivateMethodInitSpec(_assertThisInitialized(_this), _toJsonMapType);
74
+ _classPrivateMethodInitSpec(_this, _Witness_brand);
77
75
  _this.$objectType = "dataprotection.v4.config.Witness";
78
76
  _this.$reserved = {
79
- '$fqObjectType': "dataprotection.v4.r0.a4.config.Witness"
77
+ '$fv': "v4.r0.b1"
80
78
  };
81
79
  _this.$unknownFields = {};
82
80
  return _this;
@@ -90,7 +88,8 @@ var Witness = /*#__PURE__*/function (_ExternalizableAbstra) {
90
88
  * @param callFromChild {Boolean} Flag to recognise calling instance
91
89
  * @return {module:Ntnx/Witness} The populated <code>Witness</code> instance.
92
90
  */
93
- _createClass(Witness, [{
91
+ _inherits(Witness, _ExternalizableAbstra);
92
+ return _createClass(Witness, [{
94
93
  key: "getName",
95
94
  value:
96
95
  /**
@@ -132,7 +131,7 @@ var Witness = /*#__PURE__*/function (_ExternalizableAbstra) {
132
131
  }
133
132
 
134
133
  /**
135
- * Returns List of IP addresses to be assigned to the Virtual Machine.
134
+ * Returns List of IP addresses for the Witness site.
136
135
  * @return {}
137
136
  */
138
137
  }, {
@@ -142,8 +141,8 @@ var Witness = /*#__PURE__*/function (_ExternalizableAbstra) {
142
141
  }
143
142
 
144
143
  /**
145
- * Sets List of IP addresses to be assigned to the Virtual Machine.
146
- * @param {} ipAddresses List of IP addresses to be assigned to the Virtual Machine.
144
+ * Sets List of IP addresses for the Witness site.
145
+ * @param {} ipAddresses List of IP addresses for the Witness site.
147
146
  */
148
147
  }, {
149
148
  key: "setIpAddresses",
@@ -253,6 +252,9 @@ var Witness = /*#__PURE__*/function (_ExternalizableAbstra) {
253
252
  if (typeof this.name === 'undefined' || this.name === null) {
254
253
  return new _ValidationError["default"]("name", "undefined or null");
255
254
  }
255
+ if (!_ValidationUtils["default"].validateMaxLength(this.name, 256)) {
256
+ return new _ValidationError["default"]("name", "does not satisfy required maxLength constraint: 256");
257
+ }
256
258
  }
257
259
  if (property === "hostReferences") {
258
260
  if (typeof this.hostReferences === 'undefined' || this.hostReferences === null) {
@@ -314,14 +316,12 @@ var Witness = /*#__PURE__*/function (_ExternalizableAbstra) {
314
316
  return obj;
315
317
  }
316
318
  }]);
317
- return Witness;
318
319
  }(_ExternalizableAbstractModel["default"]);
319
320
  /**
320
321
  * Name of the Witness site.
321
322
  * @memberof Witness
322
323
  */
323
- exports["default"] = Witness;
324
- function _toJsonMapType2(obj, forMutation) {
324
+ function _toJsonMapType(obj, forMutation) {
325
325
  if (obj instanceof Map) {
326
326
  return Object.fromEntries(Array.from(obj, function (_ref) {
327
327
  var _ref2 = _slicedToArray(_ref, 2),
@@ -345,7 +345,7 @@ Witness.prototype.name = undefined;
345
345
  Witness.prototype.hostReferences = undefined;
346
346
 
347
347
  /**
348
- * List of IP addresses to be assigned to the Virtual Machine.
348
+ * List of IP addresses for the Witness site.
349
349
  * @memberof Witness
350
350
  */
351
351
  Witness.prototype.ipAddresses = undefined;
@@ -353,6 +353,4 @@ Witness.prototype.ipAddresses = undefined;
353
353
  /**
354
354
  * @memberof Witness
355
355
  */
356
- Witness.prototype.status = undefined;
357
-
358
- // Implement OneOfdataprotection.v4.config.WitnessApiResponsedata interface:
356
+ Witness.prototype.status = undefined;
@@ -11,11 +11,11 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
11
11
  /*
12
12
  * Nutanix Dataprotection Versioned APIs
13
13
  *
14
- * OpenAPI spec version: 4.0.1-alpha-4
14
+ * OpenAPI spec version: 4.0.1-beta-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.8.0.6343-RELEASE
18
+ * Open API Dev Platform Codegen version: 16.8.0.7344-RELEASE
19
19
  *
20
20
  * Do not edit the class manually.
21
21
  *
@@ -82,5 +82,4 @@ WitnessAvailabilityStatus.validate = function (obj) {
82
82
  }
83
83
  };
84
84
  Object.freeze(WitnessAvailabilityStatus);
85
- var _default = WitnessAvailabilityStatus;
86
- exports["default"] = _default;
85
+ var _default = exports["default"] = WitnessAvailabilityStatus;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The AppMessage model module.
3
3
  * @module Ntnx/AppMessage
4
- * @version 4.0.1-alpha-4
4
+ * @version 4.0.1-beta-1
5
5
  * @class AppMessage
6
6
  */
7
7
  export default class AppMessage {
@@ -16,15 +16,17 @@ export default class AppMessage {
16
16
  static constructFromObject(data: any, obj: any, callFromChild?: boolean): any;
17
17
  $objectType: string;
18
18
  $reserved: {
19
- $fqObjectType: string;
19
+ $fv: string;
20
20
  };
21
21
  $unknownFields: {};
22
22
  /**
23
+ * Returns The message string.
23
24
  * @return {}
24
25
  */
25
26
  getMessage(): any;
26
27
  /**
27
- * @param {} message
28
+ * Sets The message string.
29
+ * @param {} message The message string.
28
30
  */
29
31
  setMessage(message: any): void;
30
32
  message: any;
@@ -38,51 +40,57 @@ export default class AppMessage {
38
40
  setSeverity(severity: any): void;
39
41
  severity: any;
40
42
  /**
43
+ * Returns The code associated with this message.This string is typically prefixed by the namespace the endpoint belongs to. For example: VMM-40000
41
44
  * @return {}
42
45
  */
43
46
  getCode(): any;
44
47
  /**
45
- * @param {} code
48
+ * Sets The code associated with this message.This string is typically prefixed by the namespace the endpoint belongs to. For example: VMM-40000
49
+ * @param {} code The code associated with this message.This string is typically prefixed by the namespace the endpoint belongs to. For example: VMM-40000
46
50
  */
47
51
  setCode(code: any): void;
48
52
  code: any;
49
53
  /**
50
- * Returns The locale for the message description.
54
+ * Returns Locale for this message. The default locale would be 'en-US'.
51
55
  * @return {}
52
56
  */
53
57
  getLocale(): any;
54
58
  /**
55
- * Sets The locale for the message description.
56
- * @param {} locale The locale for the message description.
59
+ * Sets Locale for this message. The default locale would be 'en-US'.
60
+ * @param {} locale Locale for this message. The default locale would be 'en-US'.
57
61
  */
58
62
  setLocale(locale: any): void;
59
63
  locale: any;
60
64
  /**
65
+ * Returns The error group associated with this message of severity ERROR.
61
66
  * @return {}
62
67
  */
63
68
  getErrorGroup(): any;
64
69
  /**
65
- * @param {} errorGroup
70
+ * Sets The error group associated with this message of severity ERROR.
71
+ * @param {} errorGroup The error group associated with this message of severity ERROR.
66
72
  */
67
73
  setErrorGroup(errorGroup: any): void;
68
74
  errorGroup: any;
69
75
  /**
76
+ * Returns The map of argument name to value.
70
77
  * @return {}
71
78
  */
72
79
  getArgumentsMap(): any;
73
80
  /**
74
- * @param {} argumentsMap
81
+ * Sets The map of argument name to value.
82
+ * @param {} argumentsMap The map of argument name to value.
75
83
  */
76
84
  setArgumentsMap(argumentsMap: any): void;
77
85
  argumentsMap: any;
78
86
  get$Reserved(): {
79
- $fqObjectType: string;
87
+ $fv: string;
80
88
  };
81
89
  get$ObjectType(): string;
82
90
  get$UnknownFields(): {};
83
91
  toJson(forMutation: any): {
84
92
  $reserved: {
85
- $fqObjectType: string;
93
+ $fv: string;
86
94
  };
87
95
  $objectType: string;
88
96
  $unknownFields: {};
@@ -93,7 +101,7 @@ export default class AppMessage {
93
101
  severity?: any;
94
102
  message?: any;
95
103
  };
96
- validate(scope: any, properties: any, ...args: any[]): any;
104
+ validate(scope: any, properties: any, ...args: any[]): Promise<any>;
97
105
  validateProperty(scope: any, property: any): ValidationError;
98
106
  #private;
99
107
  }
@@ -9,48 +9,48 @@ var _ValidationScopes = _interopRequireDefault(require("../../../validation/Vali
9
9
  var _ValidationUtils = _interopRequireDefault(require("../../../../utils/ValidationUtils"));
10
10
  var _ValidationError = _interopRequireDefault(require("../../../validation/ValidationError"));
11
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
12
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
13
13
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
14
14
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
15
15
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
16
16
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
17
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
17
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
18
18
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
19
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
20
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
19
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
20
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
21
21
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
22
22
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
23
23
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
24
24
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
26
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
25
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
26
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
27
27
  function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
28
28
  function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
29
- function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; } /*
30
- * Nutanix Dataprotection Versioned APIs
31
- *
32
- * OpenAPI spec version: 4.0.1-alpha-4
33
- *
34
- * NOTE: This class is auto generated by the Open API Dev Platform.
35
- *
36
- * Open API Dev Platform Codegen version: 16.8.0.6343-RELEASE
37
- *
38
- * Do not edit the class manually.
39
- *
40
- */
29
+ 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"); } /*
30
+ * Nutanix Dataprotection Versioned APIs
31
+ *
32
+ * OpenAPI spec version: 4.0.1-beta-1
33
+ *
34
+ * NOTE: This class is auto generated by the Open API Dev Platform.
35
+ *
36
+ * Open API Dev Platform Codegen version: 16.8.0.7344-RELEASE
37
+ *
38
+ * Do not edit the class manually.
39
+ *
40
+ */
41
41
  /**
42
42
  * The AppMessage model module.
43
43
  * @module Ntnx/AppMessage
44
- * @version 4.0.1-alpha-4
44
+ * @version 4.0.1-beta-1
45
45
  * @class AppMessage
46
46
  */
47
- var _toJsonMapType = /*#__PURE__*/new WeakSet();
48
- var AppMessage = /*#__PURE__*/function () {
47
+ var _AppMessage_brand = /*#__PURE__*/new WeakSet();
48
+ var AppMessage = exports["default"] = /*#__PURE__*/function () {
49
49
  /**
50
50
  * Constructs a new <code>AppMessage</code>.
51
- * This schema is generated from AppMessage.java
51
+ * Message with associated severity describing status of the current operation.
52
52
  * @alias module:Ntnx/AppMessage
53
- */
53
+ */
54
54
  function AppMessage() {
55
55
  _classCallCheck(this, AppMessage);
56
56
  /*
@@ -59,10 +59,10 @@ var AppMessage = /*#__PURE__*/function () {
59
59
  * @returns {Object|Map} Returns a new transofrmed Map by calling toJson on the values if applicable.
60
60
  * Otherwise, just returns the input object.
61
61
  */
62
- _classPrivateMethodInitSpec(this, _toJsonMapType);
62
+ _classPrivateMethodInitSpec(this, _AppMessage_brand);
63
63
  this.$objectType = "dataprotection.v4.error.AppMessage";
64
64
  this.$reserved = {
65
- '$fqObjectType': "dataprotection.v4.r0.a4.error.AppMessage"
65
+ '$fv': "v4.r0.b1"
66
66
  };
67
67
  this.$unknownFields = {};
68
68
  }
@@ -75,10 +75,11 @@ var AppMessage = /*#__PURE__*/function () {
75
75
  * @param callFromChild {Boolean} Flag to recognise calling instance
76
76
  * @return {module:Ntnx/AppMessage} The populated <code>AppMessage</code> instance.
77
77
  */
78
- _createClass(AppMessage, [{
78
+ return _createClass(AppMessage, [{
79
79
  key: "getMessage",
80
80
  value:
81
81
  /**
82
+ * Returns The message string.
82
83
  * @return {}
83
84
  */
84
85
  function getMessage() {
@@ -86,7 +87,8 @@ var AppMessage = /*#__PURE__*/function () {
86
87
  }
87
88
 
88
89
  /**
89
- * @param {} message
90
+ * Sets The message string.
91
+ * @param {} message The message string.
90
92
  */
91
93
  }, {
92
94
  key: "setMessage",
@@ -113,6 +115,7 @@ var AppMessage = /*#__PURE__*/function () {
113
115
  }
114
116
 
115
117
  /**
118
+ * Returns The code associated with this message.This string is typically prefixed by the namespace the endpoint belongs to. For example: VMM-40000
116
119
  * @return {}
117
120
  */
118
121
  }, {
@@ -122,7 +125,8 @@ var AppMessage = /*#__PURE__*/function () {
122
125
  }
123
126
 
124
127
  /**
125
- * @param {} code
128
+ * Sets The code associated with this message.This string is typically prefixed by the namespace the endpoint belongs to. For example: VMM-40000
129
+ * @param {} code The code associated with this message.This string is typically prefixed by the namespace the endpoint belongs to. For example: VMM-40000
126
130
  */
127
131
  }, {
128
132
  key: "setCode",
@@ -131,7 +135,7 @@ var AppMessage = /*#__PURE__*/function () {
131
135
  }
132
136
 
133
137
  /**
134
- * Returns The locale for the message description.
138
+ * Returns Locale for this message. The default locale would be 'en-US'.
135
139
  * @return {}
136
140
  */
137
141
  }, {
@@ -141,8 +145,8 @@ var AppMessage = /*#__PURE__*/function () {
141
145
  }
142
146
 
143
147
  /**
144
- * Sets The locale for the message description.
145
- * @param {} locale The locale for the message description.
148
+ * Sets Locale for this message. The default locale would be 'en-US'.
149
+ * @param {} locale Locale for this message. The default locale would be 'en-US'.
146
150
  */
147
151
  }, {
148
152
  key: "setLocale",
@@ -151,6 +155,7 @@ var AppMessage = /*#__PURE__*/function () {
151
155
  }
152
156
 
153
157
  /**
158
+ * Returns The error group associated with this message of severity ERROR.
154
159
  * @return {}
155
160
  */
156
161
  }, {
@@ -160,7 +165,8 @@ var AppMessage = /*#__PURE__*/function () {
160
165
  }
161
166
 
162
167
  /**
163
- * @param {} errorGroup
168
+ * Sets The error group associated with this message of severity ERROR.
169
+ * @param {} errorGroup The error group associated with this message of severity ERROR.
164
170
  */
165
171
  }, {
166
172
  key: "setErrorGroup",
@@ -169,6 +175,7 @@ var AppMessage = /*#__PURE__*/function () {
169
175
  }
170
176
 
171
177
  /**
178
+ * Returns The map of argument name to value.
172
179
  * @return {}
173
180
  */
174
181
  }, {
@@ -178,7 +185,8 @@ var AppMessage = /*#__PURE__*/function () {
178
185
  }
179
186
 
180
187
  /**
181
- * @param {} argumentsMap
188
+ * Sets The map of argument name to value.
189
+ * @param {} argumentsMap The map of argument name to value.
182
190
  */
183
191
  }, {
184
192
  key: "setArgumentsMap",
@@ -215,7 +223,7 @@ var AppMessage = /*#__PURE__*/function () {
215
223
  } : {}), typeof this.getErrorGroup() !== 'undefined' && this.getErrorGroup() !== null ? {
216
224
  'errorGroup': this.getErrorGroup()
217
225
  } : {}), typeof this.getArgumentsMap() !== 'undefined' && this.getArgumentsMap() !== null ? {
218
- 'argumentsMap': _classPrivateMethodGet(this, _toJsonMapType, _toJsonMapType2).call(this, this.getArgumentsMap(), false)
226
+ 'argumentsMap': _assertClassBrand(_AppMessage_brand, this, _toJsonMapType).call(this, this.getArgumentsMap(), false)
219
227
  } : {}), {}, {
220
228
  '$reserved': this.get$Reserved(),
221
229
  '$objectType': this.get$ObjectType(),
@@ -233,7 +241,7 @@ var AppMessage = /*#__PURE__*/function () {
233
241
  } : {}), typeof this.getErrorGroup() !== 'undefined' && this.getErrorGroup() !== null ? {
234
242
  'errorGroup': this.getErrorGroup()
235
243
  } : {}), typeof this.getArgumentsMap() !== 'undefined' && this.getArgumentsMap() !== null ? {
236
- 'argumentsMap': _classPrivateMethodGet(this, _toJsonMapType, _toJsonMapType2).call(this, this.getArgumentsMap())
244
+ 'argumentsMap': _assertClassBrand(_AppMessage_brand, this, _toJsonMapType).call(this, this.getArgumentsMap())
237
245
  } : {}), {}, {
238
246
  '$reserved': this.get$Reserved(),
239
247
  '$objectType': this.get$ObjectType(),
@@ -368,13 +376,12 @@ var AppMessage = /*#__PURE__*/function () {
368
376
  return obj;
369
377
  }
370
378
  }]);
371
- return AppMessage;
372
379
  }();
373
380
  /**
381
+ * The message string.
374
382
  * @memberof AppMessage
375
383
  */
376
- exports["default"] = AppMessage;
377
- function _toJsonMapType2(obj, forMutation) {
384
+ function _toJsonMapType(obj, forMutation) {
378
385
  if (obj instanceof Map) {
379
386
  return Object.fromEntries(Array.from(obj, function (_ref) {
380
387
  var _ref2 = _slicedToArray(_ref, 2),
@@ -397,23 +404,26 @@ AppMessage.prototype.message = undefined;
397
404
  AppMessage.prototype.severity = undefined;
398
405
 
399
406
  /**
407
+ * The code associated with this message.This string is typically prefixed by the namespace the endpoint belongs to. For example: VMM-40000
400
408
  * @memberof AppMessage
401
409
  */
402
410
  AppMessage.prototype.code = undefined;
403
411
 
404
412
  /**
405
- * The locale for the message description.
413
+ * Locale for this message. The default locale would be 'en-US'.
406
414
  * @memberof AppMessage
407
415
  * @default 'en_US'
408
416
  */
409
417
  AppMessage.prototype.locale = 'en_US';
410
418
 
411
419
  /**
420
+ * The error group associated with this message of severity ERROR.
412
421
  * @memberof AppMessage
413
422
  */
414
423
  AppMessage.prototype.errorGroup = undefined;
415
424
 
416
425
  /**
426
+ * The map of argument name to value.
417
427
  * @memberof AppMessage
418
428
  */
419
429
  AppMessage.prototype.argumentsMap = undefined;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * The ErrorResponse model module.
3
3
  * @module Ntnx/ErrorResponse
4
- * @version 4.0.1-alpha-4
4
+ * @version 4.0.1-beta-1
5
5
  * @class ErrorResponse
6
6
  */
7
7
  export default class ErrorResponse {
@@ -16,7 +16,7 @@ export default class ErrorResponse {
16
16
  static constructFromObject(data: any, obj: any, callFromChild?: boolean): any;
17
17
  $objectType: string;
18
18
  $reserved: {
19
- $fqObjectType: string;
19
+ $fv: string;
20
20
  };
21
21
  $unknownFields: {};
22
22
  /**
@@ -29,19 +29,19 @@ export default class ErrorResponse {
29
29
  setError(error: any): void;
30
30
  error: any;
31
31
  get$Reserved(): {
32
- $fqObjectType: string;
32
+ $fv: string;
33
33
  };
34
34
  get$ObjectType(): string;
35
35
  get$UnknownFields(): {};
36
36
  toJson(forMutation: any): {
37
37
  $reserved: {
38
- $fqObjectType: string;
38
+ $fv: string;
39
39
  };
40
40
  $objectType: string;
41
41
  $unknownFields: {};
42
42
  error?: any;
43
43
  };
44
- validate(scope: any, properties: any, ...args: any[]): any;
44
+ validate(scope: any, properties: any, ...args: any[]): Promise<any>;
45
45
  validateProperty(scope: any, property: any): ValidationError;
46
46
  #private;
47
47
  }