mencoro 1.0.0
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 +7 -0
- data/Gemfile +9 -0
- data/README.md +304 -0
- data/Rakefile +10 -0
- data/docs/AcceptedJobResource.md +22 -0
- data/docs/AccountApi.md +141 -0
- data/docs/AiResponseReportResource.md +28 -0
- data/docs/AiResponseResource.md +36 -0
- data/docs/AnalyticsApi.md +1320 -0
- data/docs/ApplyClusteringJobOutcome.md +26 -0
- data/docs/ApplyClusteringJobOutcomeClustersInner.md +22 -0
- data/docs/ApplyClusteringJobOutcomeFailedInner.md +22 -0
- data/docs/ApplyClusteringJobOutcomeSkippedClustersInner.md +20 -0
- data/docs/ApplyClusteringJobOutcomeSuccessfulInner.md +20 -0
- data/docs/AsyncJobResource.md +24 -0
- data/docs/BatchChangeTrackedQueryCheckFrequencyRequestData.md +20 -0
- data/docs/BatchChangeTrackedQueryPassesRequestData.md +20 -0
- data/docs/BatchCreateQueryClustersOutcome.md +20 -0
- data/docs/BatchCreateQueryClustersOutcomeFailedInner.md +22 -0
- data/docs/BatchCreateQueryClustersOutcomeSuccessfulInner.md +20 -0
- data/docs/BatchCreateQueryClustersRequestData.md +18 -0
- data/docs/BatchCreateTrackedQueriesRequestData.md +30 -0
- data/docs/BatchCreateTrackedQueriesResultResource.md +20 -0
- data/docs/BatchCreateTrackedQueriesResultResourceFailedInner.md +26 -0
- data/docs/BatchCreateTrackedQueriesResultResourceSuccessfulInner.md +24 -0
- data/docs/BatchForceCheckTrackedQueries200Response.md +20 -0
- data/docs/BatchForceCheckTrackedQueries200ResponseFailedInner.md +22 -0
- data/docs/BatchPauseTrackedQueries200Response.md +20 -0
- data/docs/BatchPauseTrackedQueries200ResponseFailedInner.md +22 -0
- data/docs/BatchPauseTrackedQueries200ResponseSuccessfulInner.md +18 -0
- data/docs/BatchResumeTrackedQueries200Response.md +20 -0
- data/docs/BatchTargetsRequestData.md +18 -0
- data/docs/BatchWriteOutcome.md +20 -0
- data/docs/BatchWriteOutcomeFailedInner.md +22 -0
- data/docs/BillingApi.md +77 -0
- data/docs/BrandProfileResource.md +24 -0
- data/docs/BulkAddClustersToTrackedQueries200Response.md +20 -0
- data/docs/BulkAddClustersToTrackedQueriesRequest.md +20 -0
- data/docs/BulkRemoveClustersFromTrackedQueries200Response.md +20 -0
- data/docs/BulkRemoveClustersFromTrackedQueriesRequest.md +20 -0
- data/docs/CapturesApi.md +267 -0
- data/docs/ChangeMemberRoleRequest.md +18 -0
- data/docs/ChangeTrackedQueryCheckFrequencyRequestData.md +18 -0
- data/docs/ChangeTrackedQueryPassesRequestData.md +18 -0
- data/docs/CitationResource.md +36 -0
- data/docs/ClusterMembershipRequestData.md +18 -0
- data/docs/ClustersApi.md +465 -0
- data/docs/CompetitorResource.md +24 -0
- data/docs/CreateCompetitorRequest.md +22 -0
- data/docs/CreateInvitation200Response.md +22 -0
- data/docs/CreateInvitation201Response.md +32 -0
- data/docs/CreateInvitationRequest.md +20 -0
- data/docs/CreateOrganization201Response.md +22 -0
- data/docs/CreateOrganizationRequest.md +18 -0
- data/docs/CreateProjectRequest.md +24 -0
- data/docs/CreateProjectRequestCompetitorsInner.md +22 -0
- data/docs/CreateQueryCluster409Response.md +22 -0
- data/docs/CreateQueryClusterRequest.md +18 -0
- data/docs/DeleteQueryCluster200Response.md +22 -0
- data/docs/DiscoveryApi.md +311 -0
- data/docs/EntitlementsResource.md +38 -0
- data/docs/GetAvailableFilters200Response.md +22 -0
- data/docs/GetAvailableFilters200ResponseClustersInner.md +20 -0
- data/docs/GetMeStats200Response.md +20 -0
- data/docs/GetMeStats200ResponseOrganizations.md +18 -0
- data/docs/GetMeStats200ResponseProjects.md +20 -0
- data/docs/GetMembershipStats200Response.md +30 -0
- data/docs/GetMentionSamples400Response.md +24 -0
- data/docs/GetMentionSamples400ResponseDetailsValueInner.md +22 -0
- data/docs/GetMetricGlossary200Response.md +18 -0
- data/docs/GetMetricGlossary200ResponseMetricsInner.md +30 -0
- data/docs/GetOrganizationOverview200Response.md +20 -0
- data/docs/GetOrganizationOverview200ResponseAggregate.md +30 -0
- data/docs/GetOrganizationOverview200ResponseProjectsInner.md +32 -0
- data/docs/GetOrganizationStats200Response.md +22 -0
- data/docs/GetOrganizationStats200ResponseInvitations.md +18 -0
- data/docs/GetOrganizationStats200ResponseMembers.md +18 -0
- data/docs/GetOrganizationStats200ResponseProjects.md +20 -0
- data/docs/GetShareOfVoiceFormula200Response.md +24 -0
- data/docs/GetTrackingCoverage200Response.md +30 -0
- data/docs/GetTrackingCoverage200ResponseSampleInner.md +28 -0
- data/docs/InvitationResource.md +30 -0
- data/docs/InvitationsApi.md +243 -0
- data/docs/JobsApi.md +79 -0
- data/docs/KeywordListingResource.md +88 -0
- data/docs/KeywordListingResourceMentionTypeCounts.md +26 -0
- data/docs/ListAiResponses200Response.md +20 -0
- data/docs/ListCompetitors200Response.md +20 -0
- data/docs/ListInvitations200Response.md +20 -0
- data/docs/ListKeywordListings200Response.md +24 -0
- data/docs/ListMembers200Response.md +20 -0
- data/docs/ListOrganizations200Response.md +20 -0
- data/docs/ListProjects200Response.md +20 -0
- data/docs/ListQueryClusters200Response.md +20 -0
- data/docs/ListSearchSnapshots200Response.md +20 -0
- data/docs/ListShoppingSnapshots200Response.md +20 -0
- data/docs/MeResource.md +34 -0
- data/docs/MemberResource.md +28 -0
- data/docs/MembersApi.md +391 -0
- data/docs/OperationEffect.md +22 -0
- data/docs/OrganizationOperationsApi.md +77 -0
- data/docs/OrganizationResource.md +32 -0
- data/docs/OrganizationsApi.md +807 -0
- data/docs/PreviewOrganizationOperation200Response.md +34 -0
- data/docs/PreviewOrganizationOperation200ResponseOrganization.md +20 -0
- data/docs/PreviewOrganizationOperationRequest.md +24 -0
- data/docs/ProjectDetailResource.md +32 -0
- data/docs/ProjectDetailResourceCompetitorsInner.md +24 -0
- data/docs/ProjectResource.md +50 -0
- data/docs/ProjectedMonthlyChecksResource.md +20 -0
- data/docs/ProjectsApi.md +999 -0
- data/docs/QueryClusterResource.md +22 -0
- data/docs/ReportAiResponseRequest.md +22 -0
- data/docs/SearchResultResource.md +32 -0
- data/docs/SearchSnapshotResource.md +28 -0
- data/docs/SearchTrackedQueries200Response.md +20 -0
- data/docs/ShoppingOfferResource.md +38 -0
- data/docs/ShoppingSnapshotResource.md +28 -0
- data/docs/StartBrandDiscoveryJobRequest.md +20 -0
- data/docs/StartBrandNameSuggestionJobRequest.md +24 -0
- data/docs/StartClusteringJobRequestData.md +22 -0
- data/docs/StartKeywordDiscoveryJobRequest.md +24 -0
- data/docs/StartPromptDiscoveryJobRequest.md +24 -0
- data/docs/SubmittedChecksResource.md +20 -0
- data/docs/SubscriptionResource.md +42 -0
- data/docs/TrackedQueriesApi.md +1549 -0
- data/docs/TrackedQueryCountResource.md +20 -0
- data/docs/TrackedQueryDetailResource.md +38 -0
- data/docs/TrackedQueryResource.md +52 -0
- data/docs/TrackedQueryUsageResource.md +18 -0
- data/docs/UpdateOrganizationRequest.md +22 -0
- data/docs/UpdateProjectBrandProfileRequest.md +20 -0
- data/docs/UpdateProjectRequest.md +18 -0
- data/git_push.sh +57 -0
- data/lib/mencoro/api/account_api.rb +136 -0
- data/lib/mencoro/api/analytics_api.rb +1555 -0
- data/lib/mencoro/api/billing_api.rb +85 -0
- data/lib/mencoro/api/captures_api.rb +338 -0
- data/lib/mencoro/api/clusters_api.rb +548 -0
- data/lib/mencoro/api/discovery_api.rb +360 -0
- data/lib/mencoro/api/invitations_api.rb +302 -0
- data/lib/mencoro/api/jobs_api.rb +91 -0
- data/lib/mencoro/api/members_api.rb +453 -0
- data/lib/mencoro/api/organization_operations_api.rb +90 -0
- data/lib/mencoro/api/organizations_api.rb +835 -0
- data/lib/mencoro/api/projects_api.rb +1158 -0
- data/lib/mencoro/api/tracked_queries_api.rb +1792 -0
- data/lib/mencoro/api_client.rb +441 -0
- data/lib/mencoro/api_error.rb +58 -0
- data/lib/mencoro/api_model_base.rb +88 -0
- data/lib/mencoro/configuration.rb +392 -0
- data/lib/mencoro/models/accepted_job_resource.rb +220 -0
- data/lib/mencoro/models/ai_response_report_resource.rb +311 -0
- data/lib/mencoro/models/ai_response_resource.rb +412 -0
- data/lib/mencoro/models/apply_clustering_job_outcome.rb +199 -0
- data/lib/mencoro/models/apply_clustering_job_outcome_clusters_inner.rb +165 -0
- data/lib/mencoro/models/apply_clustering_job_outcome_failed_inner.rb +165 -0
- data/lib/mencoro/models/apply_clustering_job_outcome_skipped_clusters_inner.rb +156 -0
- data/lib/mencoro/models/apply_clustering_job_outcome_successful_inner.rb +158 -0
- data/lib/mencoro/models/async_job_resource.rb +256 -0
- data/lib/mencoro/models/batch_change_tracked_query_check_frequency_request_data.rb +237 -0
- data/lib/mencoro/models/batch_change_tracked_query_passes_request_data.rb +231 -0
- data/lib/mencoro/models/batch_create_query_clusters_outcome.rb +163 -0
- data/lib/mencoro/models/batch_create_query_clusters_outcome_failed_inner.rb +165 -0
- data/lib/mencoro/models/batch_create_query_clusters_outcome_successful_inner.rb +156 -0
- data/lib/mencoro/models/batch_create_query_clusters_request_data.rb +186 -0
- data/lib/mencoro/models/batch_create_tracked_queries_request_data.rb +399 -0
- data/lib/mencoro/models/batch_create_tracked_queries_result_resource.rb +163 -0
- data/lib/mencoro/models/batch_create_tracked_queries_result_resource_failed_inner.rb +183 -0
- data/lib/mencoro/models/batch_create_tracked_queries_result_resource_successful_inner.rb +174 -0
- data/lib/mencoro/models/batch_force_check_tracked_queries200_response.rb +162 -0
- data/lib/mencoro/models/batch_force_check_tracked_queries200_response_failed_inner.rb +165 -0
- data/lib/mencoro/models/batch_pause_tracked_queries200_response.rb +162 -0
- data/lib/mencoro/models/batch_pause_tracked_queries200_response_failed_inner.rb +165 -0
- data/lib/mencoro/models/batch_pause_tracked_queries200_response_successful_inner.rb +147 -0
- data/lib/mencoro/models/batch_resume_tracked_queries200_response.rb +162 -0
- data/lib/mencoro/models/batch_targets_request_data.rb +186 -0
- data/lib/mencoro/models/batch_write_outcome.rb +163 -0
- data/lib/mencoro/models/batch_write_outcome_failed_inner.rb +166 -0
- data/lib/mencoro/models/brand_profile_resource.rb +235 -0
- data/lib/mencoro/models/bulk_add_clusters_to_tracked_queries200_response.rb +162 -0
- data/lib/mencoro/models/bulk_add_clusters_to_tracked_queries_request.rb +218 -0
- data/lib/mencoro/models/bulk_remove_clusters_from_tracked_queries200_response.rb +162 -0
- data/lib/mencoro/models/bulk_remove_clusters_from_tracked_queries_request.rb +218 -0
- data/lib/mencoro/models/change_member_role_request.rb +181 -0
- data/lib/mencoro/models/change_tracked_query_check_frequency_request_data.rb +190 -0
- data/lib/mencoro/models/change_tracked_query_passes_request_data.rb +184 -0
- data/lib/mencoro/models/citation_resource.rb +306 -0
- data/lib/mencoro/models/cluster_membership_request_data.rb +186 -0
- data/lib/mencoro/models/competitor_resource.rb +250 -0
- data/lib/mencoro/models/create_competitor_request.rb +247 -0
- data/lib/mencoro/models/create_invitation200_response.rb +202 -0
- data/lib/mencoro/models/create_invitation201_response.rb +347 -0
- data/lib/mencoro/models/create_invitation_request.rb +192 -0
- data/lib/mencoro/models/create_organization201_response.rb +166 -0
- data/lib/mencoro/models/create_organization_request.rb +175 -0
- data/lib/mencoro/models/create_project_request.rb +307 -0
- data/lib/mencoro/models/create_project_request_competitors_inner.rb +256 -0
- data/lib/mencoro/models/create_query_cluster409_response.rb +165 -0
- data/lib/mencoro/models/create_query_cluster_request.rb +167 -0
- data/lib/mencoro/models/delete_query_cluster200_response.rb +168 -0
- data/lib/mencoro/models/entitlements_resource.rb +328 -0
- data/lib/mencoro/models/get_available_filters200_response.rb +173 -0
- data/lib/mencoro/models/get_available_filters200_response_clusters_inner.rb +157 -0
- data/lib/mencoro/models/get_me_stats200_response.rb +156 -0
- data/lib/mencoro/models/get_me_stats200_response_organizations.rb +167 -0
- data/lib/mencoro/models/get_me_stats200_response_projects.rb +196 -0
- data/lib/mencoro/models/get_membership_stats200_response.rb +322 -0
- data/lib/mencoro/models/get_mention_samples400_response.rb +231 -0
- data/lib/mencoro/models/get_mention_samples400_response_details_value_inner.rb +168 -0
- data/lib/mencoro/models/get_metric_glossary200_response.rb +149 -0
- data/lib/mencoro/models/get_metric_glossary200_response_metrics_inner.rb +240 -0
- data/lib/mencoro/models/get_organization_overview200_response.rb +158 -0
- data/lib/mencoro/models/get_organization_overview200_response_aggregate.rb +209 -0
- data/lib/mencoro/models/get_organization_overview200_response_projects_inner.rb +218 -0
- data/lib/mencoro/models/get_organization_stats200_response.rb +165 -0
- data/lib/mencoro/models/get_organization_stats200_response_invitations.rb +167 -0
- data/lib/mencoro/models/get_organization_stats200_response_members.rb +167 -0
- data/lib/mencoro/models/get_organization_stats200_response_projects.rb +196 -0
- data/lib/mencoro/models/get_share_of_voice_formula200_response.rb +182 -0
- data/lib/mencoro/models/get_tracking_coverage200_response.rb +209 -0
- data/lib/mencoro/models/get_tracking_coverage200_response_sample_inner.rb +229 -0
- data/lib/mencoro/models/invitation_resource.rb +331 -0
- data/lib/mencoro/models/keyword_listing_resource.rb +798 -0
- data/lib/mencoro/models/keyword_listing_resource_mention_type_counts.rb +184 -0
- data/lib/mencoro/models/list_ai_responses200_response.rb +159 -0
- data/lib/mencoro/models/list_competitors200_response.rb +159 -0
- data/lib/mencoro/models/list_invitations200_response.rb +158 -0
- data/lib/mencoro/models/list_keyword_listings200_response.rb +180 -0
- data/lib/mencoro/models/list_members200_response.rb +158 -0
- data/lib/mencoro/models/list_organizations200_response.rb +158 -0
- data/lib/mencoro/models/list_projects200_response.rb +159 -0
- data/lib/mencoro/models/list_query_clusters200_response.rb +159 -0
- data/lib/mencoro/models/list_search_snapshots200_response.rb +159 -0
- data/lib/mencoro/models/list_shopping_snapshots200_response.rb +159 -0
- data/lib/mencoro/models/me_resource.rb +394 -0
- data/lib/mencoro/models/member_resource.rb +322 -0
- data/lib/mencoro/models/operation_effect.rb +204 -0
- data/lib/mencoro/models/organization_resource.rb +326 -0
- data/lib/mencoro/models/preview_organization_operation200_response.rb +236 -0
- data/lib/mencoro/models/preview_organization_operation200_response_organization.rb +158 -0
- data/lib/mencoro/models/preview_organization_operation_request.rb +213 -0
- data/lib/mencoro/models/project_detail_resource.rb +380 -0
- data/lib/mencoro/models/project_detail_resource_competitors_inner.rb +178 -0
- data/lib/mencoro/models/project_resource.rb +422 -0
- data/lib/mencoro/models/projected_monthly_checks_resource.rb +211 -0
- data/lib/mencoro/models/query_cluster_resource.rb +229 -0
- data/lib/mencoro/models/report_ai_response_request.rb +227 -0
- data/lib/mencoro/models/search_result_resource.rb +284 -0
- data/lib/mencoro/models/search_snapshot_resource.rb +302 -0
- data/lib/mencoro/models/search_tracked_queries200_response.rb +158 -0
- data/lib/mencoro/models/shopping_offer_resource.rb +381 -0
- data/lib/mencoro/models/shopping_snapshot_resource.rb +302 -0
- data/lib/mencoro/models/start_brand_discovery_job_request.rb +185 -0
- data/lib/mencoro/models/start_brand_name_suggestion_job_request.rb +287 -0
- data/lib/mencoro/models/start_clustering_job_request_data.rb +249 -0
- data/lib/mencoro/models/start_keyword_discovery_job_request.rb +266 -0
- data/lib/mencoro/models/start_prompt_discovery_job_request.rb +276 -0
- data/lib/mencoro/models/submitted_checks_resource.rb +195 -0
- data/lib/mencoro/models/subscription_resource.rb +362 -0
- data/lib/mencoro/models/tracked_query_count_resource.rb +193 -0
- data/lib/mencoro/models/tracked_query_detail_resource.rb +440 -0
- data/lib/mencoro/models/tracked_query_resource.rb +492 -0
- data/lib/mencoro/models/tracked_query_usage_resource.rb +175 -0
- data/lib/mencoro/models/update_organization_request.rb +195 -0
- data/lib/mencoro/models/update_project_brand_profile_request.rb +218 -0
- data/lib/mencoro/models/update_project_request.rb +182 -0
- data/lib/mencoro/version.rb +15 -0
- data/lib/mencoro.rb +169 -0
- data/mencoro.gemspec +41 -0
- data/spec/api/account_api_spec.rb +57 -0
- data/spec/api/analytics_api_spec.rb +318 -0
- data/spec/api/billing_api_spec.rb +47 -0
- data/spec/api/captures_api_spec.rb +93 -0
- data/spec/api/clusters_api_spec.rb +126 -0
- data/spec/api/discovery_api_spec.rb +94 -0
- data/spec/api/invitations_api_spec.rb +83 -0
- data/spec/api/jobs_api_spec.rb +48 -0
- data/spec/api/members_api_spec.rb +111 -0
- data/spec/api/organization_operations_api_spec.rb +47 -0
- data/spec/api/organizations_api_spec.rb +181 -0
- data/spec/api/projects_api_spec.rb +229 -0
- data/spec/api/tracked_queries_api_spec.rb +344 -0
- data/spec/models/accepted_job_resource_spec.rb +48 -0
- data/spec/models/ai_response_report_resource_spec.rb +70 -0
- data/spec/models/ai_response_resource_spec.rb +90 -0
- data/spec/models/apply_clustering_job_outcome_clusters_inner_spec.rb +48 -0
- data/spec/models/apply_clustering_job_outcome_failed_inner_spec.rb +48 -0
- data/spec/models/apply_clustering_job_outcome_skipped_clusters_inner_spec.rb +42 -0
- data/spec/models/apply_clustering_job_outcome_spec.rb +60 -0
- data/spec/models/apply_clustering_job_outcome_successful_inner_spec.rb +42 -0
- data/spec/models/async_job_resource_spec.rb +62 -0
- data/spec/models/batch_change_tracked_query_check_frequency_request_data_spec.rb +46 -0
- data/spec/models/batch_change_tracked_query_passes_request_data_spec.rb +42 -0
- data/spec/models/batch_create_query_clusters_outcome_failed_inner_spec.rb +48 -0
- data/spec/models/batch_create_query_clusters_outcome_spec.rb +42 -0
- data/spec/models/batch_create_query_clusters_outcome_successful_inner_spec.rb +42 -0
- data/spec/models/batch_create_query_clusters_request_data_spec.rb +36 -0
- data/spec/models/batch_create_tracked_queries_request_data_spec.rb +80 -0
- data/spec/models/batch_create_tracked_queries_result_resource_failed_inner_spec.rb +60 -0
- data/spec/models/batch_create_tracked_queries_result_resource_spec.rb +42 -0
- data/spec/models/batch_create_tracked_queries_result_resource_successful_inner_spec.rb +54 -0
- data/spec/models/batch_force_check_tracked_queries200_response_failed_inner_spec.rb +48 -0
- data/spec/models/batch_force_check_tracked_queries200_response_spec.rb +42 -0
- data/spec/models/batch_pause_tracked_queries200_response_failed_inner_spec.rb +48 -0
- data/spec/models/batch_pause_tracked_queries200_response_spec.rb +42 -0
- data/spec/models/batch_pause_tracked_queries200_response_successful_inner_spec.rb +36 -0
- data/spec/models/batch_resume_tracked_queries200_response_spec.rb +42 -0
- data/spec/models/batch_targets_request_data_spec.rb +36 -0
- data/spec/models/batch_write_outcome_failed_inner_spec.rb +48 -0
- data/spec/models/batch_write_outcome_spec.rb +42 -0
- data/spec/models/brand_profile_resource_spec.rb +54 -0
- data/spec/models/bulk_add_clusters_to_tracked_queries200_response_spec.rb +42 -0
- data/spec/models/bulk_add_clusters_to_tracked_queries_request_spec.rb +42 -0
- data/spec/models/bulk_remove_clusters_from_tracked_queries200_response_spec.rb +42 -0
- data/spec/models/bulk_remove_clusters_from_tracked_queries_request_spec.rb +42 -0
- data/spec/models/change_member_role_request_spec.rb +40 -0
- data/spec/models/change_tracked_query_check_frequency_request_data_spec.rb +40 -0
- data/spec/models/change_tracked_query_passes_request_data_spec.rb +36 -0
- data/spec/models/citation_resource_spec.rb +90 -0
- data/spec/models/cluster_membership_request_data_spec.rb +36 -0
- data/spec/models/competitor_resource_spec.rb +54 -0
- data/spec/models/create_competitor_request_spec.rb +48 -0
- data/spec/models/create_invitation200_response_spec.rb +52 -0
- data/spec/models/create_invitation201_response_spec.rb +86 -0
- data/spec/models/create_invitation_request_spec.rb +46 -0
- data/spec/models/create_organization201_response_spec.rb +48 -0
- data/spec/models/create_organization_request_spec.rb +36 -0
- data/spec/models/create_project_request_competitors_inner_spec.rb +48 -0
- data/spec/models/create_project_request_spec.rb +54 -0
- data/spec/models/create_query_cluster409_response_spec.rb +48 -0
- data/spec/models/create_query_cluster_request_spec.rb +36 -0
- data/spec/models/delete_query_cluster200_response_spec.rb +48 -0
- data/spec/models/entitlements_resource_spec.rb +104 -0
- data/spec/models/get_available_filters200_response_clusters_inner_spec.rb +42 -0
- data/spec/models/get_available_filters200_response_spec.rb +48 -0
- data/spec/models/get_me_stats200_response_organizations_spec.rb +36 -0
- data/spec/models/get_me_stats200_response_projects_spec.rb +42 -0
- data/spec/models/get_me_stats200_response_spec.rb +42 -0
- data/spec/models/get_membership_stats200_response_spec.rb +72 -0
- data/spec/models/get_mention_samples400_response_details_value_inner_spec.rb +48 -0
- data/spec/models/get_mention_samples400_response_spec.rb +54 -0
- data/spec/models/get_metric_glossary200_response_metrics_inner_spec.rb +76 -0
- data/spec/models/get_metric_glossary200_response_spec.rb +36 -0
- data/spec/models/get_organization_overview200_response_aggregate_spec.rb +72 -0
- data/spec/models/get_organization_overview200_response_projects_inner_spec.rb +78 -0
- data/spec/models/get_organization_overview200_response_spec.rb +42 -0
- data/spec/models/get_organization_stats200_response_invitations_spec.rb +36 -0
- data/spec/models/get_organization_stats200_response_members_spec.rb +36 -0
- data/spec/models/get_organization_stats200_response_projects_spec.rb +42 -0
- data/spec/models/get_organization_stats200_response_spec.rb +48 -0
- data/spec/models/get_share_of_voice_formula200_response_spec.rb +54 -0
- data/spec/models/get_tracking_coverage200_response_sample_inner_spec.rb +70 -0
- data/spec/models/get_tracking_coverage200_response_spec.rb +72 -0
- data/spec/models/invitation_resource_spec.rb +80 -0
- data/spec/models/keyword_listing_resource_mention_type_counts_spec.rb +60 -0
- data/spec/models/keyword_listing_resource_spec.rb +262 -0
- data/spec/models/list_ai_responses200_response_spec.rb +42 -0
- data/spec/models/list_competitors200_response_spec.rb +42 -0
- data/spec/models/list_invitations200_response_spec.rb +42 -0
- data/spec/models/list_keyword_listings200_response_spec.rb +54 -0
- data/spec/models/list_members200_response_spec.rb +42 -0
- data/spec/models/list_organizations200_response_spec.rb +42 -0
- data/spec/models/list_projects200_response_spec.rb +42 -0
- data/spec/models/list_query_clusters200_response_spec.rb +42 -0
- data/spec/models/list_search_snapshots200_response_spec.rb +42 -0
- data/spec/models/list_shopping_snapshots200_response_spec.rb +42 -0
- data/spec/models/me_resource_spec.rb +92 -0
- data/spec/models/member_resource_spec.rb +74 -0
- data/spec/models/operation_effect_spec.rb +48 -0
- data/spec/models/organization_resource_spec.rb +86 -0
- data/spec/models/preview_organization_operation200_response_organization_spec.rb +42 -0
- data/spec/models/preview_organization_operation200_response_spec.rb +84 -0
- data/spec/models/preview_organization_operation_request_spec.rb +58 -0
- data/spec/models/project_detail_resource_competitors_inner_spec.rb +54 -0
- data/spec/models/project_detail_resource_spec.rb +82 -0
- data/spec/models/project_resource_spec.rb +136 -0
- data/spec/models/projected_monthly_checks_resource_spec.rb +42 -0
- data/spec/models/query_cluster_resource_spec.rb +48 -0
- data/spec/models/report_ai_response_request_spec.rb +52 -0
- data/spec/models/search_result_resource_spec.rb +78 -0
- data/spec/models/search_snapshot_resource_spec.rb +66 -0
- data/spec/models/search_tracked_queries200_response_spec.rb +42 -0
- data/spec/models/shopping_offer_resource_spec.rb +96 -0
- data/spec/models/shopping_snapshot_resource_spec.rb +66 -0
- data/spec/models/start_brand_discovery_job_request_spec.rb +42 -0
- data/spec/models/start_brand_name_suggestion_job_request_spec.rb +54 -0
- data/spec/models/start_clustering_job_request_data_spec.rb +52 -0
- data/spec/models/start_keyword_discovery_job_request_spec.rb +54 -0
- data/spec/models/start_prompt_discovery_job_request_spec.rb +54 -0
- data/spec/models/submitted_checks_resource_spec.rb +42 -0
- data/spec/models/subscription_resource_spec.rb +120 -0
- data/spec/models/tracked_query_count_resource_spec.rb +42 -0
- data/spec/models/tracked_query_detail_resource_spec.rb +108 -0
- data/spec/models/tracked_query_resource_spec.rb +150 -0
- data/spec/models/tracked_query_usage_resource_spec.rb +36 -0
- data/spec/models/update_organization_request_spec.rb +48 -0
- data/spec/models/update_project_brand_profile_request_spec.rb +42 -0
- data/spec/models/update_project_request_spec.rb +36 -0
- data/spec/spec_helper.rb +111 -0
- metadata +641 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Mencoro::GetOrganizationOverview200ResponseAggregate
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **project_count** | **Integer** | Active projects in the organization, the length of `projects`. | [optional] |
|
|
8
|
+
| **projects_with_data** | **Integer** | How many of those have a share of voice; the averages below are means over the projects that report each metric, never over the ones still null. | [optional] |
|
|
9
|
+
| **total_tracked_queries** | **Integer** | | [optional] |
|
|
10
|
+
| **avg_share_of_voice** | **Float** | Null when no project reports a share of voice. | [optional] |
|
|
11
|
+
| **avg_mention_rate** | **Integer** | | [optional] |
|
|
12
|
+
| **avg_mention_position** | **Float** | 1-based rank; LOWER is better. | [optional] |
|
|
13
|
+
| **avg_positivity_index** | **Integer** | | [optional] |
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
require 'mencoro'
|
|
19
|
+
|
|
20
|
+
instance = Mencoro::GetOrganizationOverview200ResponseAggregate.new(
|
|
21
|
+
project_count: null,
|
|
22
|
+
projects_with_data: null,
|
|
23
|
+
total_tracked_queries: null,
|
|
24
|
+
avg_share_of_voice: null,
|
|
25
|
+
avg_mention_rate: null,
|
|
26
|
+
avg_mention_position: null,
|
|
27
|
+
avg_positivity_index: null
|
|
28
|
+
)
|
|
29
|
+
```
|
|
30
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Mencoro::GetOrganizationOverview200ResponseProjectsInner
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **project_id** | **String** | | [optional] |
|
|
8
|
+
| **name** | **String** | | [optional] |
|
|
9
|
+
| **status** | **String** | | [optional] |
|
|
10
|
+
| **tracked_query_count** | **Integer** | | [optional] |
|
|
11
|
+
| **share_of_voice** | **Float** | 0-100 percentage share of weighted AI mentions against all tracked brands; higher is better. Null when the project has no rank data yet. | [optional] |
|
|
12
|
+
| **mention_rate** | **Integer** | 0-100 percentage of tracked queries with a result; higher is better. Null when the project has no rank data yet. | [optional] |
|
|
13
|
+
| **avg_mention_position** | **Float** | 1-based average rank of the brand within the answer; LOWER is better. Null when the project has no rank data yet. | [optional] |
|
|
14
|
+
| **positivity_index** | **Integer** | 0-100 sentiment score; higher is better. Null when the project has no rank data yet. | [optional] |
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```ruby
|
|
19
|
+
require 'mencoro'
|
|
20
|
+
|
|
21
|
+
instance = Mencoro::GetOrganizationOverview200ResponseProjectsInner.new(
|
|
22
|
+
project_id: null,
|
|
23
|
+
name: null,
|
|
24
|
+
status: null,
|
|
25
|
+
tracked_query_count: null,
|
|
26
|
+
share_of_voice: null,
|
|
27
|
+
mention_rate: null,
|
|
28
|
+
avg_mention_position: null,
|
|
29
|
+
positivity_index: null
|
|
30
|
+
)
|
|
31
|
+
```
|
|
32
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Mencoro::GetOrganizationStats200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **members** | [**GetOrganizationStats200ResponseMembers**](GetOrganizationStats200ResponseMembers.md) | | [optional] |
|
|
8
|
+
| **projects** | [**GetOrganizationStats200ResponseProjects**](GetOrganizationStats200ResponseProjects.md) | | [optional] |
|
|
9
|
+
| **invitations** | [**GetOrganizationStats200ResponseInvitations**](GetOrganizationStats200ResponseInvitations.md) | | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'mencoro'
|
|
15
|
+
|
|
16
|
+
instance = Mencoro::GetOrganizationStats200Response.new(
|
|
17
|
+
members: null,
|
|
18
|
+
projects: null,
|
|
19
|
+
invitations: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Mencoro::GetOrganizationStats200ResponseInvitations
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **pending** | **Integer** | Invitations still awaiting an answer. Accepted, cancelled and expired ones are excluded. | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'mencoro'
|
|
13
|
+
|
|
14
|
+
instance = Mencoro::GetOrganizationStats200ResponseInvitations.new(
|
|
15
|
+
pending: 3
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Mencoro::GetOrganizationStats200ResponseMembers
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **total** | **Integer** | Active memberships. Suspended members are excluded. | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'mencoro'
|
|
13
|
+
|
|
14
|
+
instance = Mencoro::GetOrganizationStats200ResponseMembers.new(
|
|
15
|
+
total: 12
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Mencoro::GetOrganizationStats200ResponseProjects
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **total** | **Integer** | Every project in the organization, archived ones included. | [optional] |
|
|
8
|
+
| **active** | **Integer** | Projects that are not archived; never greater than `total`. | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'mencoro'
|
|
14
|
+
|
|
15
|
+
instance = Mencoro::GetOrganizationStats200ResponseProjects.new(
|
|
16
|
+
total: 25,
|
|
17
|
+
active: 18
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Mencoro::GetShareOfVoiceFormula200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **mention_type_weights** | **Hash<String, Float>** | Base weight per mention type; higher means a structurally stronger brand association. | [optional] |
|
|
8
|
+
| **sentiment_multipliers** | **Hash<String, Float>** | Multiplier per tone, applied on top of the base weight. | [optional] |
|
|
9
|
+
| **direct_multiplier** | **Float** | Applied when the mention carries no condition. | [optional] |
|
|
10
|
+
| **conditional_multiplier** | **Float** | Applied instead when the answer hedged the mention with a condition. | [optional] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'mencoro'
|
|
16
|
+
|
|
17
|
+
instance = Mencoro::GetShareOfVoiceFormula200Response.new(
|
|
18
|
+
mention_type_weights: null,
|
|
19
|
+
sentiment_multipliers: null,
|
|
20
|
+
direct_multiplier: null,
|
|
21
|
+
conditional_multiplier: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Mencoro::GetTrackingCoverage200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **project_id** | **String** | | [optional] |
|
|
8
|
+
| **total** | **Integer** | Every tracked query on the project, whatever its status | [optional] |
|
|
9
|
+
| **active** | **Integer** | Tracked queries currently being checked | [optional] |
|
|
10
|
+
| **paused** | **Integer** | Tracked queries whose checks are suspended | [optional] |
|
|
11
|
+
| **never_checked** | **Integer** | Active queries that have never run yet | [optional] |
|
|
12
|
+
| **overdue** | **Integer** | Active queries past their check-frequency interval, never-checked ones excluded | [optional] |
|
|
13
|
+
| **sample** | [**Array<GetTrackingCoverage200ResponseSampleInner>**](GetTrackingCoverage200ResponseSampleInner.md) | Up to 20 overdue queries, oldest check first | [optional] |
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
require 'mencoro'
|
|
19
|
+
|
|
20
|
+
instance = Mencoro::GetTrackingCoverage200Response.new(
|
|
21
|
+
project_id: null,
|
|
22
|
+
total: null,
|
|
23
|
+
active: null,
|
|
24
|
+
paused: null,
|
|
25
|
+
never_checked: null,
|
|
26
|
+
overdue: null,
|
|
27
|
+
sample: null
|
|
28
|
+
)
|
|
29
|
+
```
|
|
30
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Mencoro::GetTrackingCoverage200ResponseSampleInner
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **tracked_query_id** | **String** | | [optional] |
|
|
8
|
+
| **query_text** | **String** | | [optional] |
|
|
9
|
+
| **engine** | **String** | | [optional] |
|
|
10
|
+
| **country** | **String** | ISO-3166 alpha-2 code | [optional] |
|
|
11
|
+
| **check_frequency** | **String** | | [optional] |
|
|
12
|
+
| **last_checked_at** | **Time** | RFC 3339 timestamp of the last check. Null means never checked, which this sample never contains. | [optional] |
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
require 'mencoro'
|
|
18
|
+
|
|
19
|
+
instance = Mencoro::GetTrackingCoverage200ResponseSampleInner.new(
|
|
20
|
+
tracked_query_id: null,
|
|
21
|
+
query_text: null,
|
|
22
|
+
engine: null,
|
|
23
|
+
country: null,
|
|
24
|
+
check_frequency: null,
|
|
25
|
+
last_checked_at: null
|
|
26
|
+
)
|
|
27
|
+
```
|
|
28
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Mencoro::InvitationResource
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | | |
|
|
8
|
+
| **email** | **String** | | |
|
|
9
|
+
| **role** | **String** | | |
|
|
10
|
+
| **state** | **String** | | |
|
|
11
|
+
| **created_at** | **Time** | | |
|
|
12
|
+
| **expires_at** | **Time** | | |
|
|
13
|
+
| **accepted_at** | **Time** | | [optional] |
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
require 'mencoro'
|
|
19
|
+
|
|
20
|
+
instance = Mencoro::InvitationResource.new(
|
|
21
|
+
id: null,
|
|
22
|
+
email: null,
|
|
23
|
+
role: null,
|
|
24
|
+
state: null,
|
|
25
|
+
created_at: null,
|
|
26
|
+
expires_at: null,
|
|
27
|
+
accepted_at: null
|
|
28
|
+
)
|
|
29
|
+
```
|
|
30
|
+
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
# Mencoro::InvitationsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.mencoro.com*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**cancel_invitation**](InvitationsApi.md#cancel_invitation) | **POST** /api/v1/organizations/{organizationId}/invitations/{invitationId}/cancel | Cancel a pending invitation |
|
|
8
|
+
| [**create_invitation**](InvitationsApi.md#create_invitation) | **POST** /api/v1/organizations/{organizationId}/invitations | Invite somebody to an organization |
|
|
9
|
+
| [**list_invitations**](InvitationsApi.md#list_invitations) | **GET** /api/v1/organizations/{organizationId}/invitations | List an organization's invitations |
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## cancel_invitation
|
|
13
|
+
|
|
14
|
+
> <InvitationResource> cancel_invitation(organization_id, invitation_id, x_mencoro_confirmation, idempotency_key)
|
|
15
|
+
|
|
16
|
+
Cancel a pending invitation
|
|
17
|
+
|
|
18
|
+
Minimum role: owner. The link already emailed to the invitee stops working. Only a pending invitation can be cancelled; one that was accepted, rejected or has expired is refused.
|
|
19
|
+
|
|
20
|
+
### Examples
|
|
21
|
+
|
|
22
|
+
```ruby
|
|
23
|
+
require 'time'
|
|
24
|
+
require 'mencoro'
|
|
25
|
+
# setup authorization
|
|
26
|
+
Mencoro.configure do |config|
|
|
27
|
+
# Configure Bearer authorization: ApiKey
|
|
28
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
api_instance = Mencoro::InvitationsApi.new
|
|
32
|
+
organization_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
|
|
33
|
+
invitation_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
|
|
34
|
+
x_mencoro_confirmation = 'x_mencoro_confirmation_example' # String |
|
|
35
|
+
idempotency_key = 'idempotency_key_example' # String |
|
|
36
|
+
|
|
37
|
+
begin
|
|
38
|
+
# Cancel a pending invitation
|
|
39
|
+
result = api_instance.cancel_invitation(organization_id, invitation_id, x_mencoro_confirmation, idempotency_key)
|
|
40
|
+
p result
|
|
41
|
+
rescue Mencoro::ApiError => e
|
|
42
|
+
puts "Error when calling InvitationsApi->cancel_invitation: #{e}"
|
|
43
|
+
end
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
#### Using the cancel_invitation_with_http_info variant
|
|
47
|
+
|
|
48
|
+
This returns an Array which contains the response data, status code and headers.
|
|
49
|
+
|
|
50
|
+
> <Array(<InvitationResource>, Integer, Hash)> cancel_invitation_with_http_info(organization_id, invitation_id, x_mencoro_confirmation, idempotency_key)
|
|
51
|
+
|
|
52
|
+
```ruby
|
|
53
|
+
begin
|
|
54
|
+
# Cancel a pending invitation
|
|
55
|
+
data, status_code, headers = api_instance.cancel_invitation_with_http_info(organization_id, invitation_id, x_mencoro_confirmation, idempotency_key)
|
|
56
|
+
p status_code # => 2xx
|
|
57
|
+
p headers # => { ... }
|
|
58
|
+
p data # => <InvitationResource>
|
|
59
|
+
rescue Mencoro::ApiError => e
|
|
60
|
+
puts "Error when calling InvitationsApi->cancel_invitation_with_http_info: #{e}"
|
|
61
|
+
end
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### Parameters
|
|
65
|
+
|
|
66
|
+
| Name | Type | Description | Notes |
|
|
67
|
+
| ---- | ---- | ----------- | ----- |
|
|
68
|
+
| **organization_id** | **String** | | |
|
|
69
|
+
| **invitation_id** | **String** | | |
|
|
70
|
+
| **x_mencoro_confirmation** | **String** | | |
|
|
71
|
+
| **idempotency_key** | **String** | | |
|
|
72
|
+
|
|
73
|
+
### Return type
|
|
74
|
+
|
|
75
|
+
[**InvitationResource**](InvitationResource.md)
|
|
76
|
+
|
|
77
|
+
### Authorization
|
|
78
|
+
|
|
79
|
+
[ApiKey](../README.md#ApiKey)
|
|
80
|
+
|
|
81
|
+
### HTTP request headers
|
|
82
|
+
|
|
83
|
+
- **Content-Type**: Not defined
|
|
84
|
+
- **Accept**: application/json
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
## create_invitation
|
|
88
|
+
|
|
89
|
+
> <CreateInvitation200Response> create_invitation(organization_id, x_mencoro_confirmation, idempotency_key, create_invitation_request)
|
|
90
|
+
|
|
91
|
+
Invite somebody to an organization
|
|
92
|
+
|
|
93
|
+
Minimum role: owner. Sends an invitation email that expires after 14 days. If the address already belongs to an active member the call succeeds and creates nothing - answered as 200 with created=false rather than 201, so a client can tell the two apart. Preview it first; the preview says which of the two will happen.
|
|
94
|
+
|
|
95
|
+
### Examples
|
|
96
|
+
|
|
97
|
+
```ruby
|
|
98
|
+
require 'time'
|
|
99
|
+
require 'mencoro'
|
|
100
|
+
# setup authorization
|
|
101
|
+
Mencoro.configure do |config|
|
|
102
|
+
# Configure Bearer authorization: ApiKey
|
|
103
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
api_instance = Mencoro::InvitationsApi.new
|
|
107
|
+
organization_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
|
|
108
|
+
x_mencoro_confirmation = 'x_mencoro_confirmation_example' # String |
|
|
109
|
+
idempotency_key = 'idempotency_key_example' # String |
|
|
110
|
+
create_invitation_request = Mencoro::CreateInvitationRequest.new # CreateInvitationRequest |
|
|
111
|
+
|
|
112
|
+
begin
|
|
113
|
+
# Invite somebody to an organization
|
|
114
|
+
result = api_instance.create_invitation(organization_id, x_mencoro_confirmation, idempotency_key, create_invitation_request)
|
|
115
|
+
p result
|
|
116
|
+
rescue Mencoro::ApiError => e
|
|
117
|
+
puts "Error when calling InvitationsApi->create_invitation: #{e}"
|
|
118
|
+
end
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
#### Using the create_invitation_with_http_info variant
|
|
122
|
+
|
|
123
|
+
This returns an Array which contains the response data, status code and headers.
|
|
124
|
+
|
|
125
|
+
> <Array(<CreateInvitation200Response>, Integer, Hash)> create_invitation_with_http_info(organization_id, x_mencoro_confirmation, idempotency_key, create_invitation_request)
|
|
126
|
+
|
|
127
|
+
```ruby
|
|
128
|
+
begin
|
|
129
|
+
# Invite somebody to an organization
|
|
130
|
+
data, status_code, headers = api_instance.create_invitation_with_http_info(organization_id, x_mencoro_confirmation, idempotency_key, create_invitation_request)
|
|
131
|
+
p status_code # => 2xx
|
|
132
|
+
p headers # => { ... }
|
|
133
|
+
p data # => <CreateInvitation200Response>
|
|
134
|
+
rescue Mencoro::ApiError => e
|
|
135
|
+
puts "Error when calling InvitationsApi->create_invitation_with_http_info: #{e}"
|
|
136
|
+
end
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### Parameters
|
|
140
|
+
|
|
141
|
+
| Name | Type | Description | Notes |
|
|
142
|
+
| ---- | ---- | ----------- | ----- |
|
|
143
|
+
| **organization_id** | **String** | | |
|
|
144
|
+
| **x_mencoro_confirmation** | **String** | | |
|
|
145
|
+
| **idempotency_key** | **String** | | |
|
|
146
|
+
| **create_invitation_request** | [**CreateInvitationRequest**](CreateInvitationRequest.md) | | |
|
|
147
|
+
|
|
148
|
+
### Return type
|
|
149
|
+
|
|
150
|
+
[**CreateInvitation200Response**](CreateInvitation200Response.md)
|
|
151
|
+
|
|
152
|
+
### Authorization
|
|
153
|
+
|
|
154
|
+
[ApiKey](../README.md#ApiKey)
|
|
155
|
+
|
|
156
|
+
### HTTP request headers
|
|
157
|
+
|
|
158
|
+
- **Content-Type**: application/json
|
|
159
|
+
- **Accept**: application/json
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
## list_invitations
|
|
163
|
+
|
|
164
|
+
> <ListInvitations200Response> list_invitations(organization_id, opts)
|
|
165
|
+
|
|
166
|
+
List an organization's invitations
|
|
167
|
+
|
|
168
|
+
Minimum role: owner. Returns the invitations issued for this organization, in every state. The invitation token is never returned. `status` matches the stored state, so an invitation that has passed its `expiresAt` is still listed as pending until it is transitioned; compare `expiresAt` to decide. Rows are ordered by the chosen sort field, and invitations sharing the same value keep no guaranteed relative order across pages.Send `Accept: text/csv` to receive the same page as a CSV download instead of JSON: same filters, same authorization, same page window and the same maximum of 100 rows — it is this page in another format, not a bulk export, so a whole collection is still read by paging. The CSV carries no `total`, because a table whose every row is a record has nowhere to put one; read it from the JSON representation of the same request. Cells beginning with `=`, `+`, `-` or `@` are prefixed with an apostrophe so a spreadsheet treats them as text rather than running them as formulas.
|
|
169
|
+
|
|
170
|
+
### Examples
|
|
171
|
+
|
|
172
|
+
```ruby
|
|
173
|
+
require 'time'
|
|
174
|
+
require 'mencoro'
|
|
175
|
+
# setup authorization
|
|
176
|
+
Mencoro.configure do |config|
|
|
177
|
+
# Configure Bearer authorization: ApiKey
|
|
178
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
api_instance = Mencoro::InvitationsApi.new
|
|
182
|
+
organization_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
|
|
183
|
+
opts = {
|
|
184
|
+
limit: 56, # Integer |
|
|
185
|
+
offset: 56, # Integer |
|
|
186
|
+
search: 'search_example', # String | Matches part of the invited email address.
|
|
187
|
+
status: 'pending', # String | Absent means every state.
|
|
188
|
+
sort_by: 'createdAt', # String |
|
|
189
|
+
sort_order: 'asc' # String |
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
begin
|
|
193
|
+
# List an organization's invitations
|
|
194
|
+
result = api_instance.list_invitations(organization_id, opts)
|
|
195
|
+
p result
|
|
196
|
+
rescue Mencoro::ApiError => e
|
|
197
|
+
puts "Error when calling InvitationsApi->list_invitations: #{e}"
|
|
198
|
+
end
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
#### Using the list_invitations_with_http_info variant
|
|
202
|
+
|
|
203
|
+
This returns an Array which contains the response data, status code and headers.
|
|
204
|
+
|
|
205
|
+
> <Array(<ListInvitations200Response>, Integer, Hash)> list_invitations_with_http_info(organization_id, opts)
|
|
206
|
+
|
|
207
|
+
```ruby
|
|
208
|
+
begin
|
|
209
|
+
# List an organization's invitations
|
|
210
|
+
data, status_code, headers = api_instance.list_invitations_with_http_info(organization_id, opts)
|
|
211
|
+
p status_code # => 2xx
|
|
212
|
+
p headers # => { ... }
|
|
213
|
+
p data # => <ListInvitations200Response>
|
|
214
|
+
rescue Mencoro::ApiError => e
|
|
215
|
+
puts "Error when calling InvitationsApi->list_invitations_with_http_info: #{e}"
|
|
216
|
+
end
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
### Parameters
|
|
220
|
+
|
|
221
|
+
| Name | Type | Description | Notes |
|
|
222
|
+
| ---- | ---- | ----------- | ----- |
|
|
223
|
+
| **organization_id** | **String** | | |
|
|
224
|
+
| **limit** | **Integer** | | [optional][default to 20] |
|
|
225
|
+
| **offset** | **Integer** | | [optional][default to 0] |
|
|
226
|
+
| **search** | **String** | Matches part of the invited email address. | [optional] |
|
|
227
|
+
| **status** | **String** | Absent means every state. | [optional] |
|
|
228
|
+
| **sort_by** | **String** | | [optional][default to 'createdAt'] |
|
|
229
|
+
| **sort_order** | **String** | | [optional][default to 'desc'] |
|
|
230
|
+
|
|
231
|
+
### Return type
|
|
232
|
+
|
|
233
|
+
[**ListInvitations200Response**](ListInvitations200Response.md)
|
|
234
|
+
|
|
235
|
+
### Authorization
|
|
236
|
+
|
|
237
|
+
[ApiKey](../README.md#ApiKey)
|
|
238
|
+
|
|
239
|
+
### HTTP request headers
|
|
240
|
+
|
|
241
|
+
- **Content-Type**: Not defined
|
|
242
|
+
- **Accept**: application/json, text/csv
|
|
243
|
+
|
data/docs/JobsApi.md
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# Mencoro::JobsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.mencoro.com*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**get_async_job**](JobsApi.md#get_async_job) | **GET** /api/v1/organizations/{organizationId}/jobs/{jobId} | Get an asynchronous job |
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## get_async_job
|
|
11
|
+
|
|
12
|
+
> <AsyncJobResource> get_async_job(organization_id, job_id)
|
|
13
|
+
|
|
14
|
+
Get an asynchronous job
|
|
15
|
+
|
|
16
|
+
Minimum role: manager. The status of one asynchronous job started inside this organization — geo prompt discovery, keyword discovery, query clustering, brand discovery or brand-name suggestion — and, once it has completed, its result. Poll it until `status` is terminal: `completed` or `failed`. A null `result` means the result is not known, either because the job is still in flight or because it failed; it never means the job produced an empty result. A failed job carries no reason: the stored one is an internal exception message, not a published field. A job started by another organization, a job of a type this API does not publish, and a job id that does not exist all answer 404 alike, so the API never confirms that an inaccessible job exists.
|
|
17
|
+
|
|
18
|
+
### Examples
|
|
19
|
+
|
|
20
|
+
```ruby
|
|
21
|
+
require 'time'
|
|
22
|
+
require 'mencoro'
|
|
23
|
+
# setup authorization
|
|
24
|
+
Mencoro.configure do |config|
|
|
25
|
+
# Configure Bearer authorization: ApiKey
|
|
26
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
api_instance = Mencoro::JobsApi.new
|
|
30
|
+
organization_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
|
|
31
|
+
job_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String | Must be a job started inside the organization in the path.
|
|
32
|
+
|
|
33
|
+
begin
|
|
34
|
+
# Get an asynchronous job
|
|
35
|
+
result = api_instance.get_async_job(organization_id, job_id)
|
|
36
|
+
p result
|
|
37
|
+
rescue Mencoro::ApiError => e
|
|
38
|
+
puts "Error when calling JobsApi->get_async_job: #{e}"
|
|
39
|
+
end
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
#### Using the get_async_job_with_http_info variant
|
|
43
|
+
|
|
44
|
+
This returns an Array which contains the response data, status code and headers.
|
|
45
|
+
|
|
46
|
+
> <Array(<AsyncJobResource>, Integer, Hash)> get_async_job_with_http_info(organization_id, job_id)
|
|
47
|
+
|
|
48
|
+
```ruby
|
|
49
|
+
begin
|
|
50
|
+
# Get an asynchronous job
|
|
51
|
+
data, status_code, headers = api_instance.get_async_job_with_http_info(organization_id, job_id)
|
|
52
|
+
p status_code # => 2xx
|
|
53
|
+
p headers # => { ... }
|
|
54
|
+
p data # => <AsyncJobResource>
|
|
55
|
+
rescue Mencoro::ApiError => e
|
|
56
|
+
puts "Error when calling JobsApi->get_async_job_with_http_info: #{e}"
|
|
57
|
+
end
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### Parameters
|
|
61
|
+
|
|
62
|
+
| Name | Type | Description | Notes |
|
|
63
|
+
| ---- | ---- | ----------- | ----- |
|
|
64
|
+
| **organization_id** | **String** | | |
|
|
65
|
+
| **job_id** | **String** | Must be a job started inside the organization in the path. | |
|
|
66
|
+
|
|
67
|
+
### Return type
|
|
68
|
+
|
|
69
|
+
[**AsyncJobResource**](AsyncJobResource.md)
|
|
70
|
+
|
|
71
|
+
### Authorization
|
|
72
|
+
|
|
73
|
+
[ApiKey](../README.md#ApiKey)
|
|
74
|
+
|
|
75
|
+
### HTTP request headers
|
|
76
|
+
|
|
77
|
+
- **Content-Type**: Not defined
|
|
78
|
+
- **Accept**: application/json
|
|
79
|
+
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# Mencoro::KeywordListingResource
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **keyword** | **String** | The keyword as a human types it, picked from the variants for display. | |
|
|
8
|
+
| **keyword_normalized** | **String** | The grouping key: the keyword lower-cased and unaccented. Unique within the project, and the stable way to match a row across pages. | |
|
|
9
|
+
| **variant_count** | **Integer** | Tracked queries behind this row that the current filters selected. | |
|
|
10
|
+
| **variant_ids** | **Array<String>** | Ids of those tracked queries. Accepted by the single tracked-query operation. | |
|
|
11
|
+
| **engines** | **Array<String>** | Distinct engines across the variants, not a single engine. | |
|
|
12
|
+
| **countries** | **Array<String>** | Distinct ISO-3166 alpha-2 countries across the variants. | |
|
|
13
|
+
| **query_cluster_ids** | **Array<String>** | Distinct keyword clusters the variants belong to. Empty when none of them is clustered. | |
|
|
14
|
+
| **has_unclustered_variant** | **Boolean** | Whether at least one variant belongs to no cluster. | |
|
|
15
|
+
| **status_summary** | **String** | \"mixed\" when the variants disagree; otherwise the one status they share. | |
|
|
16
|
+
| **statuses** | **Array<String>** | Distinct statuses across the variants. | |
|
|
17
|
+
| **check_frequencies** | **Array<String>** | Distinct check frequencies across the variants. | |
|
|
18
|
+
| **n_passes_values** | **Array<Integer>** | Distinct pass counts across the variants. A pass is one budget unit per check. | |
|
|
19
|
+
| **last_checked_at** | **Time** | The most recent completed check across the variants. Null when none has ever completed — not a check that found nothing. | [optional] |
|
|
20
|
+
| **avg_serp_position** | **Float** | Average position in traditional search over the window. 1-based, LOWER is better. | [optional] |
|
|
21
|
+
| **trend_serp** | **Float** | Signed improvement in avgSerpPosition against the previous window. Positive is better. | [optional] |
|
|
22
|
+
| **avg_shopping_position** | **Float** | Average position in shopping results over the window. 1-based, LOWER is better. | [optional] |
|
|
23
|
+
| **trend_shopping** | **Float** | Signed improvement in avgShoppingPosition. Positive is better. | [optional] |
|
|
24
|
+
| **avg_mention_position** | **Float** | Average position of the brand mention inside the AI answer. 1-based, LOWER is better. | [optional] |
|
|
25
|
+
| **trend_mention** | **Float** | Signed improvement in avgMentionPosition. Positive is better. | [optional] |
|
|
26
|
+
| **avg_link_position** | **Float** | Average position of a cited link to the brand. 1-based, LOWER is better. | [optional] |
|
|
27
|
+
| **trend_link** | **Float** | Signed improvement in avgLinkPosition. Positive is better. | [optional] |
|
|
28
|
+
| **mention_position_stability** | **Float** | Day-to-day spread of the mention position (a standard deviation): LOWER means steadier. | [optional] |
|
|
29
|
+
| **trend_stability** | **Float** | Signed improvement in mentionPositionStability. Positive means steadier than the previous window. | [optional] |
|
|
30
|
+
| **positivity_index** | **Integer** | 0-100 weighted sentiment score of the mentions; HIGHER is better. Null when there were no mentions to score. | [optional] |
|
|
31
|
+
| **trend_positivity** | **Integer** | Signed improvement in positivityIndex. Positive is better. | [optional] |
|
|
32
|
+
| **mention_rate** | **Integer** | 0-100 share of AI captures in the window that mentioned the brand; HIGHER is better. | [optional] |
|
|
33
|
+
| **trend_mention_rate** | **Integer** | Signed improvement in mentionRate. Positive is better. | [optional] |
|
|
34
|
+
| **serp_rate** | **Integer** | 0-100 share of traditional-search captures in the window that ranked the brand; HIGHER is better. | [optional] |
|
|
35
|
+
| **trend_serp_rate** | **Integer** | Signed improvement in serpRate. Positive is better. | [optional] |
|
|
36
|
+
| **share_of_voice** | **Float** | 0-100 share of the weighted AI mentions against every tracked brand; HIGHER is better. | [optional] |
|
|
37
|
+
| **trend_share_of_voice** | **Float** | Signed improvement in shareOfVoice. Positive is better. | [optional] |
|
|
38
|
+
| **sentiment_positive** | **Integer** | Positive brand mentions counted in the window. Zero here really is zero. | |
|
|
39
|
+
| **sentiment_neutral** | **Integer** | Neutral brand mentions counted in the window. | |
|
|
40
|
+
| **sentiment_negative** | **Integer** | Negative brand mentions counted in the window. | |
|
|
41
|
+
| **avg_mention_count** | **Float** | Mentions per AI engine per day with a capture, over the window. Not a total: the window total is not part of this contract. | [optional] |
|
|
42
|
+
| **mention_type_counts** | [**KeywordListingResourceMentionTypeCounts**](KeywordListingResourceMentionTypeCounts.md) | | |
|
|
43
|
+
|
|
44
|
+
## Example
|
|
45
|
+
|
|
46
|
+
```ruby
|
|
47
|
+
require 'mencoro'
|
|
48
|
+
|
|
49
|
+
instance = Mencoro::KeywordListingResource.new(
|
|
50
|
+
keyword: null,
|
|
51
|
+
keyword_normalized: null,
|
|
52
|
+
variant_count: null,
|
|
53
|
+
variant_ids: null,
|
|
54
|
+
engines: null,
|
|
55
|
+
countries: null,
|
|
56
|
+
query_cluster_ids: null,
|
|
57
|
+
has_unclustered_variant: null,
|
|
58
|
+
status_summary: null,
|
|
59
|
+
statuses: null,
|
|
60
|
+
check_frequencies: null,
|
|
61
|
+
n_passes_values: null,
|
|
62
|
+
last_checked_at: null,
|
|
63
|
+
avg_serp_position: null,
|
|
64
|
+
trend_serp: null,
|
|
65
|
+
avg_shopping_position: null,
|
|
66
|
+
trend_shopping: null,
|
|
67
|
+
avg_mention_position: null,
|
|
68
|
+
trend_mention: null,
|
|
69
|
+
avg_link_position: null,
|
|
70
|
+
trend_link: null,
|
|
71
|
+
mention_position_stability: null,
|
|
72
|
+
trend_stability: null,
|
|
73
|
+
positivity_index: null,
|
|
74
|
+
trend_positivity: null,
|
|
75
|
+
mention_rate: null,
|
|
76
|
+
trend_mention_rate: null,
|
|
77
|
+
serp_rate: null,
|
|
78
|
+
trend_serp_rate: null,
|
|
79
|
+
share_of_voice: null,
|
|
80
|
+
trend_share_of_voice: null,
|
|
81
|
+
sentiment_positive: null,
|
|
82
|
+
sentiment_neutral: null,
|
|
83
|
+
sentiment_negative: null,
|
|
84
|
+
avg_mention_count: null,
|
|
85
|
+
mention_type_counts: null
|
|
86
|
+
)
|
|
87
|
+
```
|
|
88
|
+
|