gong_api 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +906 -0
- data/Rakefile +8 -0
- data/config.json +12 -0
- data/docs/Actor.md +10 -0
- data/docs/AggregateActivity.md +21 -0
- data/docs/AggregateActivityWithDates.md +23 -0
- data/docs/Answer.md +12 -0
- data/docs/AnsweredScorecard.md +16 -0
- data/docs/AnsweredScorecards.md +9 -0
- data/docs/AnsweredScorecardsFilter.md +12 -0
- data/docs/AssociationObject.md +8 -0
- data/docs/AsyncProcessingResponse.md +8 -0
- data/docs/AuditingApi.md +61 -0
- data/docs/BaseResponse.md +7 -0
- data/docs/CRMApi.md +490 -0
- data/docs/Call.md +13 -0
- data/docs/CallAccessDetails.md +8 -0
- data/docs/CallAccessWithPermissionLevel.md +8 -0
- data/docs/CallBasicData.md +25 -0
- data/docs/CallCollaboration.md +7 -0
- data/docs/CallContent.md +11 -0
- data/docs/CallContext.md +8 -0
- data/docs/CallInteraction.md +10 -0
- data/docs/CallParticipant.md +13 -0
- data/docs/CallReference.md +9 -0
- data/docs/CallTranscript.md +8 -0
- data/docs/CallTranscripts.md +9 -0
- data/docs/CallUploadContext.md +8 -0
- data/docs/CallUsersAccessDto.md +8 -0
- data/docs/Calls.md +9 -0
- data/docs/CallsAccessDetailsResponse.md +8 -0
- data/docs/CallsAccessGetDto.md +7 -0
- data/docs/CallsApi.md +349 -0
- data/docs/CallsFilter.md +10 -0
- data/docs/CallsRequestFilterWithOwners.md +11 -0
- data/docs/CallsResponse.md +9 -0
- data/docs/CallsUsersAccessAddDto.md +7 -0
- data/docs/CallsUsersAccessDeleteDto.md +7 -0
- data/docs/CoachingAccessWithPermissionLevel.md +8 -0
- data/docs/Collaboration.md +7 -0
- data/docs/Comment.md +14 -0
- data/docs/CompanyUsersAggregateActivityResponse.md +12 -0
- data/docs/CompanyUsersIntercationStatsResponse.md +12 -0
- data/docs/Content.md +10 -0
- data/docs/ContentSelector.md +9 -0
- data/docs/ContentSharedEvent.md +23 -0
- data/docs/ContentViewedEvent.md +23 -0
- data/docs/ContextField.md +8 -0
- data/docs/CrmPartyContextField.md +8 -0
- data/docs/CustomActionEvent.md +22 -0
- data/docs/CustomerData.md +8 -0
- data/docs/CustomerDataObject.md +11 -0
- data/docs/CustomerEngagement.md +13 -0
- data/docs/DailyActivityWithDates.md +23 -0
- data/docs/DataPrivacyApi.md +195 -0
- data/docs/DealsAccessWithPermissionLevel.md +8 -0
- data/docs/DeleteMeetingRequest.md +7 -0
- data/docs/EmailAddressReferences.md +12 -0
- data/docs/EmailMessage.md +11 -0
- data/docs/EmailsAccessWithPermissionLevel.md +8 -0
- data/docs/EngagementInBetaPhaseApi.md +148 -0
- data/docs/ErrorResponse.md +8 -0
- data/docs/EventAcceptedResponse.md +7 -0
- data/docs/ExposedFields.md +11 -0
- data/docs/ExternalCallObject.md +10 -0
- data/docs/ExternalCrmCallObject.md +9 -0
- data/docs/ExternalCrmPartyObject.md +9 -0
- data/docs/ExternalPartyObject.md +10 -0
- data/docs/ExternalSystem.md +8 -0
- data/docs/ExternalSystemObject.md +8 -0
- data/docs/ForecastAccessWithPermissionLevel.md +8 -0
- data/docs/GenericCrmIntegration.md +9 -0
- data/docs/GenericCrmRegistrationRequest.md +8 -0
- data/docs/GenericDealStageRequest.md +10 -0
- data/docs/GenericProperty.md +9 -0
- data/docs/GenericSchemaFieldRequest.md +14 -0
- data/docs/GetGenericCrmObjectsResponse.md +8 -0
- data/docs/IdMediaBody.md +7 -0
- data/docs/InsightsAccessWithPermissionLevel.md +8 -0
- data/docs/IntegrationStatusRequest.md +7 -0
- data/docs/IntegrationStatusResponse.md +8 -0
- data/docs/Interaction.md +10 -0
- data/docs/InteractionStat.md +8 -0
- data/docs/InteractionStats.md +9 -0
- data/docs/LibraryApi.md +103 -0
- data/docs/LibraryCall.md +13 -0
- data/docs/LibraryFolder.md +11 -0
- data/docs/LibraryFolderAccess.md +11 -0
- data/docs/LibraryFolderListOfCallsResponse.md +12 -0
- data/docs/LibraryResponse.md +8 -0
- data/docs/LineErrorResponse.md +8 -0
- data/docs/ListGenericCrmIntegrationsResponse.md +8 -0
- data/docs/ListSelectedFieldsResponse.md +8 -0
- data/docs/LogEntry.md +15 -0
- data/docs/LogsResponse.md +9 -0
- data/docs/ManualAssociationResponse.md +9 -0
- data/docs/ManualAssociationsBasicData.md +10 -0
- data/docs/MapUsersBody.md +7 -0
- data/docs/Media.md +8 -0
- data/docs/Meeting.md +7 -0
- data/docs/MeetingInvitee.md +10 -0
- data/docs/MeetingsErrorResponse.md +11 -0
- data/docs/MeetingsInBetaPhaseApi.md +199 -0
- data/docs/Monologue.md +9 -0
- data/docs/MultipleUsersRequestWithCreationDates.md +10 -0
- data/docs/MultipleUsersWithDates.md +9 -0
- data/docs/NewCallAddingRequest.md +25 -0
- data/docs/NewCallAddingResponse.md +8 -0
- data/docs/NewCallRecordingResponse.md +9 -0
- data/docs/NewMeetingRequest.md +12 -0
- data/docs/NewMeetingResponse.md +10 -0
- data/docs/ObjectEntitiesBody.md +7 -0
- data/docs/Occurrences.md +8 -0
- data/docs/Party.md +16 -0
- data/docs/PartyContext.md +8 -0
- data/docs/PartyContextField.md +8 -0
- data/docs/PartyUploadContext.md +8 -0
- data/docs/PermissionProfileDTO.md +41 -0
- data/docs/PermissionProfileResponse.md +8 -0
- data/docs/PermissionProfileUsersResponse.md +8 -0
- data/docs/PermissionProfilesResponse.md +8 -0
- data/docs/PermissionsApi.md +387 -0
- data/docs/PhoneNumberReferences.md +14 -0
- data/docs/PointOfInterest.md +10 -0
- data/docs/PointsOfInterest.md +7 -0
- data/docs/Question.md +13 -0
- data/docs/Questions.md +8 -0
- data/docs/Records.md +10 -0
- data/docs/RegisterGenericCrmResponse.md +8 -0
- data/docs/RequestAnsweredScorecardsFilter.md +8 -0
- data/docs/RequestCallsAccessGetDto.md +7 -0
- data/docs/RequestCallsFilter.md +8 -0
- data/docs/RequestCallsRequestFilterWithOwnersContentSelector.md +9 -0
- data/docs/RequestMultipleUsersRequestWithCreationDates.md +8 -0
- data/docs/RequestMultipleUsersWithDates.md +8 -0
- data/docs/RequestStatusResponse.md +11 -0
- data/docs/RequestWithTimePeriodMultipleUsersWithDates.md +9 -0
- data/docs/SchemaUpdateResponse.md +7 -0
- data/docs/Scorecard.md +14 -0
- data/docs/Scorecards.md +8 -0
- data/docs/Sentence.md +9 -0
- data/docs/Settings.md +12 -0
- data/docs/SettingsApi.md +91 -0
- data/docs/SettingsHistory.md +8 -0
- data/docs/Sharer.md +9 -0
- data/docs/Snippet.md +8 -0
- data/docs/Speaker.md +9 -0
- data/docs/SpeakersTimeline.md +8 -0
- data/docs/SpecificCall.md +8 -0
- data/docs/SpeechSegment.md +9 -0
- data/docs/SpokenLanguage.md +8 -0
- data/docs/StatsApi.md +242 -0
- data/docs/Structure.md +8 -0
- data/docs/Topic.md +8 -0
- data/docs/Tracker.md +12 -0
- data/docs/TrackerPhrases.md +9 -0
- data/docs/UpdateMeetingRequest.md +12 -0
- data/docs/UpdateMeetingResponse.md +8 -0
- data/docs/User.md +8 -0
- data/docs/UserAccessDetails.md +7 -0
- data/docs/UserActivity.md +9 -0
- data/docs/UserAggregateByPeriodActivities.md +9 -0
- data/docs/UserDayByDayActivity.md +9 -0
- data/docs/UserIntegrationStatus.md +12 -0
- data/docs/UserMetadata.md +21 -0
- data/docs/UserSettingsHistory.md +9 -0
- data/docs/UserSimpleMetadata.md +9 -0
- data/docs/UsersAggregateByPeriodActivity.md +9 -0
- data/docs/UsersApi.md +198 -0
- data/docs/UsersDayByDayActivity.md +9 -0
- data/docs/UsersMetadata.md +9 -0
- data/docs/Video.md +8 -0
- data/docs/WorkspaceMetadata.md +9 -0
- data/docs/WorkspacesMetadata.md +8 -0
- data/git_push.sh +55 -0
- data/gong-swagger.json +1 -0
- data/gong_api.gemspec +38 -0
- data/lib/gong_api/api/auditing_api.rb +94 -0
- data/lib/gong_api/api/calls_api.rb +437 -0
- data/lib/gong_api/api/crm_api.rb +651 -0
- data/lib/gong_api/api/data_privacy_api.rb +248 -0
- data/lib/gong_api/api/engagement_in_beta_phase_api.rb +194 -0
- data/lib/gong_api/api/library_api.rb +126 -0
- data/lib/gong_api/api/meetings_in_beta_phase_api.rb +264 -0
- data/lib/gong_api/api/permissions_api.rb +495 -0
- data/lib/gong_api/api/settings_api.rb +120 -0
- data/lib/gong_api/api/stats_api.rb +310 -0
- data/lib/gong_api/api/users_api.rb +246 -0
- data/lib/gong_api/api_client.rb +387 -0
- data/lib/gong_api/api_error.rb +57 -0
- data/lib/gong_api/configuration.rb +198 -0
- data/lib/gong_api/models/actor.rb +239 -0
- data/lib/gong_api/models/aggregate_activity.rb +348 -0
- data/lib/gong_api/models/aggregate_activity_with_dates.rb +368 -0
- data/lib/gong_api/models/answer.rb +257 -0
- data/lib/gong_api/models/answered_scorecard.rb +332 -0
- data/lib/gong_api/models/answered_scorecards.rb +228 -0
- data/lib/gong_api/models/answered_scorecards_filter.rb +258 -0
- data/lib/gong_api/models/association_object.rb +217 -0
- data/lib/gong_api/models/async_processing_response.rb +217 -0
- data/lib/gong_api/models/base_response.rb +207 -0
- data/lib/gong_api/models/call.rb +267 -0
- data/lib/gong_api/models/call_access_details.rb +220 -0
- data/lib/gong_api/models/call_access_with_permission_level.rb +254 -0
- data/lib/gong_api/models/call_basic_data.rb +446 -0
- data/lib/gong_api/models/call_collaboration.rb +208 -0
- data/lib/gong_api/models/call_content.rb +248 -0
- data/lib/gong_api/models/call_context.rb +254 -0
- data/lib/gong_api/models/call_interaction.rb +238 -0
- data/lib/gong_api/models/call_participant.rb +269 -0
- data/lib/gong_api/models/call_reference.rb +230 -0
- data/lib/gong_api/models/call_transcript.rb +219 -0
- data/lib/gong_api/models/call_transcripts.rb +228 -0
- data/lib/gong_api/models/call_upload_context.rb +259 -0
- data/lib/gong_api/models/call_users_access_dto.rb +228 -0
- data/lib/gong_api/models/calls.rb +228 -0
- data/lib/gong_api/models/calls_access_details_response.rb +219 -0
- data/lib/gong_api/models/calls_access_get_dto.rb +212 -0
- data/lib/gong_api/models/calls_filter.rb +238 -0
- data/lib/gong_api/models/calls_request_filter_with_owners.rb +248 -0
- data/lib/gong_api/models/calls_response.rb +228 -0
- data/lib/gong_api/models/calls_users_access_add_dto.rb +209 -0
- data/lib/gong_api/models/calls_users_access_delete_dto.rb +209 -0
- data/lib/gong_api/models/coaching_access_with_permission_level.rb +254 -0
- data/lib/gong_api/models/collaboration.rb +210 -0
- data/lib/gong_api/models/comment.rb +277 -0
- data/lib/gong_api/models/company_users_aggregate_activity_response.rb +258 -0
- data/lib/gong_api/models/company_users_intercation_stats_response.rb +258 -0
- data/lib/gong_api/models/content.rb +243 -0
- data/lib/gong_api/models/content_selector.rb +263 -0
- data/lib/gong_api/models/content_shared_event.rb +400 -0
- data/lib/gong_api/models/content_viewed_event.rb +432 -0
- data/lib/gong_api/models/context_field.rb +218 -0
- data/lib/gong_api/models/crm_party_context_field.rb +218 -0
- data/lib/gong_api/models/custom_action_event.rb +407 -0
- data/lib/gong_api/models/customer_data.rb +253 -0
- data/lib/gong_api/models/customer_data_object.rb +283 -0
- data/lib/gong_api/models/customer_engagement.rb +301 -0
- data/lib/gong_api/models/daily_activity_with_dates.rb +368 -0
- data/lib/gong_api/models/deals_access_with_permission_level.rb +254 -0
- data/lib/gong_api/models/delete_meeting_request.rb +208 -0
- data/lib/gong_api/models/email_address_references.rb +267 -0
- data/lib/gong_api/models/email_message.rb +247 -0
- data/lib/gong_api/models/emails_access_with_permission_level.rb +254 -0
- data/lib/gong_api/models/error_response.rb +217 -0
- data/lib/gong_api/models/event_accepted_response.rb +207 -0
- data/lib/gong_api/models/exposed_fields.rb +245 -0
- data/lib/gong_api/models/external_call_object.rb +286 -0
- data/lib/gong_api/models/external_crm_call_object.rb +274 -0
- data/lib/gong_api/models/external_crm_party_object.rb +274 -0
- data/lib/gong_api/models/external_party_object.rb +286 -0
- data/lib/gong_api/models/external_system.rb +253 -0
- data/lib/gong_api/models/external_system_object.rb +251 -0
- data/lib/gong_api/models/forecast_access_with_permission_level.rb +254 -0
- data/lib/gong_api/models/generic_crm_integration.rb +227 -0
- data/lib/gong_api/models/generic_crm_registration_request.rb +227 -0
- data/lib/gong_api/models/generic_deal_stage_request.rb +257 -0
- data/lib/gong_api/models/generic_property.rb +276 -0
- data/lib/gong_api/models/generic_schema_field_request.rb +328 -0
- data/lib/gong_api/models/get_generic_crm_objects_response.rb +219 -0
- data/lib/gong_api/models/id_media_body.rb +206 -0
- data/lib/gong_api/models/insights_access_with_permission_level.rb +254 -0
- data/lib/gong_api/models/integration_status_request.rb +209 -0
- data/lib/gong_api/models/integration_status_response.rb +219 -0
- data/lib/gong_api/models/interaction.rb +243 -0
- data/lib/gong_api/models/interaction_stat.rb +217 -0
- data/lib/gong_api/models/interaction_stats.rb +228 -0
- data/lib/gong_api/models/library_call.rb +267 -0
- data/lib/gong_api/models/library_folder.rb +248 -0
- data/lib/gong_api/models/library_folder_access.rb +284 -0
- data/lib/gong_api/models/library_folder_list_of_calls_response.rb +259 -0
- data/lib/gong_api/models/library_response.rb +219 -0
- data/lib/gong_api/models/line_error_response.rb +217 -0
- data/lib/gong_api/models/list_generic_crm_integrations_response.rb +219 -0
- data/lib/gong_api/models/list_selected_fields_response.rb +219 -0
- data/lib/gong_api/models/log_entry.rb +287 -0
- data/lib/gong_api/models/logs_response.rb +228 -0
- data/lib/gong_api/models/manual_association_response.rb +228 -0
- data/lib/gong_api/models/manual_associations_basic_data.rb +240 -0
- data/lib/gong_api/models/map_users_body.rb +206 -0
- data/lib/gong_api/models/media.rb +218 -0
- data/lib/gong_api/models/meeting.rb +207 -0
- data/lib/gong_api/models/meeting_invitee.rb +237 -0
- data/lib/gong_api/models/meetings_error_response.rb +247 -0
- data/lib/gong_api/models/monologue.rb +229 -0
- data/lib/gong_api/models/multiple_users_request_with_creation_dates.rb +238 -0
- data/lib/gong_api/models/multiple_users_with_dates.rb +238 -0
- data/lib/gong_api/models/new_call_adding_request.rb +450 -0
- data/lib/gong_api/models/new_call_adding_response.rb +217 -0
- data/lib/gong_api/models/new_call_recording_response.rb +227 -0
- data/lib/gong_api/models/new_meeting_request.rb +265 -0
- data/lib/gong_api/models/new_meeting_response.rb +239 -0
- data/lib/gong_api/models/object_entities_body.rb +206 -0
- data/lib/gong_api/models/occurrences.rb +217 -0
- data/lib/gong_api/models/party.rb +335 -0
- data/lib/gong_api/models/party_context.rb +254 -0
- data/lib/gong_api/models/party_context_field.rb +218 -0
- data/lib/gong_api/models/party_upload_context.rb +259 -0
- data/lib/gong_api/models/permission_profile_dto.rb +541 -0
- data/lib/gong_api/models/permission_profile_response.rb +216 -0
- data/lib/gong_api/models/permission_profile_users_response.rb +219 -0
- data/lib/gong_api/models/permission_profiles_response.rb +219 -0
- data/lib/gong_api/models/phone_number_references.rb +289 -0
- data/lib/gong_api/models/point_of_interest.rb +237 -0
- data/lib/gong_api/models/points_of_interest.rb +210 -0
- data/lib/gong_api/models/question.rb +267 -0
- data/lib/gong_api/models/questions.rb +218 -0
- data/lib/gong_api/models/records.rb +238 -0
- data/lib/gong_api/models/register_generic_crm_response.rb +217 -0
- data/lib/gong_api/models/request_answered_scorecards_filter.rb +216 -0
- data/lib/gong_api/models/request_calls_access_get_dto.rb +206 -0
- data/lib/gong_api/models/request_calls_filter.rb +216 -0
- data/lib/gong_api/models/request_calls_request_filter_with_owners_content_selector.rb +225 -0
- data/lib/gong_api/models/request_multiple_users_request_with_creation_dates.rb +216 -0
- data/lib/gong_api/models/request_multiple_users_with_dates.rb +216 -0
- data/lib/gong_api/models/request_status_response.rb +282 -0
- data/lib/gong_api/models/request_with_time_period_multiple_users_with_dates.rb +265 -0
- data/lib/gong_api/models/schema_update_response.rb +207 -0
- data/lib/gong_api/models/scorecard.rb +279 -0
- data/lib/gong_api/models/scorecards.rb +219 -0
- data/lib/gong_api/models/sentence.rb +227 -0
- data/lib/gong_api/models/settings.rb +258 -0
- data/lib/gong_api/models/settings_history.rb +219 -0
- data/lib/gong_api/models/sharer.rb +227 -0
- data/lib/gong_api/models/snippet.rb +218 -0
- data/lib/gong_api/models/speaker.rb +228 -0
- data/lib/gong_api/models/speakers_timeline.rb +219 -0
- data/lib/gong_api/models/specific_call.rb +216 -0
- data/lib/gong_api/models/speech_segment.rb +244 -0
- data/lib/gong_api/models/spoken_language.rb +218 -0
- data/lib/gong_api/models/structure.rb +218 -0
- data/lib/gong_api/models/topic.rb +217 -0
- data/lib/gong_api/models/tracker.rb +295 -0
- data/lib/gong_api/models/tracker_phrases.rb +229 -0
- data/lib/gong_api/models/update_meeting_request.rb +265 -0
- data/lib/gong_api/models/update_meeting_response.rb +217 -0
- data/lib/gong_api/models/user.rb +216 -0
- data/lib/gong_api/models/user_access_details.rb +208 -0
- data/lib/gong_api/models/user_activity.rb +226 -0
- data/lib/gong_api/models/user_aggregate_by_period_activities.rb +229 -0
- data/lib/gong_api/models/user_day_by_day_activity.rb +229 -0
- data/lib/gong_api/models/user_integration_status.rb +257 -0
- data/lib/gong_api/models/user_metadata.rb +347 -0
- data/lib/gong_api/models/user_settings_history.rb +261 -0
- data/lib/gong_api/models/user_simple_metadata.rb +227 -0
- data/lib/gong_api/models/users_aggregate_by_period_activity.rb +228 -0
- data/lib/gong_api/models/users_day_by_day_activity.rb +228 -0
- data/lib/gong_api/models/users_metadata.rb +228 -0
- data/lib/gong_api/models/video.rb +218 -0
- data/lib/gong_api/models/workspace_metadata.rb +227 -0
- data/lib/gong_api/models/workspaces_metadata.rb +219 -0
- data/lib/gong_api/version.rb +14 -0
- data/lib/gong_api.rb +209 -0
- data/spec/api/auditing_api_spec.rb +49 -0
- data/spec/api/calls_api_spec.rb +123 -0
- data/spec/api/crm_api_spec.rb +161 -0
- data/spec/api/data_privacy_api_spec.rb +82 -0
- data/spec/api/engagement_in_beta_phase_api_spec.rb +70 -0
- data/spec/api/library_api_spec.rb +58 -0
- data/spec/api/meetings_in_beta_phase_api_spec.rb +84 -0
- data/spec/api/permissions_api_spec.rb +132 -0
- data/spec/api/settings_api_spec.rb +56 -0
- data/spec/api/stats_api_spec.rb +94 -0
- data/spec/api/users_api_spec.rb +83 -0
- data/spec/api_client_spec.rb +225 -0
- data/spec/base_object_spec.rb +109 -0
- data/spec/configuration_spec.rb +41 -0
- data/spec/models/actor_spec.rb +58 -0
- data/spec/models/aggregate_activity_spec.rb +124 -0
- data/spec/models/aggregate_activity_with_dates_spec.rb +136 -0
- data/spec/models/answer_spec.rb +70 -0
- data/spec/models/answered_scorecard_spec.rb +98 -0
- data/spec/models/answered_scorecards_filter_spec.rb +70 -0
- data/spec/models/answered_scorecards_spec.rb +52 -0
- data/spec/models/association_object_spec.rb +46 -0
- data/spec/models/async_processing_response_spec.rb +46 -0
- data/spec/models/base_response_spec.rb +40 -0
- data/spec/models/call_access_details_spec.rb +46 -0
- data/spec/models/call_access_with_permission_level_spec.rb +50 -0
- data/spec/models/call_basic_data_spec.rb +160 -0
- data/spec/models/call_collaboration_spec.rb +40 -0
- data/spec/models/call_content_spec.rb +64 -0
- data/spec/models/call_context_spec.rb +50 -0
- data/spec/models/call_interaction_spec.rb +58 -0
- data/spec/models/call_participant_spec.rb +76 -0
- data/spec/models/call_reference_spec.rb +52 -0
- data/spec/models/call_spec.rb +76 -0
- data/spec/models/call_transcript_spec.rb +46 -0
- data/spec/models/call_transcripts_spec.rb +52 -0
- data/spec/models/call_upload_context_spec.rb +50 -0
- data/spec/models/call_users_access_dto_spec.rb +46 -0
- data/spec/models/calls_access_details_response_spec.rb +46 -0
- data/spec/models/calls_access_get_dto_spec.rb +40 -0
- data/spec/models/calls_filter_spec.rb +58 -0
- data/spec/models/calls_request_filter_with_owners_spec.rb +64 -0
- data/spec/models/calls_response_spec.rb +52 -0
- data/spec/models/calls_spec.rb +52 -0
- data/spec/models/calls_users_access_add_dto_spec.rb +40 -0
- data/spec/models/calls_users_access_delete_dto_spec.rb +40 -0
- data/spec/models/coaching_access_with_permission_level_spec.rb +50 -0
- data/spec/models/collaboration_spec.rb +40 -0
- data/spec/models/comment_spec.rb +82 -0
- data/spec/models/company_users_aggregate_activity_response_spec.rb +70 -0
- data/spec/models/company_users_intercation_stats_response_spec.rb +70 -0
- data/spec/models/content_selector_spec.rb +60 -0
- data/spec/models/content_shared_event_spec.rb +136 -0
- data/spec/models/content_spec.rb +58 -0
- data/spec/models/content_viewed_event_spec.rb +140 -0
- data/spec/models/context_field_spec.rb +46 -0
- data/spec/models/crm_party_context_field_spec.rb +46 -0
- data/spec/models/custom_action_event_spec.rb +134 -0
- data/spec/models/customer_data_object_spec.rb +68 -0
- data/spec/models/customer_data_spec.rb +50 -0
- data/spec/models/customer_engagement_spec.rb +80 -0
- data/spec/models/daily_activity_with_dates_spec.rb +136 -0
- data/spec/models/deals_access_with_permission_level_spec.rb +50 -0
- data/spec/models/delete_meeting_request_spec.rb +40 -0
- data/spec/models/email_address_references_spec.rb +70 -0
- data/spec/models/email_message_spec.rb +64 -0
- data/spec/models/emails_access_with_permission_level_spec.rb +50 -0
- data/spec/models/error_response_spec.rb +46 -0
- data/spec/models/event_accepted_response_spec.rb +40 -0
- data/spec/models/exposed_fields_spec.rb +64 -0
- data/spec/models/external_call_object_spec.rb +66 -0
- data/spec/models/external_crm_call_object_spec.rb +56 -0
- data/spec/models/external_crm_party_object_spec.rb +56 -0
- data/spec/models/external_party_object_spec.rb +66 -0
- data/spec/models/external_system_object_spec.rb +50 -0
- data/spec/models/external_system_spec.rb +50 -0
- data/spec/models/forecast_access_with_permission_level_spec.rb +50 -0
- data/spec/models/generic_crm_integration_spec.rb +52 -0
- data/spec/models/generic_crm_registration_request_spec.rb +46 -0
- data/spec/models/generic_deal_stage_request_spec.rb +58 -0
- data/spec/models/generic_property_spec.rb +56 -0
- data/spec/models/generic_schema_field_request_spec.rb +86 -0
- data/spec/models/get_generic_crm_objects_response_spec.rb +46 -0
- data/spec/models/id_media_body_spec.rb +40 -0
- data/spec/models/insights_access_with_permission_level_spec.rb +50 -0
- data/spec/models/integration_status_request_spec.rb +40 -0
- data/spec/models/integration_status_response_spec.rb +46 -0
- data/spec/models/interaction_spec.rb +58 -0
- data/spec/models/interaction_stat_spec.rb +46 -0
- data/spec/models/interaction_stats_spec.rb +52 -0
- data/spec/models/library_call_spec.rb +76 -0
- data/spec/models/library_folder_access_spec.rb +68 -0
- data/spec/models/library_folder_list_of_calls_response_spec.rb +70 -0
- data/spec/models/library_folder_spec.rb +64 -0
- data/spec/models/library_response_spec.rb +46 -0
- data/spec/models/line_error_response_spec.rb +46 -0
- data/spec/models/list_generic_crm_integrations_response_spec.rb +46 -0
- data/spec/models/list_selected_fields_response_spec.rb +46 -0
- data/spec/models/log_entry_spec.rb +88 -0
- data/spec/models/logs_response_spec.rb +52 -0
- data/spec/models/manual_association_response_spec.rb +52 -0
- data/spec/models/manual_associations_basic_data_spec.rb +58 -0
- data/spec/models/map_users_body_spec.rb +40 -0
- data/spec/models/media_spec.rb +46 -0
- data/spec/models/meeting_invitee_spec.rb +58 -0
- data/spec/models/meeting_spec.rb +40 -0
- data/spec/models/meetings_error_response_spec.rb +64 -0
- data/spec/models/monologue_spec.rb +52 -0
- data/spec/models/multiple_users_request_with_creation_dates_spec.rb +58 -0
- data/spec/models/multiple_users_with_dates_spec.rb +52 -0
- data/spec/models/new_call_adding_request_spec.rb +152 -0
- data/spec/models/new_call_adding_response_spec.rb +46 -0
- data/spec/models/new_call_recording_response_spec.rb +52 -0
- data/spec/models/new_meeting_request_spec.rb +70 -0
- data/spec/models/new_meeting_response_spec.rb +58 -0
- data/spec/models/object_entities_body_spec.rb +40 -0
- data/spec/models/occurrences_spec.rb +46 -0
- data/spec/models/party_context_field_spec.rb +46 -0
- data/spec/models/party_context_spec.rb +50 -0
- data/spec/models/party_spec.rb +102 -0
- data/spec/models/party_upload_context_spec.rb +50 -0
- data/spec/models/permission_profile_dto_spec.rb +244 -0
- data/spec/models/permission_profile_response_spec.rb +46 -0
- data/spec/models/permission_profile_users_response_spec.rb +46 -0
- data/spec/models/permission_profiles_response_spec.rb +46 -0
- data/spec/models/phone_number_references_spec.rb +82 -0
- data/spec/models/point_of_interest_spec.rb +58 -0
- data/spec/models/points_of_interest_spec.rb +40 -0
- data/spec/models/question_spec.rb +76 -0
- data/spec/models/questions_spec.rb +46 -0
- data/spec/models/records_spec.rb +58 -0
- data/spec/models/register_generic_crm_response_spec.rb +46 -0
- data/spec/models/request_answered_scorecards_filter_spec.rb +46 -0
- data/spec/models/request_calls_access_get_dto_spec.rb +40 -0
- data/spec/models/request_calls_filter_spec.rb +46 -0
- data/spec/models/request_calls_request_filter_with_owners_content_selector_spec.rb +52 -0
- data/spec/models/request_multiple_users_request_with_creation_dates_spec.rb +46 -0
- data/spec/models/request_multiple_users_with_dates_spec.rb +46 -0
- data/spec/models/request_status_response_spec.rb +68 -0
- data/spec/models/request_with_time_period_multiple_users_with_dates_spec.rb +56 -0
- data/spec/models/schema_update_response_spec.rb +40 -0
- data/spec/models/scorecard_spec.rb +82 -0
- data/spec/models/scorecards_spec.rb +46 -0
- data/spec/models/sentence_spec.rb +52 -0
- data/spec/models/settings_history_spec.rb +46 -0
- data/spec/models/settings_spec.rb +70 -0
- data/spec/models/sharer_spec.rb +52 -0
- data/spec/models/snippet_spec.rb +46 -0
- data/spec/models/speaker_spec.rb +52 -0
- data/spec/models/speakers_timeline_spec.rb +46 -0
- data/spec/models/specific_call_spec.rb +46 -0
- data/spec/models/speech_segment_spec.rb +52 -0
- data/spec/models/spoken_language_spec.rb +46 -0
- data/spec/models/structure_spec.rb +46 -0
- data/spec/models/topic_spec.rb +46 -0
- data/spec/models/tracker_phrases_spec.rb +52 -0
- data/spec/models/tracker_spec.rb +74 -0
- data/spec/models/update_meeting_request_spec.rb +70 -0
- data/spec/models/update_meeting_response_spec.rb +46 -0
- data/spec/models/user_access_details_spec.rb +40 -0
- data/spec/models/user_activity_spec.rb +52 -0
- data/spec/models/user_aggregate_by_period_activities_spec.rb +52 -0
- data/spec/models/user_day_by_day_activity_spec.rb +52 -0
- data/spec/models/user_integration_status_spec.rb +70 -0
- data/spec/models/user_metadata_spec.rb +124 -0
- data/spec/models/user_settings_history_spec.rb +56 -0
- data/spec/models/user_simple_metadata_spec.rb +52 -0
- data/spec/models/user_spec.rb +46 -0
- data/spec/models/users_aggregate_by_period_activity_spec.rb +52 -0
- data/spec/models/users_day_by_day_activity_spec.rb +52 -0
- data/spec/models/users_metadata_spec.rb +52 -0
- data/spec/models/video_spec.rb +46 -0
- data/spec/models/workspace_metadata_spec.rb +52 -0
- data/spec/models/workspaces_metadata_spec.rb +46 -0
- data/spec/spec_helper.rb +110 -0
- metadata +807 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
# GongAPI::ContentSharedEvent
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**action_name** | **String** | The name of the action like \"Document Sent\" or \"Presentation Shared\". | [optional]
|
7
|
+
**content_id** | **String** | The id of the content that was shared in the reporting system. |
|
8
|
+
**content_properties** | [**Array<GenericProperty>**](GenericProperty.md) | A list of additional properties for the content | [optional]
|
9
|
+
**content_title** | **String** | Human readable title of the content. |
|
10
|
+
**content_url** | **String** | The url of the content that was shared in the reporting system. This is the url that is was accessed by the viewer. |
|
11
|
+
**crm_context** | [**Array<CallUploadContext>**](CallUploadContext.md) | A list of references to external systems such as CRM, Telephony System, Case Management, etc. | [optional]
|
12
|
+
**event_id** | **String** | The original id of the event as designated in the reporting system. | [optional]
|
13
|
+
**event_properties** | [**Array<GenericProperty>**](GenericProperty.md) | A list of additional properties for the event | [optional]
|
14
|
+
**event_timestamp** | **String** | The date and time when the event happened in the ISO-8601 format (e.g., '2021-08-01T02:30:00+05:00' or '2021-08-01T08:00:00Z', where Z stands for UTC); |
|
15
|
+
**recipients** | [**Array<Actor>**](Actor.md) | array of objects with name + email of recipients. Email is required. | [optional]
|
16
|
+
**reporting_system** | **String** | The unique identifier of the reporting system. It is the same value in all events originating from the same system. |
|
17
|
+
**share_id** | **String** | The id of the share action, in case there can be more than one share per content. | [optional]
|
18
|
+
**share_info_url** | **String** | The link to a page that presents additional information about this event. | [optional]
|
19
|
+
**sharer** | [**Sharer**](Sharer.md) | | [optional]
|
20
|
+
**sharing_message_body** | **String** | The share message body. Can contain HTML and will be cleaned when it is presented. | [optional]
|
21
|
+
**sharing_message_subject** | **String** | The subject of share email / message. | [optional]
|
22
|
+
**workspace_id** | **String** | Optional workspace identifier. If specified, the event will be placed into this workspace, otherwise, the default algorithm for workspace placement will be applied. | [optional]
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# GongAPI::ContentViewedEvent
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**agent_platform** | **String** | Platform on which the interaction was made | [optional]
|
7
|
+
**content_id** | **String** | The id of the content that was viewed in the reporting system. |
|
8
|
+
**content_properties** | [**Array<GenericProperty>**](GenericProperty.md) | A list of additional properties for the content | [optional]
|
9
|
+
**content_title** | **String** | Human readable title of the content. |
|
10
|
+
**content_url** | **String** | The url of the content that was viewed in the reporting system. This is the url that is was accessed by the viewer. |
|
11
|
+
**crm_context** | [**Array<CallUploadContext>**](CallUploadContext.md) | A list of references to external systems such as CRM, Telephony System, Case Management, etc. | [optional]
|
12
|
+
**event_id** | **String** | The original id of the event as designated in the reporting system. | [optional]
|
13
|
+
**event_properties** | [**Array<GenericProperty>**](GenericProperty.md) | A list of additional properties for the event | [optional]
|
14
|
+
**event_timestamp** | **String** | The date and time when the event happened in the ISO-8601 format (e.g., '2021-08-01T02:30:00+05:00' or '2021-08-01T08:00:00Z', where Z stands for UTC); |
|
15
|
+
**mobile_app_id** | **String** | The application identification string in case of interaction via mobile application (bundle identifier or package name). | [optional]
|
16
|
+
**reporting_system** | **String** | The unique identifier of the reporting system. It is the same value in all events originating from the same system. |
|
17
|
+
**share_id** | **String** | The id of the share action that corresponds to this view event, in case there can be more than one share per content. | [optional]
|
18
|
+
**user_agent** | **String** | \"User-Agent\" header value for browser based interaction | [optional]
|
19
|
+
**view_action_title** | **String** | The name of the action like \"Document Viewed\" or \"Presentation Opened\". | [optional]
|
20
|
+
**view_info_url** | **String** | The link to a page that presents additional information about this event. | [optional]
|
21
|
+
**viewer** | [**Actor**](Actor.md) | | [optional]
|
22
|
+
**workspace_id** | **String** | Optional workspace identifier. If specified, the event will be placed into this workspace, otherwise, the default algorithm for workspace placement will be applied. | [optional]
|
23
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# GongAPI::ContextField
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**name** | **String** | Field name. For Account supported fields are: Name, Website, Industry and all the custom fields. For Opportunity supported fields are Name, LeadSource, Type, StageName, Probability, Amount, CloseDate and all the custom fields. | [optional]
|
7
|
+
**value** | **Object** | Field value | [optional]
|
8
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# GongAPI::CustomActionEvent
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**action_name** | **String** | The name of the action like \"Document Viewed\" or \"Presentation Opened\". | [optional]
|
7
|
+
**actor** | [**Actor**](Actor.md) | | [optional]
|
8
|
+
**agent_platform** | **String** | Platform on which the interaction was made | [optional]
|
9
|
+
**content_id** | **String** | The id of the content that was viewed in the reporting system. | [optional]
|
10
|
+
**content_properties** | [**Array<GenericProperty>**](GenericProperty.md) | A list of additional properties for the content | [optional]
|
11
|
+
**content_title** | **String** | Human readable title of the content. | [optional]
|
12
|
+
**content_url** | **String** | The url of the content that was viewed in the reporting system. This is the url that is was accessed by the viewer. | [optional]
|
13
|
+
**crm_context** | [**Array<CallUploadContext>**](CallUploadContext.md) | A list of references to external systems such as CRM, Telephony System, Case Management, etc. | [optional]
|
14
|
+
**event_id** | **String** | The original id of the event as designated in the reporting system. | [optional]
|
15
|
+
**event_info_url** | **String** | The link to a page that presents additional information about this event. | [optional]
|
16
|
+
**event_properties** | [**Array<GenericProperty>**](GenericProperty.md) | A list of additional properties for the event | [optional]
|
17
|
+
**event_timestamp** | **String** | The date and time when the event happened in the ISO-8601 format (e.g., '2021-08-01T02:30:00+05:00' or '2021-08-01T08:00:00Z', where Z stands for UTC); |
|
18
|
+
**mobile_app_id** | **String** | The application identification string in case of interaction via mobile application (bundle identifier or package name). | [optional]
|
19
|
+
**reporting_system** | **String** | The unique identifier of the reporting system. It is the same value in all events originating from the same system. |
|
20
|
+
**user_agent** | **String** | \"User-Agent\" header value for browser based interaction | [optional]
|
21
|
+
**workspace_id** | **String** | Optional workspace identifier. If specified, the event will be placed into this workspace, otherwise, the default algorithm for workspace placement will be applied. | [optional]
|
22
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# GongAPI::CustomerData
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**objects** | [**Array<CustomerDataObject>**](CustomerDataObject.md) | List of objects in the external system. | [optional]
|
7
|
+
**system** | **String** | External system name. | [optional]
|
8
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# GongAPI::CustomerDataObject
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**external_id** | **String** | External ID. | [optional]
|
7
|
+
**fields** | [**Array<ContextField>**](ContextField.md) | Object fields. | [optional]
|
8
|
+
**id** | **String** | Gong's unique numeric identifier (up to 20 digits) for the Lead or Contact. | [optional]
|
9
|
+
**mirror_id** | **String** | Crm Mirror ID. | [optional]
|
10
|
+
**object_type** | **String** | Object Type. | [optional]
|
11
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# GongAPI::CustomerEngagement
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**content_id** | **String** | Event content id | [optional]
|
7
|
+
**content_url** | **String** | Event content url | [optional]
|
8
|
+
**event_name** | **String** | Event name | [optional]
|
9
|
+
**event_type** | **String** | Event type | [optional]
|
10
|
+
**reporting_system** | **String** | Event reporting system | [optional]
|
11
|
+
**source_event_id** | **String** | Source event Id | [optional]
|
12
|
+
**timestamp** | **String** | The date and time the event occurred in the ISO-8601 format (e.g., '2018-02-18T02:30:00-07:00' or '2018-02-18T08:00:00Z', where Z stands for UTC). | [optional]
|
13
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# GongAPI::DailyActivityWithDates
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**calls_as_host** | **Object** | List of IDs of calls in which this user is the host. | [optional]
|
7
|
+
**calls_attended** | **Object** | List of IDs of calls in which this user is participant (not host) | [optional]
|
8
|
+
**calls_comments_given** | **Object** | List of IDs of calls in which a user gave at least one comment. | [optional]
|
9
|
+
**calls_comments_received** | **Object** | List of IDs of calls in which a user received at least one comment on the users calls. | [optional]
|
10
|
+
**calls_gave_feedback** | **Object** | List of IDs of calls where the user gave feedback. | [optional]
|
11
|
+
**calls_marked_as_feedback_given** | **Object** | List of IDs of calls in which someone pressed the \"Mark as reviewed\". | [optional]
|
12
|
+
**calls_marked_as_feedback_received** | **Object** | List of IDs of calls in which someone pressed the \"Mark as reviewed\" on the users calls. | [optional]
|
13
|
+
**calls_received_feedback** | **Object** | List of IDs of calls where the user received feedback. | [optional]
|
14
|
+
**calls_requested_feedback** | **Object** | List of IDs of calls where the user requested feedback. | [optional]
|
15
|
+
**calls_scorecards_filled** | **Object** | List of IDs of calls in which the user filled scorecards. | [optional]
|
16
|
+
**calls_scorecards_received** | **Object** | List of IDs of calls in which someone filled a scorecard on the users calls. | [optional]
|
17
|
+
**calls_shared_externally** | **Object** | List of IDs of calls the user shared with people outside the company. | [optional]
|
18
|
+
**calls_shared_internally** | **Object** | List of IDs of calls the user shared with other users inside the company. | [optional]
|
19
|
+
**from_date** | **String** | The start of the day in the ISO-8601 format (e.g., '2018-02-18T02:30:00-07:00' or '2018-02-18T08:00:00Z', where Z stands for UTC). | [optional]
|
20
|
+
**others_calls_listened_to** | **Object** | List of IDs of calls, not belonging to this user, that the user listened to. | [optional]
|
21
|
+
**own_calls_listened_to** | **Object** | List of IDs of the user's own calls, that the user listened to. | [optional]
|
22
|
+
**to_date** | **String** | The end of the day in the ISO-8601 format (e.g., '2018-02-18T02:30:00-07:00' or '2018-02-18T08:00:00Z', where Z stands for UTC). | [optional]
|
23
|
+
|
@@ -0,0 +1,195 @@
|
|
1
|
+
# GongAPI::DataPrivacyApi
|
2
|
+
|
3
|
+
All URIs are relative to *//127.0.0.1/*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**find_all_references_to_email_address_using_get**](DataPrivacyApi.md#find_all_references_to_email_address_using_get) | **GET** /v2/data-privacy/data-for-email-address | Retrieve all references to an email address. (/v2/data-privacy/data-for-email-address)
|
8
|
+
[**find_all_references_to_phone_number_using_get**](DataPrivacyApi.md#find_all_references_to_phone_number_using_get) | **GET** /v2/data-privacy/data-for-phone-number | Retrieve all references to a phone number. (/v2/data-privacy/data-for-phone-number)
|
9
|
+
[**purge_email_address_using_post**](DataPrivacyApi.md#purge_email_address_using_post) | **POST** /v2/data-privacy/erase-data-for-email-address | Delete the email address, and all associated elements (/v2/data-privacy/erase-data-for-email-address)
|
10
|
+
[**purge_phone_number_using_post**](DataPrivacyApi.md#purge_phone_number_using_post) | **POST** /v2/data-privacy/erase-data-for-phone-number | Delete the phone number, and all associated elements (/v2/data-privacy/erase-data-for-phone-number)
|
11
|
+
|
12
|
+
# **find_all_references_to_email_address_using_get**
|
13
|
+
> EmailAddressReferences find_all_references_to_email_address_using_get(email_address)
|
14
|
+
|
15
|
+
Retrieve all references to an email address. (/v2/data-privacy/data-for-email-address)
|
16
|
+
|
17
|
+
Shows the elements in the Gong system that reference the given email address. Given an emails address, this endpoint returns details of all calls and email messages that reference this address, and any leads or contacts with this email address. When accessed through a Bearer token authorization method, this endpoint requires the scope 'api:data-privacy:read'.
|
18
|
+
|
19
|
+
### Example
|
20
|
+
```ruby
|
21
|
+
# load the gem
|
22
|
+
require 'gong_api'
|
23
|
+
|
24
|
+
api_instance = GongAPI::DataPrivacyApi.new
|
25
|
+
email_address = 'email_address_example' # String | The email address.
|
26
|
+
|
27
|
+
|
28
|
+
begin
|
29
|
+
#Retrieve all references to an email address. (/v2/data-privacy/data-for-email-address)
|
30
|
+
result = api_instance.find_all_references_to_email_address_using_get(email_address)
|
31
|
+
p result
|
32
|
+
rescue GongAPI::ApiError => e
|
33
|
+
puts "Exception when calling DataPrivacyApi->find_all_references_to_email_address_using_get: #{e}"
|
34
|
+
end
|
35
|
+
```
|
36
|
+
|
37
|
+
### Parameters
|
38
|
+
|
39
|
+
Name | Type | Description | Notes
|
40
|
+
------------- | ------------- | ------------- | -------------
|
41
|
+
**email_address** | **String**| The email address. |
|
42
|
+
|
43
|
+
### Return type
|
44
|
+
|
45
|
+
[**EmailAddressReferences**](EmailAddressReferences.md)
|
46
|
+
|
47
|
+
### Authorization
|
48
|
+
|
49
|
+
No authorization required
|
50
|
+
|
51
|
+
### HTTP request headers
|
52
|
+
|
53
|
+
- **Content-Type**: Not defined
|
54
|
+
- **Accept**: application/json
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
# **find_all_references_to_phone_number_using_get**
|
59
|
+
> PhoneNumberReferences find_all_references_to_phone_number_using_get(phone_number)
|
60
|
+
|
61
|
+
Retrieve all references to a phone number. (/v2/data-privacy/data-for-phone-number)
|
62
|
+
|
63
|
+
Shows the elements in the Gong system that reference the given phone number. Given a phone number, this endpoint returns details of any leads or contacts with this phone number and their associated calls and email messages. When accessed through a Bearer token authorization method, this endpoint requires the scope 'api:data-privacy:read'.
|
64
|
+
|
65
|
+
### Example
|
66
|
+
```ruby
|
67
|
+
# load the gem
|
68
|
+
require 'gong_api'
|
69
|
+
|
70
|
+
api_instance = GongAPI::DataPrivacyApi.new
|
71
|
+
phone_number = 'phone_number_example' # String | The phone number. This number must start with a + (plus) sign followed by the country code, area code, and local phone number. All other non-digits are ignored. The following are examples of permitted phone numbers: +1 425 555 2671, +1-425-555-2671, +1 425 5552671, +14255552671, +1 425 555 26 71, +1(425) 555-2671, etc. Note: This parameter should be URL-encoded.
|
72
|
+
|
73
|
+
|
74
|
+
begin
|
75
|
+
#Retrieve all references to a phone number. (/v2/data-privacy/data-for-phone-number)
|
76
|
+
result = api_instance.find_all_references_to_phone_number_using_get(phone_number)
|
77
|
+
p result
|
78
|
+
rescue GongAPI::ApiError => e
|
79
|
+
puts "Exception when calling DataPrivacyApi->find_all_references_to_phone_number_using_get: #{e}"
|
80
|
+
end
|
81
|
+
```
|
82
|
+
|
83
|
+
### Parameters
|
84
|
+
|
85
|
+
Name | Type | Description | Notes
|
86
|
+
------------- | ------------- | ------------- | -------------
|
87
|
+
**phone_number** | **String**| The phone number. This number must start with a + (plus) sign followed by the country code, area code, and local phone number. All other non-digits are ignored. The following are examples of permitted phone numbers: +1 425 555 2671, +1-425-555-2671, +1 425 5552671, +14255552671, +1 425 555 26 71, +1(425) 555-2671, etc. Note: This parameter should be URL-encoded. |
|
88
|
+
|
89
|
+
### Return type
|
90
|
+
|
91
|
+
[**PhoneNumberReferences**](PhoneNumberReferences.md)
|
92
|
+
|
93
|
+
### Authorization
|
94
|
+
|
95
|
+
No authorization required
|
96
|
+
|
97
|
+
### HTTP request headers
|
98
|
+
|
99
|
+
- **Content-Type**: Not defined
|
100
|
+
- **Accept**: application/json
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
# **purge_email_address_using_post**
|
105
|
+
> BaseResponse purge_email_address_using_post(email_address)
|
106
|
+
|
107
|
+
Delete the email address, and all associated elements (/v2/data-privacy/erase-data-for-email-address)
|
108
|
+
|
109
|
+
Given an email address, this endpoint deletes from the Gong system any calls or email messages that reference this address. Email messages sent to or from the address are deleted. Calls where the email address appears (as a lead, contact, attendee or speaker) are deleted. Leads or Contacts with the email address are deleted. The deletion is not immediate, and may take several hours to complete. This endpoint contains a data integrity protection mechanism to prevent the deletion of an abnormal number of objects. If the deletion fails please contact support at help@gong.io Delete the data from your CRM and email system before performing this operation so that private data is not re-imported into Gong. When accessed through a Bearer token authorization method, this endpoint requires the scope 'api:data-privacy:delete'.
|
110
|
+
|
111
|
+
### Example
|
112
|
+
```ruby
|
113
|
+
# load the gem
|
114
|
+
require 'gong_api'
|
115
|
+
|
116
|
+
api_instance = GongAPI::DataPrivacyApi.new
|
117
|
+
email_address = 'email_address_example' # String | The email address.
|
118
|
+
|
119
|
+
|
120
|
+
begin
|
121
|
+
#Delete the email address, and all associated elements (/v2/data-privacy/erase-data-for-email-address)
|
122
|
+
result = api_instance.purge_email_address_using_post(email_address)
|
123
|
+
p result
|
124
|
+
rescue GongAPI::ApiError => e
|
125
|
+
puts "Exception when calling DataPrivacyApi->purge_email_address_using_post: #{e}"
|
126
|
+
end
|
127
|
+
```
|
128
|
+
|
129
|
+
### Parameters
|
130
|
+
|
131
|
+
Name | Type | Description | Notes
|
132
|
+
------------- | ------------- | ------------- | -------------
|
133
|
+
**email_address** | **String**| The email address. |
|
134
|
+
|
135
|
+
### Return type
|
136
|
+
|
137
|
+
[**BaseResponse**](BaseResponse.md)
|
138
|
+
|
139
|
+
### Authorization
|
140
|
+
|
141
|
+
No authorization required
|
142
|
+
|
143
|
+
### HTTP request headers
|
144
|
+
|
145
|
+
- **Content-Type**: Not defined
|
146
|
+
- **Accept**: application/json
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
# **purge_phone_number_using_post**
|
151
|
+
> BaseResponse purge_phone_number_using_post(phone_number)
|
152
|
+
|
153
|
+
Delete the phone number, and all associated elements (/v2/data-privacy/erase-data-for-phone-number)
|
154
|
+
|
155
|
+
Given a phone number, this endpoint deletes from the Gong system any leads or contacts with a matching phone number or mobile phone number. Email messages sent to or from these leads/contacts are deleted. Calls where the leads/contacts appear are deleted. The deletion is not immediate, and may take several hours to complete. This endpoint contains a data integrity protection mechanism to prevent the deletion of an abnormal number of objects. If the deletion fails please contact support at help@gong.io Delete the data from your CRM and email system before performing this operation so that private data is not re-imported into Gong. When accessed through a Bearer token authorization method, this endpoint requires the scope 'api:data-privacy:delete'.
|
156
|
+
|
157
|
+
### Example
|
158
|
+
```ruby
|
159
|
+
# load the gem
|
160
|
+
require 'gong_api'
|
161
|
+
|
162
|
+
api_instance = GongAPI::DataPrivacyApi.new
|
163
|
+
phone_number = 'phone_number_example' # String | The phone number. This number must start with a + (plus) sign followed by the country code, area code, and local phone number. All other non-digits are ignored. The following are examples of permitted phone numbers: +1 425 555 2671, +1-425-555-2671, +1 425 5552671, +14255552671, +1 425 555 26 71, +1(425) 555-2671, etc. Note: This parameter should be URL-encoded.
|
164
|
+
|
165
|
+
|
166
|
+
begin
|
167
|
+
#Delete the phone number, and all associated elements (/v2/data-privacy/erase-data-for-phone-number)
|
168
|
+
result = api_instance.purge_phone_number_using_post(phone_number)
|
169
|
+
p result
|
170
|
+
rescue GongAPI::ApiError => e
|
171
|
+
puts "Exception when calling DataPrivacyApi->purge_phone_number_using_post: #{e}"
|
172
|
+
end
|
173
|
+
```
|
174
|
+
|
175
|
+
### Parameters
|
176
|
+
|
177
|
+
Name | Type | Description | Notes
|
178
|
+
------------- | ------------- | ------------- | -------------
|
179
|
+
**phone_number** | **String**| The phone number. This number must start with a + (plus) sign followed by the country code, area code, and local phone number. All other non-digits are ignored. The following are examples of permitted phone numbers: +1 425 555 2671, +1-425-555-2671, +1 425 5552671, +14255552671, +1 425 555 26 71, +1(425) 555-2671, etc. Note: This parameter should be URL-encoded. |
|
180
|
+
|
181
|
+
### Return type
|
182
|
+
|
183
|
+
[**BaseResponse**](BaseResponse.md)
|
184
|
+
|
185
|
+
### Authorization
|
186
|
+
|
187
|
+
No authorization required
|
188
|
+
|
189
|
+
### HTTP request headers
|
190
|
+
|
191
|
+
- **Content-Type**: Not defined
|
192
|
+
- **Accept**: application/json
|
193
|
+
|
194
|
+
|
195
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# GongAPI::DealsAccessWithPermissionLevel
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**permission_level** | **String** | Permission access scope. | [optional]
|
7
|
+
**team_lead_ids** | **Array<String>** | List of user IDs to populate the managers-team permission level You can retrieve the user ids by using the “Users” API. | [optional]
|
8
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# GongAPI::EmailAddressReferences
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**calls** | [**Array<CallReference>**](CallReference.md) | Related calls. | [optional]
|
7
|
+
**customer_data** | [**Array<CustomerData>**](CustomerData.md) | A list of links to data from external systems (such as CRM, Telephony System, Case Management, etc.) that reference the email address and that Gong stores. | [optional]
|
8
|
+
**customer_engagement** | [**Array<CustomerEngagement>**](CustomerEngagement.md) | A list of customer's engagement (such as viewing external share call) | [optional]
|
9
|
+
**emails** | [**Array<EmailMessage>**](EmailMessage.md) | Related email messages. | [optional]
|
10
|
+
**meetings** | [**Array<Meeting>**](Meeting.md) | Related meetings. | [optional]
|
11
|
+
**request_id** | **String** | A Gong request reference Id, generated for this request. Can be used for troubleshooting purposes. | [optional]
|
12
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# GongAPI::EmailMessage
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**from** | **String** | The sender's email address. | [optional]
|
7
|
+
**id** | **String** | Gong's unique 32 character identifier for the email message. | [optional]
|
8
|
+
**mailbox** | **String** | The mailbox from which the email was retrieved. | [optional]
|
9
|
+
**message_hash** | **String** | Hash code of the email message. | [optional]
|
10
|
+
**sent_time** | **String** | The date and time the email message was sent in the ISO-8601 format (e.g., '2018-02-18T02:30:00-07:00' or '2018-02-18T08:00:00Z', where Z stands for UTC). | [optional]
|
11
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# GongAPI::EmailsAccessWithPermissionLevel
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**permission_level** | **String** | Permission access scope. | [optional]
|
7
|
+
**team_lead_ids** | **Array<String>** | List of user IDs to populate the managers-team permission level You can retrieve the user ids by using the “Users” API. | [optional]
|
8
|
+
|
@@ -0,0 +1,148 @@
|
|
1
|
+
# GongAPI::EngagementInBetaPhaseApi
|
2
|
+
|
3
|
+
All URIs are relative to *//127.0.0.1/*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**content_shared_using_put**](EngagementInBetaPhaseApi.md#content_shared_using_put) | **PUT** /v2/customer-engagement/content/shared | Report event of a content share (/v2/customer-engagement/content/shared)
|
8
|
+
[**content_viewed_using_put**](EngagementInBetaPhaseApi.md#content_viewed_using_put) | **PUT** /v2/customer-engagement/content/viewed | Report event of a content view (/v2/customer-engagement/content/viewed)
|
9
|
+
[**custom_action_using_put**](EngagementInBetaPhaseApi.md#custom_action_using_put) | **PUT** /v2/customer-engagement/action | Report event of a custom action (/v2/customer-engagement/action)
|
10
|
+
|
11
|
+
# **content_shared_using_put**
|
12
|
+
> BaseResponse content_shared_using_put(body)
|
13
|
+
|
14
|
+
Report event of a content share (/v2/customer-engagement/content/shared)
|
15
|
+
|
16
|
+
Push engagement events into Gong and display them as events in Gong’s activity timeline, when a Gong user shares content with external participants (for example, a contract was “shared” by the account executive with his prospects) When accessed through a Bearer token authorization method, this endpoint requires the scope 'api:engagement-data:write'.
|
17
|
+
|
18
|
+
### Example
|
19
|
+
```ruby
|
20
|
+
# load the gem
|
21
|
+
require 'gong_api'
|
22
|
+
|
23
|
+
api_instance = GongAPI::EngagementInBetaPhaseApi.new
|
24
|
+
body = GongAPI::ContentSharedEvent.new # ContentSharedEvent | request
|
25
|
+
|
26
|
+
|
27
|
+
begin
|
28
|
+
#Report event of a content share (/v2/customer-engagement/content/shared)
|
29
|
+
result = api_instance.content_shared_using_put(body)
|
30
|
+
p result
|
31
|
+
rescue GongAPI::ApiError => e
|
32
|
+
puts "Exception when calling EngagementInBetaPhaseApi->content_shared_using_put: #{e}"
|
33
|
+
end
|
34
|
+
```
|
35
|
+
|
36
|
+
### Parameters
|
37
|
+
|
38
|
+
Name | Type | Description | Notes
|
39
|
+
------------- | ------------- | ------------- | -------------
|
40
|
+
**body** | [**ContentSharedEvent**](ContentSharedEvent.md)| request |
|
41
|
+
|
42
|
+
### Return type
|
43
|
+
|
44
|
+
[**BaseResponse**](BaseResponse.md)
|
45
|
+
|
46
|
+
### Authorization
|
47
|
+
|
48
|
+
No authorization required
|
49
|
+
|
50
|
+
### HTTP request headers
|
51
|
+
|
52
|
+
- **Content-Type**: application/json
|
53
|
+
- **Accept**: */*
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
# **content_viewed_using_put**
|
58
|
+
> BaseResponse content_viewed_using_put(body)
|
59
|
+
|
60
|
+
Report event of a content view (/v2/customer-engagement/content/viewed)
|
61
|
+
|
62
|
+
Push engagement events into Gong and display them as events in Gong’s activity timeline, when a content is viewed by an external participant (for example, a contract was “viewed” by the prospect) When accessed through a Bearer token authorization method, this endpoint requires the scope 'api:engagement-data:write'.
|
63
|
+
|
64
|
+
### Example
|
65
|
+
```ruby
|
66
|
+
# load the gem
|
67
|
+
require 'gong_api'
|
68
|
+
|
69
|
+
api_instance = GongAPI::EngagementInBetaPhaseApi.new
|
70
|
+
body = GongAPI::ContentViewedEvent.new # ContentViewedEvent | request
|
71
|
+
|
72
|
+
|
73
|
+
begin
|
74
|
+
#Report event of a content view (/v2/customer-engagement/content/viewed)
|
75
|
+
result = api_instance.content_viewed_using_put(body)
|
76
|
+
p result
|
77
|
+
rescue GongAPI::ApiError => e
|
78
|
+
puts "Exception when calling EngagementInBetaPhaseApi->content_viewed_using_put: #{e}"
|
79
|
+
end
|
80
|
+
```
|
81
|
+
|
82
|
+
### Parameters
|
83
|
+
|
84
|
+
Name | Type | Description | Notes
|
85
|
+
------------- | ------------- | ------------- | -------------
|
86
|
+
**body** | [**ContentViewedEvent**](ContentViewedEvent.md)| request |
|
87
|
+
|
88
|
+
### Return type
|
89
|
+
|
90
|
+
[**BaseResponse**](BaseResponse.md)
|
91
|
+
|
92
|
+
### Authorization
|
93
|
+
|
94
|
+
No authorization required
|
95
|
+
|
96
|
+
### HTTP request headers
|
97
|
+
|
98
|
+
- **Content-Type**: application/json
|
99
|
+
- **Accept**: */*
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
# **custom_action_using_put**
|
104
|
+
> BaseResponse custom_action_using_put(body)
|
105
|
+
|
106
|
+
Report event of a custom action (/v2/customer-engagement/action)
|
107
|
+
|
108
|
+
Push engagement events into Gong and display them as events in Gong’s activity timeline, when a content is engaged by an external participant (for example, a contract was “signed” by the prospect) When accessed through a Bearer token authorization method, this endpoint requires the scope 'api:engagement-data:write'.
|
109
|
+
|
110
|
+
### Example
|
111
|
+
```ruby
|
112
|
+
# load the gem
|
113
|
+
require 'gong_api'
|
114
|
+
|
115
|
+
api_instance = GongAPI::EngagementInBetaPhaseApi.new
|
116
|
+
body = GongAPI::CustomActionEvent.new # CustomActionEvent | request
|
117
|
+
|
118
|
+
|
119
|
+
begin
|
120
|
+
#Report event of a custom action (/v2/customer-engagement/action)
|
121
|
+
result = api_instance.custom_action_using_put(body)
|
122
|
+
p result
|
123
|
+
rescue GongAPI::ApiError => e
|
124
|
+
puts "Exception when calling EngagementInBetaPhaseApi->custom_action_using_put: #{e}"
|
125
|
+
end
|
126
|
+
```
|
127
|
+
|
128
|
+
### Parameters
|
129
|
+
|
130
|
+
Name | Type | Description | Notes
|
131
|
+
------------- | ------------- | ------------- | -------------
|
132
|
+
**body** | [**CustomActionEvent**](CustomActionEvent.md)| request |
|
133
|
+
|
134
|
+
### Return type
|
135
|
+
|
136
|
+
[**BaseResponse**](BaseResponse.md)
|
137
|
+
|
138
|
+
### Authorization
|
139
|
+
|
140
|
+
No authorization required
|
141
|
+
|
142
|
+
### HTTP request headers
|
143
|
+
|
144
|
+
- **Content-Type**: application/json
|
145
|
+
- **Accept**: */*
|
146
|
+
|
147
|
+
|
148
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# GongAPI::ErrorResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**errors** | **Object** | Error messages. | [optional]
|
7
|
+
**request_id** | **String** | A Gong request reference Id, generated for this request. Can be used for troubleshooting purposes. | [optional]
|
8
|
+
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# GongAPI::EventAcceptedResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**request_id** | **String** | A Gong request reference Id, generated for this request. Can be used for troubleshooting purposes. | [optional]
|
7
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# GongAPI::ExposedFields
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**collaboration** | [**CallCollaboration**](CallCollaboration.md) | | [optional]
|
7
|
+
**content** | [**CallContent**](CallContent.md) | | [optional]
|
8
|
+
**interaction** | [**CallInteraction**](CallInteraction.md) | | [optional]
|
9
|
+
**media** | **BOOLEAN** | If true and exist, add audio url and video url of the call. The urls will be available for 8 hours. | [optional]
|
10
|
+
**parties** | **BOOLEAN** | If true, add information about the parties of the call | [optional]
|
11
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# GongAPI::ExternalCallObject
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**fields** | [**Array<ContextField>**](ContextField.md) | Object fields | [optional]
|
7
|
+
**object_id** | **String** | Object ID | [optional]
|
8
|
+
**object_type** | **String** | Object Type. e.g Opportunity. | [optional]
|
9
|
+
**timing** | **String** | Timing of object | [optional]
|
10
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# GongAPI::ExternalCrmCallObject
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**fields** | [**Array<ContextField>**](ContextField.md) | Object fields. Intended for future use only. | [optional]
|
7
|
+
**object_id** | **String** | Object ID. For Salesforce both case-sensitive and case-insensitive formats are supported. |
|
8
|
+
**object_type** | **String** | Object Type. e.g. Account. |
|
9
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# GongAPI::ExternalCrmPartyObject
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**fields** | [**Array<CrmPartyContextField>**](CrmPartyContextField.md) | Object fields. Intended for future use only. | [optional]
|
7
|
+
**object_id** | **String** | Object ID. For Salesforce both case-sensitive and case-insensitive formats are supported. |
|
8
|
+
**object_type** | **String** | Object Type. Valid only for non-company parties. e.g. Lead. |
|
9
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# GongAPI::ExternalPartyObject
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**fields** | [**Array<PartyContextField>**](PartyContextField.md) | Object fields | [optional]
|
7
|
+
**object_id** | **String** | Object ID | [optional]
|
8
|
+
**object_type** | **String** | Object Type. e.g. Lead | [optional]
|
9
|
+
**timing** | **String** | Timing of object | [optional]
|
10
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# GongAPI::ExternalSystem
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**objects** | [**Array<ExternalSystemObject>**](ExternalSystemObject.md) | List of objects within the external system. | [optional]
|
7
|
+
**system** | **String** | External system name. | [optional]
|
8
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# GongAPI::ExternalSystemObject
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**external_id** | **String** | External ID. | [optional]
|
7
|
+
**object_type** | **String** | Object Type. | [optional]
|
8
|
+
|