purecloud 0.18.0 → 0.25.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -2
  3. data/Gemfile.lock +2 -2
  4. data/README.md +1 -7
  5. data/config-ruby.json +1 -1
  6. data/extensions/auth.rb +2 -2
  7. data/lib/purecloud.rb +110 -75
  8. data/lib/purecloud/api/architect_api.rb +3127 -74
  9. data/lib/purecloud/api/attributes_api.rb +33 -33
  10. data/lib/purecloud/api/authorization_api.rb +83 -83
  11. data/lib/purecloud/api/compliance_api.rb +5 -5
  12. data/lib/purecloud/api/configuration_api.rb +594 -397
  13. data/lib/purecloud/api/content_management_api.rb +183 -183
  14. data/lib/purecloud/api/conversations_api.rb +289 -159
  15. data/lib/purecloud/api/downloads_api.rb +6 -6
  16. data/lib/purecloud/api/external_contacts_api.rb +1693 -0
  17. data/lib/purecloud/api/fax_api.rb +24 -24
  18. data/lib/purecloud/api/geolocation_api.rb +14 -14
  19. data/lib/purecloud/api/greetings_api.rb +68 -68
  20. data/lib/purecloud/api/groups_api.rb +31 -20
  21. data/lib/purecloud/api/languages_api.rb +18 -11
  22. data/lib/purecloud/api/licensing_api.rb +5 -5
  23. data/lib/purecloud/api/locations_api.rb +11 -11
  24. data/lib/purecloud/api/notifications_api.rb +41 -41
  25. data/lib/purecloud/api/o_auth_api.rb +69 -69
  26. data/lib/purecloud/api/outbound_api.rb +505 -325
  27. data/lib/purecloud/api/presence_api.rb +65 -65
  28. data/lib/purecloud/api/quality_api.rb +66 -639
  29. data/lib/purecloud/api/recording_api.rb +1343 -0
  30. data/lib/purecloud/api/response_management_api.rb +687 -0
  31. data/lib/purecloud/api/routing_api.rb +224 -170
  32. data/lib/purecloud/api/scripts_api.rb +52 -52
  33. data/lib/purecloud/api/search_api.rb +5 -5
  34. data/lib/purecloud/api/stations_api.rb +8 -8
  35. data/lib/purecloud/api/telephony_providers_edge_api.rb +138 -138
  36. data/lib/purecloud/api/user_recordings_api.rb +29 -29
  37. data/lib/purecloud/api/users_api.rb +123 -123
  38. data/lib/purecloud/api/utilities_api.rb +71 -15
  39. data/lib/purecloud/api/voicemail_api.rb +42 -42
  40. data/lib/purecloud/api_client.rb +1 -1
  41. data/lib/purecloud/models/address.rb +49 -51
  42. data/lib/purecloud/models/attribute_filter_item.rb +177 -0
  43. data/lib/purecloud/models/automate_queue_member_entity_listing.rb +238 -0
  44. data/lib/purecloud/models/available_additional_service.rb +40 -1
  45. data/lib/purecloud/models/{topic_entity_listing.rb → available_topic_entity_listing.rb} +1 -1
  46. data/lib/purecloud/models/call.rb +36 -5
  47. data/lib/purecloud/models/{line_properties.rb → call_command.rb} +13 -3
  48. data/lib/purecloud/models/callback.rb +15 -4
  49. data/lib/purecloud/models/campaign.rb +219 -17
  50. data/lib/purecloud/models/campaign_progress.rb +186 -0
  51. data/lib/purecloud/models/channel_topic_entity_listing.rb +238 -0
  52. data/lib/purecloud/models/charge.rb +14 -4
  53. data/lib/purecloud/models/{attribute_value.rb → client_text_table_transform.rb} +52 -82
  54. data/lib/purecloud/models/contact.rb +1 -1
  55. data/lib/purecloud/models/contact_list.rb +111 -1
  56. data/lib/purecloud/models/contact_listing.rb +238 -0
  57. data/lib/purecloud/models/content_attribute_filter_item.rb +177 -0
  58. data/lib/purecloud/models/content_facet_filter_item.rb +1 -1
  59. data/lib/purecloud/models/content_query_request.rb +16 -4
  60. data/lib/purecloud/models/control.rb +221 -0
  61. data/lib/purecloud/models/{flow_activate_request.rb → control_options.rb} +18 -12
  62. data/lib/purecloud/models/create_callback_command.rb +200 -0
  63. data/lib/purecloud/models/discount.rb +220 -0
  64. data/lib/purecloud/models/document.rb +13 -1
  65. data/lib/purecloud/models/document_attribute.rb +158 -0
  66. data/lib/purecloud/models/document_update.rb +28 -16
  67. data/lib/purecloud/models/document_upload.rb +4 -16
  68. data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +238 -0
  69. data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +238 -0
  70. data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +1 -1
  71. data/lib/purecloud/models/edge_line.rb +1 -1
  72. data/lib/purecloud/models/edge_logs_job.rb +181 -0
  73. data/lib/purecloud/models/edge_logs_job_file.rb +243 -0
  74. data/lib/purecloud/models/edge_logs_job_request.rb +168 -0
  75. data/lib/purecloud/models/{backend_work_item_data_element.rb → edge_logs_job_response.rb} +16 -24
  76. data/lib/purecloud/models/{flow_lock_request.rb → edge_logs_job_upload_request.rb} +10 -12
  77. data/lib/purecloud/models/email.rb +15 -4
  78. data/lib/purecloud/models/endpoint.rb +1 -1
  79. data/lib/purecloud/models/{flow_associate_workspaces_request.rb → estimated_wait_time_predictions.rb} +10 -11
  80. data/lib/purecloud/models/external_contact.rb +320 -0
  81. data/lib/purecloud/models/external_organization.rb +306 -0
  82. data/lib/purecloud/models/external_organization_listing.rb +238 -0
  83. data/lib/purecloud/models/facet_filter_item.rb +1 -1
  84. data/lib/purecloud/models/flow_body.rb +1 -1
  85. data/lib/purecloud/models/flow_body_format.rb +10 -20
  86. data/lib/purecloud/models/flow_terminate_request.rb +3 -16
  87. data/lib/purecloud/models/form.rb +148 -0
  88. data/lib/purecloud/models/group.rb +11 -1
  89. data/lib/purecloud/models/health_check_info.rb +268 -0
  90. data/lib/purecloud/models/{body_2.rb → inline_response_200.rb} +1 -1
  91. data/lib/purecloud/models/integration_type.rb +209 -0
  92. data/lib/purecloud/models/integration_type_entity_listing.rb +238 -0
  93. data/lib/purecloud/models/key_rotation_schedule.rb +1 -0
  94. data/lib/purecloud/models/language.rb +41 -1
  95. data/lib/purecloud/models/line.rb +1 -1
  96. data/lib/purecloud/models/line_base.rb +1 -1
  97. data/lib/purecloud/models/media_policies.rb +169 -0
  98. data/lib/purecloud/models/media_policy.rb +171 -0
  99. data/lib/purecloud/models/note.rb +200 -0
  100. data/lib/purecloud/models/{user_station_resource.rb → note_listing.rb} +68 -58
  101. data/lib/purecloud/models/o_auth_client.rb +1 -1
  102. data/lib/purecloud/models/page.rb +2 -2
  103. data/lib/purecloud/models/{byte_buffer.rb → payment_method.rb} +48 -61
  104. data/lib/purecloud/models/payment_method_listing.rb +238 -0
  105. data/lib/purecloud/models/payment_token_provider.rb +180 -0
  106. data/lib/purecloud/models/phone.rb +1 -1
  107. data/lib/purecloud/models/phone_base.rb +1 -1
  108. data/lib/purecloud/models/phone_number.rb +198 -0
  109. data/lib/purecloud/models/phones_reboot.rb +14 -4
  110. data/lib/purecloud/models/policy.rb +14 -1
  111. data/lib/purecloud/models/prediction_results.rb +167 -0
  112. data/lib/purecloud/models/query_request.rb +16 -4
  113. data/lib/purecloud/models/queue_member_entity_listing.rb +1 -1
  114. data/lib/purecloud/models/quote.rb +13 -1
  115. data/lib/purecloud/models/recording_settings.rb +146 -0
  116. data/lib/purecloud/models/relationship.rb +201 -0
  117. data/lib/purecloud/models/relationship_listing.rb +238 -0
  118. data/lib/purecloud/models/report_schedule.rb +3 -2
  119. data/lib/purecloud/models/service_type.rb +12 -1
  120. data/lib/purecloud/models/social_expression.rb +25 -4
  121. data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +1 -1
  122. data/lib/purecloud/models/template.rb +1 -1
  123. data/lib/purecloud/models/text_table_transform_entity_listing.rb +1 -1
  124. data/lib/purecloud/models/ticker.rb +158 -0
  125. data/lib/purecloud/models/time_slot.rb +1 -0
  126. data/lib/purecloud/models/trunk_base.rb +1 -1
  127. data/lib/purecloud/models/vendor_connection_request.rb +166 -0
  128. data/lib/purecloud/models/video.rb +15 -4
  129. data/lib/purecloud/models/work_item_definition.rb +8 -10
  130. data/lib/purecloud/version.rb +1 -1
  131. data/ossindex.json +17 -0
  132. data/purecloud.gemspec +4 -3
  133. data/rakefile +3 -15
  134. data/spec/test.rb +6 -3
  135. data/swagger.json +1 -1
  136. data/swagger_template/api_client.mustache +304 -0
  137. data/swagger_template/base_object.mustache +90 -0
  138. data/{PureCloud.gemspec → swagger_template/gemspec.mustache} +12 -11
  139. data/version.json +1 -1
  140. metadata +76 -25
  141. data/lib/purecloud/api/analytics_api.rb +0 -1554
  142. data/lib/purecloud/api/orphaned_recordings_api.rb +0 -205
  143. data/newVersion.md +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aeb63dff00e20ee288baca331f7817a2c45b96e3
4
- data.tar.gz: a5b0f316bf0ed63e0e43363776b6fdbd4f2f9aff
3
+ metadata.gz: 317c92f2f9b85f3e1cc94719d80303457526fb01
4
+ data.tar.gz: 9722f66c8579e0838ee6835062cd01b1753b92a4
5
5
  SHA512:
6
- metadata.gz: 3e226c265487cf7eb7235408449680d06b10c32accecf9b467d9fbbf7098bb79854bee1721767a18232e1e2d761e96bd165ffe89e685f2076c78d5f7a765c236
7
- data.tar.gz: b026ce18da5f21b6a3fb1fd4cc9f12a6d8512445b6a9c8a0da04686731a2a8bb3e553217150aa545decc9c4bd393c304afe9d454c86456abc405d814c3999ae2
6
+ metadata.gz: 0141db4941b1bc0c1d9606005d67ad6f6b5cdd1e9b4faece4170c0a03592e426585f3419e2755d78c98a5e10c3da738377a00ccfc16b86570075f8ef877741f6
7
+ data.tar.gz: da645d5bebecd9365c601af237957fa72c12e3a03154be6cc1651d15d0a122f2d073a65100f2165f6030285b071a229c7f3fa37a9b9b6a6665e4470112fb5d17
data/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
1
  source 'https://rubygems.org'
2
- gem 'json'
2
+ gem 'json', '~> 1.8', '>= 1.8.3'
3
3
  gem 'yard'
4
- gem 'typhoeus'
4
+ gem 'typhoeus', '~> 1.0', '>= 1.0.1'
5
5
  gem 'rest-client'
6
6
  gem 'minitest', '4.0.0'
7
7
  gem 'gems'
@@ -29,10 +29,10 @@ PLATFORMS
29
29
 
30
30
  DEPENDENCIES
31
31
  gems
32
- json
32
+ json (~> 1.8, >= 1.8.3)
33
33
  minitest (= 4.0.0)
34
34
  rest-client
35
- typhoeus
35
+ typhoeus (~> 1.0, >= 1.0.1)
36
36
  yard
37
37
 
38
38
  BUNDLED WITH
data/README.md CHANGED
@@ -26,11 +26,7 @@ me = user_api.users_me_get
26
26
 
27
27
  ### Full Example Using Client Credentials Auth
28
28
  ~~~
29
- require_relative 'lib/purecloud'
30
-
31
- require 'rest_client'
32
- require 'json'
33
- require "base64"
29
+ require 'purecloud'
34
30
 
35
31
  secret = ENV['purecloud_secret']
36
32
  id = ENV['purecloud_client_id']
@@ -60,5 +56,3 @@ client = oauth_api.create_clients opts
60
56
  ~~~
61
57
 
62
58
  For more examples, see the tests in the /tests directory
63
-
64
- ### Contributing
@@ -1 +1 @@
1
- {"gemVersion":"0.18.0","gemName":"purecloud","moduleName":"PureCloud","gemLicense":"MIT","gemSummary":"PureCloud Platform API Library","gemDescription":"A Ruby library to interface with the PureCloud Platform API","gemHomepage":"http://developer.mypurecloud.com","gemAuthor":"Kevin Glinski","gemAuthorEmail":"Kevin.Glinski@inin.com"}
1
+ {"gemVersion":"0.25.0","gemName":"purecloud","moduleName":"PureCloud","gemLicense":"MIT","gemSummary":"PureCloud Platform API Library","gemDescription":"A Ruby library to interface with the PureCloud Platform API","gemHomepage":"https://developer.mypurecloud.com","gemAuthor":"Kevin Glinski","gemAuthorEmail":"Kevin.Glinski@inin.com"}
@@ -28,11 +28,11 @@ module PureCloud
28
28
 
29
29
  tokenFormData = {
30
30
  "grant_type" => "authorization_code",
31
- "code" => authCode,
31
+ "code" => auth_code,
32
32
  "redirect_uri" => redirect_uri
33
33
  }
34
34
 
35
- tokenResponse =JSON.parse RestClient.post "https://#{@@client_id}:#{@@client_secret}@login.#{environment}/token", tokenFormData
35
+ tokenResponse =JSON.parse RestClient.post "https://#{client_id}:#{client_secret}@login.#{environment}/token", tokenFormData
36
36
 
37
37
  return tokenResponse['access_token'];
38
38
  end
@@ -9,10 +9,11 @@ require 'purecloud/models/entity'
9
9
  require 'purecloud/models/user_authorization'
10
10
  require 'purecloud/models/organization_address'
11
11
  require 'purecloud/models/product'
12
+ require 'purecloud/models/edge_logs_job_response'
12
13
  require 'purecloud/models/create_share_request'
13
14
  require 'purecloud/models/xlsx_schema'
14
- require 'purecloud/models/pin_configuration'
15
15
  require 'purecloud/models/work_item'
16
+ require 'purecloud/models/pin_configuration'
16
17
  require 'purecloud/models/batch_reply_item'
17
18
  require 'purecloud/models/session_request'
18
19
  require 'purecloud/models/account_overview'
@@ -26,17 +27,19 @@ require 'purecloud/models/domain_resource_condition_value'
26
27
  require 'purecloud/models/line'
27
28
  require 'purecloud/models/permission_collection_entity_listing'
28
29
  require 'purecloud/models/time_zone'
30
+ require 'purecloud/models/edge_logs_job_request'
29
31
  require 'purecloud/models/put_management_unit'
32
+ require 'purecloud/models/note'
30
33
  require 'purecloud/models/edge_entity_listing'
31
34
  require 'purecloud/models/queue_member'
32
35
  require 'purecloud/models/voice_rate_update'
36
+ require 'purecloud/models/policy_actions'
33
37
  require 'purecloud/models/time_zone_entity_listing'
34
38
  require 'purecloud/models/account_manager'
35
- require 'purecloud/models/policy_actions'
36
39
  require 'purecloud/models/system_prompt_asset_entity_listing'
37
40
  require 'purecloud/models/evaluator_activity'
38
- require 'purecloud/models/embedded_signature_view'
39
41
  require 'purecloud/models/fax_send_request'
42
+ require 'purecloud/models/embedded_signature_view'
40
43
  require 'purecloud/models/domain_entity'
41
44
  require 'purecloud/models/greeting'
42
45
  require 'purecloud/models/wrap_up_code_mapping'
@@ -57,10 +60,11 @@ require 'purecloud/models/replace_response'
57
60
  require 'purecloud/models/queue'
58
61
  require 'purecloud/models/quality_audit'
59
62
  require 'purecloud/models/did'
60
- require 'purecloud/models/management_unit'
61
63
  require 'purecloud/models/workspace_member'
64
+ require 'purecloud/models/management_unit'
62
65
  require 'purecloud/models/encryption_key_entity_listing'
63
66
  require 'purecloud/models/domain_org_role_difference'
67
+ require 'purecloud/models/note_listing'
64
68
  require 'purecloud/models/library_entity_listing'
65
69
  require 'purecloud/models/edge_line'
66
70
  require 'purecloud/models/rule_entity_listing'
@@ -68,39 +72,41 @@ require 'purecloud/models/certificate_authority_entity_listing'
68
72
  require 'purecloud/models/domain_network_route'
69
73
  require 'purecloud/models/trunk_metabase_entity_listing'
70
74
  require 'purecloud/models/shared_response'
75
+ require 'purecloud/models/relationship'
71
76
  require 'purecloud/models/report_run_entry'
72
77
  require 'purecloud/models/parameter'
73
78
  require 'purecloud/models/dialer_disposition_call_command'
74
- require 'purecloud/models/conversation_query_response'
75
79
  require 'purecloud/models/sub_data_item'
80
+ require 'purecloud/models/conversation_query_response'
76
81
  require 'purecloud/models/domain_edge_software_update_dto'
77
- require 'purecloud/models/campaign_sequence'
78
82
  require 'purecloud/models/signature_document_info'
79
- require 'purecloud/models/edge_version_report'
83
+ require 'purecloud/models/campaign_sequence'
80
84
  require 'purecloud/models/calibration_assignment'
85
+ require 'purecloud/models/edge_version_report'
81
86
  require 'purecloud/models/wrapup_code_entity_listing'
82
87
  require 'purecloud/models/expansion_criterium'
83
- require 'purecloud/models/email'
84
88
  require 'purecloud/models/quote_charge'
85
89
  require 'purecloud/models/campaign_schedule'
90
+ require 'purecloud/models/email'
86
91
  require 'purecloud/models/system_prompt_asset'
87
92
  require 'purecloud/models/did_pool'
93
+ require 'purecloud/models/diagnostic_email'
94
+ require 'purecloud/models/attachment'
88
95
  require 'purecloud/models/sort_field'
89
96
  require 'purecloud/models/o_auth_provider'
90
- require 'purecloud/models/attachment'
91
- require 'purecloud/models/diagnostic_email'
92
97
  require 'purecloud/models/template_entity_listing'
93
98
  require 'purecloud/models/report_meta_data'
94
99
  require 'purecloud/models/trunk_base_assignment'
100
+ require 'purecloud/models/external_organization_listing'
95
101
  require 'purecloud/models/rule_set_entity_listing'
96
102
  require 'purecloud/models/domain_schema_reference'
97
103
  require 'purecloud/models/flow_config_id'
98
104
  require 'purecloud/models/user_skill_entity_listing'
99
105
  require 'purecloud/models/workspace_member_entity_listing'
100
106
  require 'purecloud/models/domain_voice_rate_response_item_entity_listing'
101
- require 'purecloud/models/organization_create'
102
107
  require 'purecloud/models/error_body'
103
108
  require 'purecloud/models/fax_send_response'
109
+ require 'purecloud/models/organization_create'
104
110
  require 'purecloud/models/chat_message'
105
111
  require 'purecloud/models/work_item_cache'
106
112
  require 'purecloud/models/customer_account'
@@ -120,27 +126,29 @@ require 'purecloud/models/queues_entity_listing'
120
126
  require 'purecloud/models/workspace_entity_listing'
121
127
  require 'purecloud/models/voicemail_organization_policy'
122
128
  require 'purecloud/models/ivr'
129
+ require 'purecloud/models/form'
130
+ require 'purecloud/models/cover_sheet'
123
131
  require 'purecloud/models/evaluation_scoring_set'
124
132
  require 'purecloud/models/campaign_sequence_entity_listing'
125
- require 'purecloud/models/cover_sheet'
126
133
  require 'purecloud/models/gistener'
127
134
  require 'purecloud/models/attribute_entity_listing'
128
- require 'purecloud/models/conversation_historical_query_request_body'
129
135
  require 'purecloud/models/number'
130
136
  require 'purecloud/models/language'
137
+ require 'purecloud/models/conversation_historical_query_request_body'
131
138
  require 'purecloud/models/vpn'
132
139
  require 'purecloud/models/flow_body'
133
140
  require 'purecloud/models/backend_flow_available_actions'
134
141
  require 'purecloud/models/email_setup'
135
- require 'purecloud/models/delta_response'
136
142
  require 'purecloud/models/salesforce'
143
+ require 'purecloud/models/delta_response'
137
144
  require 'purecloud/models/condition'
138
145
  require 'purecloud/models/o_auth_provider_entity_listing'
139
146
  require 'purecloud/models/prompt_asset'
140
147
  require 'purecloud/models/facet_result_item'
141
148
  require 'purecloud/models/email_attachment'
142
149
  require 'purecloud/models/flow_history_result_item_entity_listing'
143
- require 'purecloud/models/byte_buffer'
150
+ require 'purecloud/models/recording_settings'
151
+ require 'purecloud/models/automate_queue_member_entity_listing'
144
152
  require 'purecloud/models/domain_physical_capabilities'
145
153
  require 'purecloud/models/content_query_request'
146
154
  require 'purecloud/models/chat_search_request'
@@ -148,23 +156,25 @@ require 'purecloud/models/filter_item'
148
156
  require 'purecloud/models/report_schedule_entity_listing'
149
157
  require 'purecloud/models/domain_invoice_entity_listing'
150
158
  require 'purecloud/models/quote_listing'
159
+ require 'purecloud/models/org_media_utilization'
151
160
  require 'purecloud/models/schedule'
152
161
  require 'purecloud/models/voice_rates_csv'
153
- require 'purecloud/models/org_media_utilization'
154
162
  require 'purecloud/models/question_group_score'
155
163
  require 'purecloud/models/voice_xml_operation_entity_listing'
156
164
  require 'purecloud/models/third_party_account'
157
165
  require 'purecloud/models/associated_document'
158
- require 'purecloud/models/flow_activate_request'
166
+ require 'purecloud/models/integration_type_entity_listing'
159
167
  require 'purecloud/models/address'
160
168
  require 'purecloud/models/facet_filter_item'
161
- require 'purecloud/models/participant_attributes'
162
169
  require 'purecloud/models/user_queue_entity_listing'
170
+ require 'purecloud/models/participant_attributes'
163
171
  require 'purecloud/models/audit_search_result'
164
172
  require 'purecloud/models/dns'
165
173
  require 'purecloud/models/license'
166
174
  require 'purecloud/models/user_queue'
167
175
  require 'purecloud/models/audit_change'
176
+ require 'purecloud/models/client_text_table_transform'
177
+ require 'purecloud/models/domain_voice_rate_extended_response_item_entity_listing'
168
178
  require 'purecloud/models/hardware_rate_listing'
169
179
  require 'purecloud/models/dialer_preview'
170
180
  require 'purecloud/models/uri_reference'
@@ -178,9 +188,9 @@ require 'purecloud/models/rate'
178
188
  require 'purecloud/models/publication'
179
189
  require 'purecloud/models/text_table_transform'
180
190
  require 'purecloud/models/edge_group_entity_listing'
181
- require 'purecloud/models/email_address'
182
- require 'purecloud/models/trunk_base'
183
191
  require 'purecloud/models/campaign_diagnostics'
192
+ require 'purecloud/models/trunk_base'
193
+ require 'purecloud/models/email_address'
184
194
  require 'purecloud/models/resource_condition_node'
185
195
  require 'purecloud/models/extension_entity_listing'
186
196
  require 'purecloud/models/lock_info'
@@ -188,18 +198,20 @@ require 'purecloud/models/out_of_office'
188
198
  require 'purecloud/models/available_topic'
189
199
  require 'purecloud/models/prompt_asset_entity_listing'
190
200
  require 'purecloud/models/unread_metric'
201
+ require 'purecloud/models/attribute_filter_item'
191
202
  require 'purecloud/models/organization'
203
+ require 'purecloud/models/discount'
192
204
  require 'purecloud/models/facets'
193
205
  require 'purecloud/models/spreadsheet_transform_entity_listing'
194
206
  require 'purecloud/models/sort_by'
195
207
  require 'purecloud/models/conversation'
196
208
  require 'purecloud/models/document_entity_listing'
197
209
  require 'purecloud/models/routing_status'
198
- require 'purecloud/models/table_transform'
199
210
  require 'purecloud/models/okta'
200
- require 'purecloud/models/response_entity_list'
211
+ require 'purecloud/models/table_transform'
201
212
  require 'purecloud/models/flow_body_format'
202
- require 'purecloud/models/topic_entity_listing'
213
+ require 'purecloud/models/response_entity_list'
214
+ require 'purecloud/models/control_options'
203
215
  require 'purecloud/models/location_emergency_number'
204
216
  require 'purecloud/models/document_update'
205
217
  require 'purecloud/models/voicemail_media_info'
@@ -208,6 +220,7 @@ require 'purecloud/models/schedule_entity_listing'
208
220
  require 'purecloud/models/content_sort_item'
209
221
  require 'purecloud/models/number_plan'
210
222
  require 'purecloud/models/organization_presence'
223
+ require 'purecloud/models/media_policies'
211
224
  require 'purecloud/models/batch_item_body'
212
225
  require 'purecloud/models/evaluator_activity_entity_listing'
213
226
  require 'purecloud/models/voicemail_user_policy'
@@ -218,13 +231,16 @@ require 'purecloud/models/annotation'
218
231
  require 'purecloud/models/flow'
219
232
  require 'purecloud/models/domain_resource_condition_node'
220
233
  require 'purecloud/models/content_facet_filter_item'
234
+ require 'purecloud/models/edge_logs_job_file'
221
235
  require 'purecloud/models/work_item_search_details_search_result'
222
236
  require 'purecloud/models/user_action_category'
223
237
  require 'purecloud/models/work_item_details'
224
238
  require 'purecloud/models/third_party_subscription'
225
239
  require 'purecloud/models/primary_user_presence_source'
240
+ require 'purecloud/models/content_attribute_filter_item'
226
241
  require 'purecloud/models/did_pool_entity_listing'
227
242
  require 'purecloud/models/policy_errors'
243
+ require 'purecloud/models/call_command'
228
244
  require 'purecloud/models/voice_rate_extended'
229
245
  require 'purecloud/models/line_base_entity_listing'
230
246
  require 'purecloud/models/user_conversation_summary'
@@ -236,15 +252,15 @@ require 'purecloud/models/template'
236
252
  require 'purecloud/models/work_item_search_details'
237
253
  require 'purecloud/models/reservation'
238
254
  require 'purecloud/models/published_result'
239
- require 'purecloud/models/group_entity_listing'
240
255
  require 'purecloud/models/users_entity_listing'
256
+ require 'purecloud/models/group_entity_listing'
241
257
  require 'purecloud/models/report_schedule'
242
- require 'purecloud/models/greeting_owner'
243
258
  require 'purecloud/models/facet'
244
- require 'purecloud/models/user_recording'
259
+ require 'purecloud/models/greeting_owner'
245
260
  require 'purecloud/models/automate_queue'
246
- require 'purecloud/models/tag_query_request'
261
+ require 'purecloud/models/user_recording'
247
262
  require 'purecloud/models/evaluation_entity_listing'
263
+ require 'purecloud/models/tag_query_request'
248
264
  require 'purecloud/models/text_table_transform_entity_listing'
249
265
  require 'purecloud/models/contact_sales'
250
266
  require 'purecloud/models/flow_version_config_meta_data'
@@ -256,8 +272,8 @@ require 'purecloud/models/language_entity_listing'
256
272
  require 'purecloud/models/physical_interface_entity_listing'
257
273
  require 'purecloud/models/o_auth_client_entity_listing'
258
274
  require 'purecloud/models/value'
259
- require 'purecloud/models/library'
260
275
  require 'purecloud/models/callable_contacts_diagnostic'
276
+ require 'purecloud/models/library'
261
277
  require 'purecloud/models/spreadsheet_transform'
262
278
  require 'purecloud/models/detail'
263
279
  require 'purecloud/models/user_recording_entity_listing'
@@ -270,16 +286,17 @@ require 'purecloud/models/user_action_metadata_request'
270
286
  require 'purecloud/models/media_result'
271
287
  require 'purecloud/models/domain_physical_interface'
272
288
  require 'purecloud/models/response_set'
273
- require 'purecloud/models/greeting_audio_file'
274
289
  require 'purecloud/models/flow_history_item'
275
- require 'purecloud/models/user_presence_entity_listing'
290
+ require 'purecloud/models/greeting_audio_file'
276
291
  require 'purecloud/models/facet_group'
292
+ require 'purecloud/models/user_presence_entity_listing'
277
293
  require 'purecloud/models/phone'
278
294
  require 'purecloud/models/gateway'
279
295
  require 'purecloud/models/domain_network_command_response'
280
296
  require 'purecloud/models/user_license_assignment'
281
297
  require 'purecloud/models/inbound_route_entity_listing'
282
298
  require 'purecloud/models/flow_input_data'
299
+ require 'purecloud/models/vendor_connection_request'
283
300
  require 'purecloud/models/delete_retention'
284
301
  require 'purecloud/models/query_request'
285
302
  require 'purecloud/models/fax_summary'
@@ -290,11 +307,11 @@ require 'purecloud/models/calibration'
290
307
  require 'purecloud/models/flow_publish'
291
308
  require 'purecloud/models/calibration_entity_listing'
292
309
  require 'purecloud/models/trace'
293
- require 'purecloud/models/command_status_entity_listing'
294
310
  require 'purecloud/models/progress_model'
311
+ require 'purecloud/models/command_status_entity_listing'
295
312
  require 'purecloud/models/automate_queue_member'
296
- require 'purecloud/models/callback'
297
313
  require 'purecloud/models/contract_job'
314
+ require 'purecloud/models/callback'
298
315
  require 'purecloud/models/flow_terminate_request'
299
316
  require 'purecloud/models/metric_threshold'
300
317
  require 'purecloud/models/trace_list'
@@ -304,8 +321,8 @@ require 'purecloud/models/voice_xml_operation'
304
321
  require 'purecloud/models/edge'
305
322
  require 'purecloud/models/validate_address_response'
306
323
  require 'purecloud/models/workspace'
307
- require 'purecloud/models/validate_address_request'
308
324
  require 'purecloud/models/session_entity_listing'
325
+ require 'purecloud/models/validate_address_request'
309
326
  require 'purecloud/models/app'
310
327
  require 'purecloud/models/noc_support'
311
328
  require 'purecloud/models/schema_category_entity_listing'
@@ -317,32 +334,32 @@ require 'purecloud/models/user_status'
317
334
  require 'purecloud/models/indexed_transform'
318
335
  require 'purecloud/models/endpoint'
319
336
  require 'purecloud/models/extension_pool'
320
- require 'purecloud/models/delta_document'
321
337
  require 'purecloud/models/alert_entity_listing'
338
+ require 'purecloud/models/delta_document'
322
339
  require 'purecloud/models/email_message_listing'
323
340
  require 'purecloud/models/term_attribute'
324
341
  require 'purecloud/models/inbound_domain'
325
342
  require 'purecloud/models/fax_document_entity_listing'
326
343
  require 'purecloud/models/hipaa_config'
327
- require 'purecloud/models/response_set_entity_listing'
328
344
  require 'purecloud/models/contact_callback_request'
345
+ require 'purecloud/models/response_set_entity_listing'
329
346
  require 'purecloud/models/phone_status'
330
347
  require 'purecloud/models/did_entity_listing'
331
348
  require 'purecloud/models/tier'
332
349
  require 'purecloud/models/service_context'
333
350
  require 'purecloud/models/user_skill'
334
351
  require 'purecloud/models/dependency'
335
- require 'purecloud/models/flow_associate_workspaces_request'
336
352
  require 'purecloud/models/archive_retention'
337
- require 'purecloud/models/domain_network_address'
338
353
  require 'purecloud/models/queue_utilization_diagnostic'
354
+ require 'purecloud/models/campaign_progress'
355
+ require 'purecloud/models/domain_network_address'
339
356
  require 'purecloud/models/domain_permission_collection'
340
- require 'purecloud/models/default_greeting_list'
341
357
  require 'purecloud/models/participant'
358
+ require 'purecloud/models/default_greeting_list'
342
359
  require 'purecloud/models/phone_meta_base_entity_listing'
343
360
  require 'purecloud/models/parsed_certificate'
344
- require 'purecloud/models/max_participants'
345
361
  require 'purecloud/models/contact_list_entity_listing'
362
+ require 'purecloud/models/max_participants'
346
363
  require 'purecloud/models/facet_result'
347
364
  require 'purecloud/models/hardware_rate'
348
365
  require 'purecloud/models/sequence_schedule'
@@ -357,10 +374,11 @@ require 'purecloud/models/callable_time_set'
357
374
  require 'purecloud/models/response_query_request'
358
375
  require 'purecloud/models/duration_condition'
359
376
  require 'purecloud/models/csv_schema'
377
+ require 'purecloud/models/contact_listing'
360
378
  require 'purecloud/models/conversation_historical_query_request_filter'
361
379
  require 'purecloud/models/flow_entity_listing'
362
- require 'purecloud/models/agent_evaluator_activity'
363
380
  require 'purecloud/models/channel_topic'
381
+ require 'purecloud/models/agent_evaluator_activity'
364
382
  require 'purecloud/models/consuming_resources_entity_listing'
365
383
  require 'purecloud/models/work_item_command'
366
384
  require 'purecloud/models/report_run_entry_entity_domain_listing'
@@ -370,31 +388,35 @@ require 'purecloud/models/contact_sales_response'
370
388
  require 'purecloud/models/geolocation_settings'
371
389
  require 'purecloud/models/call'
372
390
  require 'purecloud/models/penetration_rate'
391
+ require 'purecloud/models/ticker'
373
392
  require 'purecloud/models/greeting_media_info'
374
393
  require 'purecloud/models/audit_entity_reference'
375
394
  require 'purecloud/models/wrapup'
376
395
  require 'purecloud/models/reaction'
377
396
  require 'purecloud/models/chat_search_listing'
378
- require 'purecloud/models/channel_entity_listing'
379
397
  require 'purecloud/models/script_entity_listing'
398
+ require 'purecloud/models/channel_entity_listing'
380
399
  require 'purecloud/models/phones_reboot'
381
400
  require 'purecloud/models/management_unit_timezone'
382
401
  require 'purecloud/models/utilization'
383
402
  require 'purecloud/models/work_item_submit_request'
384
403
  require 'purecloud/models/schedule_group_entity_listing'
385
404
  require 'purecloud/models/ring'
405
+ require 'purecloud/models/phone_number'
406
+ require 'purecloud/models/payment_method_listing'
407
+ require 'purecloud/models/payment_token_provider'
386
408
  require 'purecloud/models/policy_entity_listing'
387
409
  require 'purecloud/models/wrapup_code'
388
410
  require 'purecloud/models/organization_role_entity_listing'
389
411
  require 'purecloud/models/domain_logical_interface'
390
412
  require 'purecloud/models/flow_state'
391
- require 'purecloud/models/attribute_value'
392
413
  require 'purecloud/models/geolocation'
393
414
  require 'purecloud/models/service_entity_listing'
394
415
  require 'purecloud/models/security_profile'
395
416
  require 'purecloud/models/group_images'
396
- require 'purecloud/models/page'
417
+ require 'purecloud/models/channel_topic_entity_listing'
397
418
  require 'purecloud/models/download_response'
419
+ require 'purecloud/models/page'
398
420
  require 'purecloud/models/time_slot'
399
421
  require 'purecloud/models/extension_pool_entity_listing'
400
422
  require 'purecloud/models/line_status'
@@ -405,8 +427,8 @@ require 'purecloud/models/carrier'
405
427
  require 'purecloud/models/tag_model'
406
428
  require 'purecloud/models/flow_config_meta_data_entity_listing'
407
429
  require 'purecloud/models/occurrence'
408
- require 'purecloud/models/call_record'
409
430
  require 'purecloud/models/query_facet_info'
431
+ require 'purecloud/models/call_record'
410
432
  require 'purecloud/models/line_entity_listing'
411
433
  require 'purecloud/models/fax_document'
412
434
  require 'purecloud/models/flow_version'
@@ -416,38 +438,44 @@ require 'purecloud/models/consult_transfer_response'
416
438
  require 'purecloud/models/document_audit_entity_listing'
417
439
  require 'purecloud/models/policy_error_message'
418
440
  require 'purecloud/models/location_entity_listing'
419
- require 'purecloud/models/group_tag'
420
441
  require 'purecloud/models/campaign'
442
+ require 'purecloud/models/group_tag'
421
443
  require 'purecloud/models/campaign_entity_listing'
422
444
  require 'purecloud/models/response_text'
423
445
  require 'purecloud/models/voicemail_message'
424
446
  require 'purecloud/models/phone_capabilities'
425
447
  require 'purecloud/models/available_additional_service_listing'
426
448
  require 'purecloud/models/certificate'
427
- require 'purecloud/models/voice_rate_international'
428
449
  require 'purecloud/models/action'
450
+ require 'purecloud/models/voice_rate_international'
429
451
  require 'purecloud/models/replace_request'
430
452
  require 'purecloud/models/edge_interface'
453
+ require 'purecloud/models/prediction_results'
431
454
  require 'purecloud/models/workspace_summary'
432
455
  require 'purecloud/models/penetration_rate_id'
433
456
  require 'purecloud/models/encryption_key'
434
457
  require 'purecloud/models/licenses_by_permission'
458
+ require 'purecloud/models/control'
435
459
  require 'purecloud/models/work_item_actions'
436
460
  require 'purecloud/models/domain_license_entity_listing'
461
+ require 'purecloud/models/edge_logs_job_upload_request'
437
462
  require 'purecloud/models/chat_search_item'
438
463
  require 'purecloud/models/conversation_response'
439
464
  require 'purecloud/models/evaluation_form_and_scoring_set'
465
+ require 'purecloud/models/relationship_listing'
440
466
  require 'purecloud/models/connect_rate'
467
+ require 'purecloud/models/available_topic_entity_listing'
441
468
  require 'purecloud/models/tag_value_entity_listing'
442
469
  require 'purecloud/models/time_interval'
443
470
  require 'purecloud/models/one_login'
444
471
  require 'purecloud/models/charge'
445
- require 'purecloud/models/dependency_object'
472
+ require 'purecloud/models/domain_voice_rate_international_response_item_entity_listing'
446
473
  require 'purecloud/models/social_account'
474
+ require 'purecloud/models/dependency_object'
447
475
  require 'purecloud/models/view'
448
476
  require 'purecloud/models/domain_third_party_subscription_entity_listing'
449
- require 'purecloud/models/extension'
450
477
  require 'purecloud/models/quote'
478
+ require 'purecloud/models/extension'
451
479
  require 'purecloud/models/time_allowed'
452
480
  require 'purecloud/models/skill'
453
481
  require 'purecloud/models/filter'
@@ -455,16 +483,16 @@ require 'purecloud/models/user_action_category_entity_listing'
455
483
  require 'purecloud/models/flow_history_result_item'
456
484
  require 'purecloud/models/phone_number_column'
457
485
  require 'purecloud/models/alert'
458
- require 'purecloud/models/question_group'
459
486
  require 'purecloud/models/basic_transform'
487
+ require 'purecloud/models/question_group'
460
488
  require 'purecloud/models/dnc_list_entity_listing'
461
489
  require 'purecloud/models/location'
462
490
  require 'purecloud/models/account'
463
- require 'purecloud/models/invoice'
464
491
  require 'purecloud/models/work_item_definition'
492
+ require 'purecloud/models/invoice'
465
493
  require 'purecloud/models/domain_permission_policy'
466
- require 'purecloud/models/support'
467
494
  require 'purecloud/models/key_rotation_schedule'
495
+ require 'purecloud/models/support'
468
496
  require 'purecloud/models/workspace_create'
469
497
  require 'purecloud/models/quality_audit_page'
470
498
  require 'purecloud/models/response_query_results'
@@ -472,21 +500,23 @@ require 'purecloud/models/schema_reference_entity_listing'
472
500
  require 'purecloud/models/socialize_entity_filter'
473
501
  require 'purecloud/models/sort_item'
474
502
  require 'purecloud/models/organization_presence_entity_listing'
475
- require 'purecloud/models/share_entity_listing'
476
503
  require 'purecloud/models/dependency_status'
504
+ require 'purecloud/models/share_entity_listing'
477
505
  require 'purecloud/models/queue_member_entity_listing'
478
506
  require 'purecloud/models/service_type'
479
- require 'purecloud/models/edge_auto_update_config'
480
507
  require 'purecloud/models/common_audit_request'
481
- require 'purecloud/models/domain_certificate_authority'
508
+ require 'purecloud/models/edge_auto_update_config'
482
509
  require 'purecloud/models/document_audit'
510
+ require 'purecloud/models/domain_certificate_authority'
483
511
  require 'purecloud/models/ivr_entity_listing'
484
512
  require 'purecloud/models/dialer_audit_request'
485
513
  require 'purecloud/models/system_prompt'
486
- require 'purecloud/models/endpoint_entity_listing'
514
+ require 'purecloud/models/integration_type'
487
515
  require 'purecloud/models/flow_config_meta_data'
516
+ require 'purecloud/models/endpoint_entity_listing'
488
517
  require 'purecloud/models/publish_script_request_data'
489
518
  require 'purecloud/models/bullseye'
519
+ require 'purecloud/models/create_callback_command'
490
520
  require 'purecloud/models/phone_base'
491
521
  require 'purecloud/models/transform_lens'
492
522
  require 'purecloud/models/phone_number_status'
@@ -495,20 +525,21 @@ require 'purecloud/models/station'
495
525
  require 'purecloud/models/attribute_query_request'
496
526
  require 'purecloud/models/orphan_recording_listing'
497
527
  require 'purecloud/models/dependency_object_entity_listing'
498
- require 'purecloud/models/command_status'
499
528
  require 'purecloud/models/outbound_route_entity_listing'
529
+ require 'purecloud/models/command_status'
500
530
  require 'purecloud/models/rule'
501
- require 'purecloud/models/call_forwarding'
502
531
  require 'purecloud/models/contract'
532
+ require 'purecloud/models/call_forwarding'
503
533
  require 'purecloud/models/site'
504
534
  require 'purecloud/models/site_entity_listing'
505
535
  require 'purecloud/models/domain_billing_period_entity_listing'
506
536
  require 'purecloud/models/dnc_list'
537
+ require 'purecloud/models/estimated_wait_time_predictions'
507
538
  require 'purecloud/models/create_template_from_script_request_data'
508
539
  require 'purecloud/models/chat_participant'
509
540
  require 'purecloud/models/data_value_info'
510
- require 'purecloud/models/participant_request'
511
541
  require 'purecloud/models/query_result'
542
+ require 'purecloud/models/participant_request'
512
543
  require 'purecloud/models/logical_interface_entity_listing'
513
544
  require 'purecloud/models/report_meta_data_entity_listing'
514
545
  require 'purecloud/models/flow_launch_request'
@@ -516,25 +547,25 @@ require 'purecloud/models/location_address_fields'
516
547
  require 'purecloud/models/chat'
517
548
  require 'purecloud/models/evaluation_query_request'
518
549
  require 'purecloud/models/batch_command'
519
- require 'purecloud/models/skill_entity_listing'
520
550
  require 'purecloud/models/number_order_request'
551
+ require 'purecloud/models/skill_entity_listing'
521
552
  require 'purecloud/models/flow_exec_id'
522
553
  require 'purecloud/models/create_share_request_member'
554
+ require 'purecloud/models/external_contact'
523
555
  require 'purecloud/models/resource_condition_value'
524
- require 'purecloud/models/flow_details_search_result'
525
556
  require 'purecloud/models/transform_endpoint'
557
+ require 'purecloud/models/flow_details_search_result'
526
558
  require 'purecloud/models/retention_duration'
527
559
  require 'purecloud/models/transform_progress'
528
- require 'purecloud/models/column_collapse'
529
560
  require 'purecloud/models/query_results'
530
- require 'purecloud/models/metabase'
561
+ require 'purecloud/models/column_collapse'
531
562
  require 'purecloud/models/phone_column'
563
+ require 'purecloud/models/metabase'
532
564
  require 'purecloud/models/linked_entity_listing_flow_details'
533
565
  require 'purecloud/models/edge_version_information'
534
566
  require 'purecloud/models/station_entity_listing'
535
567
  require 'purecloud/models/prompt'
536
568
  require 'purecloud/models/recording'
537
- require 'purecloud/models/flow_lock_request'
538
569
  require 'purecloud/models/tag'
539
570
  require 'purecloud/models/flow_report_result_item'
540
571
  require 'purecloud/models/share'
@@ -545,16 +576,17 @@ require 'purecloud/models/facet_statistics'
545
576
  require 'purecloud/models/security_profile_entity_listing'
546
577
  require 'purecloud/models/data_item'
547
578
  require 'purecloud/models/favorite_template_request_data'
579
+ require 'purecloud/models/external_organization'
548
580
  require 'purecloud/models/voice_rate_international_entity_listing'
549
581
  require 'purecloud/models/account_status'
550
582
  require 'purecloud/models/organization_product_entity_listing'
551
583
  require 'purecloud/models/domain_third_party_account_entity_listing'
552
584
  require 'purecloud/models/delta_request'
553
585
  require 'purecloud/models/inbound_domain_entity_listing'
554
- require 'purecloud/models/voicemail_message_entity_listing'
555
586
  require 'purecloud/models/failed_object'
587
+ require 'purecloud/models/voicemail_message_entity_listing'
556
588
  require 'purecloud/models/inbound_route'
557
- require 'purecloud/models/user_station_resource'
589
+ require 'purecloud/models/document_attribute'
558
590
  require 'purecloud/models/conversation_entity_listing'
559
591
  require 'purecloud/models/order'
560
592
  require 'purecloud/models/voice_rate'
@@ -564,6 +596,7 @@ require 'purecloud/models/url_response'
564
596
  require 'purecloud/models/channel'
565
597
  require 'purecloud/models/question_score'
566
598
  require 'purecloud/models/document_upload'
599
+ require 'purecloud/models/edge_logs_job'
567
600
  require 'purecloud/models/system_prompt_entity_listing'
568
601
  require 'purecloud/models/consumed_resources_entity_listing'
569
602
  require 'purecloud/models/line_base'
@@ -572,17 +605,19 @@ require 'purecloud/models/domain_capabilities'
572
605
  require 'purecloud/models/callable_time'
573
606
  require 'purecloud/models/import_status'
574
607
  require 'purecloud/models/queue_entity_listing'
575
- require 'purecloud/models/facet_item'
608
+ require 'purecloud/models/payment_method'
576
609
  require 'purecloud/models/address_listing'
577
- require 'purecloud/models/upload_progress'
610
+ require 'purecloud/models/facet_item'
578
611
  require 'purecloud/models/linked_entity_listing_work_item_search_details'
612
+ require 'purecloud/models/upload_progress'
579
613
  require 'purecloud/models/carrier_entity_listing'
580
614
  require 'purecloud/models/service_level'
581
615
  require 'purecloud/models/consult_transfer_update'
582
616
  require 'purecloud/models/user'
583
- require 'purecloud/models/phone_base_entity_listing'
584
617
  require 'purecloud/models/facet_entry'
618
+ require 'purecloud/models/phone_base_entity_listing'
585
619
  require 'purecloud/models/facet_request'
620
+ require 'purecloud/models/health_check_info'
586
621
  require 'purecloud/models/campaign_stats'
587
622
  require 'purecloud/models/segment'
588
623
  require 'purecloud/models/work_item_command_group'
@@ -603,15 +638,14 @@ require 'purecloud/models/contact'
603
638
  require 'purecloud/models/response'
604
639
  require 'purecloud/models/callable_time_set_entity_listing'
605
640
  require 'purecloud/models/orphan_recording'
606
- require 'purecloud/models/backend_work_item_data_element'
607
641
  require 'purecloud/models/pure_cloud'
608
642
  require 'purecloud/models/phone_entity_listing'
609
643
  require 'purecloud/models/dialer_call'
644
+ require 'purecloud/models/media_policy'
610
645
  require 'purecloud/models/session'
646
+ require 'purecloud/models/inline_response_200'
611
647
  require 'purecloud/models/body'
612
648
  require 'purecloud/models/body_1'
613
- require 'purecloud/models/body_2'
614
- require 'purecloud/models/line_properties'
615
649
  require 'purecloud/models/campaign_schedule_intervals'
616
650
 
617
651
  # APIs
@@ -625,15 +659,14 @@ require 'purecloud/api/licensing_api'
625
659
  require 'purecloud/api/scripts_api'
626
660
  require 'purecloud/api/notifications_api'
627
661
  require 'purecloud/api/conversations_api'
628
- require 'purecloud/api/analytics_api'
629
662
  require 'purecloud/api/utilities_api'
630
663
  require 'purecloud/api/presence_api'
631
664
  require 'purecloud/api/downloads_api'
632
665
  require 'purecloud/api/groups_api'
633
666
  require 'purecloud/api/content_management_api'
634
667
  require 'purecloud/api/authorization_api'
668
+ require 'purecloud/api/response_management_api'
635
669
  require 'purecloud/api/tokens_api'
636
- require 'purecloud/api/orphaned_recordings_api'
637
670
  require 'purecloud/api/stations_api'
638
671
  require 'purecloud/api/architect_api'
639
672
  require 'purecloud/api/voicemail_api'
@@ -642,11 +675,13 @@ require 'purecloud/api/fax_api'
642
675
  require 'purecloud/api/locations_api'
643
676
  require 'purecloud/api/routing_api'
644
677
  require 'purecloud/api/configuration_api'
678
+ require 'purecloud/api/recording_api'
645
679
  require 'purecloud/api/geolocation_api'
646
680
  require 'purecloud/api/languages_api'
647
681
  require 'purecloud/api/user_recordings_api'
648
682
  require 'purecloud/api/outbound_api'
649
683
  require 'purecloud/api/telephony_providers_edge_api'
684
+ require 'purecloud/api/external_contacts_api'
650
685
 
651
686
  module PureCloud
652
687
  class << self
@@ -695,11 +730,11 @@ module PureCloud
695
730
 
696
731
  tokenFormData = {
697
732
  "grant_type" => "authorization_code",
698
- "code" => authCode,
733
+ "code" => auth_code,
699
734
  "redirect_uri" => redirect_uri
700
735
  }
701
736
 
702
- tokenResponse =JSON.parse RestClient.post "https://#{@@client_id}:#{@@client_secret}@login.#{environment}/token", tokenFormData
737
+ tokenResponse =JSON.parse RestClient.post "https://#{client_id}:#{client_secret}@login.#{environment}/token", tokenFormData
703
738
 
704
739
  return tokenResponse['access_token'];
705
740
  end