@nexgencloud/hyperstack-sdk-javascript 1.55.7-alpha → 1.56.0-alpha

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 (397) hide show
  1. package/README.md +9 -1
  2. package/dist/ApiClient.js +5 -4
  3. package/dist/HyperstackHeaders.js +1 -1
  4. package/dist/api/AccessKeysApi.js +48 -2
  5. package/dist/api/AliveApi.js +4 -4
  6. package/dist/api/ApiKeyApi.js +2 -2
  7. package/dist/api/AssigningMemberRoleApi.js +2 -2
  8. package/dist/api/AuthApi.js +2 -2
  9. package/dist/api/AutoTopupApi.js +4 -4
  10. package/dist/api/BetaAccessApi.js +2 -2
  11. package/dist/api/BillingApi.js +6 -6
  12. package/dist/api/BucketsApi.js +2 -2
  13. package/dist/api/CalculateApi.js +2 -2
  14. package/dist/api/CallbacksApi.js +2 -2
  15. package/dist/api/ClusterEventsApi.js +2 -2
  16. package/dist/api/ClustersApi.js +42 -2
  17. package/dist/api/CreditApi.js +4 -4
  18. package/dist/api/CustomerContractApi.js +2 -2
  19. package/dist/api/DashboardApi.js +2 -2
  20. package/dist/api/EmailOptInOutApi.js +2 -2
  21. package/dist/api/EnvironmentApi.js +2 -2
  22. package/dist/api/FIPExclusionsApi.js +2 -2
  23. package/dist/api/FirewallAttachmentApi.js +2 -2
  24. package/dist/api/FirewallsApi.js +2 -2
  25. package/dist/api/FlavorApi.js +2 -2
  26. package/dist/api/FloatingIpApi.js +2 -2
  27. package/dist/api/GpuApi.js +2 -2
  28. package/dist/api/HealthApi.js +2 -2
  29. package/dist/api/ImageApi.js +2 -2
  30. package/dist/api/InviteApi.js +2 -2
  31. package/dist/api/KeypairApi.js +2 -2
  32. package/dist/api/OrganizationApi.js +2 -2
  33. package/dist/api/PartnerConfigApi.js +2 -2
  34. package/dist/api/PaymentApi.js +12 -11
  35. package/dist/api/PermissionApi.js +2 -2
  36. package/dist/api/PolicyApi.js +2 -2
  37. package/dist/api/PricebookApi.js +2 -2
  38. package/dist/api/ProfileApi.js +2 -2
  39. package/dist/api/RbacRoleApi.js +2 -2
  40. package/dist/api/RegionApi.js +2 -2
  41. package/dist/api/RegionsApi.js +2 -2
  42. package/dist/api/SecurityRulesApi.js +2 -2
  43. package/dist/api/SnapshotEventsApi.js +2 -2
  44. package/dist/api/SnapshotsApi.js +2 -2
  45. package/dist/api/StockApi.js +2 -2
  46. package/dist/api/UserApi.js +2 -2
  47. package/dist/api/UserConsentApi.js +2 -2
  48. package/dist/api/UserConsentEventsApi.js +2 -2
  49. package/dist/api/UserDetailChoiceApi.js +2 -2
  50. package/dist/api/UserPermissionApi.js +2 -2
  51. package/dist/api/VirtualMachineApi.js +2 -2
  52. package/dist/api/VirtualMachineEventsApi.js +2 -2
  53. package/dist/api/VncUrlApi.js +2 -2
  54. package/dist/api/VolumeApi.js +2 -2
  55. package/dist/api/VolumeAttachmentApi.js +2 -2
  56. package/dist/api/VouchersApi.js +2 -2
  57. package/dist/api/ZendeskApi.js +79 -0
  58. package/dist/index.js +42 -0
  59. package/dist/model/AccessTokenField.js +2 -2
  60. package/dist/model/AddUserInfoSuccessResponseModel.js +2 -2
  61. package/dist/model/AllocatedGPUCountGraph.js +2 -2
  62. package/dist/model/AllowedCountriesResponse.js +2 -2
  63. package/dist/model/ApiKeyFields.js +2 -2
  64. package/dist/model/AssignRbacRolePayload.js +2 -2
  65. package/dist/model/AttachCallbackPayload.js +2 -2
  66. package/dist/model/AttachCallbackResponse.js +2 -2
  67. package/dist/model/AttachFirewallWithVM.js +2 -2
  68. package/dist/model/AttachFirewallsToVMPayload.js +2 -2
  69. package/dist/model/AttachVolumeFields.js +2 -2
  70. package/dist/model/AttachVolumes.js +2 -2
  71. package/dist/model/AttachVolumesPayload.js +2 -2
  72. package/dist/model/AttachmentsFieldsForVolume.js +2 -2
  73. package/dist/model/Attributes.js +2 -2
  74. package/dist/model/AuthGetTokenResponseModel.js +2 -2
  75. package/dist/model/AuthUserFields.js +2 -2
  76. package/dist/model/AuthUserInfoResponseModel.js +2 -2
  77. package/dist/model/AutoTopup.js +2 -2
  78. package/dist/model/AutoTopupErrorResponse.js +2 -2
  79. package/dist/model/AutoTopupStatusSchema.js +2 -2
  80. package/dist/model/BetaAccessRequestFields.js +2 -2
  81. package/dist/model/BetaAccessRequestPayload.js +2 -2
  82. package/dist/model/BetaAccessRequestResponseModel.js +2 -2
  83. package/dist/model/BetaAccessStatusItem.js +2 -2
  84. package/dist/model/BetaAccessStatusResponseModel.js +2 -2
  85. package/dist/model/BillingHistory.js +2 -2
  86. package/dist/model/BillingHistoryDataSynthesisDetails.js +2 -2
  87. package/dist/model/BillingHistoryFineTuning.js +2 -2
  88. package/dist/model/BillingHistoryImageGenerationDetails.js +2 -2
  89. package/dist/model/BillingHistoryModelEvalutationDetails.js +2 -2
  90. package/dist/model/BillingHistoryServerlessInference.js +2 -2
  91. package/dist/model/BillingHistoryServerlessInferenceDetails.js +2 -2
  92. package/dist/model/BillingMetricesFields.js +2 -2
  93. package/dist/model/BillingMetricesResponse.js +2 -2
  94. package/dist/model/ClusterEvents.js +2 -2
  95. package/dist/model/ClusterEventsFields.js +2 -2
  96. package/dist/model/ClusterFields.js +10 -2
  97. package/dist/model/ClusterFlavorFields.js +2 -2
  98. package/dist/model/ClusterListResponse.js +2 -2
  99. package/dist/model/ClusterNodeFields.js +2 -2
  100. package/dist/model/ClusterNodeGroupFields.js +2 -2
  101. package/dist/model/ClusterNodeGroupFirewallFields.js +2 -2
  102. package/dist/model/ClusterNodeGroupsCreateResponse.js +2 -2
  103. package/dist/model/ClusterNodeGroupsGetResponse.js +2 -2
  104. package/dist/model/ClusterNodeGroupsListResponse.js +2 -2
  105. package/dist/model/ClusterNodeInstanceFields.js +2 -2
  106. package/dist/model/ClusterNodesListResponse.js +2 -2
  107. package/dist/model/ClusterResponse.js +2 -2
  108. package/dist/model/ClusterRestoreFailedNode.js +97 -0
  109. package/dist/model/ClusterRestoreResponse.js +142 -0
  110. package/dist/model/ClusterVersion.js +2 -2
  111. package/dist/model/ClusterVersions.js +2 -2
  112. package/dist/model/Colors.js +2 -2
  113. package/dist/model/CommonResponseModel.js +2 -2
  114. package/dist/model/CompatibleFlavor.js +2 -2
  115. package/dist/model/CompatibleImage.js +2 -2
  116. package/dist/model/ConsentActionResponse.js +2 -2
  117. package/dist/model/ConsentBlock.js +2 -2
  118. package/dist/model/ConsentEventsResponse.js +2 -2
  119. package/dist/model/ConsentTemplate.js +2 -2
  120. package/dist/model/ConsentTemplatesResponse.js +2 -2
  121. package/dist/model/Contract.js +2 -2
  122. package/dist/model/ContractDiscountPlanFields.js +2 -2
  123. package/dist/model/ContractGPUAllocationGraphResponse.js +2 -2
  124. package/dist/model/ContractInstanceFields.js +2 -2
  125. package/dist/model/ContractInstancesResponse.js +2 -2
  126. package/dist/model/CreateAutoTopupPayload.js +2 -2
  127. package/dist/model/CreateAutoTopupResponse.js +2 -2
  128. package/dist/model/CreateClusterNodeFields.js +2 -2
  129. package/dist/model/CreateClusterNodeGroupPayload.js +2 -2
  130. package/dist/model/CreateClusterPayload.js +2 -2
  131. package/dist/model/CreateEnvironment.js +2 -2
  132. package/dist/model/CreateFirewallPayload.js +2 -2
  133. package/dist/model/CreateFirewallRulePayload.js +2 -2
  134. package/dist/model/CreateImage.js +2 -2
  135. package/dist/model/CreateImagePayload.js +2 -2
  136. package/dist/model/CreateInstancesPayload.js +2 -2
  137. package/dist/model/CreateInstancesResponse.js +2 -2
  138. package/dist/model/CreateProfilePayload.js +2 -2
  139. package/dist/model/CreateProfileResponse.js +2 -2
  140. package/dist/model/CreateSecurityRulePayload.js +2 -2
  141. package/dist/model/CreateSnapshotPayload.js +2 -2
  142. package/dist/model/CreateSnapshotResponse.js +2 -2
  143. package/dist/model/CreateUpdateRbacRolePayload.js +2 -2
  144. package/dist/model/CreateVolumePayload.js +2 -2
  145. package/dist/model/CustomerContractDetailResponseModel.js +2 -2
  146. package/dist/model/CustomerContractFields.js +2 -2
  147. package/dist/model/DashboardInfoResponse.js +2 -2
  148. package/dist/model/DataSynthesisBillingHistoryDetailsResponseSchema.js +2 -2
  149. package/dist/model/DeleteClusterNodesFields.js +2 -2
  150. package/dist/model/DetachVolumes.js +2 -2
  151. package/dist/model/DetachVolumesPayload.js +2 -2
  152. package/dist/model/DisableAutoTopupResponse.js +2 -2
  153. package/dist/model/EditLabelOfAnExistingVMPayload.js +2 -2
  154. package/dist/model/EmailCategory.js +2 -2
  155. package/dist/model/EmailCategoryChild.js +2 -2
  156. package/dist/model/EmailPreferencesResponse.js +2 -2
  157. package/dist/model/Environment.js +2 -2
  158. package/dist/model/EnvironmentFeatures.js +2 -2
  159. package/dist/model/EnvironmentFields.js +2 -2
  160. package/dist/model/EnvironmentFieldsForVolume.js +2 -2
  161. package/dist/model/Environments.js +2 -2
  162. package/dist/model/ErrorResponseModel.js +2 -2
  163. package/dist/model/FirewallAttachmentModel.js +2 -2
  164. package/dist/model/FirewallAttachmentVMModel.js +2 -2
  165. package/dist/model/FirewallDetailFields.js +2 -2
  166. package/dist/model/FirewallDetailResponse.js +2 -2
  167. package/dist/model/FirewallEnvironmentFields.js +2 -2
  168. package/dist/model/FirewallFields.js +2 -2
  169. package/dist/model/FirewallResponse.js +2 -2
  170. package/dist/model/FirewallRule.js +2 -2
  171. package/dist/model/FirewallsListResponse.js +2 -2
  172. package/dist/model/FlavorFields.js +2 -2
  173. package/dist/model/FlavorItemGetResponse.js +2 -2
  174. package/dist/model/FlavorLabelFields.js +2 -2
  175. package/dist/model/FlavorListResponse.js +2 -2
  176. package/dist/model/FlavorObjectFields.js +2 -2
  177. package/dist/model/FlavorRestrictions.js +2 -2
  178. package/dist/model/GPUFields.js +2 -2
  179. package/dist/model/GPUList.js +2 -2
  180. package/dist/model/GPURegionFields.js +2 -2
  181. package/dist/model/GenerateUpdateApiKeyPayload.js +2 -2
  182. package/dist/model/GenerateUpdateApiKeyResponseModel.js +2 -2
  183. package/dist/model/GetApiKeysResponseModel.js +2 -2
  184. package/dist/model/GetAutoTopupResponse.js +2 -2
  185. package/dist/model/GetCreditAndThresholdInfo.js +2 -2
  186. package/dist/model/GetCreditAndThresholdInfoInResponse.js +2 -2
  187. package/dist/model/GetCustomerContractsListResponseModel.js +2 -2
  188. package/dist/model/GetInstanceLogsResponse.js +2 -2
  189. package/dist/model/GetInvitesResponseModel.js +2 -2
  190. package/dist/model/GetOrganizationResponseModel.js +2 -2
  191. package/dist/model/GetPermissionsResponseModel.js +2 -2
  192. package/dist/model/GetPoliciesResponseModel.js +2 -2
  193. package/dist/model/GetRbacRolesResponseModel.js +2 -2
  194. package/dist/model/GetUserPermissionsResponseModel.js +2 -2
  195. package/dist/model/GraphDatetimeValueModel.js +2 -2
  196. package/dist/model/Image.js +2 -2
  197. package/dist/model/ImageFields.js +2 -2
  198. package/dist/model/ImageGenerationBillingHistoryDetailsResponseSchema.js +2 -2
  199. package/dist/model/ImageGetResponse.js +2 -2
  200. package/dist/model/ImageRestrictions.js +2 -2
  201. package/dist/model/Images.js +2 -2
  202. package/dist/model/ImportKeypairPayload.js +2 -2
  203. package/dist/model/ImportKeypairResponse.js +2 -2
  204. package/dist/model/InfrahubResourceObjectResponseForCustomer.js +2 -2
  205. package/dist/model/Instance.js +2 -2
  206. package/dist/model/InstanceEnhancedMetricsFields.js +2 -2
  207. package/dist/model/InstanceEnvironmentFields.js +2 -2
  208. package/dist/model/InstanceEvents.js +2 -2
  209. package/dist/model/InstanceEventsFields.js +2 -2
  210. package/dist/model/InstanceFields.js +2 -2
  211. package/dist/model/InstanceFlavorFields.js +2 -2
  212. package/dist/model/InstanceImageFields.js +2 -2
  213. package/dist/model/InstanceKeypairFields.js +2 -2
  214. package/dist/model/InstanceOverviewFields.js +2 -2
  215. package/dist/model/InstanceResizePayload.js +2 -2
  216. package/dist/model/Instances.js +2 -2
  217. package/dist/model/InviteFields.js +2 -2
  218. package/dist/model/InviteUserPayload.js +2 -2
  219. package/dist/model/InviteUserResponseModel.js +2 -2
  220. package/dist/model/KeypairEnvironmentFeatures.js +2 -2
  221. package/dist/model/KeypairEnvironmentFields.js +2 -2
  222. package/dist/model/KeypairFields.js +2 -2
  223. package/dist/model/Keypairs.js +2 -2
  224. package/dist/model/LableResonse.js +2 -2
  225. package/dist/model/LastDayCostFields.js +2 -2
  226. package/dist/model/LastDayCostResponse.js +2 -2
  227. package/dist/model/Logos.js +2 -2
  228. package/dist/model/MFAStatusFields.js +2 -2
  229. package/dist/model/MFAStatusResponse.js +2 -2
  230. package/dist/model/ManualReconciliationModel.js +2 -2
  231. package/dist/model/MasterFlavorsResponse.js +2 -2
  232. package/dist/model/MetricItemFields.js +2 -2
  233. package/dist/model/Metrics.js +2 -2
  234. package/dist/model/MetricsFields.js +2 -2
  235. package/dist/model/ModelEvaluationBillingHistoryDetailsResponseSchema.js +2 -2
  236. package/dist/model/NameAvailableModel.js +2 -2
  237. package/dist/model/NewConfigurationsResponse.js +2 -2
  238. package/dist/model/NewModelResponse.js +2 -2
  239. package/dist/model/NewStockResponse.js +2 -2
  240. package/dist/model/NewStockRetriveResponse.js +2 -2
  241. package/dist/model/ObjectStorageAccessKeyCreateRequest.js +2 -2
  242. package/dist/model/ObjectStorageAccessKeyCreateResponse.js +2 -2
  243. package/dist/model/ObjectStorageAccessKeyListResponse.js +2 -2
  244. package/dist/model/ObjectStorageAccessKeyResponse.js +2 -2
  245. package/dist/model/ObjectStorageAccessKeyUpdateRequest.js +112 -0
  246. package/dist/model/ObjectStorageBucketListResponse.js +2 -2
  247. package/dist/model/ObjectStorageBucketResponse.js +2 -2
  248. package/dist/model/ObjectStorageDeleteResponse.js +2 -2
  249. package/dist/model/ObjectStorageErrorResponse.js +2 -2
  250. package/dist/model/ObjectStorageHealthResponse.js +2 -2
  251. package/dist/model/ObjectStoragePaginationMeta.js +2 -2
  252. package/dist/model/ObjectStorageRegionListResponse.js +2 -2
  253. package/dist/model/ObjectStorageRegionResponse.js +2 -2
  254. package/dist/model/ObjectStorageRegionsEnum.js +1 -1
  255. package/dist/model/OrganizationFields.js +2 -2
  256. package/dist/model/OrganizationLevelBillingHistory.js +2 -2
  257. package/dist/model/OrganizationLevelBillingHistoryResources.js +2 -2
  258. package/dist/model/OrganizationLevelBillingHistoryResponseAttributes.js +2 -2
  259. package/dist/model/OrganizationLevelBillingHistoryResponseMetrics.js +2 -2
  260. package/dist/model/OrganizationLevelBillingHistoryResponseModel.js +2 -2
  261. package/dist/model/OrganizationThresholdFields.js +2 -2
  262. package/dist/model/OrganizationThresholdUpdateResponse.js +2 -2
  263. package/dist/model/OrganizationThresholdsResponse.js +2 -2
  264. package/dist/model/OrganizationUserResponseModel.js +2 -2
  265. package/dist/model/OverviewInfo.js +2 -2
  266. package/dist/model/Pagination.js +2 -2
  267. package/dist/model/PaginationData.js +2 -2
  268. package/dist/model/PartnerConfig.js +2 -2
  269. package/dist/model/PaymentDetailsFields.js +2 -2
  270. package/dist/model/PaymentDetailsResponse.js +2 -2
  271. package/dist/model/PaymentInitiateFields.js +2 -2
  272. package/dist/model/PaymentInitiatePayload.js +2 -2
  273. package/dist/model/PaymentInitiateResponse.js +2 -2
  274. package/dist/model/PaymentReceiptResponse.js +109 -0
  275. package/dist/model/PermissionFields.js +2 -2
  276. package/dist/model/PolicyFields.js +2 -2
  277. package/dist/model/PolicyPermissionFields.js +2 -2
  278. package/dist/model/PricebookModel.js +2 -2
  279. package/dist/model/PricebookResourceObjectResponseForCustomer.js +2 -2
  280. package/dist/model/PrimaryColor.js +2 -2
  281. package/dist/model/ProfileFields.js +2 -2
  282. package/dist/model/ProfileListResponse.js +2 -2
  283. package/dist/model/ProfileObjectFields.js +2 -2
  284. package/dist/model/RbacRoleDetailResponseModel.js +2 -2
  285. package/dist/model/RbacRoleDetailResponseModelFixed.js +2 -2
  286. package/dist/model/RbacRoleField.js +2 -2
  287. package/dist/model/RbacRoleFields.js +2 -2
  288. package/dist/model/RecordConsentRequest.js +2 -2
  289. package/dist/model/RedeemVoucherPayload.js +2 -2
  290. package/dist/model/RegionFields.js +2 -2
  291. package/dist/model/Regions.js +2 -2
  292. package/dist/model/RemoveMemberFromOrganizationResponseModel.js +2 -2
  293. package/dist/model/RemoveMemberPayload.js +2 -2
  294. package/dist/model/RequestConsole.js +2 -2
  295. package/dist/model/RequestInstanceLogsPayload.js +2 -2
  296. package/dist/model/RequestInstanceLogsResponse.js +2 -2
  297. package/dist/model/ResourceBillingEventsHistoryMetrics.js +2 -2
  298. package/dist/model/ResourceBillingEventsHistoryResponse.js +2 -2
  299. package/dist/model/ResourceBillingResponseForCustomer.js +2 -2
  300. package/dist/model/ResourceLevelBillingBucketDetailsResources.js +2 -2
  301. package/dist/model/ResourceLevelBillingDetailsAttributes.js +2 -2
  302. package/dist/model/ResourceLevelBillingDetailsMetrics.js +2 -2
  303. package/dist/model/ResourceLevelBillingDetailsVM.js +2 -2
  304. package/dist/model/ResourceLevelBillingDetailsVolume.js +2 -2
  305. package/dist/model/ResourceLevelBillingDetailsVolumeAttributes.js +2 -2
  306. package/dist/model/ResourceLevelBillingDetailsVolumeMetrics.js +2 -2
  307. package/dist/model/ResourceLevelBillingHistory.js +2 -2
  308. package/dist/model/ResourceLevelBillingHistoryResources.js +2 -2
  309. package/dist/model/ResourceLevelBillingHistoryResourcesCluster.js +2 -2
  310. package/dist/model/ResourceLevelBillingHistoryResponseAttributes.js +2 -2
  311. package/dist/model/ResourceLevelBillingHistoryResponseMetrics.js +2 -2
  312. package/dist/model/ResourceLevelBillingVMDetailsResources.js +2 -2
  313. package/dist/model/ResourceLevelBillingVolumeDetailsResources.js +2 -2
  314. package/dist/model/ResourceLevelBucketBillingDetailsResponseModel.js +2 -2
  315. package/dist/model/ResourceLevelBucketBillingHistoryResponseModel.js +2 -2
  316. package/dist/model/ResourceLevelClusterBillingDetailsResponseModel.js +2 -2
  317. package/dist/model/ResourceLevelClusterBillingHistoryResponseModel.js +2 -2
  318. package/dist/model/ResourceLevelClusterGraphBillingDetailsResponseModel.js +2 -2
  319. package/dist/model/ResourceLevelGraphBillingDetailVolume.js +2 -2
  320. package/dist/model/ResourceLevelGraphBillingDetailsAttributes.js +2 -2
  321. package/dist/model/ResourceLevelGraphBillingDetailsBucket.js +2 -2
  322. package/dist/model/ResourceLevelGraphBillingDetailsMetrics.js +2 -2
  323. package/dist/model/ResourceLevelGraphBillingDetailsVM.js +2 -2
  324. package/dist/model/ResourceLevelGraphBillingVMDetailsResources.js +2 -2
  325. package/dist/model/ResourceLevelGraphBillingVolumeDetailsResources.js +2 -2
  326. package/dist/model/ResourceLevelVMBillingDetailsResponseModel.js +2 -2
  327. package/dist/model/ResourceLevelVmBillingHistoryResponseModel.js +2 -2
  328. package/dist/model/ResourceLevelVmGraphBillingDetailsResponseModel.js +2 -2
  329. package/dist/model/ResourceLevelVolumeBillingDetailsResponseModel.js +2 -2
  330. package/dist/model/ResourceLevelVolumeBillingHistoryResponseModel.js +2 -2
  331. package/dist/model/ResourceLevelVolumeGraphBillingDetailsResponseModel.js +2 -2
  332. package/dist/model/ResourceObjectResponseForCustomer.js +2 -2
  333. package/dist/model/ResponseModel.js +2 -2
  334. package/dist/model/RolePermissionFields.js +2 -2
  335. package/dist/model/RolePolicyFields.js +2 -2
  336. package/dist/model/SecondaryColor.js +2 -2
  337. package/dist/model/SecurityGroupRule.js +2 -2
  338. package/dist/model/SecurityGroupRuleFields.js +2 -2
  339. package/dist/model/SecurityRulesFieldsForInstance.js +2 -2
  340. package/dist/model/SecurityRulesProtocolFields.js +2 -2
  341. package/dist/model/ServerlessInferencedBillingHistoryDetailsResponseSchema.js +2 -2
  342. package/dist/model/SnapshotFields.js +2 -2
  343. package/dist/model/SnapshotRestoreRequest.js +2 -2
  344. package/dist/model/SnapshotRetrieve.js +2 -2
  345. package/dist/model/SnapshotRetrieveFields.js +2 -2
  346. package/dist/model/Snapshots.js +2 -2
  347. package/dist/model/SubResourceGraphBillingDetailsMetrics.js +2 -2
  348. package/dist/model/SubResourcesCostsResponseModel.js +2 -2
  349. package/dist/model/SubResourcesGraphBillingHistoryFields.js +2 -2
  350. package/dist/model/SubResourcesGraphResponseModel.js +2 -2
  351. package/dist/model/SubscribeOrUnsubscribeUpdatePayload.js +2 -2
  352. package/dist/model/SupportedKeypairPublicKeyTypesResponse.js +2 -2
  353. package/dist/model/TokenBasedBillingHistoryResponse.js +2 -2
  354. package/dist/model/URIs.js +2 -2
  355. package/dist/model/UpdateAutoTopupPayload.js +2 -2
  356. package/dist/model/UpdateAutoTopupResponse.js +2 -2
  357. package/dist/model/UpdateClusterNodeGroupPayload.js +2 -2
  358. package/dist/model/UpdateConsentRequest.js +2 -2
  359. package/dist/model/UpdateEmailPreferenceInput.js +2 -2
  360. package/dist/model/UpdateEmailPreferenceResponse.js +2 -2
  361. package/dist/model/UpdateEnvironment.js +2 -2
  362. package/dist/model/UpdateKeypairName.js +2 -2
  363. package/dist/model/UpdateKeypairNameResponse.js +2 -2
  364. package/dist/model/UpdateOrganizationPayload.js +2 -2
  365. package/dist/model/UpdateOrganizationResponseModel.js +2 -2
  366. package/dist/model/UpdateVolumeAttachmentPayload.js +2 -2
  367. package/dist/model/UpdateVolumePayload.js +2 -2
  368. package/dist/model/UpdateVolumeResponse.js +2 -2
  369. package/dist/model/UserConsent.js +2 -2
  370. package/dist/model/UserConsentEvent.js +2 -2
  371. package/dist/model/UserConsentsResponse.js +2 -2
  372. package/dist/model/UserDefaultChoiceForUserFields.js +2 -2
  373. package/dist/model/UserDefaultChoicesForUserResponse.js +2 -2
  374. package/dist/model/UserEnhancedMetricsPayload.js +2 -2
  375. package/dist/model/UserEnhancedMetricsResponse.js +2 -2
  376. package/dist/model/UserEnhancedMetricsResponseFields.js +2 -2
  377. package/dist/model/UserInfoPostPayload.js +2 -2
  378. package/dist/model/UserOrganizationsResponse.js +2 -2
  379. package/dist/model/UserPermissionFields.js +2 -2
  380. package/dist/model/UsersInfoFields.js +2 -2
  381. package/dist/model/UsersInfoListResponse.js +2 -2
  382. package/dist/model/VMQuota.js +2 -2
  383. package/dist/model/VNCURL.js +2 -2
  384. package/dist/model/VNCURLFields.js +2 -2
  385. package/dist/model/Volume.js +2 -2
  386. package/dist/model/VolumeAttachmentFields.js +2 -2
  387. package/dist/model/VolumeFields.js +2 -2
  388. package/dist/model/VolumeFieldsForInstance.js +2 -2
  389. package/dist/model/VolumeOverviewFields.js +2 -2
  390. package/dist/model/VolumeTypes.js +2 -2
  391. package/dist/model/Volumes.js +2 -2
  392. package/dist/model/VolumesFields.js +2 -2
  393. package/dist/model/Voucher.js +2 -2
  394. package/dist/model/VoucherRedeemResponseSchema.js +2 -2
  395. package/dist/model/WorkloadBillingHistoryResponse.js +2 -2
  396. package/dist/model/ZendeskMessagingToken.js +110 -0
  397. package/package.json +1 -1
@@ -15,7 +15,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
15
15
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
16
16
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
17
17
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
- 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); } /**
18
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
19
19
  * Infrahub-API
20
20
  * Leverage the Infrahub API and Hyperstack platform to easily create, manage, and scale powerful GPU virtual machines and their associated resources. Access this SDK to automate the deployment of your workloads and streamline your infrastructure management. To contribute, please raise an issue with a bug report, feature request, feedback, or general inquiry.
21
21
  *
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The BillingMetricesResponse model module.
32
32
  * @module model/BillingMetricesResponse
33
- * @version v1.55.7-alpha
33
+ * @version v1.56.0-alpha
34
34
  */
35
35
  var BillingMetricesResponse = /*#__PURE__*/function () {
36
36
  /**
@@ -15,7 +15,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
15
15
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
16
16
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
17
17
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
- 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); } /**
18
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
19
19
  * Infrahub-API
20
20
  * Leverage the Infrahub API and Hyperstack platform to easily create, manage, and scale powerful GPU virtual machines and their associated resources. Access this SDK to automate the deployment of your workloads and streamline your infrastructure management. To contribute, please raise an issue with a bug report, feature request, feedback, or general inquiry.
21
21
  *
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The ClusterEvents model module.
32
32
  * @module model/ClusterEvents
33
- * @version v1.55.7-alpha
33
+ * @version v1.56.0-alpha
34
34
  */
35
35
  var ClusterEvents = /*#__PURE__*/function () {
36
36
  /**
@@ -11,7 +11,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
11
11
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
12
12
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
13
13
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
- 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); } /**
14
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
15
15
  * Infrahub-API
16
16
  * Leverage the Infrahub API and Hyperstack platform to easily create, manage, and scale powerful GPU virtual machines and their associated resources. Access this SDK to automate the deployment of your workloads and streamline your infrastructure management. To contribute, please raise an issue with a bug report, feature request, feedback, or general inquiry.
17
17
  *
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The ClusterEventsFields model module.
28
28
  * @module model/ClusterEventsFields
29
- * @version v1.55.7-alpha
29
+ * @version v1.56.0-alpha
30
30
  */
31
31
  var ClusterEventsFields = /*#__PURE__*/function () {
32
32
  /**
@@ -17,7 +17,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
17
17
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
18
18
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
19
19
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
20
- 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); } /**
20
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
21
21
  * Infrahub-API
22
22
  * Leverage the Infrahub API and Hyperstack platform to easily create, manage, and scale powerful GPU virtual machines and their associated resources. Access this SDK to automate the deployment of your workloads and streamline your infrastructure management. To contribute, please raise an issue with a bug report, feature request, feedback, or general inquiry.
23
23
  *
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
32
32
  /**
33
33
  * The ClusterFields model module.
34
34
  * @module model/ClusterFields
35
- * @version v1.55.7-alpha
35
+ * @version v1.56.0-alpha
36
36
  */
37
37
  var ClusterFields = /*#__PURE__*/function () {
38
38
  /**
@@ -74,6 +74,9 @@ var ClusterFields = /*#__PURE__*/function () {
74
74
  if (data.hasOwnProperty('environment_name')) {
75
75
  obj['environment_name'] = _ApiClient["default"].convertToType(data['environment_name'], 'String');
76
76
  }
77
+ if (data.hasOwnProperty('has_persistent_storage')) {
78
+ obj['has_persistent_storage'] = _ApiClient["default"].convertToType(data['has_persistent_storage'], 'Boolean');
79
+ }
77
80
  if (data.hasOwnProperty('id')) {
78
81
  obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
79
82
  }
@@ -217,6 +220,11 @@ ClusterFields.prototype['created_at'] = undefined;
217
220
  */
218
221
  ClusterFields.prototype['environment_name'] = undefined;
219
222
 
223
+ /**
224
+ * @member {Boolean} has_persistent_storage
225
+ */
226
+ ClusterFields.prototype['has_persistent_storage'] = undefined;
227
+
220
228
  /**
221
229
  * @member {Number} id
222
230
  */
@@ -15,7 +15,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
15
15
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
16
16
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
17
17
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
- 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); } /**
18
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
19
19
  * Infrahub-API
20
20
  * Leverage the Infrahub API and Hyperstack platform to easily create, manage, and scale powerful GPU virtual machines and their associated resources. Access this SDK to automate the deployment of your workloads and streamline your infrastructure management. To contribute, please raise an issue with a bug report, feature request, feedback, or general inquiry.
21
21
  *
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The ClusterFlavorFields model module.
32
32
  * @module model/ClusterFlavorFields
33
- * @version v1.55.7-alpha
33
+ * @version v1.56.0-alpha
34
34
  */
35
35
  var ClusterFlavorFields = /*#__PURE__*/function () {
36
36
  /**
@@ -15,7 +15,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
15
15
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
16
16
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
17
17
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
- 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); } /**
18
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
19
19
  * Infrahub-API
20
20
  * Leverage the Infrahub API and Hyperstack platform to easily create, manage, and scale powerful GPU virtual machines and their associated resources. Access this SDK to automate the deployment of your workloads and streamline your infrastructure management. To contribute, please raise an issue with a bug report, feature request, feedback, or general inquiry.
21
21
  *
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The ClusterListResponse model module.
32
32
  * @module model/ClusterListResponse
33
- * @version v1.55.7-alpha
33
+ * @version v1.56.0-alpha
34
34
  */
35
35
  var ClusterListResponse = /*#__PURE__*/function () {
36
36
  /**
@@ -12,7 +12,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
12
12
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
13
13
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
14
14
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
15
- 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); } /**
15
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
16
16
  * Infrahub-API
17
17
  * Leverage the Infrahub API and Hyperstack platform to easily create, manage, and scale powerful GPU virtual machines and their associated resources. Access this SDK to automate the deployment of your workloads and streamline your infrastructure management. To contribute, please raise an issue with a bug report, feature request, feedback, or general inquiry.
18
18
  *
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * The ClusterNodeFields model module.
29
29
  * @module model/ClusterNodeFields
30
- * @version v1.55.7-alpha
30
+ * @version v1.56.0-alpha
31
31
  */
32
32
  var ClusterNodeFields = /*#__PURE__*/function () {
33
33
  /**
@@ -16,7 +16,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
16
16
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
17
17
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
18
18
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
19
- 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); } /**
19
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
20
20
  * Infrahub-API
21
21
  * Leverage the Infrahub API and Hyperstack platform to easily create, manage, and scale powerful GPU virtual machines and their associated resources. Access this SDK to automate the deployment of your workloads and streamline your infrastructure management. To contribute, please raise an issue with a bug report, feature request, feedback, or general inquiry.
22
22
  *
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  /**
32
32
  * The ClusterNodeGroupFields model module.
33
33
  * @module model/ClusterNodeGroupFields
34
- * @version v1.55.7-alpha
34
+ * @version v1.56.0-alpha
35
35
  */
36
36
  var ClusterNodeGroupFields = /*#__PURE__*/function () {
37
37
  /**
@@ -11,7 +11,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
11
11
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
12
12
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
13
13
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
- 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); } /**
14
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
15
15
  * Infrahub-API
16
16
  * Leverage the Infrahub API and Hyperstack platform to easily create, manage, and scale powerful GPU virtual machines and their associated resources. Access this SDK to automate the deployment of your workloads and streamline your infrastructure management. To contribute, please raise an issue with a bug report, feature request, feedback, or general inquiry.
17
17
  *
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The ClusterNodeGroupFirewallFields model module.
28
28
  * @module model/ClusterNodeGroupFirewallFields
29
- * @version v1.55.7-alpha
29
+ * @version v1.56.0-alpha
30
30
  */
31
31
  var ClusterNodeGroupFirewallFields = /*#__PURE__*/function () {
32
32
  /**
@@ -16,7 +16,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
16
16
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
17
17
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
18
18
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
19
- 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); } /**
19
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
20
20
  * Infrahub-API
21
21
  * Leverage the Infrahub API and Hyperstack platform to easily create, manage, and scale powerful GPU virtual machines and their associated resources. Access this SDK to automate the deployment of your workloads and streamline your infrastructure management. To contribute, please raise an issue with a bug report, feature request, feedback, or general inquiry.
22
22
  *
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  /**
32
32
  * The ClusterNodeGroupsCreateResponse model module.
33
33
  * @module model/ClusterNodeGroupsCreateResponse
34
- * @version v1.55.7-alpha
34
+ * @version v1.56.0-alpha
35
35
  */
36
36
  var ClusterNodeGroupsCreateResponse = /*#__PURE__*/function () {
37
37
  /**
@@ -12,7 +12,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
12
12
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
13
13
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
14
14
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
15
- 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); } /**
15
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
16
16
  * Infrahub-API
17
17
  * Leverage the Infrahub API and Hyperstack platform to easily create, manage, and scale powerful GPU virtual machines and their associated resources. Access this SDK to automate the deployment of your workloads and streamline your infrastructure management. To contribute, please raise an issue with a bug report, feature request, feedback, or general inquiry.
18
18
  *
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * The ClusterNodeGroupsGetResponse model module.
29
29
  * @module model/ClusterNodeGroupsGetResponse
30
- * @version v1.55.7-alpha
30
+ * @version v1.56.0-alpha
31
31
  */
32
32
  var ClusterNodeGroupsGetResponse = /*#__PURE__*/function () {
33
33
  /**
@@ -15,7 +15,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
15
15
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
16
16
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
17
17
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
- 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); } /**
18
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
19
19
  * Infrahub-API
20
20
  * Leverage the Infrahub API and Hyperstack platform to easily create, manage, and scale powerful GPU virtual machines and their associated resources. Access this SDK to automate the deployment of your workloads and streamline your infrastructure management. To contribute, please raise an issue with a bug report, feature request, feedback, or general inquiry.
21
21
  *
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The ClusterNodeGroupsListResponse model module.
32
32
  * @module model/ClusterNodeGroupsListResponse
33
- * @version v1.55.7-alpha
33
+ * @version v1.56.0-alpha
34
34
  */
35
35
  var ClusterNodeGroupsListResponse = /*#__PURE__*/function () {
36
36
  /**
@@ -11,7 +11,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
11
11
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
12
12
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
13
13
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
- 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); } /**
14
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
15
15
  * Infrahub-API
16
16
  * Leverage the Infrahub API and Hyperstack platform to easily create, manage, and scale powerful GPU virtual machines and their associated resources. Access this SDK to automate the deployment of your workloads and streamline your infrastructure management. To contribute, please raise an issue with a bug report, feature request, feedback, or general inquiry.
17
17
  *
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The ClusterNodeInstanceFields model module.
28
28
  * @module model/ClusterNodeInstanceFields
29
- * @version v1.55.7-alpha
29
+ * @version v1.56.0-alpha
30
30
  */
31
31
  var ClusterNodeInstanceFields = /*#__PURE__*/function () {
32
32
  /**
@@ -15,7 +15,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
15
15
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
16
16
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
17
17
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
- 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); } /**
18
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
19
19
  * Infrahub-API
20
20
  * Leverage the Infrahub API and Hyperstack platform to easily create, manage, and scale powerful GPU virtual machines and their associated resources. Access this SDK to automate the deployment of your workloads and streamline your infrastructure management. To contribute, please raise an issue with a bug report, feature request, feedback, or general inquiry.
21
21
  *
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The ClusterNodesListResponse model module.
32
32
  * @module model/ClusterNodesListResponse
33
- * @version v1.55.7-alpha
33
+ * @version v1.56.0-alpha
34
34
  */
35
35
  var ClusterNodesListResponse = /*#__PURE__*/function () {
36
36
  /**
@@ -12,7 +12,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
12
12
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
13
13
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
14
14
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
15
- 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); } /**
15
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
16
16
  * Infrahub-API
17
17
  * Leverage the Infrahub API and Hyperstack platform to easily create, manage, and scale powerful GPU virtual machines and their associated resources. Access this SDK to automate the deployment of your workloads and streamline your infrastructure management. To contribute, please raise an issue with a bug report, feature request, feedback, or general inquiry.
18
18
  *
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * The ClusterResponse model module.
29
29
  * @module model/ClusterResponse
30
- * @version v1.55.7-alpha
30
+ * @version v1.56.0-alpha
31
31
  */
32
32
  var ClusterResponse = /*#__PURE__*/function () {
33
33
  /**
@@ -0,0 +1,97 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
+ 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); }
10
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
11
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
12
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
13
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
15
+ * Infrahub-API
16
+ * Leverage the Infrahub API and Hyperstack platform to easily create, manage, and scale powerful GPU virtual machines and their associated resources. Access this SDK to automate the deployment of your workloads and streamline your infrastructure management. To contribute, please raise an issue with a bug report, feature request, feedback, or general inquiry.
17
+ *
18
+ * The version of the OpenAPI document: 1.0
19
+ *
20
+ *
21
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
22
+ * https://openapi-generator.tech
23
+ * Do not edit the class manually.
24
+ *
25
+ */
26
+ /**
27
+ * The ClusterRestoreFailedNode model module.
28
+ * @module model/ClusterRestoreFailedNode
29
+ * @version v1.56.0-alpha
30
+ */
31
+ var ClusterRestoreFailedNode = /*#__PURE__*/function () {
32
+ /**
33
+ * Constructs a new <code>ClusterRestoreFailedNode</code>.
34
+ * @alias module:model/ClusterRestoreFailedNode
35
+ */
36
+ function ClusterRestoreFailedNode() {
37
+ _classCallCheck(this, ClusterRestoreFailedNode);
38
+ ClusterRestoreFailedNode.initialize(this);
39
+ }
40
+
41
+ /**
42
+ * Initializes the fields of this object.
43
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
44
+ * Only for internal use.
45
+ */
46
+ return _createClass(ClusterRestoreFailedNode, null, [{
47
+ key: "initialize",
48
+ value: function initialize(obj) {}
49
+
50
+ /**
51
+ * Constructs a <code>ClusterRestoreFailedNode</code> from a plain JavaScript object, optionally creating a new instance.
52
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
53
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
54
+ * @param {module:model/ClusterRestoreFailedNode} obj Optional instance to populate.
55
+ * @return {module:model/ClusterRestoreFailedNode} The populated <code>ClusterRestoreFailedNode</code> instance.
56
+ */
57
+ }, {
58
+ key: "constructFromObject",
59
+ value: function constructFromObject(data, obj) {
60
+ if (data) {
61
+ obj = obj || new ClusterRestoreFailedNode();
62
+ if (data.hasOwnProperty('error')) {
63
+ obj['error'] = _ApiClient["default"].convertToType(data['error'], 'String');
64
+ }
65
+ if (data.hasOwnProperty('id')) {
66
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
67
+ }
68
+ }
69
+ return obj;
70
+ }
71
+
72
+ /**
73
+ * Validates the JSON data with respect to <code>ClusterRestoreFailedNode</code>.
74
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
75
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>ClusterRestoreFailedNode</code>.
76
+ */
77
+ }, {
78
+ key: "validateJSON",
79
+ value: function validateJSON(data) {
80
+ // ensure the json data is a string
81
+ if (data['error'] && !(typeof data['error'] === 'string' || data['error'] instanceof String)) {
82
+ throw new Error("Expected the field `error` to be a primitive type in the JSON string but got " + data['error']);
83
+ }
84
+ return true;
85
+ }
86
+ }]);
87
+ }();
88
+ /**
89
+ * @member {String} error
90
+ */
91
+ ClusterRestoreFailedNode.prototype['error'] = undefined;
92
+
93
+ /**
94
+ * @member {Number} id
95
+ */
96
+ ClusterRestoreFailedNode.prototype['id'] = undefined;
97
+ var _default = exports["default"] = ClusterRestoreFailedNode;
@@ -0,0 +1,142 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ var _ClusterRestoreFailedNode = _interopRequireDefault(require("./ClusterRestoreFailedNode"));
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
+ 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); }
11
+ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
12
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
13
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
14
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
15
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
16
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
17
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
19
+ * Infrahub-API
20
+ * Leverage the Infrahub API and Hyperstack platform to easily create, manage, and scale powerful GPU virtual machines and their associated resources. Access this SDK to automate the deployment of your workloads and streamline your infrastructure management. To contribute, please raise an issue with a bug report, feature request, feedback, or general inquiry.
21
+ *
22
+ * The version of the OpenAPI document: 1.0
23
+ *
24
+ *
25
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
26
+ * https://openapi-generator.tech
27
+ * Do not edit the class manually.
28
+ *
29
+ */
30
+ /**
31
+ * The ClusterRestoreResponse model module.
32
+ * @module model/ClusterRestoreResponse
33
+ * @version v1.56.0-alpha
34
+ */
35
+ var ClusterRestoreResponse = /*#__PURE__*/function () {
36
+ /**
37
+ * Constructs a new <code>ClusterRestoreResponse</code>.
38
+ * @alias module:model/ClusterRestoreResponse
39
+ */
40
+ function ClusterRestoreResponse() {
41
+ _classCallCheck(this, ClusterRestoreResponse);
42
+ ClusterRestoreResponse.initialize(this);
43
+ }
44
+
45
+ /**
46
+ * Initializes the fields of this object.
47
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
48
+ * Only for internal use.
49
+ */
50
+ return _createClass(ClusterRestoreResponse, null, [{
51
+ key: "initialize",
52
+ value: function initialize(obj) {}
53
+
54
+ /**
55
+ * Constructs a <code>ClusterRestoreResponse</code> from a plain JavaScript object, optionally creating a new instance.
56
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
57
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
58
+ * @param {module:model/ClusterRestoreResponse} obj Optional instance to populate.
59
+ * @return {module:model/ClusterRestoreResponse} The populated <code>ClusterRestoreResponse</code> instance.
60
+ */
61
+ }, {
62
+ key: "constructFromObject",
63
+ value: function constructFromObject(data, obj) {
64
+ if (data) {
65
+ obj = obj || new ClusterRestoreResponse();
66
+ if (data.hasOwnProperty('failed_nodes')) {
67
+ obj['failed_nodes'] = _ApiClient["default"].convertToType(data['failed_nodes'], [_ClusterRestoreFailedNode["default"]]);
68
+ }
69
+ if (data.hasOwnProperty('message')) {
70
+ obj['message'] = _ApiClient["default"].convertToType(data['message'], 'String');
71
+ }
72
+ if (data.hasOwnProperty('restoring_nodes')) {
73
+ obj['restoring_nodes'] = _ApiClient["default"].convertToType(data['restoring_nodes'], ['Number']);
74
+ }
75
+ if (data.hasOwnProperty('status')) {
76
+ obj['status'] = _ApiClient["default"].convertToType(data['status'], 'Boolean');
77
+ }
78
+ }
79
+ return obj;
80
+ }
81
+
82
+ /**
83
+ * Validates the JSON data with respect to <code>ClusterRestoreResponse</code>.
84
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
85
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>ClusterRestoreResponse</code>.
86
+ */
87
+ }, {
88
+ key: "validateJSON",
89
+ value: function validateJSON(data) {
90
+ if (data['failed_nodes']) {
91
+ // data not null
92
+ // ensure the json data is an array
93
+ if (!Array.isArray(data['failed_nodes'])) {
94
+ throw new Error("Expected the field `failed_nodes` to be an array in the JSON data but got " + data['failed_nodes']);
95
+ }
96
+ // validate the optional field `failed_nodes` (array)
97
+ var _iterator = _createForOfIteratorHelper(data['failed_nodes']),
98
+ _step;
99
+ try {
100
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
101
+ var item = _step.value;
102
+ _ClusterRestoreFailedNode["default"].validateJSON(item);
103
+ }
104
+ } catch (err) {
105
+ _iterator.e(err);
106
+ } finally {
107
+ _iterator.f();
108
+ }
109
+ ;
110
+ }
111
+ // ensure the json data is a string
112
+ if (data['message'] && !(typeof data['message'] === 'string' || data['message'] instanceof String)) {
113
+ throw new Error("Expected the field `message` to be a primitive type in the JSON string but got " + data['message']);
114
+ }
115
+ // ensure the json data is an array
116
+ if (!Array.isArray(data['restoring_nodes'])) {
117
+ throw new Error("Expected the field `restoring_nodes` to be an array in the JSON data but got " + data['restoring_nodes']);
118
+ }
119
+ return true;
120
+ }
121
+ }]);
122
+ }();
123
+ /**
124
+ * @member {Array.<module:model/ClusterRestoreFailedNode>} failed_nodes
125
+ */
126
+ ClusterRestoreResponse.prototype['failed_nodes'] = undefined;
127
+
128
+ /**
129
+ * @member {String} message
130
+ */
131
+ ClusterRestoreResponse.prototype['message'] = undefined;
132
+
133
+ /**
134
+ * @member {Array.<Number>} restoring_nodes
135
+ */
136
+ ClusterRestoreResponse.prototype['restoring_nodes'] = undefined;
137
+
138
+ /**
139
+ * @member {Boolean} status
140
+ */
141
+ ClusterRestoreResponse.prototype['status'] = undefined;
142
+ var _default = exports["default"] = ClusterRestoreResponse;
@@ -11,7 +11,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
11
11
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
12
12
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
13
13
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
- 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); } /**
14
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
15
15
  * Infrahub-API
16
16
  * Leverage the Infrahub API and Hyperstack platform to easily create, manage, and scale powerful GPU virtual machines and their associated resources. Access this SDK to automate the deployment of your workloads and streamline your infrastructure management. To contribute, please raise an issue with a bug report, feature request, feedback, or general inquiry.
17
17
  *
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The ClusterVersion model module.
28
28
  * @module model/ClusterVersion
29
- * @version v1.55.7-alpha
29
+ * @version v1.56.0-alpha
30
30
  */
31
31
  var ClusterVersion = /*#__PURE__*/function () {
32
32
  /**
@@ -15,7 +15,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
15
15
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
16
16
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
17
17
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
- 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); } /**
18
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
19
19
  * Infrahub-API
20
20
  * Leverage the Infrahub API and Hyperstack platform to easily create, manage, and scale powerful GPU virtual machines and their associated resources. Access this SDK to automate the deployment of your workloads and streamline your infrastructure management. To contribute, please raise an issue with a bug report, feature request, feedback, or general inquiry.
21
21
  *
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The ClusterVersions model module.
32
32
  * @module model/ClusterVersions
33
- * @version v1.55.7-alpha
33
+ * @version v1.56.0-alpha
34
34
  */
35
35
  var ClusterVersions = /*#__PURE__*/function () {
36
36
  /**