@nutanix-scratch/dataprotection-js-client 4.0.1 → 4.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (436) hide show
  1. package/README.md +19 -18
  2. package/dist/Ntnx-Dataprotection-js-client-prod.js +1 -1
  3. package/dist/Ntnx-Dataprotection-js-client.js +226 -171
  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/protectedresources-endpoints.d.ts +7 -7
  9. package/dist/es/apis/protectedresources-endpoints.js +12 -12
  10. package/dist/es/apis/recoverypoints-endpoints.d.ts +7 -27
  11. package/dist/es/apis/recoverypoints-endpoints.js +28 -47
  12. package/dist/es/index.d.ts +23 -13
  13. package/dist/es/index.js +83 -43
  14. package/dist/es/models/common/v1/config/Flag.d.ts +1 -1
  15. package/dist/es/models/common/v1/config/Flag.js +3 -3
  16. package/dist/es/models/common/v1/config/IPAddress.d.ts +1 -1
  17. package/dist/es/models/common/v1/config/IPAddress.js +3 -3
  18. package/dist/es/models/common/v1/config/IPv4Address.d.ts +1 -1
  19. package/dist/es/models/common/v1/config/IPv4Address.js +3 -3
  20. package/dist/es/models/common/v1/config/IPv6Address.d.ts +1 -1
  21. package/dist/es/models/common/v1/config/IPv6Address.js +3 -3
  22. package/dist/es/models/common/v1/config/KVPair.d.ts +1 -1
  23. package/dist/es/models/common/v1/config/KVPair.js +3 -3
  24. package/dist/es/models/common/v1/config/MapOfStringWrapper.d.ts +1 -1
  25. package/dist/es/models/common/v1/config/MapOfStringWrapper.js +3 -3
  26. package/dist/es/models/common/v1/config/Message.d.ts +1 -1
  27. package/dist/es/models/common/v1/config/Message.js +3 -3
  28. package/dist/es/models/common/v1/config/MessageSeverity.js +2 -2
  29. package/dist/es/models/common/v1/config/TenantAwareModel.d.ts +4 -4
  30. package/dist/es/models/common/v1/config/TenantAwareModel.js +7 -7
  31. package/dist/es/models/common/v1/response/ApiLink.d.ts +1 -1
  32. package/dist/es/models/common/v1/response/ApiLink.js +3 -3
  33. package/dist/es/models/common/v1/response/ApiResponseMetadata.d.ts +1 -1
  34. package/dist/es/models/common/v1/response/ApiResponseMetadata.js +3 -3
  35. package/dist/es/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -1
  36. package/dist/es/models/common/v1/response/ExternalizableAbstractModel.js +4 -4
  37. package/dist/es/models/dataprotection/v4/common/BackupType.js +2 -2
  38. package/dist/es/models/dataprotection/v4/common/BaseRecoveryPoint.d.ts +1 -1
  39. package/dist/es/models/dataprotection/v4/common/BaseRecoveryPoint.js +4 -4
  40. package/dist/es/models/dataprotection/v4/common/BaseVmRecoveryPoint.d.ts +1 -1
  41. package/dist/es/models/dataprotection/v4/common/BaseVmRecoveryPoint.js +4 -4
  42. package/dist/es/models/dataprotection/v4/common/ClusterInfo.d.ts +1 -1
  43. package/dist/es/models/dataprotection/v4/common/ClusterInfo.js +4 -4
  44. package/dist/es/models/dataprotection/v4/common/DiskRecoveryPoint.d.ts +1 -1
  45. package/dist/es/models/dataprotection/v4/common/DiskRecoveryPoint.js +3 -3
  46. package/dist/es/models/dataprotection/v4/common/RecoveryPointStatus.js +2 -2
  47. package/dist/es/models/dataprotection/v4/common/RecoveryPointType.js +2 -2
  48. package/dist/es/models/dataprotection/v4/common/VssProperties.d.ts +1 -1
  49. package/dist/es/models/dataprotection/v4/common/VssProperties.js +3 -3
  50. package/dist/es/models/dataprotection/v4/config/AhvVmOverrideSpec.d.ts +4 -46
  51. package/dist/es/models/dataprotection/v4/config/AhvVmOverrideSpec.js +30 -153
  52. package/dist/es/models/dataprotection/v4/config/AmazonS3Bucket.d.ts +1 -1
  53. package/dist/es/models/dataprotection/v4/config/AmazonS3Bucket.js +4 -4
  54. package/dist/es/models/dataprotection/v4/config/AzureBlobStorageContainer.d.ts +1 -1
  55. package/dist/es/models/dataprotection/v4/config/AzureBlobStorageContainer.js +4 -4
  56. package/dist/es/models/dataprotection/v4/config/ClusterInfoApiResponse.d.ts +1 -1
  57. package/dist/es/models/dataprotection/v4/config/ClusterInfoApiResponse.js +5 -5
  58. package/dist/es/models/dataprotection/v4/config/ConsistencyGroup.d.ts +1 -1
  59. package/dist/es/models/dataprotection/v4/config/ConsistencyGroup.js +6 -7
  60. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMember.d.ts +1 -1
  61. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMember.js +4 -4
  62. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMemberType.js +2 -2
  63. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.d.ts +1 -1
  64. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.js +4 -4
  65. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupProjection.d.ts +1 -1
  66. package/dist/es/models/dataprotection/v4/config/ConsistencyGroupProjection.js +4 -4
  67. package/dist/es/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.d.ts +1 -1
  68. package/dist/es/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.js +5 -5
  69. package/dist/es/models/dataprotection/v4/config/DataProtectionSiteReference.d.ts +12 -12
  70. package/dist/es/models/dataprotection/v4/config/DataProtectionSiteReference.js +32 -32
  71. package/dist/es/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.d.ts +1 -1
  72. package/dist/es/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.js +5 -5
  73. package/dist/es/models/dataprotection/v4/config/EsxiVmOverrideSpec.d.ts +1 -1
  74. package/dist/es/models/dataprotection/v4/config/EsxiVmOverrideSpec.js +7 -5
  75. package/dist/es/models/dataprotection/v4/config/ExpirationTimeSpec.d.ts +1 -1
  76. package/dist/es/models/dataprotection/v4/config/ExpirationTimeSpec.js +4 -4
  77. package/dist/es/models/dataprotection/v4/config/GetProtectedResourceApiResponse.d.ts +1 -1
  78. package/dist/es/models/dataprotection/v4/config/GetProtectedResourceApiResponse.js +5 -5
  79. package/dist/es/models/dataprotection/v4/config/GetRecoveryPointApiResponse.d.ts +1 -1
  80. package/dist/es/models/dataprotection/v4/config/GetRecoveryPointApiResponse.js +5 -5
  81. package/dist/es/models/dataprotection/v4/config/GetVmRecoveryPointApiResponse.d.ts +1 -1
  82. package/dist/es/models/dataprotection/v4/config/GetVmRecoveryPointApiResponse.js +5 -5
  83. package/dist/es/models/dataprotection/v4/config/HostReference.d.ts +1 -1
  84. package/dist/es/models/dataprotection/v4/config/HostReference.js +5 -5
  85. package/dist/es/models/dataprotection/v4/config/HostType.js +2 -2
  86. package/dist/es/models/dataprotection/v4/config/HypervisorType.d.ts +19 -0
  87. package/dist/es/models/dataprotection/v4/config/HypervisorType.js +85 -0
  88. package/dist/es/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.d.ts +1 -1
  89. package/dist/es/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.js +5 -5
  90. package/dist/es/models/dataprotection/v4/config/LocationReference.d.ts +1 -1
  91. package/dist/es/models/dataprotection/v4/config/LocationReference.js +4 -4
  92. package/dist/es/models/dataprotection/v4/config/NutanixObjectsBucket.d.ts +1 -1
  93. package/dist/es/models/dataprotection/v4/config/NutanixObjectsBucket.js +4 -4
  94. package/dist/es/models/dataprotection/v4/config/ObjectStorageType.js +2 -2
  95. package/dist/es/models/dataprotection/v4/config/ProtectedEntityType.js +2 -2
  96. package/dist/es/models/dataprotection/v4/config/ProtectedResource.d.ts +7 -7
  97. package/dist/es/models/dataprotection/v4/config/ProtectedResource.js +9 -9
  98. package/dist/es/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.d.ts +1 -1
  99. package/dist/es/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.js +5 -5
  100. package/dist/es/models/dataprotection/v4/config/ProtectedResourceReplicationStatus.js +5 -5
  101. package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.d.ts +1 -1
  102. package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.js +5 -5
  103. package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.d.ts +9 -9
  104. package/dist/es/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.js +14 -14
  105. package/dist/es/models/dataprotection/v4/config/RecoveryInfo.d.ts +1 -1
  106. package/dist/es/models/dataprotection/v4/config/RecoveryInfo.js +5 -5
  107. package/dist/es/models/dataprotection/v4/config/RecoveryPoint.d.ts +24 -8
  108. package/dist/es/models/dataprotection/v4/config/RecoveryPoint.js +54 -18
  109. package/dist/es/models/dataprotection/v4/config/RecoveryPointProjection.d.ts +1 -1
  110. package/dist/es/models/dataprotection/v4/config/RecoveryPointProjection.js +4 -4
  111. package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.d.ts +1 -1
  112. package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.js +5 -5
  113. package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicationSpec.d.ts +1 -1
  114. package/dist/es/models/dataprotection/v4/config/RecoveryPointReplicationSpec.js +4 -4
  115. package/dist/es/models/dataprotection/v4/config/RecoveryPointRepository.d.ts +1 -1
  116. package/dist/es/models/dataprotection/v4/config/RecoveryPointRepository.js +5 -5
  117. package/dist/es/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.d.ts +1 -1
  118. package/dist/es/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.js +4 -4
  119. package/dist/es/models/dataprotection/v4/config/RecoveryPointRestorationSpec.d.ts +3 -1
  120. package/dist/es/models/dataprotection/v4/config/RecoveryPointRestorationSpec.js +8 -8
  121. package/dist/es/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.d.ts +1 -1
  122. package/dist/es/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.js +5 -5
  123. package/dist/es/models/dataprotection/v4/config/ReplicationState.d.ts +2 -2
  124. package/dist/es/models/dataprotection/v4/config/ReplicationState.js +5 -5
  125. package/dist/es/models/dataprotection/v4/config/RestorableTimeRange.d.ts +1 -1
  126. package/dist/es/models/dataprotection/v4/config/RestorableTimeRange.js +5 -5
  127. package/dist/es/models/dataprotection/v4/config/SiteProtectionInfo.d.ts +2 -2
  128. package/dist/es/models/dataprotection/v4/config/SiteProtectionInfo.js +4 -4
  129. package/dist/es/models/dataprotection/v4/config/SiteReference.d.ts +1 -1
  130. package/dist/es/models/dataprotection/v4/config/SiteReference.js +4 -4
  131. package/dist/es/models/dataprotection/v4/config/SynchronousReplicationRole.js +6 -6
  132. package/dist/es/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.d.ts +1 -1
  133. package/dist/es/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.js +5 -5
  134. package/dist/es/models/dataprotection/v4/config/VmRecoveryPoint.d.ts +44 -1
  135. package/dist/es/models/dataprotection/v4/config/VmRecoveryPoint.js +219 -7
  136. package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.d.ts +27 -1
  137. package/dist/es/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.js +106 -8
  138. package/dist/es/models/dataprotection/v4/config/VolumeGroupOverrideSpec.d.ts +1 -1
  139. package/dist/es/models/dataprotection/v4/config/VolumeGroupOverrideSpec.js +4 -4
  140. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.d.ts +1 -1
  141. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.js +5 -5
  142. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.d.ts +1 -1
  143. package/dist/es/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.js +4 -4
  144. package/dist/es/models/dataprotection/v4/config/VolumeGroupSyncContext.d.ts +1 -1
  145. package/dist/es/models/dataprotection/v4/config/VolumeGroupSyncContext.js +5 -5
  146. package/dist/es/models/dataprotection/v4/config/Witness.d.ts +1 -1
  147. package/dist/es/models/dataprotection/v4/config/Witness.js +5 -5
  148. package/dist/es/models/dataprotection/v4/config/WitnessAvailabilityStatus.js +2 -2
  149. package/dist/es/models/dataprotection/v4/content/BaseRecoveryPointSpec.d.ts +1 -1
  150. package/dist/es/models/dataprotection/v4/content/BaseRecoveryPointSpec.js +4 -4
  151. package/dist/es/models/dataprotection/v4/content/ChangedRegion.d.ts +1 -1
  152. package/dist/es/models/dataprotection/v4/content/ChangedRegion.js +4 -4
  153. package/dist/es/models/dataprotection/v4/content/ChangedVmRegionsApiResponse.d.ts +1 -1
  154. package/dist/es/models/dataprotection/v4/content/ChangedVmRegionsApiResponse.js +5 -5
  155. package/dist/es/models/dataprotection/v4/content/ChangedVolumeGroupRegionsApiResponse.d.ts +1 -1
  156. package/dist/es/models/dataprotection/v4/content/ChangedVolumeGroupRegionsApiResponse.js +5 -5
  157. package/dist/es/models/dataprotection/v4/content/ClusterDiscoverOperation.js +2 -2
  158. package/dist/es/models/dataprotection/v4/content/ClusterDiscoverSpec.d.ts +2 -2
  159. package/dist/es/models/dataprotection/v4/content/ClusterDiscoverSpec.js +5 -5
  160. package/dist/es/models/dataprotection/v4/content/ComputeChangedRegionsClusterDiscoverSpec.d.ts +9 -9
  161. package/dist/es/models/dataprotection/v4/content/ComputeChangedRegionsClusterDiscoverSpec.js +14 -14
  162. package/dist/es/models/dataprotection/v4/content/DiskRecoveryPointReference.d.ts +1 -1
  163. package/dist/es/models/dataprotection/v4/content/DiskRecoveryPointReference.js +4 -4
  164. package/dist/es/models/dataprotection/v4/content/GetVssMetadataApiResponse.d.ts +1 -1
  165. package/dist/es/models/dataprotection/v4/content/GetVssMetadataApiResponse.js +5 -5
  166. package/dist/es/models/dataprotection/v4/content/GetVssMetadataClusterDiscoverSpec.d.ts +2 -2
  167. package/dist/es/models/dataprotection/v4/content/GetVssMetadataClusterDiscoverSpec.js +5 -5
  168. package/dist/es/models/dataprotection/v4/content/RegionType.js +2 -2
  169. package/dist/es/models/dataprotection/v4/content/VmDiskRecoveryPointClusterDiscoverSpec.d.ts +1 -1
  170. package/dist/es/models/dataprotection/v4/content/VmDiskRecoveryPointClusterDiscoverSpec.js +4 -4
  171. package/dist/es/models/dataprotection/v4/content/VmDiskRecoveryPointReference.d.ts +1 -1
  172. package/dist/es/models/dataprotection/v4/content/VmDiskRecoveryPointReference.js +5 -5
  173. package/dist/es/models/dataprotection/v4/content/VmRecoveryPointChangedRegionsComputeSpec.d.ts +10 -10
  174. package/dist/es/models/dataprotection/v4/content/VmRecoveryPointChangedRegionsComputeSpec.js +16 -16
  175. package/dist/es/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointClusterDiscoverSpec.d.ts +4 -4
  176. package/dist/es/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointClusterDiscoverSpec.js +8 -8
  177. package/dist/es/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointReference.d.ts +4 -4
  178. package/dist/es/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointReference.js +9 -9
  179. package/dist/es/models/dataprotection/v4/content/VolumeGroupRecoveryPointChangedRegionsComputeSpec.d.ts +10 -10
  180. package/dist/es/models/dataprotection/v4/content/VolumeGroupRecoveryPointChangedRegionsComputeSpec.js +17 -17
  181. package/dist/es/models/dataprotection/v4/error/AppMessage.d.ts +4 -4
  182. package/dist/es/models/dataprotection/v4/error/AppMessage.js +8 -8
  183. package/dist/es/models/dataprotection/v4/error/ErrorResponse.d.ts +1 -1
  184. package/dist/es/models/dataprotection/v4/error/ErrorResponse.js +5 -10
  185. package/dist/es/models/dataprotection/v4/error/SchemaValidationError.d.ts +1 -1
  186. package/dist/es/models/dataprotection/v4/error/SchemaValidationError.js +4 -4
  187. package/dist/es/models/dataprotection/v4/error/SchemaValidationErrorMessage.d.ts +1 -1
  188. package/dist/es/models/dataprotection/v4/error/SchemaValidationErrorMessage.js +4 -4
  189. package/dist/es/models/prism/v4/config/TaskReference.d.ts +4 -4
  190. package/dist/es/models/prism/v4/config/TaskReference.js +9 -11
  191. package/dist/es/models/validation/ValidationError.js +2 -2
  192. package/dist/es/models/{dataprotection/v4/config/IpAddress.d.ts → vmm/v4/ahv/config/CategoryReference.d.ts} +16 -26
  193. package/dist/es/models/vmm/v4/ahv/config/CategoryReference.js +277 -0
  194. package/dist/{lib/models/dataprotection/v4/config/IpAddress.d.ts → es/models/vmm/v4/ahv/config/OwnerReference.d.ts} +16 -26
  195. package/dist/es/models/{dataprotection/v4/config/IpAddress.js → vmm/v4/ahv/config/OwnerReference.js} +51 -56
  196. package/dist/es/models/vmm/v4/ahv/config/OwnershipInfo.d.ts +56 -0
  197. package/dist/es/models/vmm/v4/ahv/config/OwnershipInfo.js +272 -0
  198. package/dist/es/models/vmm/v4/ahv/config/SubnetReference.d.ts +52 -0
  199. package/dist/es/models/vmm/v4/ahv/config/SubnetReference.js +277 -0
  200. package/dist/es/models/vmm/v4/ahv/config/VmConfigOverrideSpecification.d.ts +127 -0
  201. package/dist/es/models/{dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.js → vmm/v4/ahv/config/VmConfigOverrideSpecification.js} +203 -107
  202. package/dist/es/models/vmm/v4/ahv/config/VmRestoreIpv4ConfigOverrideSpec.d.ts +75 -0
  203. package/dist/es/models/vmm/v4/ahv/config/VmRestoreIpv4ConfigOverrideSpec.js +323 -0
  204. package/dist/es/models/vmm/v4/ahv/config/VmRestoreNicConfigOverrideParams.d.ts +88 -0
  205. package/dist/{lib/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.js → es/models/vmm/v4/ahv/config/VmRestoreNicConfigOverrideParams.js} +145 -97
  206. package/dist/es/models/vmm/v4/ahv/config/VmRestoreNicConfigSpecification.d.ts +72 -0
  207. package/dist/{lib/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.js → es/models/vmm/v4/ahv/config/VmRestoreNicConfigSpecification.js} +99 -110
  208. package/dist/es/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec.d.ts +85 -0
  209. package/dist/es/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec.js +310 -0
  210. package/dist/es/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicOverrideSpec.d.ts +52 -0
  211. package/dist/es/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicOverrideSpec.js +277 -0
  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/protectedresources-endpoints.d.ts +7 -7
  218. package/dist/lib/apis/protectedresources-endpoints.js +12 -12
  219. package/dist/lib/apis/recoverypoints-endpoints.d.ts +7 -27
  220. package/dist/lib/apis/recoverypoints-endpoints.js +28 -47
  221. package/dist/lib/index.d.ts +23 -13
  222. package/dist/lib/index.js +83 -43
  223. package/dist/lib/models/common/v1/config/Flag.d.ts +1 -1
  224. package/dist/lib/models/common/v1/config/Flag.js +3 -3
  225. package/dist/lib/models/common/v1/config/IPAddress.d.ts +1 -1
  226. package/dist/lib/models/common/v1/config/IPAddress.js +3 -3
  227. package/dist/lib/models/common/v1/config/IPv4Address.d.ts +1 -1
  228. package/dist/lib/models/common/v1/config/IPv4Address.js +3 -3
  229. package/dist/lib/models/common/v1/config/IPv6Address.d.ts +1 -1
  230. package/dist/lib/models/common/v1/config/IPv6Address.js +3 -3
  231. package/dist/lib/models/common/v1/config/KVPair.d.ts +1 -1
  232. package/dist/lib/models/common/v1/config/KVPair.js +3 -3
  233. package/dist/lib/models/common/v1/config/MapOfStringWrapper.d.ts +1 -1
  234. package/dist/lib/models/common/v1/config/MapOfStringWrapper.js +3 -3
  235. package/dist/lib/models/common/v1/config/Message.d.ts +1 -1
  236. package/dist/lib/models/common/v1/config/Message.js +3 -3
  237. package/dist/lib/models/common/v1/config/MessageSeverity.js +2 -2
  238. package/dist/lib/models/common/v1/config/TenantAwareModel.d.ts +4 -4
  239. package/dist/lib/models/common/v1/config/TenantAwareModel.js +7 -7
  240. package/dist/lib/models/common/v1/response/ApiLink.d.ts +1 -1
  241. package/dist/lib/models/common/v1/response/ApiLink.js +3 -3
  242. package/dist/lib/models/common/v1/response/ApiResponseMetadata.d.ts +1 -1
  243. package/dist/lib/models/common/v1/response/ApiResponseMetadata.js +3 -3
  244. package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.d.ts +1 -1
  245. package/dist/lib/models/common/v1/response/ExternalizableAbstractModel.js +4 -4
  246. package/dist/lib/models/dataprotection/v4/common/BackupType.js +2 -2
  247. package/dist/lib/models/dataprotection/v4/common/BaseRecoveryPoint.d.ts +1 -1
  248. package/dist/lib/models/dataprotection/v4/common/BaseRecoveryPoint.js +4 -4
  249. package/dist/lib/models/dataprotection/v4/common/BaseVmRecoveryPoint.d.ts +1 -1
  250. package/dist/lib/models/dataprotection/v4/common/BaseVmRecoveryPoint.js +4 -4
  251. package/dist/lib/models/dataprotection/v4/common/ClusterInfo.d.ts +1 -1
  252. package/dist/lib/models/dataprotection/v4/common/ClusterInfo.js +4 -4
  253. package/dist/lib/models/dataprotection/v4/common/DiskRecoveryPoint.d.ts +1 -1
  254. package/dist/lib/models/dataprotection/v4/common/DiskRecoveryPoint.js +3 -3
  255. package/dist/lib/models/dataprotection/v4/common/RecoveryPointStatus.js +2 -2
  256. package/dist/lib/models/dataprotection/v4/common/RecoveryPointType.js +2 -2
  257. package/dist/lib/models/dataprotection/v4/common/VssProperties.d.ts +1 -1
  258. package/dist/lib/models/dataprotection/v4/common/VssProperties.js +3 -3
  259. package/dist/lib/models/dataprotection/v4/config/AhvVmOverrideSpec.d.ts +4 -46
  260. package/dist/lib/models/dataprotection/v4/config/AhvVmOverrideSpec.js +30 -153
  261. package/dist/lib/models/dataprotection/v4/config/AmazonS3Bucket.d.ts +1 -1
  262. package/dist/lib/models/dataprotection/v4/config/AmazonS3Bucket.js +4 -4
  263. package/dist/lib/models/dataprotection/v4/config/AzureBlobStorageContainer.d.ts +1 -1
  264. package/dist/lib/models/dataprotection/v4/config/AzureBlobStorageContainer.js +4 -4
  265. package/dist/lib/models/dataprotection/v4/config/ClusterInfoApiResponse.d.ts +1 -1
  266. package/dist/lib/models/dataprotection/v4/config/ClusterInfoApiResponse.js +5 -5
  267. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroup.d.ts +1 -1
  268. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroup.js +6 -7
  269. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMember.d.ts +1 -1
  270. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMember.js +4 -4
  271. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMemberType.js +2 -2
  272. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.d.ts +1 -1
  273. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupMigrationSpec.js +4 -4
  274. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupProjection.d.ts +1 -1
  275. package/dist/lib/models/dataprotection/v4/config/ConsistencyGroupProjection.js +4 -4
  276. package/dist/lib/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.d.ts +1 -1
  277. package/dist/lib/models/dataprotection/v4/config/CreateRecoveryPointApiResponse.js +5 -5
  278. package/dist/lib/models/dataprotection/v4/config/DataProtectionSiteReference.d.ts +12 -12
  279. package/dist/lib/models/dataprotection/v4/config/DataProtectionSiteReference.js +32 -32
  280. package/dist/lib/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.d.ts +1 -1
  281. package/dist/lib/models/dataprotection/v4/config/DeleteRecoveryPointApiResponse.js +5 -5
  282. package/dist/lib/models/dataprotection/v4/config/EsxiVmOverrideSpec.d.ts +1 -1
  283. package/dist/lib/models/dataprotection/v4/config/EsxiVmOverrideSpec.js +7 -5
  284. package/dist/lib/models/dataprotection/v4/config/ExpirationTimeSpec.d.ts +1 -1
  285. package/dist/lib/models/dataprotection/v4/config/ExpirationTimeSpec.js +4 -4
  286. package/dist/lib/models/dataprotection/v4/config/GetProtectedResourceApiResponse.d.ts +1 -1
  287. package/dist/lib/models/dataprotection/v4/config/GetProtectedResourceApiResponse.js +5 -5
  288. package/dist/lib/models/dataprotection/v4/config/GetRecoveryPointApiResponse.d.ts +1 -1
  289. package/dist/lib/models/dataprotection/v4/config/GetRecoveryPointApiResponse.js +5 -5
  290. package/dist/lib/models/dataprotection/v4/config/GetVmRecoveryPointApiResponse.d.ts +1 -1
  291. package/dist/lib/models/dataprotection/v4/config/GetVmRecoveryPointApiResponse.js +5 -5
  292. package/dist/lib/models/dataprotection/v4/config/HostReference.d.ts +1 -1
  293. package/dist/lib/models/dataprotection/v4/config/HostReference.js +5 -5
  294. package/dist/lib/models/dataprotection/v4/config/HostType.js +2 -2
  295. package/dist/lib/models/dataprotection/v4/config/HypervisorType.d.ts +19 -0
  296. package/dist/lib/models/dataprotection/v4/config/HypervisorType.js +85 -0
  297. package/dist/lib/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.d.ts +1 -1
  298. package/dist/lib/models/dataprotection/v4/config/ListRecoveryPointsApiResponse.js +5 -5
  299. package/dist/lib/models/dataprotection/v4/config/LocationReference.d.ts +1 -1
  300. package/dist/lib/models/dataprotection/v4/config/LocationReference.js +4 -4
  301. package/dist/lib/models/dataprotection/v4/config/NutanixObjectsBucket.d.ts +1 -1
  302. package/dist/lib/models/dataprotection/v4/config/NutanixObjectsBucket.js +4 -4
  303. package/dist/lib/models/dataprotection/v4/config/ObjectStorageType.js +2 -2
  304. package/dist/lib/models/dataprotection/v4/config/ProtectedEntityType.js +2 -2
  305. package/dist/lib/models/dataprotection/v4/config/ProtectedResource.d.ts +7 -7
  306. package/dist/lib/models/dataprotection/v4/config/ProtectedResource.js +9 -9
  307. package/dist/lib/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.d.ts +1 -1
  308. package/dist/lib/models/dataprotection/v4/config/ProtectedResourcePromoteApiResponse.js +5 -5
  309. package/dist/lib/models/dataprotection/v4/config/ProtectedResourceReplicationStatus.js +5 -5
  310. package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.d.ts +1 -1
  311. package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreApiResponse.js +5 -5
  312. package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.d.ts +9 -9
  313. package/dist/lib/models/dataprotection/v4/config/ProtectedResourceRestoreSpec.js +14 -14
  314. package/dist/lib/models/dataprotection/v4/config/RecoveryInfo.d.ts +1 -1
  315. package/dist/lib/models/dataprotection/v4/config/RecoveryInfo.js +5 -5
  316. package/dist/lib/models/dataprotection/v4/config/RecoveryPoint.d.ts +24 -8
  317. package/dist/lib/models/dataprotection/v4/config/RecoveryPoint.js +54 -18
  318. package/dist/lib/models/dataprotection/v4/config/RecoveryPointProjection.d.ts +1 -1
  319. package/dist/lib/models/dataprotection/v4/config/RecoveryPointProjection.js +4 -4
  320. package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.d.ts +1 -1
  321. package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicateApiResponse.js +5 -5
  322. package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicationSpec.d.ts +1 -1
  323. package/dist/lib/models/dataprotection/v4/config/RecoveryPointReplicationSpec.js +4 -4
  324. package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepository.d.ts +1 -1
  325. package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepository.js +5 -5
  326. package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.d.ts +1 -1
  327. package/dist/lib/models/dataprotection/v4/config/RecoveryPointRepositoryProjection.js +4 -4
  328. package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestorationSpec.d.ts +3 -1
  329. package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestorationSpec.js +8 -8
  330. package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.d.ts +1 -1
  331. package/dist/lib/models/dataprotection/v4/config/RecoveryPointRestoreApiResponse.js +5 -5
  332. package/dist/lib/models/dataprotection/v4/config/ReplicationState.d.ts +2 -2
  333. package/dist/lib/models/dataprotection/v4/config/ReplicationState.js +5 -5
  334. package/dist/lib/models/dataprotection/v4/config/RestorableTimeRange.d.ts +1 -1
  335. package/dist/lib/models/dataprotection/v4/config/RestorableTimeRange.js +5 -5
  336. package/dist/lib/models/dataprotection/v4/config/SiteProtectionInfo.d.ts +2 -2
  337. package/dist/lib/models/dataprotection/v4/config/SiteProtectionInfo.js +4 -4
  338. package/dist/lib/models/dataprotection/v4/config/SiteReference.d.ts +1 -1
  339. package/dist/lib/models/dataprotection/v4/config/SiteReference.js +4 -4
  340. package/dist/lib/models/dataprotection/v4/config/SynchronousReplicationRole.js +6 -6
  341. package/dist/lib/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.d.ts +1 -1
  342. package/dist/lib/models/dataprotection/v4/config/UpdateRecoveryPointExpirationTimeApiResponse.js +5 -5
  343. package/dist/lib/models/dataprotection/v4/config/VmRecoveryPoint.d.ts +44 -1
  344. package/dist/lib/models/dataprotection/v4/config/VmRecoveryPoint.js +219 -7
  345. package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.d.ts +27 -1
  346. package/dist/lib/models/dataprotection/v4/config/VmRecoveryPointRestoreOverride.js +106 -8
  347. package/dist/lib/models/dataprotection/v4/config/VolumeGroupOverrideSpec.d.ts +1 -1
  348. package/dist/lib/models/dataprotection/v4/config/VolumeGroupOverrideSpec.js +4 -4
  349. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.d.ts +1 -1
  350. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPoint.js +5 -5
  351. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.d.ts +1 -1
  352. package/dist/lib/models/dataprotection/v4/config/VolumeGroupRecoveryPointRestoreOverride.js +4 -4
  353. package/dist/lib/models/dataprotection/v4/config/VolumeGroupSyncContext.d.ts +1 -1
  354. package/dist/lib/models/dataprotection/v4/config/VolumeGroupSyncContext.js +5 -5
  355. package/dist/lib/models/dataprotection/v4/config/Witness.d.ts +1 -1
  356. package/dist/lib/models/dataprotection/v4/config/Witness.js +5 -5
  357. package/dist/lib/models/dataprotection/v4/config/WitnessAvailabilityStatus.js +2 -2
  358. package/dist/lib/models/dataprotection/v4/content/BaseRecoveryPointSpec.d.ts +1 -1
  359. package/dist/lib/models/dataprotection/v4/content/BaseRecoveryPointSpec.js +4 -4
  360. package/dist/lib/models/dataprotection/v4/content/ChangedRegion.d.ts +1 -1
  361. package/dist/lib/models/dataprotection/v4/content/ChangedRegion.js +4 -4
  362. package/dist/lib/models/dataprotection/v4/content/ChangedVmRegionsApiResponse.d.ts +1 -1
  363. package/dist/lib/models/dataprotection/v4/content/ChangedVmRegionsApiResponse.js +5 -5
  364. package/dist/lib/models/dataprotection/v4/content/ChangedVolumeGroupRegionsApiResponse.d.ts +1 -1
  365. package/dist/lib/models/dataprotection/v4/content/ChangedVolumeGroupRegionsApiResponse.js +5 -5
  366. package/dist/lib/models/dataprotection/v4/content/ClusterDiscoverOperation.js +2 -2
  367. package/dist/lib/models/dataprotection/v4/content/ClusterDiscoverSpec.d.ts +2 -2
  368. package/dist/lib/models/dataprotection/v4/content/ClusterDiscoverSpec.js +5 -5
  369. package/dist/lib/models/dataprotection/v4/content/ComputeChangedRegionsClusterDiscoverSpec.d.ts +9 -9
  370. package/dist/lib/models/dataprotection/v4/content/ComputeChangedRegionsClusterDiscoverSpec.js +14 -14
  371. package/dist/lib/models/dataprotection/v4/content/DiskRecoveryPointReference.d.ts +1 -1
  372. package/dist/lib/models/dataprotection/v4/content/DiskRecoveryPointReference.js +4 -4
  373. package/dist/lib/models/dataprotection/v4/content/GetVssMetadataApiResponse.d.ts +1 -1
  374. package/dist/lib/models/dataprotection/v4/content/GetVssMetadataApiResponse.js +5 -5
  375. package/dist/lib/models/dataprotection/v4/content/GetVssMetadataClusterDiscoverSpec.d.ts +2 -2
  376. package/dist/lib/models/dataprotection/v4/content/GetVssMetadataClusterDiscoverSpec.js +5 -5
  377. package/dist/lib/models/dataprotection/v4/content/RegionType.js +2 -2
  378. package/dist/lib/models/dataprotection/v4/content/VmDiskRecoveryPointClusterDiscoverSpec.d.ts +1 -1
  379. package/dist/lib/models/dataprotection/v4/content/VmDiskRecoveryPointClusterDiscoverSpec.js +4 -4
  380. package/dist/lib/models/dataprotection/v4/content/VmDiskRecoveryPointReference.d.ts +1 -1
  381. package/dist/lib/models/dataprotection/v4/content/VmDiskRecoveryPointReference.js +5 -5
  382. package/dist/lib/models/dataprotection/v4/content/VmRecoveryPointChangedRegionsComputeSpec.d.ts +10 -10
  383. package/dist/lib/models/dataprotection/v4/content/VmRecoveryPointChangedRegionsComputeSpec.js +16 -16
  384. package/dist/lib/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointClusterDiscoverSpec.d.ts +4 -4
  385. package/dist/lib/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointClusterDiscoverSpec.js +8 -8
  386. package/dist/lib/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointReference.d.ts +4 -4
  387. package/dist/lib/models/dataprotection/v4/content/VolumeGroupDiskRecoveryPointReference.js +9 -9
  388. package/dist/lib/models/dataprotection/v4/content/VolumeGroupRecoveryPointChangedRegionsComputeSpec.d.ts +10 -10
  389. package/dist/lib/models/dataprotection/v4/content/VolumeGroupRecoveryPointChangedRegionsComputeSpec.js +17 -17
  390. package/dist/lib/models/dataprotection/v4/error/AppMessage.d.ts +4 -4
  391. package/dist/lib/models/dataprotection/v4/error/AppMessage.js +8 -8
  392. package/dist/lib/models/dataprotection/v4/error/ErrorResponse.d.ts +1 -1
  393. package/dist/lib/models/dataprotection/v4/error/ErrorResponse.js +5 -10
  394. package/dist/lib/models/dataprotection/v4/error/SchemaValidationError.d.ts +1 -1
  395. package/dist/lib/models/dataprotection/v4/error/SchemaValidationError.js +4 -4
  396. package/dist/lib/models/dataprotection/v4/error/SchemaValidationErrorMessage.d.ts +1 -1
  397. package/dist/lib/models/dataprotection/v4/error/SchemaValidationErrorMessage.js +4 -4
  398. package/dist/lib/models/prism/v4/config/TaskReference.d.ts +4 -4
  399. package/dist/lib/models/prism/v4/config/TaskReference.js +9 -11
  400. package/dist/lib/models/validation/ValidationError.js +2 -2
  401. package/dist/lib/models/vmm/v4/ahv/config/CategoryReference.d.ts +52 -0
  402. package/dist/lib/models/vmm/v4/ahv/config/CategoryReference.js +277 -0
  403. package/dist/lib/models/vmm/v4/ahv/config/OwnerReference.d.ts +52 -0
  404. package/dist/lib/models/{dataprotection/v4/config/IpAddress.js → vmm/v4/ahv/config/OwnerReference.js} +51 -56
  405. package/dist/lib/models/vmm/v4/ahv/config/OwnershipInfo.d.ts +56 -0
  406. package/dist/lib/models/vmm/v4/ahv/config/OwnershipInfo.js +272 -0
  407. package/dist/lib/models/vmm/v4/ahv/config/SubnetReference.d.ts +52 -0
  408. package/dist/lib/models/vmm/v4/ahv/config/SubnetReference.js +277 -0
  409. package/dist/lib/models/vmm/v4/ahv/config/VmConfigOverrideSpecification.d.ts +127 -0
  410. package/dist/lib/models/{dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.js → vmm/v4/ahv/config/VmConfigOverrideSpecification.js} +203 -107
  411. package/dist/lib/models/vmm/v4/ahv/config/VmRestoreIpv4ConfigOverrideSpec.d.ts +75 -0
  412. package/dist/lib/models/vmm/v4/ahv/config/VmRestoreIpv4ConfigOverrideSpec.js +323 -0
  413. package/dist/lib/models/vmm/v4/ahv/config/VmRestoreNicConfigOverrideParams.d.ts +88 -0
  414. package/dist/{es/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.js → lib/models/vmm/v4/ahv/config/VmRestoreNicConfigOverrideParams.js} +145 -97
  415. package/dist/lib/models/vmm/v4/ahv/config/VmRestoreNicConfigSpecification.d.ts +72 -0
  416. package/dist/{es/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.js → lib/models/vmm/v4/ahv/config/VmRestoreNicConfigSpecification.js} +99 -110
  417. package/dist/lib/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec.d.ts +85 -0
  418. package/dist/lib/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec.js +310 -0
  419. package/dist/lib/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicOverrideSpec.d.ts +52 -0
  420. package/dist/lib/models/vmm/v4/ahv/config/VmRestoreVirtualEthernetNicOverrideSpec.js +277 -0
  421. package/dist/lib/utils/ValidationUtils.js +2 -2
  422. package/package.json +2 -2
  423. package/dist/es/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.d.ts +0 -99
  424. package/dist/es/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.d.ts +0 -98
  425. package/dist/es/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.d.ts +0 -99
  426. package/dist/es/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.js +0 -343
  427. package/dist/es/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.d.ts +0 -99
  428. package/dist/es/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.d.ts +0 -99
  429. package/dist/es/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.js +0 -365
  430. package/dist/lib/models/dataprotection/v4/config/CreateConsistencyGroupApiResponse.d.ts +0 -99
  431. package/dist/lib/models/dataprotection/v4/config/DeleteConsistencyGroupApiResponse.d.ts +0 -98
  432. package/dist/lib/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.d.ts +0 -99
  433. package/dist/lib/models/dataprotection/v4/config/MigrateConsistencyGroupApiResponse.js +0 -343
  434. package/dist/lib/models/dataprotection/v4/config/SynchronousReplicaPromoteApiResponse.d.ts +0 -99
  435. package/dist/lib/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.d.ts +0 -99
  436. package/dist/lib/models/dataprotection/v4/config/UpdateConsistencyGroupApiResponse.js +0 -365
@@ -3,7 +3,7 @@
3
3
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
4
4
  * contents of this file should be regarded as internal but are documented for completeness.
5
5
  * @module ApiClient
6
- * @version 4.0.1
6
+ * @version 4.1.1
7
7
  */
8
8
  export class ApiClient {
9
9
  /**
@@ -102,6 +102,12 @@ export class ApiClient {
102
102
  * @default 3000
103
103
  */
104
104
  retryInterval: number;
105
+ /**
106
+ * A boolean value that indicates whether cross-site Access-Control requests should be made using auth credentials.
107
+ * @type {Boolean}
108
+ * @default false
109
+ */
110
+ withCredentials: boolean;
105
111
  agent: any;
106
112
  /**
107
113
  * Allow user to override superagent agent
@@ -16,7 +16,7 @@ var _ApiResponseMetadata = _interopRequireDefault(require("./models/common/v1/re
16
16
  var _Flag = _interopRequireDefault(require("./models/common/v1/config/Flag"));
17
17
  var _ApiClient;
18
18
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
19
- function _wrapRegExp() { _wrapRegExp = function _wrapRegExp(e, r) { return new BabelRegExp(e, void 0, r); }; var e = RegExp.prototype, r = new WeakMap(); function BabelRegExp(e, t, p) { var o = RegExp(e, t); return r.set(o, p || r.get(e)), _setPrototypeOf(o, BabelRegExp.prototype); } function buildGroups(e, t) { var p = r.get(t); return Object.keys(p).reduce(function (r, t) { var o = p[t]; if ("number" == typeof o) r[t] = e[o];else { for (var i = 0; void 0 === e[o[i]] && i + 1 < o.length;) i++; r[t] = e[o[i]]; } return r; }, Object.create(null)); } return _inherits(BabelRegExp, RegExp), BabelRegExp.prototype.exec = function (r) { var t = e.exec.call(this, r); if (t) { t.groups = buildGroups(t, this); var p = t.indices; p && (p.groups = buildGroups(p, this)); } return t; }, BabelRegExp.prototype[Symbol.replace] = function (t, p) { if ("string" == typeof p) { var o = r.get(this); return e[Symbol.replace].call(this, t, p.replace(/\$<([^>]+)>/g, function (e, r) { var t = o[r]; return "$" + (Array.isArray(t) ? t.join("$") : t); })); } if ("function" == typeof p) { var i = this; return e[Symbol.replace].call(this, t, function () { var e = arguments; return "object" != _typeof(e[e.length - 1]) && (e = [].slice.call(e)).push(buildGroups(e, i)), p.apply(this, e); }); } return e[Symbol.replace].call(this, t, p); }, _wrapRegExp.apply(this, arguments); }
19
+ function _wrapRegExp() { _wrapRegExp = function _wrapRegExp(e, r) { return new BabelRegExp(e, void 0, r); }; var e = RegExp.prototype, r = new WeakMap(); function BabelRegExp(e, t, p) { var o = RegExp(e, t); return r.set(o, p || r.get(e)), _setPrototypeOf(o, BabelRegExp.prototype); } function buildGroups(e, t) { var p = r.get(t); return Object.keys(p).reduce(function (r, t) { var o = p[t]; if ("number" == typeof o) r[t] = e[o];else { for (var i = 0; void 0 === e[o[i]] && i + 1 < o.length;) i++; r[t] = e[o[i]]; } return r; }, Object.create(null)); } return _inherits(BabelRegExp, RegExp), BabelRegExp.prototype.exec = function (r) { var t = e.exec.call(this, r); if (t) { t.groups = buildGroups(t, this); var p = t.indices; p && (p.groups = buildGroups(p, this)); } return t; }, BabelRegExp.prototype[Symbol.replace] = function (t, p) { if ("string" == typeof p) { var o = r.get(this); return e[Symbol.replace].call(this, t, p.replace(/\$<([^>]+)(>|$)/g, function (e, r, t) { if ("" === t) return e; var p = o[r]; return Array.isArray(p) ? "$" + p.join("$") : "number" == typeof p ? "$" + p : ""; })); } if ("function" == typeof p) { var i = this; return e[Symbol.replace].call(this, t, function () { var e = arguments; return "object" != _typeof(e[e.length - 1]) && (e = [].slice.call(e)).push(buildGroups(e, i)), p.apply(this, e); }); } return e[Symbol.replace].call(this, t, p); }, _wrapRegExp.apply(this, arguments); }
20
20
  function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
21
21
  function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
22
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; }
@@ -39,11 +39,11 @@ function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a),
39
39
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /*
40
40
  * Nutanix Data Protection APIs
41
41
  *
42
- * OpenAPI spec version: 4.0.1
42
+ * OpenAPI spec version: 4.1.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
  *
@@ -54,7 +54,7 @@ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.h
54
54
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
55
55
  * contents of this file should be regarded as internal but are documented for completeness.
56
56
  * @module ApiClient
57
- * @version 4.0.1
57
+ * @version 4.1.1
58
58
  */
59
59
  var _protocol = /*#__PURE__*/new WeakMap();
60
60
  var _cookie = /*#__PURE__*/new WeakMap();
@@ -207,6 +207,13 @@ var ApiClient = exports.ApiClient = /*#__PURE__*/function () {
207
207
  * @default 3000
208
208
  */
209
209
  this.retryInterval = 3000;
210
+
211
+ /**
212
+ * A boolean value that indicates whether cross-site Access-Control requests should be made using auth credentials.
213
+ * @type {Boolean}
214
+ * @default false
215
+ */
216
+ this.withCredentials = false;
210
217
  if (typeof self === 'undefined') {
211
218
  this.agent = new _superagent["default"].agent();
212
219
  }
@@ -501,7 +508,7 @@ var ApiClient = exports.ApiClient = /*#__PURE__*/function () {
501
508
  if (!isBrowser) {
502
509
  this.downloadDestination = '.';
503
510
  request.set(_assertClassBrand(_ApiClient_brand, this, _normalizeParams).call(this, {
504
- 'User-Agent': 'Nutanix-dataprotection-js-client/4.0.1'
511
+ 'User-Agent': 'Nutanix-dataprotection-js-client/4.1.1'
505
512
  }));
506
513
  }
507
514
 
@@ -595,7 +602,7 @@ var ApiClient = exports.ApiClient = /*#__PURE__*/function () {
595
602
  request.accept(accept);
596
603
  }
597
604
  return new Promise(function (resolve, reject) {
598
- request.buffer(false).redirects(0).retry(_this2.maxRetryAttempts, _this2.retryInterval, []).on('error', function (err) {
605
+ request.buffer(false).redirects(0).retry(_this2.maxRetryAttempts, _this2.retryInterval, []).withCredentials(_this2.withCredentials).on('error', function (err) {
599
606
  _assertClassBrand(_ApiClient_brand, _this2, _log).call(_this2, _classPrivateFieldGet(_LOG_LEVEL, _this2).DEBUG, null, "Caught the following error :", err);
600
607
  }).end(function (error, response) {
601
608
  if (error) {
@@ -614,9 +621,7 @@ var ApiClient = exports.ApiClient = /*#__PURE__*/function () {
614
621
  if (response.headers.hasOwnProperty('content-type')) {
615
622
  _contentType = response.headers["content-type"];
616
623
  }
617
- var fetchStream = binaryMediaTypes.some(function (binaryMediaType) {
618
- return _contentType.includes(binaryMediaType);
619
- });
624
+ var fetchStream = binaryMediaTypes.includes(_contentType);
620
625
  if (fetchStream) {
621
626
  /*
622
627
  * Browser environment :
@@ -699,6 +704,7 @@ var ApiClient = exports.ApiClient = /*#__PURE__*/function () {
699
704
  redirectRequest.set("Cookie", response.headers["x-redirect-token"]);
700
705
  }
701
706
  redirectRequest.redirects(0);
707
+ redirectRequest.withCredentials(_this2.withCredentials);
702
708
  redirectRequest.buffer(false);
703
709
  var redirectedStream = _fs2["default"].createWriteStream(_tempFilename);
704
710
  redirectRequest.pipe(redirectedStream);
@@ -1140,7 +1146,7 @@ function _log(level, mapper) {
1140
1146
  return typeof message === "string" ? message : mapper ? mapper(message) : JSON.stringify(message);
1141
1147
  });
1142
1148
  var message = messages.join(' ');
1143
- message = _assertClassBrand(_ApiClient_brand, this, _getLocalDateTime).call(this) + ' ' + level.key + ' - ' + message;
1149
+ message = new Date().toISOString() + ' ' + level.key + ' - ' + message;
1144
1150
  if (typeof _classPrivateFieldGet(_logger, this) !== "undefined" && _classPrivateFieldGet(_logger, this) !== null && typeof _classPrivateFieldGet(_logger, this).log === 'function') {
1145
1151
  _classPrivateFieldGet(_logger, this).log(message);
1146
1152
  } else {
@@ -1152,21 +1158,6 @@ function _skipLogging(level) {
1152
1158
  // Skip logging if log level is DEBUG but debug is not enabled.
1153
1159
  return !this.debug && level === _classPrivateFieldGet(_LOG_LEVEL, this).DEBUG;
1154
1160
  }
1155
- function _getLocalDateTime() {
1156
- // Current epoch UTC time in milliseconds
1157
- var epochTime = Date.now();
1158
-
1159
- // "getTimezoneOffset" returns the difference, in minutes, between a date as evaluated in the UTC time zone,
1160
- // and the same date as evaluated in the local time zone.
1161
- // if you are in timezone UTC-1, outputs 60
1162
- // if you are in timezone UTC+3, outputs -180
1163
- var timezoneOffsetInMinutes = new Date().getTimezoneOffset();
1164
- var timezoneOffsetInMilliseconds = timezoneOffsetInMinutes * 60 * 1000;
1165
-
1166
- // Create a new date with adjusted epoch time based on timezone offset
1167
- var date = new Date(epochTime - timezoneOffsetInMilliseconds);
1168
- return date.toISOString().slice(0, 23);
1169
- }
1170
1161
  // A mapper function to flatten a simple non-nested (key:value) object to string
1171
1162
  function _flatten(obj) {
1172
1163
  if (_typeof(obj) !== "object") {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * A model that represents a paginable response from a list endpoint.
3
3
  * @module Paginable
4
- * @version 4.0.1
4
+ * @version 4.1.1
5
5
  */
6
6
  export default class Paginable {
7
7
  /**
@@ -16,11 +16,11 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
16
16
  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); } /*
17
17
  * Nutanix Data Protection APIs
18
18
  *
19
- * OpenAPI spec version: 4.0.1
19
+ * OpenAPI spec version: 4.1.1
20
20
  *
21
21
  * NOTE: This class is auto generated by the Open API Dev Platform.
22
22
  *
23
- * Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
23
+ * Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
24
24
  *
25
25
  * Do not edit the class manually.
26
26
  *
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
28
28
  /**
29
29
  * A model that represents a paginable response from a list endpoint.
30
30
  * @module Paginable
31
- * @version 4.0.1
31
+ * @version 4.1.1
32
32
  */
33
33
  var Paginable = exports["default"] = /*#__PURE__*/function () {
34
34
  /**
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * ProtectedResources service.
3
- * @version 4.0.1
3
+ * @version 4.1.1
4
4
  * @class ProtectedResourcesApi
5
5
  */
6
6
  export class ProtectedResourcesApi {
@@ -20,25 +20,25 @@ export class ProtectedResourcesApi {
20
20
  apiClient: any;
21
21
  /**
22
22
  * Get a protected resource
23
- * Get the details of the specified protected resource such as the restorable time ranges available on the local Prism Central and the state of replication to the targets specified in the applied protection policies. This applies only if the entity is protected in a minutely or synchronous schedule. Other protection schedules are not served by this endpoint yet, and are considered not protected.
24
- * @param { String } extId The external identifier of a protected VM or volume group that can be used to retrieve the protected resource.
23
+ * Retrieves the details of the specified protection resource, including available restorable time ranges on the local Prism Central and the replication status to targets defined in the applied protection policies. This is applicable only if the entity is protected with a minutely or synchronous schedule. Other protection schedules are not currently supported by this endpoint and are considered unprotected.
24
+ * @param { String } extId The external identifier of a protected VM or volume group used to retrieve the protected resource.
25
25
  * @param {Object} args Additional Arguments
26
26
  * @return {Promise<GetProtectedResourceApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetProtectedResourceApiResponse } and HTTP response
27
27
  */
28
28
  getProtectedResourceById(extId: string, ...args: any): Promise<GetProtectedResourceApiResponse>;
29
29
  /**
30
30
  * Promote protected resource
31
- * Promotes the specified synced entity at the target site. This is only relevant if the synced entity is protected in a synchronous schedule.
32
- * @param { String } extId The external identifier of a protected VM or volume group that can be used to retrieve the protected resource.
31
+ * Promotes a specified synced entity at the target site. This is only relevant if the synced entity is protected in a synchronous schedule.
32
+ * @param { String } extId The external identifier of a protected VM or volume group used to retrieve the protected resource.
33
33
  * @param {Object} args Additional Arguments
34
34
  * @return {Promise<ProtectedResourcePromoteApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ProtectedResourcePromoteApiResponse } and HTTP response
35
35
  */
36
36
  promoteProtectedResource(extId: string, ...args: any): Promise<ProtectedResourcePromoteApiResponse>;
37
37
  /**
38
38
  * Restore protected resource
39
- * Restore the specified protected resource from its state at the given timestamp on the given cluster. This is only relevant if the entity is protected in a minutely schedule at the given timestamp.
39
+ * Restores the specified protected resource from its state at the given timestamp on the given cluster. This is only relevant if the entity is protected in a minutely schedule at the given timestamp.
40
40
  * @param { Required<Pick<ProtectedResourceRestoreSpec, 'clusterExtId'>> & Partial<ProtectedResourceRestoreSpec> } body specification
41
- * @param { String } extId The external identifier of a protected VM or volume group that can be used to retrieve the protected resource.
41
+ * @param { String } extId The external identifier of a protected VM or volume group used to retrieve the protected resource.
42
42
  * @param {Object} args Additional Arguments
43
43
  * @return {Promise<ProtectedResourceRestoreApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ProtectedResourceRestoreApiResponse } and HTTP response
44
44
  */
@@ -26,18 +26,18 @@ function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a),
26
26
  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"); } /*
27
27
  * Nutanix Data Protection APIs
28
28
  *
29
- * OpenAPI spec version: 4.0.1
29
+ * OpenAPI spec version: 4.1.1
30
30
  *
31
31
  * NOTE: This class is auto generated by the Open API Dev Platform.
32
32
  *
33
- * Open API Dev Platform Codegen version: 16.9.0.8546-RELEASE
33
+ * Open API Dev Platform Codegen version: 17.4.0.8851-RELEASE
34
34
  *
35
35
  * Do not edit the class manually.
36
36
  *
37
37
  */
38
38
  /**
39
39
  * ProtectedResources service.
40
- * @version 4.0.1
40
+ * @version 4.1.1
41
41
  * @class ProtectedResourcesApi
42
42
  */
43
43
  var _headersToSkip = /*#__PURE__*/new WeakMap();
@@ -62,8 +62,8 @@ var ProtectedResourcesApi = exports.ProtectedResourcesApi = /*#__PURE__*/functio
62
62
 
63
63
  /**
64
64
  * Get a protected resource
65
- * Get the details of the specified protected resource such as the restorable time ranges available on the local Prism Central and the state of replication to the targets specified in the applied protection policies. This applies only if the entity is protected in a minutely or synchronous schedule. Other protection schedules are not served by this endpoint yet, and are considered not protected.
66
- * @param { String } extId The external identifier of a protected VM or volume group that can be used to retrieve the protected resource.
65
+ * Retrieves the details of the specified protection resource, including available restorable time ranges on the local Prism Central and the replication status to targets defined in the applied protection policies. This is applicable only if the entity is protected with a minutely or synchronous schedule. Other protection schedules are not currently supported by this endpoint and are considered unprotected.
66
+ * @param { String } extId The external identifier of a protected VM or volume group used to retrieve the protected resource.
67
67
  * @param {Object} args Additional Arguments
68
68
  * @return {Promise<GetProtectedResourceApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link GetProtectedResourceApiResponse } and HTTP response
69
69
  */
@@ -93,13 +93,13 @@ var ProtectedResourcesApi = exports.ProtectedResourcesApi = /*#__PURE__*/functio
93
93
  var contentTypes = [];
94
94
  var accepts = ['application/json'];
95
95
  var returnType = _GetProtectedResourceApiResponse["default"];
96
- return this.apiClient.callApi('/api/dataprotection/v4.0/config/protected-resources/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
96
+ return this.apiClient.callApi('/api/dataprotection/v4.1/config/protected-resources/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
97
97
  }
98
98
 
99
99
  /**
100
100
  * Promote protected resource
101
- * Promotes the specified synced entity at the target site. This is only relevant if the synced entity is protected in a synchronous schedule.
102
- * @param { String } extId The external identifier of a protected VM or volume group that can be used to retrieve the protected resource.
101
+ * Promotes a specified synced entity at the target site. This is only relevant if the synced entity is protected in a synchronous schedule.
102
+ * @param { String } extId The external identifier of a protected VM or volume group used to retrieve the protected resource.
103
103
  * @param {Object} args Additional Arguments
104
104
  * @return {Promise<ProtectedResourcePromoteApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ProtectedResourcePromoteApiResponse } and HTTP response
105
105
  */
@@ -129,14 +129,14 @@ var ProtectedResourcesApi = exports.ProtectedResourcesApi = /*#__PURE__*/functio
129
129
  var contentTypes = [];
130
130
  var accepts = ['application/json'];
131
131
  var returnType = _ProtectedResourcePromoteApiResponse["default"];
132
- return this.apiClient.callApi('/api/dataprotection/v4.0/config/protected-resources/{extId}/$actions/promote', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
132
+ return this.apiClient.callApi('/api/dataprotection/v4.1/config/protected-resources/{extId}/$actions/promote', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
133
133
  }
134
134
 
135
135
  /**
136
136
  * Restore protected resource
137
- * Restore the specified protected resource from its state at the given timestamp on the given cluster. This is only relevant if the entity is protected in a minutely schedule at the given timestamp.
137
+ * Restores the specified protected resource from its state at the given timestamp on the given cluster. This is only relevant if the entity is protected in a minutely schedule at the given timestamp.
138
138
  * @param { Required<Pick<ProtectedResourceRestoreSpec, 'clusterExtId'>> & Partial<ProtectedResourceRestoreSpec> } body specification
139
- * @param { String } extId The external identifier of a protected VM or volume group that can be used to retrieve the protected resource.
139
+ * @param { String } extId The external identifier of a protected VM or volume group used to retrieve the protected resource.
140
140
  * @param {Object} args Additional Arguments
141
141
  * @return {Promise<ProtectedResourceRestoreApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ProtectedResourceRestoreApiResponse } and HTTP response
142
142
  */
@@ -176,7 +176,7 @@ var ProtectedResourcesApi = exports.ProtectedResourcesApi = /*#__PURE__*/functio
176
176
  var contentTypes = ['application/json'];
177
177
  var accepts = ['application/json'];
178
178
  var returnType = _ProtectedResourceRestoreApiResponse["default"];
179
- return this.apiClient.callApi('/api/dataprotection/v4.0/config/protected-resources/{extId}/$actions/restore', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
179
+ return this.apiClient.callApi('/api/dataprotection/v4.1/config/protected-resources/{extId}/$actions/restore', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
180
180
  }
181
181
  }], [{
182
182
  key: "ApiClient",
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * RecoveryPoints service.
3
- * @version 4.0.1
3
+ * @version 4.1.1
4
4
  * @class RecoveryPointsApi
5
5
  */
6
6
  export class RecoveryPointsApi {
@@ -35,8 +35,8 @@ export class RecoveryPointsApi {
35
35
  */
36
36
  deleteRecoveryPointById(extId: string, ...args: any): Promise<DeleteRecoveryPointApiResponse>;
37
37
  /**
38
- * Discover cluster info for a recovery point
39
- * It returns cluster details, where given recovery point resides, and a certificate to access endpoint. The certificate must be set as the NTNX_IGW_SESSION cookie in the header. For example: Cookie: NTNX_IGW_SESSION&#x3D;&#x27;certificate&#x27;
38
+ * Discover cluster details for a recovery point
39
+ * It returns cluster details where the given recovery point is located, and a certificate to access the endpoint. The certificate must be set as a NTNX_IGW_SESSION cookie in the header. For example, Cookie: NTNX_IGW_SESSION&#x3D;&#x27;certificate&#x27;
40
40
  * @param { Required<Pick<ClusterDiscoverSpec, 'operation' | 'spec'>> & Partial<ClusterDiscoverSpec> } body specification
41
41
  * @param { String } extId The external identifier that can be used to retrieve the recovery point using its URL.
42
42
  * @param {Object} args Additional Arguments
@@ -62,7 +62,7 @@ export class RecoveryPointsApi {
62
62
  getVmRecoveryPointById(recoveryPointExtId: string, extId: string, ...args: any): Promise<GetVmRecoveryPointApiResponse>;
63
63
  /**
64
64
  * Get VSS metadata by VM recovery point ID
65
- * The metadata documents of Volume Shadow Copy Service(VSS) writers and requesters are called VSS metadata. During a VSS backup operation, the VSS metadata is compressed into a cabinet file, which is in a .cab file format designed for storing compressed files. This cabinet file must be saved to the backup media during a backup operation, as required during a restore operation. This API returns the VSS metadata (data of the cabinet file) of a VM recovery point under a composite recovery point identified by an external identifier, which was saved during the create recovery point operation.
65
+ * The metadata documents of Volume Shadow Copy Service (VSS) writers and requesters are called VSS metadata. During a VSS backup operation, the VSS metadata is compressed into a cabinet file, which is in a .cab file format designed to store compressed files. This cabinet file must be saved to the backup media during a backup operation, as it will be required during a restore operation. This API returns the VSS metadata (cabinet file) of a VM recovery point under a composite recovery point that is identified by an external identifier. This external identifier was saved during the recovery point creation operation.
66
66
  * @param { String } recoveryPointExtId The external identifier that can be used to retrieve the recovery point using its URL.
67
67
  * @param { String } vmRecoveryPointExtId The external identifier that can be used to identify a VM recovery point.
68
68
  * @param {Object} args Additional Arguments
@@ -71,7 +71,7 @@ export class RecoveryPointsApi {
71
71
  getVssMetadataByVmRecoveryPointId(recoveryPointExtId: string, vmRecoveryPointExtId: string, ...args: any): Promise<GetVssMetadataApiResponse>;
72
72
  /**
73
73
  * List recovery points
74
- * List of recovery point.
74
+ * List of recovery points.
75
75
  * @param {Object} opts Optional parameters defined for the operation
76
76
  * @param { String } opts.xClusterId Cluster type from which recovery points must be fetched. Valid values: [AOS, MST]
77
77
  * @param { Number } opts.$page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
@@ -79,29 +79,9 @@ export class RecoveryPointsApi {
79
79
  * @param { Number } opts.$limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
80
80
 
81
81
  * @param { String } opts.$filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions.<br>
82
- * For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'.<br>
83
- * The filter can be applied to the following fields:<br>
84
- * - creationTime<br>
85
- * - extId<br>
86
- * - locationAgnosticId<br>
87
- * - name<br>
88
- * - ownerExtId<br>
89
- * - recoveryPointType<br>
90
- * - vmRecoveryPoints<br>
91
- * - volumeGroupRecoveryPoints
92
- * @param { String } opts.$orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order.<br>
93
- * The orderby can be applied to the following fields:<br>
94
- * - creationTime<br>
95
- * - expirationTime<br>
96
- * - name<br>
97
- * - ownerExtId
82
+ * For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'.
83
+ * @param { String } opts.$orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order.
98
84
  * @param { String } opts.$select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned.
99
- - creationTime
100
- - expirationTime
101
- - extId
102
- - name
103
- - recoveryPointType
104
-
105
85
  * @param {Object} args Additional Arguments
106
86
  * @return {Promise<ListRecoveryPointsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListRecoveryPointsApiResponse } and HTTP response
107
87
  */
@@ -41,18 +41,18 @@ function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a),
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 Data Protection APIs
43
43
  *
44
- * OpenAPI spec version: 4.0.1
44
+ * OpenAPI spec version: 4.1.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
  *
52
52
  */
53
53
  /**
54
54
  * RecoveryPoints service.
55
- * @version 4.0.1
55
+ * @version 4.1.1
56
56
  * @class RecoveryPointsApi
57
57
  */
58
58
  var _headersToSkip = /*#__PURE__*/new WeakMap();
@@ -112,7 +112,7 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
112
112
  var contentTypes = ['application/json'];
113
113
  var accepts = ['application/json'];
114
114
  var returnType = _CreateRecoveryPointApiResponse["default"];
115
- return this.apiClient.callApi('/api/dataprotection/v4.0/config/recovery-points', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
115
+ return this.apiClient.callApi('/api/dataprotection/v4.1/config/recovery-points', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
116
116
  }
117
117
 
118
118
  /**
@@ -148,12 +148,12 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
148
148
  var contentTypes = [];
149
149
  var accepts = ['application/json'];
150
150
  var returnType = _DeleteRecoveryPointApiResponse["default"];
151
- return this.apiClient.callApi('/api/dataprotection/v4.0/config/recovery-points/{extId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
151
+ return this.apiClient.callApi('/api/dataprotection/v4.1/config/recovery-points/{extId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
152
152
  }
153
153
 
154
154
  /**
155
- * Discover cluster info for a recovery point
156
- * It returns cluster details, where given recovery point resides, and a certificate to access endpoint. The certificate must be set as the NTNX_IGW_SESSION cookie in the header. For example: Cookie: NTNX_IGW_SESSION&#x3D;&#x27;certificate&#x27;
155
+ * Discover cluster details for a recovery point
156
+ * It returns cluster details where the given recovery point is located, and a certificate to access the endpoint. The certificate must be set as a NTNX_IGW_SESSION cookie in the header. For example, Cookie: NTNX_IGW_SESSION&#x3D;&#x27;certificate&#x27;
157
157
  * @param { Required<Pick<ClusterDiscoverSpec, 'operation' | 'spec'>> & Partial<ClusterDiscoverSpec> } body specification
158
158
  * @param { String } extId The external identifier that can be used to retrieve the recovery point using its URL.
159
159
  * @param {Object} args Additional Arguments
@@ -195,7 +195,7 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
195
195
  var contentTypes = ['application/json'];
196
196
  var accepts = ['application/json'];
197
197
  var returnType = _ClusterInfoApiResponse["default"];
198
- return this.apiClient.callApi('/api/dataprotection/v4.0/config/recovery-points/{extId}/$actions/discover-cluster', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
198
+ return this.apiClient.callApi('/api/dataprotection/v4.1/config/recovery-points/{extId}/$actions/discover-cluster', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
199
199
  }
200
200
 
201
201
  /**
@@ -231,7 +231,7 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
231
231
  var contentTypes = [];
232
232
  var accepts = ['application/json'];
233
233
  var returnType = _GetRecoveryPointApiResponse["default"];
234
- return this.apiClient.callApi('/api/dataprotection/v4.0/config/recovery-points/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
234
+ return this.apiClient.callApi('/api/dataprotection/v4.1/config/recovery-points/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
235
235
  }
236
236
 
237
237
  /**
@@ -273,12 +273,12 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
273
273
  var contentTypes = [];
274
274
  var accepts = ['application/json'];
275
275
  var returnType = _GetVmRecoveryPointApiResponse["default"];
276
- return this.apiClient.callApi('/api/dataprotection/v4.0/config/recovery-points/{recoveryPointExtId}/vm-recovery-points/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
276
+ return this.apiClient.callApi('/api/dataprotection/v4.1/config/recovery-points/{recoveryPointExtId}/vm-recovery-points/{extId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
277
277
  }
278
278
 
279
279
  /**
280
280
  * Get VSS metadata by VM recovery point ID
281
- * The metadata documents of Volume Shadow Copy Service(VSS) writers and requesters are called VSS metadata. During a VSS backup operation, the VSS metadata is compressed into a cabinet file, which is in a .cab file format designed for storing compressed files. This cabinet file must be saved to the backup media during a backup operation, as required during a restore operation. This API returns the VSS metadata (data of the cabinet file) of a VM recovery point under a composite recovery point identified by an external identifier, which was saved during the create recovery point operation.
281
+ * The metadata documents of Volume Shadow Copy Service (VSS) writers and requesters are called VSS metadata. During a VSS backup operation, the VSS metadata is compressed into a cabinet file, which is in a .cab file format designed to store compressed files. This cabinet file must be saved to the backup media during a backup operation, as it will be required during a restore operation. This API returns the VSS metadata (cabinet file) of a VM recovery point under a composite recovery point that is identified by an external identifier. This external identifier was saved during the recovery point creation operation.
282
282
  * @param { String } recoveryPointExtId The external identifier that can be used to retrieve the recovery point using its URL.
283
283
  * @param { String } vmRecoveryPointExtId The external identifier that can be used to identify a VM recovery point.
284
284
  * @param {Object} args Additional Arguments
@@ -315,40 +315,21 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
315
315
  var contentTypes = [];
316
316
  var accepts = ['application/octet-stream', 'application/json'];
317
317
  var returnType = _GetVssMetadataApiResponse["default"];
318
- return this.apiClient.callApi('/api/dataprotection/v4.0/content/recovery-points/{recoveryPointExtId}/vm-recovery-points/{vmRecoveryPointExtId}/vss-metadata', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
318
+ return this.apiClient.callApi('/api/dataprotection/v4.1/content/recovery-points/{recoveryPointExtId}/vm-recovery-points/{vmRecoveryPointExtId}/vss-metadata', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
319
319
  }
320
320
 
321
321
  /**
322
322
  * List recovery points
323
- * List of recovery point.
323
+ * List of recovery points.
324
324
  * @param {Object} opts Optional parameters defined for the operation
325
325
  * @param { String } opts.xClusterId Cluster type from which recovery points must be fetched. Valid values: [AOS, MST]
326
326
  * @param { Number } opts.$page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
327
327
  * @param { Number } opts.$limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
328
328
  * @param { String } opts.$filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions.<br>
329
- * For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'.<br>
330
- * The filter can be applied to the following fields:<br>
331
- * - creationTime<br>
332
- * - extId<br>
333
- * - locationAgnosticId<br>
334
- * - name<br>
335
- * - ownerExtId<br>
336
- * - recoveryPointType<br>
337
- * - vmRecoveryPoints<br>
338
- * - volumeGroupRecoveryPoints
339
- * @param { String } opts.$orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order.<br>
340
- * The orderby can be applied to the following fields:<br>
341
- * - creationTime<br>
342
- * - expirationTime<br>
343
- * - name<br>
344
- * - ownerExtId
329
+ * For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'.
330
+ * @param { String } opts.$orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order.
345
331
  * @param { String } opts.$select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned.
346
- - creationTime
347
- - expirationTime
348
- - extId
349
- - name
350
- - recoveryPointType
351
- * @param {Object} args Additional Arguments
332
+ * @param {Object} args Additional Arguments
352
333
  * @return {Promise<ListRecoveryPointsApiResponse>} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link ListRecoveryPointsApiResponse } and HTTP response
353
334
  */
354
335
  }, {
@@ -384,7 +365,7 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
384
365
  var contentTypes = [];
385
366
  var accepts = ['application/json'];
386
367
  var returnType = _ListRecoveryPointsApiResponse["default"];
387
- return this.apiClient.callApi('/api/dataprotection/v4.0/config/recovery-points', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
368
+ return this.apiClient.callApi('/api/dataprotection/v4.1/config/recovery-points', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
388
369
  }
389
370
 
390
371
  /**
@@ -431,7 +412,7 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
431
412
  var contentTypes = ['application/json'];
432
413
  var accepts = ['application/json'];
433
414
  var returnType = _RecoveryPointReplicateApiResponse["default"];
434
- return this.apiClient.callApi('/api/dataprotection/v4.0/config/recovery-points/{extId}/$actions/replicate', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
415
+ return this.apiClient.callApi('/api/dataprotection/v4.1/config/recovery-points/{extId}/$actions/replicate', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
435
416
  }
436
417
 
437
418
  /**
@@ -474,7 +455,7 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
474
455
  var contentTypes = ['application/json'];
475
456
  var accepts = ['application/json'];
476
457
  var returnType = _RecoveryPointRestoreApiResponse["default"];
477
- return this.apiClient.callApi('/api/dataprotection/v4.0/config/recovery-points/{extId}/$actions/restore', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
458
+ return this.apiClient.callApi('/api/dataprotection/v4.1/config/recovery-points/{extId}/$actions/restore', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
478
459
  }
479
460
 
480
461
  /**
@@ -488,7 +469,7 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
488
469
  }, {
489
470
  key: "setRecoveryPointExpirationTime",
490
471
  value: function setRecoveryPointExpirationTime(extId, body) {
491
- var _this10 = this;
472
+ var _this0 = this;
492
473
  var argMap = (arguments.length <= 2 ? 0 : arguments.length - 2) > 0 ? arguments.length <= 2 ? undefined : arguments[2] : {};
493
474
  var postBody = null;
494
475
  if (body instanceof _ExpirationTimeSpec["default"] && typeof body.toJson === 'function') {
@@ -510,7 +491,7 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
510
491
  var queryParams = {};
511
492
  var headersToInclude = {};
512
493
  Object.keys(argMap).forEach(function (header) {
513
- if (!_classPrivateFieldGet(_headersToSkip, _this10).has(header.toLowerCase())) {
494
+ if (!_classPrivateFieldGet(_headersToSkip, _this0).has(header.toLowerCase())) {
514
495
  headersToInclude[header] = argMap[header];
515
496
  }
516
497
  });
@@ -521,7 +502,7 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
521
502
  var contentTypes = ['application/json'];
522
503
  var accepts = ['application/json'];
523
504
  var returnType = _UpdateRecoveryPointExpirationTimeApiResponse["default"];
524
- return this.apiClient.callApi('/api/dataprotection/v4.0/config/recovery-points/{extId}/$actions/set-expiration-time', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
505
+ return this.apiClient.callApi('/api/dataprotection/v4.1/config/recovery-points/{extId}/$actions/set-expiration-time', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
525
506
  }
526
507
 
527
508
  /**
@@ -537,7 +518,7 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
537
518
  }, {
538
519
  key: "vmRecoveryPointComputeChangedRegions",
539
520
  value: function vmRecoveryPointComputeChangedRegions(recoveryPointExtId, vmRecoveryPointExtId, extId, body) {
540
- var _this11 = this;
521
+ var _this1 = this;
541
522
  var argMap = (arguments.length <= 4 ? 0 : arguments.length - 4) > 0 ? arguments.length <= 4 ? undefined : arguments[4] : {};
542
523
  var postBody = null;
543
524
  if (body instanceof _VmRecoveryPointChangedRegionsComputeSpec["default"] && typeof body.toJson === 'function') {
@@ -569,7 +550,7 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
569
550
  var queryParams = {};
570
551
  var headersToInclude = {};
571
552
  Object.keys(argMap).forEach(function (header) {
572
- if (!_classPrivateFieldGet(_headersToSkip, _this11).has(header.toLowerCase())) {
553
+ if (!_classPrivateFieldGet(_headersToSkip, _this1).has(header.toLowerCase())) {
573
554
  headersToInclude[header] = argMap[header];
574
555
  }
575
556
  });
@@ -580,7 +561,7 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
580
561
  var contentTypes = ['application/json'];
581
562
  var accepts = ['application/json'];
582
563
  var returnType = _ChangedVmRegionsApiResponse["default"];
583
- return this.apiClient.callApi('/api/dataprotection/v4.0/content/recovery-points/{recoveryPointExtId}/vm-recovery-points/{vmRecoveryPointExtId}/disk-recovery-points/{extId}/$actions/compute-changed-regions', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
564
+ return this.apiClient.callApi('/api/dataprotection/v4.1/content/recovery-points/{recoveryPointExtId}/vm-recovery-points/{vmRecoveryPointExtId}/disk-recovery-points/{extId}/$actions/compute-changed-regions', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
584
565
  }
585
566
 
586
567
  /**
@@ -596,7 +577,7 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
596
577
  }, {
597
578
  key: "volumeGroupRecoveryPointComputeChangedRegions",
598
579
  value: function volumeGroupRecoveryPointComputeChangedRegions(recoveryPointExtId, volumeGroupRecoveryPointExtId, extId, body) {
599
- var _this12 = this;
580
+ var _this10 = this;
600
581
  var argMap = (arguments.length <= 4 ? 0 : arguments.length - 4) > 0 ? arguments.length <= 4 ? undefined : arguments[4] : {};
601
582
  var postBody = null;
602
583
  if (body instanceof _VolumeGroupRecoveryPointChangedRegionsComputeSpec["default"] && typeof body.toJson === 'function') {
@@ -628,7 +609,7 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
628
609
  var queryParams = {};
629
610
  var headersToInclude = {};
630
611
  Object.keys(argMap).forEach(function (header) {
631
- if (!_classPrivateFieldGet(_headersToSkip, _this12).has(header.toLowerCase())) {
612
+ if (!_classPrivateFieldGet(_headersToSkip, _this10).has(header.toLowerCase())) {
632
613
  headersToInclude[header] = argMap[header];
633
614
  }
634
615
  });
@@ -639,7 +620,7 @@ var RecoveryPointsApi = exports.RecoveryPointsApi = /*#__PURE__*/function () {
639
620
  var contentTypes = ['application/json'];
640
621
  var accepts = ['application/json'];
641
622
  var returnType = _ChangedVolumeGroupRegionsApiResponse["default"];
642
- return this.apiClient.callApi('/api/dataprotection/v4.0/content/recovery-points/{recoveryPointExtId}/volume-group-recovery-points/{volumeGroupRecoveryPointExtId}/disk-recovery-points/{extId}/$actions/compute-changed-regions', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
623
+ return this.apiClient.callApi('/api/dataprotection/v4.1/content/recovery-points/{recoveryPointExtId}/volume-group-recovery-points/{volumeGroupRecoveryPointExtId}/disk-recovery-points/{extId}/$actions/compute-changed-regions', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType);
643
624
  }
644
625
  }], [{
645
626
  key: "ApiClient",