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.
Files changed (361) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -7
  3. data/Gemfile.lock +69 -0
  4. data/README.md +72 -15
  5. data/config.json +3 -3
  6. data/docs/CallsApi.md +5 -5
  7. data/docs/UsersApi.md +5 -5
  8. data/gong_api.gemspec +6 -4
  9. data/lib/gong_api/api/auditing_api.rb +1 -1
  10. data/lib/gong_api/api/calls_api.rb +8 -8
  11. data/lib/gong_api/api/crm_api.rb +1 -1
  12. data/lib/gong_api/api/data_privacy_api.rb +1 -1
  13. data/lib/gong_api/api/engagement_in_beta_phase_api.rb +1 -1
  14. data/lib/gong_api/api/library_api.rb +1 -1
  15. data/lib/gong_api/api/meetings_in_beta_phase_api.rb +1 -1
  16. data/lib/gong_api/api/permissions_api.rb +1 -1
  17. data/lib/gong_api/api/settings_api.rb +1 -1
  18. data/lib/gong_api/api/stats_api.rb +1 -1
  19. data/lib/gong_api/api/users_api.rb +6 -6
  20. data/lib/gong_api/api_client.rb +1 -1
  21. data/lib/gong_api/api_error.rb +1 -2
  22. data/lib/gong_api/configuration.rb +2 -3
  23. data/lib/gong_api/models/actor.rb +1 -1
  24. data/lib/gong_api/models/aggregate_activity.rb +1 -1
  25. data/lib/gong_api/models/aggregate_activity_with_dates.rb +1 -1
  26. data/lib/gong_api/models/answer.rb +1 -1
  27. data/lib/gong_api/models/answered_scorecard.rb +1 -1
  28. data/lib/gong_api/models/answered_scorecards.rb +1 -1
  29. data/lib/gong_api/models/answered_scorecards_filter.rb +1 -1
  30. data/lib/gong_api/models/association_object.rb +1 -1
  31. data/lib/gong_api/models/async_processing_response.rb +1 -1
  32. data/lib/gong_api/models/base_response.rb +1 -1
  33. data/lib/gong_api/models/call.rb +1 -1
  34. data/lib/gong_api/models/call_access_details.rb +1 -1
  35. data/lib/gong_api/models/call_access_with_permission_level.rb +1 -1
  36. data/lib/gong_api/models/call_basic_data.rb +1 -1
  37. data/lib/gong_api/models/call_collaboration.rb +1 -1
  38. data/lib/gong_api/models/call_content.rb +1 -1
  39. data/lib/gong_api/models/call_context.rb +1 -1
  40. data/lib/gong_api/models/call_interaction.rb +1 -1
  41. data/lib/gong_api/models/call_participant.rb +1 -1
  42. data/lib/gong_api/models/call_reference.rb +1 -1
  43. data/lib/gong_api/models/call_transcript.rb +1 -1
  44. data/lib/gong_api/models/call_transcripts.rb +1 -1
  45. data/lib/gong_api/models/call_upload_context.rb +1 -1
  46. data/lib/gong_api/models/call_users_access_dto.rb +1 -1
  47. data/lib/gong_api/models/calls.rb +1 -1
  48. data/lib/gong_api/models/calls_access_details_response.rb +1 -1
  49. data/lib/gong_api/models/calls_access_get_dto.rb +1 -1
  50. data/lib/gong_api/models/calls_filter.rb +1 -1
  51. data/lib/gong_api/models/calls_request_filter_with_owners.rb +1 -1
  52. data/lib/gong_api/models/calls_response.rb +1 -1
  53. data/lib/gong_api/models/calls_users_access_add_dto.rb +1 -1
  54. data/lib/gong_api/models/calls_users_access_delete_dto.rb +1 -1
  55. data/lib/gong_api/models/coaching_access_with_permission_level.rb +1 -1
  56. data/lib/gong_api/models/collaboration.rb +1 -1
  57. data/lib/gong_api/models/comment.rb +1 -1
  58. data/lib/gong_api/models/company_users_aggregate_activity_response.rb +1 -1
  59. data/lib/gong_api/models/company_users_intercation_stats_response.rb +1 -1
  60. data/lib/gong_api/models/content.rb +1 -1
  61. data/lib/gong_api/models/content_selector.rb +1 -1
  62. data/lib/gong_api/models/content_shared_event.rb +1 -1
  63. data/lib/gong_api/models/content_viewed_event.rb +1 -1
  64. data/lib/gong_api/models/context_field.rb +1 -1
  65. data/lib/gong_api/models/crm_party_context_field.rb +1 -1
  66. data/lib/gong_api/models/custom_action_event.rb +1 -1
  67. data/lib/gong_api/models/customer_data.rb +1 -1
  68. data/lib/gong_api/models/customer_data_object.rb +1 -1
  69. data/lib/gong_api/models/customer_engagement.rb +1 -1
  70. data/lib/gong_api/models/daily_activity_with_dates.rb +1 -1
  71. data/lib/gong_api/models/deals_access_with_permission_level.rb +1 -1
  72. data/lib/gong_api/models/delete_meeting_request.rb +1 -1
  73. data/lib/gong_api/models/email_address_references.rb +1 -1
  74. data/lib/gong_api/models/email_message.rb +1 -1
  75. data/lib/gong_api/models/emails_access_with_permission_level.rb +1 -1
  76. data/lib/gong_api/models/error_response.rb +1 -1
  77. data/lib/gong_api/models/event_accepted_response.rb +1 -1
  78. data/lib/gong_api/models/exposed_fields.rb +1 -1
  79. data/lib/gong_api/models/external_call_object.rb +8 -8
  80. data/lib/gong_api/models/external_crm_call_object.rb +11 -11
  81. data/lib/gong_api/models/external_crm_party_object.rb +11 -11
  82. data/lib/gong_api/models/external_party_object.rb +8 -8
  83. data/lib/gong_api/models/external_system.rb +1 -1
  84. data/lib/gong_api/models/external_system_object.rb +1 -1
  85. data/lib/gong_api/models/forecast_access_with_permission_level.rb +1 -1
  86. data/lib/gong_api/models/generic_crm_integration.rb +1 -1
  87. data/lib/gong_api/models/generic_crm_registration_request.rb +1 -1
  88. data/lib/gong_api/models/generic_deal_stage_request.rb +1 -1
  89. data/lib/gong_api/models/generic_property.rb +1 -1
  90. data/lib/gong_api/models/generic_schema_field_request.rb +1 -1
  91. data/lib/gong_api/models/get_generic_crm_objects_response.rb +1 -1
  92. data/lib/gong_api/models/id_media_body.rb +1 -1
  93. data/lib/gong_api/models/insights_access_with_permission_level.rb +1 -1
  94. data/lib/gong_api/models/integration_status_request.rb +1 -1
  95. data/lib/gong_api/models/integration_status_response.rb +1 -1
  96. data/lib/gong_api/models/interaction.rb +1 -1
  97. data/lib/gong_api/models/interaction_stat.rb +1 -1
  98. data/lib/gong_api/models/interaction_stats.rb +1 -1
  99. data/lib/gong_api/models/library_call.rb +1 -1
  100. data/lib/gong_api/models/library_folder.rb +1 -1
  101. data/lib/gong_api/models/library_folder_access.rb +1 -1
  102. data/lib/gong_api/models/library_folder_list_of_calls_response.rb +1 -1
  103. data/lib/gong_api/models/library_response.rb +1 -1
  104. data/lib/gong_api/models/line_error_response.rb +1 -1
  105. data/lib/gong_api/models/list_generic_crm_integrations_response.rb +1 -1
  106. data/lib/gong_api/models/list_selected_fields_response.rb +1 -1
  107. data/lib/gong_api/models/log_entry.rb +1 -1
  108. data/lib/gong_api/models/logs_response.rb +1 -1
  109. data/lib/gong_api/models/manual_association_response.rb +1 -1
  110. data/lib/gong_api/models/manual_associations_basic_data.rb +1 -1
  111. data/lib/gong_api/models/map_users_body.rb +1 -1
  112. data/lib/gong_api/models/media.rb +1 -1
  113. data/lib/gong_api/models/meeting.rb +1 -1
  114. data/lib/gong_api/models/meeting_invitee.rb +1 -1
  115. data/lib/gong_api/models/meetings_error_response.rb +1 -1
  116. data/lib/gong_api/models/monologue.rb +1 -1
  117. data/lib/gong_api/models/multiple_users_request_with_creation_dates.rb +1 -1
  118. data/lib/gong_api/models/multiple_users_with_dates.rb +1 -1
  119. data/lib/gong_api/models/new_call_adding_request.rb +1 -1
  120. data/lib/gong_api/models/new_call_adding_response.rb +1 -1
  121. data/lib/gong_api/models/new_call_recording_response.rb +1 -1
  122. data/lib/gong_api/models/new_meeting_request.rb +1 -1
  123. data/lib/gong_api/models/new_meeting_response.rb +1 -1
  124. data/lib/gong_api/models/object_entities_body.rb +1 -1
  125. data/lib/gong_api/models/occurrences.rb +1 -1
  126. data/lib/gong_api/models/party.rb +1 -1
  127. data/lib/gong_api/models/party_context.rb +1 -1
  128. data/lib/gong_api/models/party_context_field.rb +1 -1
  129. data/lib/gong_api/models/party_upload_context.rb +1 -1
  130. data/lib/gong_api/models/permission_profile_dto.rb +1 -1
  131. data/lib/gong_api/models/permission_profile_response.rb +1 -1
  132. data/lib/gong_api/models/permission_profile_users_response.rb +1 -1
  133. data/lib/gong_api/models/permission_profiles_response.rb +1 -1
  134. data/lib/gong_api/models/phone_number_references.rb +1 -1
  135. data/lib/gong_api/models/point_of_interest.rb +1 -1
  136. data/lib/gong_api/models/points_of_interest.rb +1 -1
  137. data/lib/gong_api/models/question.rb +1 -1
  138. data/lib/gong_api/models/questions.rb +1 -1
  139. data/lib/gong_api/models/records.rb +1 -1
  140. data/lib/gong_api/models/register_generic_crm_response.rb +1 -1
  141. data/lib/gong_api/models/request_answered_scorecards_filter.rb +1 -1
  142. data/lib/gong_api/models/request_calls_access_get_dto.rb +1 -1
  143. data/lib/gong_api/models/request_calls_filter.rb +1 -1
  144. data/lib/gong_api/models/request_calls_request_filter_with_owners_content_selector.rb +1 -1
  145. data/lib/gong_api/models/request_multiple_users_request_with_creation_dates.rb +1 -1
  146. data/lib/gong_api/models/request_multiple_users_with_dates.rb +1 -1
  147. data/lib/gong_api/models/request_status_response.rb +1 -1
  148. data/lib/gong_api/models/request_with_time_period_multiple_users_with_dates.rb +1 -1
  149. data/lib/gong_api/models/schema_update_response.rb +1 -1
  150. data/lib/gong_api/models/scorecard.rb +1 -1
  151. data/lib/gong_api/models/scorecards.rb +1 -1
  152. data/lib/gong_api/models/sentence.rb +1 -1
  153. data/lib/gong_api/models/settings.rb +1 -1
  154. data/lib/gong_api/models/settings_history.rb +1 -1
  155. data/lib/gong_api/models/sharer.rb +1 -1
  156. data/lib/gong_api/models/snippet.rb +1 -1
  157. data/lib/gong_api/models/speaker.rb +1 -1
  158. data/lib/gong_api/models/speakers_timeline.rb +1 -1
  159. data/lib/gong_api/models/specific_call.rb +1 -1
  160. data/lib/gong_api/models/speech_segment.rb +1 -1
  161. data/lib/gong_api/models/spoken_language.rb +1 -1
  162. data/lib/gong_api/models/structure.rb +1 -1
  163. data/lib/gong_api/models/topic.rb +1 -1
  164. data/lib/gong_api/models/tracker.rb +1 -1
  165. data/lib/gong_api/models/tracker_phrases.rb +1 -1
  166. data/lib/gong_api/models/update_meeting_request.rb +1 -1
  167. data/lib/gong_api/models/update_meeting_response.rb +1 -1
  168. data/lib/gong_api/models/user.rb +1 -1
  169. data/lib/gong_api/models/user_access_details.rb +1 -1
  170. data/lib/gong_api/models/user_activity.rb +1 -1
  171. data/lib/gong_api/models/user_aggregate_by_period_activities.rb +1 -1
  172. data/lib/gong_api/models/user_day_by_day_activity.rb +1 -1
  173. data/lib/gong_api/models/user_integration_status.rb +1 -1
  174. data/lib/gong_api/models/user_metadata.rb +1 -1
  175. data/lib/gong_api/models/user_settings_history.rb +1 -1
  176. data/lib/gong_api/models/user_simple_metadata.rb +1 -1
  177. data/lib/gong_api/models/users_aggregate_by_period_activity.rb +1 -1
  178. data/lib/gong_api/models/users_day_by_day_activity.rb +1 -1
  179. data/lib/gong_api/models/users_metadata.rb +1 -1
  180. data/lib/gong_api/models/video.rb +1 -1
  181. data/lib/gong_api/models/workspace_metadata.rb +1 -1
  182. data/lib/gong_api/models/workspaces_metadata.rb +1 -1
  183. data/lib/gong_api/version.rb +2 -2
  184. data/lib/gong_api.rb +1 -1
  185. data/spec/api/auditing_api_spec.rb +1 -1
  186. data/spec/api/calls_api_spec.rb +3 -3
  187. data/spec/api/crm_api_spec.rb +1 -1
  188. data/spec/api/data_privacy_api_spec.rb +1 -1
  189. data/spec/api/engagement_in_beta_phase_api_spec.rb +1 -1
  190. data/spec/api/library_api_spec.rb +1 -1
  191. data/spec/api/meetings_in_beta_phase_api_spec.rb +1 -1
  192. data/spec/api/permissions_api_spec.rb +1 -1
  193. data/spec/api/settings_api_spec.rb +1 -1
  194. data/spec/api/stats_api_spec.rb +1 -1
  195. data/spec/api/users_api_spec.rb +3 -3
  196. data/spec/api_client_spec.rb +1 -1
  197. data/spec/configuration_spec.rb +1 -1
  198. data/spec/models/actor_spec.rb +1 -1
  199. data/spec/models/aggregate_activity_spec.rb +1 -1
  200. data/spec/models/aggregate_activity_with_dates_spec.rb +1 -1
  201. data/spec/models/answer_spec.rb +1 -1
  202. data/spec/models/answered_scorecard_spec.rb +1 -1
  203. data/spec/models/answered_scorecards_filter_spec.rb +1 -1
  204. data/spec/models/answered_scorecards_spec.rb +1 -1
  205. data/spec/models/association_object_spec.rb +1 -1
  206. data/spec/models/async_processing_response_spec.rb +1 -1
  207. data/spec/models/base_response_spec.rb +1 -1
  208. data/spec/models/call_access_details_spec.rb +1 -1
  209. data/spec/models/call_access_with_permission_level_spec.rb +1 -1
  210. data/spec/models/call_basic_data_spec.rb +1 -1
  211. data/spec/models/call_collaboration_spec.rb +1 -1
  212. data/spec/models/call_content_spec.rb +1 -1
  213. data/spec/models/call_context_spec.rb +1 -1
  214. data/spec/models/call_interaction_spec.rb +1 -1
  215. data/spec/models/call_participant_spec.rb +1 -1
  216. data/spec/models/call_reference_spec.rb +1 -1
  217. data/spec/models/call_spec.rb +1 -1
  218. data/spec/models/call_transcript_spec.rb +1 -1
  219. data/spec/models/call_transcripts_spec.rb +1 -1
  220. data/spec/models/call_upload_context_spec.rb +1 -1
  221. data/spec/models/call_users_access_dto_spec.rb +1 -1
  222. data/spec/models/calls_access_details_response_spec.rb +1 -1
  223. data/spec/models/calls_access_get_dto_spec.rb +1 -1
  224. data/spec/models/calls_filter_spec.rb +1 -1
  225. data/spec/models/calls_request_filter_with_owners_spec.rb +1 -1
  226. data/spec/models/calls_response_spec.rb +1 -1
  227. data/spec/models/calls_spec.rb +1 -1
  228. data/spec/models/calls_users_access_add_dto_spec.rb +1 -1
  229. data/spec/models/calls_users_access_delete_dto_spec.rb +1 -1
  230. data/spec/models/coaching_access_with_permission_level_spec.rb +1 -1
  231. data/spec/models/collaboration_spec.rb +1 -1
  232. data/spec/models/comment_spec.rb +1 -1
  233. data/spec/models/company_users_aggregate_activity_response_spec.rb +1 -1
  234. data/spec/models/company_users_intercation_stats_response_spec.rb +1 -1
  235. data/spec/models/content_selector_spec.rb +1 -1
  236. data/spec/models/content_shared_event_spec.rb +1 -1
  237. data/spec/models/content_spec.rb +1 -1
  238. data/spec/models/content_viewed_event_spec.rb +1 -1
  239. data/spec/models/context_field_spec.rb +1 -1
  240. data/spec/models/crm_party_context_field_spec.rb +1 -1
  241. data/spec/models/custom_action_event_spec.rb +1 -1
  242. data/spec/models/customer_data_object_spec.rb +1 -1
  243. data/spec/models/customer_data_spec.rb +1 -1
  244. data/spec/models/customer_engagement_spec.rb +1 -1
  245. data/spec/models/daily_activity_with_dates_spec.rb +1 -1
  246. data/spec/models/deals_access_with_permission_level_spec.rb +1 -1
  247. data/spec/models/delete_meeting_request_spec.rb +1 -1
  248. data/spec/models/email_address_references_spec.rb +1 -1
  249. data/spec/models/email_message_spec.rb +1 -1
  250. data/spec/models/emails_access_with_permission_level_spec.rb +1 -1
  251. data/spec/models/error_response_spec.rb +1 -1
  252. data/spec/models/event_accepted_response_spec.rb +1 -1
  253. data/spec/models/exposed_fields_spec.rb +1 -1
  254. data/spec/models/external_call_object_spec.rb +1 -1
  255. data/spec/models/external_crm_call_object_spec.rb +1 -1
  256. data/spec/models/external_crm_party_object_spec.rb +1 -1
  257. data/spec/models/external_party_object_spec.rb +1 -1
  258. data/spec/models/external_system_object_spec.rb +1 -1
  259. data/spec/models/external_system_spec.rb +1 -1
  260. data/spec/models/forecast_access_with_permission_level_spec.rb +1 -1
  261. data/spec/models/generic_crm_integration_spec.rb +1 -1
  262. data/spec/models/generic_crm_registration_request_spec.rb +1 -1
  263. data/spec/models/generic_deal_stage_request_spec.rb +1 -1
  264. data/spec/models/generic_property_spec.rb +1 -1
  265. data/spec/models/generic_schema_field_request_spec.rb +1 -1
  266. data/spec/models/get_generic_crm_objects_response_spec.rb +1 -1
  267. data/spec/models/id_media_body_spec.rb +1 -1
  268. data/spec/models/insights_access_with_permission_level_spec.rb +1 -1
  269. data/spec/models/integration_status_request_spec.rb +1 -1
  270. data/spec/models/integration_status_response_spec.rb +1 -1
  271. data/spec/models/interaction_spec.rb +1 -1
  272. data/spec/models/interaction_stat_spec.rb +1 -1
  273. data/spec/models/interaction_stats_spec.rb +1 -1
  274. data/spec/models/library_call_spec.rb +1 -1
  275. data/spec/models/library_folder_access_spec.rb +1 -1
  276. data/spec/models/library_folder_list_of_calls_response_spec.rb +1 -1
  277. data/spec/models/library_folder_spec.rb +1 -1
  278. data/spec/models/library_response_spec.rb +1 -1
  279. data/spec/models/line_error_response_spec.rb +1 -1
  280. data/spec/models/list_generic_crm_integrations_response_spec.rb +1 -1
  281. data/spec/models/list_selected_fields_response_spec.rb +1 -1
  282. data/spec/models/log_entry_spec.rb +1 -1
  283. data/spec/models/logs_response_spec.rb +1 -1
  284. data/spec/models/manual_association_response_spec.rb +1 -1
  285. data/spec/models/manual_associations_basic_data_spec.rb +1 -1
  286. data/spec/models/map_users_body_spec.rb +1 -1
  287. data/spec/models/media_spec.rb +1 -1
  288. data/spec/models/meeting_invitee_spec.rb +1 -1
  289. data/spec/models/meeting_spec.rb +1 -1
  290. data/spec/models/meetings_error_response_spec.rb +1 -1
  291. data/spec/models/monologue_spec.rb +1 -1
  292. data/spec/models/multiple_users_request_with_creation_dates_spec.rb +1 -1
  293. data/spec/models/multiple_users_with_dates_spec.rb +1 -1
  294. data/spec/models/new_call_adding_request_spec.rb +1 -1
  295. data/spec/models/new_call_adding_response_spec.rb +1 -1
  296. data/spec/models/new_call_recording_response_spec.rb +1 -1
  297. data/spec/models/new_meeting_request_spec.rb +1 -1
  298. data/spec/models/new_meeting_response_spec.rb +1 -1
  299. data/spec/models/object_entities_body_spec.rb +1 -1
  300. data/spec/models/occurrences_spec.rb +1 -1
  301. data/spec/models/party_context_field_spec.rb +1 -1
  302. data/spec/models/party_context_spec.rb +1 -1
  303. data/spec/models/party_spec.rb +1 -1
  304. data/spec/models/party_upload_context_spec.rb +1 -1
  305. data/spec/models/permission_profile_dto_spec.rb +1 -1
  306. data/spec/models/permission_profile_response_spec.rb +1 -1
  307. data/spec/models/permission_profile_users_response_spec.rb +1 -1
  308. data/spec/models/permission_profiles_response_spec.rb +1 -1
  309. data/spec/models/phone_number_references_spec.rb +1 -1
  310. data/spec/models/point_of_interest_spec.rb +1 -1
  311. data/spec/models/points_of_interest_spec.rb +1 -1
  312. data/spec/models/question_spec.rb +1 -1
  313. data/spec/models/questions_spec.rb +1 -1
  314. data/spec/models/records_spec.rb +1 -1
  315. data/spec/models/register_generic_crm_response_spec.rb +1 -1
  316. data/spec/models/request_answered_scorecards_filter_spec.rb +1 -1
  317. data/spec/models/request_calls_access_get_dto_spec.rb +1 -1
  318. data/spec/models/request_calls_filter_spec.rb +1 -1
  319. data/spec/models/request_calls_request_filter_with_owners_content_selector_spec.rb +1 -1
  320. data/spec/models/request_multiple_users_request_with_creation_dates_spec.rb +1 -1
  321. data/spec/models/request_multiple_users_with_dates_spec.rb +1 -1
  322. data/spec/models/request_status_response_spec.rb +1 -1
  323. data/spec/models/request_with_time_period_multiple_users_with_dates_spec.rb +1 -1
  324. data/spec/models/schema_update_response_spec.rb +1 -1
  325. data/spec/models/scorecard_spec.rb +1 -1
  326. data/spec/models/scorecards_spec.rb +1 -1
  327. data/spec/models/sentence_spec.rb +1 -1
  328. data/spec/models/settings_history_spec.rb +1 -1
  329. data/spec/models/settings_spec.rb +1 -1
  330. data/spec/models/sharer_spec.rb +1 -1
  331. data/spec/models/snippet_spec.rb +1 -1
  332. data/spec/models/speaker_spec.rb +1 -1
  333. data/spec/models/speakers_timeline_spec.rb +1 -1
  334. data/spec/models/specific_call_spec.rb +1 -1
  335. data/spec/models/speech_segment_spec.rb +1 -1
  336. data/spec/models/spoken_language_spec.rb +1 -1
  337. data/spec/models/structure_spec.rb +1 -1
  338. data/spec/models/topic_spec.rb +1 -1
  339. data/spec/models/tracker_phrases_spec.rb +1 -1
  340. data/spec/models/tracker_spec.rb +1 -1
  341. data/spec/models/update_meeting_request_spec.rb +1 -1
  342. data/spec/models/update_meeting_response_spec.rb +1 -1
  343. data/spec/models/user_access_details_spec.rb +1 -1
  344. data/spec/models/user_activity_spec.rb +1 -1
  345. data/spec/models/user_aggregate_by_period_activities_spec.rb +1 -1
  346. data/spec/models/user_day_by_day_activity_spec.rb +1 -1
  347. data/spec/models/user_integration_status_spec.rb +1 -1
  348. data/spec/models/user_metadata_spec.rb +1 -1
  349. data/spec/models/user_settings_history_spec.rb +1 -1
  350. data/spec/models/user_simple_metadata_spec.rb +1 -1
  351. data/spec/models/user_spec.rb +1 -1
  352. data/spec/models/users_aggregate_by_period_activity_spec.rb +1 -1
  353. data/spec/models/users_day_by_day_activity_spec.rb +1 -1
  354. data/spec/models/users_metadata_spec.rb +1 -1
  355. data/spec/models/video_spec.rb +1 -1
  356. data/spec/models/workspace_metadata_spec.rb +1 -1
  357. data/spec/models/workspaces_metadata_spec.rb +1 -1
  358. data/spec/spec_helper.rb +1 -1
  359. metadata +35 -9
  360. data/git_push.sh +0 -55
  361. data/spec/base_object_spec.rb +0 -109
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c5bd85b4d648cca270bae3ffc2df9665bd02010ac28440243a1ff4a8063700f
4
- data.tar.gz: e0079997cf2ed9b8d39150a44234ae2403c9b94f2896cf1ba78565620f86133f
3
+ metadata.gz: badc5c80c52b2acbfc2e628823023f171b20d6788bc02601e4c70638757cbe44
4
+ data.tar.gz: ddbf7800e83c547f3d3bb3f503af7c5eba11c65d7a8f7c4674b42afbe7bbc7e1
5
5
  SHA512:
6
- metadata.gz: 436a3c709c7e2dff44efe0f388c6c4ef030f74b8d27e66cca24bbffabd83b3e043de5a65fb5720cc706ab9dbea273c0cb459a103f69316d2c8b9cae4e2b5b31b
7
- data.tar.gz: 92f437c722478e0827030a41698f8cc277f3073dbb6cd9104c075a30b28f5841ad42edda85445a702f00940177bda36627d109ce2eb0898cc8b00f7c660a7854
6
+ metadata.gz: c42d99128a7ff94be0325614cd6196305dc709bf2a77d88cacd274945a3992e4a9cee805286322368c49d7a7b1a55e4a7de3ef95c483950f301a221695b19c83
7
+ data.tar.gz: 1d02a8aa86df7202c6d0dfb871566b003fdd899b6edbc872ab827d21448dd6f2cb798ab6a04bccf134c679a465c515781dd36ff0245f21d56d6b3378dc4f31e1
data/Gemfile CHANGED
@@ -1,9 +1,3 @@
1
- source 'https://rubygems.org'
1
+ source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
-
5
- group :development, :test do
6
- gem 'rake', '~> 13.0.1'
7
- gem 'pry-byebug'
8
- gem 'rubocop', '~> 0.66.0'
9
- end
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
- <h2>Overview</h2> <p> The Gong API allows you to: </p> <ol> <li> Receive the following information from Gong: <ol type=\"a\"> <li> Your company's <a href=\"#tag--Calls\">calls</a> in Gong </li> <li> Your company's <a href=\"#tag--Users\">users</a> in Gong </li> <li> Your company's user <a href=\"#tag--Stats\">stats</a> in Gong </li> <li> Your company's user <a href=\"#tag--Settings\">settings</a> in Gong </li> <li> Your company's <a href=\"#tag--Library\">libraries</a> in Gong </li> </ol></li> <li> <a href=\"#post-/v2/calls\">Upload</a> new or <a href=\"#put-/v2/calls/-id-/media\">update</a> 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. </li> <li> <a href=\"#post-/v2/data-privacy/erase-data-for-email-address\">Data Privacy</a>: Delete users and all their associated elements.</li> <li> Upload <a href=\"#tag--CRM\">CRM</a> data into Gong. </li> </ol> <p>Base URL for all API calls is <a href=\"https://us-55616.api.gong.io\"> https://us-55616.api.gong.io </a> </p> <h2>Authentication</h2> <p> There are two ways to retrieve credentials to the Gong Public API: </p> <ol><li>Retrieve Manually:<br> <p> In the <a href=\"https://app.gong.io/company/api\">Gong API Page</a> (you must be a technical administrator in Gong), click \"Create\" to receive an <b>Access Key</b> and an <b>Access Key Secret</b>.<br> </p> <p> Use the Basic Authorization HTTP header (as per <a target=\"_blank\" href=\"https://www.rfc-editor.org/rfc/rfc7617.txt\">RFC</a>) to access the Public API as shown below:<br> <code>Authorization: Basic &lt;token&gt;</code><br> </p> <p> To create the basic token, combine the <b>Access Key</b> and the <b>Access Key Secret</b> with colon (:) and then encode in Base64 as following:<br> <code>Base64(&lt;accessKey&gt; : &lt;accessKeySecret&gt;)</code><br><br> </p></li> <li>Retrieve through OAuth<br> <p> To obtain the Bearer token, follow the steps described in the <a target=\"_blank\" href=\"https://help.gong.io/hc/en-us/articles/360056677792\">Gong OAuth Guide</a>. <br></p> <p> After obtaining the token, use the Bearer Authorization HTTP header (as per <a target=\"_blank\" href=\"https://www.rfc-editor.org/rfc/rfc6750.txt\">RFC</a>) to access the Public API as shown below:<br> <code>Authorization: Bearer &lt;token&gt;</code> </p> </li></ol> <h2>Limits</h2> <p> By default Gong limits your company's access to the service to 3 API calls per second, and 10,000 API calls per day. </p> <p> When the rate of API calls exceeds these limits an HTTP status code <b>429</b> is returned and a <b>Retry-After</b> header indicates how many seconds to wait before making a new request. </p><p> If required, contact help@gong.io to change these limits. </p> <h2>Cursors</h2> <p> 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 <b>records</b> field, which contains the number of records in the current page, the current page number and the total number of records. </p> <p> In cases where the total number of records exceeds the number of records thus far retrieved, the <b>records</b> field will also contain a <b>cursor</b> field which can be used to access the next page of records. To retrieve the next page, repeat the API call with the <b>cursor</b> value as supplied by the previous API call. All other request inputs should remain the same. </p> <h2>Forward Compatibility</h2> <p> 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. </p><p></p>
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
- ### Build a gem
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 either install the gem locally:
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.list_calls_using_get1(from_date_time, to_date_time, opts)
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->list_calls_using_get1: #{e}"
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.list_users_using_get1(opts)
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->list_users_using_get1: #{e}"
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* | [**list_calls_using_get1**](docs/CallsApi.md#list_calls_using_get1) | **GET** /v2/calls | Retrieve call data by date range (/v2/calls)
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* | [**list_users_using_get1**](docs/UsersApi.md#list_users_using_get1) | **GET** /v2/users | List all users (/v2/users)
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://gitlab.com/optonal/gong-api",
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": "OpTonal Inc.",
10
- "gemAuthorEmail": "matija@optonal.com",
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
- [**list_calls_using_get1**](CallsApi.md#list_calls_using_get1) | **GET** /v2/calls | Retrieve call data by date range (/v2/calls)
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
- # **list_calls_using_get1**
249
- > CallsResponse list_calls_using_get1(from_date_time, to_date_time, opts)
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.list_calls_using_get1(from_date_time, to_date_time, opts)
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->list_calls_using_get1: #{e}"
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
- [**list_users_using_get1**](UsersApi.md#list_users_using_get1) | **GET** /v2/users | List all users (/v2/users)
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
- # **list_users_using_get1**
151
- > UsersMetadata list_users_using_get1(opts)
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.list_users_using_get1(opts)
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->list_users_using_get1: #{e}"
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
- #<h2>Overview</h2> <p> The Gong API allows you to: </p> <ol> <li> Receive the following information from Gong: <ol type=\"a\"> <li> Your company's <a href=\"#tag--Calls\">calls</a> in Gong </li> <li> Your company's <a href=\"#tag--Users\">users</a> in Gong </li> <li> Your company's user <a href=\"#tag--Stats\">stats</a> in Gong </li> <li> Your company's user <a href=\"#tag--Settings\">settings</a> in Gong </li> <li> Your company's <a href=\"#tag--Library\">libraries</a> in Gong </li> </ol></li> <li> <a href=\"#post-/v2/calls\">Upload</a> new or <a href=\"#put-/v2/calls/-id-/media\">update</a> 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. </li> <li> <a href=\"#post-/v2/data-privacy/erase-data-for-email-address\">Data Privacy</a>: Delete users and all their associated elements.</li> <li> Upload <a href=\"#tag--CRM\">CRM</a> data into Gong. </li> </ol> <p>Base URL for all API calls is <a href=\"https://us-55616.api.gong.io\"> https://us-55616.api.gong.io </a> </p> <h2>Authentication</h2> <p> There are two ways to retrieve credentials to the Gong Public API: </p> <ol><li>Retrieve Manually:<br> <p> In the <a href=\"https://app.gong.io/company/api\">Gong API Page</a> (you must be a technical administrator in Gong), click \"Create\" to receive an <b>Access Key</b> and an <b>Access Key Secret</b>.<br> </p> <p> Use the Basic Authorization HTTP header (as per <a target=\"_blank\" href=\"https://www.rfc-editor.org/rfc/rfc7617.txt\">RFC</a>) to access the Public API as shown below:<br> <code>Authorization: Basic &lt;token&gt;</code><br> </p> <p> To create the basic token, combine the <b>Access Key</b> and the <b>Access Key Secret</b> with colon (:) and then encode in Base64 as following:<br> <code>Base64(&lt;accessKey&gt; : &lt;accessKeySecret&gt;)</code><br><br> </p></li> <li>Retrieve through OAuth<br> <p> To obtain the Bearer token, follow the steps described in the <a target=\"_blank\" href=\"https://help.gong.io/hc/en-us/articles/360056677792\">Gong OAuth Guide</a>. <br></p> <p> After obtaining the token, use the Bearer Authorization HTTP header (as per <a target=\"_blank\" href=\"https://www.rfc-editor.org/rfc/rfc6750.txt\">RFC</a>) to access the Public API as shown below:<br> <code>Authorization: Bearer &lt;token&gt;</code> </p> </li></ol> <h2>Limits</h2> <p> By default Gong limits your company's access to the service to 3 API calls per second, and 10,000 API calls per day. </p> <p> When the rate of API calls exceeds these limits an HTTP status code <b>429</b> is returned and a <b>Retry-After</b> header indicates how many seconds to wait before making a new request. </p><p> If required, contact help@gong.io to change these limits. </p> <h2>Cursors</h2> <p> 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 <b>records</b> field, which contains the number of records in the current page, the current page number and the total number of records. </p> <p> In cases where the total number of records exceeds the number of records thus far retrieved, the <b>records</b> field will also contain a <b>cursor</b> field which can be used to access the next page of records. To retrieve the next page, repeat the API call with the <b>cursor</b> value as supplied by the previous API call. All other request inputs should remain the same. </p> <h2>Forward Compatibility</h2> <p> 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. </p><p></p>
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 = ["OpTonal Inc."]
22
- s.email = ["matija@optonal.com"]
23
- s.homepage = "https://gitlab.com/optonal/gong-api"
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
- #<h2>Overview</h2> <p> The Gong API allows you to: </p> <ol> <li> Receive the following information from Gong: <ol type=\"a\"> <li> Your company's <a href=\"#tag--Calls\">calls</a> in Gong </li> <li> Your company's <a href=\"#tag--Users\">users</a> in Gong </li> <li> Your company's user <a href=\"#tag--Stats\">stats</a> in Gong </li> <li> Your company's user <a href=\"#tag--Settings\">settings</a> in Gong </li> <li> Your company's <a href=\"#tag--Library\">libraries</a> in Gong </li> </ol></li> <li> <a href=\"#post-/v2/calls\">Upload</a> new or <a href=\"#put-/v2/calls/-id-/media\">update</a> 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. </li> <li> <a href=\"#post-/v2/data-privacy/erase-data-for-email-address\">Data Privacy</a>: Delete users and all their associated elements.</li> <li> Upload <a href=\"#tag--CRM\">CRM</a> data into Gong. </li> </ol> <p>Base URL for all API calls is <a href=\"https://us-55616.api.gong.io\"> https://us-55616.api.gong.io </a> </p> <h2>Authentication</h2> <p> There are two ways to retrieve credentials to the Gong Public API: </p> <ol><li>Retrieve Manually:<br> <p> In the <a href=\"https://app.gong.io/company/api\">Gong API Page</a> (you must be a technical administrator in Gong), click \"Create\" to receive an <b>Access Key</b> and an <b>Access Key Secret</b>.<br> </p> <p> Use the Basic Authorization HTTP header (as per <a target=\"_blank\" href=\"https://www.rfc-editor.org/rfc/rfc7617.txt\">RFC</a>) to access the Public API as shown below:<br> <code>Authorization: Basic &lt;token&gt;</code><br> </p> <p> To create the basic token, combine the <b>Access Key</b> and the <b>Access Key Secret</b> with colon (:) and then encode in Base64 as following:<br> <code>Base64(&lt;accessKey&gt; : &lt;accessKeySecret&gt;)</code><br><br> </p></li> <li>Retrieve through OAuth<br> <p> To obtain the Bearer token, follow the steps described in the <a target=\"_blank\" href=\"https://help.gong.io/hc/en-us/articles/360056677792\">Gong OAuth Guide</a>. <br></p> <p> After obtaining the token, use the Bearer Authorization HTTP header (as per <a target=\"_blank\" href=\"https://www.rfc-editor.org/rfc/rfc6750.txt\">RFC</a>) to access the Public API as shown below:<br> <code>Authorization: Bearer &lt;token&gt;</code> </p> </li></ol> <h2>Limits</h2> <p> By default Gong limits your company's access to the service to 3 API calls per second, and 10,000 API calls per day. </p> <p> When the rate of API calls exceeds these limits an HTTP status code <b>429</b> is returned and a <b>Retry-After</b> header indicates how many seconds to wait before making a new request. </p><p> If required, contact help@gong.io to change these limits. </p> <h2>Cursors</h2> <p> 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 <b>records</b> field, which contains the number of records in the current page, the current page number and the total number of records. </p> <p> In cases where the total number of records exceeds the number of records thus far retrieved, the <b>records</b> field will also contain a <b>cursor</b> field which can be used to access the next page of records. To retrieve the next page, repeat the API call with the <b>cursor</b> value as supplied by the previous API call. All other request inputs should remain the same. </p> <h2>Forward Compatibility</h2> <p> 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. </p><p></p>
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
- #<h2>Overview</h2> <p> The Gong API allows you to: </p> <ol> <li> Receive the following information from Gong: <ol type=\"a\"> <li> Your company's <a href=\"#tag--Calls\">calls</a> in Gong </li> <li> Your company's <a href=\"#tag--Users\">users</a> in Gong </li> <li> Your company's user <a href=\"#tag--Stats\">stats</a> in Gong </li> <li> Your company's user <a href=\"#tag--Settings\">settings</a> in Gong </li> <li> Your company's <a href=\"#tag--Library\">libraries</a> in Gong </li> </ol></li> <li> <a href=\"#post-/v2/calls\">Upload</a> new or <a href=\"#put-/v2/calls/-id-/media\">update</a> 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. </li> <li> <a href=\"#post-/v2/data-privacy/erase-data-for-email-address\">Data Privacy</a>: Delete users and all their associated elements.</li> <li> Upload <a href=\"#tag--CRM\">CRM</a> data into Gong. </li> </ol> <p>Base URL for all API calls is <a href=\"https://us-55616.api.gong.io\"> https://us-55616.api.gong.io </a> </p> <h2>Authentication</h2> <p> There are two ways to retrieve credentials to the Gong Public API: </p> <ol><li>Retrieve Manually:<br> <p> In the <a href=\"https://app.gong.io/company/api\">Gong API Page</a> (you must be a technical administrator in Gong), click \"Create\" to receive an <b>Access Key</b> and an <b>Access Key Secret</b>.<br> </p> <p> Use the Basic Authorization HTTP header (as per <a target=\"_blank\" href=\"https://www.rfc-editor.org/rfc/rfc7617.txt\">RFC</a>) to access the Public API as shown below:<br> <code>Authorization: Basic &lt;token&gt;</code><br> </p> <p> To create the basic token, combine the <b>Access Key</b> and the <b>Access Key Secret</b> with colon (:) and then encode in Base64 as following:<br> <code>Base64(&lt;accessKey&gt; : &lt;accessKeySecret&gt;)</code><br><br> </p></li> <li>Retrieve through OAuth<br> <p> To obtain the Bearer token, follow the steps described in the <a target=\"_blank\" href=\"https://help.gong.io/hc/en-us/articles/360056677792\">Gong OAuth Guide</a>. <br></p> <p> After obtaining the token, use the Bearer Authorization HTTP header (as per <a target=\"_blank\" href=\"https://www.rfc-editor.org/rfc/rfc6750.txt\">RFC</a>) to access the Public API as shown below:<br> <code>Authorization: Bearer &lt;token&gt;</code> </p> </li></ol> <h2>Limits</h2> <p> By default Gong limits your company's access to the service to 3 API calls per second, and 10,000 API calls per day. </p> <p> When the rate of API calls exceeds these limits an HTTP status code <b>429</b> is returned and a <b>Retry-After</b> header indicates how many seconds to wait before making a new request. </p><p> If required, contact help@gong.io to change these limits. </p> <h2>Cursors</h2> <p> 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 <b>records</b> field, which contains the number of records in the current page, the current page number and the total number of records. </p> <p> In cases where the total number of records exceeds the number of records thus far retrieved, the <b>records</b> field will also contain a <b>cursor</b> field which can be used to access the next page of records. To retrieve the next page, repeat the API call with the <b>cursor</b> value as supplied by the previous API call. All other request inputs should remain the same. </p> <h2>Forward Compatibility</h2> <p> 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. </p><p></p>
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 list_calls_using_get1(from_date_time, to_date_time, opts = {})
319
- data, _status_code, _headers = list_calls_using_get1_with_http_info(from_date_time, to_date_time, opts)
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 list_calls_using_get1_with_http_info(from_date_time, to_date_time, opts = {})
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.list_calls_using_get1 ...'
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.list_calls_using_get1"
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.list_calls_using_get1"
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#list_calls_using_get1\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
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
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Gong API
3
3
 
4
- #<h2>Overview</h2> <p> The Gong API allows you to: </p> <ol> <li> Receive the following information from Gong: <ol type=\"a\"> <li> Your company's <a href=\"#tag--Calls\">calls</a> in Gong </li> <li> Your company's <a href=\"#tag--Users\">users</a> in Gong </li> <li> Your company's user <a href=\"#tag--Stats\">stats</a> in Gong </li> <li> Your company's user <a href=\"#tag--Settings\">settings</a> in Gong </li> <li> Your company's <a href=\"#tag--Library\">libraries</a> in Gong </li> </ol></li> <li> <a href=\"#post-/v2/calls\">Upload</a> new or <a href=\"#put-/v2/calls/-id-/media\">update</a> 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. </li> <li> <a href=\"#post-/v2/data-privacy/erase-data-for-email-address\">Data Privacy</a>: Delete users and all their associated elements.</li> <li> Upload <a href=\"#tag--CRM\">CRM</a> data into Gong. </li> </ol> <p>Base URL for all API calls is <a href=\"https://us-55616.api.gong.io\"> https://us-55616.api.gong.io </a> </p> <h2>Authentication</h2> <p> There are two ways to retrieve credentials to the Gong Public API: </p> <ol><li>Retrieve Manually:<br> <p> In the <a href=\"https://app.gong.io/company/api\">Gong API Page</a> (you must be a technical administrator in Gong), click \"Create\" to receive an <b>Access Key</b> and an <b>Access Key Secret</b>.<br> </p> <p> Use the Basic Authorization HTTP header (as per <a target=\"_blank\" href=\"https://www.rfc-editor.org/rfc/rfc7617.txt\">RFC</a>) to access the Public API as shown below:<br> <code>Authorization: Basic &lt;token&gt;</code><br> </p> <p> To create the basic token, combine the <b>Access Key</b> and the <b>Access Key Secret</b> with colon (:) and then encode in Base64 as following:<br> <code>Base64(&lt;accessKey&gt; : &lt;accessKeySecret&gt;)</code><br><br> </p></li> <li>Retrieve through OAuth<br> <p> To obtain the Bearer token, follow the steps described in the <a target=\"_blank\" href=\"https://help.gong.io/hc/en-us/articles/360056677792\">Gong OAuth Guide</a>. <br></p> <p> After obtaining the token, use the Bearer Authorization HTTP header (as per <a target=\"_blank\" href=\"https://www.rfc-editor.org/rfc/rfc6750.txt\">RFC</a>) to access the Public API as shown below:<br> <code>Authorization: Bearer &lt;token&gt;</code> </p> </li></ol> <h2>Limits</h2> <p> By default Gong limits your company's access to the service to 3 API calls per second, and 10,000 API calls per day. </p> <p> When the rate of API calls exceeds these limits an HTTP status code <b>429</b> is returned and a <b>Retry-After</b> header indicates how many seconds to wait before making a new request. </p><p> If required, contact help@gong.io to change these limits. </p> <h2>Cursors</h2> <p> 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 <b>records</b> field, which contains the number of records in the current page, the current page number and the total number of records. </p> <p> In cases where the total number of records exceeds the number of records thus far retrieved, the <b>records</b> field will also contain a <b>cursor</b> field which can be used to access the next page of records. To retrieve the next page, repeat the API call with the <b>cursor</b> value as supplied by the previous API call. All other request inputs should remain the same. </p> <h2>Forward Compatibility</h2> <p> 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. </p><p></p>
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
- #<h2>Overview</h2> <p> The Gong API allows you to: </p> <ol> <li> Receive the following information from Gong: <ol type=\"a\"> <li> Your company's <a href=\"#tag--Calls\">calls</a> in Gong </li> <li> Your company's <a href=\"#tag--Users\">users</a> in Gong </li> <li> Your company's user <a href=\"#tag--Stats\">stats</a> in Gong </li> <li> Your company's user <a href=\"#tag--Settings\">settings</a> in Gong </li> <li> Your company's <a href=\"#tag--Library\">libraries</a> in Gong </li> </ol></li> <li> <a href=\"#post-/v2/calls\">Upload</a> new or <a href=\"#put-/v2/calls/-id-/media\">update</a> 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. </li> <li> <a href=\"#post-/v2/data-privacy/erase-data-for-email-address\">Data Privacy</a>: Delete users and all their associated elements.</li> <li> Upload <a href=\"#tag--CRM\">CRM</a> data into Gong. </li> </ol> <p>Base URL for all API calls is <a href=\"https://us-55616.api.gong.io\"> https://us-55616.api.gong.io </a> </p> <h2>Authentication</h2> <p> There are two ways to retrieve credentials to the Gong Public API: </p> <ol><li>Retrieve Manually:<br> <p> In the <a href=\"https://app.gong.io/company/api\">Gong API Page</a> (you must be a technical administrator in Gong), click \"Create\" to receive an <b>Access Key</b> and an <b>Access Key Secret</b>.<br> </p> <p> Use the Basic Authorization HTTP header (as per <a target=\"_blank\" href=\"https://www.rfc-editor.org/rfc/rfc7617.txt\">RFC</a>) to access the Public API as shown below:<br> <code>Authorization: Basic &lt;token&gt;</code><br> </p> <p> To create the basic token, combine the <b>Access Key</b> and the <b>Access Key Secret</b> with colon (:) and then encode in Base64 as following:<br> <code>Base64(&lt;accessKey&gt; : &lt;accessKeySecret&gt;)</code><br><br> </p></li> <li>Retrieve through OAuth<br> <p> To obtain the Bearer token, follow the steps described in the <a target=\"_blank\" href=\"https://help.gong.io/hc/en-us/articles/360056677792\">Gong OAuth Guide</a>. <br></p> <p> After obtaining the token, use the Bearer Authorization HTTP header (as per <a target=\"_blank\" href=\"https://www.rfc-editor.org/rfc/rfc6750.txt\">RFC</a>) to access the Public API as shown below:<br> <code>Authorization: Bearer &lt;token&gt;</code> </p> </li></ol> <h2>Limits</h2> <p> By default Gong limits your company's access to the service to 3 API calls per second, and 10,000 API calls per day. </p> <p> When the rate of API calls exceeds these limits an HTTP status code <b>429</b> is returned and a <b>Retry-After</b> header indicates how many seconds to wait before making a new request. </p><p> If required, contact help@gong.io to change these limits. </p> <h2>Cursors</h2> <p> 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 <b>records</b> field, which contains the number of records in the current page, the current page number and the total number of records. </p> <p> In cases where the total number of records exceeds the number of records thus far retrieved, the <b>records</b> field will also contain a <b>cursor</b> field which can be used to access the next page of records. To retrieve the next page, repeat the API call with the <b>cursor</b> value as supplied by the previous API call. All other request inputs should remain the same. </p> <h2>Forward Compatibility</h2> <p> 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. </p><p></p>
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
- #<h2>Overview</h2> <p> The Gong API allows you to: </p> <ol> <li> Receive the following information from Gong: <ol type=\"a\"> <li> Your company's <a href=\"#tag--Calls\">calls</a> in Gong </li> <li> Your company's <a href=\"#tag--Users\">users</a> in Gong </li> <li> Your company's user <a href=\"#tag--Stats\">stats</a> in Gong </li> <li> Your company's user <a href=\"#tag--Settings\">settings</a> in Gong </li> <li> Your company's <a href=\"#tag--Library\">libraries</a> in Gong </li> </ol></li> <li> <a href=\"#post-/v2/calls\">Upload</a> new or <a href=\"#put-/v2/calls/-id-/media\">update</a> 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. </li> <li> <a href=\"#post-/v2/data-privacy/erase-data-for-email-address\">Data Privacy</a>: Delete users and all their associated elements.</li> <li> Upload <a href=\"#tag--CRM\">CRM</a> data into Gong. </li> </ol> <p>Base URL for all API calls is <a href=\"https://us-55616.api.gong.io\"> https://us-55616.api.gong.io </a> </p> <h2>Authentication</h2> <p> There are two ways to retrieve credentials to the Gong Public API: </p> <ol><li>Retrieve Manually:<br> <p> In the <a href=\"https://app.gong.io/company/api\">Gong API Page</a> (you must be a technical administrator in Gong), click \"Create\" to receive an <b>Access Key</b> and an <b>Access Key Secret</b>.<br> </p> <p> Use the Basic Authorization HTTP header (as per <a target=\"_blank\" href=\"https://www.rfc-editor.org/rfc/rfc7617.txt\">RFC</a>) to access the Public API as shown below:<br> <code>Authorization: Basic &lt;token&gt;</code><br> </p> <p> To create the basic token, combine the <b>Access Key</b> and the <b>Access Key Secret</b> with colon (:) and then encode in Base64 as following:<br> <code>Base64(&lt;accessKey&gt; : &lt;accessKeySecret&gt;)</code><br><br> </p></li> <li>Retrieve through OAuth<br> <p> To obtain the Bearer token, follow the steps described in the <a target=\"_blank\" href=\"https://help.gong.io/hc/en-us/articles/360056677792\">Gong OAuth Guide</a>. <br></p> <p> After obtaining the token, use the Bearer Authorization HTTP header (as per <a target=\"_blank\" href=\"https://www.rfc-editor.org/rfc/rfc6750.txt\">RFC</a>) to access the Public API as shown below:<br> <code>Authorization: Bearer &lt;token&gt;</code> </p> </li></ol> <h2>Limits</h2> <p> By default Gong limits your company's access to the service to 3 API calls per second, and 10,000 API calls per day. </p> <p> When the rate of API calls exceeds these limits an HTTP status code <b>429</b> is returned and a <b>Retry-After</b> header indicates how many seconds to wait before making a new request. </p><p> If required, contact help@gong.io to change these limits. </p> <h2>Cursors</h2> <p> 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 <b>records</b> field, which contains the number of records in the current page, the current page number and the total number of records. </p> <p> In cases where the total number of records exceeds the number of records thus far retrieved, the <b>records</b> field will also contain a <b>cursor</b> field which can be used to access the next page of records. To retrieve the next page, repeat the API call with the <b>cursor</b> value as supplied by the previous API call. All other request inputs should remain the same. </p> <h2>Forward Compatibility</h2> <p> 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. </p><p></p>
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
- #<h2>Overview</h2> <p> The Gong API allows you to: </p> <ol> <li> Receive the following information from Gong: <ol type=\"a\"> <li> Your company's <a href=\"#tag--Calls\">calls</a> in Gong </li> <li> Your company's <a href=\"#tag--Users\">users</a> in Gong </li> <li> Your company's user <a href=\"#tag--Stats\">stats</a> in Gong </li> <li> Your company's user <a href=\"#tag--Settings\">settings</a> in Gong </li> <li> Your company's <a href=\"#tag--Library\">libraries</a> in Gong </li> </ol></li> <li> <a href=\"#post-/v2/calls\">Upload</a> new or <a href=\"#put-/v2/calls/-id-/media\">update</a> 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. </li> <li> <a href=\"#post-/v2/data-privacy/erase-data-for-email-address\">Data Privacy</a>: Delete users and all their associated elements.</li> <li> Upload <a href=\"#tag--CRM\">CRM</a> data into Gong. </li> </ol> <p>Base URL for all API calls is <a href=\"https://us-55616.api.gong.io\"> https://us-55616.api.gong.io </a> </p> <h2>Authentication</h2> <p> There are two ways to retrieve credentials to the Gong Public API: </p> <ol><li>Retrieve Manually:<br> <p> In the <a href=\"https://app.gong.io/company/api\">Gong API Page</a> (you must be a technical administrator in Gong), click \"Create\" to receive an <b>Access Key</b> and an <b>Access Key Secret</b>.<br> </p> <p> Use the Basic Authorization HTTP header (as per <a target=\"_blank\" href=\"https://www.rfc-editor.org/rfc/rfc7617.txt\">RFC</a>) to access the Public API as shown below:<br> <code>Authorization: Basic &lt;token&gt;</code><br> </p> <p> To create the basic token, combine the <b>Access Key</b> and the <b>Access Key Secret</b> with colon (:) and then encode in Base64 as following:<br> <code>Base64(&lt;accessKey&gt; : &lt;accessKeySecret&gt;)</code><br><br> </p></li> <li>Retrieve through OAuth<br> <p> To obtain the Bearer token, follow the steps described in the <a target=\"_blank\" href=\"https://help.gong.io/hc/en-us/articles/360056677792\">Gong OAuth Guide</a>. <br></p> <p> After obtaining the token, use the Bearer Authorization HTTP header (as per <a target=\"_blank\" href=\"https://www.rfc-editor.org/rfc/rfc6750.txt\">RFC</a>) to access the Public API as shown below:<br> <code>Authorization: Bearer &lt;token&gt;</code> </p> </li></ol> <h2>Limits</h2> <p> By default Gong limits your company's access to the service to 3 API calls per second, and 10,000 API calls per day. </p> <p> When the rate of API calls exceeds these limits an HTTP status code <b>429</b> is returned and a <b>Retry-After</b> header indicates how many seconds to wait before making a new request. </p><p> If required, contact help@gong.io to change these limits. </p> <h2>Cursors</h2> <p> 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 <b>records</b> field, which contains the number of records in the current page, the current page number and the total number of records. </p> <p> In cases where the total number of records exceeds the number of records thus far retrieved, the <b>records</b> field will also contain a <b>cursor</b> field which can be used to access the next page of records. To retrieve the next page, repeat the API call with the <b>cursor</b> value as supplied by the previous API call. All other request inputs should remain the same. </p> <h2>Forward Compatibility</h2> <p> 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. </p><p></p>
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
- #<h2>Overview</h2> <p> The Gong API allows you to: </p> <ol> <li> Receive the following information from Gong: <ol type=\"a\"> <li> Your company's <a href=\"#tag--Calls\">calls</a> in Gong </li> <li> Your company's <a href=\"#tag--Users\">users</a> in Gong </li> <li> Your company's user <a href=\"#tag--Stats\">stats</a> in Gong </li> <li> Your company's user <a href=\"#tag--Settings\">settings</a> in Gong </li> <li> Your company's <a href=\"#tag--Library\">libraries</a> in Gong </li> </ol></li> <li> <a href=\"#post-/v2/calls\">Upload</a> new or <a href=\"#put-/v2/calls/-id-/media\">update</a> 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. </li> <li> <a href=\"#post-/v2/data-privacy/erase-data-for-email-address\">Data Privacy</a>: Delete users and all their associated elements.</li> <li> Upload <a href=\"#tag--CRM\">CRM</a> data into Gong. </li> </ol> <p>Base URL for all API calls is <a href=\"https://us-55616.api.gong.io\"> https://us-55616.api.gong.io </a> </p> <h2>Authentication</h2> <p> There are two ways to retrieve credentials to the Gong Public API: </p> <ol><li>Retrieve Manually:<br> <p> In the <a href=\"https://app.gong.io/company/api\">Gong API Page</a> (you must be a technical administrator in Gong), click \"Create\" to receive an <b>Access Key</b> and an <b>Access Key Secret</b>.<br> </p> <p> Use the Basic Authorization HTTP header (as per <a target=\"_blank\" href=\"https://www.rfc-editor.org/rfc/rfc7617.txt\">RFC</a>) to access the Public API as shown below:<br> <code>Authorization: Basic &lt;token&gt;</code><br> </p> <p> To create the basic token, combine the <b>Access Key</b> and the <b>Access Key Secret</b> with colon (:) and then encode in Base64 as following:<br> <code>Base64(&lt;accessKey&gt; : &lt;accessKeySecret&gt;)</code><br><br> </p></li> <li>Retrieve through OAuth<br> <p> To obtain the Bearer token, follow the steps described in the <a target=\"_blank\" href=\"https://help.gong.io/hc/en-us/articles/360056677792\">Gong OAuth Guide</a>. <br></p> <p> After obtaining the token, use the Bearer Authorization HTTP header (as per <a target=\"_blank\" href=\"https://www.rfc-editor.org/rfc/rfc6750.txt\">RFC</a>) to access the Public API as shown below:<br> <code>Authorization: Bearer &lt;token&gt;</code> </p> </li></ol> <h2>Limits</h2> <p> By default Gong limits your company's access to the service to 3 API calls per second, and 10,000 API calls per day. </p> <p> When the rate of API calls exceeds these limits an HTTP status code <b>429</b> is returned and a <b>Retry-After</b> header indicates how many seconds to wait before making a new request. </p><p> If required, contact help@gong.io to change these limits. </p> <h2>Cursors</h2> <p> 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 <b>records</b> field, which contains the number of records in the current page, the current page number and the total number of records. </p> <p> In cases where the total number of records exceeds the number of records thus far retrieved, the <b>records</b> field will also contain a <b>cursor</b> field which can be used to access the next page of records. To retrieve the next page, repeat the API call with the <b>cursor</b> value as supplied by the previous API call. All other request inputs should remain the same. </p> <h2>Forward Compatibility</h2> <p> 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. </p><p></p>
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
- #<h2>Overview</h2> <p> The Gong API allows you to: </p> <ol> <li> Receive the following information from Gong: <ol type=\"a\"> <li> Your company's <a href=\"#tag--Calls\">calls</a> in Gong </li> <li> Your company's <a href=\"#tag--Users\">users</a> in Gong </li> <li> Your company's user <a href=\"#tag--Stats\">stats</a> in Gong </li> <li> Your company's user <a href=\"#tag--Settings\">settings</a> in Gong </li> <li> Your company's <a href=\"#tag--Library\">libraries</a> in Gong </li> </ol></li> <li> <a href=\"#post-/v2/calls\">Upload</a> new or <a href=\"#put-/v2/calls/-id-/media\">update</a> 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. </li> <li> <a href=\"#post-/v2/data-privacy/erase-data-for-email-address\">Data Privacy</a>: Delete users and all their associated elements.</li> <li> Upload <a href=\"#tag--CRM\">CRM</a> data into Gong. </li> </ol> <p>Base URL for all API calls is <a href=\"https://us-55616.api.gong.io\"> https://us-55616.api.gong.io </a> </p> <h2>Authentication</h2> <p> There are two ways to retrieve credentials to the Gong Public API: </p> <ol><li>Retrieve Manually:<br> <p> In the <a href=\"https://app.gong.io/company/api\">Gong API Page</a> (you must be a technical administrator in Gong), click \"Create\" to receive an <b>Access Key</b> and an <b>Access Key Secret</b>.<br> </p> <p> Use the Basic Authorization HTTP header (as per <a target=\"_blank\" href=\"https://www.rfc-editor.org/rfc/rfc7617.txt\">RFC</a>) to access the Public API as shown below:<br> <code>Authorization: Basic &lt;token&gt;</code><br> </p> <p> To create the basic token, combine the <b>Access Key</b> and the <b>Access Key Secret</b> with colon (:) and then encode in Base64 as following:<br> <code>Base64(&lt;accessKey&gt; : &lt;accessKeySecret&gt;)</code><br><br> </p></li> <li>Retrieve through OAuth<br> <p> To obtain the Bearer token, follow the steps described in the <a target=\"_blank\" href=\"https://help.gong.io/hc/en-us/articles/360056677792\">Gong OAuth Guide</a>. <br></p> <p> After obtaining the token, use the Bearer Authorization HTTP header (as per <a target=\"_blank\" href=\"https://www.rfc-editor.org/rfc/rfc6750.txt\">RFC</a>) to access the Public API as shown below:<br> <code>Authorization: Bearer &lt;token&gt;</code> </p> </li></ol> <h2>Limits</h2> <p> By default Gong limits your company's access to the service to 3 API calls per second, and 10,000 API calls per day. </p> <p> When the rate of API calls exceeds these limits an HTTP status code <b>429</b> is returned and a <b>Retry-After</b> header indicates how many seconds to wait before making a new request. </p><p> If required, contact help@gong.io to change these limits. </p> <h2>Cursors</h2> <p> 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 <b>records</b> field, which contains the number of records in the current page, the current page number and the total number of records. </p> <p> In cases where the total number of records exceeds the number of records thus far retrieved, the <b>records</b> field will also contain a <b>cursor</b> field which can be used to access the next page of records. To retrieve the next page, repeat the API call with the <b>cursor</b> value as supplied by the previous API call. All other request inputs should remain the same. </p> <h2>Forward Compatibility</h2> <p> 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. </p><p></p>
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
- #<h2>Overview</h2> <p> The Gong API allows you to: </p> <ol> <li> Receive the following information from Gong: <ol type=\"a\"> <li> Your company's <a href=\"#tag--Calls\">calls</a> in Gong </li> <li> Your company's <a href=\"#tag--Users\">users</a> in Gong </li> <li> Your company's user <a href=\"#tag--Stats\">stats</a> in Gong </li> <li> Your company's user <a href=\"#tag--Settings\">settings</a> in Gong </li> <li> Your company's <a href=\"#tag--Library\">libraries</a> in Gong </li> </ol></li> <li> <a href=\"#post-/v2/calls\">Upload</a> new or <a href=\"#put-/v2/calls/-id-/media\">update</a> 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. </li> <li> <a href=\"#post-/v2/data-privacy/erase-data-for-email-address\">Data Privacy</a>: Delete users and all their associated elements.</li> <li> Upload <a href=\"#tag--CRM\">CRM</a> data into Gong. </li> </ol> <p>Base URL for all API calls is <a href=\"https://us-55616.api.gong.io\"> https://us-55616.api.gong.io </a> </p> <h2>Authentication</h2> <p> There are two ways to retrieve credentials to the Gong Public API: </p> <ol><li>Retrieve Manually:<br> <p> In the <a href=\"https://app.gong.io/company/api\">Gong API Page</a> (you must be a technical administrator in Gong), click \"Create\" to receive an <b>Access Key</b> and an <b>Access Key Secret</b>.<br> </p> <p> Use the Basic Authorization HTTP header (as per <a target=\"_blank\" href=\"https://www.rfc-editor.org/rfc/rfc7617.txt\">RFC</a>) to access the Public API as shown below:<br> <code>Authorization: Basic &lt;token&gt;</code><br> </p> <p> To create the basic token, combine the <b>Access Key</b> and the <b>Access Key Secret</b> with colon (:) and then encode in Base64 as following:<br> <code>Base64(&lt;accessKey&gt; : &lt;accessKeySecret&gt;)</code><br><br> </p></li> <li>Retrieve through OAuth<br> <p> To obtain the Bearer token, follow the steps described in the <a target=\"_blank\" href=\"https://help.gong.io/hc/en-us/articles/360056677792\">Gong OAuth Guide</a>. <br></p> <p> After obtaining the token, use the Bearer Authorization HTTP header (as per <a target=\"_blank\" href=\"https://www.rfc-editor.org/rfc/rfc6750.txt\">RFC</a>) to access the Public API as shown below:<br> <code>Authorization: Bearer &lt;token&gt;</code> </p> </li></ol> <h2>Limits</h2> <p> By default Gong limits your company's access to the service to 3 API calls per second, and 10,000 API calls per day. </p> <p> When the rate of API calls exceeds these limits an HTTP status code <b>429</b> is returned and a <b>Retry-After</b> header indicates how many seconds to wait before making a new request. </p><p> If required, contact help@gong.io to change these limits. </p> <h2>Cursors</h2> <p> 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 <b>records</b> field, which contains the number of records in the current page, the current page number and the total number of records. </p> <p> In cases where the total number of records exceeds the number of records thus far retrieved, the <b>records</b> field will also contain a <b>cursor</b> field which can be used to access the next page of records. To retrieve the next page, repeat the API call with the <b>cursor</b> value as supplied by the previous API call. All other request inputs should remain the same. </p> <h2>Forward Compatibility</h2> <p> 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. </p><p></p>
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
- #<h2>Overview</h2> <p> The Gong API allows you to: </p> <ol> <li> Receive the following information from Gong: <ol type=\"a\"> <li> Your company's <a href=\"#tag--Calls\">calls</a> in Gong </li> <li> Your company's <a href=\"#tag--Users\">users</a> in Gong </li> <li> Your company's user <a href=\"#tag--Stats\">stats</a> in Gong </li> <li> Your company's user <a href=\"#tag--Settings\">settings</a> in Gong </li> <li> Your company's <a href=\"#tag--Library\">libraries</a> in Gong </li> </ol></li> <li> <a href=\"#post-/v2/calls\">Upload</a> new or <a href=\"#put-/v2/calls/-id-/media\">update</a> 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. </li> <li> <a href=\"#post-/v2/data-privacy/erase-data-for-email-address\">Data Privacy</a>: Delete users and all their associated elements.</li> <li> Upload <a href=\"#tag--CRM\">CRM</a> data into Gong. </li> </ol> <p>Base URL for all API calls is <a href=\"https://us-55616.api.gong.io\"> https://us-55616.api.gong.io </a> </p> <h2>Authentication</h2> <p> There are two ways to retrieve credentials to the Gong Public API: </p> <ol><li>Retrieve Manually:<br> <p> In the <a href=\"https://app.gong.io/company/api\">Gong API Page</a> (you must be a technical administrator in Gong), click \"Create\" to receive an <b>Access Key</b> and an <b>Access Key Secret</b>.<br> </p> <p> Use the Basic Authorization HTTP header (as per <a target=\"_blank\" href=\"https://www.rfc-editor.org/rfc/rfc7617.txt\">RFC</a>) to access the Public API as shown below:<br> <code>Authorization: Basic &lt;token&gt;</code><br> </p> <p> To create the basic token, combine the <b>Access Key</b> and the <b>Access Key Secret</b> with colon (:) and then encode in Base64 as following:<br> <code>Base64(&lt;accessKey&gt; : &lt;accessKeySecret&gt;)</code><br><br> </p></li> <li>Retrieve through OAuth<br> <p> To obtain the Bearer token, follow the steps described in the <a target=\"_blank\" href=\"https://help.gong.io/hc/en-us/articles/360056677792\">Gong OAuth Guide</a>. <br></p> <p> After obtaining the token, use the Bearer Authorization HTTP header (as per <a target=\"_blank\" href=\"https://www.rfc-editor.org/rfc/rfc6750.txt\">RFC</a>) to access the Public API as shown below:<br> <code>Authorization: Bearer &lt;token&gt;</code> </p> </li></ol> <h2>Limits</h2> <p> By default Gong limits your company's access to the service to 3 API calls per second, and 10,000 API calls per day. </p> <p> When the rate of API calls exceeds these limits an HTTP status code <b>429</b> is returned and a <b>Retry-After</b> header indicates how many seconds to wait before making a new request. </p><p> If required, contact help@gong.io to change these limits. </p> <h2>Cursors</h2> <p> 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 <b>records</b> field, which contains the number of records in the current page, the current page number and the total number of records. </p> <p> In cases where the total number of records exceeds the number of records thus far retrieved, the <b>records</b> field will also contain a <b>cursor</b> field which can be used to access the next page of records. To retrieve the next page, repeat the API call with the <b>cursor</b> value as supplied by the previous API call. All other request inputs should remain the same. </p> <h2>Forward Compatibility</h2> <p> 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. </p><p></p>
4
+
5
5
 
6
6
  OpenAPI spec version: V2
7
7