gong_api 1.0.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -7
- data/Gemfile.lock +69 -0
- data/README.md +72 -15
- data/config.json +3 -3
- data/docs/CallsApi.md +5 -5
- data/docs/UsersApi.md +5 -5
- data/gong_api.gemspec +6 -4
- data/lib/gong_api/api/auditing_api.rb +1 -1
- data/lib/gong_api/api/calls_api.rb +8 -8
- data/lib/gong_api/api/crm_api.rb +1 -1
- data/lib/gong_api/api/data_privacy_api.rb +1 -1
- data/lib/gong_api/api/engagement_in_beta_phase_api.rb +1 -1
- data/lib/gong_api/api/library_api.rb +1 -1
- data/lib/gong_api/api/meetings_in_beta_phase_api.rb +1 -1
- data/lib/gong_api/api/permissions_api.rb +1 -1
- data/lib/gong_api/api/settings_api.rb +1 -1
- data/lib/gong_api/api/stats_api.rb +1 -1
- data/lib/gong_api/api/users_api.rb +6 -6
- data/lib/gong_api/api_client.rb +1 -1
- data/lib/gong_api/api_error.rb +1 -2
- data/lib/gong_api/configuration.rb +2 -3
- data/lib/gong_api/models/actor.rb +1 -1
- data/lib/gong_api/models/aggregate_activity.rb +1 -1
- data/lib/gong_api/models/aggregate_activity_with_dates.rb +1 -1
- data/lib/gong_api/models/answer.rb +1 -1
- data/lib/gong_api/models/answered_scorecard.rb +1 -1
- data/lib/gong_api/models/answered_scorecards.rb +1 -1
- data/lib/gong_api/models/answered_scorecards_filter.rb +1 -1
- data/lib/gong_api/models/association_object.rb +1 -1
- data/lib/gong_api/models/async_processing_response.rb +1 -1
- data/lib/gong_api/models/base_response.rb +1 -1
- data/lib/gong_api/models/call.rb +1 -1
- data/lib/gong_api/models/call_access_details.rb +1 -1
- data/lib/gong_api/models/call_access_with_permission_level.rb +1 -1
- data/lib/gong_api/models/call_basic_data.rb +1 -1
- data/lib/gong_api/models/call_collaboration.rb +1 -1
- data/lib/gong_api/models/call_content.rb +1 -1
- data/lib/gong_api/models/call_context.rb +1 -1
- data/lib/gong_api/models/call_interaction.rb +1 -1
- data/lib/gong_api/models/call_participant.rb +1 -1
- data/lib/gong_api/models/call_reference.rb +1 -1
- data/lib/gong_api/models/call_transcript.rb +1 -1
- data/lib/gong_api/models/call_transcripts.rb +1 -1
- data/lib/gong_api/models/call_upload_context.rb +1 -1
- data/lib/gong_api/models/call_users_access_dto.rb +1 -1
- data/lib/gong_api/models/calls.rb +1 -1
- data/lib/gong_api/models/calls_access_details_response.rb +1 -1
- data/lib/gong_api/models/calls_access_get_dto.rb +1 -1
- data/lib/gong_api/models/calls_filter.rb +1 -1
- data/lib/gong_api/models/calls_request_filter_with_owners.rb +1 -1
- data/lib/gong_api/models/calls_response.rb +1 -1
- data/lib/gong_api/models/calls_users_access_add_dto.rb +1 -1
- data/lib/gong_api/models/calls_users_access_delete_dto.rb +1 -1
- data/lib/gong_api/models/coaching_access_with_permission_level.rb +1 -1
- data/lib/gong_api/models/collaboration.rb +1 -1
- data/lib/gong_api/models/comment.rb +1 -1
- data/lib/gong_api/models/company_users_aggregate_activity_response.rb +1 -1
- data/lib/gong_api/models/company_users_intercation_stats_response.rb +1 -1
- data/lib/gong_api/models/content.rb +1 -1
- data/lib/gong_api/models/content_selector.rb +1 -1
- data/lib/gong_api/models/content_shared_event.rb +1 -1
- data/lib/gong_api/models/content_viewed_event.rb +1 -1
- data/lib/gong_api/models/context_field.rb +1 -1
- data/lib/gong_api/models/crm_party_context_field.rb +1 -1
- data/lib/gong_api/models/custom_action_event.rb +1 -1
- data/lib/gong_api/models/customer_data.rb +1 -1
- data/lib/gong_api/models/customer_data_object.rb +1 -1
- data/lib/gong_api/models/customer_engagement.rb +1 -1
- data/lib/gong_api/models/daily_activity_with_dates.rb +1 -1
- data/lib/gong_api/models/deals_access_with_permission_level.rb +1 -1
- data/lib/gong_api/models/delete_meeting_request.rb +1 -1
- data/lib/gong_api/models/email_address_references.rb +1 -1
- data/lib/gong_api/models/email_message.rb +1 -1
- data/lib/gong_api/models/emails_access_with_permission_level.rb +1 -1
- data/lib/gong_api/models/error_response.rb +1 -1
- data/lib/gong_api/models/event_accepted_response.rb +1 -1
- data/lib/gong_api/models/exposed_fields.rb +1 -1
- data/lib/gong_api/models/external_call_object.rb +8 -8
- data/lib/gong_api/models/external_crm_call_object.rb +11 -11
- data/lib/gong_api/models/external_crm_party_object.rb +11 -11
- data/lib/gong_api/models/external_party_object.rb +8 -8
- data/lib/gong_api/models/external_system.rb +1 -1
- data/lib/gong_api/models/external_system_object.rb +1 -1
- data/lib/gong_api/models/forecast_access_with_permission_level.rb +1 -1
- data/lib/gong_api/models/generic_crm_integration.rb +1 -1
- data/lib/gong_api/models/generic_crm_registration_request.rb +1 -1
- data/lib/gong_api/models/generic_deal_stage_request.rb +1 -1
- data/lib/gong_api/models/generic_property.rb +1 -1
- data/lib/gong_api/models/generic_schema_field_request.rb +1 -1
- data/lib/gong_api/models/get_generic_crm_objects_response.rb +1 -1
- data/lib/gong_api/models/id_media_body.rb +1 -1
- data/lib/gong_api/models/insights_access_with_permission_level.rb +1 -1
- data/lib/gong_api/models/integration_status_request.rb +1 -1
- data/lib/gong_api/models/integration_status_response.rb +1 -1
- data/lib/gong_api/models/interaction.rb +1 -1
- data/lib/gong_api/models/interaction_stat.rb +1 -1
- data/lib/gong_api/models/interaction_stats.rb +1 -1
- data/lib/gong_api/models/library_call.rb +1 -1
- data/lib/gong_api/models/library_folder.rb +1 -1
- data/lib/gong_api/models/library_folder_access.rb +1 -1
- data/lib/gong_api/models/library_folder_list_of_calls_response.rb +1 -1
- data/lib/gong_api/models/library_response.rb +1 -1
- data/lib/gong_api/models/line_error_response.rb +1 -1
- data/lib/gong_api/models/list_generic_crm_integrations_response.rb +1 -1
- data/lib/gong_api/models/list_selected_fields_response.rb +1 -1
- data/lib/gong_api/models/log_entry.rb +1 -1
- data/lib/gong_api/models/logs_response.rb +1 -1
- data/lib/gong_api/models/manual_association_response.rb +1 -1
- data/lib/gong_api/models/manual_associations_basic_data.rb +1 -1
- data/lib/gong_api/models/map_users_body.rb +1 -1
- data/lib/gong_api/models/media.rb +1 -1
- data/lib/gong_api/models/meeting.rb +1 -1
- data/lib/gong_api/models/meeting_invitee.rb +1 -1
- data/lib/gong_api/models/meetings_error_response.rb +1 -1
- data/lib/gong_api/models/monologue.rb +1 -1
- data/lib/gong_api/models/multiple_users_request_with_creation_dates.rb +1 -1
- data/lib/gong_api/models/multiple_users_with_dates.rb +1 -1
- data/lib/gong_api/models/new_call_adding_request.rb +1 -1
- data/lib/gong_api/models/new_call_adding_response.rb +1 -1
- data/lib/gong_api/models/new_call_recording_response.rb +1 -1
- data/lib/gong_api/models/new_meeting_request.rb +1 -1
- data/lib/gong_api/models/new_meeting_response.rb +1 -1
- data/lib/gong_api/models/object_entities_body.rb +1 -1
- data/lib/gong_api/models/occurrences.rb +1 -1
- data/lib/gong_api/models/party.rb +1 -1
- data/lib/gong_api/models/party_context.rb +1 -1
- data/lib/gong_api/models/party_context_field.rb +1 -1
- data/lib/gong_api/models/party_upload_context.rb +1 -1
- data/lib/gong_api/models/permission_profile_dto.rb +1 -1
- data/lib/gong_api/models/permission_profile_response.rb +1 -1
- data/lib/gong_api/models/permission_profile_users_response.rb +1 -1
- data/lib/gong_api/models/permission_profiles_response.rb +1 -1
- data/lib/gong_api/models/phone_number_references.rb +1 -1
- data/lib/gong_api/models/point_of_interest.rb +1 -1
- data/lib/gong_api/models/points_of_interest.rb +1 -1
- data/lib/gong_api/models/question.rb +1 -1
- data/lib/gong_api/models/questions.rb +1 -1
- data/lib/gong_api/models/records.rb +1 -1
- data/lib/gong_api/models/register_generic_crm_response.rb +1 -1
- data/lib/gong_api/models/request_answered_scorecards_filter.rb +1 -1
- data/lib/gong_api/models/request_calls_access_get_dto.rb +1 -1
- data/lib/gong_api/models/request_calls_filter.rb +1 -1
- data/lib/gong_api/models/request_calls_request_filter_with_owners_content_selector.rb +1 -1
- data/lib/gong_api/models/request_multiple_users_request_with_creation_dates.rb +1 -1
- data/lib/gong_api/models/request_multiple_users_with_dates.rb +1 -1
- data/lib/gong_api/models/request_status_response.rb +1 -1
- data/lib/gong_api/models/request_with_time_period_multiple_users_with_dates.rb +1 -1
- data/lib/gong_api/models/schema_update_response.rb +1 -1
- data/lib/gong_api/models/scorecard.rb +1 -1
- data/lib/gong_api/models/scorecards.rb +1 -1
- data/lib/gong_api/models/sentence.rb +1 -1
- data/lib/gong_api/models/settings.rb +1 -1
- data/lib/gong_api/models/settings_history.rb +1 -1
- data/lib/gong_api/models/sharer.rb +1 -1
- data/lib/gong_api/models/snippet.rb +1 -1
- data/lib/gong_api/models/speaker.rb +1 -1
- data/lib/gong_api/models/speakers_timeline.rb +1 -1
- data/lib/gong_api/models/specific_call.rb +1 -1
- data/lib/gong_api/models/speech_segment.rb +1 -1
- data/lib/gong_api/models/spoken_language.rb +1 -1
- data/lib/gong_api/models/structure.rb +1 -1
- data/lib/gong_api/models/topic.rb +1 -1
- data/lib/gong_api/models/tracker.rb +1 -1
- data/lib/gong_api/models/tracker_phrases.rb +1 -1
- data/lib/gong_api/models/update_meeting_request.rb +1 -1
- data/lib/gong_api/models/update_meeting_response.rb +1 -1
- data/lib/gong_api/models/user.rb +1 -1
- data/lib/gong_api/models/user_access_details.rb +1 -1
- data/lib/gong_api/models/user_activity.rb +1 -1
- data/lib/gong_api/models/user_aggregate_by_period_activities.rb +1 -1
- data/lib/gong_api/models/user_day_by_day_activity.rb +1 -1
- data/lib/gong_api/models/user_integration_status.rb +1 -1
- data/lib/gong_api/models/user_metadata.rb +1 -1
- data/lib/gong_api/models/user_settings_history.rb +1 -1
- data/lib/gong_api/models/user_simple_metadata.rb +1 -1
- data/lib/gong_api/models/users_aggregate_by_period_activity.rb +1 -1
- data/lib/gong_api/models/users_day_by_day_activity.rb +1 -1
- data/lib/gong_api/models/users_metadata.rb +1 -1
- data/lib/gong_api/models/video.rb +1 -1
- data/lib/gong_api/models/workspace_metadata.rb +1 -1
- data/lib/gong_api/models/workspaces_metadata.rb +1 -1
- data/lib/gong_api/version.rb +2 -2
- data/lib/gong_api.rb +1 -1
- data/spec/api/auditing_api_spec.rb +1 -1
- data/spec/api/calls_api_spec.rb +3 -3
- data/spec/api/crm_api_spec.rb +1 -1
- data/spec/api/data_privacy_api_spec.rb +1 -1
- data/spec/api/engagement_in_beta_phase_api_spec.rb +1 -1
- data/spec/api/library_api_spec.rb +1 -1
- data/spec/api/meetings_in_beta_phase_api_spec.rb +1 -1
- data/spec/api/permissions_api_spec.rb +1 -1
- data/spec/api/settings_api_spec.rb +1 -1
- data/spec/api/stats_api_spec.rb +1 -1
- data/spec/api/users_api_spec.rb +3 -3
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/actor_spec.rb +1 -1
- data/spec/models/aggregate_activity_spec.rb +1 -1
- data/spec/models/aggregate_activity_with_dates_spec.rb +1 -1
- data/spec/models/answer_spec.rb +1 -1
- data/spec/models/answered_scorecard_spec.rb +1 -1
- data/spec/models/answered_scorecards_filter_spec.rb +1 -1
- data/spec/models/answered_scorecards_spec.rb +1 -1
- data/spec/models/association_object_spec.rb +1 -1
- data/spec/models/async_processing_response_spec.rb +1 -1
- data/spec/models/base_response_spec.rb +1 -1
- data/spec/models/call_access_details_spec.rb +1 -1
- data/spec/models/call_access_with_permission_level_spec.rb +1 -1
- data/spec/models/call_basic_data_spec.rb +1 -1
- data/spec/models/call_collaboration_spec.rb +1 -1
- data/spec/models/call_content_spec.rb +1 -1
- data/spec/models/call_context_spec.rb +1 -1
- data/spec/models/call_interaction_spec.rb +1 -1
- data/spec/models/call_participant_spec.rb +1 -1
- data/spec/models/call_reference_spec.rb +1 -1
- data/spec/models/call_spec.rb +1 -1
- data/spec/models/call_transcript_spec.rb +1 -1
- data/spec/models/call_transcripts_spec.rb +1 -1
- data/spec/models/call_upload_context_spec.rb +1 -1
- data/spec/models/call_users_access_dto_spec.rb +1 -1
- data/spec/models/calls_access_details_response_spec.rb +1 -1
- data/spec/models/calls_access_get_dto_spec.rb +1 -1
- data/spec/models/calls_filter_spec.rb +1 -1
- data/spec/models/calls_request_filter_with_owners_spec.rb +1 -1
- data/spec/models/calls_response_spec.rb +1 -1
- data/spec/models/calls_spec.rb +1 -1
- data/spec/models/calls_users_access_add_dto_spec.rb +1 -1
- data/spec/models/calls_users_access_delete_dto_spec.rb +1 -1
- data/spec/models/coaching_access_with_permission_level_spec.rb +1 -1
- data/spec/models/collaboration_spec.rb +1 -1
- data/spec/models/comment_spec.rb +1 -1
- data/spec/models/company_users_aggregate_activity_response_spec.rb +1 -1
- data/spec/models/company_users_intercation_stats_response_spec.rb +1 -1
- data/spec/models/content_selector_spec.rb +1 -1
- data/spec/models/content_shared_event_spec.rb +1 -1
- data/spec/models/content_spec.rb +1 -1
- data/spec/models/content_viewed_event_spec.rb +1 -1
- data/spec/models/context_field_spec.rb +1 -1
- data/spec/models/crm_party_context_field_spec.rb +1 -1
- data/spec/models/custom_action_event_spec.rb +1 -1
- data/spec/models/customer_data_object_spec.rb +1 -1
- data/spec/models/customer_data_spec.rb +1 -1
- data/spec/models/customer_engagement_spec.rb +1 -1
- data/spec/models/daily_activity_with_dates_spec.rb +1 -1
- data/spec/models/deals_access_with_permission_level_spec.rb +1 -1
- data/spec/models/delete_meeting_request_spec.rb +1 -1
- data/spec/models/email_address_references_spec.rb +1 -1
- data/spec/models/email_message_spec.rb +1 -1
- data/spec/models/emails_access_with_permission_level_spec.rb +1 -1
- data/spec/models/error_response_spec.rb +1 -1
- data/spec/models/event_accepted_response_spec.rb +1 -1
- data/spec/models/exposed_fields_spec.rb +1 -1
- data/spec/models/external_call_object_spec.rb +1 -1
- data/spec/models/external_crm_call_object_spec.rb +1 -1
- data/spec/models/external_crm_party_object_spec.rb +1 -1
- data/spec/models/external_party_object_spec.rb +1 -1
- data/spec/models/external_system_object_spec.rb +1 -1
- data/spec/models/external_system_spec.rb +1 -1
- data/spec/models/forecast_access_with_permission_level_spec.rb +1 -1
- data/spec/models/generic_crm_integration_spec.rb +1 -1
- data/spec/models/generic_crm_registration_request_spec.rb +1 -1
- data/spec/models/generic_deal_stage_request_spec.rb +1 -1
- data/spec/models/generic_property_spec.rb +1 -1
- data/spec/models/generic_schema_field_request_spec.rb +1 -1
- data/spec/models/get_generic_crm_objects_response_spec.rb +1 -1
- data/spec/models/id_media_body_spec.rb +1 -1
- data/spec/models/insights_access_with_permission_level_spec.rb +1 -1
- data/spec/models/integration_status_request_spec.rb +1 -1
- data/spec/models/integration_status_response_spec.rb +1 -1
- data/spec/models/interaction_spec.rb +1 -1
- data/spec/models/interaction_stat_spec.rb +1 -1
- data/spec/models/interaction_stats_spec.rb +1 -1
- data/spec/models/library_call_spec.rb +1 -1
- data/spec/models/library_folder_access_spec.rb +1 -1
- data/spec/models/library_folder_list_of_calls_response_spec.rb +1 -1
- data/spec/models/library_folder_spec.rb +1 -1
- data/spec/models/library_response_spec.rb +1 -1
- data/spec/models/line_error_response_spec.rb +1 -1
- data/spec/models/list_generic_crm_integrations_response_spec.rb +1 -1
- data/spec/models/list_selected_fields_response_spec.rb +1 -1
- data/spec/models/log_entry_spec.rb +1 -1
- data/spec/models/logs_response_spec.rb +1 -1
- data/spec/models/manual_association_response_spec.rb +1 -1
- data/spec/models/manual_associations_basic_data_spec.rb +1 -1
- data/spec/models/map_users_body_spec.rb +1 -1
- data/spec/models/media_spec.rb +1 -1
- data/spec/models/meeting_invitee_spec.rb +1 -1
- data/spec/models/meeting_spec.rb +1 -1
- data/spec/models/meetings_error_response_spec.rb +1 -1
- data/spec/models/monologue_spec.rb +1 -1
- data/spec/models/multiple_users_request_with_creation_dates_spec.rb +1 -1
- data/spec/models/multiple_users_with_dates_spec.rb +1 -1
- data/spec/models/new_call_adding_request_spec.rb +1 -1
- data/spec/models/new_call_adding_response_spec.rb +1 -1
- data/spec/models/new_call_recording_response_spec.rb +1 -1
- data/spec/models/new_meeting_request_spec.rb +1 -1
- data/spec/models/new_meeting_response_spec.rb +1 -1
- data/spec/models/object_entities_body_spec.rb +1 -1
- data/spec/models/occurrences_spec.rb +1 -1
- data/spec/models/party_context_field_spec.rb +1 -1
- data/spec/models/party_context_spec.rb +1 -1
- data/spec/models/party_spec.rb +1 -1
- data/spec/models/party_upload_context_spec.rb +1 -1
- data/spec/models/permission_profile_dto_spec.rb +1 -1
- data/spec/models/permission_profile_response_spec.rb +1 -1
- data/spec/models/permission_profile_users_response_spec.rb +1 -1
- data/spec/models/permission_profiles_response_spec.rb +1 -1
- data/spec/models/phone_number_references_spec.rb +1 -1
- data/spec/models/point_of_interest_spec.rb +1 -1
- data/spec/models/points_of_interest_spec.rb +1 -1
- data/spec/models/question_spec.rb +1 -1
- data/spec/models/questions_spec.rb +1 -1
- data/spec/models/records_spec.rb +1 -1
- data/spec/models/register_generic_crm_response_spec.rb +1 -1
- data/spec/models/request_answered_scorecards_filter_spec.rb +1 -1
- data/spec/models/request_calls_access_get_dto_spec.rb +1 -1
- data/spec/models/request_calls_filter_spec.rb +1 -1
- data/spec/models/request_calls_request_filter_with_owners_content_selector_spec.rb +1 -1
- data/spec/models/request_multiple_users_request_with_creation_dates_spec.rb +1 -1
- data/spec/models/request_multiple_users_with_dates_spec.rb +1 -1
- data/spec/models/request_status_response_spec.rb +1 -1
- data/spec/models/request_with_time_period_multiple_users_with_dates_spec.rb +1 -1
- data/spec/models/schema_update_response_spec.rb +1 -1
- data/spec/models/scorecard_spec.rb +1 -1
- data/spec/models/scorecards_spec.rb +1 -1
- data/spec/models/sentence_spec.rb +1 -1
- data/spec/models/settings_history_spec.rb +1 -1
- data/spec/models/settings_spec.rb +1 -1
- data/spec/models/sharer_spec.rb +1 -1
- data/spec/models/snippet_spec.rb +1 -1
- data/spec/models/speaker_spec.rb +1 -1
- data/spec/models/speakers_timeline_spec.rb +1 -1
- data/spec/models/specific_call_spec.rb +1 -1
- data/spec/models/speech_segment_spec.rb +1 -1
- data/spec/models/spoken_language_spec.rb +1 -1
- data/spec/models/structure_spec.rb +1 -1
- data/spec/models/topic_spec.rb +1 -1
- data/spec/models/tracker_phrases_spec.rb +1 -1
- data/spec/models/tracker_spec.rb +1 -1
- data/spec/models/update_meeting_request_spec.rb +1 -1
- data/spec/models/update_meeting_response_spec.rb +1 -1
- data/spec/models/user_access_details_spec.rb +1 -1
- data/spec/models/user_activity_spec.rb +1 -1
- data/spec/models/user_aggregate_by_period_activities_spec.rb +1 -1
- data/spec/models/user_day_by_day_activity_spec.rb +1 -1
- data/spec/models/user_integration_status_spec.rb +1 -1
- data/spec/models/user_metadata_spec.rb +1 -1
- data/spec/models/user_settings_history_spec.rb +1 -1
- data/spec/models/user_simple_metadata_spec.rb +1 -1
- data/spec/models/user_spec.rb +1 -1
- data/spec/models/users_aggregate_by_period_activity_spec.rb +1 -1
- data/spec/models/users_day_by_day_activity_spec.rb +1 -1
- data/spec/models/users_metadata_spec.rb +1 -1
- data/spec/models/video_spec.rb +1 -1
- data/spec/models/workspace_metadata_spec.rb +1 -1
- data/spec/models/workspaces_metadata_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +35 -9
- data/git_push.sh +0 -55
- data/spec/base_object_spec.rb +0 -109
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: badc5c80c52b2acbfc2e628823023f171b20d6788bc02601e4c70638757cbe44
|
|
4
|
+
data.tar.gz: ddbf7800e83c547f3d3bb3f503af7c5eba11c65d7a8f7c4674b42afbe7bbc7e1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c42d99128a7ff94be0325614cd6196305dc709bf2a77d88cacd274945a3992e4a9cee805286322368c49d7a7b1a55e4a7de3ef95c483950f301a221695b19c83
|
|
7
|
+
data.tar.gz: 1d02a8aa86df7202c6d0dfb871566b003fdd899b6edbc872ab827d21448dd6f2cb798ab6a04bccf134c679a465c515781dd36ff0245f21d56d6b3378dc4f31e1
|
data/Gemfile
CHANGED
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
gong_api (1.1.1)
|
|
5
|
+
json (~> 2.1, >= 2.1.0)
|
|
6
|
+
typhoeus (~> 1.0, >= 1.0.1)
|
|
7
|
+
|
|
8
|
+
GEM
|
|
9
|
+
remote: https://rubygems.org/
|
|
10
|
+
specs:
|
|
11
|
+
ast (2.4.2)
|
|
12
|
+
diff-lcs (1.5.0)
|
|
13
|
+
ethon (0.16.0)
|
|
14
|
+
ffi (>= 1.15.0)
|
|
15
|
+
ffi (1.15.5)
|
|
16
|
+
json (2.6.3)
|
|
17
|
+
parallel (1.22.1)
|
|
18
|
+
parser (3.2.1.1)
|
|
19
|
+
ast (~> 2.4.1)
|
|
20
|
+
rainbow (3.1.1)
|
|
21
|
+
regexp_parser (2.7.0)
|
|
22
|
+
rexml (3.2.5)
|
|
23
|
+
rspec (3.12.0)
|
|
24
|
+
rspec-core (~> 3.12.0)
|
|
25
|
+
rspec-expectations (~> 3.12.0)
|
|
26
|
+
rspec-mocks (~> 3.12.0)
|
|
27
|
+
rspec-core (3.12.1)
|
|
28
|
+
rspec-support (~> 3.12.0)
|
|
29
|
+
rspec-expectations (3.12.2)
|
|
30
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
31
|
+
rspec-support (~> 3.12.0)
|
|
32
|
+
rspec-mocks (3.12.4)
|
|
33
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
34
|
+
rspec-support (~> 3.12.0)
|
|
35
|
+
rspec-support (3.12.0)
|
|
36
|
+
rubocop (1.48.1)
|
|
37
|
+
json (~> 2.3)
|
|
38
|
+
parallel (~> 1.10)
|
|
39
|
+
parser (>= 3.2.0.0)
|
|
40
|
+
rainbow (>= 2.2.2, < 4.0)
|
|
41
|
+
regexp_parser (>= 1.8, < 3.0)
|
|
42
|
+
rexml (>= 3.2.5, < 4.0)
|
|
43
|
+
rubocop-ast (>= 1.26.0, < 2.0)
|
|
44
|
+
ruby-progressbar (~> 1.7)
|
|
45
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
|
46
|
+
rubocop-ast (1.27.0)
|
|
47
|
+
parser (>= 3.2.1.0)
|
|
48
|
+
rubocop-capybara (2.17.1)
|
|
49
|
+
rubocop (~> 1.41)
|
|
50
|
+
rubocop-rspec (2.19.0)
|
|
51
|
+
rubocop (~> 1.33)
|
|
52
|
+
rubocop-capybara (~> 2.17)
|
|
53
|
+
ruby-progressbar (1.13.0)
|
|
54
|
+
typhoeus (1.4.0)
|
|
55
|
+
ethon (>= 0.9.0)
|
|
56
|
+
unicode-display_width (2.4.2)
|
|
57
|
+
|
|
58
|
+
PLATFORMS
|
|
59
|
+
arm64-darwin-24
|
|
60
|
+
x86_64-linux
|
|
61
|
+
|
|
62
|
+
DEPENDENCIES
|
|
63
|
+
gong_api!
|
|
64
|
+
rspec (~> 3.6, >= 3.6.0)
|
|
65
|
+
rubocop
|
|
66
|
+
rubocop-rspec
|
|
67
|
+
|
|
68
|
+
BUNDLED WITH
|
|
69
|
+
2.4.7
|
data/README.md
CHANGED
|
@@ -2,7 +2,58 @@
|
|
|
2
2
|
|
|
3
3
|
GongAPI - the Ruby gem for the Gong API
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
The Gong API allows you to:
|
|
8
|
+
|
|
9
|
+
1. Receive the following information from Gong:
|
|
10
|
+
1. Your company's [calls](https://us-55616.app.gong.io/settings/api/documentation#tag--Calls) in Gong
|
|
11
|
+
1. Your company's [users](https://us-55616.app.gong.io/settings/api/documentation#tag--Users) in Gong
|
|
12
|
+
1. Your company's user [stats](https://us-55616.app.gong.io/settings/api/documentation#tag--Stats) in Gong
|
|
13
|
+
1. Your company's user [settings](https://us-55616.app.gong.io/settings/api/documentation#tag--Settings) in Gong
|
|
14
|
+
1. Your company's [libraries](https://us-55616.app.gong.io/settings/api/documentation#tag--Library) in Gong
|
|
15
|
+
1. [Upload](https://us-55616.app.gong.io/settings/api/documentation#post-/v2/calls) new or [update](https://us-55616.app.gong.io/settings/api/documentation#put-/v2/calls/-id-/media) call recordings in Gong, in order to support cases where you have an internal system that records calls or obtains them from a third-party entity.
|
|
16
|
+
1. [Data Privacy](https://us-55616.app.gong.io/settings/api/documentation#post-/v2/data-privacy/erase-data-for-email-address): Delete users and all their associated elements.
|
|
17
|
+
1. Upload [CRM](https://us-55616.app.gong.io/settings/api/documentation#tag--CRM) data into Gong.
|
|
18
|
+
|
|
19
|
+
Base URL for all API calls is `https://us-55616.api.gong.io`
|
|
20
|
+
|
|
21
|
+
## Authentication
|
|
22
|
+
|
|
23
|
+
There are two ways to retrieve credentials to the Gong Public API:
|
|
24
|
+
|
|
25
|
+
1. Retrieve Manually:
|
|
26
|
+
In the Gong API Page (you must be a technical administrator in Gong), click "Create" to receive an Access Key and an Access Key Secret.
|
|
27
|
+
Use the Basic Authorization HTTP header (as per RFC) to access the Public API as shown below:
|
|
28
|
+
`Authorization: Basic <token>`
|
|
29
|
+
To create the basic token, combine the Access Key and the Access Key Secret with colon (:) and then encode in Base64 as following:
|
|
30
|
+
`Base64(<accessKey> : <accessKeySecret>)`
|
|
31
|
+
|
|
32
|
+
1. Retrieve through OAuth
|
|
33
|
+
To obtain the Bearer token, follow the steps described in the Gong OAuth Guide.
|
|
34
|
+
|
|
35
|
+
After obtaining the token, use the Bearer Authorization HTTP header (as per RFC) to access the Public API as shown below:
|
|
36
|
+
`Authorization: Bearer <token>`
|
|
37
|
+
|
|
38
|
+
## Limits
|
|
39
|
+
|
|
40
|
+
By default Gong limits your company's access to the service to 3 API calls per second, and 10,000 API calls per day.
|
|
41
|
+
|
|
42
|
+
When the rate of API calls exceeds these limits an HTTP status code 429 is returned and a Retry-After header indicates how many seconds to wait before making a new request.
|
|
43
|
+
|
|
44
|
+
If required, contact help@gong.io to change these limits.
|
|
45
|
+
|
|
46
|
+
## Cursors
|
|
47
|
+
|
|
48
|
+
Some API calls that return a list are limited in the amount of records they may return, so multiple API calls may be required to bring all records. Such an API call also returns a records field, which contains the number of records in the current page, the current page number and the total number of records.
|
|
49
|
+
|
|
50
|
+
In cases where the total number of records exceeds the number of records thus far retrieved, the records field will also contain a cursor field which can be used to access the next page of records. To retrieve the next page, repeat the API call with the cursor value as supplied by the previous API call. All other request inputs should remain the same.
|
|
51
|
+
|
|
52
|
+
## Forward Compatibility
|
|
53
|
+
|
|
54
|
+
When coding a system to accept Gong data, take into account that Gong may, without prior warning, add fields to the JSON output. It is recommended to future proof your code so that it disregards all JSON fields you don't actually use.
|
|
55
|
+
|
|
56
|
+
## Swagger
|
|
6
57
|
|
|
7
58
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
|
8
59
|
|
|
@@ -13,7 +64,19 @@ This SDK is automatically generated by the [Swagger Codegen](https://github.com/
|
|
|
13
64
|
|
|
14
65
|
## Installation
|
|
15
66
|
|
|
16
|
-
###
|
|
67
|
+
### Rubygems
|
|
68
|
+
|
|
69
|
+
```shell
|
|
70
|
+
gem install gong_api
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
If you're using Bundler, you can add this to your `Gemfile`
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
gem 'gong_api'
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### Building the gem locally
|
|
17
80
|
|
|
18
81
|
To build the Ruby code into a gem:
|
|
19
82
|
|
|
@@ -21,19 +84,13 @@ To build the Ruby code into a gem:
|
|
|
21
84
|
gem build gong_api.gemspec
|
|
22
85
|
```
|
|
23
86
|
|
|
24
|
-
Then
|
|
87
|
+
Then install the gem locally:
|
|
25
88
|
|
|
26
89
|
```shell
|
|
27
90
|
gem install ./gong_api-1.0.0.gem
|
|
28
91
|
```
|
|
29
92
|
(for development, run `gem install --dev ./gong_api-1.0.0.gem` to install the development dependencies)
|
|
30
93
|
|
|
31
|
-
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
32
|
-
|
|
33
|
-
Finally add this to the Gemfile:
|
|
34
|
-
|
|
35
|
-
gem 'gong_api', '~> 1.0.0'
|
|
36
|
-
|
|
37
94
|
### Install from Git
|
|
38
95
|
|
|
39
96
|
If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
|
|
@@ -271,10 +328,10 @@ opts = {
|
|
|
271
328
|
|
|
272
329
|
begin
|
|
273
330
|
#Retrieve call data by date range (/v2/calls)
|
|
274
|
-
result = api_instance.
|
|
331
|
+
result = api_instance.list_calls_using_get(from_date_time, to_date_time, opts)
|
|
275
332
|
p result
|
|
276
333
|
rescue GongAPI::ApiError => e
|
|
277
|
-
puts "Exception when calling CallsApi->
|
|
334
|
+
puts "Exception when calling CallsApi->list_calls_using_get: #{e}"
|
|
278
335
|
end
|
|
279
336
|
|
|
280
337
|
api_instance = GongAPI::CallsApi.new
|
|
@@ -673,10 +730,10 @@ opts = {
|
|
|
673
730
|
|
|
674
731
|
begin
|
|
675
732
|
#List all users (/v2/users)
|
|
676
|
-
result = api_instance.
|
|
733
|
+
result = api_instance.list_users_using_get(opts)
|
|
677
734
|
p result
|
|
678
735
|
rescue GongAPI::ApiError => e
|
|
679
|
-
puts "Exception when calling UsersApi->
|
|
736
|
+
puts "Exception when calling UsersApi->list_users_using_get: #{e}"
|
|
680
737
|
end
|
|
681
738
|
```
|
|
682
739
|
|
|
@@ -702,7 +759,7 @@ Class | Method | HTTP request | Description
|
|
|
702
759
|
*GongAPI::CallsApi* | [**get_call_transcripts_using_post**](docs/CallsApi.md#get_call_transcripts_using_post) | **POST** /v2/calls/transcript | Retrieve transcripts of calls by date or callIds (/v2/calls/transcript)
|
|
703
760
|
*GongAPI::CallsApi* | [**get_call_using_get**](docs/CallsApi.md#get_call_using_get) | **GET** /v2/calls/{id} | Retrieve data for a specific call (/v2/calls/{id})
|
|
704
761
|
*GongAPI::CallsApi* | [**list_calls_extensive_using_post**](docs/CallsApi.md#list_calls_extensive_using_post) | **POST** /v2/calls/extensive | Retrieve detailed call data by various filters (/v2/calls/extensive)
|
|
705
|
-
*GongAPI::CallsApi* | [**
|
|
762
|
+
*GongAPI::CallsApi* | [**list_calls_using_get**](docs/CallsApi.md#list_calls_using_get) | **GET** /v2/calls | Retrieve call data by date range (/v2/calls)
|
|
706
763
|
*GongAPI::CallsApi* | [**list_crm_calls_manual_association_using_get**](docs/CallsApi.md#list_crm_calls_manual_association_using_get) | **GET** /v2/calls/manual-crm-associations | List all calls that were manually associated with CRM objects (/v2/calls/manual-crm-associations) in Beta Phase
|
|
707
764
|
*GongAPI::DataPrivacyApi* | [**find_all_references_to_email_address_using_get**](docs/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)
|
|
708
765
|
*GongAPI::DataPrivacyApi* | [**find_all_references_to_phone_number_using_get**](docs/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)
|
|
@@ -735,7 +792,7 @@ Class | Method | HTTP request | Description
|
|
|
735
792
|
*GongAPI::UsersApi* | [**get_user_history_using_get**](docs/UsersApi.md#get_user_history_using_get) | **GET** /v2/users/{id}/settings-history | Retrieve user history (/v2/users/{id}/settings-history)
|
|
736
793
|
*GongAPI::UsersApi* | [**get_user_using_get**](docs/UsersApi.md#get_user_using_get) | **GET** /v2/users/{id} | Retrieve user (/v2/users/{id})
|
|
737
794
|
*GongAPI::UsersApi* | [**list_multiple_users_using_post**](docs/UsersApi.md#list_multiple_users_using_post) | **POST** /v2/users/extensive | List users by filter (/v2/users/extensive)
|
|
738
|
-
*GongAPI::UsersApi* | [**
|
|
795
|
+
*GongAPI::UsersApi* | [**list_users_using_get**](docs/UsersApi.md#list_users_using_get) | **GET** /v2/users | List all users (/v2/users)
|
|
739
796
|
|
|
740
797
|
## Documentation for Models
|
|
741
798
|
|
data/config.json
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
"moduleName": "GongAPI",
|
|
4
4
|
"gemVersion": "1.0.0",
|
|
5
5
|
"gemLicense": "MIT",
|
|
6
|
-
"gemHomepage": "https://
|
|
6
|
+
"gemHomepage": "https://github.com/matteeyah/gong-api",
|
|
7
7
|
"gemSummary": "A Ruby Swagger API client for Gong",
|
|
8
8
|
"gemDescription": "A Ruby Swagger API client for Gong",
|
|
9
|
-
"gemAuthor": "
|
|
10
|
-
"gemAuthorEmail": "
|
|
9
|
+
"gemAuthor": "Matija Čupić",
|
|
10
|
+
"gemAuthorEmail": "matteeyah@gmail.com",
|
|
11
11
|
"hideGenerationTimestamp": false
|
|
12
12
|
}
|
data/docs/CallsApi.md
CHANGED
|
@@ -9,7 +9,7 @@ Method | HTTP request | Description
|
|
|
9
9
|
[**get_call_transcripts_using_post**](CallsApi.md#get_call_transcripts_using_post) | **POST** /v2/calls/transcript | Retrieve transcripts of calls by date or callIds (/v2/calls/transcript)
|
|
10
10
|
[**get_call_using_get**](CallsApi.md#get_call_using_get) | **GET** /v2/calls/{id} | Retrieve data for a specific call (/v2/calls/{id})
|
|
11
11
|
[**list_calls_extensive_using_post**](CallsApi.md#list_calls_extensive_using_post) | **POST** /v2/calls/extensive | Retrieve detailed call data by various filters (/v2/calls/extensive)
|
|
12
|
-
[**
|
|
12
|
+
[**list_calls_using_get**](CallsApi.md#list_calls_using_get) | **GET** /v2/calls | Retrieve call data by date range (/v2/calls)
|
|
13
13
|
[**list_crm_calls_manual_association_using_get**](CallsApi.md#list_crm_calls_manual_association_using_get) | **GET** /v2/calls/manual-crm-associations | List all calls that were manually associated with CRM objects (/v2/calls/manual-crm-associations) in Beta Phase
|
|
14
14
|
|
|
15
15
|
# **add_call_recording_using_put**
|
|
@@ -245,8 +245,8 @@ No authorization required
|
|
|
245
245
|
|
|
246
246
|
|
|
247
247
|
|
|
248
|
-
# **
|
|
249
|
-
> CallsResponse
|
|
248
|
+
# **list_calls_using_get**
|
|
249
|
+
> CallsResponse list_calls_using_get(from_date_time, to_date_time, opts)
|
|
250
250
|
|
|
251
251
|
Retrieve call data by date range (/v2/calls)
|
|
252
252
|
|
|
@@ -267,10 +267,10 @@ opts = {
|
|
|
267
267
|
|
|
268
268
|
begin
|
|
269
269
|
#Retrieve call data by date range (/v2/calls)
|
|
270
|
-
result = api_instance.
|
|
270
|
+
result = api_instance.list_calls_using_get(from_date_time, to_date_time, opts)
|
|
271
271
|
p result
|
|
272
272
|
rescue GongAPI::ApiError => e
|
|
273
|
-
puts "Exception when calling CallsApi->
|
|
273
|
+
puts "Exception when calling CallsApi->list_calls_using_get: #{e}"
|
|
274
274
|
end
|
|
275
275
|
```
|
|
276
276
|
|
data/docs/UsersApi.md
CHANGED
|
@@ -7,7 +7,7 @@ Method | HTTP request | Description
|
|
|
7
7
|
[**get_user_history_using_get**](UsersApi.md#get_user_history_using_get) | **GET** /v2/users/{id}/settings-history | Retrieve user history (/v2/users/{id}/settings-history)
|
|
8
8
|
[**get_user_using_get**](UsersApi.md#get_user_using_get) | **GET** /v2/users/{id} | Retrieve user (/v2/users/{id})
|
|
9
9
|
[**list_multiple_users_using_post**](UsersApi.md#list_multiple_users_using_post) | **POST** /v2/users/extensive | List users by filter (/v2/users/extensive)
|
|
10
|
-
[**
|
|
10
|
+
[**list_users_using_get**](UsersApi.md#list_users_using_get) | **GET** /v2/users | List all users (/v2/users)
|
|
11
11
|
|
|
12
12
|
# **get_user_history_using_get**
|
|
13
13
|
> SettingsHistory get_user_history_using_get(id)
|
|
@@ -147,8 +147,8 @@ No authorization required
|
|
|
147
147
|
|
|
148
148
|
|
|
149
149
|
|
|
150
|
-
# **
|
|
151
|
-
> UsersMetadata
|
|
150
|
+
# **list_users_using_get**
|
|
151
|
+
> UsersMetadata list_users_using_get(opts)
|
|
152
152
|
|
|
153
153
|
List all users (/v2/users)
|
|
154
154
|
|
|
@@ -167,10 +167,10 @@ opts = {
|
|
|
167
167
|
|
|
168
168
|
begin
|
|
169
169
|
#List all users (/v2/users)
|
|
170
|
-
result = api_instance.
|
|
170
|
+
result = api_instance.list_users_using_get(opts)
|
|
171
171
|
p result
|
|
172
172
|
rescue GongAPI::ApiError => e
|
|
173
|
-
puts "Exception when calling UsersApi->
|
|
173
|
+
puts "Exception when calling UsersApi->list_users_using_get: #{e}"
|
|
174
174
|
end
|
|
175
175
|
```
|
|
176
176
|
|
data/gong_api.gemspec
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
=begin
|
|
4
4
|
#Gong API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
|
|
7
7
|
|
|
8
8
|
OpenAPI spec version: V2
|
|
9
9
|
|
|
@@ -18,9 +18,9 @@ Gem::Specification.new do |s|
|
|
|
18
18
|
s.name = "gong_api"
|
|
19
19
|
s.version = GongAPI::VERSION
|
|
20
20
|
s.platform = Gem::Platform::RUBY
|
|
21
|
-
s.authors = ["
|
|
22
|
-
s.email = ["
|
|
23
|
-
s.homepage = "https://
|
|
21
|
+
s.authors = ["Matija Čupić"]
|
|
22
|
+
s.email = ["matteeyah@gmail.com"]
|
|
23
|
+
s.homepage = "https://github.com/matteeyah/gong-api"
|
|
24
24
|
s.summary = "A Ruby Swagger API client for Gong"
|
|
25
25
|
s.description = "A Ruby Swagger API client for Gong"
|
|
26
26
|
s.license = 'MIT'
|
|
@@ -30,6 +30,8 @@ Gem::Specification.new do |s|
|
|
|
30
30
|
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
|
31
31
|
|
|
32
32
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
|
33
|
+
s.add_development_dependency 'rubocop'
|
|
34
|
+
s.add_development_dependency 'rubocop-rspec'
|
|
33
35
|
|
|
34
36
|
s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
|
|
35
37
|
s.test_files = `find spec/*`.split("\n")
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Gong API
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
|
|
6
6
|
OpenAPI spec version: V2
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Gong API
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
|
|
6
6
|
OpenAPI spec version: V2
|
|
7
7
|
|
|
@@ -315,8 +315,8 @@ module GongAPI
|
|
|
315
315
|
# @option opts [String] :cursor When paging is needed, provide the value supplied by the previous API call to bring the following page of records.
|
|
316
316
|
# @option opts [String] :workspace_id Optional Workspace identifier, if supplied the API will return only the calls belonging to this workspace.
|
|
317
317
|
# @return [CallsResponse]
|
|
318
|
-
def
|
|
319
|
-
data, _status_code, _headers =
|
|
318
|
+
def list_calls_using_get(from_date_time, to_date_time, opts = {})
|
|
319
|
+
data, _status_code, _headers = list_calls_using_get_with_http_info(from_date_time, to_date_time, opts)
|
|
320
320
|
data
|
|
321
321
|
end
|
|
322
322
|
|
|
@@ -328,17 +328,17 @@ module GongAPI
|
|
|
328
328
|
# @option opts [String] :cursor When paging is needed, provide the value supplied by the previous API call to bring the following page of records.
|
|
329
329
|
# @option opts [String] :workspace_id Optional Workspace identifier, if supplied the API will return only the calls belonging to this workspace.
|
|
330
330
|
# @return [Array<(CallsResponse, Integer, Hash)>] CallsResponse data, response status code and response headers
|
|
331
|
-
def
|
|
331
|
+
def list_calls_using_get_with_http_info(from_date_time, to_date_time, opts = {})
|
|
332
332
|
if @api_client.config.debugging
|
|
333
|
-
@api_client.config.logger.debug 'Calling API: CallsApi.
|
|
333
|
+
@api_client.config.logger.debug 'Calling API: CallsApi.list_calls_using_get ...'
|
|
334
334
|
end
|
|
335
335
|
# verify the required parameter 'from_date_time' is set
|
|
336
336
|
if @api_client.config.client_side_validation && from_date_time.nil?
|
|
337
|
-
fail ArgumentError, "Missing the required parameter 'from_date_time' when calling CallsApi.
|
|
337
|
+
fail ArgumentError, "Missing the required parameter 'from_date_time' when calling CallsApi.list_calls_using_get"
|
|
338
338
|
end
|
|
339
339
|
# verify the required parameter 'to_date_time' is set
|
|
340
340
|
if @api_client.config.client_side_validation && to_date_time.nil?
|
|
341
|
-
fail ArgumentError, "Missing the required parameter 'to_date_time' when calling CallsApi.
|
|
341
|
+
fail ArgumentError, "Missing the required parameter 'to_date_time' when calling CallsApi.list_calls_using_get"
|
|
342
342
|
end
|
|
343
343
|
# resource path
|
|
344
344
|
local_var_path = '/v2/calls'
|
|
@@ -373,7 +373,7 @@ module GongAPI
|
|
|
373
373
|
:return_type => return_type)
|
|
374
374
|
|
|
375
375
|
if @api_client.config.debugging
|
|
376
|
-
@api_client.config.logger.debug "API called: CallsApi#
|
|
376
|
+
@api_client.config.logger.debug "API called: CallsApi#list_calls_using_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
377
377
|
end
|
|
378
378
|
return data, status_code, headers
|
|
379
379
|
end
|
data/lib/gong_api/api/crm_api.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Gong API
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
|
|
6
6
|
OpenAPI spec version: V2
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Gong API
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
|
|
6
6
|
OpenAPI spec version: V2
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Gong API
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
|
|
6
6
|
OpenAPI spec version: V2
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Gong API
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
|
|
6
6
|
OpenAPI spec version: V2
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Gong API
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
|
|
6
6
|
OpenAPI spec version: V2
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Gong API
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
|
|
6
6
|
OpenAPI spec version: V2
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Gong API
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
|
|
6
6
|
OpenAPI spec version: V2
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Gong API
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
|
|
6
6
|
OpenAPI spec version: V2
|
|
7
7
|
|