spartera_api_sdk 1.0.74 → 1.0.77
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.
- checksums.yaml +4 -4
- data/docs/APIKeysApi.md +210 -60
- data/docs/Alerts.md +30 -0
- data/docs/AlertsApi.md +20 -20
- data/docs/AlertsInput.md +24 -0
- data/docs/AlertsUpdate.md +24 -0
- data/docs/{CompaniesCompanyIdUsersUserIdAlertsAlertIdGet200Response.md → AnalyzeCompanyHandleAssetsAssetSlugGet200Response.md} +3 -3
- data/docs/ApiKeys.md +32 -0
- data/docs/ApiKeysInput.md +26 -0
- data/docs/ApiKeysUpdate.md +26 -0
- data/docs/AssetPriceHistory.md +28 -0
- data/docs/AssetPriceHistoryApi.md +56 -48
- data/docs/AssetPriceHistoryInput.md +22 -0
- data/docs/AssetPriceHistoryUpdate.md +22 -0
- data/docs/Assets.md +108 -0
- data/docs/AssetsApi.md +28 -28
- data/docs/AssetsInput.md +94 -0
- data/docs/AssetsUpdate.md +94 -0
- data/docs/{Cloudprovider.md → CloudProviders.md} +8 -10
- data/docs/CloudProvidersApi.md +8 -8
- data/docs/{CompaniesCompanyIdAssetsAssetIdGet200Response.md → CloudProvidersGet200Response.md} +3 -3
- data/docs/CloudProvidersInput.md +22 -0
- data/docs/CloudProvidersProviderIdGet200Response.md +20 -0
- data/docs/CloudProvidersProviderIdStorageEnginesGet200Response.md +20 -0
- data/docs/CloudProvidersUpdate.md +22 -0
- data/docs/{Company.md → Companies.md} +13 -15
- data/docs/CompaniesApi.md +41 -39
- data/docs/CompaniesCompanyIdAnalyticsAssetsGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdApiKeysApiKeyIdDelete200Response.md +20 -0
- data/docs/CompaniesCompanyIdApiKeysApiKeyIdDelete200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdApiKeysApiKeyIdGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdApiKeysApiKeyIdPatch200Response.md +20 -0
- data/docs/CompaniesCompanyIdApiKeysApiKeyIdPatch200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdApiKeysGet200Response.md +1 -1
- data/docs/CompaniesCompanyIdApiKeysPost200Response.md +20 -0
- data/docs/CompaniesCompanyIdApiKeysPost200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdPricesAphIdDelete200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdPricesAphIdDelete200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdPricesAphIdGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdPricesAphIdPatch200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdPricesAphIdPatch200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdPricesGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdPricesPost200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdPricesPost200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdAssetsGet200Response.md +1 -1
- data/docs/CompaniesCompanyIdConnectionsConnectionIdGet200Response.md +1 -1
- data/docs/CompaniesCompanyIdConnectionsGet200Response.md +1 -1
- data/docs/CompaniesCompanyIdGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdPatch200Response.md +20 -0
- data/docs/CompaniesCompanyIdPatch200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersGet200Response.md +1 -1
- data/docs/CompaniesCompanyIdUsersUserIdAlertsAssetAssetIdGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsGet200Response.md +1 -1
- data/docs/{CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdGet200Response.md → CompaniesCompanyIdUsersUserIdFavoritesCategoryCategoryGet200Response.md} +3 -3
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesGet200Response.md +1 -1
- data/docs/CompaniesCompanyIdUsersUserIdGet200Response.md +1 -1
- data/docs/CompaniesInput.md +36 -0
- data/docs/CompaniesUpdate.md +36 -0
- data/docs/Connections.md +38 -0
- data/docs/ConnectionsApi.md +12 -12
- data/docs/ConnectionsInput.md +32 -0
- data/docs/ConnectionsUpdate.md +32 -0
- data/docs/Favorites.md +34 -0
- data/docs/FavoritesApi.md +24 -24
- data/docs/FavoritesInput.md +28 -0
- data/docs/FavoritesUpdate.md +28 -0
- data/docs/JobFunctions.md +24 -0
- data/docs/JobFunctionsApi.md +144 -0
- data/docs/JobFunctionsFunctionIdGet200Response.md +20 -0
- data/docs/JobFunctionsGet200Response.md +20 -0
- data/docs/JobFunctionsInput.md +18 -0
- data/docs/JobFunctionsUpdate.md +18 -0
- data/docs/StorageEnginesApi.md +8 -8
- data/docs/{User.md → Users.md} +9 -11
- data/docs/UsersApi.md +20 -20
- data/docs/UsersInput.md +26 -0
- data/docs/UsersUpdate.md +26 -0
- data/lib/spartera_api_sdk/api/alerts_api.rb +25 -25
- data/lib/spartera_api_sdk/api/api_keys_api.rb +222 -55
- data/lib/spartera_api_sdk/api/asset_price_history_api.rb +87 -43
- data/lib/spartera_api_sdk/api/assets_api.rb +37 -37
- data/lib/spartera_api_sdk/api/cloud_providers_api.rb +7 -7
- data/lib/spartera_api_sdk/api/companies_api.rb +43 -32
- data/lib/spartera_api_sdk/api/connections_api.rb +19 -19
- data/lib/spartera_api_sdk/api/favorites_api.rb +28 -28
- data/lib/spartera_api_sdk/api/job_functions_api.rb +138 -0
- data/lib/spartera_api_sdk/api/storage_engines_api.rb +7 -7
- data/lib/spartera_api_sdk/api/users_api.rb +24 -24
- data/lib/spartera_api_sdk/api_client.rb +1 -1
- data/lib/spartera_api_sdk/api_error.rb +1 -1
- data/lib/spartera_api_sdk/configuration.rb +1 -1
- data/lib/spartera_api_sdk/models/{alert.rb → alerts.rb} +38 -64
- data/lib/spartera_api_sdk/models/alerts_input.rb +283 -0
- data/lib/spartera_api_sdk/models/{me_get200_response_token_metadata.rb → alerts_update.rb} +31 -34
- data/lib/spartera_api_sdk/models/analyze_company_handle_assets_asset_slug_get200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/{apikey.rb → api_keys.rb} +34 -64
- data/lib/spartera_api_sdk/models/api_keys_input.rb +296 -0
- data/lib/spartera_api_sdk/models/api_keys_update.rb +262 -0
- data/lib/spartera_api_sdk/models/{assetpricehistory.rb → asset_price_history.rb} +27 -88
- data/lib/spartera_api_sdk/models/asset_price_history_input.rb +257 -0
- data/lib/spartera_api_sdk/models/asset_price_history_update.rb +240 -0
- data/lib/spartera_api_sdk/models/assets.rb +879 -0
- data/lib/spartera_api_sdk/models/{asset.rb → assets_input.rb} +160 -95
- data/lib/spartera_api_sdk/models/assets_update.rb +710 -0
- data/lib/spartera_api_sdk/models/{cloudprovider.rb → cloud_providers.rb} +27 -36
- data/lib/spartera_api_sdk/models/cloud_providers_get200_response.rb +266 -0
- data/lib/spartera_api_sdk/models/cloud_providers_input.rb +256 -0
- data/lib/spartera_api_sdk/models/{companies_company_id_assets_asset_id_get200_response.rb → cloud_providers_provider_id_get200_response.rb} +5 -5
- data/lib/spartera_api_sdk/models/cloud_providers_provider_id_storage_engines_get200_response.rb +246 -0
- data/lib/spartera_api_sdk/models/cloud_providers_update.rb +239 -0
- data/lib/spartera_api_sdk/models/{company.rb → companies.rb} +33 -39
- data/lib/spartera_api_sdk/models/companies_company_id_analytics_assets_get200_response.rb +266 -0
- data/lib/spartera_api_sdk/models/companies_company_id_api_keys_api_key_id_delete200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_api_keys_api_key_id_delete200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_api_keys_api_key_id_get200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_api_keys_api_key_id_patch200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_api_keys_api_key_id_patch200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_api_keys_get200_response.rb +22 -4
- data/lib/spartera_api_sdk/models/companies_company_id_api_keys_post200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_api_keys_post200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_delete200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_delete200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_patch200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_patch200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_prices_aph_id_delete200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_prices_aph_id_delete200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/{companies_company_id_users_user_id_alerts_alert_id_get200_response.rb → companies_company_id_assets_asset_id_prices_aph_id_get200_response.rb} +5 -5
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_prices_aph_id_patch200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_prices_aph_id_patch200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_prices_get200_response.rb +266 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_prices_post200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_prices_post200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_get200_response.rb +2 -2
- data/lib/spartera_api_sdk/models/companies_company_id_assets_post200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_assets_post200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_delete200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_delete200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_get200_response.rb +2 -2
- data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_patch200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_patch200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_connections_get200_response.rb +2 -2
- data/lib/spartera_api_sdk/models/companies_company_id_connections_post200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_connections_post200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_get200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_patch200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_patch200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_get200_response.rb +2 -2
- data/lib/spartera_api_sdk/models/companies_company_id_users_post200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_post200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_asset_asset_id_get200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_get200_response.rb +2 -2
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_post200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_post200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_delete200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_delete200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/{companies_company_id_users_user_id_favorites_favorite_id_get200_response.rb → companies_company_id_users_user_id_favorites_category_category_get200_response.rb} +5 -5
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_get200_response.rb +2 -2
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_post200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_post200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_get200_response.rb +2 -2
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_patch200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_patch200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_input.rb +339 -0
- data/lib/spartera_api_sdk/models/companies_update.rb +305 -0
- data/lib/spartera_api_sdk/models/{connection.rb → connections.rb} +57 -111
- data/lib/spartera_api_sdk/models/connections_input.rb +353 -0
- data/lib/spartera_api_sdk/models/connections_update.rb +319 -0
- data/lib/spartera_api_sdk/models/error.rb +1 -1
- data/lib/spartera_api_sdk/models/{favorite.rb → favorites.rb} +30 -36
- data/lib/spartera_api_sdk/models/favorites_input.rb +303 -0
- data/lib/spartera_api_sdk/models/favorites_update.rb +269 -0
- data/lib/spartera_api_sdk/models/inline_object.rb +1 -1
- data/lib/spartera_api_sdk/models/inline_object1.rb +1 -1
- data/lib/spartera_api_sdk/models/inline_object2.rb +1 -1
- data/lib/spartera_api_sdk/models/inline_object3.rb +1 -1
- data/lib/spartera_api_sdk/models/job_functions.rb +282 -0
- data/lib/spartera_api_sdk/models/job_functions_function_id_get200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/job_functions_get200_response.rb +266 -0
- data/lib/spartera_api_sdk/models/{me_get200_response_api_key_info.rb → job_functions_input.rb} +29 -23
- data/lib/spartera_api_sdk/models/job_functions_update.rb +221 -0
- data/lib/spartera_api_sdk/models/{user.rb → users.rb} +56 -40
- data/lib/spartera_api_sdk/models/{me_get200_response_profile.rb → users_input.rb} +35 -71
- data/lib/spartera_api_sdk/models/users_update.rb +292 -0
- data/lib/spartera_api_sdk/version.rb +1 -1
- data/lib/spartera_api_sdk.rb +59 -17
- data/spec/api/alerts_api_spec.rb +5 -5
- data/spec/api/api_keys_api_spec.rb +43 -16
- data/spec/api/asset_price_history_api_spec.rb +14 -10
- data/spec/api/assets_api_spec.rb +7 -7
- data/spec/api/cloud_providers_api_spec.rb +3 -3
- data/spec/api/companies_api_spec.rb +11 -10
- data/spec/api/connections_api_spec.rb +3 -3
- data/spec/api/favorites_api_spec.rb +6 -6
- data/spec/api/job_functions_api_spec.rb +56 -0
- data/spec/api/storage_engines_api_spec.rb +3 -3
- data/spec/api/users_api_spec.rb +5 -5
- data/spec/models/{me_get200_response_token_metadata_spec.rb → alerts_input_spec.rb} +11 -11
- data/spec/models/alerts_spec.rb +72 -0
- data/spec/models/alerts_update_spec.rb +54 -0
- data/spec/models/analyze_company_handle_assets_asset_slug_get200_response_spec.rb +42 -0
- data/spec/models/api_keys_input_spec.rb +60 -0
- data/spec/models/{apikey_spec.rb → api_keys_spec.rb} +15 -27
- data/spec/models/api_keys_update_spec.rb +60 -0
- data/spec/models/asset_price_history_input_spec.rb +48 -0
- data/spec/models/asset_price_history_spec.rb +66 -0
- data/spec/models/asset_price_history_update_spec.rb +48 -0
- data/spec/models/assets_input_spec.rb +300 -0
- data/spec/models/{asset_spec.rb → assets_spec.rb} +59 -25
- data/spec/models/assets_update_spec.rb +300 -0
- data/spec/models/cloud_providers_get200_response_spec.rb +42 -0
- data/spec/models/cloud_providers_input_spec.rb +48 -0
- data/spec/models/cloud_providers_provider_id_get200_response_spec.rb +42 -0
- data/spec/models/cloud_providers_provider_id_storage_engines_get200_response_spec.rb +42 -0
- data/spec/models/{cloudprovider_spec.rb → cloud_providers_spec.rb} +13 -19
- data/spec/models/cloud_providers_update_spec.rb +48 -0
- data/spec/models/companies_company_id_analytics_assets_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_api_keys_api_key_id_delete200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_api_keys_api_key_id_delete200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_api_keys_api_key_id_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_api_keys_api_key_id_patch200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_api_keys_api_key_id_patch200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_api_keys_get200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_api_keys_post200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_api_keys_post200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_assets_asset_id_delete200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_assets_asset_id_delete200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_assets_asset_id_patch200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_assets_asset_id_patch200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_assets_asset_id_prices_aph_id_delete200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_assets_asset_id_prices_aph_id_delete200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_assets_asset_id_prices_aph_id_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_assets_asset_id_prices_aph_id_patch200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_assets_asset_id_prices_aph_id_patch200_response_spec.rb +42 -0
- data/spec/models/{companies_company_id_assets_asset_id_get200_response_spec.rb → companies_company_id_assets_asset_id_prices_get200_response_spec.rb} +7 -7
- data/spec/models/companies_company_id_assets_asset_id_prices_post200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_assets_asset_id_prices_post200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_assets_get200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_assets_post200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_assets_post200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_connections_connection_id_delete200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_connections_connection_id_delete200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_connections_connection_id_get200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_connections_connection_id_patch200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_connections_connection_id_patch200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_connections_get200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_connections_post200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_connections_post200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_patch200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_patch200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_get200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_users_post200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_users_post200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response_spec.rb +1 -1
- data/spec/models/{companies_company_id_users_user_id_alerts_alert_id_get200_response_spec.rb → companies_company_id_users_user_id_alerts_asset_asset_id_get200_response_spec.rb} +7 -7
- data/spec/models/companies_company_id_users_user_id_alerts_get200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_alerts_post200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_alerts_post200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_delete200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_delete200_response_spec.rb +1 -1
- data/spec/models/{companies_company_id_users_user_id_favorites_favorite_id_get200_response_spec.rb → companies_company_id_users_user_id_favorites_category_category_get200_response_spec.rb} +7 -7
- data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_favorites_get200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_favorites_post200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_favorites_post200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_get200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_patch200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_patch200_response_spec.rb +1 -1
- data/spec/models/{alert_spec.rb → companies_input_spec.rb} +17 -17
- data/spec/models/{company_spec.rb → companies_spec.rb} +19 -25
- data/spec/models/companies_update_spec.rb +90 -0
- data/spec/models/connections_input_spec.rb +82 -0
- data/spec/models/{me_get200_response_profile_spec.rb → connections_spec.rb} +27 -21
- data/spec/models/connections_update_spec.rb +82 -0
- data/spec/models/error_spec.rb +1 -1
- data/spec/models/favorites_input_spec.rb +66 -0
- data/spec/models/{favorite_spec.rb → favorites_spec.rb} +16 -22
- data/spec/models/favorites_update_spec.rb +66 -0
- data/spec/models/inline_object1_spec.rb +1 -1
- data/spec/models/inline_object2_spec.rb +1 -1
- data/spec/models/inline_object3_spec.rb +1 -1
- data/spec/models/inline_object_spec.rb +1 -1
- data/spec/models/job_functions_function_id_get200_response_spec.rb +42 -0
- data/spec/models/{me_get200_response_api_key_info_spec.rb → job_functions_get200_response_spec.rb} +9 -9
- data/spec/models/job_functions_input_spec.rb +36 -0
- data/spec/models/job_functions_spec.rb +54 -0
- data/spec/models/job_functions_update_spec.rb +36 -0
- data/spec/models/users_input_spec.rb +64 -0
- data/spec/models/{user_spec.rb → users_spec.rb} +19 -21
- data/spec/models/users_update_spec.rb +64 -0
- metadata +285 -123
- data/docs/Alert.md +0 -36
- data/docs/Apikey.md +0 -36
- data/docs/Asset.md +0 -110
- data/docs/Assetpricehistory.md +0 -38
- data/docs/Connection.md +0 -54
- data/docs/Favorite.md +0 -36
- data/docs/MeGet200Response.md +0 -36
- data/docs/MeGet200ResponseApiKeyInfo.md +0 -20
- data/docs/MeGet200ResponseProfile.md +0 -36
- data/docs/MeGet200ResponseTokenMetadata.md +0 -24
- data/example.rb +0 -51
- data/lib/spartera_api_sdk/models/me_get200_response.rb +0 -417
- data/spec/models/assetpricehistory_spec.rb +0 -96
- data/spec/models/connection_spec.rb +0 -144
- data/spec/models/me_get200_response_spec.rb +0 -94
- data/spec/spec_helper.rb +0 -111
data/lib/spartera_api_sdk.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Auto-generated API documentation for REST services of the Spartera platform
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document:
|
|
6
|
+
The version of the OpenAPI document: 1.24.0
|
|
7
7
|
Contact: support@spartera.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.13.0
|
|
@@ -17,17 +17,47 @@ require 'spartera_api_sdk/version'
|
|
|
17
17
|
require 'spartera_api_sdk/configuration'
|
|
18
18
|
|
|
19
19
|
# Models
|
|
20
|
-
require 'spartera_api_sdk/models/
|
|
21
|
-
require 'spartera_api_sdk/models/
|
|
22
|
-
require 'spartera_api_sdk/models/
|
|
23
|
-
require 'spartera_api_sdk/models/
|
|
24
|
-
require 'spartera_api_sdk/models/
|
|
20
|
+
require 'spartera_api_sdk/models/alerts'
|
|
21
|
+
require 'spartera_api_sdk/models/alerts_input'
|
|
22
|
+
require 'spartera_api_sdk/models/alerts_update'
|
|
23
|
+
require 'spartera_api_sdk/models/analyze_company_handle_assets_asset_slug_get200_response'
|
|
24
|
+
require 'spartera_api_sdk/models/api_keys'
|
|
25
|
+
require 'spartera_api_sdk/models/api_keys_input'
|
|
26
|
+
require 'spartera_api_sdk/models/api_keys_update'
|
|
27
|
+
require 'spartera_api_sdk/models/asset_price_history'
|
|
28
|
+
require 'spartera_api_sdk/models/asset_price_history_input'
|
|
29
|
+
require 'spartera_api_sdk/models/asset_price_history_update'
|
|
30
|
+
require 'spartera_api_sdk/models/assets'
|
|
31
|
+
require 'spartera_api_sdk/models/assets_input'
|
|
32
|
+
require 'spartera_api_sdk/models/assets_update'
|
|
33
|
+
require 'spartera_api_sdk/models/cloud_providers'
|
|
34
|
+
require 'spartera_api_sdk/models/cloud_providers_get200_response'
|
|
35
|
+
require 'spartera_api_sdk/models/cloud_providers_input'
|
|
36
|
+
require 'spartera_api_sdk/models/cloud_providers_provider_id_get200_response'
|
|
37
|
+
require 'spartera_api_sdk/models/cloud_providers_provider_id_storage_engines_get200_response'
|
|
38
|
+
require 'spartera_api_sdk/models/cloud_providers_update'
|
|
39
|
+
require 'spartera_api_sdk/models/companies'
|
|
40
|
+
require 'spartera_api_sdk/models/companies_company_id_analytics_assets_get200_response'
|
|
41
|
+
require 'spartera_api_sdk/models/companies_company_id_api_keys_api_key_id_delete200_response'
|
|
42
|
+
require 'spartera_api_sdk/models/companies_company_id_api_keys_api_key_id_delete200_response_data'
|
|
43
|
+
require 'spartera_api_sdk/models/companies_company_id_api_keys_api_key_id_get200_response'
|
|
44
|
+
require 'spartera_api_sdk/models/companies_company_id_api_keys_api_key_id_patch200_response'
|
|
45
|
+
require 'spartera_api_sdk/models/companies_company_id_api_keys_api_key_id_patch200_response_data'
|
|
25
46
|
require 'spartera_api_sdk/models/companies_company_id_api_keys_get200_response'
|
|
47
|
+
require 'spartera_api_sdk/models/companies_company_id_api_keys_post200_response'
|
|
48
|
+
require 'spartera_api_sdk/models/companies_company_id_api_keys_post200_response_data'
|
|
26
49
|
require 'spartera_api_sdk/models/companies_company_id_assets_asset_id_delete200_response'
|
|
27
50
|
require 'spartera_api_sdk/models/companies_company_id_assets_asset_id_delete200_response_data'
|
|
28
|
-
require 'spartera_api_sdk/models/companies_company_id_assets_asset_id_get200_response'
|
|
29
51
|
require 'spartera_api_sdk/models/companies_company_id_assets_asset_id_patch200_response'
|
|
30
52
|
require 'spartera_api_sdk/models/companies_company_id_assets_asset_id_patch200_response_data'
|
|
53
|
+
require 'spartera_api_sdk/models/companies_company_id_assets_asset_id_prices_aph_id_delete200_response'
|
|
54
|
+
require 'spartera_api_sdk/models/companies_company_id_assets_asset_id_prices_aph_id_delete200_response_data'
|
|
55
|
+
require 'spartera_api_sdk/models/companies_company_id_assets_asset_id_prices_aph_id_get200_response'
|
|
56
|
+
require 'spartera_api_sdk/models/companies_company_id_assets_asset_id_prices_aph_id_patch200_response'
|
|
57
|
+
require 'spartera_api_sdk/models/companies_company_id_assets_asset_id_prices_aph_id_patch200_response_data'
|
|
58
|
+
require 'spartera_api_sdk/models/companies_company_id_assets_asset_id_prices_get200_response'
|
|
59
|
+
require 'spartera_api_sdk/models/companies_company_id_assets_asset_id_prices_post200_response'
|
|
60
|
+
require 'spartera_api_sdk/models/companies_company_id_assets_asset_id_prices_post200_response_data'
|
|
31
61
|
require 'spartera_api_sdk/models/companies_company_id_assets_get200_response'
|
|
32
62
|
require 'spartera_api_sdk/models/companies_company_id_assets_post200_response'
|
|
33
63
|
require 'spartera_api_sdk/models/companies_company_id_assets_post200_response_data'
|
|
@@ -39,22 +69,25 @@ require 'spartera_api_sdk/models/companies_company_id_connections_connection_id_
|
|
|
39
69
|
require 'spartera_api_sdk/models/companies_company_id_connections_get200_response'
|
|
40
70
|
require 'spartera_api_sdk/models/companies_company_id_connections_post200_response'
|
|
41
71
|
require 'spartera_api_sdk/models/companies_company_id_connections_post200_response_data'
|
|
72
|
+
require 'spartera_api_sdk/models/companies_company_id_get200_response'
|
|
73
|
+
require 'spartera_api_sdk/models/companies_company_id_patch200_response'
|
|
74
|
+
require 'spartera_api_sdk/models/companies_company_id_patch200_response_data'
|
|
42
75
|
require 'spartera_api_sdk/models/companies_company_id_users_get200_response'
|
|
43
76
|
require 'spartera_api_sdk/models/companies_company_id_users_post200_response'
|
|
44
77
|
require 'spartera_api_sdk/models/companies_company_id_users_post200_response_data'
|
|
45
78
|
require 'spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response'
|
|
46
79
|
require 'spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response_data'
|
|
47
|
-
require 'spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_get200_response'
|
|
48
80
|
require 'spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response'
|
|
49
81
|
require 'spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response_data'
|
|
82
|
+
require 'spartera_api_sdk/models/companies_company_id_users_user_id_alerts_asset_asset_id_get200_response'
|
|
50
83
|
require 'spartera_api_sdk/models/companies_company_id_users_user_id_alerts_get200_response'
|
|
51
84
|
require 'spartera_api_sdk/models/companies_company_id_users_user_id_alerts_post200_response'
|
|
52
85
|
require 'spartera_api_sdk/models/companies_company_id_users_user_id_alerts_post200_response_data'
|
|
53
86
|
require 'spartera_api_sdk/models/companies_company_id_users_user_id_delete200_response'
|
|
54
87
|
require 'spartera_api_sdk/models/companies_company_id_users_user_id_delete200_response_data'
|
|
88
|
+
require 'spartera_api_sdk/models/companies_company_id_users_user_id_favorites_category_category_get200_response'
|
|
55
89
|
require 'spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response'
|
|
56
90
|
require 'spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response_data'
|
|
57
|
-
require 'spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_get200_response'
|
|
58
91
|
require 'spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response'
|
|
59
92
|
require 'spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response_data'
|
|
60
93
|
require 'spartera_api_sdk/models/companies_company_id_users_user_id_favorites_get200_response'
|
|
@@ -63,19 +96,27 @@ require 'spartera_api_sdk/models/companies_company_id_users_user_id_favorites_po
|
|
|
63
96
|
require 'spartera_api_sdk/models/companies_company_id_users_user_id_get200_response'
|
|
64
97
|
require 'spartera_api_sdk/models/companies_company_id_users_user_id_patch200_response'
|
|
65
98
|
require 'spartera_api_sdk/models/companies_company_id_users_user_id_patch200_response_data'
|
|
66
|
-
require 'spartera_api_sdk/models/
|
|
67
|
-
require 'spartera_api_sdk/models/
|
|
99
|
+
require 'spartera_api_sdk/models/companies_input'
|
|
100
|
+
require 'spartera_api_sdk/models/companies_update'
|
|
101
|
+
require 'spartera_api_sdk/models/connections'
|
|
102
|
+
require 'spartera_api_sdk/models/connections_input'
|
|
103
|
+
require 'spartera_api_sdk/models/connections_update'
|
|
68
104
|
require 'spartera_api_sdk/models/error'
|
|
69
|
-
require 'spartera_api_sdk/models/
|
|
105
|
+
require 'spartera_api_sdk/models/favorites'
|
|
106
|
+
require 'spartera_api_sdk/models/favorites_input'
|
|
107
|
+
require 'spartera_api_sdk/models/favorites_update'
|
|
70
108
|
require 'spartera_api_sdk/models/inline_object'
|
|
71
109
|
require 'spartera_api_sdk/models/inline_object1'
|
|
72
110
|
require 'spartera_api_sdk/models/inline_object2'
|
|
73
111
|
require 'spartera_api_sdk/models/inline_object3'
|
|
74
|
-
require 'spartera_api_sdk/models/
|
|
75
|
-
require 'spartera_api_sdk/models/
|
|
76
|
-
require 'spartera_api_sdk/models/
|
|
77
|
-
require 'spartera_api_sdk/models/
|
|
78
|
-
require 'spartera_api_sdk/models/
|
|
112
|
+
require 'spartera_api_sdk/models/job_functions'
|
|
113
|
+
require 'spartera_api_sdk/models/job_functions_function_id_get200_response'
|
|
114
|
+
require 'spartera_api_sdk/models/job_functions_get200_response'
|
|
115
|
+
require 'spartera_api_sdk/models/job_functions_input'
|
|
116
|
+
require 'spartera_api_sdk/models/job_functions_update'
|
|
117
|
+
require 'spartera_api_sdk/models/users'
|
|
118
|
+
require 'spartera_api_sdk/models/users_input'
|
|
119
|
+
require 'spartera_api_sdk/models/users_update'
|
|
79
120
|
|
|
80
121
|
# APIs
|
|
81
122
|
require 'spartera_api_sdk/api/api_keys_api'
|
|
@@ -86,6 +127,7 @@ require 'spartera_api_sdk/api/cloud_providers_api'
|
|
|
86
127
|
require 'spartera_api_sdk/api/companies_api'
|
|
87
128
|
require 'spartera_api_sdk/api/connections_api'
|
|
88
129
|
require 'spartera_api_sdk/api/favorites_api'
|
|
130
|
+
require 'spartera_api_sdk/api/job_functions_api'
|
|
89
131
|
require 'spartera_api_sdk/api/storage_engines_api'
|
|
90
132
|
require 'spartera_api_sdk/api/users_api'
|
|
91
133
|
|
data/spec/api/alerts_api_spec.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Auto-generated API documentation for REST services of the Spartera platform
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document:
|
|
6
|
+
The version of the OpenAPI document: 1.24.0
|
|
7
7
|
Contact: support@spartera.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.13.0
|
|
@@ -51,7 +51,7 @@ describe 'AlertsApi' do
|
|
|
51
51
|
# @param user_id
|
|
52
52
|
# @param alert_id
|
|
53
53
|
# @param [Hash] opts the optional parameters
|
|
54
|
-
# @return [
|
|
54
|
+
# @return [CompaniesCompanyIdUsersUserIdAlertsAssetAssetIdGet200Response]
|
|
55
55
|
describe 'companies_company_id_users_user_id_alerts_alert_id_get test' do
|
|
56
56
|
it 'should work' do
|
|
57
57
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -63,7 +63,7 @@ describe 'AlertsApi' do
|
|
|
63
63
|
# @param company_id
|
|
64
64
|
# @param user_id
|
|
65
65
|
# @param alert_id
|
|
66
|
-
# @param
|
|
66
|
+
# @param alerts_update
|
|
67
67
|
# @param [Hash] opts the optional parameters
|
|
68
68
|
# @return [CompaniesCompanyIdUsersUserIdAlertsAlertIdPatch200Response]
|
|
69
69
|
describe 'companies_company_id_users_user_id_alerts_alert_id_patch test' do
|
|
@@ -91,7 +91,7 @@ describe 'AlertsApi' do
|
|
|
91
91
|
# @param user_id
|
|
92
92
|
# @param asset_id
|
|
93
93
|
# @param [Hash] opts the optional parameters
|
|
94
|
-
# @return [
|
|
94
|
+
# @return [CompaniesCompanyIdUsersUserIdAlertsAssetAssetIdGet200Response]
|
|
95
95
|
describe 'companies_company_id_users_user_id_alerts_asset_asset_id_get test' do
|
|
96
96
|
it 'should work' do
|
|
97
97
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -114,7 +114,7 @@ describe 'AlertsApi' do
|
|
|
114
114
|
# POST /companies/{company_id}/users/{user_id}/alerts
|
|
115
115
|
# @param company_id
|
|
116
116
|
# @param user_id
|
|
117
|
-
# @param
|
|
117
|
+
# @param alerts_input
|
|
118
118
|
# @param [Hash] opts the optional parameters
|
|
119
119
|
# @return [CompaniesCompanyIdUsersUserIdAlertsPost200Response]
|
|
120
120
|
describe 'companies_company_id_users_user_id_alerts_post test' do
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Auto-generated API documentation for REST services of the Spartera platform
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document:
|
|
6
|
+
The version of the OpenAPI document: 1.24.0
|
|
7
7
|
Contact: support@spartera.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.13.0
|
|
@@ -32,12 +32,24 @@ describe 'APIKeysApi' do
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
+
# unit tests for companies_company_id_api_keys_api_key_id_delete
|
|
36
|
+
# Delete (deactivate) single API key by api_key_id. Uses the api_key_id returned during creation for clean identification. Fixed to use correct primary key lookup.
|
|
37
|
+
# @param company_id
|
|
38
|
+
# @param api_key_id
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [CompaniesCompanyIdApiKeysApiKeyIdDelete200Response]
|
|
41
|
+
describe 'companies_company_id_api_keys_api_key_id_delete test' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
35
47
|
# unit tests for companies_company_id_api_keys_api_key_id_get
|
|
36
|
-
# Get single API key by ID
|
|
48
|
+
# Get single API key by ID. Returns masked API key for security (sk_****1234).
|
|
37
49
|
# @param company_id
|
|
38
50
|
# @param api_key_id
|
|
39
51
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
52
|
+
# @return [CompaniesCompanyIdApiKeysApiKeyIdGet200Response]
|
|
41
53
|
describe 'companies_company_id_api_keys_api_key_id_get test' do
|
|
42
54
|
it 'should work' do
|
|
43
55
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -45,46 +57,61 @@ describe 'APIKeysApi' do
|
|
|
45
57
|
end
|
|
46
58
|
|
|
47
59
|
# unit tests for companies_company_id_api_keys_api_key_id_patch
|
|
48
|
-
# Update an existing API key by ID
|
|
60
|
+
# Update an existing API key by ID. Can update metadata like name, expiration, rate limits, etc. Cannot update the actual key value (for security).
|
|
49
61
|
# @param company_id
|
|
50
62
|
# @param api_key_id
|
|
63
|
+
# @param api_keys_update
|
|
51
64
|
# @param [Hash] opts the optional parameters
|
|
52
|
-
# @return [
|
|
65
|
+
# @return [CompaniesCompanyIdApiKeysApiKeyIdPatch200Response]
|
|
53
66
|
describe 'companies_company_id_api_keys_api_key_id_patch test' do
|
|
54
67
|
it 'should work' do
|
|
55
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
56
69
|
end
|
|
57
70
|
end
|
|
58
71
|
|
|
59
|
-
# unit tests for
|
|
60
|
-
#
|
|
72
|
+
# unit tests for companies_company_id_api_keys_api_key_id_revoke_post
|
|
73
|
+
# Explicitly revoke an API key with reason tracking. This is different from delete as it includes revocation metadata.
|
|
61
74
|
# @param company_id
|
|
75
|
+
# @param api_key_id
|
|
76
|
+
# @param api_keys_input
|
|
62
77
|
# @param [Hash] opts the optional parameters
|
|
63
|
-
# @return [
|
|
64
|
-
describe '
|
|
78
|
+
# @return [CompaniesCompanyIdApiKeysPost200Response]
|
|
79
|
+
describe 'companies_company_id_api_keys_api_key_id_revoke_post test' do
|
|
65
80
|
it 'should work' do
|
|
66
81
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
67
82
|
end
|
|
68
83
|
end
|
|
69
84
|
|
|
70
|
-
# unit tests for
|
|
71
|
-
#
|
|
85
|
+
# unit tests for companies_company_id_api_keys_api_key_id_stats_get
|
|
86
|
+
# Get usage statistics for a specific API key. Returns usage count, last used date, failed attempts, etc.
|
|
72
87
|
# @param company_id
|
|
88
|
+
# @param api_key_id
|
|
73
89
|
# @param [Hash] opts the optional parameters
|
|
74
90
|
# @return [CompaniesCompanyIdApiKeysGet200Response]
|
|
75
|
-
describe '
|
|
91
|
+
describe 'companies_company_id_api_keys_api_key_id_stats_get test' do
|
|
76
92
|
it 'should work' do
|
|
77
93
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
78
94
|
end
|
|
79
95
|
end
|
|
80
96
|
|
|
81
|
-
# unit tests for
|
|
82
|
-
#
|
|
97
|
+
# unit tests for companies_company_id_api_keys_get
|
|
98
|
+
# Get all API keys for a company. Returns masked API keys for security (sk_****1234).
|
|
83
99
|
# @param company_id
|
|
84
|
-
# @param token
|
|
85
100
|
# @param [Hash] opts the optional parameters
|
|
86
101
|
# @return [CompaniesCompanyIdApiKeysGet200Response]
|
|
87
|
-
describe '
|
|
102
|
+
describe 'companies_company_id_api_keys_get test' do
|
|
103
|
+
it 'should work' do
|
|
104
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
# unit tests for companies_company_id_api_keys_post
|
|
109
|
+
# Create single API key. Returns the actual sk_ key (only time it's exposed) and api_key_id for future operations.
|
|
110
|
+
# @param company_id
|
|
111
|
+
# @param api_keys_input
|
|
112
|
+
# @param [Hash] opts the optional parameters
|
|
113
|
+
# @return [CompaniesCompanyIdApiKeysPost200Response]
|
|
114
|
+
describe 'companies_company_id_api_keys_post test' do
|
|
88
115
|
it 'should work' do
|
|
89
116
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
90
117
|
end
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Auto-generated API documentation for REST services of the Spartera platform
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document:
|
|
6
|
+
The version of the OpenAPI document: 1.24.0
|
|
7
7
|
Contact: support@spartera.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.13.0
|
|
@@ -37,7 +37,7 @@ describe 'AssetPriceHistoryApi' do
|
|
|
37
37
|
# @param company_id
|
|
38
38
|
# @param asset_id
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [CompaniesCompanyIdAssetsAssetIdPricesGet200Response]
|
|
41
41
|
describe 'companies_company_id_assets_asset_id_prices_active_get test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -50,7 +50,7 @@ describe 'AssetPriceHistoryApi' do
|
|
|
50
50
|
# @param asset_id
|
|
51
51
|
# @param aph_id
|
|
52
52
|
# @param [Hash] opts the optional parameters
|
|
53
|
-
# @return [
|
|
53
|
+
# @return [CompaniesCompanyIdAssetsAssetIdPricesAphIdDelete200Response]
|
|
54
54
|
describe 'companies_company_id_assets_asset_id_prices_aph_id_delete test' do
|
|
55
55
|
it 'should work' do
|
|
56
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -63,7 +63,7 @@ describe 'AssetPriceHistoryApi' do
|
|
|
63
63
|
# @param asset_id
|
|
64
64
|
# @param aph_id
|
|
65
65
|
# @param [Hash] opts the optional parameters
|
|
66
|
-
# @return [
|
|
66
|
+
# @return [CompaniesCompanyIdAssetsAssetIdPricesAphIdGet200Response]
|
|
67
67
|
describe 'companies_company_id_assets_asset_id_prices_aph_id_get test' do
|
|
68
68
|
it 'should work' do
|
|
69
69
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -75,8 +75,9 @@ describe 'AssetPriceHistoryApi' do
|
|
|
75
75
|
# @param company_id
|
|
76
76
|
# @param asset_id
|
|
77
77
|
# @param aph_id
|
|
78
|
+
# @param asset_price_history_update
|
|
78
79
|
# @param [Hash] opts the optional parameters
|
|
79
|
-
# @return [
|
|
80
|
+
# @return [CompaniesCompanyIdAssetsAssetIdPricesAphIdPatch200Response]
|
|
80
81
|
describe 'companies_company_id_assets_asset_id_prices_aph_id_patch test' do
|
|
81
82
|
it 'should work' do
|
|
82
83
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -84,11 +85,12 @@ describe 'AssetPriceHistoryApi' do
|
|
|
84
85
|
end
|
|
85
86
|
|
|
86
87
|
# unit tests for companies_company_id_assets_asset_id_prices_calculate_credits_post
|
|
87
|
-
#
|
|
88
|
+
# Calculate the credit equivalent for a given USD price without saving
|
|
88
89
|
# @param company_id
|
|
89
90
|
# @param asset_id
|
|
91
|
+
# @param asset_price_history_input
|
|
90
92
|
# @param [Hash] opts the optional parameters
|
|
91
|
-
# @return [
|
|
93
|
+
# @return [CompaniesCompanyIdAssetsAssetIdPricesPost200Response]
|
|
92
94
|
describe 'companies_company_id_assets_asset_id_prices_calculate_credits_post test' do
|
|
93
95
|
it 'should work' do
|
|
94
96
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -99,8 +101,9 @@ describe 'AssetPriceHistoryApi' do
|
|
|
99
101
|
# POST /companies/{company_id}/assets/{asset_id}/prices/discount
|
|
100
102
|
# @param company_id
|
|
101
103
|
# @param asset_id
|
|
104
|
+
# @param asset_price_history_input
|
|
102
105
|
# @param [Hash] opts the optional parameters
|
|
103
|
-
# @return [
|
|
106
|
+
# @return [CompaniesCompanyIdAssetsAssetIdPricesPost200Response]
|
|
104
107
|
describe 'companies_company_id_assets_asset_id_prices_discount_post test' do
|
|
105
108
|
it 'should work' do
|
|
106
109
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -112,7 +115,7 @@ describe 'AssetPriceHistoryApi' do
|
|
|
112
115
|
# @param company_id
|
|
113
116
|
# @param asset_id
|
|
114
117
|
# @param [Hash] opts the optional parameters
|
|
115
|
-
# @return [
|
|
118
|
+
# @return [CompaniesCompanyIdAssetsAssetIdPricesGet200Response]
|
|
116
119
|
describe 'companies_company_id_assets_asset_id_prices_get test' do
|
|
117
120
|
it 'should work' do
|
|
118
121
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -123,8 +126,9 @@ describe 'AssetPriceHistoryApi' do
|
|
|
123
126
|
# Create a new price history record for an asset
|
|
124
127
|
# @param company_id
|
|
125
128
|
# @param asset_id
|
|
129
|
+
# @param asset_price_history_input
|
|
126
130
|
# @param [Hash] opts the optional parameters
|
|
127
|
-
# @return [
|
|
131
|
+
# @return [CompaniesCompanyIdAssetsAssetIdPricesPost200Response]
|
|
128
132
|
describe 'companies_company_id_assets_asset_id_prices_post test' do
|
|
129
133
|
it 'should work' do
|
|
130
134
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
data/spec/api/assets_api_spec.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Auto-generated API documentation for REST services of the Spartera platform
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document:
|
|
6
|
+
The version of the OpenAPI document: 1.24.0
|
|
7
7
|
Contact: support@spartera.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.13.0
|
|
@@ -33,11 +33,11 @@ describe 'AssetsApi' do
|
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
# unit tests for analyze_company_handle_assets_asset_slug_get
|
|
36
|
-
# Process (analyze) an asset.
|
|
37
|
-
# @param company_handle
|
|
36
|
+
# Process (analyze) an asset.
|
|
38
37
|
# @param asset_slug
|
|
38
|
+
# @param company_handle
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [AnalyzeCompanyHandleAssetsAssetSlugGet200Response]
|
|
41
41
|
describe 'analyze_company_handle_assets_asset_slug_get test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -61,7 +61,7 @@ describe 'AssetsApi' do
|
|
|
61
61
|
# @param company_id
|
|
62
62
|
# @param asset_id
|
|
63
63
|
# @param [Hash] opts the optional parameters
|
|
64
|
-
# @return [
|
|
64
|
+
# @return [AnalyzeCompanyHandleAssetsAssetSlugGet200Response]
|
|
65
65
|
describe 'companies_company_id_assets_asset_id_get test' do
|
|
66
66
|
it 'should work' do
|
|
67
67
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -96,7 +96,7 @@ describe 'AssetsApi' do
|
|
|
96
96
|
# Update an existing asset by ID
|
|
97
97
|
# @param company_id
|
|
98
98
|
# @param asset_id
|
|
99
|
-
# @param
|
|
99
|
+
# @param assets_update
|
|
100
100
|
# @param [Hash] opts the optional parameters
|
|
101
101
|
# @return [CompaniesCompanyIdAssetsAssetIdPatch200Response]
|
|
102
102
|
describe 'companies_company_id_assets_asset_id_patch test' do
|
|
@@ -155,7 +155,7 @@ describe 'AssetsApi' do
|
|
|
155
155
|
# unit tests for companies_company_id_assets_post
|
|
156
156
|
# Create a new asset
|
|
157
157
|
# @param company_id
|
|
158
|
-
# @param
|
|
158
|
+
# @param assets_input
|
|
159
159
|
# @param [Hash] opts the optional parameters
|
|
160
160
|
# @return [CompaniesCompanyIdAssetsPost200Response]
|
|
161
161
|
describe 'companies_company_id_assets_post test' do
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Auto-generated API documentation for REST services of the Spartera platform
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document:
|
|
6
|
+
The version of the OpenAPI document: 1.24.0
|
|
7
7
|
Contact: support@spartera.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.13.0
|
|
@@ -35,7 +35,7 @@ describe 'CloudProvidersApi' do
|
|
|
35
35
|
# unit tests for cloud_providers_get
|
|
36
36
|
# Get a list of all cloud providers
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
|
38
|
-
# @return [
|
|
38
|
+
# @return [CloudProvidersGet200Response]
|
|
39
39
|
describe 'cloud_providers_get test' do
|
|
40
40
|
it 'should work' do
|
|
41
41
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -46,7 +46,7 @@ describe 'CloudProvidersApi' do
|
|
|
46
46
|
# Get single cloud provider by ID
|
|
47
47
|
# @param provider_id
|
|
48
48
|
# @param [Hash] opts the optional parameters
|
|
49
|
-
# @return [
|
|
49
|
+
# @return [CloudProvidersProviderIdGet200Response]
|
|
50
50
|
describe 'cloud_providers_provider_id_get test' do
|
|
51
51
|
it 'should work' do
|
|
52
52
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Auto-generated API documentation for REST services of the Spartera platform
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document:
|
|
6
|
+
The version of the OpenAPI document: 1.24.0
|
|
7
7
|
Contact: support@spartera.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.13.0
|
|
@@ -36,7 +36,7 @@ describe 'CompaniesApi' do
|
|
|
36
36
|
# Get asset performance analytics Query params: start_date, end_date, limit, sort_by, include
|
|
37
37
|
# @param company_id
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @return [
|
|
39
|
+
# @return [CompaniesCompanyIdAnalyticsAssetsGet200Response]
|
|
40
40
|
describe 'companies_company_id_analytics_assets_get test' do
|
|
41
41
|
it 'should work' do
|
|
42
42
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -47,7 +47,7 @@ describe 'CompaniesApi' do
|
|
|
47
47
|
# Get customer analytics including growth and segmentation Query params: start_date, end_date, group_by, segment_by
|
|
48
48
|
# @param company_id
|
|
49
49
|
# @param [Hash] opts the optional parameters
|
|
50
|
-
# @return [
|
|
50
|
+
# @return [CompaniesCompanyIdAnalyticsAssetsGet200Response]
|
|
51
51
|
describe 'companies_company_id_analytics_customers_get test' do
|
|
52
52
|
it 'should work' do
|
|
53
53
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -58,7 +58,7 @@ describe 'CompaniesApi' do
|
|
|
58
58
|
# Get comprehensive dashboard analytics for seller dashboard Includes all metrics needed for dashboard charts in one call Query params: start_date, end_date, period (day/week/month/quarter)
|
|
59
59
|
# @param company_id
|
|
60
60
|
# @param [Hash] opts the optional parameters
|
|
61
|
-
# @return [
|
|
61
|
+
# @return [CompaniesCompanyIdAnalyticsAssetsGet200Response]
|
|
62
62
|
describe 'companies_company_id_analytics_dashboard_get test' do
|
|
63
63
|
it 'should work' do
|
|
64
64
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -69,7 +69,7 @@ describe 'CompaniesApi' do
|
|
|
69
69
|
# Get sales over time analytics Query params: start_date, end_date, group_by (day/week/month/quarter), metrics
|
|
70
70
|
# @param company_id
|
|
71
71
|
# @param [Hash] opts the optional parameters
|
|
72
|
-
# @return [
|
|
72
|
+
# @return [CompaniesCompanyIdAnalyticsAssetsGet200Response]
|
|
73
73
|
describe 'companies_company_id_analytics_sales_get test' do
|
|
74
74
|
it 'should work' do
|
|
75
75
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -80,7 +80,7 @@ describe 'CompaniesApi' do
|
|
|
80
80
|
# Get details of the requestor's own company
|
|
81
81
|
# @param company_id
|
|
82
82
|
# @param [Hash] opts the optional parameters
|
|
83
|
-
# @return [
|
|
83
|
+
# @return [CompaniesCompanyIdGet200Response]
|
|
84
84
|
describe 'companies_company_id_get test' do
|
|
85
85
|
it 'should work' do
|
|
86
86
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -91,7 +91,7 @@ describe 'CompaniesApi' do
|
|
|
91
91
|
# Get all objects (connections, assets) of a single company
|
|
92
92
|
# @param company_id
|
|
93
93
|
# @param [Hash] opts the optional parameters
|
|
94
|
-
# @return [
|
|
94
|
+
# @return [CompaniesCompanyIdAnalyticsAssetsGet200Response]
|
|
95
95
|
describe 'companies_company_id_objects_get test' do
|
|
96
96
|
it 'should work' do
|
|
97
97
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -101,8 +101,9 @@ describe 'CompaniesApi' do
|
|
|
101
101
|
# unit tests for companies_company_id_patch
|
|
102
102
|
# Update an existing company by ID
|
|
103
103
|
# @param company_id
|
|
104
|
+
# @param companies_update
|
|
104
105
|
# @param [Hash] opts the optional parameters
|
|
105
|
-
# @return [
|
|
106
|
+
# @return [CompaniesCompanyIdPatch200Response]
|
|
106
107
|
describe 'companies_company_id_patch test' do
|
|
107
108
|
it 'should work' do
|
|
108
109
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -113,7 +114,7 @@ describe 'CompaniesApi' do
|
|
|
113
114
|
# Get the total number of requests allocated in the company's current subscription plan.
|
|
114
115
|
# @param company_id
|
|
115
116
|
# @param [Hash] opts the optional parameters
|
|
116
|
-
# @return [
|
|
117
|
+
# @return [CompaniesCompanyIdAnalyticsAssetsGet200Response]
|
|
117
118
|
describe 'companies_company_id_requests_plan_get test' do
|
|
118
119
|
it 'should work' do
|
|
119
120
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -124,7 +125,7 @@ describe 'CompaniesApi' do
|
|
|
124
125
|
# Get company request usage data for a specific month. Returns JSON metrics by default or CSV logs when download parameter is included.
|
|
125
126
|
# @param company_id
|
|
126
127
|
# @param [Hash] opts the optional parameters
|
|
127
|
-
# @return [
|
|
128
|
+
# @return [CompaniesCompanyIdAnalyticsAssetsGet200Response]
|
|
128
129
|
describe 'companies_company_id_requests_usage_get test' do
|
|
129
130
|
it 'should work' do
|
|
130
131
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Auto-generated API documentation for REST services of the Spartera platform
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document:
|
|
6
|
+
The version of the OpenAPI document: 1.24.0
|
|
7
7
|
Contact: support@spartera.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.13.0
|
|
@@ -72,7 +72,7 @@ describe 'ConnectionsApi' do
|
|
|
72
72
|
# Update an existing connection by ID
|
|
73
73
|
# @param company_id
|
|
74
74
|
# @param connection_id
|
|
75
|
-
# @param
|
|
75
|
+
# @param connections_update
|
|
76
76
|
# @param [Hash] opts the optional parameters
|
|
77
77
|
# @return [CompaniesCompanyIdConnectionsConnectionIdPatch200Response]
|
|
78
78
|
describe 'companies_company_id_connections_connection_id_patch test' do
|
|
@@ -107,7 +107,7 @@ describe 'ConnectionsApi' do
|
|
|
107
107
|
# unit tests for companies_company_id_connections_post
|
|
108
108
|
# Create a new connection by ID
|
|
109
109
|
# @param company_id
|
|
110
|
-
# @param
|
|
110
|
+
# @param connections_input
|
|
111
111
|
# @param [Hash] opts the optional parameters
|
|
112
112
|
# @return [CompaniesCompanyIdConnectionsPost200Response]
|
|
113
113
|
describe 'companies_company_id_connections_post test' do
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Auto-generated API documentation for REST services of the Spartera platform
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document:
|
|
6
|
+
The version of the OpenAPI document: 1.24.0
|
|
7
7
|
Contact: support@spartera.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.13.0
|
|
@@ -38,7 +38,7 @@ describe 'FavoritesApi' do
|
|
|
38
38
|
# @param user_id
|
|
39
39
|
# @param category
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
|
-
# @return [
|
|
41
|
+
# @return [CompaniesCompanyIdUsersUserIdFavoritesCategoryCategoryGet200Response]
|
|
42
42
|
describe 'companies_company_id_users_user_id_favorites_category_category_get test' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -51,7 +51,7 @@ describe 'FavoritesApi' do
|
|
|
51
51
|
# @param user_id
|
|
52
52
|
# @param asset_id
|
|
53
53
|
# @param [Hash] opts the optional parameters
|
|
54
|
-
# @return [
|
|
54
|
+
# @return [CompaniesCompanyIdUsersUserIdFavoritesCategoryCategoryGet200Response]
|
|
55
55
|
describe 'companies_company_id_users_user_id_favorites_check_asset_id_get test' do
|
|
56
56
|
it 'should work' do
|
|
57
57
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -77,7 +77,7 @@ describe 'FavoritesApi' do
|
|
|
77
77
|
# @param user_id
|
|
78
78
|
# @param favorite_id
|
|
79
79
|
# @param [Hash] opts the optional parameters
|
|
80
|
-
# @return [
|
|
80
|
+
# @return [CompaniesCompanyIdUsersUserIdFavoritesCategoryCategoryGet200Response]
|
|
81
81
|
describe 'companies_company_id_users_user_id_favorites_favorite_id_get test' do
|
|
82
82
|
it 'should work' do
|
|
83
83
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -89,7 +89,7 @@ describe 'FavoritesApi' do
|
|
|
89
89
|
# @param company_id
|
|
90
90
|
# @param user_id
|
|
91
91
|
# @param favorite_id
|
|
92
|
-
# @param
|
|
92
|
+
# @param favorites_update
|
|
93
93
|
# @param [Hash] opts the optional parameters
|
|
94
94
|
# @return [CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdPatch200Response]
|
|
95
95
|
describe 'companies_company_id_users_user_id_favorites_favorite_id_patch test' do
|
|
@@ -114,7 +114,7 @@ describe 'FavoritesApi' do
|
|
|
114
114
|
# POST /companies/{company_id}/users/{user_id}/favorites
|
|
115
115
|
# @param company_id
|
|
116
116
|
# @param user_id
|
|
117
|
-
# @param
|
|
117
|
+
# @param favorites_input
|
|
118
118
|
# @param [Hash] opts the optional parameters
|
|
119
119
|
# @return [CompaniesCompanyIdUsersUserIdFavoritesPost200Response]
|
|
120
120
|
describe 'companies_company_id_users_user_id_favorites_post test' do
|