@nexgencloud/hyperstack-sdk-javascript 1.52.0-alpha → 1.54.7-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 (401) hide show
  1. package/README.md +33 -1
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/api/AccessKeysApi.js +1 -1
  4. package/dist/api/AliveApi.js +1 -1
  5. package/dist/api/ApiKeyApi.js +1 -1
  6. package/dist/api/AssigningMemberRoleApi.js +1 -1
  7. package/dist/api/AuthApi.js +1 -1
  8. package/dist/api/AutoTopupApi.js +221 -0
  9. package/dist/api/BetaAccessApi.js +1 -1
  10. package/dist/api/BillingApi.js +154 -1
  11. package/dist/api/BucketsApi.js +1 -1
  12. package/dist/api/CalculateApi.js +1 -1
  13. package/dist/api/CallbacksApi.js +1 -1
  14. package/dist/api/ClusterEventsApi.js +1 -1
  15. package/dist/api/ClustersApi.js +1 -1
  16. package/dist/api/ComplianceApi.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 +1 -1
  20. package/dist/api/DeploymentApi.js +1 -1
  21. package/dist/api/EmailOptInOutApi.js +167 -0
  22. package/dist/api/EnvironmentApi.js +1 -1
  23. package/dist/api/FIPExclusionsApi.js +1 -1
  24. package/dist/api/FirewallAttachmentApi.js +1 -1
  25. package/dist/api/FirewallsApi.js +1 -1
  26. package/dist/api/FlavorApi.js +1 -1
  27. package/dist/api/FloatingIpApi.js +1 -1
  28. package/dist/api/GpuApi.js +1 -1
  29. package/dist/api/HealthApi.js +1 -1
  30. package/dist/api/ImageApi.js +1 -1
  31. package/dist/api/InviteApi.js +1 -1
  32. package/dist/api/KeypairApi.js +35 -1
  33. package/dist/api/OrganizationApi.js +1 -1
  34. package/dist/api/PartnerConfigApi.js +1 -1
  35. package/dist/api/PaymentApi.js +1 -1
  36. package/dist/api/PermissionApi.js +1 -1
  37. package/dist/api/PolicyApi.js +1 -1
  38. package/dist/api/PricebookApi.js +1 -1
  39. package/dist/api/ProfileApi.js +1 -1
  40. package/dist/api/RbacRoleApi.js +1 -1
  41. package/dist/api/RegionApi.js +1 -1
  42. package/dist/api/RegionsApi.js +1 -1
  43. package/dist/api/SecurityRulesApi.js +1 -1
  44. package/dist/api/SnapshotEventsApi.js +1 -1
  45. package/dist/api/SnapshotsApi.js +1 -1
  46. package/dist/api/StockApi.js +1 -1
  47. package/dist/api/TemplateApi.js +1 -1
  48. package/dist/api/UserApi.js +35 -1
  49. package/dist/api/UserConsentApi.js +1 -1
  50. package/dist/api/UserConsentEventsApi.js +1 -1
  51. package/dist/api/UserDetailChoiceApi.js +1 -1
  52. package/dist/api/UserPermissionApi.js +1 -1
  53. package/dist/api/VirtualMachineApi.js +1 -1
  54. package/dist/api/VirtualMachineEventsApi.js +1 -1
  55. package/dist/api/VncUrlApi.js +1 -1
  56. package/dist/api/VolumeApi.js +1 -1
  57. package/dist/api/VolumeAttachmentApi.js +1 -1
  58. package/dist/api/VouchersApi.js +1 -1
  59. package/dist/index.js +147 -0
  60. package/dist/model/AccessTokenField.js +1 -1
  61. package/dist/model/AddUserInfoSuccessResponseModel.js +1 -1
  62. package/dist/model/AllocatedGPUCountGraph.js +1 -1
  63. package/dist/model/AllowedCountriesResponse.js +97 -0
  64. package/dist/model/ApiKeyFields.js +1 -1
  65. package/dist/model/AssignRbacRolePayload.js +1 -1
  66. package/dist/model/AttachCallbackPayload.js +1 -1
  67. package/dist/model/AttachCallbackResponse.js +1 -1
  68. package/dist/model/AttachFirewallWithVM.js +1 -1
  69. package/dist/model/AttachFirewallsToVMPayload.js +1 -1
  70. package/dist/model/AttachVolumeFields.js +1 -1
  71. package/dist/model/AttachVolumes.js +1 -1
  72. package/dist/model/AttachVolumesPayload.js +1 -1
  73. package/dist/model/AttachmentsFieldsForVolume.js +1 -1
  74. package/dist/model/Attributes.js +1 -1
  75. package/dist/model/AuthGetTokenResponseModel.js +1 -1
  76. package/dist/model/AuthUserFields.js +1 -1
  77. package/dist/model/AuthUserInfoResponseModel.js +1 -1
  78. package/dist/model/AutoTopup.js +130 -0
  79. package/dist/model/AutoTopupErrorResponse.js +112 -0
  80. package/dist/model/AutoTopupStatusSchema.js +108 -0
  81. package/dist/model/BetaAccessRequestFields.js +1 -1
  82. package/dist/model/BetaAccessRequestPayload.js +1 -1
  83. package/dist/model/BetaAccessRequestResponseModel.js +1 -1
  84. package/dist/model/BetaAccessStatusItem.js +1 -1
  85. package/dist/model/BetaAccessStatusResponseModel.js +1 -1
  86. package/dist/model/BillingHistory.js +9 -3
  87. package/dist/model/BillingHistoryDataSynthesisDetails.js +1 -1
  88. package/dist/model/BillingHistoryFineTuning.js +1 -1
  89. package/dist/model/BillingHistoryImageGenerationDetails.js +143 -0
  90. package/dist/model/BillingHistoryModelEvalutationDetails.js +1 -1
  91. package/dist/model/BillingHistoryServerlessInference.js +1 -1
  92. package/dist/model/BillingHistoryServerlessInferenceDetails.js +1 -1
  93. package/dist/model/BillingMetricesFields.js +1 -1
  94. package/dist/model/BillingMetricesResponse.js +1 -1
  95. package/dist/model/ClusterEvents.js +1 -1
  96. package/dist/model/ClusterEventsFields.js +1 -1
  97. package/dist/model/ClusterFields.js +1 -1
  98. package/dist/model/ClusterFlavorFields.js +1 -1
  99. package/dist/model/ClusterListResponse.js +1 -1
  100. package/dist/model/ClusterNodeFields.js +1 -1
  101. package/dist/model/ClusterNodeGroupFields.js +1 -1
  102. package/dist/model/ClusterNodeGroupFirewallFields.js +1 -1
  103. package/dist/model/ClusterNodeGroupsCreateResponse.js +1 -1
  104. package/dist/model/ClusterNodeGroupsGetResponse.js +1 -1
  105. package/dist/model/ClusterNodeGroupsListResponse.js +1 -1
  106. package/dist/model/ClusterNodeInstanceFields.js +1 -1
  107. package/dist/model/ClusterNodesListResponse.js +1 -1
  108. package/dist/model/ClusterResponse.js +1 -1
  109. package/dist/model/ClusterVersion.js +1 -1
  110. package/dist/model/ClusterVersions.js +1 -1
  111. package/dist/model/Colors.js +1 -1
  112. package/dist/model/CommonResponseModel.js +1 -1
  113. package/dist/model/CompatibleFlavor.js +1 -1
  114. package/dist/model/ComplianceFields.js +1 -1
  115. package/dist/model/ComplianceModelFields.js +1 -1
  116. package/dist/model/CompliancePayload.js +1 -1
  117. package/dist/model/ComplianceResponse.js +1 -1
  118. package/dist/model/ConsentActionResponse.js +1 -1
  119. package/dist/model/ConsentBlock.js +1 -1
  120. package/dist/model/ConsentEventsResponse.js +1 -1
  121. package/dist/model/ConsentTemplate.js +1 -1
  122. package/dist/model/ConsentTemplatesResponse.js +1 -1
  123. package/dist/model/ContainerOverviewFields.js +1 -1
  124. package/dist/model/Contract.js +1 -1
  125. package/dist/model/ContractDiscountPlanFields.js +1 -1
  126. package/dist/model/ContractGPUAllocationGraphResponse.js +1 -1
  127. package/dist/model/ContractInstanceFields.js +1 -1
  128. package/dist/model/ContractInstancesResponse.js +1 -1
  129. package/dist/model/CreateAutoTopupPayload.js +120 -0
  130. package/dist/model/CreateAutoTopupResponse.js +113 -0
  131. package/dist/model/CreateClusterNodeFields.js +1 -1
  132. package/dist/model/CreateClusterNodeGroupPayload.js +1 -1
  133. package/dist/model/CreateClusterPayload.js +1 -1
  134. package/dist/model/CreateEnvironment.js +1 -1
  135. package/dist/model/CreateFirewallPayload.js +1 -1
  136. package/dist/model/CreateFirewallRulePayload.js +1 -1
  137. package/dist/model/CreateImage.js +1 -1
  138. package/dist/model/CreateImagePayload.js +1 -1
  139. package/dist/model/CreateInstancesPayload.js +1 -1
  140. package/dist/model/CreateInstancesResponse.js +1 -1
  141. package/dist/model/CreateProfilePayload.js +1 -1
  142. package/dist/model/CreateProfileResponse.js +1 -1
  143. package/dist/model/CreateSecurityRulePayload.js +1 -1
  144. package/dist/model/CreateSnapshotPayload.js +1 -1
  145. package/dist/model/CreateSnapshotResponse.js +1 -1
  146. package/dist/model/CreateUpdateComplianceResponse.js +1 -1
  147. package/dist/model/CreateUpdateRbacRolePayload.js +1 -1
  148. package/dist/model/CreateVolumePayload.js +1 -1
  149. package/dist/model/CustomerContractDetailResponseModel.js +1 -1
  150. package/dist/model/CustomerContractFields.js +1 -1
  151. package/dist/model/DashboardInfoResponse.js +1 -1
  152. package/dist/model/DataSynthesisBillingHistoryDetailsResponseSchema.js +1 -1
  153. package/dist/model/DeleteClusterNodesFields.js +1 -1
  154. package/dist/model/DeploymentFields.js +1 -1
  155. package/dist/model/DeploymentFieldsForStartDeployments.js +1 -1
  156. package/dist/model/Deployments.js +1 -1
  157. package/dist/model/DetachVolumes.js +1 -1
  158. package/dist/model/DetachVolumesPayload.js +1 -1
  159. package/dist/model/DisableAutoTopupResponse.js +113 -0
  160. package/dist/model/EditLabelOfAnExistingVMPayload.js +1 -1
  161. package/dist/model/EmailCategory.js +182 -0
  162. package/dist/model/EmailCategoryChild.js +157 -0
  163. package/dist/model/EmailPreferencesResponse.js +110 -0
  164. package/dist/model/Environment.js +1 -1
  165. package/dist/model/EnvironmentFeatures.js +1 -1
  166. package/dist/model/EnvironmentFields.js +1 -1
  167. package/dist/model/EnvironmentFieldsForVolume.js +1 -1
  168. package/dist/model/Environments.js +1 -1
  169. package/dist/model/ErrorResponseModel.js +1 -1
  170. package/dist/model/FirewallAttachmentModel.js +1 -1
  171. package/dist/model/FirewallAttachmentVMModel.js +1 -1
  172. package/dist/model/FirewallDetailFields.js +1 -1
  173. package/dist/model/FirewallDetailResponse.js +1 -1
  174. package/dist/model/FirewallEnvironmentFields.js +1 -1
  175. package/dist/model/FirewallFields.js +1 -1
  176. package/dist/model/FirewallResponse.js +1 -1
  177. package/dist/model/FirewallRule.js +1 -1
  178. package/dist/model/FirewallsListResponse.js +1 -1
  179. package/dist/model/FlavorFields.js +1 -1
  180. package/dist/model/FlavorItemGetResponse.js +1 -1
  181. package/dist/model/FlavorLabelFields.js +1 -1
  182. package/dist/model/FlavorListResponse.js +1 -1
  183. package/dist/model/FlavorObjectFields.js +1 -1
  184. package/dist/model/FlavorRestrictions.js +1 -1
  185. package/dist/model/GPUFields.js +1 -1
  186. package/dist/model/GPUList.js +1 -1
  187. package/dist/model/GPURegionFields.js +1 -1
  188. package/dist/model/GenerateUpdateApiKeyPayload.js +1 -1
  189. package/dist/model/GenerateUpdateApiKeyResponseModel.js +1 -1
  190. package/dist/model/GetApiKeysResponseModel.js +1 -1
  191. package/dist/model/GetAutoTopupResponse.js +113 -0
  192. package/dist/model/GetCreditAndThresholdInfo.js +1 -1
  193. package/dist/model/GetCreditAndThresholdInfoInResponse.js +1 -1
  194. package/dist/model/GetCustomerContractsListResponseModel.js +1 -1
  195. package/dist/model/GetInstanceLogsResponse.js +1 -1
  196. package/dist/model/GetInvitesResponseModel.js +1 -1
  197. package/dist/model/GetOrganizationResponseModel.js +1 -1
  198. package/dist/model/GetPermissionsResponseModel.js +1 -1
  199. package/dist/model/GetPoliciesResponseModel.js +1 -1
  200. package/dist/model/GetRbacRolesResponseModel.js +1 -1
  201. package/dist/model/GetUserPermissionsResponseModel.js +1 -1
  202. package/dist/model/GraphDatetimeValueModel.js +1 -1
  203. package/dist/model/Image.js +1 -1
  204. package/dist/model/ImageFields.js +1 -1
  205. package/dist/model/ImageGenerationBillingHistoryDetailsResponseSchema.js +113 -0
  206. package/dist/model/ImageGetResponse.js +1 -1
  207. package/dist/model/Images.js +1 -1
  208. package/dist/model/ImportKeypairPayload.js +1 -1
  209. package/dist/model/ImportKeypairResponse.js +1 -1
  210. package/dist/model/InfrahubResourceObjectResponseForCustomer.js +1 -1
  211. package/dist/model/Instance.js +1 -1
  212. package/dist/model/InstanceEnvironmentFields.js +1 -1
  213. package/dist/model/InstanceEvents.js +1 -1
  214. package/dist/model/InstanceEventsFields.js +1 -1
  215. package/dist/model/InstanceFields.js +1 -1
  216. package/dist/model/InstanceFlavorFields.js +1 -1
  217. package/dist/model/InstanceImageFields.js +1 -1
  218. package/dist/model/InstanceKeypairFields.js +1 -1
  219. package/dist/model/InstanceOverviewFields.js +1 -1
  220. package/dist/model/InstanceResizePayload.js +1 -1
  221. package/dist/model/Instances.js +1 -1
  222. package/dist/model/InviteFields.js +1 -1
  223. package/dist/model/InviteUserPayload.js +1 -1
  224. package/dist/model/InviteUserResponseModel.js +1 -1
  225. package/dist/model/KeypairEnvironmentFeatures.js +1 -1
  226. package/dist/model/KeypairEnvironmentFields.js +1 -1
  227. package/dist/model/KeypairFields.js +1 -1
  228. package/dist/model/Keypairs.js +1 -1
  229. package/dist/model/LableResonse.js +1 -1
  230. package/dist/model/LastDayCostFields.js +1 -1
  231. package/dist/model/LastDayCostResponse.js +1 -1
  232. package/dist/model/Logos.js +1 -1
  233. package/dist/model/MFAStatusFields.js +1 -1
  234. package/dist/model/MFAStatusResponse.js +1 -1
  235. package/dist/model/ManualReconciliationModel.js +1 -1
  236. package/dist/model/MasterFlavorsResponse.js +1 -1
  237. package/dist/model/MetricItemFields.js +1 -1
  238. package/dist/model/Metrics.js +149 -0
  239. package/dist/model/MetricsFields.js +1 -1
  240. package/dist/model/ModelEvaluationBillingHistoryDetailsResponseSchema.js +1 -1
  241. package/dist/model/NameAvailableModel.js +1 -1
  242. package/dist/model/NewConfigurationsResponse.js +1 -1
  243. package/dist/model/NewModelResponse.js +1 -1
  244. package/dist/model/NewStockResponse.js +1 -1
  245. package/dist/model/NewStockRetriveResponse.js +1 -1
  246. package/dist/model/ObjectStorageAccessKeyCreateRequest.js +1 -1
  247. package/dist/model/ObjectStorageAccessKeyCreateResponse.js +1 -1
  248. package/dist/model/ObjectStorageAccessKeyListResponse.js +1 -1
  249. package/dist/model/ObjectStorageAccessKeyResponse.js +1 -1
  250. package/dist/model/ObjectStorageBucketListResponse.js +1 -1
  251. package/dist/model/ObjectStorageBucketResponse.js +1 -1
  252. package/dist/model/ObjectStorageDeleteResponse.js +1 -1
  253. package/dist/model/ObjectStorageErrorResponse.js +1 -1
  254. package/dist/model/ObjectStorageHealthResponse.js +1 -1
  255. package/dist/model/ObjectStoragePaginationMeta.js +1 -1
  256. package/dist/model/ObjectStorageRegionListResponse.js +1 -1
  257. package/dist/model/ObjectStorageRegionResponse.js +1 -1
  258. package/dist/model/OrganizationFields.js +1 -1
  259. package/dist/model/OrganizationLevelBillingHistory.js +1 -1
  260. package/dist/model/OrganizationLevelBillingHistoryResources.js +1 -1
  261. package/dist/model/OrganizationLevelBillingHistoryResponseAttributes.js +1 -1
  262. package/dist/model/OrganizationLevelBillingHistoryResponseMetrics.js +1 -1
  263. package/dist/model/OrganizationLevelBillingHistoryResponseModel.js +1 -1
  264. package/dist/model/OrganizationThresholdFields.js +1 -1
  265. package/dist/model/OrganizationThresholdUpdateResponse.js +1 -1
  266. package/dist/model/OrganizationThresholdsResponse.js +1 -1
  267. package/dist/model/OrganizationUserResponseModel.js +1 -1
  268. package/dist/model/OverviewInfo.js +1 -1
  269. package/dist/model/Pagination.js +1 -1
  270. package/dist/model/PaginationData.js +1 -1
  271. package/dist/model/PartnerConfig.js +1 -1
  272. package/dist/model/PaymentDetailsFields.js +37 -1
  273. package/dist/model/PaymentDetailsResponse.js +24 -5
  274. package/dist/model/PaymentInitiateFields.js +1 -1
  275. package/dist/model/PaymentInitiatePayload.js +1 -1
  276. package/dist/model/PaymentInitiateResponse.js +1 -1
  277. package/dist/model/PermissionFields.js +1 -1
  278. package/dist/model/PolicyFields.js +1 -1
  279. package/dist/model/PolicyPermissionFields.js +1 -1
  280. package/dist/model/PricebookModel.js +1 -1
  281. package/dist/model/PricebookResourceObjectResponseForCustomer.js +1 -1
  282. package/dist/model/PrimaryColor.js +1 -1
  283. package/dist/model/ProfileFields.js +1 -1
  284. package/dist/model/ProfileListResponse.js +1 -1
  285. package/dist/model/ProfileObjectFields.js +1 -1
  286. package/dist/model/RbacRoleDetailResponseModel.js +1 -1
  287. package/dist/model/RbacRoleDetailResponseModelFixed.js +1 -1
  288. package/dist/model/RbacRoleField.js +1 -1
  289. package/dist/model/RbacRoleFields.js +1 -1
  290. package/dist/model/RecordConsentRequest.js +1 -1
  291. package/dist/model/RedeemVoucherPayload.js +1 -1
  292. package/dist/model/RegionFields.js +1 -1
  293. package/dist/model/Regions.js +1 -1
  294. package/dist/model/RemoveMemberFromOrganizationResponseModel.js +1 -1
  295. package/dist/model/RemoveMemberPayload.js +1 -1
  296. package/dist/model/RequestConsole.js +1 -1
  297. package/dist/model/RequestInstanceLogsPayload.js +1 -1
  298. package/dist/model/RequestInstanceLogsResponse.js +1 -1
  299. package/dist/model/ResourceBillingEventsHistoryMetrics.js +1 -1
  300. package/dist/model/ResourceBillingEventsHistoryResponse.js +1 -1
  301. package/dist/model/ResourceBillingResponseForCustomer.js +1 -1
  302. package/dist/model/ResourceLevelBillingBucketDetailsResources.js +1 -1
  303. package/dist/model/ResourceLevelBillingDetailsAttributes.js +1 -1
  304. package/dist/model/ResourceLevelBillingDetailsMetrics.js +1 -1
  305. package/dist/model/ResourceLevelBillingDetailsVM.js +1 -1
  306. package/dist/model/ResourceLevelBillingDetailsVolume.js +1 -1
  307. package/dist/model/ResourceLevelBillingDetailsVolumeAttributes.js +1 -1
  308. package/dist/model/ResourceLevelBillingDetailsVolumeMetrics.js +1 -1
  309. package/dist/model/ResourceLevelBillingHistory.js +1 -1
  310. package/dist/model/ResourceLevelBillingHistoryResources.js +1 -1
  311. package/dist/model/ResourceLevelBillingHistoryResourcesCluster.js +1 -1
  312. package/dist/model/ResourceLevelBillingHistoryResponseAttributes.js +1 -1
  313. package/dist/model/ResourceLevelBillingHistoryResponseMetrics.js +1 -1
  314. package/dist/model/ResourceLevelBillingVMDetailsResources.js +1 -1
  315. package/dist/model/ResourceLevelBillingVolumeDetailsResources.js +1 -1
  316. package/dist/model/ResourceLevelBucketBillingDetailsResponseModel.js +1 -1
  317. package/dist/model/ResourceLevelBucketBillingHistoryResponseModel.js +1 -1
  318. package/dist/model/ResourceLevelClusterBillingDetailsResponseModel.js +1 -1
  319. package/dist/model/ResourceLevelClusterBillingHistoryResponseModel.js +1 -1
  320. package/dist/model/ResourceLevelClusterGraphBillingDetailsResponseModel.js +1 -1
  321. package/dist/model/ResourceLevelGraphBillingDetailVolume.js +1 -1
  322. package/dist/model/ResourceLevelGraphBillingDetailsAttributes.js +1 -1
  323. package/dist/model/ResourceLevelGraphBillingDetailsBucket.js +1 -1
  324. package/dist/model/ResourceLevelGraphBillingDetailsMetrics.js +1 -1
  325. package/dist/model/ResourceLevelGraphBillingDetailsVM.js +1 -1
  326. package/dist/model/ResourceLevelGraphBillingVMDetailsResources.js +1 -1
  327. package/dist/model/ResourceLevelGraphBillingVolumeDetailsResources.js +1 -1
  328. package/dist/model/ResourceLevelVMBillingDetailsResponseModel.js +1 -1
  329. package/dist/model/ResourceLevelVmBillingHistoryResponseModel.js +1 -1
  330. package/dist/model/ResourceLevelVmGraphBillingDetailsResponseModel.js +1 -1
  331. package/dist/model/ResourceLevelVolumeBillingDetailsResponseModel.js +1 -1
  332. package/dist/model/ResourceLevelVolumeBillingHistoryResponseModel.js +1 -1
  333. package/dist/model/ResourceLevelVolumeGraphBillingDetailsResponseModel.js +1 -1
  334. package/dist/model/ResourceObjectResponseForCustomer.js +1 -1
  335. package/dist/model/ResponseModel.js +1 -1
  336. package/dist/model/RolePermissionFields.js +1 -1
  337. package/dist/model/RolePolicyFields.js +1 -1
  338. package/dist/model/SecondaryColor.js +1 -1
  339. package/dist/model/SecurityGroupRule.js +1 -1
  340. package/dist/model/SecurityGroupRuleFields.js +1 -1
  341. package/dist/model/SecurityRulesFieldsForInstance.js +1 -1
  342. package/dist/model/SecurityRulesProtocolFields.js +1 -1
  343. package/dist/model/ServerlessInferencedBillingHistoryDetailsResponseSchema.js +1 -1
  344. package/dist/model/SnapshotFields.js +1 -1
  345. package/dist/model/SnapshotRestoreRequest.js +1 -1
  346. package/dist/model/SnapshotRetrieve.js +1 -1
  347. package/dist/model/SnapshotRetrieveFields.js +1 -1
  348. package/dist/model/Snapshots.js +1 -1
  349. package/dist/model/StartDeployment.js +1 -1
  350. package/dist/model/StartDeploymentPayload.js +1 -1
  351. package/dist/model/SubResourceGraphBillingDetailsMetrics.js +1 -1
  352. package/dist/model/SubResourcesCostsResponseModel.js +1 -1
  353. package/dist/model/SubResourcesGraphBillingHistoryFields.js +1 -1
  354. package/dist/model/SubResourcesGraphResponseModel.js +1 -1
  355. package/dist/model/SubscribeOrUnsubscribeUpdatePayload.js +1 -1
  356. package/dist/model/SupportedKeypairPublicKeyTypesResponse.js +109 -0
  357. package/dist/model/Template.js +1 -1
  358. package/dist/model/TemplateFields.js +1 -1
  359. package/dist/model/Templates.js +1 -1
  360. package/dist/model/TokenBasedBillingHistoryResponse.js +1 -1
  361. package/dist/model/URIs.js +1 -1
  362. package/dist/model/UpdateAutoTopupPayload.js +120 -0
  363. package/dist/model/UpdateAutoTopupResponse.js +113 -0
  364. package/dist/model/UpdateClusterNodeGroupPayload.js +1 -1
  365. package/dist/model/UpdateConsentRequest.js +1 -1
  366. package/dist/model/UpdateEmailPreferenceInput.js +109 -0
  367. package/dist/model/UpdateEmailPreferenceResponse.js +89 -0
  368. package/dist/model/UpdateEnvironment.js +1 -1
  369. package/dist/model/UpdateKeypairName.js +1 -1
  370. package/dist/model/UpdateKeypairNameResponse.js +1 -1
  371. package/dist/model/UpdateOrganizationPayload.js +1 -1
  372. package/dist/model/UpdateOrganizationResponseModel.js +1 -1
  373. package/dist/model/UpdateTemplate.js +1 -1
  374. package/dist/model/UpdateVolumeAttachmentPayload.js +1 -1
  375. package/dist/model/UpdateVolumePayload.js +1 -1
  376. package/dist/model/UpdateVolumeResponse.js +1 -1
  377. package/dist/model/UserConsent.js +1 -1
  378. package/dist/model/UserConsentEvent.js +1 -1
  379. package/dist/model/UserConsentsResponse.js +1 -1
  380. package/dist/model/UserDefaultChoiceForUserFields.js +1 -1
  381. package/dist/model/UserDefaultChoicesForUserResponse.js +1 -1
  382. package/dist/model/UserInfoPostPayload.js +1 -1
  383. package/dist/model/UserOrganizationsResponse.js +1 -1
  384. package/dist/model/UserPermissionFields.js +1 -1
  385. package/dist/model/UsersInfoFields.js +1 -1
  386. package/dist/model/UsersInfoListResponse.js +1 -1
  387. package/dist/model/VMQuota.js +1 -1
  388. package/dist/model/VNCURL.js +1 -1
  389. package/dist/model/VNCURLFields.js +1 -1
  390. package/dist/model/Volume.js +1 -1
  391. package/dist/model/VolumeAttachmentFields.js +1 -1
  392. package/dist/model/VolumeFields.js +1 -1
  393. package/dist/model/VolumeFieldsForInstance.js +1 -1
  394. package/dist/model/VolumeOverviewFields.js +1 -1
  395. package/dist/model/VolumeTypes.js +1 -1
  396. package/dist/model/Volumes.js +1 -1
  397. package/dist/model/VolumesFields.js +1 -1
  398. package/dist/model/Voucher.js +1 -1
  399. package/dist/model/VoucherRedeemResponseSchema.js +1 -1
  400. package/dist/model/WorkloadBillingHistoryResponse.js +1 -1
  401. package/package.json +1 -1
package/README.md CHANGED
@@ -9,7 +9,7 @@ To contribute, please raise an issue with a bug report, feature request, feedbac
9
9
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
10
10
 
11
11
  - API version: 1.0
12
- - Package version: v1.52.0-alpha
12
+ - Package version: v1.54.7-alpha
13
13
  - Generator version: 7.10.0
14
14
  - Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
15
15
 
@@ -147,6 +147,11 @@ Class | Method | HTTP request | Description
147
147
  *HyperstackApi.AuthApi* | [**getUserMFAStatus**](docs/AuthApi.md#getUserMFAStatus) | **GET** /auth/me/mfa | Get MFA status for authenticated user
148
148
  *HyperstackApi.AuthApi* | [**getUserOrganizations**](docs/AuthApi.md#getUserOrganizations) | **GET** /auth/me/organizations | Get User Organizations
149
149
  *HyperstackApi.AuthApi* | [**retrieveAuthenticatedUserDetails**](docs/AuthApi.md#retrieveAuthenticatedUserDetails) | **GET** /auth/me | Retrieve Authenticated User Details
150
+ *HyperstackApi.AutoTopupApi* | [**createAutoTopUp**](docs/AutoTopupApi.md#createAutoTopUp) | **POST** /billing/auto-topup | Create an auto top up configuration and initiate Stripe setup
151
+ *HyperstackApi.AutoTopupApi* | [**disableAutoTopUp**](docs/AutoTopupApi.md#disableAutoTopUp) | **DELETE** /billing/auto-topup | Disable auto top up, preventing any future automatic charges
152
+ *HyperstackApi.AutoTopupApi* | [**getAutoTopUp**](docs/AutoTopupApi.md#getAutoTopUp) | **GET** /billing/auto-topup | Retrieve the current auto top up configuration and transaction history
153
+ *HyperstackApi.AutoTopupApi* | [**getAutoTopUpStatus**](docs/AutoTopupApi.md#getAutoTopUpStatus) | **GET** /billing/auto-topup/status | Get auto top-up status and configuration
154
+ *HyperstackApi.AutoTopupApi* | [**updateAutoTopUp**](docs/AutoTopupApi.md#updateAutoTopUp) | **PUT** /billing/auto-topup | Update an existing active auto top up configuration
150
155
  *HyperstackApi.BetaAccessApi* | [**createBetaAccessRequest**](docs/BetaAccessApi.md#createBetaAccessRequest) | **POST** /auth/beta-access/requests | Create a new beta access request
151
156
  *HyperstackApi.BetaAccessApi* | [**getBetaAccessRequests**](docs/BetaAccessApi.md#getBetaAccessRequests) | **GET** /auth/beta-access/requests/{program} | Check the status of beta access requests
152
157
  *HyperstackApi.BetaAccessApi* | [**getBetaAccessStatus**](docs/BetaAccessApi.md#getBetaAccessStatus) | **GET** /auth/beta-access/requests | Check the status of all beta access requests
@@ -159,6 +164,9 @@ Class | Method | HTTP request | Description
159
164
  *HyperstackApi.BillingApi* | [**getDataSynthesisHistoryForResource**](docs/BillingApi.md#getDataSynthesisHistoryForResource) | **GET** /billing/billing/history/data_synthesis/{resource_id} |
160
165
  *HyperstackApi.BillingApi* | [**getFineTuningBillingHistory**](docs/BillingApi.md#getFineTuningBillingHistory) | **GET** /billing/billing/history/fine_tuning | Retrieve Billing History of model evaluation for a specific Billing Cycle
161
166
  *HyperstackApi.BillingApi* | [**getFineTuningBillingHistoryGraph**](docs/BillingApi.md#getFineTuningBillingHistoryGraph) | **GET** /billing/billing/history/fine_tuning/{resource_id}/graph | Retrieve hourly cost datapoints of a Specific Fine Tuning for a specific billing cycle
167
+ *HyperstackApi.BillingApi* | [**getImageGenerationBillingHistory**](docs/BillingApi.md#getImageGenerationBillingHistory) | **GET** /billing/billing/history/image_generation | Retrieve Billing History of image generation for a specific Billing Cycle
168
+ *HyperstackApi.BillingApi* | [**getImageGenerationBillingHistoryGraph**](docs/BillingApi.md#getImageGenerationBillingHistoryGraph) | **GET** /billing/billing/history/image_generation/{resource_id}/graph | Retrieve hourly cost datapoints of a Specific Image Generation for a specific
169
+ *HyperstackApi.BillingApi* | [**getImageGenerationHistoryForResource**](docs/BillingApi.md#getImageGenerationHistoryForResource) | **GET** /billing/billing/history/image_generation/{resource_id} |
162
170
  *HyperstackApi.BillingApi* | [**getLastDayCost**](docs/BillingApi.md#getLastDayCost) | **GET** /billing/billing/last-day-cost | GET: Last Day Cost
163
171
  *HyperstackApi.BillingApi* | [**getModelEvaluationBillingHistory**](docs/BillingApi.md#getModelEvaluationBillingHistory) | **GET** /billing/billing/history/model_evaluation | Retrieve Billing History of model evaluation for a specific Billing Cycle
164
172
  *HyperstackApi.BillingApi* | [**getModelEvaluationBillingHistoryGraph**](docs/BillingApi.md#getModelEvaluationBillingHistoryGraph) | **GET** /billing/billing/history/model_evaluation/{resource_id}/graph | Retrieve hourly cost datapoints of a Specific Model Evaluation for a specific
@@ -228,6 +236,9 @@ Class | Method | HTTP request | Description
228
236
  *HyperstackApi.DeploymentApi* | [**getDeployment**](docs/DeploymentApi.md#getDeployment) | **GET** /core/marketplace/deployments/{id} | Details of Deployment by ID
229
237
  *HyperstackApi.DeploymentApi* | [**listDeployments**](docs/DeploymentApi.md#listDeployments) | **GET** /core/marketplace/deployments | List Deployments
230
238
  *HyperstackApi.DeploymentApi* | [**startDeployment**](docs/DeploymentApi.md#startDeployment) | **POST** /core/marketplace/deployments | Start Deployment
239
+ *HyperstackApi.EmailOptInOutApi* | [**getEmailPreferencesForAUser**](docs/EmailOptInOutApi.md#getEmailPreferencesForAUser) | **GET** /auth/email/opt-out | Get all email preferences for the authenticated user
240
+ *HyperstackApi.EmailOptInOutApi* | [**toggleAllOptionalEmailPreferencesForTheUser**](docs/EmailOptInOutApi.md#toggleAllOptionalEmailPreferencesForTheUser) | **PUT** /auth/email/opt-out | Toggle all optional email preferences for the authenticated user
241
+ *HyperstackApi.EmailOptInOutApi* | [**updateEmailPreferenceForACategoryBySlug**](docs/EmailOptInOutApi.md#updateEmailPreferenceForACategoryBySlug) | **PUT** /auth/email/opt-out/{slug} | Update email preference opted_in status for a category slug
231
242
  *HyperstackApi.EnvironmentApi* | [**createEnvironment**](docs/EnvironmentApi.md#createEnvironment) | **POST** /core/environments | Create environment
232
243
  *HyperstackApi.EnvironmentApi* | [**deleteEnvironment**](docs/EnvironmentApi.md#deleteEnvironment) | **DELETE** /core/environments/{id} | Delete environment
233
244
  *HyperstackApi.EnvironmentApi* | [**fetchEnvironmentNameAvailability**](docs/EnvironmentApi.md#fetchEnvironmentNameAvailability) | **GET** /core/environments/name-availability/{name} | Fetch environment name availability
@@ -259,6 +270,7 @@ Class | Method | HTTP request | Description
259
270
  *HyperstackApi.KeypairApi* | [**deleteKeyPair**](docs/KeypairApi.md#deleteKeyPair) | **DELETE** /core/keypair/{id} | Delete key pair
260
271
  *HyperstackApi.KeypairApi* | [**importKeyPair**](docs/KeypairApi.md#importKeyPair) | **POST** /core/keypairs | Import key pair
261
272
  *HyperstackApi.KeypairApi* | [**listKeyPairs**](docs/KeypairApi.md#listKeyPairs) | **GET** /core/keypairs | List key pairs
273
+ *HyperstackApi.KeypairApi* | [**listSupportedKeyPairTypes**](docs/KeypairApi.md#listSupportedKeyPairTypes) | **GET** /core/supported-keypairs | List supported key pair types
262
274
  *HyperstackApi.KeypairApi* | [**updateKeyPairName**](docs/KeypairApi.md#updateKeyPairName) | **PUT** /core/keypair/{id} | Update key pair name
263
275
  *HyperstackApi.OrganizationApi* | [**removeOrganizationMember**](docs/OrganizationApi.md#removeOrganizationMember) | **POST** /auth/organizations/remove-member | Remove Organization Member
264
276
  *HyperstackApi.OrganizationApi* | [**retrieveOrganizationInformation**](docs/OrganizationApi.md#retrieveOrganizationInformation) | **GET** /auth/organizations | Retrieve Organization Information
@@ -297,6 +309,7 @@ Class | Method | HTTP request | Description
297
309
  *HyperstackApi.TemplateApi* | [**listTemplates**](docs/TemplateApi.md#listTemplates) | **GET** /core/marketplace/templates | List templates
298
310
  *HyperstackApi.TemplateApi* | [**updateTemplate**](docs/TemplateApi.md#updateTemplate) | **PUT** /core/marketplace/templates/{id} | Update template
299
311
  *HyperstackApi.UserApi* | [**addUserBillingInfo**](docs/UserApi.md#addUserBillingInfo) | **POST** /billing/user/info | POST: Insert billing info
312
+ *HyperstackApi.UserApi* | [**getAllowedCountryCodes**](docs/UserApi.md#getAllowedCountryCodes) | **GET** /billing/user/countries | GET: Retrieve allowed country codes
300
313
  *HyperstackApi.UserApi* | [**getUserBillingInfo**](docs/UserApi.md#getUserBillingInfo) | **GET** /billing/user/info | GET: Retrieve billing info
301
314
  *HyperstackApi.UserApi* | [**updateUserBillingInfo**](docs/UserApi.md#updateUserBillingInfo) | **PUT** /billing/user/info | PUT: Update billing info
302
315
  *HyperstackApi.UserConsentApi* | [**addANewConsentForAUser**](docs/UserConsentApi.md#addANewConsentForAUser) | **POST** /auth/user-consent | Add a new User consent
@@ -349,6 +362,7 @@ Class | Method | HTTP request | Description
349
362
  - [HyperstackApi.AccessTokenField](docs/AccessTokenField.md)
350
363
  - [HyperstackApi.AddUserInfoSuccessResponseModel](docs/AddUserInfoSuccessResponseModel.md)
351
364
  - [HyperstackApi.AllocatedGPUCountGraph](docs/AllocatedGPUCountGraph.md)
365
+ - [HyperstackApi.AllowedCountriesResponse](docs/AllowedCountriesResponse.md)
352
366
  - [HyperstackApi.ApiKeyFields](docs/ApiKeyFields.md)
353
367
  - [HyperstackApi.AssignRbacRolePayload](docs/AssignRbacRolePayload.md)
354
368
  - [HyperstackApi.AttachCallbackPayload](docs/AttachCallbackPayload.md)
@@ -363,6 +377,9 @@ Class | Method | HTTP request | Description
363
377
  - [HyperstackApi.AuthGetTokenResponseModel](docs/AuthGetTokenResponseModel.md)
364
378
  - [HyperstackApi.AuthUserFields](docs/AuthUserFields.md)
365
379
  - [HyperstackApi.AuthUserInfoResponseModel](docs/AuthUserInfoResponseModel.md)
380
+ - [HyperstackApi.AutoTopup](docs/AutoTopup.md)
381
+ - [HyperstackApi.AutoTopupErrorResponse](docs/AutoTopupErrorResponse.md)
382
+ - [HyperstackApi.AutoTopupStatusSchema](docs/AutoTopupStatusSchema.md)
366
383
  - [HyperstackApi.BetaAccessRequestFields](docs/BetaAccessRequestFields.md)
367
384
  - [HyperstackApi.BetaAccessRequestPayload](docs/BetaAccessRequestPayload.md)
368
385
  - [HyperstackApi.BetaAccessRequestResponseModel](docs/BetaAccessRequestResponseModel.md)
@@ -371,6 +388,7 @@ Class | Method | HTTP request | Description
371
388
  - [HyperstackApi.BillingHistory](docs/BillingHistory.md)
372
389
  - [HyperstackApi.BillingHistoryDataSynthesisDetails](docs/BillingHistoryDataSynthesisDetails.md)
373
390
  - [HyperstackApi.BillingHistoryFineTuning](docs/BillingHistoryFineTuning.md)
391
+ - [HyperstackApi.BillingHistoryImageGenerationDetails](docs/BillingHistoryImageGenerationDetails.md)
374
392
  - [HyperstackApi.BillingHistoryModelEvalutationDetails](docs/BillingHistoryModelEvalutationDetails.md)
375
393
  - [HyperstackApi.BillingHistoryServerlessInference](docs/BillingHistoryServerlessInference.md)
376
394
  - [HyperstackApi.BillingHistoryServerlessInferenceDetails](docs/BillingHistoryServerlessInferenceDetails.md)
@@ -410,6 +428,8 @@ Class | Method | HTTP request | Description
410
428
  - [HyperstackApi.ContractGPUAllocationGraphResponse](docs/ContractGPUAllocationGraphResponse.md)
411
429
  - [HyperstackApi.ContractInstanceFields](docs/ContractInstanceFields.md)
412
430
  - [HyperstackApi.ContractInstancesResponse](docs/ContractInstancesResponse.md)
431
+ - [HyperstackApi.CreateAutoTopupPayload](docs/CreateAutoTopupPayload.md)
432
+ - [HyperstackApi.CreateAutoTopupResponse](docs/CreateAutoTopupResponse.md)
413
433
  - [HyperstackApi.CreateClusterNodeFields](docs/CreateClusterNodeFields.md)
414
434
  - [HyperstackApi.CreateClusterNodeGroupPayload](docs/CreateClusterNodeGroupPayload.md)
415
435
  - [HyperstackApi.CreateClusterPayload](docs/CreateClusterPayload.md)
@@ -438,7 +458,11 @@ Class | Method | HTTP request | Description
438
458
  - [HyperstackApi.Deployments](docs/Deployments.md)
439
459
  - [HyperstackApi.DetachVolumes](docs/DetachVolumes.md)
440
460
  - [HyperstackApi.DetachVolumesPayload](docs/DetachVolumesPayload.md)
461
+ - [HyperstackApi.DisableAutoTopupResponse](docs/DisableAutoTopupResponse.md)
441
462
  - [HyperstackApi.EditLabelOfAnExistingVMPayload](docs/EditLabelOfAnExistingVMPayload.md)
463
+ - [HyperstackApi.EmailCategory](docs/EmailCategory.md)
464
+ - [HyperstackApi.EmailCategoryChild](docs/EmailCategoryChild.md)
465
+ - [HyperstackApi.EmailPreferencesResponse](docs/EmailPreferencesResponse.md)
442
466
  - [HyperstackApi.Environment](docs/Environment.md)
443
467
  - [HyperstackApi.EnvironmentFeatures](docs/EnvironmentFeatures.md)
444
468
  - [HyperstackApi.EnvironmentFields](docs/EnvironmentFields.md)
@@ -466,6 +490,7 @@ Class | Method | HTTP request | Description
466
490
  - [HyperstackApi.GenerateUpdateApiKeyPayload](docs/GenerateUpdateApiKeyPayload.md)
467
491
  - [HyperstackApi.GenerateUpdateApiKeyResponseModel](docs/GenerateUpdateApiKeyResponseModel.md)
468
492
  - [HyperstackApi.GetApiKeysResponseModel](docs/GetApiKeysResponseModel.md)
493
+ - [HyperstackApi.GetAutoTopupResponse](docs/GetAutoTopupResponse.md)
469
494
  - [HyperstackApi.GetCreditAndThresholdInfo](docs/GetCreditAndThresholdInfo.md)
470
495
  - [HyperstackApi.GetCreditAndThresholdInfoInResponse](docs/GetCreditAndThresholdInfoInResponse.md)
471
496
  - [HyperstackApi.GetCustomerContractsListResponseModel](docs/GetCustomerContractsListResponseModel.md)
@@ -479,6 +504,7 @@ Class | Method | HTTP request | Description
479
504
  - [HyperstackApi.GraphDatetimeValueModel](docs/GraphDatetimeValueModel.md)
480
505
  - [HyperstackApi.Image](docs/Image.md)
481
506
  - [HyperstackApi.ImageFields](docs/ImageFields.md)
507
+ - [HyperstackApi.ImageGenerationBillingHistoryDetailsResponseSchema](docs/ImageGenerationBillingHistoryDetailsResponseSchema.md)
482
508
  - [HyperstackApi.ImageGetResponse](docs/ImageGetResponse.md)
483
509
  - [HyperstackApi.Images](docs/Images.md)
484
510
  - [HyperstackApi.ImportKeypairPayload](docs/ImportKeypairPayload.md)
@@ -511,6 +537,7 @@ Class | Method | HTTP request | Description
511
537
  - [HyperstackApi.ManualReconciliationModel](docs/ManualReconciliationModel.md)
512
538
  - [HyperstackApi.MasterFlavorsResponse](docs/MasterFlavorsResponse.md)
513
539
  - [HyperstackApi.MetricItemFields](docs/MetricItemFields.md)
540
+ - [HyperstackApi.Metrics](docs/Metrics.md)
514
541
  - [HyperstackApi.MetricsFields](docs/MetricsFields.md)
515
542
  - [HyperstackApi.ModelEvaluationBillingHistoryDetailsResponseSchema](docs/ModelEvaluationBillingHistoryDetailsResponseSchema.md)
516
543
  - [HyperstackApi.NameAvailableModel](docs/NameAvailableModel.md)
@@ -629,13 +656,18 @@ Class | Method | HTTP request | Description
629
656
  - [HyperstackApi.SubResourcesGraphBillingHistoryFields](docs/SubResourcesGraphBillingHistoryFields.md)
630
657
  - [HyperstackApi.SubResourcesGraphResponseModel](docs/SubResourcesGraphResponseModel.md)
631
658
  - [HyperstackApi.SubscribeOrUnsubscribeUpdatePayload](docs/SubscribeOrUnsubscribeUpdatePayload.md)
659
+ - [HyperstackApi.SupportedKeypairPublicKeyTypesResponse](docs/SupportedKeypairPublicKeyTypesResponse.md)
632
660
  - [HyperstackApi.Template](docs/Template.md)
633
661
  - [HyperstackApi.TemplateFields](docs/TemplateFields.md)
634
662
  - [HyperstackApi.Templates](docs/Templates.md)
635
663
  - [HyperstackApi.TokenBasedBillingHistoryResponse](docs/TokenBasedBillingHistoryResponse.md)
636
664
  - [HyperstackApi.URIs](docs/URIs.md)
665
+ - [HyperstackApi.UpdateAutoTopupPayload](docs/UpdateAutoTopupPayload.md)
666
+ - [HyperstackApi.UpdateAutoTopupResponse](docs/UpdateAutoTopupResponse.md)
637
667
  - [HyperstackApi.UpdateClusterNodeGroupPayload](docs/UpdateClusterNodeGroupPayload.md)
638
668
  - [HyperstackApi.UpdateConsentRequest](docs/UpdateConsentRequest.md)
669
+ - [HyperstackApi.UpdateEmailPreferenceInput](docs/UpdateEmailPreferenceInput.md)
670
+ - [HyperstackApi.UpdateEmailPreferenceResponse](docs/UpdateEmailPreferenceResponse.md)
639
671
  - [HyperstackApi.UpdateEnvironment](docs/UpdateEnvironment.md)
640
672
  - [HyperstackApi.UpdateKeypairName](docs/UpdateKeypairName.md)
641
673
  - [HyperstackApi.UpdateKeypairNameResponse](docs/UpdateKeypairNameResponse.md)
package/dist/ApiClient.js CHANGED
@@ -25,7 +25,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
25
25
  */
26
26
  /**
27
27
  * @module ApiClient
28
- * @version v1.52.0-alpha
28
+ * @version v1.54.7-alpha
29
29
  */
30
30
  /**
31
31
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
@@ -68,7 +68,7 @@ var ApiClient = /*#__PURE__*/function () {
68
68
  * @default {}
69
69
  */
70
70
  this.defaultHeaders = {
71
- 'User-Agent': 'OpenAPI-Generator/v1.52.0-alpha/Javascript'
71
+ 'User-Agent': 'OpenAPI-Generator/v1.54.7-alpha/Javascript'
72
72
  };
73
73
 
74
74
  /**
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  /**
32
32
  * AccessKeys service.
33
33
  * @module api/AccessKeysApi
34
- * @version v1.52.0-alpha
34
+ * @version v1.54.7-alpha
35
35
  */
36
36
  var AccessKeysApi = exports["default"] = /*#__PURE__*/function () {
37
37
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * Alive service.
28
28
  * @module api/AliveApi
29
- * @version v1.52.0-alpha
29
+ * @version v1.54.7-alpha
30
30
  */
31
31
  var AliveApi = exports["default"] = /*#__PURE__*/function () {
32
32
  /**
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
31
31
  /**
32
32
  * ApiKey service.
33
33
  * @module api/ApiKeyApi
34
- * @version v1.52.0-alpha
34
+ * @version v1.54.7-alpha
35
35
  */
36
36
  var ApiKeyApi = exports["default"] = /*#__PURE__*/function () {
37
37
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * AssigningMemberRole service.
32
32
  * @module api/AssigningMemberRoleApi
33
- * @version v1.52.0-alpha
33
+ * @version v1.54.7-alpha
34
34
  */
35
35
  var AssigningMemberRoleApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
32
32
  /**
33
33
  * Auth service.
34
34
  * @module api/AuthApi
35
- * @version v1.52.0-alpha
35
+ * @version v1.54.7-alpha
36
36
  */
37
37
  var AuthApi = exports["default"] = /*#__PURE__*/function () {
38
38
  /**
@@ -0,0 +1,221 @@
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 _AutoTopupErrorResponse = _interopRequireDefault(require("../model/AutoTopupErrorResponse"));
9
+ var _AutoTopupStatusSchema = _interopRequireDefault(require("../model/AutoTopupStatusSchema"));
10
+ var _CreateAutoTopupPayload = _interopRequireDefault(require("../model/CreateAutoTopupPayload"));
11
+ var _CreateAutoTopupResponse = _interopRequireDefault(require("../model/CreateAutoTopupResponse"));
12
+ var _DisableAutoTopupResponse = _interopRequireDefault(require("../model/DisableAutoTopupResponse"));
13
+ var _GetAutoTopupResponse = _interopRequireDefault(require("../model/GetAutoTopupResponse"));
14
+ var _UpdateAutoTopupPayload = _interopRequireDefault(require("../model/UpdateAutoTopupPayload"));
15
+ var _UpdateAutoTopupResponse = _interopRequireDefault(require("../model/UpdateAutoTopupResponse"));
16
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
17
+ 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); }
18
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
19
+ 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); } }
20
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
21
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
22
+ 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); } /**
23
+ * Infrahub-API
24
+ * 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.
25
+ *
26
+ * The version of the OpenAPI document: 1.0
27
+ *
28
+ *
29
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
30
+ * https://openapi-generator.tech
31
+ * Do not edit the class manually.
32
+ *
33
+ */
34
+ /**
35
+ * AutoTopup service.
36
+ * @module api/AutoTopupApi
37
+ * @version v1.54.7-alpha
38
+ */
39
+ var AutoTopupApi = exports["default"] = /*#__PURE__*/function () {
40
+ /**
41
+ * Constructs a new AutoTopupApi.
42
+ * @alias module:api/AutoTopupApi
43
+ * @class
44
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
45
+ * default to {@link module:ApiClient#instance} if unspecified.
46
+ */
47
+ function AutoTopupApi(apiClient) {
48
+ _classCallCheck(this, AutoTopupApi);
49
+ this.apiClient = apiClient || _ApiClient["default"].instance;
50
+ }
51
+
52
+ /**
53
+ * Create an auto top up configuration and initiate Stripe setup
54
+ * @param {module:model/CreateAutoTopupPayload} payload
55
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateAutoTopupResponse} and HTTP response
56
+ */
57
+ return _createClass(AutoTopupApi, [{
58
+ key: "createAutoTopUpWithHttpInfo",
59
+ value: function createAutoTopUpWithHttpInfo(payload) {
60
+ var postBody = payload;
61
+ // verify the required parameter 'payload' is set
62
+ if (payload === undefined || payload === null) {
63
+ throw new Error("Missing the required parameter 'payload' when calling createAutoTopUp");
64
+ }
65
+ var pathParams = {};
66
+ var queryParams = {};
67
+ var headerParams = {};
68
+ var formParams = {};
69
+ var authNames = ['apiKey'];
70
+ var contentTypes = ['application/json'];
71
+ var accepts = ['application/json'];
72
+ var returnType = _CreateAutoTopupResponse["default"];
73
+ return this.apiClient.callApi('/billing/auto-topup', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
74
+ }
75
+
76
+ /**
77
+ * Create an auto top up configuration and initiate Stripe setup
78
+ * @param {module:model/CreateAutoTopupPayload} payload
79
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CreateAutoTopupResponse}
80
+ */
81
+ }, {
82
+ key: "createAutoTopUp",
83
+ value: function createAutoTopUp(payload) {
84
+ return this.createAutoTopUpWithHttpInfo(payload).then(function (response_and_data) {
85
+ return response_and_data.data;
86
+ });
87
+ }
88
+
89
+ /**
90
+ * Disable auto top up, preventing any future automatic charges
91
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DisableAutoTopupResponse} and HTTP response
92
+ */
93
+ }, {
94
+ key: "disableAutoTopUpWithHttpInfo",
95
+ value: function disableAutoTopUpWithHttpInfo() {
96
+ var postBody = null;
97
+ var pathParams = {};
98
+ var queryParams = {};
99
+ var headerParams = {};
100
+ var formParams = {};
101
+ var authNames = ['apiKey'];
102
+ var contentTypes = [];
103
+ var accepts = ['application/json'];
104
+ var returnType = _DisableAutoTopupResponse["default"];
105
+ return this.apiClient.callApi('/billing/auto-topup', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
106
+ }
107
+
108
+ /**
109
+ * Disable auto top up, preventing any future automatic charges
110
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DisableAutoTopupResponse}
111
+ */
112
+ }, {
113
+ key: "disableAutoTopUp",
114
+ value: function disableAutoTopUp() {
115
+ return this.disableAutoTopUpWithHttpInfo().then(function (response_and_data) {
116
+ return response_and_data.data;
117
+ });
118
+ }
119
+
120
+ /**
121
+ * Retrieve the current auto top up configuration and transaction history
122
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetAutoTopupResponse} and HTTP response
123
+ */
124
+ }, {
125
+ key: "getAutoTopUpWithHttpInfo",
126
+ value: function getAutoTopUpWithHttpInfo() {
127
+ var postBody = null;
128
+ var pathParams = {};
129
+ var queryParams = {};
130
+ var headerParams = {};
131
+ var formParams = {};
132
+ var authNames = ['apiKey'];
133
+ var contentTypes = [];
134
+ var accepts = ['application/json'];
135
+ var returnType = _GetAutoTopupResponse["default"];
136
+ return this.apiClient.callApi('/billing/auto-topup', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
137
+ }
138
+
139
+ /**
140
+ * Retrieve the current auto top up configuration and transaction history
141
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetAutoTopupResponse}
142
+ */
143
+ }, {
144
+ key: "getAutoTopUp",
145
+ value: function getAutoTopUp() {
146
+ return this.getAutoTopUpWithHttpInfo().then(function (response_and_data) {
147
+ return response_and_data.data;
148
+ });
149
+ }
150
+
151
+ /**
152
+ * Get auto top-up status and configuration
153
+ * Retrieves the current auto top-up configuration and status for your organization. Returns the status (active, disabled, pending_setup, or null if never configured), along with the threshold and top-up amounts. For additional information, [**click here**](None/docs/api-reference/billing-resources/).
154
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AutoTopupStatusSchema} and HTTP response
155
+ */
156
+ }, {
157
+ key: "getAutoTopUpStatusWithHttpInfo",
158
+ value: function getAutoTopUpStatusWithHttpInfo() {
159
+ var postBody = null;
160
+ var pathParams = {};
161
+ var queryParams = {};
162
+ var headerParams = {};
163
+ var formParams = {};
164
+ var authNames = ['apiKey'];
165
+ var contentTypes = [];
166
+ var accepts = ['application/json'];
167
+ var returnType = _AutoTopupStatusSchema["default"];
168
+ return this.apiClient.callApi('/billing/auto-topup/status', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
169
+ }
170
+
171
+ /**
172
+ * Get auto top-up status and configuration
173
+ * Retrieves the current auto top-up configuration and status for your organization. Returns the status (active, disabled, pending_setup, or null if never configured), along with the threshold and top-up amounts. For additional information, [**click here**](None/docs/api-reference/billing-resources/).
174
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AutoTopupStatusSchema}
175
+ */
176
+ }, {
177
+ key: "getAutoTopUpStatus",
178
+ value: function getAutoTopUpStatus() {
179
+ return this.getAutoTopUpStatusWithHttpInfo().then(function (response_and_data) {
180
+ return response_and_data.data;
181
+ });
182
+ }
183
+
184
+ /**
185
+ * Update an existing active auto top up configuration
186
+ * @param {module:model/UpdateAutoTopupPayload} payload
187
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdateAutoTopupResponse} and HTTP response
188
+ */
189
+ }, {
190
+ key: "updateAutoTopUpWithHttpInfo",
191
+ value: function updateAutoTopUpWithHttpInfo(payload) {
192
+ var postBody = payload;
193
+ // verify the required parameter 'payload' is set
194
+ if (payload === undefined || payload === null) {
195
+ throw new Error("Missing the required parameter 'payload' when calling updateAutoTopUp");
196
+ }
197
+ var pathParams = {};
198
+ var queryParams = {};
199
+ var headerParams = {};
200
+ var formParams = {};
201
+ var authNames = ['apiKey'];
202
+ var contentTypes = ['application/json'];
203
+ var accepts = ['application/json'];
204
+ var returnType = _UpdateAutoTopupResponse["default"];
205
+ return this.apiClient.callApi('/billing/auto-topup', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
206
+ }
207
+
208
+ /**
209
+ * Update an existing active auto top up configuration
210
+ * @param {module:model/UpdateAutoTopupPayload} payload
211
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdateAutoTopupResponse}
212
+ */
213
+ }, {
214
+ key: "updateAutoTopUp",
215
+ value: function updateAutoTopUp(payload) {
216
+ return this.updateAutoTopUpWithHttpInfo(payload).then(function (response_and_data) {
217
+ return response_and_data.data;
218
+ });
219
+ }
220
+ }]);
221
+ }();
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * BetaAccess service.
32
32
  * @module api/BetaAccessApi
33
- * @version v1.52.0-alpha
33
+ * @version v1.54.7-alpha
34
34
  */
35
35
  var BetaAccessApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -8,6 +8,7 @@ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _BillingMetricesResponse = _interopRequireDefault(require("../model/BillingMetricesResponse"));
9
9
  var _DataSynthesisBillingHistoryDetailsResponseSchema = _interopRequireDefault(require("../model/DataSynthesisBillingHistoryDetailsResponseSchema"));
10
10
  var _ErrorResponseModel = _interopRequireDefault(require("../model/ErrorResponseModel"));
11
+ var _ImageGenerationBillingHistoryDetailsResponseSchema = _interopRequireDefault(require("../model/ImageGenerationBillingHistoryDetailsResponseSchema"));
11
12
  var _LastDayCostResponse = _interopRequireDefault(require("../model/LastDayCostResponse"));
12
13
  var _ModelEvaluationBillingHistoryDetailsResponseSchema = _interopRequireDefault(require("../model/ModelEvaluationBillingHistoryDetailsResponseSchema"));
13
14
  var _OrganizationLevelBillingHistoryResponseModel = _interopRequireDefault(require("../model/OrganizationLevelBillingHistoryResponseModel"));
@@ -53,7 +54,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
53
54
  /**
54
55
  * Billing service.
55
56
  * @module api/BillingApi
56
- * @version v1.52.0-alpha
57
+ * @version v1.54.7-alpha
57
58
  */
58
59
  var BillingApi = exports["default"] = /*#__PURE__*/function () {
59
60
  /**
@@ -527,6 +528,158 @@ var BillingApi = exports["default"] = /*#__PURE__*/function () {
527
528
  });
528
529
  }
529
530
 
531
+ /**
532
+ * Retrieve Billing History of image generation for a specific Billing Cycle
533
+ * User will receive billing history of image_generation for the specified billing cycle.
534
+ * @param {Object} opts Optional parameters
535
+ * @param {String} [startDate] Date should be formatted in YYYY-MM-DDTHH:MM:SS
536
+ * @param {String} [endDate] Date should be formatted in YYYY-MM-DDTHH:MM:SS
537
+ * @param {String} [search] Search by resource \"Name\" or \"ID\"
538
+ * @param {Number} [perPage] Number of items to return per page
539
+ * @param {Number} [page] Page number
540
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TokenBasedBillingHistoryResponse} and HTTP response
541
+ */
542
+ }, {
543
+ key: "getImageGenerationBillingHistoryWithHttpInfo",
544
+ value: function getImageGenerationBillingHistoryWithHttpInfo(opts) {
545
+ opts = opts || {};
546
+ var postBody = null;
547
+ var pathParams = {};
548
+ var queryParams = {
549
+ 'start_date': opts['startDate'],
550
+ 'end_date': opts['endDate'],
551
+ 'search': opts['search'],
552
+ 'per_page': opts['perPage'],
553
+ 'page': opts['page']
554
+ };
555
+ var headerParams = {};
556
+ var formParams = {};
557
+ var authNames = ['apiKey'];
558
+ var contentTypes = [];
559
+ var accepts = ['application/json'];
560
+ var returnType = _TokenBasedBillingHistoryResponse["default"];
561
+ return this.apiClient.callApi('/billing/billing/history/image_generation', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
562
+ }
563
+
564
+ /**
565
+ * Retrieve Billing History of image generation for a specific Billing Cycle
566
+ * User will receive billing history of image_generation for the specified billing cycle.
567
+ * @param {Object} opts Optional parameters
568
+ * @param {String} opts.startDate Date should be formatted in YYYY-MM-DDTHH:MM:SS
569
+ * @param {String} opts.endDate Date should be formatted in YYYY-MM-DDTHH:MM:SS
570
+ * @param {String} opts.search Search by resource \"Name\" or \"ID\"
571
+ * @param {Number} opts.perPage Number of items to return per page
572
+ * @param {Number} opts.page Page number
573
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TokenBasedBillingHistoryResponse}
574
+ */
575
+ }, {
576
+ key: "getImageGenerationBillingHistory",
577
+ value: function getImageGenerationBillingHistory(opts) {
578
+ return this.getImageGenerationBillingHistoryWithHttpInfo(opts).then(function (response_and_data) {
579
+ return response_and_data.data;
580
+ });
581
+ }
582
+
583
+ /**
584
+ * Retrieve hourly cost datapoints of a Specific Image Generation for a specific
585
+ * User will receive hourly cost datapoints for an image generation job for a specified billing cycle. This data will include 'incurred_bill' graph datapoints. billing cycle
586
+ * @param {Number} resourceId
587
+ * @param {Object} opts Optional parameters
588
+ * @param {String} [startDate] Date should be formatted in YYYY-MM-DDTHH:MM:SS
589
+ * @param {String} [endDate] Date should be formatted in YYYY-MM-DDTHH:MM:SS
590
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ImageGenerationBillingHistoryDetailsResponseSchema} and HTTP response
591
+ */
592
+ }, {
593
+ key: "getImageGenerationBillingHistoryGraphWithHttpInfo",
594
+ value: function getImageGenerationBillingHistoryGraphWithHttpInfo(resourceId, opts) {
595
+ opts = opts || {};
596
+ var postBody = null;
597
+ // verify the required parameter 'resourceId' is set
598
+ if (resourceId === undefined || resourceId === null) {
599
+ throw new Error("Missing the required parameter 'resourceId' when calling getImageGenerationBillingHistoryGraph");
600
+ }
601
+ var pathParams = {
602
+ 'resource_id': resourceId
603
+ };
604
+ var queryParams = {
605
+ 'start_date': opts['startDate'],
606
+ 'end_date': opts['endDate']
607
+ };
608
+ var headerParams = {};
609
+ var formParams = {};
610
+ var authNames = ['apiKey'];
611
+ var contentTypes = [];
612
+ var accepts = ['application/json'];
613
+ var returnType = _ImageGenerationBillingHistoryDetailsResponseSchema["default"];
614
+ return this.apiClient.callApi('/billing/billing/history/image_generation/{resource_id}/graph', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
615
+ }
616
+
617
+ /**
618
+ * Retrieve hourly cost datapoints of a Specific Image Generation for a specific
619
+ * User will receive hourly cost datapoints for an image generation job for a specified billing cycle. This data will include 'incurred_bill' graph datapoints. billing cycle
620
+ * @param {Number} resourceId
621
+ * @param {Object} opts Optional parameters
622
+ * @param {String} opts.startDate Date should be formatted in YYYY-MM-DDTHH:MM:SS
623
+ * @param {String} opts.endDate Date should be formatted in YYYY-MM-DDTHH:MM:SS
624
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ImageGenerationBillingHistoryDetailsResponseSchema}
625
+ */
626
+ }, {
627
+ key: "getImageGenerationBillingHistoryGraph",
628
+ value: function getImageGenerationBillingHistoryGraph(resourceId, opts) {
629
+ return this.getImageGenerationBillingHistoryGraphWithHttpInfo(resourceId, opts).then(function (response_and_data) {
630
+ return response_and_data.data;
631
+ });
632
+ }
633
+
634
+ /**
635
+ * Retrieve billing history for a specific Image Generation resource. Includes: 'resource_name', 'infrahub_id', 'base_model', 'base_model_display_name', 'lora_adapter', 'incurred_bill', 'non_discounted_bill', 'usage_time', 'input_tokens', 'output_tokens', 'input_tokens_incurred_bill', 'input_tokens_non_discounted_bill', 'output_tokens_incurred_bill', 'output_tokens_non_discounted_bill'
636
+ * @param {Number} resourceId
637
+ * @param {Object} opts Optional parameters
638
+ * @param {String} [startDate] YYYY-MM-DDTHH:MM:SS
639
+ * @param {String} [endDate] YYYY-MM-DDTHH:MM:SS
640
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ImageGenerationBillingHistoryDetailsResponseSchema} and HTTP response
641
+ */
642
+ }, {
643
+ key: "getImageGenerationHistoryForResourceWithHttpInfo",
644
+ value: function getImageGenerationHistoryForResourceWithHttpInfo(resourceId, opts) {
645
+ opts = opts || {};
646
+ var postBody = null;
647
+ // verify the required parameter 'resourceId' is set
648
+ if (resourceId === undefined || resourceId === null) {
649
+ throw new Error("Missing the required parameter 'resourceId' when calling getImageGenerationHistoryForResource");
650
+ }
651
+ var pathParams = {
652
+ 'resource_id': resourceId
653
+ };
654
+ var queryParams = {
655
+ 'start_date': opts['startDate'],
656
+ 'end_date': opts['endDate']
657
+ };
658
+ var headerParams = {};
659
+ var formParams = {};
660
+ var authNames = ['apiKey'];
661
+ var contentTypes = [];
662
+ var accepts = ['application/json'];
663
+ var returnType = _ImageGenerationBillingHistoryDetailsResponseSchema["default"];
664
+ return this.apiClient.callApi('/billing/billing/history/image_generation/{resource_id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
665
+ }
666
+
667
+ /**
668
+ * Retrieve billing history for a specific Image Generation resource. Includes: 'resource_name', 'infrahub_id', 'base_model', 'base_model_display_name', 'lora_adapter', 'incurred_bill', 'non_discounted_bill', 'usage_time', 'input_tokens', 'output_tokens', 'input_tokens_incurred_bill', 'input_tokens_non_discounted_bill', 'output_tokens_incurred_bill', 'output_tokens_non_discounted_bill'
669
+ * @param {Number} resourceId
670
+ * @param {Object} opts Optional parameters
671
+ * @param {String} opts.startDate YYYY-MM-DDTHH:MM:SS
672
+ * @param {String} opts.endDate YYYY-MM-DDTHH:MM:SS
673
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ImageGenerationBillingHistoryDetailsResponseSchema}
674
+ */
675
+ }, {
676
+ key: "getImageGenerationHistoryForResource",
677
+ value: function getImageGenerationHistoryForResource(resourceId, opts) {
678
+ return this.getImageGenerationHistoryForResourceWithHttpInfo(resourceId, opts).then(function (response_and_data) {
679
+ return response_and_data.data;
680
+ });
681
+ }
682
+
530
683
  /**
531
684
  * GET: Last Day Cost
532
685
  * Retrieve the previous day's costs for instances, volumes, and clusters. Returns a breakdown of the costs and the total cost for the last day. For additional information on Retrieve Previous Day Usage Costs, [**click here**](None/docs/api-reference/billing-resources/last-day-usage/)
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * Buckets service.
32
32
  * @module api/BucketsApi
33
- * @version v1.52.0-alpha
33
+ * @version v1.54.7-alpha
34
34
  */
35
35
  var BucketsApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
28
28
  /**
29
29
  * Calculate service.
30
30
  * @module api/CalculateApi
31
- * @version v1.52.0-alpha
31
+ * @version v1.54.7-alpha
32
32
  */
33
33
  var CalculateApi = exports["default"] = /*#__PURE__*/function () {
34
34
  /**