spartera_api_sdk 1.0.62 → 1.0.69

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 (172) hide show
  1. checksums.yaml +4 -4
  2. data/config.json +1 -1
  3. data/docs/APIKeysApi.md +45 -35
  4. data/docs/AlertsApi.md +71 -57
  5. data/docs/AssetPriceHistoryApi.md +80 -64
  6. data/docs/AssetsApi.md +116 -378
  7. data/docs/CloudProvidersApi.md +18 -215
  8. data/docs/CompaniesApi.md +81 -63
  9. data/docs/CompaniesCompanyIdApiKeysGet200Response.md +20 -0
  10. data/docs/CompaniesCompanyIdAssetsAssetIdDelete200Response.md +20 -0
  11. data/docs/CompaniesCompanyIdAssetsAssetIdDelete200ResponseData.md +18 -0
  12. data/docs/CompaniesCompanyIdAssetsAssetIdGet200Response.md +20 -0
  13. data/docs/CompaniesCompanyIdAssetsAssetIdPatch200Response.md +20 -0
  14. data/docs/CompaniesCompanyIdAssetsAssetIdPatch200ResponseData.md +18 -0
  15. data/docs/CompaniesCompanyIdAssetsGet200Response.md +20 -0
  16. data/docs/CompaniesCompanyIdAssetsPost200Response.md +20 -0
  17. data/docs/CompaniesCompanyIdAssetsPost200ResponseData.md +18 -0
  18. data/docs/CompaniesCompanyIdConnectionsConnectionIdDelete200Response.md +20 -0
  19. data/docs/CompaniesCompanyIdConnectionsConnectionIdDelete200ResponseData.md +18 -0
  20. data/docs/CompaniesCompanyIdConnectionsConnectionIdGet200Response.md +20 -0
  21. data/docs/CompaniesCompanyIdConnectionsConnectionIdPatch200Response.md +20 -0
  22. data/docs/CompaniesCompanyIdConnectionsConnectionIdPatch200ResponseData.md +18 -0
  23. data/docs/CompaniesCompanyIdConnectionsGet200Response.md +20 -0
  24. data/docs/CompaniesCompanyIdConnectionsPost200Response.md +20 -0
  25. data/docs/CompaniesCompanyIdConnectionsPost200ResponseData.md +18 -0
  26. data/docs/CompaniesCompanyIdUsersGet200Response.md +20 -0
  27. data/docs/CompaniesCompanyIdUsersPost200Response.md +20 -0
  28. data/docs/CompaniesCompanyIdUsersPost200ResponseData.md +18 -0
  29. data/docs/CompaniesCompanyIdUsersUserIdAlertsAlertIdDelete200Response.md +20 -0
  30. data/docs/CompaniesCompanyIdUsersUserIdAlertsAlertIdDelete200ResponseData.md +18 -0
  31. data/docs/CompaniesCompanyIdUsersUserIdAlertsAlertIdGet200Response.md +20 -0
  32. data/docs/CompaniesCompanyIdUsersUserIdAlertsAlertIdPatch200Response.md +20 -0
  33. data/docs/CompaniesCompanyIdUsersUserIdAlertsAlertIdPatch200ResponseData.md +18 -0
  34. data/docs/CompaniesCompanyIdUsersUserIdAlertsGet200Response.md +20 -0
  35. data/docs/CompaniesCompanyIdUsersUserIdAlertsPost200Response.md +20 -0
  36. data/docs/CompaniesCompanyIdUsersUserIdAlertsPost200ResponseData.md +18 -0
  37. data/docs/CompaniesCompanyIdUsersUserIdDelete200Response.md +20 -0
  38. data/docs/CompaniesCompanyIdUsersUserIdDelete200ResponseData.md +18 -0
  39. data/docs/CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdDelete200Response.md +20 -0
  40. data/docs/CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdDelete200ResponseData.md +18 -0
  41. data/docs/CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdGet200Response.md +20 -0
  42. data/docs/CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdPatch200Response.md +20 -0
  43. data/docs/CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdPatch200ResponseData.md +18 -0
  44. data/docs/CompaniesCompanyIdUsersUserIdFavoritesGet200Response.md +20 -0
  45. data/docs/CompaniesCompanyIdUsersUserIdFavoritesPost200Response.md +20 -0
  46. data/docs/CompaniesCompanyIdUsersUserIdFavoritesPost200ResponseData.md +18 -0
  47. data/docs/CompaniesCompanyIdUsersUserIdGet200Response.md +20 -0
  48. data/docs/CompaniesCompanyIdUsersUserIdPatch200Response.md +20 -0
  49. data/docs/CompaniesCompanyIdUsersUserIdPatch200ResponseData.md +18 -0
  50. data/docs/ConnectionsApi.md +67 -53
  51. data/docs/FavoritesApi.md +84 -68
  52. data/docs/MeGet200Response.md +36 -0
  53. data/docs/MeGet200ResponseApiKeyInfo.md +20 -0
  54. data/docs/MeGet200ResponseProfile.md +36 -0
  55. data/docs/MeGet200ResponseTokenMetadata.md +24 -0
  56. data/docs/StorageEnginesApi.md +149 -0
  57. data/docs/UsersApi.md +116 -39
  58. data/lib/spartera_api_sdk/api/alerts_api.rb +32 -32
  59. data/lib/spartera_api_sdk/api/api_keys_api.rb +20 -20
  60. data/lib/spartera_api_sdk/api/asset_price_history_api.rb +36 -36
  61. data/lib/spartera_api_sdk/api/assets_api.rb +52 -328
  62. data/lib/spartera_api_sdk/api/cloud_providers_api.rb +8 -185
  63. data/lib/spartera_api_sdk/api/companies_api.rb +36 -36
  64. data/lib/spartera_api_sdk/api/connections_api.rb +30 -30
  65. data/lib/spartera_api_sdk/api/favorites_api.rb +38 -38
  66. data/lib/spartera_api_sdk/api/storage_engines_api.rb +150 -0
  67. data/lib/spartera_api_sdk/api/users_api.rb +77 -22
  68. data/lib/spartera_api_sdk/configuration.rb +2 -10
  69. data/lib/spartera_api_sdk/models/companies_company_id_api_keys_get200_response.rb +248 -0
  70. data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_delete200_response.rb +264 -0
  71. data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_delete200_response_data.rb +238 -0
  72. data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_get200_response.rb +264 -0
  73. data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_patch200_response.rb +264 -0
  74. data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_patch200_response_data.rb +238 -0
  75. data/lib/spartera_api_sdk/models/companies_company_id_assets_get200_response.rb +266 -0
  76. data/lib/spartera_api_sdk/models/companies_company_id_assets_post200_response.rb +264 -0
  77. data/lib/spartera_api_sdk/models/companies_company_id_assets_post200_response_data.rb +238 -0
  78. data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_delete200_response.rb +264 -0
  79. data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_delete200_response_data.rb +238 -0
  80. data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_get200_response.rb +264 -0
  81. data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_patch200_response.rb +264 -0
  82. data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_patch200_response_data.rb +238 -0
  83. data/lib/spartera_api_sdk/models/companies_company_id_connections_get200_response.rb +266 -0
  84. data/lib/spartera_api_sdk/models/companies_company_id_connections_post200_response.rb +264 -0
  85. data/lib/spartera_api_sdk/models/companies_company_id_connections_post200_response_data.rb +238 -0
  86. data/lib/spartera_api_sdk/models/companies_company_id_users_get200_response.rb +266 -0
  87. data/lib/spartera_api_sdk/models/companies_company_id_users_post200_response.rb +264 -0
  88. data/lib/spartera_api_sdk/models/companies_company_id_users_post200_response_data.rb +238 -0
  89. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response.rb +264 -0
  90. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response_data.rb +238 -0
  91. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_get200_response.rb +264 -0
  92. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response.rb +264 -0
  93. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response_data.rb +238 -0
  94. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_get200_response.rb +266 -0
  95. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_post200_response.rb +264 -0
  96. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_post200_response_data.rb +238 -0
  97. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_delete200_response.rb +264 -0
  98. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_delete200_response_data.rb +238 -0
  99. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response.rb +264 -0
  100. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response_data.rb +238 -0
  101. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_get200_response.rb +264 -0
  102. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response.rb +264 -0
  103. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response_data.rb +238 -0
  104. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_get200_response.rb +266 -0
  105. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_post200_response.rb +264 -0
  106. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_post200_response_data.rb +238 -0
  107. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_get200_response.rb +264 -0
  108. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_patch200_response.rb +264 -0
  109. data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_patch200_response_data.rb +238 -0
  110. data/lib/spartera_api_sdk/models/me_get200_response.rb +417 -0
  111. data/lib/spartera_api_sdk/models/me_get200_response_api_key_info.rb +232 -0
  112. data/lib/spartera_api_sdk/models/me_get200_response_profile.rb +345 -0
  113. data/lib/spartera_api_sdk/models/me_get200_response_token_metadata.rb +252 -0
  114. data/lib/spartera_api_sdk/version.rb +1 -1
  115. data/lib/spartera_api_sdk.rb +46 -0
  116. data/spec/api/alerts_api_spec.rb +9 -9
  117. data/spec/api/api_keys_api_spec.rb +5 -5
  118. data/spec/api/asset_price_history_api_spec.rb +10 -10
  119. data/spec/api/assets_api_spec.rb +14 -64
  120. data/spec/api/cloud_providers_api_spec.rb +2 -34
  121. data/spec/api/companies_api_spec.rb +9 -9
  122. data/spec/api/connections_api_spec.rb +8 -8
  123. data/spec/api/favorites_api_spec.rb +11 -11
  124. data/spec/api/storage_engines_api_spec.rb +58 -0
  125. data/spec/api/users_api_spec.rb +16 -6
  126. data/spec/models/companies_company_id_api_keys_get200_response_spec.rb +42 -0
  127. data/spec/models/companies_company_id_assets_asset_id_delete200_response_data_spec.rb +36 -0
  128. data/spec/models/companies_company_id_assets_asset_id_delete200_response_spec.rb +42 -0
  129. data/spec/models/companies_company_id_assets_asset_id_get200_response_spec.rb +42 -0
  130. data/spec/models/companies_company_id_assets_asset_id_patch200_response_data_spec.rb +36 -0
  131. data/spec/models/companies_company_id_assets_asset_id_patch200_response_spec.rb +42 -0
  132. data/spec/models/companies_company_id_assets_get200_response_spec.rb +42 -0
  133. data/spec/models/companies_company_id_assets_post200_response_data_spec.rb +36 -0
  134. data/spec/models/companies_company_id_assets_post200_response_spec.rb +42 -0
  135. data/spec/models/companies_company_id_connections_connection_id_delete200_response_data_spec.rb +36 -0
  136. data/spec/models/companies_company_id_connections_connection_id_delete200_response_spec.rb +42 -0
  137. data/spec/models/companies_company_id_connections_connection_id_get200_response_spec.rb +42 -0
  138. data/spec/models/companies_company_id_connections_connection_id_patch200_response_data_spec.rb +36 -0
  139. data/spec/models/companies_company_id_connections_connection_id_patch200_response_spec.rb +42 -0
  140. data/spec/models/companies_company_id_connections_get200_response_spec.rb +42 -0
  141. data/spec/models/companies_company_id_connections_post200_response_data_spec.rb +36 -0
  142. data/spec/models/companies_company_id_connections_post200_response_spec.rb +42 -0
  143. data/spec/models/companies_company_id_users_get200_response_spec.rb +42 -0
  144. data/spec/models/companies_company_id_users_post200_response_data_spec.rb +36 -0
  145. data/spec/models/companies_company_id_users_post200_response_spec.rb +42 -0
  146. data/spec/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response_data_spec.rb +36 -0
  147. data/spec/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response_spec.rb +42 -0
  148. data/spec/models/companies_company_id_users_user_id_alerts_alert_id_get200_response_spec.rb +42 -0
  149. data/spec/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response_data_spec.rb +36 -0
  150. data/spec/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response_spec.rb +42 -0
  151. data/spec/models/companies_company_id_users_user_id_alerts_get200_response_spec.rb +42 -0
  152. data/spec/models/companies_company_id_users_user_id_alerts_post200_response_data_spec.rb +36 -0
  153. data/spec/models/companies_company_id_users_user_id_alerts_post200_response_spec.rb +42 -0
  154. data/spec/models/companies_company_id_users_user_id_delete200_response_data_spec.rb +36 -0
  155. data/spec/models/companies_company_id_users_user_id_delete200_response_spec.rb +42 -0
  156. data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response_data_spec.rb +36 -0
  157. data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response_spec.rb +42 -0
  158. data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_get200_response_spec.rb +42 -0
  159. data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response_data_spec.rb +36 -0
  160. data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response_spec.rb +42 -0
  161. data/spec/models/companies_company_id_users_user_id_favorites_get200_response_spec.rb +42 -0
  162. data/spec/models/companies_company_id_users_user_id_favorites_post200_response_data_spec.rb +36 -0
  163. data/spec/models/companies_company_id_users_user_id_favorites_post200_response_spec.rb +42 -0
  164. data/spec/models/companies_company_id_users_user_id_get200_response_spec.rb +42 -0
  165. data/spec/models/companies_company_id_users_user_id_patch200_response_data_spec.rb +36 -0
  166. data/spec/models/companies_company_id_users_user_id_patch200_response_spec.rb +42 -0
  167. data/spec/models/me_get200_response_api_key_info_spec.rb +42 -0
  168. data/spec/models/me_get200_response_profile_spec.rb +94 -0
  169. data/spec/models/me_get200_response_spec.rb +94 -0
  170. data/spec/models/me_get200_response_token_metadata_spec.rb +54 -0
  171. metadata +208 -22
  172. data/Gemfile.lock +0 -69
@@ -24,7 +24,7 @@ module SparteraApiSdk
24
24
  # @param user_id [String]
25
25
  # @param alert_id [String]
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [Object]
27
+ # @return [CompaniesCompanyIdUsersUserIdAlertsAlertIdDelete200Response]
28
28
  def companies_company_id_users_user_id_alerts_alert_id_delete(company_id, user_id, alert_id, opts = {})
29
29
  data, _status_code, _headers = companies_company_id_users_user_id_alerts_alert_id_delete_with_http_info(company_id, user_id, alert_id, opts)
30
30
  data
@@ -35,7 +35,7 @@ module SparteraApiSdk
35
35
  # @param user_id [String]
36
36
  # @param alert_id [String]
37
37
  # @param [Hash] opts the optional parameters
38
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
38
+ # @return [Array<(CompaniesCompanyIdUsersUserIdAlertsAlertIdDelete200Response, Integer, Hash)>] CompaniesCompanyIdUsersUserIdAlertsAlertIdDelete200Response data, response status code and response headers
39
39
  def companies_company_id_users_user_id_alerts_alert_id_delete_with_http_info(company_id, user_id, alert_id, opts = {})
40
40
  if @api_client.config.debugging
41
41
  @api_client.config.logger.debug 'Calling API: AlertsApi.companies_company_id_users_user_id_alerts_alert_id_delete ...'
@@ -70,10 +70,10 @@ module SparteraApiSdk
70
70
  post_body = opts[:debug_body]
71
71
 
72
72
  # return_type
73
- return_type = opts[:debug_return_type] || 'Object'
73
+ return_type = opts[:debug_return_type] || 'CompaniesCompanyIdUsersUserIdAlertsAlertIdDelete200Response'
74
74
 
75
75
  # auth_names
76
- auth_names = opts[:debug_auth_names] || ['bearerAuth']
76
+ auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
77
77
 
78
78
  new_options = opts.merge(
79
79
  :operation => :"AlertsApi.companies_company_id_users_user_id_alerts_alert_id_delete",
@@ -97,7 +97,7 @@ module SparteraApiSdk
97
97
  # @param user_id [String]
98
98
  # @param alert_id [String]
99
99
  # @param [Hash] opts the optional parameters
100
- # @return [Object]
100
+ # @return [CompaniesCompanyIdUsersUserIdAlertsAlertIdGet200Response]
101
101
  def companies_company_id_users_user_id_alerts_alert_id_get(company_id, user_id, alert_id, opts = {})
102
102
  data, _status_code, _headers = companies_company_id_users_user_id_alerts_alert_id_get_with_http_info(company_id, user_id, alert_id, opts)
103
103
  data
@@ -108,7 +108,7 @@ module SparteraApiSdk
108
108
  # @param user_id [String]
109
109
  # @param alert_id [String]
110
110
  # @param [Hash] opts the optional parameters
111
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
111
+ # @return [Array<(CompaniesCompanyIdUsersUserIdAlertsAlertIdGet200Response, Integer, Hash)>] CompaniesCompanyIdUsersUserIdAlertsAlertIdGet200Response data, response status code and response headers
112
112
  def companies_company_id_users_user_id_alerts_alert_id_get_with_http_info(company_id, user_id, alert_id, opts = {})
113
113
  if @api_client.config.debugging
114
114
  @api_client.config.logger.debug 'Calling API: AlertsApi.companies_company_id_users_user_id_alerts_alert_id_get ...'
@@ -143,10 +143,10 @@ module SparteraApiSdk
143
143
  post_body = opts[:debug_body]
144
144
 
145
145
  # return_type
146
- return_type = opts[:debug_return_type] || 'Object'
146
+ return_type = opts[:debug_return_type] || 'CompaniesCompanyIdUsersUserIdAlertsAlertIdGet200Response'
147
147
 
148
148
  # auth_names
149
- auth_names = opts[:debug_auth_names] || ['bearerAuth']
149
+ auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
150
150
 
151
151
  new_options = opts.merge(
152
152
  :operation => :"AlertsApi.companies_company_id_users_user_id_alerts_alert_id_get",
@@ -171,7 +171,7 @@ module SparteraApiSdk
171
171
  # @param alert_id [String]
172
172
  # @param alert [Alert]
173
173
  # @param [Hash] opts the optional parameters
174
- # @return [Object]
174
+ # @return [CompaniesCompanyIdUsersUserIdAlertsAlertIdPatch200Response]
175
175
  def companies_company_id_users_user_id_alerts_alert_id_patch(company_id, user_id, alert_id, alert, opts = {})
176
176
  data, _status_code, _headers = companies_company_id_users_user_id_alerts_alert_id_patch_with_http_info(company_id, user_id, alert_id, alert, opts)
177
177
  data
@@ -183,7 +183,7 @@ module SparteraApiSdk
183
183
  # @param alert_id [String]
184
184
  # @param alert [Alert]
185
185
  # @param [Hash] opts the optional parameters
186
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
186
+ # @return [Array<(CompaniesCompanyIdUsersUserIdAlertsAlertIdPatch200Response, Integer, Hash)>] CompaniesCompanyIdUsersUserIdAlertsAlertIdPatch200Response data, response status code and response headers
187
187
  def companies_company_id_users_user_id_alerts_alert_id_patch_with_http_info(company_id, user_id, alert_id, alert, opts = {})
188
188
  if @api_client.config.debugging
189
189
  @api_client.config.logger.debug 'Calling API: AlertsApi.companies_company_id_users_user_id_alerts_alert_id_patch ...'
@@ -227,10 +227,10 @@ module SparteraApiSdk
227
227
  post_body = opts[:debug_body] || @api_client.object_to_http_body(alert)
228
228
 
229
229
  # return_type
230
- return_type = opts[:debug_return_type] || 'Object'
230
+ return_type = opts[:debug_return_type] || 'CompaniesCompanyIdUsersUserIdAlertsAlertIdPatch200Response'
231
231
 
232
232
  # auth_names
233
- auth_names = opts[:debug_auth_names] || ['bearerAuth']
233
+ auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
234
234
 
235
235
  new_options = opts.merge(
236
236
  :operation => :"AlertsApi.companies_company_id_users_user_id_alerts_alert_id_patch",
@@ -249,23 +249,23 @@ module SparteraApiSdk
249
249
  return data, status_code, headers
250
250
  end
251
251
 
252
- # Get all alerts for a specific asset (from all users) This would typically be restricted to asset owners or admins
252
+ # Get all alerts for a specific asset
253
253
  # @param company_id [String]
254
254
  # @param user_id [String]
255
255
  # @param asset_id [String]
256
256
  # @param [Hash] opts the optional parameters
257
- # @return [Object]
257
+ # @return [CompaniesCompanyIdUsersUserIdAlertsGet200Response]
258
258
  def companies_company_id_users_user_id_alerts_asset_asset_id_all_get(company_id, user_id, asset_id, opts = {})
259
259
  data, _status_code, _headers = companies_company_id_users_user_id_alerts_asset_asset_id_all_get_with_http_info(company_id, user_id, asset_id, opts)
260
260
  data
261
261
  end
262
262
 
263
- # Get all alerts for a specific asset (from all users) This would typically be restricted to asset owners or admins
263
+ # Get all alerts for a specific asset
264
264
  # @param company_id [String]
265
265
  # @param user_id [String]
266
266
  # @param asset_id [String]
267
267
  # @param [Hash] opts the optional parameters
268
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
268
+ # @return [Array<(CompaniesCompanyIdUsersUserIdAlertsGet200Response, Integer, Hash)>] CompaniesCompanyIdUsersUserIdAlertsGet200Response data, response status code and response headers
269
269
  def companies_company_id_users_user_id_alerts_asset_asset_id_all_get_with_http_info(company_id, user_id, asset_id, opts = {})
270
270
  if @api_client.config.debugging
271
271
  @api_client.config.logger.debug 'Calling API: AlertsApi.companies_company_id_users_user_id_alerts_asset_asset_id_all_get ...'
@@ -300,10 +300,10 @@ module SparteraApiSdk
300
300
  post_body = opts[:debug_body]
301
301
 
302
302
  # return_type
303
- return_type = opts[:debug_return_type] || 'Object'
303
+ return_type = opts[:debug_return_type] || 'CompaniesCompanyIdUsersUserIdAlertsGet200Response'
304
304
 
305
305
  # auth_names
306
- auth_names = opts[:debug_auth_names] || ['bearerAuth']
306
+ auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
307
307
 
308
308
  new_options = opts.merge(
309
309
  :operation => :"AlertsApi.companies_company_id_users_user_id_alerts_asset_asset_id_all_get",
@@ -322,23 +322,23 @@ module SparteraApiSdk
322
322
  return data, status_code, headers
323
323
  end
324
324
 
325
- # Get all alerts for a specific asset by the specified user Useful for checking if user already has an alert set up for an asset
325
+ # Get all alerts for a specific asset (by user)
326
326
  # @param company_id [String]
327
327
  # @param user_id [String]
328
328
  # @param asset_id [String]
329
329
  # @param [Hash] opts the optional parameters
330
- # @return [Object]
330
+ # @return [CompaniesCompanyIdUsersUserIdAlertsAlertIdGet200Response]
331
331
  def companies_company_id_users_user_id_alerts_asset_asset_id_get(company_id, user_id, asset_id, opts = {})
332
332
  data, _status_code, _headers = companies_company_id_users_user_id_alerts_asset_asset_id_get_with_http_info(company_id, user_id, asset_id, opts)
333
333
  data
334
334
  end
335
335
 
336
- # Get all alerts for a specific asset by the specified user Useful for checking if user already has an alert set up for an asset
336
+ # Get all alerts for a specific asset (by user)
337
337
  # @param company_id [String]
338
338
  # @param user_id [String]
339
339
  # @param asset_id [String]
340
340
  # @param [Hash] opts the optional parameters
341
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
341
+ # @return [Array<(CompaniesCompanyIdUsersUserIdAlertsAlertIdGet200Response, Integer, Hash)>] CompaniesCompanyIdUsersUserIdAlertsAlertIdGet200Response data, response status code and response headers
342
342
  def companies_company_id_users_user_id_alerts_asset_asset_id_get_with_http_info(company_id, user_id, asset_id, opts = {})
343
343
  if @api_client.config.debugging
344
344
  @api_client.config.logger.debug 'Calling API: AlertsApi.companies_company_id_users_user_id_alerts_asset_asset_id_get ...'
@@ -373,10 +373,10 @@ module SparteraApiSdk
373
373
  post_body = opts[:debug_body]
374
374
 
375
375
  # return_type
376
- return_type = opts[:debug_return_type] || 'Object'
376
+ return_type = opts[:debug_return_type] || 'CompaniesCompanyIdUsersUserIdAlertsAlertIdGet200Response'
377
377
 
378
378
  # auth_names
379
- auth_names = opts[:debug_auth_names] || ['bearerAuth']
379
+ auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
380
380
 
381
381
  new_options = opts.merge(
382
382
  :operation => :"AlertsApi.companies_company_id_users_user_id_alerts_asset_asset_id_get",
@@ -399,7 +399,7 @@ module SparteraApiSdk
399
399
  # @param company_id [String]
400
400
  # @param user_id [String]
401
401
  # @param [Hash] opts the optional parameters
402
- # @return [Object]
402
+ # @return [CompaniesCompanyIdUsersUserIdAlertsGet200Response]
403
403
  def companies_company_id_users_user_id_alerts_get(company_id, user_id, opts = {})
404
404
  data, _status_code, _headers = companies_company_id_users_user_id_alerts_get_with_http_info(company_id, user_id, opts)
405
405
  data
@@ -409,7 +409,7 @@ module SparteraApiSdk
409
409
  # @param company_id [String]
410
410
  # @param user_id [String]
411
411
  # @param [Hash] opts the optional parameters
412
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
412
+ # @return [Array<(CompaniesCompanyIdUsersUserIdAlertsGet200Response, Integer, Hash)>] CompaniesCompanyIdUsersUserIdAlertsGet200Response data, response status code and response headers
413
413
  def companies_company_id_users_user_id_alerts_get_with_http_info(company_id, user_id, opts = {})
414
414
  if @api_client.config.debugging
415
415
  @api_client.config.logger.debug 'Calling API: AlertsApi.companies_company_id_users_user_id_alerts_get ...'
@@ -440,10 +440,10 @@ module SparteraApiSdk
440
440
  post_body = opts[:debug_body]
441
441
 
442
442
  # return_type
443
- return_type = opts[:debug_return_type] || 'Object'
443
+ return_type = opts[:debug_return_type] || 'CompaniesCompanyIdUsersUserIdAlertsGet200Response'
444
444
 
445
445
  # auth_names
446
- auth_names = opts[:debug_auth_names] || ['bearerAuth']
446
+ auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
447
447
 
448
448
  new_options = opts.merge(
449
449
  :operation => :"AlertsApi.companies_company_id_users_user_id_alerts_get",
@@ -467,7 +467,7 @@ module SparteraApiSdk
467
467
  # @param user_id [String]
468
468
  # @param alert [Alert]
469
469
  # @param [Hash] opts the optional parameters
470
- # @return [Object]
470
+ # @return [CompaniesCompanyIdUsersUserIdAlertsPost200Response]
471
471
  def companies_company_id_users_user_id_alerts_post(company_id, user_id, alert, opts = {})
472
472
  data, _status_code, _headers = companies_company_id_users_user_id_alerts_post_with_http_info(company_id, user_id, alert, opts)
473
473
  data
@@ -478,7 +478,7 @@ module SparteraApiSdk
478
478
  # @param user_id [String]
479
479
  # @param alert [Alert]
480
480
  # @param [Hash] opts the optional parameters
481
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
481
+ # @return [Array<(CompaniesCompanyIdUsersUserIdAlertsPost200Response, Integer, Hash)>] CompaniesCompanyIdUsersUserIdAlertsPost200Response data, response status code and response headers
482
482
  def companies_company_id_users_user_id_alerts_post_with_http_info(company_id, user_id, alert, opts = {})
483
483
  if @api_client.config.debugging
484
484
  @api_client.config.logger.debug 'Calling API: AlertsApi.companies_company_id_users_user_id_alerts_post ...'
@@ -518,10 +518,10 @@ module SparteraApiSdk
518
518
  post_body = opts[:debug_body] || @api_client.object_to_http_body(alert)
519
519
 
520
520
  # return_type
521
- return_type = opts[:debug_return_type] || 'Object'
521
+ return_type = opts[:debug_return_type] || 'CompaniesCompanyIdUsersUserIdAlertsPost200Response'
522
522
 
523
523
  # auth_names
524
- auth_names = opts[:debug_auth_names] || ['bearerAuth']
524
+ auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
525
525
 
526
526
  new_options = opts.merge(
527
527
  :operation => :"AlertsApi.companies_company_id_users_user_id_alerts_post",
@@ -23,7 +23,7 @@ module SparteraApiSdk
23
23
  # @param company_id [String]
24
24
  # @param api_key_id [String]
25
25
  # @param [Hash] opts the optional parameters
26
- # @return [Object]
26
+ # @return [CompaniesCompanyIdApiKeysGet200Response]
27
27
  def companies_company_id_api_keys_api_key_id_get(company_id, api_key_id, opts = {})
28
28
  data, _status_code, _headers = companies_company_id_api_keys_api_key_id_get_with_http_info(company_id, api_key_id, opts)
29
29
  data
@@ -33,7 +33,7 @@ module SparteraApiSdk
33
33
  # @param company_id [String]
34
34
  # @param api_key_id [String]
35
35
  # @param [Hash] opts the optional parameters
36
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
36
+ # @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
37
37
  def companies_company_id_api_keys_api_key_id_get_with_http_info(company_id, api_key_id, opts = {})
38
38
  if @api_client.config.debugging
39
39
  @api_client.config.logger.debug 'Calling API: APIKeysApi.companies_company_id_api_keys_api_key_id_get ...'
@@ -64,10 +64,10 @@ module SparteraApiSdk
64
64
  post_body = opts[:debug_body]
65
65
 
66
66
  # return_type
67
- return_type = opts[:debug_return_type] || 'Object'
67
+ return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
68
68
 
69
69
  # auth_names
70
- auth_names = opts[:debug_auth_names] || ['bearerAuth']
70
+ auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
71
71
 
72
72
  new_options = opts.merge(
73
73
  :operation => :"APIKeysApi.companies_company_id_api_keys_api_key_id_get",
@@ -90,7 +90,7 @@ module SparteraApiSdk
90
90
  # @param company_id [String]
91
91
  # @param api_key_id [String]
92
92
  # @param [Hash] opts the optional parameters
93
- # @return [Object]
93
+ # @return [CompaniesCompanyIdApiKeysGet200Response]
94
94
  def companies_company_id_api_keys_api_key_id_patch(company_id, api_key_id, opts = {})
95
95
  data, _status_code, _headers = companies_company_id_api_keys_api_key_id_patch_with_http_info(company_id, api_key_id, opts)
96
96
  data
@@ -100,7 +100,7 @@ module SparteraApiSdk
100
100
  # @param company_id [String]
101
101
  # @param api_key_id [String]
102
102
  # @param [Hash] opts the optional parameters
103
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
103
+ # @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
104
104
  def companies_company_id_api_keys_api_key_id_patch_with_http_info(company_id, api_key_id, opts = {})
105
105
  if @api_client.config.debugging
106
106
  @api_client.config.logger.debug 'Calling API: APIKeysApi.companies_company_id_api_keys_api_key_id_patch ...'
@@ -131,10 +131,10 @@ module SparteraApiSdk
131
131
  post_body = opts[:debug_body]
132
132
 
133
133
  # return_type
134
- return_type = opts[:debug_return_type] || 'Object'
134
+ return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
135
135
 
136
136
  # auth_names
137
- auth_names = opts[:debug_auth_names] || ['bearerAuth']
137
+ auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
138
138
 
139
139
  new_options = opts.merge(
140
140
  :operation => :"APIKeysApi.companies_company_id_api_keys_api_key_id_patch",
@@ -156,7 +156,7 @@ module SparteraApiSdk
156
156
  # Get all API keys
157
157
  # @param company_id [String]
158
158
  # @param [Hash] opts the optional parameters
159
- # @return [Object]
159
+ # @return [CompaniesCompanyIdApiKeysGet200Response]
160
160
  def companies_company_id_api_keys_get(company_id, opts = {})
161
161
  data, _status_code, _headers = companies_company_id_api_keys_get_with_http_info(company_id, opts)
162
162
  data
@@ -165,7 +165,7 @@ module SparteraApiSdk
165
165
  # Get all API keys
166
166
  # @param company_id [String]
167
167
  # @param [Hash] opts the optional parameters
168
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
168
+ # @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
169
169
  def companies_company_id_api_keys_get_with_http_info(company_id, opts = {})
170
170
  if @api_client.config.debugging
171
171
  @api_client.config.logger.debug 'Calling API: APIKeysApi.companies_company_id_api_keys_get ...'
@@ -192,10 +192,10 @@ module SparteraApiSdk
192
192
  post_body = opts[:debug_body]
193
193
 
194
194
  # return_type
195
- return_type = opts[:debug_return_type] || 'Object'
195
+ return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
196
196
 
197
197
  # auth_names
198
- auth_names = opts[:debug_auth_names] || ['bearerAuth']
198
+ auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
199
199
 
200
200
  new_options = opts.merge(
201
201
  :operation => :"APIKeysApi.companies_company_id_api_keys_get",
@@ -217,7 +217,7 @@ module SparteraApiSdk
217
217
  # Create single API key
218
218
  # @param company_id [String]
219
219
  # @param [Hash] opts the optional parameters
220
- # @return [Object]
220
+ # @return [CompaniesCompanyIdApiKeysGet200Response]
221
221
  def companies_company_id_api_keys_post(company_id, opts = {})
222
222
  data, _status_code, _headers = companies_company_id_api_keys_post_with_http_info(company_id, opts)
223
223
  data
@@ -226,7 +226,7 @@ module SparteraApiSdk
226
226
  # Create single API key
227
227
  # @param company_id [String]
228
228
  # @param [Hash] opts the optional parameters
229
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
229
+ # @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
230
230
  def companies_company_id_api_keys_post_with_http_info(company_id, opts = {})
231
231
  if @api_client.config.debugging
232
232
  @api_client.config.logger.debug 'Calling API: APIKeysApi.companies_company_id_api_keys_post ...'
@@ -253,10 +253,10 @@ module SparteraApiSdk
253
253
  post_body = opts[:debug_body]
254
254
 
255
255
  # return_type
256
- return_type = opts[:debug_return_type] || 'Object'
256
+ return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
257
257
 
258
258
  # auth_names
259
- auth_names = opts[:debug_auth_names] || ['bearerAuth']
259
+ auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
260
260
 
261
261
  new_options = opts.merge(
262
262
  :operation => :"APIKeysApi.companies_company_id_api_keys_post",
@@ -279,7 +279,7 @@ module SparteraApiSdk
279
279
  # @param company_id [String]
280
280
  # @param token [String]
281
281
  # @param [Hash] opts the optional parameters
282
- # @return [Object]
282
+ # @return [CompaniesCompanyIdApiKeysGet200Response]
283
283
  def companies_company_id_api_keys_token_delete(company_id, token, opts = {})
284
284
  data, _status_code, _headers = companies_company_id_api_keys_token_delete_with_http_info(company_id, token, opts)
285
285
  data
@@ -289,7 +289,7 @@ module SparteraApiSdk
289
289
  # @param company_id [String]
290
290
  # @param token [String]
291
291
  # @param [Hash] opts the optional parameters
292
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
292
+ # @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
293
293
  def companies_company_id_api_keys_token_delete_with_http_info(company_id, token, opts = {})
294
294
  if @api_client.config.debugging
295
295
  @api_client.config.logger.debug 'Calling API: APIKeysApi.companies_company_id_api_keys_token_delete ...'
@@ -320,10 +320,10 @@ module SparteraApiSdk
320
320
  post_body = opts[:debug_body]
321
321
 
322
322
  # return_type
323
- return_type = opts[:debug_return_type] || 'Object'
323
+ return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
324
324
 
325
325
  # auth_names
326
- auth_names = opts[:debug_auth_names] || ['bearerAuth']
326
+ auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
327
327
 
328
328
  new_options = opts.merge(
329
329
  :operation => :"APIKeysApi.companies_company_id_api_keys_token_delete",
@@ -23,7 +23,7 @@ module SparteraApiSdk
23
23
  # @param company_id [String]
24
24
  # @param asset_id [String]
25
25
  # @param [Hash] opts the optional parameters
26
- # @return [Object]
26
+ # @return [CompaniesCompanyIdApiKeysGet200Response]
27
27
  def companies_company_id_assets_asset_id_prices_active_get(company_id, asset_id, opts = {})
28
28
  data, _status_code, _headers = companies_company_id_assets_asset_id_prices_active_get_with_http_info(company_id, asset_id, opts)
29
29
  data
@@ -33,7 +33,7 @@ module SparteraApiSdk
33
33
  # @param company_id [String]
34
34
  # @param asset_id [String]
35
35
  # @param [Hash] opts the optional parameters
36
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
36
+ # @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
37
37
  def companies_company_id_assets_asset_id_prices_active_get_with_http_info(company_id, asset_id, opts = {})
38
38
  if @api_client.config.debugging
39
39
  @api_client.config.logger.debug 'Calling API: AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_active_get ...'
@@ -64,10 +64,10 @@ module SparteraApiSdk
64
64
  post_body = opts[:debug_body]
65
65
 
66
66
  # return_type
67
- return_type = opts[:debug_return_type] || 'Object'
67
+ return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
68
68
 
69
69
  # auth_names
70
- auth_names = opts[:debug_auth_names] || ['bearerAuth']
70
+ auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
71
71
 
72
72
  new_options = opts.merge(
73
73
  :operation => :"AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_active_get",
@@ -91,7 +91,7 @@ module SparteraApiSdk
91
91
  # @param asset_id [String]
92
92
  # @param aph_id [String]
93
93
  # @param [Hash] opts the optional parameters
94
- # @return [Object]
94
+ # @return [CompaniesCompanyIdApiKeysGet200Response]
95
95
  def companies_company_id_assets_asset_id_prices_aph_id_delete(company_id, asset_id, aph_id, opts = {})
96
96
  data, _status_code, _headers = companies_company_id_assets_asset_id_prices_aph_id_delete_with_http_info(company_id, asset_id, aph_id, opts)
97
97
  data
@@ -102,7 +102,7 @@ module SparteraApiSdk
102
102
  # @param asset_id [String]
103
103
  # @param aph_id [String]
104
104
  # @param [Hash] opts the optional parameters
105
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
105
+ # @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
106
106
  def companies_company_id_assets_asset_id_prices_aph_id_delete_with_http_info(company_id, asset_id, aph_id, opts = {})
107
107
  if @api_client.config.debugging
108
108
  @api_client.config.logger.debug 'Calling API: AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_aph_id_delete ...'
@@ -137,10 +137,10 @@ module SparteraApiSdk
137
137
  post_body = opts[:debug_body]
138
138
 
139
139
  # return_type
140
- return_type = opts[:debug_return_type] || 'Object'
140
+ return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
141
141
 
142
142
  # auth_names
143
- auth_names = opts[:debug_auth_names] || ['bearerAuth']
143
+ auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
144
144
 
145
145
  new_options = opts.merge(
146
146
  :operation => :"AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_aph_id_delete",
@@ -164,7 +164,7 @@ module SparteraApiSdk
164
164
  # @param asset_id [String]
165
165
  # @param aph_id [String]
166
166
  # @param [Hash] opts the optional parameters
167
- # @return [Object]
167
+ # @return [CompaniesCompanyIdApiKeysGet200Response]
168
168
  def companies_company_id_assets_asset_id_prices_aph_id_get(company_id, asset_id, aph_id, opts = {})
169
169
  data, _status_code, _headers = companies_company_id_assets_asset_id_prices_aph_id_get_with_http_info(company_id, asset_id, aph_id, opts)
170
170
  data
@@ -175,7 +175,7 @@ module SparteraApiSdk
175
175
  # @param asset_id [String]
176
176
  # @param aph_id [String]
177
177
  # @param [Hash] opts the optional parameters
178
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
178
+ # @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
179
179
  def companies_company_id_assets_asset_id_prices_aph_id_get_with_http_info(company_id, asset_id, aph_id, opts = {})
180
180
  if @api_client.config.debugging
181
181
  @api_client.config.logger.debug 'Calling API: AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_aph_id_get ...'
@@ -210,10 +210,10 @@ module SparteraApiSdk
210
210
  post_body = opts[:debug_body]
211
211
 
212
212
  # return_type
213
- return_type = opts[:debug_return_type] || 'Object'
213
+ return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
214
214
 
215
215
  # auth_names
216
- auth_names = opts[:debug_auth_names] || ['bearerAuth']
216
+ auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
217
217
 
218
218
  new_options = opts.merge(
219
219
  :operation => :"AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_aph_id_get",
@@ -237,7 +237,7 @@ module SparteraApiSdk
237
237
  # @param asset_id [String]
238
238
  # @param aph_id [String]
239
239
  # @param [Hash] opts the optional parameters
240
- # @return [Object]
240
+ # @return [CompaniesCompanyIdApiKeysGet200Response]
241
241
  def companies_company_id_assets_asset_id_prices_aph_id_patch(company_id, asset_id, aph_id, opts = {})
242
242
  data, _status_code, _headers = companies_company_id_assets_asset_id_prices_aph_id_patch_with_http_info(company_id, asset_id, aph_id, opts)
243
243
  data
@@ -248,7 +248,7 @@ module SparteraApiSdk
248
248
  # @param asset_id [String]
249
249
  # @param aph_id [String]
250
250
  # @param [Hash] opts the optional parameters
251
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
251
+ # @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
252
252
  def companies_company_id_assets_asset_id_prices_aph_id_patch_with_http_info(company_id, asset_id, aph_id, opts = {})
253
253
  if @api_client.config.debugging
254
254
  @api_client.config.logger.debug 'Calling API: AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_aph_id_patch ...'
@@ -283,10 +283,10 @@ module SparteraApiSdk
283
283
  post_body = opts[:debug_body]
284
284
 
285
285
  # return_type
286
- return_type = opts[:debug_return_type] || 'Object'
286
+ return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
287
287
 
288
288
  # auth_names
289
- auth_names = opts[:debug_auth_names] || ['bearerAuth']
289
+ auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
290
290
 
291
291
  new_options = opts.merge(
292
292
  :operation => :"AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_aph_id_patch",
@@ -305,21 +305,21 @@ module SparteraApiSdk
305
305
  return data, status_code, headers
306
306
  end
307
307
 
308
- # Calculate the credit equivalent for a given USD price without saving
308
+ # POST /companies/{company_id}/assets/{asset_id}/prices/calculate_credits
309
309
  # @param company_id [String]
310
310
  # @param asset_id [String]
311
311
  # @param [Hash] opts the optional parameters
312
- # @return [Object]
312
+ # @return [CompaniesCompanyIdApiKeysGet200Response]
313
313
  def companies_company_id_assets_asset_id_prices_calculate_credits_post(company_id, asset_id, opts = {})
314
314
  data, _status_code, _headers = companies_company_id_assets_asset_id_prices_calculate_credits_post_with_http_info(company_id, asset_id, opts)
315
315
  data
316
316
  end
317
317
 
318
- # Calculate the credit equivalent for a given USD price without saving
318
+ # POST /companies/{company_id}/assets/{asset_id}/prices/calculate_credits
319
319
  # @param company_id [String]
320
320
  # @param asset_id [String]
321
321
  # @param [Hash] opts the optional parameters
322
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
322
+ # @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
323
323
  def companies_company_id_assets_asset_id_prices_calculate_credits_post_with_http_info(company_id, asset_id, opts = {})
324
324
  if @api_client.config.debugging
325
325
  @api_client.config.logger.debug 'Calling API: AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_calculate_credits_post ...'
@@ -350,10 +350,10 @@ module SparteraApiSdk
350
350
  post_body = opts[:debug_body]
351
351
 
352
352
  # return_type
353
- return_type = opts[:debug_return_type] || 'Object'
353
+ return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
354
354
 
355
355
  # auth_names
356
- auth_names = opts[:debug_auth_names] || ['bearerAuth']
356
+ auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
357
357
 
358
358
  new_options = opts.merge(
359
359
  :operation => :"AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_calculate_credits_post",
@@ -372,21 +372,21 @@ module SparteraApiSdk
372
372
  return data, status_code, headers
373
373
  end
374
374
 
375
- # Apply a discount to the active price for an asset
375
+ # POST /companies/{company_id}/assets/{asset_id}/prices/discount
376
376
  # @param company_id [String]
377
377
  # @param asset_id [String]
378
378
  # @param [Hash] opts the optional parameters
379
- # @return [Object]
379
+ # @return [CompaniesCompanyIdApiKeysGet200Response]
380
380
  def companies_company_id_assets_asset_id_prices_discount_post(company_id, asset_id, opts = {})
381
381
  data, _status_code, _headers = companies_company_id_assets_asset_id_prices_discount_post_with_http_info(company_id, asset_id, opts)
382
382
  data
383
383
  end
384
384
 
385
- # Apply a discount to the active price for an asset
385
+ # POST /companies/{company_id}/assets/{asset_id}/prices/discount
386
386
  # @param company_id [String]
387
387
  # @param asset_id [String]
388
388
  # @param [Hash] opts the optional parameters
389
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
389
+ # @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
390
390
  def companies_company_id_assets_asset_id_prices_discount_post_with_http_info(company_id, asset_id, opts = {})
391
391
  if @api_client.config.debugging
392
392
  @api_client.config.logger.debug 'Calling API: AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_discount_post ...'
@@ -417,10 +417,10 @@ module SparteraApiSdk
417
417
  post_body = opts[:debug_body]
418
418
 
419
419
  # return_type
420
- return_type = opts[:debug_return_type] || 'Object'
420
+ return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
421
421
 
422
422
  # auth_names
423
- auth_names = opts[:debug_auth_names] || ['bearerAuth']
423
+ auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
424
424
 
425
425
  new_options = opts.merge(
426
426
  :operation => :"AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_discount_post",
@@ -443,7 +443,7 @@ module SparteraApiSdk
443
443
  # @param company_id [String]
444
444
  # @param asset_id [String]
445
445
  # @param [Hash] opts the optional parameters
446
- # @return [Object]
446
+ # @return [CompaniesCompanyIdApiKeysGet200Response]
447
447
  def companies_company_id_assets_asset_id_prices_get(company_id, asset_id, opts = {})
448
448
  data, _status_code, _headers = companies_company_id_assets_asset_id_prices_get_with_http_info(company_id, asset_id, opts)
449
449
  data
@@ -453,7 +453,7 @@ module SparteraApiSdk
453
453
  # @param company_id [String]
454
454
  # @param asset_id [String]
455
455
  # @param [Hash] opts the optional parameters
456
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
456
+ # @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
457
457
  def companies_company_id_assets_asset_id_prices_get_with_http_info(company_id, asset_id, opts = {})
458
458
  if @api_client.config.debugging
459
459
  @api_client.config.logger.debug 'Calling API: AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_get ...'
@@ -484,10 +484,10 @@ module SparteraApiSdk
484
484
  post_body = opts[:debug_body]
485
485
 
486
486
  # return_type
487
- return_type = opts[:debug_return_type] || 'Object'
487
+ return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
488
488
 
489
489
  # auth_names
490
- auth_names = opts[:debug_auth_names] || ['bearerAuth']
490
+ auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
491
491
 
492
492
  new_options = opts.merge(
493
493
  :operation => :"AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_get",
@@ -510,7 +510,7 @@ module SparteraApiSdk
510
510
  # @param company_id [String]
511
511
  # @param asset_id [String]
512
512
  # @param [Hash] opts the optional parameters
513
- # @return [Object]
513
+ # @return [CompaniesCompanyIdApiKeysGet200Response]
514
514
  def companies_company_id_assets_asset_id_prices_post(company_id, asset_id, opts = {})
515
515
  data, _status_code, _headers = companies_company_id_assets_asset_id_prices_post_with_http_info(company_id, asset_id, opts)
516
516
  data
@@ -520,7 +520,7 @@ module SparteraApiSdk
520
520
  # @param company_id [String]
521
521
  # @param asset_id [String]
522
522
  # @param [Hash] opts the optional parameters
523
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
523
+ # @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
524
524
  def companies_company_id_assets_asset_id_prices_post_with_http_info(company_id, asset_id, opts = {})
525
525
  if @api_client.config.debugging
526
526
  @api_client.config.logger.debug 'Calling API: AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_post ...'
@@ -551,10 +551,10 @@ module SparteraApiSdk
551
551
  post_body = opts[:debug_body]
552
552
 
553
553
  # return_type
554
- return_type = opts[:debug_return_type] || 'Object'
554
+ return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
555
555
 
556
556
  # auth_names
557
- auth_names = opts[:debug_auth_names] || ['bearerAuth']
557
+ auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
558
558
 
559
559
  new_options = opts.merge(
560
560
  :operation => :"AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_post",