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