spartera_api_sdk 1.0.74 → 1.0.78

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 (572) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/Gemfile +9 -0
  4. data/README.md +333 -324
  5. data/Rakefile +10 -0
  6. data/docs/APIKeysApi.md +261 -87
  7. data/docs/Alerts.md +30 -0
  8. data/docs/AlertsApi.md +139 -139
  9. data/docs/AlertsInput.md +24 -0
  10. data/docs/AlertsUpdate.md +24 -0
  11. data/docs/ApiKeys.md +40 -0
  12. data/docs/ApiKeysInput.md +34 -0
  13. data/docs/ApiKeysUpdate.md +34 -0
  14. data/docs/AssetPriceHistory.md +30 -0
  15. data/docs/AssetPriceHistoryApi.md +162 -154
  16. data/docs/AssetPriceHistoryInput.md +24 -0
  17. data/docs/AssetPriceHistoryUpdate.md +24 -0
  18. data/docs/AssetUsecases.md +28 -0
  19. data/docs/AssetUsecasesApi.md +157 -0
  20. data/docs/Assets.md +138 -0
  21. data/docs/AssetsApi.md +534 -206
  22. data/docs/AssetsInput.md +124 -0
  23. data/docs/AssetsUpdate.md +124 -0
  24. data/docs/CloudProviders.md +28 -0
  25. data/docs/CloudProvidersApi.md +44 -31
  26. data/docs/CloudProvidersInput.md +22 -0
  27. data/docs/CloudProvidersUpdate.md +22 -0
  28. data/docs/Companies.md +46 -0
  29. data/docs/CompaniesApi.md +312 -144
  30. data/docs/CompaniesInput.md +40 -0
  31. data/docs/CompaniesUpdate.md +40 -0
  32. data/docs/Connections.md +38 -0
  33. data/docs/ConnectionsApi.md +149 -125
  34. data/docs/ConnectionsInput.md +32 -0
  35. data/docs/ConnectionsUpdate.md +32 -0
  36. data/docs/{CompaniesCompanyIdAssetsAssetIdGet200Response.md → CreateAlerts200Response.md} +3 -3
  37. data/docs/{CompaniesCompanyIdUsersUserIdAlertsPost200ResponseData.md → CreateAlerts200ResponseData.md} +2 -2
  38. data/docs/CreateApiKeys200Response.md +20 -0
  39. data/docs/CreateApiKeys200ResponseData.md +18 -0
  40. data/docs/{CompaniesCompanyIdConnectionsConnectionIdGet200Response.md → CreateAssetPriceHistory200Response.md} +3 -3
  41. data/docs/CreateAssetPriceHistory200ResponseData.md +18 -0
  42. data/docs/CreateAssetsAnalyze200Response.md +20 -0
  43. data/docs/{CompaniesCompanyIdAssetsPost200ResponseData.md → CreateAssetsAnalyze200ResponseData.md} +2 -2
  44. data/docs/CreateConnections200Response.md +20 -0
  45. data/docs/{CompaniesCompanyIdConnectionsPost200ResponseData.md → CreateConnections200ResponseData.md} +2 -2
  46. data/docs/CreateEndpoints200Response.md +20 -0
  47. data/docs/CreateEndpoints200ResponseData.md +18 -0
  48. data/docs/CreateFavorites200Response.md +20 -0
  49. data/docs/{CompaniesCompanyIdUsersUserIdFavoritesPost200ResponseData.md → CreateFavorites200ResponseData.md} +2 -2
  50. data/docs/CreatePostgenIntegrations200Response.md +20 -0
  51. data/docs/CreatePostgenIntegrations200ResponseData.md +18 -0
  52. data/docs/{CompaniesCompanyIdAssetsGet200Response.md → CreatePosts200Response.md} +3 -3
  53. data/docs/CreatePosts200ResponseData.md +18 -0
  54. data/docs/CreateUsers200Response.md +20 -0
  55. data/docs/{CompaniesCompanyIdUsersPost200ResponseData.md → CreateUsers200ResponseData.md} +2 -2
  56. data/docs/DeleteAlerts200Response.md +20 -0
  57. data/docs/{CompaniesCompanyIdUsersUserIdAlertsAlertIdDelete200ResponseData.md → DeleteAlerts200ResponseData.md} +2 -2
  58. data/docs/DeleteApiKeys200Response.md +20 -0
  59. data/docs/DeleteApiKeys200ResponseData.md +18 -0
  60. data/docs/DeleteAssetPriceHistory200Response.md +20 -0
  61. data/docs/DeleteAssetPriceHistory200ResponseData.md +18 -0
  62. data/docs/DeleteAssets200Response.md +20 -0
  63. data/docs/{CompaniesCompanyIdAssetsAssetIdDelete200ResponseData.md → DeleteAssets200ResponseData.md} +2 -2
  64. data/docs/DeleteConnections200Response.md +20 -0
  65. data/docs/{CompaniesCompanyIdConnectionsConnectionIdDelete200ResponseData.md → DeleteConnections200ResponseData.md} +2 -2
  66. data/docs/DeleteEndpoints200Response.md +20 -0
  67. data/docs/DeleteEndpoints200ResponseData.md +18 -0
  68. data/docs/DeleteFavorites200Response.md +20 -0
  69. data/docs/{CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdDelete200ResponseData.md → DeleteFavorites200ResponseData.md} +2 -2
  70. data/docs/DeletePostgenIntegrations200Response.md +20 -0
  71. data/docs/DeletePostgenIntegrations200ResponseData.md +18 -0
  72. data/docs/DeletePosts200Response.md +20 -0
  73. data/docs/DeletePosts200ResponseData.md +18 -0
  74. data/docs/DeleteUsers200Response.md +20 -0
  75. data/docs/{CompaniesCompanyIdUsersUserIdDelete200ResponseData.md → DeleteUsers200ResponseData.md} +2 -2
  76. data/docs/Endpoints.md +80 -0
  77. data/docs/EndpointsApi.md +1043 -0
  78. data/docs/EndpointsInput.md +78 -0
  79. data/docs/EndpointsUpdate.md +78 -0
  80. data/docs/Favorites.md +34 -0
  81. data/docs/FavoritesApi.md +159 -159
  82. data/docs/FavoritesInput.md +28 -0
  83. data/docs/FavoritesUpdate.md +28 -0
  84. data/docs/{CompaniesCompanyIdUsersUserIdGet200Response.md → GetAlertsById200Response.md} +3 -3
  85. data/docs/{CompaniesCompanyIdUsersGet200Response.md → GetApiKeysById200Response.md} +3 -3
  86. data/docs/GetAssetPriceHistoryById200Response.md +20 -0
  87. data/docs/GetAssetUsecasesById200Response.md +20 -0
  88. data/docs/GetAssetsByIdAnalyze200Response.md +20 -0
  89. data/docs/GetCloudProvidersById200Response.md +20 -0
  90. data/docs/GetCompaniesById200Response.md +20 -0
  91. data/docs/GetConnectionsById200Response.md +20 -0
  92. data/docs/GetEndpointsByIdConnectionsDescribe200Response.md +20 -0
  93. data/docs/GetFavoritesById200Response.md +20 -0
  94. data/docs/GetIndustriesById200Response.md +20 -0
  95. data/docs/GetJobFunctionsById200Response.md +20 -0
  96. data/docs/GetPostgenIntegrationsById200Response.md +20 -0
  97. data/docs/GetPostsById200Response.md +20 -0
  98. data/docs/GetStorageEnginesById200Response.md +20 -0
  99. data/docs/GetUsersById200Response.md +20 -0
  100. data/docs/Industries.md +32 -0
  101. data/docs/IndustriesApi.md +237 -0
  102. data/docs/InlineObject4.md +20 -0
  103. data/docs/InlineObject5.md +20 -0
  104. data/docs/InlineObject6.md +22 -0
  105. data/docs/InlineObject7.md +20 -0
  106. data/docs/JobFunctions.md +24 -0
  107. data/docs/JobFunctionsApi.md +157 -0
  108. data/docs/JobFunctionsInput.md +18 -0
  109. data/docs/JobFunctionsUpdate.md +18 -0
  110. data/docs/ListApiKeys200Response.md +20 -0
  111. data/docs/ListAssetUsecases200Response.md +20 -0
  112. data/docs/ListAssets200Response.md +20 -0
  113. data/docs/ListCloudProviders200Response.md +20 -0
  114. data/docs/{CompaniesCompanyIdApiKeysGet200Response.md → ListCompaniesAnalyticsAssets200Response.md} +3 -3
  115. data/docs/ListConnections200Response.md +20 -0
  116. data/docs/ListEndpoints200Response.md +20 -0
  117. data/docs/ListIndustries200Response.md +20 -0
  118. data/docs/ListJobFunctions200Response.md +20 -0
  119. data/docs/{CompaniesCompanyIdConnectionsGet200Response.md → ListPostgenIntegrations200Response.md} +3 -3
  120. data/docs/ListPosts200Response.md +20 -0
  121. data/docs/ListStorageEngines200Response.md +20 -0
  122. data/docs/ListUsers200Response.md +20 -0
  123. data/docs/PostPublications.md +40 -0
  124. data/docs/PostPublicationsInput.md +34 -0
  125. data/docs/PostPublicationsUpdate.md +34 -0
  126. data/docs/PostgenIntegrations.md +36 -0
  127. data/docs/PostgenIntegrationsApi.md +463 -0
  128. data/docs/PostgenIntegrationsInput.md +30 -0
  129. data/docs/PostgenIntegrationsUpdate.md +30 -0
  130. data/docs/Posts.md +68 -0
  131. data/docs/PostsApi.md +843 -0
  132. data/docs/PostsInput.md +62 -0
  133. data/docs/PostsUpdate.md +62 -0
  134. data/docs/StorageEngines.md +32 -0
  135. data/docs/StorageEnginesApi.md +40 -28
  136. data/docs/UpdateAlerts200Response.md +20 -0
  137. data/docs/{CompaniesCompanyIdUsersUserIdAlertsAlertIdPatch200ResponseData.md → UpdateAlerts200ResponseData.md} +2 -2
  138. data/docs/UpdateApiKeys200Response.md +20 -0
  139. data/docs/UpdateApiKeys200ResponseData.md +18 -0
  140. data/docs/UpdateAssetPriceHistory200Response.md +20 -0
  141. data/docs/UpdateAssetPriceHistory200ResponseData.md +18 -0
  142. data/docs/UpdateAssets200Response.md +20 -0
  143. data/docs/{CompaniesCompanyIdAssetsAssetIdPatch200ResponseData.md → UpdateAssets200ResponseData.md} +2 -2
  144. data/docs/UpdateCompanies200Response.md +20 -0
  145. data/docs/UpdateCompanies200ResponseData.md +18 -0
  146. data/docs/UpdateConnections200Response.md +20 -0
  147. data/docs/{CompaniesCompanyIdConnectionsConnectionIdPatch200ResponseData.md → UpdateConnections200ResponseData.md} +2 -2
  148. data/docs/UpdateEndpoints200Response.md +20 -0
  149. data/docs/UpdateEndpoints200ResponseData.md +18 -0
  150. data/docs/UpdateFavorites200Response.md +20 -0
  151. data/docs/{CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdPatch200ResponseData.md → UpdateFavorites200ResponseData.md} +2 -2
  152. data/docs/UpdatePostgenIntegrations200Response.md +20 -0
  153. data/docs/UpdatePostgenIntegrations200ResponseData.md +18 -0
  154. data/docs/UpdatePosts200Response.md +20 -0
  155. data/docs/UpdatePosts200ResponseData.md +18 -0
  156. data/docs/UpdateUsers200Response.md +20 -0
  157. data/docs/{CompaniesCompanyIdUsersUserIdPatch200ResponseData.md → UpdateUsers200ResponseData.md} +2 -2
  158. data/docs/Users.md +36 -0
  159. data/docs/UsersApi.md +306 -101
  160. data/docs/UsersInput.md +30 -0
  161. data/docs/UsersUpdate.md +30 -0
  162. data/git_push.sh +57 -0
  163. data/lib/spartera_api_sdk/api/alerts_api.rb +414 -167
  164. data/lib/spartera_api_sdk/api/api_keys_api.rb +491 -90
  165. data/lib/spartera_api_sdk/api/asset_price_history_api.rb +460 -169
  166. data/lib/spartera_api_sdk/api/asset_usecases_api.rb +190 -0
  167. data/lib/spartera_api_sdk/api/assets_api.rb +952 -228
  168. data/lib/spartera_api_sdk/api/cloud_providers_api.rb +83 -31
  169. data/lib/spartera_api_sdk/api/companies_api.rb +651 -137
  170. data/lib/spartera_api_sdk/api/connections_api.rb +376 -142
  171. data/lib/spartera_api_sdk/api/endpoints_api.rb +1416 -0
  172. data/lib/spartera_api_sdk/api/favorites_api.rb +456 -196
  173. data/lib/spartera_api_sdk/api/industries_api.rb +284 -0
  174. data/lib/spartera_api_sdk/api/job_functions_api.rb +190 -0
  175. data/lib/spartera_api_sdk/api/postgen_integrations_api.rb +634 -0
  176. data/lib/spartera_api_sdk/api/posts_api.rb +1190 -0
  177. data/lib/spartera_api_sdk/api/storage_engines_api.rb +107 -29
  178. data/lib/spartera_api_sdk/api/users_api.rb +581 -112
  179. data/lib/spartera_api_sdk/api_client.rb +8 -4
  180. data/lib/spartera_api_sdk/api_error.rb +2 -2
  181. data/lib/spartera_api_sdk/api_model_base.rb +88 -0
  182. data/lib/spartera_api_sdk/configuration.rb +2 -2
  183. data/lib/spartera_api_sdk/models/{alert.rb → alerts.rb} +46 -139
  184. data/lib/spartera_api_sdk/models/alerts_input.rb +213 -0
  185. data/lib/spartera_api_sdk/models/alerts_update.rb +179 -0
  186. data/lib/spartera_api_sdk/models/{apikey.rb → api_keys.rb} +98 -124
  187. data/lib/spartera_api_sdk/models/api_keys_input.rb +263 -0
  188. data/lib/spartera_api_sdk/models/api_keys_update.rb +229 -0
  189. data/lib/spartera_api_sdk/models/asset_price_history.rb +209 -0
  190. data/lib/spartera_api_sdk/models/asset_price_history_input.rb +179 -0
  191. data/lib/spartera_api_sdk/models/asset_price_history_update.rb +179 -0
  192. data/lib/spartera_api_sdk/models/asset_usecases.rb +216 -0
  193. data/lib/spartera_api_sdk/models/assets.rb +1048 -0
  194. data/lib/spartera_api_sdk/models/assets_input.rb +898 -0
  195. data/lib/spartera_api_sdk/models/assets_update.rb +857 -0
  196. data/lib/spartera_api_sdk/models/{cloudprovider.rb → cloud_providers.rb} +35 -111
  197. data/lib/spartera_api_sdk/models/cloud_providers_input.rb +186 -0
  198. data/lib/spartera_api_sdk/models/cloud_providers_update.rb +169 -0
  199. data/lib/spartera_api_sdk/models/{company.rb → companies.rb} +90 -105
  200. data/lib/spartera_api_sdk/models/companies_input.rb +327 -0
  201. data/lib/spartera_api_sdk/models/companies_update.rb +293 -0
  202. data/lib/spartera_api_sdk/models/{connection.rb → connections.rb} +69 -186
  203. data/lib/spartera_api_sdk/models/connections_input.rb +287 -0
  204. data/lib/spartera_api_sdk/models/connections_update.rb +253 -0
  205. data/lib/spartera_api_sdk/models/{companies_company_id_users_user_id_get200_response.rb → create_alerts200_response.rb} +6 -79
  206. data/lib/spartera_api_sdk/models/{companies_company_id_users_user_id_alerts_post200_response_data.rb → create_alerts200_response_data.rb} +5 -78
  207. data/lib/spartera_api_sdk/models/{companies_company_id_assets_asset_id_get200_response.rb → create_api_keys200_response.rb} +6 -79
  208. data/lib/spartera_api_sdk/models/{me_get200_response_api_key_info.rb → create_api_keys200_response_data.rb} +27 -94
  209. data/lib/spartera_api_sdk/models/{companies_company_id_users_post200_response.rb → create_asset_price_history200_response.rb} +6 -79
  210. data/lib/spartera_api_sdk/models/create_asset_price_history200_response_data.rb +165 -0
  211. data/lib/spartera_api_sdk/models/create_assets_analyze200_response.rb +191 -0
  212. data/lib/spartera_api_sdk/models/{companies_company_id_assets_post200_response_data.rb → create_assets_analyze200_response_data.rb} +5 -78
  213. data/lib/spartera_api_sdk/models/create_connections200_response.rb +191 -0
  214. data/lib/spartera_api_sdk/models/{companies_company_id_connections_post200_response_data.rb → create_connections200_response_data.rb} +5 -78
  215. data/lib/spartera_api_sdk/models/create_endpoints200_response.rb +191 -0
  216. data/lib/spartera_api_sdk/models/create_endpoints200_response_data.rb +165 -0
  217. data/lib/spartera_api_sdk/models/create_favorites200_response.rb +191 -0
  218. data/lib/spartera_api_sdk/models/{companies_company_id_users_user_id_favorites_post200_response_data.rb → create_favorites200_response_data.rb} +5 -78
  219. data/lib/spartera_api_sdk/models/create_postgen_integrations200_response.rb +191 -0
  220. data/lib/spartera_api_sdk/models/create_postgen_integrations200_response_data.rb +165 -0
  221. data/lib/spartera_api_sdk/models/create_posts200_response.rb +191 -0
  222. data/lib/spartera_api_sdk/models/create_posts200_response_data.rb +165 -0
  223. data/lib/spartera_api_sdk/models/create_users200_response.rb +191 -0
  224. data/lib/spartera_api_sdk/models/{companies_company_id_users_post200_response_data.rb → create_users200_response_data.rb} +5 -78
  225. data/lib/spartera_api_sdk/models/delete_alerts200_response.rb +191 -0
  226. data/lib/spartera_api_sdk/models/{companies_company_id_users_user_id_alerts_alert_id_delete200_response_data.rb → delete_alerts200_response_data.rb} +5 -78
  227. data/lib/spartera_api_sdk/models/delete_api_keys200_response.rb +191 -0
  228. data/lib/spartera_api_sdk/models/delete_api_keys200_response_data.rb +165 -0
  229. data/lib/spartera_api_sdk/models/delete_asset_price_history200_response.rb +191 -0
  230. data/lib/spartera_api_sdk/models/delete_asset_price_history200_response_data.rb +165 -0
  231. data/lib/spartera_api_sdk/models/delete_assets200_response.rb +191 -0
  232. data/lib/spartera_api_sdk/models/{companies_company_id_assets_asset_id_delete200_response_data.rb → delete_assets200_response_data.rb} +5 -78
  233. data/lib/spartera_api_sdk/models/delete_connections200_response.rb +191 -0
  234. data/lib/spartera_api_sdk/models/{companies_company_id_connections_connection_id_delete200_response_data.rb → delete_connections200_response_data.rb} +5 -78
  235. data/lib/spartera_api_sdk/models/delete_endpoints200_response.rb +191 -0
  236. data/lib/spartera_api_sdk/models/delete_endpoints200_response_data.rb +165 -0
  237. data/lib/spartera_api_sdk/models/delete_favorites200_response.rb +191 -0
  238. data/lib/spartera_api_sdk/models/{companies_company_id_users_user_id_favorites_favorite_id_delete200_response_data.rb → delete_favorites200_response_data.rb} +5 -78
  239. data/lib/spartera_api_sdk/models/delete_postgen_integrations200_response.rb +191 -0
  240. data/lib/spartera_api_sdk/models/delete_postgen_integrations200_response_data.rb +165 -0
  241. data/lib/spartera_api_sdk/models/delete_posts200_response.rb +191 -0
  242. data/lib/spartera_api_sdk/models/delete_posts200_response_data.rb +165 -0
  243. data/lib/spartera_api_sdk/models/delete_users200_response.rb +191 -0
  244. data/lib/spartera_api_sdk/models/{companies_company_id_users_user_id_delete200_response_data.rb → delete_users200_response_data.rb} +5 -78
  245. data/lib/spartera_api_sdk/models/endpoints.rb +684 -0
  246. data/lib/spartera_api_sdk/models/endpoints_input.rb +582 -0
  247. data/lib/spartera_api_sdk/models/endpoints_update.rb +531 -0
  248. data/lib/spartera_api_sdk/models/error.rb +3 -76
  249. data/lib/spartera_api_sdk/models/{favorite.rb → favorites.rb} +38 -111
  250. data/lib/spartera_api_sdk/models/favorites_input.rb +233 -0
  251. data/lib/spartera_api_sdk/models/favorites_update.rb +199 -0
  252. data/lib/spartera_api_sdk/models/get_alerts_by_id200_response.rb +191 -0
  253. data/lib/spartera_api_sdk/models/get_api_keys_by_id200_response.rb +191 -0
  254. data/lib/spartera_api_sdk/models/get_asset_price_history_by_id200_response.rb +191 -0
  255. data/lib/spartera_api_sdk/models/get_asset_usecases_by_id200_response.rb +191 -0
  256. data/lib/spartera_api_sdk/models/get_assets_by_id_analyze200_response.rb +191 -0
  257. data/lib/spartera_api_sdk/models/get_cloud_providers_by_id200_response.rb +191 -0
  258. data/lib/spartera_api_sdk/models/get_companies_by_id200_response.rb +191 -0
  259. data/lib/spartera_api_sdk/models/get_connections_by_id200_response.rb +191 -0
  260. data/lib/spartera_api_sdk/models/{companies_company_id_users_user_id_delete200_response.rb → get_endpoints_by_id_connections_describe200_response.rb} +6 -79
  261. data/lib/spartera_api_sdk/models/get_favorites_by_id200_response.rb +191 -0
  262. data/lib/spartera_api_sdk/models/get_industries_by_id200_response.rb +191 -0
  263. data/lib/spartera_api_sdk/models/get_job_functions_by_id200_response.rb +191 -0
  264. data/lib/spartera_api_sdk/models/{companies_company_id_users_get200_response.rb → get_postgen_integrations_by_id200_response.rb} +7 -82
  265. data/lib/spartera_api_sdk/models/get_posts_by_id200_response.rb +191 -0
  266. data/lib/spartera_api_sdk/models/get_storage_engines_by_id200_response.rb +191 -0
  267. data/lib/spartera_api_sdk/models/get_users_by_id200_response.rb +191 -0
  268. data/lib/spartera_api_sdk/models/industries.rb +253 -0
  269. data/lib/spartera_api_sdk/models/inline_object.rb +3 -76
  270. data/lib/spartera_api_sdk/models/inline_object1.rb +3 -76
  271. data/lib/spartera_api_sdk/models/inline_object2.rb +3 -76
  272. data/lib/spartera_api_sdk/models/inline_object3.rb +3 -76
  273. data/lib/spartera_api_sdk/models/inline_object4.rb +156 -0
  274. data/lib/spartera_api_sdk/models/inline_object5.rb +156 -0
  275. data/lib/spartera_api_sdk/models/{companies_company_id_api_keys_get200_response.rb → inline_object6.rb} +22 -104
  276. data/lib/spartera_api_sdk/models/inline_object7.rb +156 -0
  277. data/lib/spartera_api_sdk/models/job_functions.rb +213 -0
  278. data/lib/spartera_api_sdk/models/job_functions_input.rb +166 -0
  279. data/lib/spartera_api_sdk/models/job_functions_update.rb +149 -0
  280. data/lib/spartera_api_sdk/models/{companies_company_id_assets_get200_response.rb → list_api_keys200_response.rb} +6 -79
  281. data/lib/spartera_api_sdk/models/{companies_company_id_connections_get200_response.rb → list_asset_usecases200_response.rb} +6 -79
  282. data/lib/spartera_api_sdk/models/{companies_company_id_users_user_id_alerts_get200_response.rb → list_assets200_response.rb} +6 -79
  283. data/lib/spartera_api_sdk/models/list_cloud_providers200_response.rb +193 -0
  284. data/lib/spartera_api_sdk/models/{companies_company_id_assets_post200_response.rb → list_companies_analytics_assets200_response.rb} +9 -80
  285. data/lib/spartera_api_sdk/models/list_connections200_response.rb +193 -0
  286. data/lib/spartera_api_sdk/models/list_endpoints200_response.rb +193 -0
  287. data/lib/spartera_api_sdk/models/list_industries200_response.rb +193 -0
  288. data/lib/spartera_api_sdk/models/list_job_functions200_response.rb +193 -0
  289. data/lib/spartera_api_sdk/models/list_postgen_integrations200_response.rb +193 -0
  290. data/lib/spartera_api_sdk/models/list_posts200_response.rb +193 -0
  291. data/lib/spartera_api_sdk/models/list_storage_engines200_response.rb +193 -0
  292. data/lib/spartera_api_sdk/models/list_users200_response.rb +193 -0
  293. data/lib/spartera_api_sdk/models/post_publications.rb +327 -0
  294. data/lib/spartera_api_sdk/models/post_publications_input.rb +280 -0
  295. data/lib/spartera_api_sdk/models/post_publications_update.rb +229 -0
  296. data/lib/spartera_api_sdk/models/postgen_integrations.rb +341 -0
  297. data/lib/spartera_api_sdk/models/postgen_integrations_input.rb +294 -0
  298. data/lib/spartera_api_sdk/models/postgen_integrations_update.rb +209 -0
  299. data/lib/spartera_api_sdk/models/posts.rb +586 -0
  300. data/lib/spartera_api_sdk/models/posts_input.rb +437 -0
  301. data/lib/spartera_api_sdk/models/posts_update.rb +369 -0
  302. data/lib/spartera_api_sdk/models/storage_engines.rb +294 -0
  303. data/lib/spartera_api_sdk/models/update_alerts200_response.rb +191 -0
  304. data/lib/spartera_api_sdk/models/{companies_company_id_users_user_id_alerts_alert_id_patch200_response_data.rb → update_alerts200_response_data.rb} +5 -78
  305. data/lib/spartera_api_sdk/models/update_api_keys200_response.rb +191 -0
  306. data/lib/spartera_api_sdk/models/update_api_keys200_response_data.rb +165 -0
  307. data/lib/spartera_api_sdk/models/update_asset_price_history200_response.rb +191 -0
  308. data/lib/spartera_api_sdk/models/update_asset_price_history200_response_data.rb +165 -0
  309. data/lib/spartera_api_sdk/models/update_assets200_response.rb +191 -0
  310. data/lib/spartera_api_sdk/models/{companies_company_id_assets_asset_id_patch200_response_data.rb → update_assets200_response_data.rb} +5 -78
  311. data/lib/spartera_api_sdk/models/update_companies200_response.rb +191 -0
  312. data/lib/spartera_api_sdk/models/update_companies200_response_data.rb +165 -0
  313. data/lib/spartera_api_sdk/models/update_connections200_response.rb +191 -0
  314. data/lib/spartera_api_sdk/models/{companies_company_id_connections_connection_id_patch200_response_data.rb → update_connections200_response_data.rb} +5 -78
  315. data/lib/spartera_api_sdk/models/update_endpoints200_response.rb +191 -0
  316. data/lib/spartera_api_sdk/models/update_endpoints200_response_data.rb +165 -0
  317. data/lib/spartera_api_sdk/models/update_favorites200_response.rb +191 -0
  318. data/lib/spartera_api_sdk/models/{companies_company_id_users_user_id_favorites_favorite_id_patch200_response_data.rb → update_favorites200_response_data.rb} +5 -78
  319. data/lib/spartera_api_sdk/models/update_postgen_integrations200_response.rb +191 -0
  320. data/lib/spartera_api_sdk/models/update_postgen_integrations200_response_data.rb +165 -0
  321. data/lib/spartera_api_sdk/models/update_posts200_response.rb +191 -0
  322. data/lib/spartera_api_sdk/models/update_posts200_response_data.rb +165 -0
  323. data/lib/spartera_api_sdk/models/update_users200_response.rb +191 -0
  324. data/lib/spartera_api_sdk/models/{companies_company_id_users_user_id_patch200_response_data.rb → update_users200_response_data.rb} +5 -78
  325. data/lib/spartera_api_sdk/models/{user.rb → users.rb} +112 -108
  326. data/lib/spartera_api_sdk/models/{me_get200_response_profile.rb → users_input.rb} +54 -139
  327. data/lib/spartera_api_sdk/models/{me_get200_response_token_metadata.rb → users_update.rb} +101 -110
  328. data/lib/spartera_api_sdk/version.rb +13 -1
  329. data/lib/spartera_api_sdk.rb +149 -56
  330. data/spartera_api_sdk.gemspec +39 -0
  331. data/spec/api/alerts_api_spec.rb +50 -50
  332. data/spec/api/api_keys_api_spec.rb +67 -30
  333. data/spec/api/asset_price_history_api_spec.rb +57 -53
  334. data/spec/api/asset_usecases_api_spec.rb +61 -0
  335. data/spec/api/assets_api_spec.rb +134 -69
  336. data/spec/api/cloud_providers_api_spec.rb +16 -11
  337. data/spec/api/companies_api_spec.rb +99 -47
  338. data/spec/api/connections_api_spec.rb +53 -43
  339. data/spec/api/endpoints_api_spec.rb +215 -0
  340. data/spec/api/favorites_api_spec.rb +56 -56
  341. data/spec/api/industries_api_spec.rb +76 -0
  342. data/spec/api/job_functions_api_spec.rb +61 -0
  343. data/spec/api/postgen_integrations_api_spec.rb +117 -0
  344. data/spec/api/posts_api_spec.rb +186 -0
  345. data/spec/api/storage_engines_api_spec.rb +16 -11
  346. data/spec/api/users_api_spec.rb +83 -34
  347. data/spec/models/{me_get200_response_token_metadata_spec.rb → alerts_input_spec.rb} +12 -12
  348. data/spec/models/alerts_spec.rb +72 -0
  349. data/spec/models/alerts_update_spec.rb +54 -0
  350. data/spec/models/{apikey_spec.rb → api_keys_input_spec.rb} +14 -20
  351. data/spec/models/{assetpricehistory_spec.rb → api_keys_spec.rb} +25 -19
  352. data/spec/models/{user_spec.rb → api_keys_update_spec.rb} +15 -15
  353. data/spec/models/asset_price_history_input_spec.rb +54 -0
  354. data/spec/models/asset_price_history_spec.rb +72 -0
  355. data/spec/models/asset_price_history_update_spec.rb +54 -0
  356. data/spec/models/asset_usecases_spec.rb +66 -0
  357. data/spec/models/{asset_spec.rb → assets_input_spec.rb} +122 -28
  358. data/spec/models/assets_spec.rb +452 -0
  359. data/spec/models/assets_update_spec.rb +406 -0
  360. data/spec/models/{companies_company_id_assets_asset_id_get200_response_spec.rb → cloud_providers_input_spec.rb} +16 -10
  361. data/spec/models/{cloudprovider_spec.rb → cloud_providers_spec.rb} +14 -20
  362. data/spec/models/{companies_company_id_assets_asset_id_delete200_response_spec.rb → cloud_providers_update_spec.rb} +16 -10
  363. data/spec/models/companies_input_spec.rb +106 -0
  364. data/spec/models/{company_spec.rb → companies_spec.rb} +26 -16
  365. data/spec/models/companies_update_spec.rb +106 -0
  366. data/spec/models/connections_input_spec.rb +82 -0
  367. data/spec/models/{me_get200_response_spec.rb → connections_spec.rb} +28 -22
  368. data/spec/models/connections_update_spec.rb +82 -0
  369. data/spec/models/create_alerts200_response_data_spec.rb +36 -0
  370. data/spec/models/create_alerts200_response_spec.rb +42 -0
  371. data/spec/models/create_api_keys200_response_data_spec.rb +36 -0
  372. data/spec/models/create_api_keys200_response_spec.rb +42 -0
  373. data/spec/models/create_asset_price_history200_response_data_spec.rb +36 -0
  374. data/spec/models/{companies_company_id_assets_post200_response_spec.rb → create_asset_price_history200_response_spec.rb} +8 -8
  375. data/spec/models/{companies_company_id_assets_post200_response_data_spec.rb → create_assets_analyze200_response_data_spec.rb} +8 -8
  376. data/spec/models/{companies_company_id_users_post200_response_spec.rb → create_assets_analyze200_response_spec.rb} +8 -8
  377. data/spec/models/{companies_company_id_connections_post200_response_data_spec.rb → create_connections200_response_data_spec.rb} +8 -8
  378. data/spec/models/create_connections200_response_spec.rb +42 -0
  379. data/spec/models/create_endpoints200_response_data_spec.rb +36 -0
  380. data/spec/models/create_endpoints200_response_spec.rb +42 -0
  381. data/spec/models/create_favorites200_response_data_spec.rb +36 -0
  382. data/spec/models/create_favorites200_response_spec.rb +42 -0
  383. data/spec/models/create_postgen_integrations200_response_data_spec.rb +36 -0
  384. data/spec/models/create_postgen_integrations200_response_spec.rb +42 -0
  385. data/spec/models/create_posts200_response_data_spec.rb +36 -0
  386. data/spec/models/create_posts200_response_spec.rb +42 -0
  387. data/spec/models/{companies_company_id_users_post200_response_data_spec.rb → create_users200_response_data_spec.rb} +8 -8
  388. data/spec/models/create_users200_response_spec.rb +42 -0
  389. data/spec/models/delete_alerts200_response_data_spec.rb +36 -0
  390. data/spec/models/delete_alerts200_response_spec.rb +42 -0
  391. data/spec/models/delete_api_keys200_response_data_spec.rb +36 -0
  392. data/spec/models/delete_api_keys200_response_spec.rb +42 -0
  393. data/spec/models/delete_asset_price_history200_response_data_spec.rb +36 -0
  394. data/spec/models/delete_asset_price_history200_response_spec.rb +42 -0
  395. data/spec/models/{companies_company_id_assets_asset_id_patch200_response_data_spec.rb → delete_assets200_response_data_spec.rb} +8 -8
  396. data/spec/models/delete_assets200_response_spec.rb +42 -0
  397. data/spec/models/delete_connections200_response_data_spec.rb +36 -0
  398. data/spec/models/delete_connections200_response_spec.rb +42 -0
  399. data/spec/models/delete_endpoints200_response_data_spec.rb +36 -0
  400. data/spec/models/delete_endpoints200_response_spec.rb +42 -0
  401. data/spec/models/delete_favorites200_response_data_spec.rb +36 -0
  402. data/spec/models/delete_favorites200_response_spec.rb +42 -0
  403. data/spec/models/delete_postgen_integrations200_response_data_spec.rb +36 -0
  404. data/spec/models/delete_postgen_integrations200_response_spec.rb +42 -0
  405. data/spec/models/delete_posts200_response_data_spec.rb +36 -0
  406. data/spec/models/delete_posts200_response_spec.rb +42 -0
  407. data/spec/models/{companies_company_id_users_user_id_patch200_response_data_spec.rb → delete_users200_response_data_spec.rb} +8 -8
  408. data/spec/models/delete_users200_response_spec.rb +42 -0
  409. data/spec/models/endpoints_input_spec.rb +236 -0
  410. data/spec/models/endpoints_spec.rb +242 -0
  411. data/spec/models/endpoints_update_spec.rb +236 -0
  412. data/spec/models/error_spec.rb +3 -3
  413. data/spec/models/favorites_input_spec.rb +66 -0
  414. data/spec/models/{favorite_spec.rb → favorites_spec.rb} +17 -23
  415. data/spec/models/favorites_update_spec.rb +66 -0
  416. data/spec/models/get_alerts_by_id200_response_spec.rb +42 -0
  417. data/spec/models/{companies_company_id_assets_get200_response_spec.rb → get_api_keys_by_id200_response_spec.rb} +8 -8
  418. data/spec/models/get_asset_price_history_by_id200_response_spec.rb +42 -0
  419. data/spec/models/get_asset_usecases_by_id200_response_spec.rb +42 -0
  420. data/spec/models/get_assets_by_id_analyze200_response_spec.rb +42 -0
  421. data/spec/models/get_cloud_providers_by_id200_response_spec.rb +42 -0
  422. data/spec/models/get_companies_by_id200_response_spec.rb +42 -0
  423. data/spec/models/get_connections_by_id200_response_spec.rb +42 -0
  424. data/spec/models/{companies_company_id_users_user_id_delete200_response_spec.rb → get_endpoints_by_id_connections_describe200_response_spec.rb} +8 -8
  425. data/spec/models/get_favorites_by_id200_response_spec.rb +42 -0
  426. data/spec/models/get_industries_by_id200_response_spec.rb +42 -0
  427. data/spec/models/get_job_functions_by_id200_response_spec.rb +42 -0
  428. data/spec/models/{companies_company_id_users_get200_response_spec.rb → get_postgen_integrations_by_id200_response_spec.rb} +8 -8
  429. data/spec/models/get_posts_by_id200_response_spec.rb +42 -0
  430. data/spec/models/get_storage_engines_by_id200_response_spec.rb +42 -0
  431. data/spec/models/get_users_by_id200_response_spec.rb +42 -0
  432. data/spec/models/industries_spec.rb +78 -0
  433. data/spec/models/inline_object1_spec.rb +3 -3
  434. data/spec/models/inline_object2_spec.rb +3 -3
  435. data/spec/models/inline_object3_spec.rb +3 -3
  436. data/spec/models/inline_object4_spec.rb +42 -0
  437. data/spec/models/inline_object5_spec.rb +42 -0
  438. data/spec/models/{companies_company_id_connections_get200_response_spec.rb → inline_object6_spec.rb} +15 -9
  439. data/spec/models/inline_object7_spec.rb +42 -0
  440. data/spec/models/inline_object_spec.rb +3 -3
  441. data/spec/models/job_functions_input_spec.rb +36 -0
  442. data/spec/models/job_functions_spec.rb +54 -0
  443. data/spec/models/job_functions_update_spec.rb +36 -0
  444. data/spec/models/list_api_keys200_response_spec.rb +42 -0
  445. data/spec/models/list_asset_usecases200_response_spec.rb +42 -0
  446. data/spec/models/list_assets200_response_spec.rb +42 -0
  447. data/spec/models/list_cloud_providers200_response_spec.rb +42 -0
  448. data/spec/models/{companies_company_id_api_keys_get200_response_spec.rb → list_companies_analytics_assets200_response_spec.rb} +8 -8
  449. data/spec/models/list_connections200_response_spec.rb +42 -0
  450. data/spec/models/list_endpoints200_response_spec.rb +42 -0
  451. data/spec/models/list_industries200_response_spec.rb +42 -0
  452. data/spec/models/list_job_functions200_response_spec.rb +42 -0
  453. data/spec/models/list_postgen_integrations200_response_spec.rb +42 -0
  454. data/spec/models/list_posts200_response_spec.rb +42 -0
  455. data/spec/models/list_storage_engines200_response_spec.rb +42 -0
  456. data/spec/models/list_users200_response_spec.rb +42 -0
  457. data/spec/models/post_publications_input_spec.rb +84 -0
  458. data/spec/models/post_publications_spec.rb +102 -0
  459. data/spec/models/post_publications_update_spec.rb +84 -0
  460. data/spec/models/postgen_integrations_input_spec.rb +72 -0
  461. data/spec/models/{alert_spec.rb → postgen_integrations_spec.rb} +17 -17
  462. data/spec/models/postgen_integrations_update_spec.rb +72 -0
  463. data/spec/models/{connection_spec.rb → posts_input_spec.rb} +51 -27
  464. data/spec/models/posts_spec.rb +186 -0
  465. data/spec/models/posts_update_spec.rb +168 -0
  466. data/spec/models/storage_engines_spec.rb +82 -0
  467. data/spec/models/update_alerts200_response_data_spec.rb +36 -0
  468. data/spec/models/update_alerts200_response_spec.rb +42 -0
  469. data/spec/models/update_api_keys200_response_data_spec.rb +36 -0
  470. data/spec/models/update_api_keys200_response_spec.rb +42 -0
  471. data/spec/models/update_asset_price_history200_response_data_spec.rb +36 -0
  472. data/spec/models/update_asset_price_history200_response_spec.rb +42 -0
  473. data/spec/models/update_assets200_response_data_spec.rb +36 -0
  474. data/spec/models/update_assets200_response_spec.rb +42 -0
  475. data/spec/models/update_companies200_response_data_spec.rb +36 -0
  476. data/spec/models/update_companies200_response_spec.rb +42 -0
  477. data/spec/models/update_connections200_response_data_spec.rb +36 -0
  478. data/spec/models/update_connections200_response_spec.rb +42 -0
  479. data/spec/models/update_endpoints200_response_data_spec.rb +36 -0
  480. data/spec/models/update_endpoints200_response_spec.rb +42 -0
  481. data/spec/models/update_favorites200_response_data_spec.rb +36 -0
  482. data/spec/models/update_favorites200_response_spec.rb +42 -0
  483. data/spec/models/update_postgen_integrations200_response_data_spec.rb +36 -0
  484. data/spec/models/update_postgen_integrations200_response_spec.rb +42 -0
  485. data/spec/models/update_posts200_response_data_spec.rb +36 -0
  486. data/spec/models/update_posts200_response_spec.rb +42 -0
  487. data/spec/models/{companies_company_id_users_user_id_delete200_response_data_spec.rb → update_users200_response_data_spec.rb} +8 -8
  488. data/spec/models/update_users200_response_spec.rb +42 -0
  489. data/spec/models/users_input_spec.rb +76 -0
  490. data/spec/models/{me_get200_response_profile_spec.rb → users_spec.rb} +22 -22
  491. data/spec/models/users_update_spec.rb +76 -0
  492. data/spec/spec_helper.rb +2 -2
  493. metadata +623 -283
  494. data/docs/Alert.md +0 -36
  495. data/docs/Apikey.md +0 -36
  496. data/docs/Asset.md +0 -110
  497. data/docs/Assetpricehistory.md +0 -38
  498. data/docs/Cloudprovider.md +0 -30
  499. data/docs/CompaniesCompanyIdAssetsAssetIdDelete200Response.md +0 -20
  500. data/docs/CompaniesCompanyIdAssetsAssetIdPatch200Response.md +0 -20
  501. data/docs/CompaniesCompanyIdAssetsPost200Response.md +0 -20
  502. data/docs/CompaniesCompanyIdConnectionsConnectionIdDelete200Response.md +0 -20
  503. data/docs/CompaniesCompanyIdConnectionsConnectionIdPatch200Response.md +0 -20
  504. data/docs/CompaniesCompanyIdConnectionsPost200Response.md +0 -20
  505. data/docs/CompaniesCompanyIdUsersPost200Response.md +0 -20
  506. data/docs/CompaniesCompanyIdUsersUserIdAlertsAlertIdDelete200Response.md +0 -20
  507. data/docs/CompaniesCompanyIdUsersUserIdAlertsAlertIdGet200Response.md +0 -20
  508. data/docs/CompaniesCompanyIdUsersUserIdAlertsAlertIdPatch200Response.md +0 -20
  509. data/docs/CompaniesCompanyIdUsersUserIdAlertsGet200Response.md +0 -20
  510. data/docs/CompaniesCompanyIdUsersUserIdAlertsPost200Response.md +0 -20
  511. data/docs/CompaniesCompanyIdUsersUserIdDelete200Response.md +0 -20
  512. data/docs/CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdDelete200Response.md +0 -20
  513. data/docs/CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdGet200Response.md +0 -20
  514. data/docs/CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdPatch200Response.md +0 -20
  515. data/docs/CompaniesCompanyIdUsersUserIdFavoritesGet200Response.md +0 -20
  516. data/docs/CompaniesCompanyIdUsersUserIdFavoritesPost200Response.md +0 -20
  517. data/docs/CompaniesCompanyIdUsersUserIdPatch200Response.md +0 -20
  518. data/docs/Company.md +0 -44
  519. data/docs/Connection.md +0 -54
  520. data/docs/Favorite.md +0 -36
  521. data/docs/MeGet200Response.md +0 -36
  522. data/docs/MeGet200ResponseApiKeyInfo.md +0 -20
  523. data/docs/MeGet200ResponseProfile.md +0 -36
  524. data/docs/MeGet200ResponseTokenMetadata.md +0 -24
  525. data/docs/User.md +0 -34
  526. data/example.rb +0 -51
  527. data/lib/spartera_api_sdk/models/asset.rb +0 -686
  528. data/lib/spartera_api_sdk/models/assetpricehistory.rb +0 -345
  529. data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_delete200_response.rb +0 -264
  530. data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_patch200_response.rb +0 -264
  531. data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_delete200_response.rb +0 -264
  532. data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_get200_response.rb +0 -264
  533. data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_patch200_response.rb +0 -264
  534. data/lib/spartera_api_sdk/models/companies_company_id_connections_post200_response.rb +0 -264
  535. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response.rb +0 -264
  536. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_get200_response.rb +0 -264
  537. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response.rb +0 -264
  538. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_post200_response.rb +0 -264
  539. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response.rb +0 -264
  540. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_get200_response.rb +0 -264
  541. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response.rb +0 -264
  542. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_get200_response.rb +0 -266
  543. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_post200_response.rb +0 -264
  544. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_patch200_response.rb +0 -264
  545. data/lib/spartera_api_sdk/models/me_get200_response.rb +0 -417
  546. data/spec/models/companies_company_id_assets_asset_id_delete200_response_data_spec.rb +0 -36
  547. data/spec/models/companies_company_id_assets_asset_id_patch200_response_spec.rb +0 -42
  548. data/spec/models/companies_company_id_connections_connection_id_delete200_response_data_spec.rb +0 -36
  549. data/spec/models/companies_company_id_connections_connection_id_delete200_response_spec.rb +0 -42
  550. data/spec/models/companies_company_id_connections_connection_id_get200_response_spec.rb +0 -42
  551. data/spec/models/companies_company_id_connections_connection_id_patch200_response_data_spec.rb +0 -36
  552. data/spec/models/companies_company_id_connections_connection_id_patch200_response_spec.rb +0 -42
  553. data/spec/models/companies_company_id_connections_post200_response_spec.rb +0 -42
  554. data/spec/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response_data_spec.rb +0 -36
  555. data/spec/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response_spec.rb +0 -42
  556. data/spec/models/companies_company_id_users_user_id_alerts_alert_id_get200_response_spec.rb +0 -42
  557. data/spec/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response_data_spec.rb +0 -36
  558. data/spec/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response_spec.rb +0 -42
  559. data/spec/models/companies_company_id_users_user_id_alerts_get200_response_spec.rb +0 -42
  560. data/spec/models/companies_company_id_users_user_id_alerts_post200_response_data_spec.rb +0 -36
  561. data/spec/models/companies_company_id_users_user_id_alerts_post200_response_spec.rb +0 -42
  562. data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response_data_spec.rb +0 -36
  563. data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response_spec.rb +0 -42
  564. data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_get200_response_spec.rb +0 -42
  565. data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response_data_spec.rb +0 -36
  566. data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response_spec.rb +0 -42
  567. data/spec/models/companies_company_id_users_user_id_favorites_get200_response_spec.rb +0 -42
  568. data/spec/models/companies_company_id_users_user_id_favorites_post200_response_data_spec.rb +0 -36
  569. data/spec/models/companies_company_id_users_user_id_favorites_post200_response_spec.rb +0 -42
  570. data/spec/models/companies_company_id_users_user_id_get200_response_spec.rb +0 -42
  571. data/spec/models/companies_company_id_users_user_id_patch200_response_spec.rb +0 -42
  572. data/spec/models/me_get200_response_api_key_info_spec.rb +0 -42
@@ -4,21 +4,21 @@ All URIs are relative to *https://api.spartera.com*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**companies_company_id_assets_asset_id_prices_active_get**](AssetPriceHistoryApi.md#companies_company_id_assets_asset_id_prices_active_get) | **GET** /companies/{company_id}/assets/{asset_id}/prices/active | Get the currently active price for an asset |
8
- | [**companies_company_id_assets_asset_id_prices_aph_id_delete**](AssetPriceHistoryApi.md#companies_company_id_assets_asset_id_prices_aph_id_delete) | **DELETE** /companies/{company_id}/assets/{asset_id}/prices/{aph_id} | Delete single price history record by ID |
9
- | [**companies_company_id_assets_asset_id_prices_aph_id_get**](AssetPriceHistoryApi.md#companies_company_id_assets_asset_id_prices_aph_id_get) | **GET** /companies/{company_id}/assets/{asset_id}/prices/{aph_id} | Get single price history record by ID |
10
- | [**companies_company_id_assets_asset_id_prices_aph_id_patch**](AssetPriceHistoryApi.md#companies_company_id_assets_asset_id_prices_aph_id_patch) | **PATCH** /companies/{company_id}/assets/{asset_id}/prices/{aph_id} | Update an existing price history record by ID |
11
- | [**companies_company_id_assets_asset_id_prices_calculate_credits_post**](AssetPriceHistoryApi.md#companies_company_id_assets_asset_id_prices_calculate_credits_post) | **POST** /companies/{company_id}/assets/{asset_id}/prices/calculate_credits | POST /companies/{company_id}/assets/{asset_id}/prices/calculate_credits |
12
- | [**companies_company_id_assets_asset_id_prices_discount_post**](AssetPriceHistoryApi.md#companies_company_id_assets_asset_id_prices_discount_post) | **POST** /companies/{company_id}/assets/{asset_id}/prices/discount | POST /companies/{company_id}/assets/{asset_id}/prices/discount |
13
- | [**companies_company_id_assets_asset_id_prices_get**](AssetPriceHistoryApi.md#companies_company_id_assets_asset_id_prices_get) | **GET** /companies/{company_id}/assets/{asset_id}/prices | Get all price history records for a specific asset |
14
- | [**companies_company_id_assets_asset_id_prices_post**](AssetPriceHistoryApi.md#companies_company_id_assets_asset_id_prices_post) | **POST** /companies/{company_id}/assets/{asset_id}/prices | Create a new price history record for an asset |
7
+ | [**create_asset_price_history**](AssetPriceHistoryApi.md#create_asset_price_history) | **POST** /companies/{company_id}/assets/{asset_id}/prices | Create a new price history record for an asset |
8
+ | [**create_asset_price_history_prices_calculate_credits**](AssetPriceHistoryApi.md#create_asset_price_history_prices_calculate_credits) | **POST** /companies/{company_id}/assets/{asset_id}/prices/calculate_credits | Calculate the credit equivalent for a given USD price without saving |
9
+ | [**create_asset_price_history_prices_discount**](AssetPriceHistoryApi.md#create_asset_price_history_prices_discount) | **POST** /companies/{company_id}/assets/{asset_id}/prices/discount | POST /companies/{company_id}/assets/{asset_id}/prices/discount |
10
+ | [**delete_asset_price_history**](AssetPriceHistoryApi.md#delete_asset_price_history) | **DELETE** /companies/{company_id}/assets/{asset_id}/prices/{aph_id} | Delete single price history record by ID |
11
+ | [**get_asset_price_history_by_id**](AssetPriceHistoryApi.md#get_asset_price_history_by_id) | **GET** /companies/{company_id}/assets/{asset_id}/prices | Get all price history records for a specific asset |
12
+ | [**get_asset_price_history_by_id_assets_prices**](AssetPriceHistoryApi.md#get_asset_price_history_by_id_assets_prices) | **GET** /companies/{company_id}/assets/{asset_id}/prices/{aph_id} | Get single price history record by ID |
13
+ | [**get_asset_price_history_by_id_prices_active**](AssetPriceHistoryApi.md#get_asset_price_history_by_id_prices_active) | **GET** /companies/{company_id}/assets/{asset_id}/prices/active | Get the currently active price for an asset |
14
+ | [**update_asset_price_history**](AssetPriceHistoryApi.md#update_asset_price_history) | **PATCH** /companies/{company_id}/assets/{asset_id}/prices/{aph_id} | Update an existing price history record by ID |
15
15
 
16
16
 
17
- ## companies_company_id_assets_asset_id_prices_active_get
17
+ ## create_asset_price_history
18
18
 
19
- > <CompaniesCompanyIdApiKeysGet200Response> companies_company_id_assets_asset_id_prices_active_get(company_id, asset_id)
19
+ > <CreateAssetPriceHistory200Response> create_asset_price_history(company_id, asset_id, asset_price_history_input)
20
20
 
21
- Get the currently active price for an asset
21
+ Create a new price history record for an asset
22
22
 
23
23
  ### Examples
24
24
 
@@ -34,33 +34,34 @@ SparteraApiSdk.configure do |config|
34
34
  end
35
35
 
36
36
  api_instance = SparteraApiSdk::AssetPriceHistoryApi.new
37
- company_id = 'company_id_example' # String |
38
- asset_id = 'asset_id_example' # String |
37
+ company_id = 'company_id_example' # String | Unique identifier for the Company
38
+ asset_id = 'asset_id_example' # String | Unique identifier for the Asset
39
+ asset_price_history_input = SparteraApiSdk::AssetPriceHistoryInput.new # AssetPriceHistoryInput |
39
40
 
40
41
  begin
41
- # Get the currently active price for an asset
42
- result = api_instance.companies_company_id_assets_asset_id_prices_active_get(company_id, asset_id)
42
+ # Create a new price history record for an asset
43
+ result = api_instance.create_asset_price_history(company_id, asset_id, asset_price_history_input)
43
44
  p result
44
45
  rescue SparteraApiSdk::ApiError => e
45
- puts "Error when calling AssetPriceHistoryApi->companies_company_id_assets_asset_id_prices_active_get: #{e}"
46
+ puts "Error when calling AssetPriceHistoryApi->create_asset_price_history: #{e}"
46
47
  end
47
48
  ```
48
49
 
49
- #### Using the companies_company_id_assets_asset_id_prices_active_get_with_http_info variant
50
+ #### Using the create_asset_price_history_with_http_info variant
50
51
 
51
52
  This returns an Array which contains the response data, status code and headers.
52
53
 
53
- > <Array(<CompaniesCompanyIdApiKeysGet200Response>, Integer, Hash)> companies_company_id_assets_asset_id_prices_active_get_with_http_info(company_id, asset_id)
54
+ > <Array(<CreateAssetPriceHistory200Response>, Integer, Hash)> create_asset_price_history_with_http_info(company_id, asset_id, asset_price_history_input)
54
55
 
55
56
  ```ruby
56
57
  begin
57
- # Get the currently active price for an asset
58
- data, status_code, headers = api_instance.companies_company_id_assets_asset_id_prices_active_get_with_http_info(company_id, asset_id)
58
+ # Create a new price history record for an asset
59
+ data, status_code, headers = api_instance.create_asset_price_history_with_http_info(company_id, asset_id, asset_price_history_input)
59
60
  p status_code # => 2xx
60
61
  p headers # => { ... }
61
- p data # => <CompaniesCompanyIdApiKeysGet200Response>
62
+ p data # => <CreateAssetPriceHistory200Response>
62
63
  rescue SparteraApiSdk::ApiError => e
63
- puts "Error when calling AssetPriceHistoryApi->companies_company_id_assets_asset_id_prices_active_get_with_http_info: #{e}"
64
+ puts "Error when calling AssetPriceHistoryApi->create_asset_price_history_with_http_info: #{e}"
64
65
  end
65
66
  ```
66
67
 
@@ -68,12 +69,13 @@ end
68
69
 
69
70
  | Name | Type | Description | Notes |
70
71
  | ---- | ---- | ----------- | ----- |
71
- | **company_id** | **String** | | |
72
- | **asset_id** | **String** | | |
72
+ | **company_id** | **String** | Unique identifier for the Company | |
73
+ | **asset_id** | **String** | Unique identifier for the Asset | |
74
+ | **asset_price_history_input** | [**AssetPriceHistoryInput**](AssetPriceHistoryInput.md) | | |
73
75
 
74
76
  ### Return type
75
77
 
76
- [**CompaniesCompanyIdApiKeysGet200Response**](CompaniesCompanyIdApiKeysGet200Response.md)
78
+ [**CreateAssetPriceHistory200Response**](CreateAssetPriceHistory200Response.md)
77
79
 
78
80
  ### Authorization
79
81
 
@@ -81,15 +83,15 @@ end
81
83
 
82
84
  ### HTTP request headers
83
85
 
84
- - **Content-Type**: Not defined
86
+ - **Content-Type**: application/json
85
87
  - **Accept**: application/json
86
88
 
87
89
 
88
- ## companies_company_id_assets_asset_id_prices_aph_id_delete
90
+ ## create_asset_price_history_prices_calculate_credits
89
91
 
90
- > <CompaniesCompanyIdApiKeysGet200Response> companies_company_id_assets_asset_id_prices_aph_id_delete(company_id, asset_id, aph_id)
92
+ > <CreateAssetPriceHistory200Response> create_asset_price_history_prices_calculate_credits(company_id, asset_id, asset_price_history_input)
91
93
 
92
- Delete single price history record by ID
94
+ Calculate the credit equivalent for a given USD price without saving
93
95
 
94
96
  ### Examples
95
97
 
@@ -105,34 +107,34 @@ SparteraApiSdk.configure do |config|
105
107
  end
106
108
 
107
109
  api_instance = SparteraApiSdk::AssetPriceHistoryApi.new
108
- company_id = 'company_id_example' # String |
109
- asset_id = 'asset_id_example' # String |
110
- aph_id = 'aph_id_example' # String |
110
+ company_id = 'company_id_example' # String | Unique identifier for the Company
111
+ asset_id = 'asset_id_example' # String | Unique identifier for the Asset
112
+ asset_price_history_input = SparteraApiSdk::AssetPriceHistoryInput.new # AssetPriceHistoryInput |
111
113
 
112
114
  begin
113
- # Delete single price history record by ID
114
- result = api_instance.companies_company_id_assets_asset_id_prices_aph_id_delete(company_id, asset_id, aph_id)
115
+ # Calculate the credit equivalent for a given USD price without saving
116
+ result = api_instance.create_asset_price_history_prices_calculate_credits(company_id, asset_id, asset_price_history_input)
115
117
  p result
116
118
  rescue SparteraApiSdk::ApiError => e
117
- puts "Error when calling AssetPriceHistoryApi->companies_company_id_assets_asset_id_prices_aph_id_delete: #{e}"
119
+ puts "Error when calling AssetPriceHistoryApi->create_asset_price_history_prices_calculate_credits: #{e}"
118
120
  end
119
121
  ```
120
122
 
121
- #### Using the companies_company_id_assets_asset_id_prices_aph_id_delete_with_http_info variant
123
+ #### Using the create_asset_price_history_prices_calculate_credits_with_http_info variant
122
124
 
123
125
  This returns an Array which contains the response data, status code and headers.
124
126
 
125
- > <Array(<CompaniesCompanyIdApiKeysGet200Response>, Integer, Hash)> companies_company_id_assets_asset_id_prices_aph_id_delete_with_http_info(company_id, asset_id, aph_id)
127
+ > <Array(<CreateAssetPriceHistory200Response>, Integer, Hash)> create_asset_price_history_prices_calculate_credits_with_http_info(company_id, asset_id, asset_price_history_input)
126
128
 
127
129
  ```ruby
128
130
  begin
129
- # Delete single price history record by ID
130
- data, status_code, headers = api_instance.companies_company_id_assets_asset_id_prices_aph_id_delete_with_http_info(company_id, asset_id, aph_id)
131
+ # Calculate the credit equivalent for a given USD price without saving
132
+ data, status_code, headers = api_instance.create_asset_price_history_prices_calculate_credits_with_http_info(company_id, asset_id, asset_price_history_input)
131
133
  p status_code # => 2xx
132
134
  p headers # => { ... }
133
- p data # => <CompaniesCompanyIdApiKeysGet200Response>
135
+ p data # => <CreateAssetPriceHistory200Response>
134
136
  rescue SparteraApiSdk::ApiError => e
135
- puts "Error when calling AssetPriceHistoryApi->companies_company_id_assets_asset_id_prices_aph_id_delete_with_http_info: #{e}"
137
+ puts "Error when calling AssetPriceHistoryApi->create_asset_price_history_prices_calculate_credits_with_http_info: #{e}"
136
138
  end
137
139
  ```
138
140
 
@@ -140,13 +142,13 @@ end
140
142
 
141
143
  | Name | Type | Description | Notes |
142
144
  | ---- | ---- | ----------- | ----- |
143
- | **company_id** | **String** | | |
144
- | **asset_id** | **String** | | |
145
- | **aph_id** | **String** | | |
145
+ | **company_id** | **String** | Unique identifier for the Company | |
146
+ | **asset_id** | **String** | Unique identifier for the Asset | |
147
+ | **asset_price_history_input** | [**AssetPriceHistoryInput**](AssetPriceHistoryInput.md) | | |
146
148
 
147
149
  ### Return type
148
150
 
149
- [**CompaniesCompanyIdApiKeysGet200Response**](CompaniesCompanyIdApiKeysGet200Response.md)
151
+ [**CreateAssetPriceHistory200Response**](CreateAssetPriceHistory200Response.md)
150
152
 
151
153
  ### Authorization
152
154
 
@@ -154,15 +156,15 @@ end
154
156
 
155
157
  ### HTTP request headers
156
158
 
157
- - **Content-Type**: Not defined
159
+ - **Content-Type**: application/json
158
160
  - **Accept**: application/json
159
161
 
160
162
 
161
- ## companies_company_id_assets_asset_id_prices_aph_id_get
163
+ ## create_asset_price_history_prices_discount
162
164
 
163
- > <CompaniesCompanyIdApiKeysGet200Response> companies_company_id_assets_asset_id_prices_aph_id_get(company_id, asset_id, aph_id)
165
+ > <CreateAssetPriceHistory200Response> create_asset_price_history_prices_discount(company_id, asset_id, asset_price_history_input)
164
166
 
165
- Get single price history record by ID
167
+ POST /companies/{company_id}/assets/{asset_id}/prices/discount
166
168
 
167
169
  ### Examples
168
170
 
@@ -178,34 +180,34 @@ SparteraApiSdk.configure do |config|
178
180
  end
179
181
 
180
182
  api_instance = SparteraApiSdk::AssetPriceHistoryApi.new
181
- company_id = 'company_id_example' # String |
182
- asset_id = 'asset_id_example' # String |
183
- aph_id = 'aph_id_example' # String |
183
+ company_id = 'company_id_example' # String | Unique identifier for the Company
184
+ asset_id = 'asset_id_example' # String | Unique identifier for the Asset
185
+ asset_price_history_input = SparteraApiSdk::AssetPriceHistoryInput.new # AssetPriceHistoryInput |
184
186
 
185
187
  begin
186
- # Get single price history record by ID
187
- result = api_instance.companies_company_id_assets_asset_id_prices_aph_id_get(company_id, asset_id, aph_id)
188
+ # POST /companies/{company_id}/assets/{asset_id}/prices/discount
189
+ result = api_instance.create_asset_price_history_prices_discount(company_id, asset_id, asset_price_history_input)
188
190
  p result
189
191
  rescue SparteraApiSdk::ApiError => e
190
- puts "Error when calling AssetPriceHistoryApi->companies_company_id_assets_asset_id_prices_aph_id_get: #{e}"
192
+ puts "Error when calling AssetPriceHistoryApi->create_asset_price_history_prices_discount: #{e}"
191
193
  end
192
194
  ```
193
195
 
194
- #### Using the companies_company_id_assets_asset_id_prices_aph_id_get_with_http_info variant
196
+ #### Using the create_asset_price_history_prices_discount_with_http_info variant
195
197
 
196
198
  This returns an Array which contains the response data, status code and headers.
197
199
 
198
- > <Array(<CompaniesCompanyIdApiKeysGet200Response>, Integer, Hash)> companies_company_id_assets_asset_id_prices_aph_id_get_with_http_info(company_id, asset_id, aph_id)
200
+ > <Array(<CreateAssetPriceHistory200Response>, Integer, Hash)> create_asset_price_history_prices_discount_with_http_info(company_id, asset_id, asset_price_history_input)
199
201
 
200
202
  ```ruby
201
203
  begin
202
- # Get single price history record by ID
203
- data, status_code, headers = api_instance.companies_company_id_assets_asset_id_prices_aph_id_get_with_http_info(company_id, asset_id, aph_id)
204
+ # POST /companies/{company_id}/assets/{asset_id}/prices/discount
205
+ data, status_code, headers = api_instance.create_asset_price_history_prices_discount_with_http_info(company_id, asset_id, asset_price_history_input)
204
206
  p status_code # => 2xx
205
207
  p headers # => { ... }
206
- p data # => <CompaniesCompanyIdApiKeysGet200Response>
208
+ p data # => <CreateAssetPriceHistory200Response>
207
209
  rescue SparteraApiSdk::ApiError => e
208
- puts "Error when calling AssetPriceHistoryApi->companies_company_id_assets_asset_id_prices_aph_id_get_with_http_info: #{e}"
210
+ puts "Error when calling AssetPriceHistoryApi->create_asset_price_history_prices_discount_with_http_info: #{e}"
209
211
  end
210
212
  ```
211
213
 
@@ -213,13 +215,13 @@ end
213
215
 
214
216
  | Name | Type | Description | Notes |
215
217
  | ---- | ---- | ----------- | ----- |
216
- | **company_id** | **String** | | |
217
- | **asset_id** | **String** | | |
218
- | **aph_id** | **String** | | |
218
+ | **company_id** | **String** | Unique identifier for the Company | |
219
+ | **asset_id** | **String** | Unique identifier for the Asset | |
220
+ | **asset_price_history_input** | [**AssetPriceHistoryInput**](AssetPriceHistoryInput.md) | | |
219
221
 
220
222
  ### Return type
221
223
 
222
- [**CompaniesCompanyIdApiKeysGet200Response**](CompaniesCompanyIdApiKeysGet200Response.md)
224
+ [**CreateAssetPriceHistory200Response**](CreateAssetPriceHistory200Response.md)
223
225
 
224
226
  ### Authorization
225
227
 
@@ -227,15 +229,15 @@ end
227
229
 
228
230
  ### HTTP request headers
229
231
 
230
- - **Content-Type**: Not defined
232
+ - **Content-Type**: application/json
231
233
  - **Accept**: application/json
232
234
 
233
235
 
234
- ## companies_company_id_assets_asset_id_prices_aph_id_patch
236
+ ## delete_asset_price_history
235
237
 
236
- > <CompaniesCompanyIdApiKeysGet200Response> companies_company_id_assets_asset_id_prices_aph_id_patch(company_id, asset_id, aph_id)
238
+ > <DeleteAssetPriceHistory200Response> delete_asset_price_history(company_id, asset_id, aph_id)
237
239
 
238
- Update an existing price history record by ID
240
+ Delete single price history record by ID
239
241
 
240
242
  ### Examples
241
243
 
@@ -251,34 +253,34 @@ SparteraApiSdk.configure do |config|
251
253
  end
252
254
 
253
255
  api_instance = SparteraApiSdk::AssetPriceHistoryApi.new
254
- company_id = 'company_id_example' # String |
255
- asset_id = 'asset_id_example' # String |
256
- aph_id = 'aph_id_example' # String |
256
+ company_id = 'company_id_example' # String | Unique identifier for the Company
257
+ asset_id = 'asset_id_example' # String | Unique identifier for the Asset
258
+ aph_id = 'aph_id_example' # String | Unique identifier for the Aph
257
259
 
258
260
  begin
259
- # Update an existing price history record by ID
260
- result = api_instance.companies_company_id_assets_asset_id_prices_aph_id_patch(company_id, asset_id, aph_id)
261
+ # Delete single price history record by ID
262
+ result = api_instance.delete_asset_price_history(company_id, asset_id, aph_id)
261
263
  p result
262
264
  rescue SparteraApiSdk::ApiError => e
263
- puts "Error when calling AssetPriceHistoryApi->companies_company_id_assets_asset_id_prices_aph_id_patch: #{e}"
265
+ puts "Error when calling AssetPriceHistoryApi->delete_asset_price_history: #{e}"
264
266
  end
265
267
  ```
266
268
 
267
- #### Using the companies_company_id_assets_asset_id_prices_aph_id_patch_with_http_info variant
269
+ #### Using the delete_asset_price_history_with_http_info variant
268
270
 
269
271
  This returns an Array which contains the response data, status code and headers.
270
272
 
271
- > <Array(<CompaniesCompanyIdApiKeysGet200Response>, Integer, Hash)> companies_company_id_assets_asset_id_prices_aph_id_patch_with_http_info(company_id, asset_id, aph_id)
273
+ > <Array(<DeleteAssetPriceHistory200Response>, Integer, Hash)> delete_asset_price_history_with_http_info(company_id, asset_id, aph_id)
272
274
 
273
275
  ```ruby
274
276
  begin
275
- # Update an existing price history record by ID
276
- data, status_code, headers = api_instance.companies_company_id_assets_asset_id_prices_aph_id_patch_with_http_info(company_id, asset_id, aph_id)
277
+ # Delete single price history record by ID
278
+ data, status_code, headers = api_instance.delete_asset_price_history_with_http_info(company_id, asset_id, aph_id)
277
279
  p status_code # => 2xx
278
280
  p headers # => { ... }
279
- p data # => <CompaniesCompanyIdApiKeysGet200Response>
281
+ p data # => <DeleteAssetPriceHistory200Response>
280
282
  rescue SparteraApiSdk::ApiError => e
281
- puts "Error when calling AssetPriceHistoryApi->companies_company_id_assets_asset_id_prices_aph_id_patch_with_http_info: #{e}"
283
+ puts "Error when calling AssetPriceHistoryApi->delete_asset_price_history_with_http_info: #{e}"
282
284
  end
283
285
  ```
284
286
 
@@ -286,13 +288,13 @@ end
286
288
 
287
289
  | Name | Type | Description | Notes |
288
290
  | ---- | ---- | ----------- | ----- |
289
- | **company_id** | **String** | | |
290
- | **asset_id** | **String** | | |
291
- | **aph_id** | **String** | | |
291
+ | **company_id** | **String** | Unique identifier for the Company | |
292
+ | **asset_id** | **String** | Unique identifier for the Asset | |
293
+ | **aph_id** | **String** | Unique identifier for the Aph | |
292
294
 
293
295
  ### Return type
294
296
 
295
- [**CompaniesCompanyIdApiKeysGet200Response**](CompaniesCompanyIdApiKeysGet200Response.md)
297
+ [**DeleteAssetPriceHistory200Response**](DeleteAssetPriceHistory200Response.md)
296
298
 
297
299
  ### Authorization
298
300
 
@@ -304,11 +306,11 @@ end
304
306
  - **Accept**: application/json
305
307
 
306
308
 
307
- ## companies_company_id_assets_asset_id_prices_calculate_credits_post
309
+ ## get_asset_price_history_by_id
308
310
 
309
- > <CompaniesCompanyIdApiKeysGet200Response> companies_company_id_assets_asset_id_prices_calculate_credits_post(company_id, asset_id)
311
+ > <GetAssetPriceHistoryById200Response> get_asset_price_history_by_id(company_id, asset_id)
310
312
 
311
- POST /companies/{company_id}/assets/{asset_id}/prices/calculate_credits
313
+ Get all price history records for a specific asset
312
314
 
313
315
  ### Examples
314
316
 
@@ -324,33 +326,33 @@ SparteraApiSdk.configure do |config|
324
326
  end
325
327
 
326
328
  api_instance = SparteraApiSdk::AssetPriceHistoryApi.new
327
- company_id = 'company_id_example' # String |
328
- asset_id = 'asset_id_example' # String |
329
+ company_id = 'company_id_example' # String | Unique identifier for the Company
330
+ asset_id = 'asset_id_example' # String | Unique identifier for the Asset
329
331
 
330
332
  begin
331
- # POST /companies/{company_id}/assets/{asset_id}/prices/calculate_credits
332
- result = api_instance.companies_company_id_assets_asset_id_prices_calculate_credits_post(company_id, asset_id)
333
+ # Get all price history records for a specific asset
334
+ result = api_instance.get_asset_price_history_by_id(company_id, asset_id)
333
335
  p result
334
336
  rescue SparteraApiSdk::ApiError => e
335
- puts "Error when calling AssetPriceHistoryApi->companies_company_id_assets_asset_id_prices_calculate_credits_post: #{e}"
337
+ puts "Error when calling AssetPriceHistoryApi->get_asset_price_history_by_id: #{e}"
336
338
  end
337
339
  ```
338
340
 
339
- #### Using the companies_company_id_assets_asset_id_prices_calculate_credits_post_with_http_info variant
341
+ #### Using the get_asset_price_history_by_id_with_http_info variant
340
342
 
341
343
  This returns an Array which contains the response data, status code and headers.
342
344
 
343
- > <Array(<CompaniesCompanyIdApiKeysGet200Response>, Integer, Hash)> companies_company_id_assets_asset_id_prices_calculate_credits_post_with_http_info(company_id, asset_id)
345
+ > <Array(<GetAssetPriceHistoryById200Response>, Integer, Hash)> get_asset_price_history_by_id_with_http_info(company_id, asset_id)
344
346
 
345
347
  ```ruby
346
348
  begin
347
- # POST /companies/{company_id}/assets/{asset_id}/prices/calculate_credits
348
- data, status_code, headers = api_instance.companies_company_id_assets_asset_id_prices_calculate_credits_post_with_http_info(company_id, asset_id)
349
+ # Get all price history records for a specific asset
350
+ data, status_code, headers = api_instance.get_asset_price_history_by_id_with_http_info(company_id, asset_id)
349
351
  p status_code # => 2xx
350
352
  p headers # => { ... }
351
- p data # => <CompaniesCompanyIdApiKeysGet200Response>
353
+ p data # => <GetAssetPriceHistoryById200Response>
352
354
  rescue SparteraApiSdk::ApiError => e
353
- puts "Error when calling AssetPriceHistoryApi->companies_company_id_assets_asset_id_prices_calculate_credits_post_with_http_info: #{e}"
355
+ puts "Error when calling AssetPriceHistoryApi->get_asset_price_history_by_id_with_http_info: #{e}"
354
356
  end
355
357
  ```
356
358
 
@@ -358,12 +360,12 @@ end
358
360
 
359
361
  | Name | Type | Description | Notes |
360
362
  | ---- | ---- | ----------- | ----- |
361
- | **company_id** | **String** | | |
362
- | **asset_id** | **String** | | |
363
+ | **company_id** | **String** | Unique identifier for the Company | |
364
+ | **asset_id** | **String** | Unique identifier for the Asset | |
363
365
 
364
366
  ### Return type
365
367
 
366
- [**CompaniesCompanyIdApiKeysGet200Response**](CompaniesCompanyIdApiKeysGet200Response.md)
368
+ [**GetAssetPriceHistoryById200Response**](GetAssetPriceHistoryById200Response.md)
367
369
 
368
370
  ### Authorization
369
371
 
@@ -375,11 +377,11 @@ end
375
377
  - **Accept**: application/json
376
378
 
377
379
 
378
- ## companies_company_id_assets_asset_id_prices_discount_post
380
+ ## get_asset_price_history_by_id_assets_prices
379
381
 
380
- > <CompaniesCompanyIdApiKeysGet200Response> companies_company_id_assets_asset_id_prices_discount_post(company_id, asset_id)
382
+ > <GetAssetPriceHistoryById200Response> get_asset_price_history_by_id_assets_prices(company_id, asset_id, aph_id)
381
383
 
382
- POST /companies/{company_id}/assets/{asset_id}/prices/discount
384
+ Get single price history record by ID
383
385
 
384
386
  ### Examples
385
387
 
@@ -395,33 +397,34 @@ SparteraApiSdk.configure do |config|
395
397
  end
396
398
 
397
399
  api_instance = SparteraApiSdk::AssetPriceHistoryApi.new
398
- company_id = 'company_id_example' # String |
399
- asset_id = 'asset_id_example' # String |
400
+ company_id = 'company_id_example' # String | Unique identifier for the Company
401
+ asset_id = 'asset_id_example' # String | Unique identifier for the Asset
402
+ aph_id = 'aph_id_example' # String | Unique identifier for the Aph
400
403
 
401
404
  begin
402
- # POST /companies/{company_id}/assets/{asset_id}/prices/discount
403
- result = api_instance.companies_company_id_assets_asset_id_prices_discount_post(company_id, asset_id)
405
+ # Get single price history record by ID
406
+ result = api_instance.get_asset_price_history_by_id_assets_prices(company_id, asset_id, aph_id)
404
407
  p result
405
408
  rescue SparteraApiSdk::ApiError => e
406
- puts "Error when calling AssetPriceHistoryApi->companies_company_id_assets_asset_id_prices_discount_post: #{e}"
409
+ puts "Error when calling AssetPriceHistoryApi->get_asset_price_history_by_id_assets_prices: #{e}"
407
410
  end
408
411
  ```
409
412
 
410
- #### Using the companies_company_id_assets_asset_id_prices_discount_post_with_http_info variant
413
+ #### Using the get_asset_price_history_by_id_assets_prices_with_http_info variant
411
414
 
412
415
  This returns an Array which contains the response data, status code and headers.
413
416
 
414
- > <Array(<CompaniesCompanyIdApiKeysGet200Response>, Integer, Hash)> companies_company_id_assets_asset_id_prices_discount_post_with_http_info(company_id, asset_id)
417
+ > <Array(<GetAssetPriceHistoryById200Response>, Integer, Hash)> get_asset_price_history_by_id_assets_prices_with_http_info(company_id, asset_id, aph_id)
415
418
 
416
419
  ```ruby
417
420
  begin
418
- # POST /companies/{company_id}/assets/{asset_id}/prices/discount
419
- data, status_code, headers = api_instance.companies_company_id_assets_asset_id_prices_discount_post_with_http_info(company_id, asset_id)
421
+ # Get single price history record by ID
422
+ data, status_code, headers = api_instance.get_asset_price_history_by_id_assets_prices_with_http_info(company_id, asset_id, aph_id)
420
423
  p status_code # => 2xx
421
424
  p headers # => { ... }
422
- p data # => <CompaniesCompanyIdApiKeysGet200Response>
425
+ p data # => <GetAssetPriceHistoryById200Response>
423
426
  rescue SparteraApiSdk::ApiError => e
424
- puts "Error when calling AssetPriceHistoryApi->companies_company_id_assets_asset_id_prices_discount_post_with_http_info: #{e}"
427
+ puts "Error when calling AssetPriceHistoryApi->get_asset_price_history_by_id_assets_prices_with_http_info: #{e}"
425
428
  end
426
429
  ```
427
430
 
@@ -429,12 +432,13 @@ end
429
432
 
430
433
  | Name | Type | Description | Notes |
431
434
  | ---- | ---- | ----------- | ----- |
432
- | **company_id** | **String** | | |
433
- | **asset_id** | **String** | | |
435
+ | **company_id** | **String** | Unique identifier for the Company | |
436
+ | **asset_id** | **String** | Unique identifier for the Asset | |
437
+ | **aph_id** | **String** | Unique identifier for the Aph | |
434
438
 
435
439
  ### Return type
436
440
 
437
- [**CompaniesCompanyIdApiKeysGet200Response**](CompaniesCompanyIdApiKeysGet200Response.md)
441
+ [**GetAssetPriceHistoryById200Response**](GetAssetPriceHistoryById200Response.md)
438
442
 
439
443
  ### Authorization
440
444
 
@@ -446,11 +450,11 @@ end
446
450
  - **Accept**: application/json
447
451
 
448
452
 
449
- ## companies_company_id_assets_asset_id_prices_get
453
+ ## get_asset_price_history_by_id_prices_active
450
454
 
451
- > <CompaniesCompanyIdApiKeysGet200Response> companies_company_id_assets_asset_id_prices_get(company_id, asset_id)
455
+ > <GetAssetPriceHistoryById200Response> get_asset_price_history_by_id_prices_active(company_id, asset_id)
452
456
 
453
- Get all price history records for a specific asset
457
+ Get the currently active price for an asset
454
458
 
455
459
  ### Examples
456
460
 
@@ -466,33 +470,33 @@ SparteraApiSdk.configure do |config|
466
470
  end
467
471
 
468
472
  api_instance = SparteraApiSdk::AssetPriceHistoryApi.new
469
- company_id = 'company_id_example' # String |
470
- asset_id = 'asset_id_example' # String |
473
+ company_id = 'company_id_example' # String | Unique identifier for the Company
474
+ asset_id = 'asset_id_example' # String | Unique identifier for the Asset
471
475
 
472
476
  begin
473
- # Get all price history records for a specific asset
474
- result = api_instance.companies_company_id_assets_asset_id_prices_get(company_id, asset_id)
477
+ # Get the currently active price for an asset
478
+ result = api_instance.get_asset_price_history_by_id_prices_active(company_id, asset_id)
475
479
  p result
476
480
  rescue SparteraApiSdk::ApiError => e
477
- puts "Error when calling AssetPriceHistoryApi->companies_company_id_assets_asset_id_prices_get: #{e}"
481
+ puts "Error when calling AssetPriceHistoryApi->get_asset_price_history_by_id_prices_active: #{e}"
478
482
  end
479
483
  ```
480
484
 
481
- #### Using the companies_company_id_assets_asset_id_prices_get_with_http_info variant
485
+ #### Using the get_asset_price_history_by_id_prices_active_with_http_info variant
482
486
 
483
487
  This returns an Array which contains the response data, status code and headers.
484
488
 
485
- > <Array(<CompaniesCompanyIdApiKeysGet200Response>, Integer, Hash)> companies_company_id_assets_asset_id_prices_get_with_http_info(company_id, asset_id)
489
+ > <Array(<GetAssetPriceHistoryById200Response>, Integer, Hash)> get_asset_price_history_by_id_prices_active_with_http_info(company_id, asset_id)
486
490
 
487
491
  ```ruby
488
492
  begin
489
- # Get all price history records for a specific asset
490
- data, status_code, headers = api_instance.companies_company_id_assets_asset_id_prices_get_with_http_info(company_id, asset_id)
493
+ # Get the currently active price for an asset
494
+ data, status_code, headers = api_instance.get_asset_price_history_by_id_prices_active_with_http_info(company_id, asset_id)
491
495
  p status_code # => 2xx
492
496
  p headers # => { ... }
493
- p data # => <CompaniesCompanyIdApiKeysGet200Response>
497
+ p data # => <GetAssetPriceHistoryById200Response>
494
498
  rescue SparteraApiSdk::ApiError => e
495
- puts "Error when calling AssetPriceHistoryApi->companies_company_id_assets_asset_id_prices_get_with_http_info: #{e}"
499
+ puts "Error when calling AssetPriceHistoryApi->get_asset_price_history_by_id_prices_active_with_http_info: #{e}"
496
500
  end
497
501
  ```
498
502
 
@@ -500,12 +504,12 @@ end
500
504
 
501
505
  | Name | Type | Description | Notes |
502
506
  | ---- | ---- | ----------- | ----- |
503
- | **company_id** | **String** | | |
504
- | **asset_id** | **String** | | |
507
+ | **company_id** | **String** | Unique identifier for the Company | |
508
+ | **asset_id** | **String** | Unique identifier for the Asset | |
505
509
 
506
510
  ### Return type
507
511
 
508
- [**CompaniesCompanyIdApiKeysGet200Response**](CompaniesCompanyIdApiKeysGet200Response.md)
512
+ [**GetAssetPriceHistoryById200Response**](GetAssetPriceHistoryById200Response.md)
509
513
 
510
514
  ### Authorization
511
515
 
@@ -517,11 +521,11 @@ end
517
521
  - **Accept**: application/json
518
522
 
519
523
 
520
- ## companies_company_id_assets_asset_id_prices_post
524
+ ## update_asset_price_history
521
525
 
522
- > <CompaniesCompanyIdApiKeysGet200Response> companies_company_id_assets_asset_id_prices_post(company_id, asset_id)
526
+ > <UpdateAssetPriceHistory200Response> update_asset_price_history(company_id, asset_id, aph_id, asset_price_history_update)
523
527
 
524
- Create a new price history record for an asset
528
+ Update an existing price history record by ID
525
529
 
526
530
  ### Examples
527
531
 
@@ -537,33 +541,35 @@ SparteraApiSdk.configure do |config|
537
541
  end
538
542
 
539
543
  api_instance = SparteraApiSdk::AssetPriceHistoryApi.new
540
- company_id = 'company_id_example' # String |
541
- asset_id = 'asset_id_example' # String |
544
+ company_id = 'company_id_example' # String | Unique identifier for the Company
545
+ asset_id = 'asset_id_example' # String | Unique identifier for the Asset
546
+ aph_id = 'aph_id_example' # String | Unique identifier for the Aph
547
+ asset_price_history_update = SparteraApiSdk::AssetPriceHistoryUpdate.new # AssetPriceHistoryUpdate |
542
548
 
543
549
  begin
544
- # Create a new price history record for an asset
545
- result = api_instance.companies_company_id_assets_asset_id_prices_post(company_id, asset_id)
550
+ # Update an existing price history record by ID
551
+ result = api_instance.update_asset_price_history(company_id, asset_id, aph_id, asset_price_history_update)
546
552
  p result
547
553
  rescue SparteraApiSdk::ApiError => e
548
- puts "Error when calling AssetPriceHistoryApi->companies_company_id_assets_asset_id_prices_post: #{e}"
554
+ puts "Error when calling AssetPriceHistoryApi->update_asset_price_history: #{e}"
549
555
  end
550
556
  ```
551
557
 
552
- #### Using the companies_company_id_assets_asset_id_prices_post_with_http_info variant
558
+ #### Using the update_asset_price_history_with_http_info variant
553
559
 
554
560
  This returns an Array which contains the response data, status code and headers.
555
561
 
556
- > <Array(<CompaniesCompanyIdApiKeysGet200Response>, Integer, Hash)> companies_company_id_assets_asset_id_prices_post_with_http_info(company_id, asset_id)
562
+ > <Array(<UpdateAssetPriceHistory200Response>, Integer, Hash)> update_asset_price_history_with_http_info(company_id, asset_id, aph_id, asset_price_history_update)
557
563
 
558
564
  ```ruby
559
565
  begin
560
- # Create a new price history record for an asset
561
- data, status_code, headers = api_instance.companies_company_id_assets_asset_id_prices_post_with_http_info(company_id, asset_id)
566
+ # Update an existing price history record by ID
567
+ data, status_code, headers = api_instance.update_asset_price_history_with_http_info(company_id, asset_id, aph_id, asset_price_history_update)
562
568
  p status_code # => 2xx
563
569
  p headers # => { ... }
564
- p data # => <CompaniesCompanyIdApiKeysGet200Response>
570
+ p data # => <UpdateAssetPriceHistory200Response>
565
571
  rescue SparteraApiSdk::ApiError => e
566
- puts "Error when calling AssetPriceHistoryApi->companies_company_id_assets_asset_id_prices_post_with_http_info: #{e}"
572
+ puts "Error when calling AssetPriceHistoryApi->update_asset_price_history_with_http_info: #{e}"
567
573
  end
568
574
  ```
569
575
 
@@ -571,12 +577,14 @@ end
571
577
 
572
578
  | Name | Type | Description | Notes |
573
579
  | ---- | ---- | ----------- | ----- |
574
- | **company_id** | **String** | | |
575
- | **asset_id** | **String** | | |
580
+ | **company_id** | **String** | Unique identifier for the Company | |
581
+ | **asset_id** | **String** | Unique identifier for the Asset | |
582
+ | **aph_id** | **String** | Unique identifier for the Aph | |
583
+ | **asset_price_history_update** | [**AssetPriceHistoryUpdate**](AssetPriceHistoryUpdate.md) | | |
576
584
 
577
585
  ### Return type
578
586
 
579
- [**CompaniesCompanyIdApiKeysGet200Response**](CompaniesCompanyIdApiKeysGet200Response.md)
587
+ [**UpdateAssetPriceHistory200Response**](UpdateAssetPriceHistory200Response.md)
580
588
 
581
589
  ### Authorization
582
590
 
@@ -584,6 +592,6 @@ end
584
592
 
585
593
  ### HTTP request headers
586
594
 
587
- - **Content-Type**: Not defined
595
+ - **Content-Type**: application/json
588
596
  - **Accept**: application/json
589
597