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