purecloud 0.48.1 → 0.49.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (287) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/config-ruby.json +1 -1
  4. data/doc_out/AgentActivityEntityListing.html.md +1 -1
  5. data/doc_out/AttributeEntityListing.html.md +1 -1
  6. data/doc_out/AvailableTopicEntityListing.html.md +1 -1
  7. data/doc_out/CalibrationEntityListing.html.md +1 -1
  8. data/doc_out/Call.html.md +1 -0
  9. data/doc_out/CallConversationEntityListing.html.md +1 -1
  10. data/doc_out/CallMediaParticipant.html.md +1 -0
  11. data/doc_out/CallableTimeSetEntityListing.html.md +1 -1
  12. data/doc_out/CallbackConversationEntityListing.html.md +1 -1
  13. data/doc_out/Campaign.html.md +1 -0
  14. data/doc_out/CampaignEntityListing.html.md +1 -1
  15. data/doc_out/CampaignSequenceEntityListing.html.md +1 -1
  16. data/doc_out/CertificateAuthorityEntityListing.html.md +1 -1
  17. data/doc_out/ChannelEntityListing.html.md +1 -1
  18. data/doc_out/ChannelTopicEntityListing.html.md +1 -1
  19. data/doc_out/ChatConversationEntityListing.html.md +1 -1
  20. data/doc_out/CommandStatusEntityListing.html.md +1 -1
  21. data/doc_out/ContactListEntityListing.html.md +1 -1
  22. data/doc_out/ConversationEntityListing.html.md +1 -1
  23. data/doc_out/CreateQueueRequest.html.md +33 -0
  24. data/doc_out/DID.html.md +1 -1
  25. data/doc_out/DIDEntityListing.html.md +1 -1
  26. data/doc_out/DIDPool.html.md +3 -3
  27. data/doc_out/DIDPoolEntityListing.html.md +1 -1
  28. data/doc_out/DialerContactEntityListing.html.md +1 -1
  29. data/doc_out/DncListEntityListing.html.md +1 -1
  30. data/doc_out/Document.html.md +1 -1
  31. data/doc_out/DocumentAuditEntityListing.html.md +1 -1
  32. data/doc_out/DocumentEntityListing.html.md +1 -1
  33. data/doc_out/DocumentThumbnail.html.md +2 -0
  34. data/doc_out/DomainCertificateAuthority.html.md +1 -1
  35. data/doc_out/DomainEntityListing.html.md +1 -1
  36. data/doc_out/DomainEntityListingEvaluationForm.html.md +1 -1
  37. data/doc_out/DomainEntityListingQueryResult.html.md +1 -1
  38. data/doc_out/DomainLogicalInterface.html.md +1 -1
  39. data/doc_out/DomainPhysicalInterface.html.md +10 -1
  40. data/doc_out/DomainSchemaReference.html.md +10 -1
  41. data/doc_out/DownloadResponse.html.md +1 -0
  42. data/doc_out/Edge.html.md +1 -1
  43. data/doc_out/EdgeEntityListing.html.md +1 -1
  44. data/doc_out/EdgeGroup.html.md +1 -1
  45. data/doc_out/EdgeGroupEntityListing.html.md +1 -1
  46. data/doc_out/EdgeLine.html.md +10 -1
  47. data/doc_out/EdgeLineEntityListing.html.md +1 -1
  48. data/doc_out/EdgeLogsJob.html.md +10 -1
  49. data/doc_out/EdgeLogsJobFile.html.md +10 -1
  50. data/doc_out/EdgeLogsJobResponse.html.md +10 -1
  51. data/doc_out/EdgeLogsJobUploadRequest.html.md +1 -1
  52. data/doc_out/EmailConversationEntityListing.html.md +1 -1
  53. data/doc_out/EmailMessageListing.html.md +1 -1
  54. data/doc_out/EncryptionKeyEntityListing.html.md +1 -1
  55. data/doc_out/EndpointEntityListing.html.md +1 -1
  56. data/doc_out/EvaluationEntityListing.html.md +1 -1
  57. data/doc_out/EvaluationFormEntityListing.html.md +1 -1
  58. data/doc_out/EvaluatorActivityEntityListing.html.md +1 -1
  59. data/doc_out/Extension.html.md +1 -1
  60. data/doc_out/ExtensionEntityListing.html.md +1 -1
  61. data/doc_out/ExtensionPool.html.md +1 -1
  62. data/doc_out/ExtensionPoolEntityListing.html.md +1 -1
  63. data/doc_out/FaxDocument.html.md +1 -1
  64. data/doc_out/FaxDocumentEntityListing.html.md +1 -1
  65. data/doc_out/FaxStatus.html.md +20 -0
  66. data/doc_out/GroupEntityListing.html.md +1 -1
  67. data/doc_out/InboundDomainEntityListing.html.md +1 -1
  68. data/doc_out/InboundRouteEntityListing.html.md +1 -1
  69. data/doc_out/InteractionStatsAlertContainer.html.md +1 -1
  70. data/doc_out/InteractionStatsRuleContainer.html.md +1 -1
  71. data/doc_out/JsonNode.html.md +2 -2
  72. data/doc_out/Keyword.html.md +3 -0
  73. data/doc_out/KeywordSetEntityListing.html.md +1 -1
  74. data/doc_out/LanguageEntityListing.html.md +1 -1
  75. data/doc_out/LibraryEntityListing.html.md +1 -1
  76. data/doc_out/Line.html.md +1 -1
  77. data/doc_out/LineBase.html.md +10 -1
  78. data/doc_out/LineBaseEntityListing.html.md +1 -1
  79. data/doc_out/LineEntityListing.html.md +1 -1
  80. data/doc_out/Location.html.md +1 -0
  81. data/doc_out/LogicalInterfaceEntityListing.html.md +1 -1
  82. data/doc_out/Metabase.html.md +9 -1
  83. data/doc_out/NumberPlan.html.md +2 -2
  84. data/doc_out/OAuthClientEntityListing.html.md +1 -1
  85. data/doc_out/OAuthProviderEntityListing.html.md +1 -1
  86. data/doc_out/OrganizationPresenceEntityListing.html.md +1 -1
  87. data/doc_out/OrganizationRoleEntityListing.html.md +1 -1
  88. data/doc_out/OrphanRecordingListing.html.md +1 -1
  89. data/doc_out/OutboundRoute.html.md +2 -2
  90. data/doc_out/OutboundRouteEntityListing.html.md +1 -1
  91. data/doc_out/PermissionCollectionEntityListing.html.md +1 -1
  92. data/doc_out/Phone.html.md +2 -2
  93. data/doc_out/PhoneBase.html.md +12 -3
  94. data/doc_out/PhoneBaseEntityListing.html.md +1 -1
  95. data/doc_out/PhoneEntityListing.html.md +1 -1
  96. data/doc_out/PhoneMetaBaseEntityListing.html.md +1 -1
  97. data/doc_out/PhysicalInterfaceEntityListing.html.md +1 -1
  98. data/doc_out/PolicyEntityListing.html.md +1 -1
  99. data/doc_out/QualityApi.html.md +58 -0
  100. data/doc_out/QualityAuditPage.html.md +1 -1
  101. data/doc_out/Queue.html.md +7 -7
  102. data/doc_out/QueueEntityListing.html.md +1 -1
  103. data/doc_out/ReportMetaDataEntityListing.html.md +1 -1
  104. data/doc_out/ReportRunEntryEntityDomainListing.html.md +1 -1
  105. data/doc_out/ReportScheduleEntityListing.html.md +1 -1
  106. data/doc_out/ResponseEntityList.html.md +1 -1
  107. data/doc_out/ResponseEntityListing.html.md +1 -1
  108. data/doc_out/ResponseSetEntityListing.html.md +1 -1
  109. data/doc_out/RoutingApi.html.md +2 -2
  110. data/doc_out/RuleSetEntityListing.html.md +1 -1
  111. data/doc_out/SchemaCategory.html.md +10 -1
  112. data/doc_out/SchemaCategoryEntityListing.html.md +1 -1
  113. data/doc_out/SchemaReferenceEntityListing.html.md +1 -1
  114. data/doc_out/SecurityProfileEntityListing.html.md +1 -1
  115. data/doc_out/ShareEntityListing.html.md +1 -1
  116. data/doc_out/Site.html.md +1 -1
  117. data/doc_out/SiteEntityListing.html.md +1 -1
  118. data/doc_out/SkillEntityListing.html.md +1 -1
  119. data/doc_out/StationEntityListing.html.md +1 -1
  120. data/doc_out/TagValueEntityListing.html.md +1 -1
  121. data/doc_out/TelephonyProvidersEdgeApi.html.md +4 -0
  122. data/doc_out/TimeZoneEntityListing.html.md +1 -1
  123. data/doc_out/Trunk.html.md +1 -1
  124. data/doc_out/TrunkBase.html.md +1 -1
  125. data/doc_out/TrunkEntityListing.html.md +1 -1
  126. data/doc_out/TrunkMetabaseEntityListing.html.md +1 -1
  127. data/doc_out/User.html.md +1 -0
  128. data/doc_out/UserEntityListing.html.md +1 -1
  129. data/doc_out/UserMe.html.md +1 -0
  130. data/doc_out/UserQueue.html.md +7 -7
  131. data/doc_out/UserQueueEntityListing.html.md +1 -1
  132. data/doc_out/UserRecordingEntityListing.html.md +1 -1
  133. data/doc_out/UserSkillEntityListing.html.md +1 -1
  134. data/doc_out/UsersEntityListing.html.md +1 -1
  135. data/doc_out/ValidateAddressRequest.html.md +1 -1
  136. data/doc_out/WorkspaceEntityListing.html.md +1 -1
  137. data/doc_out/WorkspaceMemberEntityListing.html.md +1 -1
  138. data/doc_out/WrapupCodeEntityListing.html.md +1 -1
  139. data/doc_out/index.html.md +3 -3
  140. data/lib/purecloud.rb +2 -0
  141. data/lib/purecloud/api/quality_api.rb +57 -0
  142. data/lib/purecloud/api/telephony_providers_edge_api.rb +6 -0
  143. data/lib/purecloud/api_client.rb +1 -1
  144. data/lib/purecloud/models/agent_activity_entity_listing.rb +11 -11
  145. data/lib/purecloud/models/attribute_entity_listing.rb +11 -11
  146. data/lib/purecloud/models/available_topic_entity_listing.rb +11 -11
  147. data/lib/purecloud/models/calibration_entity_listing.rb +11 -11
  148. data/lib/purecloud/models/call.rb +15 -5
  149. data/lib/purecloud/models/call_conversation_entity_listing.rb +11 -11
  150. data/lib/purecloud/models/call_media_participant.rb +13 -2
  151. data/lib/purecloud/models/callable_time_set_entity_listing.rb +11 -11
  152. data/lib/purecloud/models/callback.rb +1 -1
  153. data/lib/purecloud/models/callback_conversation_entity_listing.rb +11 -11
  154. data/lib/purecloud/models/callback_media_participant.rb +1 -1
  155. data/lib/purecloud/models/campaign.rb +12 -1
  156. data/lib/purecloud/models/campaign_entity_listing.rb +11 -11
  157. data/lib/purecloud/models/campaign_sequence_entity_listing.rb +11 -11
  158. data/lib/purecloud/models/certificate_authority_entity_listing.rb +11 -11
  159. data/lib/purecloud/models/channel_entity_listing.rb +11 -11
  160. data/lib/purecloud/models/channel_topic_entity_listing.rb +11 -11
  161. data/lib/purecloud/models/chat_conversation_entity_listing.rb +11 -11
  162. data/lib/purecloud/models/chat_media_participant.rb +1 -1
  163. data/lib/purecloud/models/command_status_entity_listing.rb +11 -11
  164. data/lib/purecloud/models/contact_list_entity_listing.rb +11 -11
  165. data/lib/purecloud/models/conversation_entity_listing.rb +11 -11
  166. data/lib/purecloud/models/create_queue_request.rb +397 -0
  167. data/lib/purecloud/models/dialer_contact_entity_listing.rb +11 -11
  168. data/lib/purecloud/models/did.rb +1 -0
  169. data/lib/purecloud/models/did_entity_listing.rb +11 -11
  170. data/lib/purecloud/models/did_pool.rb +1 -0
  171. data/lib/purecloud/models/did_pool_entity_listing.rb +11 -11
  172. data/lib/purecloud/models/dnc_list_entity_listing.rb +11 -11
  173. data/lib/purecloud/models/document.rb +11 -11
  174. data/lib/purecloud/models/document_audit_entity_listing.rb +11 -11
  175. data/lib/purecloud/models/document_entity_listing.rb +11 -11
  176. data/lib/purecloud/models/document_thumbnail.rb +24 -4
  177. data/lib/purecloud/models/domain_certificate_authority.rb +1 -0
  178. data/lib/purecloud/models/domain_entity_listing.rb +11 -11
  179. data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +11 -11
  180. data/lib/purecloud/models/domain_entity_listing_query_result.rb +11 -11
  181. data/lib/purecloud/models/domain_logical_interface.rb +1 -0
  182. data/lib/purecloud/models/domain_physical_interface.rb +103 -1
  183. data/lib/purecloud/models/domain_schema_reference.rb +103 -1
  184. data/lib/purecloud/models/download_response.rb +16 -4
  185. data/lib/purecloud/models/edge.rb +1 -0
  186. data/lib/purecloud/models/edge_entity_listing.rb +11 -11
  187. data/lib/purecloud/models/edge_group.rb +1 -0
  188. data/lib/purecloud/models/edge_group_entity_listing.rb +11 -11
  189. data/lib/purecloud/models/edge_line.rb +103 -1
  190. data/lib/purecloud/models/edge_line_entity_listing.rb +11 -11
  191. data/lib/purecloud/models/edge_logs_job.rb +103 -1
  192. data/lib/purecloud/models/edge_logs_job_file.rb +103 -1
  193. data/lib/purecloud/models/edge_logs_job_response.rb +103 -1
  194. data/lib/purecloud/models/edge_logs_job_upload_request.rb +1 -0
  195. data/lib/purecloud/models/email.rb +1 -1
  196. data/lib/purecloud/models/email_conversation_entity_listing.rb +11 -11
  197. data/lib/purecloud/models/email_media_participant.rb +1 -1
  198. data/lib/purecloud/models/email_message_listing.rb +11 -11
  199. data/lib/purecloud/models/encryption_key_entity_listing.rb +11 -11
  200. data/lib/purecloud/models/endpoint_entity_listing.rb +11 -11
  201. data/lib/purecloud/models/evaluation_entity_listing.rb +11 -11
  202. data/lib/purecloud/models/evaluation_form_entity_listing.rb +11 -11
  203. data/lib/purecloud/models/evaluator_activity_entity_listing.rb +11 -11
  204. data/lib/purecloud/models/extension.rb +1 -0
  205. data/lib/purecloud/models/extension_entity_listing.rb +11 -11
  206. data/lib/purecloud/models/extension_pool.rb +1 -0
  207. data/lib/purecloud/models/extension_pool_entity_listing.rb +11 -11
  208. data/lib/purecloud/models/fax_document.rb +11 -11
  209. data/lib/purecloud/models/fax_document_entity_listing.rb +11 -11
  210. data/lib/purecloud/models/fax_status.rb +235 -0
  211. data/lib/purecloud/models/group_entity_listing.rb +11 -11
  212. data/lib/purecloud/models/inbound_domain_entity_listing.rb +11 -11
  213. data/lib/purecloud/models/inbound_route_entity_listing.rb +11 -11
  214. data/lib/purecloud/models/interaction_stats_alert_container.rb +11 -11
  215. data/lib/purecloud/models/interaction_stats_rule_container.rb +11 -11
  216. data/lib/purecloud/models/json_node.rb +25 -25
  217. data/lib/purecloud/models/keyword.rb +34 -4
  218. data/lib/purecloud/models/keyword_set_entity_listing.rb +11 -11
  219. data/lib/purecloud/models/language_entity_listing.rb +11 -11
  220. data/lib/purecloud/models/library_entity_listing.rb +11 -11
  221. data/lib/purecloud/models/line.rb +1 -0
  222. data/lib/purecloud/models/line_base.rb +103 -1
  223. data/lib/purecloud/models/line_base_entity_listing.rb +11 -11
  224. data/lib/purecloud/models/line_entity_listing.rb +11 -11
  225. data/lib/purecloud/models/location.rb +13 -1
  226. data/lib/purecloud/models/logical_interface_entity_listing.rb +11 -11
  227. data/lib/purecloud/models/metabase.rb +93 -1
  228. data/lib/purecloud/models/number_plan.rb +1 -10
  229. data/lib/purecloud/models/o_auth_client_entity_listing.rb +11 -11
  230. data/lib/purecloud/models/o_auth_provider_entity_listing.rb +11 -11
  231. data/lib/purecloud/models/organization_presence_entity_listing.rb +11 -11
  232. data/lib/purecloud/models/organization_role_entity_listing.rb +11 -11
  233. data/lib/purecloud/models/orphan_recording_listing.rb +11 -11
  234. data/lib/purecloud/models/outbound_route.rb +2 -1
  235. data/lib/purecloud/models/outbound_route_entity_listing.rb +11 -11
  236. data/lib/purecloud/models/permission_collection_entity_listing.rb +11 -11
  237. data/lib/purecloud/models/phone.rb +2 -1
  238. data/lib/purecloud/models/phone_base.rb +105 -3
  239. data/lib/purecloud/models/phone_base_entity_listing.rb +11 -11
  240. data/lib/purecloud/models/phone_entity_listing.rb +11 -11
  241. data/lib/purecloud/models/phone_meta_base_entity_listing.rb +11 -11
  242. data/lib/purecloud/models/physical_interface_entity_listing.rb +11 -11
  243. data/lib/purecloud/models/policy_entity_listing.rb +11 -11
  244. data/lib/purecloud/models/quality_audit_page.rb +11 -11
  245. data/lib/purecloud/models/queue.rb +7 -0
  246. data/lib/purecloud/models/queue_entity_listing.rb +11 -11
  247. data/lib/purecloud/models/report_meta_data_entity_listing.rb +11 -11
  248. data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +11 -11
  249. data/lib/purecloud/models/report_schedule_entity_listing.rb +11 -11
  250. data/lib/purecloud/models/response_entity_list.rb +11 -11
  251. data/lib/purecloud/models/response_entity_listing.rb +11 -11
  252. data/lib/purecloud/models/response_set_entity_listing.rb +11 -11
  253. data/lib/purecloud/models/rule_set_entity_listing.rb +11 -11
  254. data/lib/purecloud/models/schema_category.rb +103 -1
  255. data/lib/purecloud/models/schema_category_entity_listing.rb +11 -11
  256. data/lib/purecloud/models/schema_reference_entity_listing.rb +11 -11
  257. data/lib/purecloud/models/security_profile_entity_listing.rb +11 -11
  258. data/lib/purecloud/models/share_entity_listing.rb +11 -11
  259. data/lib/purecloud/models/site.rb +1 -0
  260. data/lib/purecloud/models/site_entity_listing.rb +11 -11
  261. data/lib/purecloud/models/skill_entity_listing.rb +11 -11
  262. data/lib/purecloud/models/social_expression.rb +1 -1
  263. data/lib/purecloud/models/station_entity_listing.rb +11 -11
  264. data/lib/purecloud/models/tag_value_entity_listing.rb +11 -11
  265. data/lib/purecloud/models/time_zone_entity_listing.rb +11 -11
  266. data/lib/purecloud/models/trunk.rb +1 -0
  267. data/lib/purecloud/models/trunk_base.rb +1 -0
  268. data/lib/purecloud/models/trunk_entity_listing.rb +11 -11
  269. data/lib/purecloud/models/trunk_metabase_entity_listing.rb +11 -11
  270. data/lib/purecloud/models/user.rb +14 -1
  271. data/lib/purecloud/models/user_entity_listing.rb +11 -11
  272. data/lib/purecloud/models/user_me.rb +14 -1
  273. data/lib/purecloud/models/user_queue.rb +7 -0
  274. data/lib/purecloud/models/user_queue_entity_listing.rb +11 -11
  275. data/lib/purecloud/models/user_recording_entity_listing.rb +11 -11
  276. data/lib/purecloud/models/user_skill_entity_listing.rb +11 -11
  277. data/lib/purecloud/models/users_entity_listing.rb +11 -11
  278. data/lib/purecloud/models/validate_address_request.rb +1 -0
  279. data/lib/purecloud/models/video.rb +1 -1
  280. data/lib/purecloud/models/workspace_entity_listing.rb +11 -11
  281. data/lib/purecloud/models/workspace_member_entity_listing.rb +11 -11
  282. data/lib/purecloud/models/wrapup_code_entity_listing.rb +11 -11
  283. data/lib/purecloud/version.rb +1 -1
  284. data/newVersion.md +1 -1
  285. data/swagger.json +1 -1
  286. data/version.json +1 -1
  287. metadata +6 -2
@@ -1825,6 +1825,63 @@ module PureCloud
1825
1825
  return data, status_code, headers
1826
1826
  end
1827
1827
 
1828
+ # Retrieve the spotability statistic
1829
+ #
1830
+ # @param [Hash] opts the optional parameters
1831
+ # @option opts [KeywordSet] :body Keyword Set
1832
+ # @return [KeywordSet]
1833
+ def post_spotability(opts = {})
1834
+ data, status_code, headers = post_spotability_with_http_info(opts)
1835
+ return data
1836
+ end
1837
+
1838
+ # Retrieve the spotability statistic
1839
+ #
1840
+ # @param [Hash] opts the optional parameters
1841
+ # @option opts [KeywordSet] :body Keyword Set
1842
+ # @return [Array<(KeywordSet, Fixnum, Hash)>] KeywordSet data, response status code and response headers
1843
+ def post_spotability_with_http_info(opts = {})
1844
+ if @api_client.config.debugging
1845
+ @api_client.config.logger.debug "Calling API: QualityApi#post_spotability ..."
1846
+ end
1847
+
1848
+ # resource path
1849
+ local_var_path = "/api/v2/quality/spotability".sub('{format}','json')
1850
+
1851
+ # query parameters
1852
+ query_params = {}
1853
+
1854
+ # header parameters
1855
+ header_params = {}
1856
+
1857
+ # HTTP header 'Accept' (if needed)
1858
+ _header_accept = ['application/json']
1859
+ _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
1860
+
1861
+ # HTTP header 'Content-Type'
1862
+ _header_content_type = ['application/json']
1863
+ header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
1864
+
1865
+ # form parameters
1866
+ form_params = {}
1867
+
1868
+ # http body (model)
1869
+ post_body = @api_client.object_to_http_body(opts[:'body'])
1870
+
1871
+ auth_names = ['PureCloud Auth']
1872
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1873
+ :header_params => header_params,
1874
+ :query_params => query_params,
1875
+ :form_params => form_params,
1876
+ :body => post_body,
1877
+ :auth_names => auth_names,
1878
+ :return_type => 'KeywordSet')
1879
+ if @api_client.config.debugging
1880
+ @api_client.config.logger.debug "API called: QualityApi#post_spotability\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1881
+ end
1882
+ return data, status_code, headers
1883
+ end
1884
+
1828
1885
  # Update a calibration to the specified calibration via PUT. Editable fields include: evaluators, expertEvaluator, and scoringIndex
1829
1886
  #
1830
1887
  # @param calibration_id Calibration ID
@@ -3206,6 +3206,8 @@ module PureCloud
3206
3206
  # @option opts [String] :phone_base_settings_id Filter by phoneBaseSettings.id
3207
3207
  # @option opts [String] :lines_logged_in_user_id Filter by lines.loggedInUser.id
3208
3208
  # @option opts [String] :phone_hardware_id Filter by phone_hardwareId
3209
+ # @option opts [String] :lines_id Filter by lines.id
3210
+ # @option opts [String] :lines_name Filter by lines.name
3209
3211
  # @option opts [Array<String>] :expand Fields to expand in the response, comma-separated
3210
3212
  # @option opts [Array<String>] :fields Fields and properties to get, comma-separated
3211
3213
  # @return [PhoneEntityListing]
@@ -3226,6 +3228,8 @@ module PureCloud
3226
3228
  # @option opts [String] :phone_base_settings_id Filter by phoneBaseSettings.id
3227
3229
  # @option opts [String] :lines_logged_in_user_id Filter by lines.loggedInUser.id
3228
3230
  # @option opts [String] :phone_hardware_id Filter by phone_hardwareId
3231
+ # @option opts [String] :lines_id Filter by lines.id
3232
+ # @option opts [String] :lines_name Filter by lines.name
3229
3233
  # @option opts [Array<String>] :expand Fields to expand in the response, comma-separated
3230
3234
  # @option opts [Array<String>] :fields Fields and properties to get, comma-separated
3231
3235
  # @return [Array<(PhoneEntityListing, Fixnum, Hash)>] PhoneEntityListing data, response status code and response headers
@@ -3248,6 +3252,8 @@ module PureCloud
3248
3252
  query_params[:'phoneBaseSettings.id'] = opts[:'phone_base_settings_id'] if opts[:'phone_base_settings_id']
3249
3253
  query_params[:'lines.loggedInUser.id'] = opts[:'lines_logged_in_user_id'] if opts[:'lines_logged_in_user_id']
3250
3254
  query_params[:'phone_hardwareId'] = opts[:'phone_hardware_id'] if opts[:'phone_hardware_id']
3255
+ query_params[:'lines.id'] = opts[:'lines_id'] if opts[:'lines_id']
3256
+ query_params[:'lines.name'] = opts[:'lines_name'] if opts[:'lines_name']
3251
3257
  query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
3252
3258
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if opts[:'fields']
3253
3259
 
@@ -33,7 +33,7 @@ module PureCloud
33
33
 
34
34
  def initialize(config = Configuration.default)
35
35
  @config = config
36
- @user_agent = "PureCloud SDK/Ruby 0.48.1"
36
+ @user_agent = "PureCloud SDK/Ruby 0.49.1"
37
37
  @default_headers = {
38
38
  'Content-Type' => "application/json",
39
39
  'User-Agent' => @user_agent
@@ -32,10 +32,10 @@ module PureCloud
32
32
 
33
33
  attr_accessor :previous_uri
34
34
 
35
- attr_accessor :last_uri
36
-
37
35
  attr_accessor :next_uri
38
36
 
37
+ attr_accessor :last_uri
38
+
39
39
  attr_accessor :page_count
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -56,10 +56,10 @@ module PureCloud
56
56
 
57
57
  :'previous_uri' => :'previousUri',
58
58
 
59
- :'last_uri' => :'lastUri',
60
-
61
59
  :'next_uri' => :'nextUri',
62
60
 
61
+ :'last_uri' => :'lastUri',
62
+
63
63
  :'page_count' => :'pageCount'
64
64
 
65
65
  }
@@ -75,8 +75,8 @@ module PureCloud
75
75
  :'self_uri' => :'String',
76
76
  :'first_uri' => :'String',
77
77
  :'previous_uri' => :'String',
78
- :'last_uri' => :'String',
79
78
  :'next_uri' => :'String',
79
+ :'last_uri' => :'String',
80
80
  :'page_count' => :'Integer'
81
81
 
82
82
  }
@@ -119,14 +119,14 @@ module PureCloud
119
119
  self.previous_uri = attributes[:'previousUri']
120
120
  end
121
121
 
122
- if attributes[:'lastUri']
123
- self.last_uri = attributes[:'lastUri']
124
- end
125
-
126
122
  if attributes[:'nextUri']
127
123
  self.next_uri = attributes[:'nextUri']
128
124
  end
129
125
 
126
+ if attributes[:'lastUri']
127
+ self.last_uri = attributes[:'lastUri']
128
+ end
129
+
130
130
  if attributes[:'pageCount']
131
131
  self.page_count = attributes[:'pageCount']
132
132
  end
@@ -144,8 +144,8 @@ module PureCloud
144
144
  self_uri == o.self_uri &&
145
145
  first_uri == o.first_uri &&
146
146
  previous_uri == o.previous_uri &&
147
- last_uri == o.last_uri &&
148
147
  next_uri == o.next_uri &&
148
+ last_uri == o.last_uri &&
149
149
  page_count == o.page_count
150
150
  end
151
151
 
@@ -156,7 +156,7 @@ module PureCloud
156
156
 
157
157
  # Calculate hash code according to all attributes.
158
158
  def hash
159
- [page_size, page_number, total, entities, self_uri, first_uri, previous_uri, last_uri, next_uri, page_count].hash
159
+ [page_size, page_number, total, entities, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
160
160
  end
161
161
 
162
162
  # build the object from hash
@@ -32,10 +32,10 @@ module PureCloud
32
32
 
33
33
  attr_accessor :previous_uri
34
34
 
35
- attr_accessor :last_uri
36
-
37
35
  attr_accessor :next_uri
38
36
 
37
+ attr_accessor :last_uri
38
+
39
39
  attr_accessor :page_count
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -56,10 +56,10 @@ module PureCloud
56
56
 
57
57
  :'previous_uri' => :'previousUri',
58
58
 
59
- :'last_uri' => :'lastUri',
60
-
61
59
  :'next_uri' => :'nextUri',
62
60
 
61
+ :'last_uri' => :'lastUri',
62
+
63
63
  :'page_count' => :'pageCount'
64
64
 
65
65
  }
@@ -75,8 +75,8 @@ module PureCloud
75
75
  :'self_uri' => :'String',
76
76
  :'first_uri' => :'String',
77
77
  :'previous_uri' => :'String',
78
- :'last_uri' => :'String',
79
78
  :'next_uri' => :'String',
79
+ :'last_uri' => :'String',
80
80
  :'page_count' => :'Integer'
81
81
 
82
82
  }
@@ -119,14 +119,14 @@ module PureCloud
119
119
  self.previous_uri = attributes[:'previousUri']
120
120
  end
121
121
 
122
- if attributes[:'lastUri']
123
- self.last_uri = attributes[:'lastUri']
124
- end
125
-
126
122
  if attributes[:'nextUri']
127
123
  self.next_uri = attributes[:'nextUri']
128
124
  end
129
125
 
126
+ if attributes[:'lastUri']
127
+ self.last_uri = attributes[:'lastUri']
128
+ end
129
+
130
130
  if attributes[:'pageCount']
131
131
  self.page_count = attributes[:'pageCount']
132
132
  end
@@ -144,8 +144,8 @@ module PureCloud
144
144
  self_uri == o.self_uri &&
145
145
  first_uri == o.first_uri &&
146
146
  previous_uri == o.previous_uri &&
147
- last_uri == o.last_uri &&
148
147
  next_uri == o.next_uri &&
148
+ last_uri == o.last_uri &&
149
149
  page_count == o.page_count
150
150
  end
151
151
 
@@ -156,7 +156,7 @@ module PureCloud
156
156
 
157
157
  # Calculate hash code according to all attributes.
158
158
  def hash
159
- [page_size, page_number, total, entities, self_uri, first_uri, previous_uri, last_uri, next_uri, page_count].hash
159
+ [page_size, page_number, total, entities, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
160
160
  end
161
161
 
162
162
  # build the object from hash
@@ -32,10 +32,10 @@ module PureCloud
32
32
 
33
33
  attr_accessor :previous_uri
34
34
 
35
- attr_accessor :last_uri
36
-
37
35
  attr_accessor :next_uri
38
36
 
37
+ attr_accessor :last_uri
38
+
39
39
  attr_accessor :page_count
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -56,10 +56,10 @@ module PureCloud
56
56
 
57
57
  :'previous_uri' => :'previousUri',
58
58
 
59
- :'last_uri' => :'lastUri',
60
-
61
59
  :'next_uri' => :'nextUri',
62
60
 
61
+ :'last_uri' => :'lastUri',
62
+
63
63
  :'page_count' => :'pageCount'
64
64
 
65
65
  }
@@ -75,8 +75,8 @@ module PureCloud
75
75
  :'self_uri' => :'String',
76
76
  :'first_uri' => :'String',
77
77
  :'previous_uri' => :'String',
78
- :'last_uri' => :'String',
79
78
  :'next_uri' => :'String',
79
+ :'last_uri' => :'String',
80
80
  :'page_count' => :'Integer'
81
81
 
82
82
  }
@@ -119,14 +119,14 @@ module PureCloud
119
119
  self.previous_uri = attributes[:'previousUri']
120
120
  end
121
121
 
122
- if attributes[:'lastUri']
123
- self.last_uri = attributes[:'lastUri']
124
- end
125
-
126
122
  if attributes[:'nextUri']
127
123
  self.next_uri = attributes[:'nextUri']
128
124
  end
129
125
 
126
+ if attributes[:'lastUri']
127
+ self.last_uri = attributes[:'lastUri']
128
+ end
129
+
130
130
  if attributes[:'pageCount']
131
131
  self.page_count = attributes[:'pageCount']
132
132
  end
@@ -144,8 +144,8 @@ module PureCloud
144
144
  self_uri == o.self_uri &&
145
145
  first_uri == o.first_uri &&
146
146
  previous_uri == o.previous_uri &&
147
- last_uri == o.last_uri &&
148
147
  next_uri == o.next_uri &&
148
+ last_uri == o.last_uri &&
149
149
  page_count == o.page_count
150
150
  end
151
151
 
@@ -156,7 +156,7 @@ module PureCloud
156
156
 
157
157
  # Calculate hash code according to all attributes.
158
158
  def hash
159
- [page_size, page_number, total, entities, self_uri, first_uri, previous_uri, last_uri, next_uri, page_count].hash
159
+ [page_size, page_number, total, entities, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
160
160
  end
161
161
 
162
162
  # build the object from hash
@@ -32,10 +32,10 @@ module PureCloud
32
32
 
33
33
  attr_accessor :previous_uri
34
34
 
35
- attr_accessor :last_uri
36
-
37
35
  attr_accessor :next_uri
38
36
 
37
+ attr_accessor :last_uri
38
+
39
39
  attr_accessor :page_count
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -56,10 +56,10 @@ module PureCloud
56
56
 
57
57
  :'previous_uri' => :'previousUri',
58
58
 
59
- :'last_uri' => :'lastUri',
60
-
61
59
  :'next_uri' => :'nextUri',
62
60
 
61
+ :'last_uri' => :'lastUri',
62
+
63
63
  :'page_count' => :'pageCount'
64
64
 
65
65
  }
@@ -75,8 +75,8 @@ module PureCloud
75
75
  :'self_uri' => :'String',
76
76
  :'first_uri' => :'String',
77
77
  :'previous_uri' => :'String',
78
- :'last_uri' => :'String',
79
78
  :'next_uri' => :'String',
79
+ :'last_uri' => :'String',
80
80
  :'page_count' => :'Integer'
81
81
 
82
82
  }
@@ -119,14 +119,14 @@ module PureCloud
119
119
  self.previous_uri = attributes[:'previousUri']
120
120
  end
121
121
 
122
- if attributes[:'lastUri']
123
- self.last_uri = attributes[:'lastUri']
124
- end
125
-
126
122
  if attributes[:'nextUri']
127
123
  self.next_uri = attributes[:'nextUri']
128
124
  end
129
125
 
126
+ if attributes[:'lastUri']
127
+ self.last_uri = attributes[:'lastUri']
128
+ end
129
+
130
130
  if attributes[:'pageCount']
131
131
  self.page_count = attributes[:'pageCount']
132
132
  end
@@ -144,8 +144,8 @@ module PureCloud
144
144
  self_uri == o.self_uri &&
145
145
  first_uri == o.first_uri &&
146
146
  previous_uri == o.previous_uri &&
147
- last_uri == o.last_uri &&
148
147
  next_uri == o.next_uri &&
148
+ last_uri == o.last_uri &&
149
149
  page_count == o.page_count
150
150
  end
151
151
 
@@ -156,7 +156,7 @@ module PureCloud
156
156
 
157
157
  # Calculate hash code according to all attributes.
158
158
  def hash
159
- [page_size, page_number, total, entities, self_uri, first_uri, previous_uri, last_uri, next_uri, page_count].hash
159
+ [page_size, page_number, total, entities, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
160
160
  end
161
161
 
162
162
  # build the object from hash
@@ -55,6 +55,8 @@ module PureCloud
55
55
 
56
56
  attr_accessor :disconnect_reasons
57
57
 
58
+ attr_accessor :fax_status
59
+
58
60
  # Attribute mapping from ruby-style variable name to JSON key.
59
61
  def self.attribute_map
60
62
  {
@@ -91,7 +93,9 @@ module PureCloud
91
93
 
92
94
  :'disconnected_time' => :'disconnectedTime',
93
95
 
94
- :'disconnect_reasons' => :'disconnectReasons'
96
+ :'disconnect_reasons' => :'disconnectReasons',
97
+
98
+ :'fax_status' => :'faxStatus'
95
99
 
96
100
  }
97
101
  end
@@ -115,7 +119,8 @@ module PureCloud
115
119
  :'document_id' => :'String',
116
120
  :'connected_time' => :'DateTime',
117
121
  :'disconnected_time' => :'DateTime',
118
- :'disconnect_reasons' => :'Array<DisconnectReason>'
122
+ :'disconnect_reasons' => :'Array<DisconnectReason>',
123
+ :'fax_status' => :'FaxStatus'
119
124
 
120
125
  }
121
126
  end
@@ -207,6 +212,10 @@ module PureCloud
207
212
  end
208
213
  end
209
214
 
215
+ if attributes[:'faxStatus']
216
+ self.fax_status = attributes[:'faxStatus']
217
+ end
218
+
210
219
  end
211
220
 
212
221
  # Custom attribute writer method checking allowed values (enum).
@@ -238,7 +247,7 @@ module PureCloud
238
247
 
239
248
  # Custom attribute writer method checking allowed values (enum).
240
249
  def disconnect_type=(disconnect_type)
241
- allowed_values = ["ENDPOINT", "CLIENT", "SYSTEM", "TIMEOUT", "TRANSFER", "TRANSFER_CONFERENCE", "TRANSFER_CONSULT", "TRANSFER_FORWARD", "ERROR", "PEER", "OTHER"]
250
+ allowed_values = ["ENDPOINT", "CLIENT", "SYSTEM", "TIMEOUT", "TRANSFER", "TRANSFER_CONFERENCE", "TRANSFER_CONSULT", "TRANSFER_FORWARD", "TRANSPORT_FAILURE", "ERROR", "PEER", "OTHER", "SPAM"]
242
251
  if disconnect_type && !allowed_values.include?(disconnect_type)
243
252
  fail "invalid value for 'disconnect_type', must be one of #{allowed_values}"
244
253
  end
@@ -265,7 +274,8 @@ module PureCloud
265
274
  document_id == o.document_id &&
266
275
  connected_time == o.connected_time &&
267
276
  disconnected_time == o.disconnected_time &&
268
- disconnect_reasons == o.disconnect_reasons
277
+ disconnect_reasons == o.disconnect_reasons &&
278
+ fax_status == o.fax_status
269
279
  end
270
280
 
271
281
  # @see the `==` method
@@ -275,7 +285,7 @@ module PureCloud
275
285
 
276
286
  # Calculate hash code according to all attributes.
277
287
  def hash
278
- [state, id, direction, recording, recording_state, muted, confined, held, recording_id, segments, error_info, disconnect_type, start_hold_time, document_id, connected_time, disconnected_time, disconnect_reasons].hash
288
+ [state, id, direction, recording, recording_state, muted, confined, held, recording_id, segments, error_info, disconnect_type, start_hold_time, document_id, connected_time, disconnected_time, disconnect_reasons, fax_status].hash
279
289
  end
280
290
 
281
291
  # build the object from hash