purecloud 0.63.1 → 0.64.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 (262) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/config-ruby.json +1 -1
  4. data/doc_out/ADFS.html.md +1 -1
  5. data/doc_out/AggregationQuery.html.md +1 -1
  6. data/doc_out/AnalyticsConversationSegment.html.md +3 -3
  7. data/doc_out/AnalyticsSession.html.md +2 -2
  8. data/doc_out/AttributesApi.html.md +29 -29
  9. data/doc_out/AuditMessage.html.md +1 -1
  10. data/doc_out/Call.html.md +4 -4
  11. data/doc_out/CallForwarding.html.md +1 -1
  12. data/doc_out/CallMediaParticipant.html.md +6 -6
  13. data/doc_out/Callback.html.md +2 -2
  14. data/doc_out/CallbackMediaParticipant.html.md +4 -4
  15. data/doc_out/Campaign.html.md +1 -1
  16. data/doc_out/CampaignInteraction.html.md +1 -1
  17. data/doc_out/CampaignRule.html.md +2 -2
  18. data/doc_out/CampaignRuleActionEntities.html.md +1 -1
  19. data/doc_out/CampaignSequence.html.md +1 -1
  20. data/doc_out/CertificateDetails.html.md +3 -3
  21. data/doc_out/ChatMediaParticipant.html.md +3 -3
  22. data/doc_out/CobrowseMediaParticipant.html.md +3 -3
  23. data/doc_out/Condition.html.md +1 -1
  24. data/doc_out/ContactSort.html.md +1 -1
  25. data/doc_out/ContentQueryRequest.html.md +1 -1
  26. data/doc_out/ContentSortItem.html.md +1 -1
  27. data/doc_out/ConversationChat.html.md +1 -1
  28. data/doc_out/ConversationsApi.html.md +58 -58
  29. data/doc_out/CustomerInteractionCenter.html.md +1 -1
  30. data/doc_out/DialerContact.html.md +1 -1
  31. data/doc_out/Document.html.md +1 -1
  32. data/doc_out/DocumentAudit.html.md +1 -1
  33. data/doc_out/DocumentUpdate.html.md +1 -1
  34. data/doc_out/DomainCapabilities.html.md +4 -4
  35. data/doc_out/DomainEdgeSoftwareUpdateDto.html.md +2 -2
  36. data/doc_out/DomainEdgeSoftwareVersionDto.html.md +2 -2
  37. data/doc_out/DomainLogicalInterface.html.md +3 -3
  38. data/doc_out/DomainNetworkAddress.html.md +1 -1
  39. data/doc_out/DomainNetworkCommandResponse.html.md +1 -1
  40. data/doc_out/DomainNetworkRoute.html.md +1 -1
  41. data/doc_out/DomainOrganizationRole.html.md +3 -3
  42. data/doc_out/DomainOrganizationRoleCreate.html.md +3 -3
  43. data/doc_out/DomainOrganizationRoleUpdate.html.md +3 -3
  44. data/doc_out/DomainPermission.html.md +1 -1
  45. data/doc_out/DomainPermissionPolicy.html.md +1 -1
  46. data/doc_out/DomainPhysicalCapabilities.html.md +2 -2
  47. data/doc_out/Edge.html.md +2 -2
  48. data/doc_out/EdgeAutoUpdateConfig.html.md +2 -2
  49. data/doc_out/EdgeGroup.html.md +1 -1
  50. data/doc_out/EdgeLogsJobRequest.html.md +1 -1
  51. data/doc_out/Email.html.md +1 -1
  52. data/doc_out/EmailMediaParticipant.html.md +3 -3
  53. data/doc_out/Endpoint.html.md +1 -1
  54. data/doc_out/Evaluation.html.md +4 -4
  55. data/doc_out/EvaluationForm.html.md +1 -1
  56. data/doc_out/EvaluationScoringSet.html.md +1 -1
  57. data/doc_out/FaxDocument.html.md +1 -1
  58. data/doc_out/FieldList.html.md +3 -3
  59. data/doc_out/Geolocation.html.md +1 -1
  60. data/doc_out/GeolocationSettings.html.md +1 -1
  61. data/doc_out/GreetingsApi.html.md +50 -50
  62. data/doc_out/Group.html.md +1 -1
  63. data/doc_out/GroupUpdate.html.md +1 -1
  64. data/doc_out/GroupsApi.html.md +68 -68
  65. data/doc_out/HeartBeatRule.html.md +2 -2
  66. data/doc_out/IdentityProviderApi.html.md +22 -22
  67. data/doc_out/InboundDomain.html.md +1 -1
  68. data/doc_out/InitiateScreenRecording.html.md +1 -1
  69. data/doc_out/InteractionStatsAlert.html.md +1 -1
  70. data/doc_out/InteractionStatsRule.html.md +2 -2
  71. data/doc_out/JsonNode.html.md +20 -20
  72. data/doc_out/LineStatus.html.md +1 -1
  73. data/doc_out/LocationDefinition.html.md +1 -1
  74. data/doc_out/MediaParticipantRequest.html.md +5 -5
  75. data/doc_out/MeteredEvaluationAssignment.html.md +1 -1
  76. data/doc_out/OAuthProvider.html.md +1 -1
  77. data/doc_out/Okta.html.md +1 -1
  78. data/doc_out/OneLogin.html.md +1 -1
  79. data/doc_out/OrgMediaUtilization.html.md +1 -1
  80. data/doc_out/Organization.html.md +1 -1
  81. data/doc_out/OrganizationPresence.html.md +2 -2
  82. data/doc_out/OutOfOffice.html.md +1 -1
  83. data/doc_out/OutboundRoute.html.md +2 -2
  84. data/doc_out/Parameter.html.md +1 -1
  85. data/doc_out/Participant.html.md +2 -2
  86. data/doc_out/PhoneCapabilities.html.md +5 -5
  87. data/doc_out/PhoneNumberStatus.html.md +1 -1
  88. data/doc_out/Policy.html.md +1 -1
  89. data/doc_out/PolicyActions.html.md +3 -3
  90. data/doc_out/PolicyCreate.html.md +1 -1
  91. data/doc_out/PresenceApi.html.md +33 -33
  92. data/doc_out/PureCloud.html.md +1 -1
  93. data/doc_out/QueryRequest.html.md +1 -1
  94. data/doc_out/QuestionGroup.html.md +4 -4
  95. data/doc_out/QuestionGroupScore.html.md +1 -1
  96. data/doc_out/QuestionScore.html.md +2 -2
  97. data/doc_out/QueueMember.html.md +1 -1
  98. data/doc_out/RecordingApi.html.md +70 -70
  99. data/doc_out/ReportSchedule.html.md +1 -1
  100. data/doc_out/ResourcePermissionPolicy.html.md +1 -1
  101. data/doc_out/RoutingStatusRule.html.md +2 -2
  102. data/doc_out/Salesforce.html.md +1 -1
  103. data/doc_out/Screenshare.html.md +1 -1
  104. data/doc_out/ScriptsApi.html.md +72 -72
  105. data/doc_out/Site.html.md +1 -1
  106. data/doc_out/SocialExpression.html.md +1 -1
  107. data/doc_out/SortItem.html.md +1 -1
  108. data/doc_out/TagValue.html.md +1 -1
  109. data/doc_out/TimeAllowed.html.md +1 -1
  110. data/doc_out/TimeOffRequest.html.md +2 -2
  111. data/doc_out/TimeOffRequestPatch.html.md +1 -1
  112. data/doc_out/TransferRequest.html.md +1 -1
  113. data/doc_out/Trunk.html.md +1 -1
  114. data/doc_out/TrunkBase.html.md +1 -1
  115. data/doc_out/UnreadStatus.html.md +1 -1
  116. data/doc_out/UserPresence.html.md +1 -1
  117. data/doc_out/UserPresenceRule.html.md +2 -2
  118. data/doc_out/UserQueue.html.md +1 -1
  119. data/doc_out/UserRecording.html.md +1 -1
  120. data/doc_out/UserRecordingsApi.html.md +47 -47
  121. data/doc_out/UserScheduleAdherence.html.md +1 -1
  122. data/doc_out/ValidateAddressResponse.html.md +1 -1
  123. data/doc_out/Video.html.md +3 -3
  124. data/doc_out/VoicemailGroupPolicy.html.md +2 -2
  125. data/doc_out/VoicemailMessage.html.md +2 -2
  126. data/doc_out/VoicemailOrganizationPolicy.html.md +4 -4
  127. data/doc_out/VoicemailUserPolicy.html.md +1 -1
  128. data/doc_out/Workspace.html.md +1 -1
  129. data/doc_out/Wrapup.html.md +1 -1
  130. data/doc_out/index.html.md +3 -3
  131. data/lib/purecloud/api/attributes_api.rb +39 -39
  132. data/lib/purecloud/api/conversations_api.rb +58 -58
  133. data/lib/purecloud/api/greetings_api.rb +67 -67
  134. data/lib/purecloud/api/groups_api.rb +104 -104
  135. data/lib/purecloud/api/identity_provider_api.rb +33 -33
  136. data/lib/purecloud/api/presence_api.rb +46 -46
  137. data/lib/purecloud/api/recording_api.rb +76 -76
  138. data/lib/purecloud/api/scripts_api.rb +87 -87
  139. data/lib/purecloud/api/user_recordings_api.rb +64 -64
  140. data/lib/purecloud/api_client.rb +1 -1
  141. data/lib/purecloud/models/adfs.rb +2 -0
  142. data/lib/purecloud/models/aggregation_query.rb +2 -0
  143. data/lib/purecloud/models/analytics_conversation_segment.rb +6 -0
  144. data/lib/purecloud/models/analytics_session.rb +4 -0
  145. data/lib/purecloud/models/audit_message.rb +2 -0
  146. data/lib/purecloud/models/call.rb +8 -0
  147. data/lib/purecloud/models/call_forwarding.rb +2 -0
  148. data/lib/purecloud/models/call_media_participant.rb +12 -0
  149. data/lib/purecloud/models/callback.rb +4 -0
  150. data/lib/purecloud/models/callback_media_participant.rb +8 -0
  151. data/lib/purecloud/models/campaign.rb +2 -0
  152. data/lib/purecloud/models/campaign_interaction.rb +2 -0
  153. data/lib/purecloud/models/campaign_rule.rb +4 -0
  154. data/lib/purecloud/models/campaign_rule_action_entities.rb +2 -0
  155. data/lib/purecloud/models/campaign_sequence.rb +2 -0
  156. data/lib/purecloud/models/certificate_details.rb +6 -0
  157. data/lib/purecloud/models/chat_media_participant.rb +6 -0
  158. data/lib/purecloud/models/cobrowse_media_participant.rb +6 -0
  159. data/lib/purecloud/models/condition.rb +2 -0
  160. data/lib/purecloud/models/contact_sort.rb +2 -0
  161. data/lib/purecloud/models/content_query_request.rb +2 -0
  162. data/lib/purecloud/models/content_sort_item.rb +2 -0
  163. data/lib/purecloud/models/conversation_chat.rb +2 -0
  164. data/lib/purecloud/models/customer_interaction_center.rb +2 -0
  165. data/lib/purecloud/models/dialer_contact.rb +2 -0
  166. data/lib/purecloud/models/document.rb +2 -0
  167. data/lib/purecloud/models/document_audit.rb +2 -0
  168. data/lib/purecloud/models/document_update.rb +2 -0
  169. data/lib/purecloud/models/domain_capabilities.rb +8 -0
  170. data/lib/purecloud/models/domain_edge_software_update_dto.rb +4 -0
  171. data/lib/purecloud/models/domain_edge_software_version_dto.rb +4 -0
  172. data/lib/purecloud/models/domain_logical_interface.rb +6 -0
  173. data/lib/purecloud/models/domain_network_address.rb +2 -0
  174. data/lib/purecloud/models/domain_network_command_response.rb +2 -0
  175. data/lib/purecloud/models/domain_network_route.rb +2 -0
  176. data/lib/purecloud/models/domain_organization_role.rb +17 -11
  177. data/lib/purecloud/models/domain_organization_role_create.rb +17 -11
  178. data/lib/purecloud/models/domain_organization_role_update.rb +17 -11
  179. data/lib/purecloud/models/domain_permission.rb +2 -0
  180. data/lib/purecloud/models/domain_permission_policy.rb +2 -0
  181. data/lib/purecloud/models/domain_physical_capabilities.rb +4 -0
  182. data/lib/purecloud/models/edge.rb +4 -0
  183. data/lib/purecloud/models/edge_auto_update_config.rb +4 -4
  184. data/lib/purecloud/models/edge_group.rb +2 -0
  185. data/lib/purecloud/models/edge_logs_job_request.rb +2 -0
  186. data/lib/purecloud/models/email.rb +2 -0
  187. data/lib/purecloud/models/email_media_participant.rb +6 -0
  188. data/lib/purecloud/models/endpoint.rb +2 -0
  189. data/lib/purecloud/models/evaluation.rb +8 -0
  190. data/lib/purecloud/models/evaluation_form.rb +2 -0
  191. data/lib/purecloud/models/evaluation_scoring_set.rb +2 -0
  192. data/lib/purecloud/models/fax_document.rb +2 -0
  193. data/lib/purecloud/models/field_list.rb +6 -0
  194. data/lib/purecloud/models/geolocation.rb +2 -0
  195. data/lib/purecloud/models/geolocation_settings.rb +2 -0
  196. data/lib/purecloud/models/group.rb +2 -0
  197. data/lib/purecloud/models/group_update.rb +2 -0
  198. data/lib/purecloud/models/heart_beat_rule.rb +4 -0
  199. data/lib/purecloud/models/inbound_domain.rb +2 -0
  200. data/lib/purecloud/models/initiate_screen_recording.rb +2 -0
  201. data/lib/purecloud/models/interaction_stats_alert.rb +2 -0
  202. data/lib/purecloud/models/interaction_stats_rule.rb +4 -0
  203. data/lib/purecloud/models/json_node.rb +64 -24
  204. data/lib/purecloud/models/line_status.rb +2 -0
  205. data/lib/purecloud/models/location_definition.rb +2 -0
  206. data/lib/purecloud/models/media_participant_request.rb +10 -0
  207. data/lib/purecloud/models/metered_evaluation_assignment.rb +2 -0
  208. data/lib/purecloud/models/o_auth_provider.rb +2 -0
  209. data/lib/purecloud/models/okta.rb +2 -0
  210. data/lib/purecloud/models/one_login.rb +2 -0
  211. data/lib/purecloud/models/org_media_utilization.rb +2 -0
  212. data/lib/purecloud/models/organization.rb +2 -0
  213. data/lib/purecloud/models/organization_presence.rb +4 -0
  214. data/lib/purecloud/models/out_of_office.rb +2 -0
  215. data/lib/purecloud/models/outbound_route.rb +4 -0
  216. data/lib/purecloud/models/parameter.rb +2 -0
  217. data/lib/purecloud/models/participant.rb +4 -0
  218. data/lib/purecloud/models/phone_capabilities.rb +10 -0
  219. data/lib/purecloud/models/phone_number_status.rb +2 -0
  220. data/lib/purecloud/models/policy.rb +2 -0
  221. data/lib/purecloud/models/policy_actions.rb +6 -0
  222. data/lib/purecloud/models/policy_create.rb +2 -0
  223. data/lib/purecloud/models/pure_cloud.rb +2 -0
  224. data/lib/purecloud/models/query_request.rb +2 -0
  225. data/lib/purecloud/models/question_group.rb +8 -0
  226. data/lib/purecloud/models/question_group_score.rb +2 -0
  227. data/lib/purecloud/models/question_score.rb +4 -0
  228. data/lib/purecloud/models/queue_member.rb +2 -0
  229. data/lib/purecloud/models/report_schedule.rb +2 -0
  230. data/lib/purecloud/models/resource_permission_policy.rb +2 -0
  231. data/lib/purecloud/models/routing_status_rule.rb +4 -0
  232. data/lib/purecloud/models/salesforce.rb +2 -0
  233. data/lib/purecloud/models/screenshare.rb +2 -0
  234. data/lib/purecloud/models/site.rb +2 -0
  235. data/lib/purecloud/models/social_expression.rb +2 -0
  236. data/lib/purecloud/models/sort_item.rb +2 -0
  237. data/lib/purecloud/models/tag_value.rb +2 -0
  238. data/lib/purecloud/models/time_allowed.rb +2 -0
  239. data/lib/purecloud/models/time_off_request.rb +4 -0
  240. data/lib/purecloud/models/time_off_request_patch.rb +2 -0
  241. data/lib/purecloud/models/transfer_request.rb +2 -0
  242. data/lib/purecloud/models/trunk.rb +2 -0
  243. data/lib/purecloud/models/trunk_base.rb +2 -0
  244. data/lib/purecloud/models/unread_status.rb +2 -0
  245. data/lib/purecloud/models/user_presence.rb +2 -0
  246. data/lib/purecloud/models/user_presence_rule.rb +4 -0
  247. data/lib/purecloud/models/user_queue.rb +2 -0
  248. data/lib/purecloud/models/user_recording.rb +2 -0
  249. data/lib/purecloud/models/user_schedule_adherence.rb +2 -0
  250. data/lib/purecloud/models/validate_address_response.rb +2 -0
  251. data/lib/purecloud/models/video.rb +6 -0
  252. data/lib/purecloud/models/voicemail_group_policy.rb +4 -0
  253. data/lib/purecloud/models/voicemail_message.rb +4 -0
  254. data/lib/purecloud/models/voicemail_organization_policy.rb +8 -0
  255. data/lib/purecloud/models/voicemail_user_policy.rb +2 -0
  256. data/lib/purecloud/models/workspace.rb +2 -0
  257. data/lib/purecloud/models/wrapup.rb +2 -0
  258. data/lib/purecloud/version.rb +1 -1
  259. data/newVersion.md +1 -1
  260. data/swagger.json +1 -1
  261. data/version.json +1 -1
  262. metadata +2 -2
@@ -7,7 +7,7 @@ title: VoicemailUserPolicy
7
7
 
8
8
  |Name | Type | Description | Notes|
9
9
  |------------ | ------------- | ------------- | -------------|
10
- | **enabled** | **BOOLEAN** | | [optional] |
10
+ | **enabled** | **BOOLEAN** | | [optional] [default to false]|
11
11
  | **alert_timeout_seconds** | **Integer** | | [optional] |
12
12
  | **minimum_recording_time_seconds** | **Integer** | | [optional] |
13
13
  | **maximum_recording_time_seconds** | **Integer** | | [optional] |
@@ -10,7 +10,7 @@ title: Workspace
10
10
  | **id** | **String** | The globally unique identifier for the object. | [optional] |
11
11
  | **name** | **String** | The current name of the workspace. | |
12
12
  | **type** | **String** | | [optional] |
13
- | **is_current_user_workspace** | **BOOLEAN** | | [optional] |
13
+ | **is_current_user_workspace** | **BOOLEAN** | | [optional] [default to false]|
14
14
  | **user** | [**UriReference**](UriReference.html) | | [optional] |
15
15
  | **bucket** | **String** | | [optional] |
16
16
  | **date_created** | **DateTime** | Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
@@ -13,7 +13,7 @@ title: Wrapup
13
13
  | **tags** | **Array<String>** | List of tags selected by the agent to describe the call or disposition. | [optional] |
14
14
  | **duration_seconds** | **Integer** | The length of time in seconds that the agent spent doing after call work. | [optional] |
15
15
  | **end_time** | **DateTime** | The timestamp when the wrapup was finished. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
16
- | **provisional** | **BOOLEAN** | Indicates if this is a pending save and should not require a code to be specified. This allows someone to save some temporary wrapup that will be used later. | [optional] |
16
+ | **provisional** | **BOOLEAN** | Indicates if this is a pending save and should not require a code to be specified. This allows someone to save some temporary wrapup that will be used later. | [optional] [default to false]|
17
17
  {: class="table table-striped"}
18
18
 
19
19
 
@@ -9,8 +9,8 @@ With the PureCloud Platform API, you can control all aspects of your PureCloud e
9
9
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
10
10
 
11
11
  - API version: v2
12
- - Package version: 0.63.1
13
- - Build date: 2017-01-03T17:26:35.703Z
12
+ - Package version: 0.64.1
13
+ - Build date: 2017-01-04T14:31:38.053Z
14
14
 
15
15
  For more information, please visit [https://developer.mypurecloud.com](https://developer.mypurecloud.com)
16
16
 
@@ -18,7 +18,7 @@ For more information, please visit [https://developer.mypurecloud.com](https://d
18
18
 
19
19
  ### from rubygems.org
20
20
 
21
- gem 'purecloud', '~> 0.63.1'
21
+ gem 'purecloud', '~> 0.64.1'
22
22
 
23
23
  ### Install from Git
24
24
 
@@ -83,35 +83,34 @@ module PureCloud
83
83
  return data, status_code, headers
84
84
  end
85
85
 
86
- # Gets a list of existing attributes.
86
+ # Get details about an existing attribute.
87
87
  #
88
+ # @param attribute_id Attribute ID
88
89
  # @param [Hash] opts the optional parameters
89
- # @option opts [Integer] :page_number Page number (default to 1)
90
- # @option opts [Integer] :page_size Page size (default to 25)
91
- # @return [AttributeEntityListing]
92
- def get(opts = {})
93
- data, status_code, headers = get_with_http_info(opts)
90
+ # @return [Attribute]
91
+ def get_attribute_id(attribute_id, opts = {})
92
+ data, status_code, headers = get_attribute_id_with_http_info(attribute_id, opts)
94
93
  return data
95
94
  end
96
95
 
97
- # Gets a list of existing attributes.
96
+ # Get details about an existing attribute.
98
97
  #
98
+ # @param attribute_id Attribute ID
99
99
  # @param [Hash] opts the optional parameters
100
- # @option opts [Integer] :page_number Page number
101
- # @option opts [Integer] :page_size Page size
102
- # @return [Array<(AttributeEntityListing, Fixnum, Hash)>] AttributeEntityListing data, response status code and response headers
103
- def get_with_http_info(opts = {})
100
+ # @return [Array<(Attribute, Fixnum, Hash)>] Attribute data, response status code and response headers
101
+ def get_attribute_id_with_http_info(attribute_id, opts = {})
104
102
  if @api_client.config.debugging
105
- @api_client.config.logger.debug "Calling API: AttributesApi#get ..."
103
+ @api_client.config.logger.debug "Calling API: AttributesApi#get_attribute_id ..."
106
104
  end
107
105
 
106
+ # verify the required parameter 'attribute_id' is set
107
+ fail "Missing the required parameter 'attribute_id' when calling get_attribute_id" if attribute_id.nil?
108
+
108
109
  # resource path
109
- local_var_path = "/api/v2/attributes".sub('{format}','json')
110
+ local_var_path = "/api/v2/attributes/{attributeId}".sub('{format}','json').sub('{' + 'attributeId' + '}', attribute_id.to_s)
110
111
 
111
112
  # query parameters
112
113
  query_params = {}
113
- query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
114
- query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
115
114
 
116
115
  # header parameters
117
116
  header_params = {}
@@ -137,41 +136,42 @@ module PureCloud
137
136
  :form_params => form_params,
138
137
  :body => post_body,
139
138
  :auth_names => auth_names,
140
- :return_type => 'AttributeEntityListing')
139
+ :return_type => 'Attribute')
141
140
  if @api_client.config.debugging
142
- @api_client.config.logger.debug "API called: AttributesApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
141
+ @api_client.config.logger.debug "API called: AttributesApi#get_attribute_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
143
142
  end
144
143
  return data, status_code, headers
145
144
  end
146
145
 
147
- # Get details about an existing attribute.
146
+ # Gets a list of existing attributes.
148
147
  #
149
- # @param attribute_id Attribute ID
150
148
  # @param [Hash] opts the optional parameters
151
- # @return [Attribute]
152
- def get_attribute_id(attribute_id, opts = {})
153
- data, status_code, headers = get_attribute_id_with_http_info(attribute_id, opts)
149
+ # @option opts [Integer] :page_number Page number (default to 1)
150
+ # @option opts [Integer] :page_size Page size (default to 25)
151
+ # @return [AttributeEntityListing]
152
+ def get_attributes(opts = {})
153
+ data, status_code, headers = get_attributes_with_http_info(opts)
154
154
  return data
155
155
  end
156
156
 
157
- # Get details about an existing attribute.
157
+ # Gets a list of existing attributes.
158
158
  #
159
- # @param attribute_id Attribute ID
160
159
  # @param [Hash] opts the optional parameters
161
- # @return [Array<(Attribute, Fixnum, Hash)>] Attribute data, response status code and response headers
162
- def get_attribute_id_with_http_info(attribute_id, opts = {})
160
+ # @option opts [Integer] :page_number Page number
161
+ # @option opts [Integer] :page_size Page size
162
+ # @return [Array<(AttributeEntityListing, Fixnum, Hash)>] AttributeEntityListing data, response status code and response headers
163
+ def get_attributes_with_http_info(opts = {})
163
164
  if @api_client.config.debugging
164
- @api_client.config.logger.debug "Calling API: AttributesApi#get_attribute_id ..."
165
+ @api_client.config.logger.debug "Calling API: AttributesApi#get_attributes ..."
165
166
  end
166
167
 
167
- # verify the required parameter 'attribute_id' is set
168
- fail "Missing the required parameter 'attribute_id' when calling get_attribute_id" if attribute_id.nil?
169
-
170
168
  # resource path
171
- local_var_path = "/api/v2/attributes/{attributeId}".sub('{format}','json').sub('{' + 'attributeId' + '}', attribute_id.to_s)
169
+ local_var_path = "/api/v2/attributes".sub('{format}','json')
172
170
 
173
171
  # query parameters
174
172
  query_params = {}
173
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
174
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
175
175
 
176
176
  # header parameters
177
177
  header_params = {}
@@ -197,9 +197,9 @@ module PureCloud
197
197
  :form_params => form_params,
198
198
  :body => post_body,
199
199
  :auth_names => auth_names,
200
- :return_type => 'Attribute')
200
+ :return_type => 'AttributeEntityListing')
201
201
  if @api_client.config.debugging
202
- @api_client.config.logger.debug "API called: AttributesApi#get_attribute_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
202
+ @api_client.config.logger.debug "API called: AttributesApi#get_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
203
203
  end
204
204
  return data, status_code, headers
205
205
  end
@@ -209,8 +209,8 @@ module PureCloud
209
209
  # @param body Attribute
210
210
  # @param [Hash] opts the optional parameters
211
211
  # @return [Attribute]
212
- def post(body, opts = {})
213
- data, status_code, headers = post_with_http_info(body, opts)
212
+ def post_attributes(body, opts = {})
213
+ data, status_code, headers = post_attributes_with_http_info(body, opts)
214
214
  return data
215
215
  end
216
216
 
@@ -219,13 +219,13 @@ module PureCloud
219
219
  # @param body Attribute
220
220
  # @param [Hash] opts the optional parameters
221
221
  # @return [Array<(Attribute, Fixnum, Hash)>] Attribute data, response status code and response headers
222
- def post_with_http_info(body, opts = {})
222
+ def post_attributes_with_http_info(body, opts = {})
223
223
  if @api_client.config.debugging
224
- @api_client.config.logger.debug "Calling API: AttributesApi#post ..."
224
+ @api_client.config.logger.debug "Calling API: AttributesApi#post_attributes ..."
225
225
  end
226
226
 
227
227
  # verify the required parameter 'body' is set
228
- fail "Missing the required parameter 'body' when calling post" if body.nil?
228
+ fail "Missing the required parameter 'body' when calling post_attributes" if body.nil?
229
229
 
230
230
  # resource path
231
231
  local_var_path = "/api/v2/attributes".sub('{format}','json')
@@ -259,7 +259,7 @@ module PureCloud
259
259
  :auth_names => auth_names,
260
260
  :return_type => 'Attribute')
261
261
  if @api_client.config.debugging
262
- @api_client.config.logger.debug "API called: AttributesApi#post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
262
+ @api_client.config.logger.debug "API called: AttributesApi#post_attributes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
263
263
  end
264
264
  return data, status_code, headers
265
265
  end
@@ -223,64 +223,6 @@ module PureCloud
223
223
  return data, status_code, headers
224
224
  end
225
225
 
226
- # Get conversations
227
- #
228
- # @param [Hash] opts the optional parameters
229
- # @option opts [String] :communication_type Call or Chat communication filtering
230
- # @return [ConversationEntityListing]
231
- def get(opts = {})
232
- data, status_code, headers = get_with_http_info(opts)
233
- return data
234
- end
235
-
236
- # Get conversations
237
- #
238
- # @param [Hash] opts the optional parameters
239
- # @option opts [String] :communication_type Call or Chat communication filtering
240
- # @return [Array<(ConversationEntityListing, Fixnum, Hash)>] ConversationEntityListing data, response status code and response headers
241
- def get_with_http_info(opts = {})
242
- if @api_client.config.debugging
243
- @api_client.config.logger.debug "Calling API: ConversationsApi#get ..."
244
- end
245
-
246
- # resource path
247
- local_var_path = "/api/v2/conversations".sub('{format}','json')
248
-
249
- # query parameters
250
- query_params = {}
251
- query_params[:'communicationType'] = opts[:'communication_type'] if opts[:'communication_type']
252
-
253
- # header parameters
254
- header_params = {}
255
-
256
- # HTTP header 'Accept' (if needed)
257
- _header_accept = ['application/json']
258
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
259
-
260
- # HTTP header 'Content-Type'
261
- _header_content_type = ['application/json']
262
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
263
-
264
- # form parameters
265
- form_params = {}
266
-
267
- # http body (model)
268
- post_body = nil
269
-
270
- auth_names = ['PureCloud Auth']
271
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
272
- :header_params => header_params,
273
- :query_params => query_params,
274
- :form_params => form_params,
275
- :body => post_body,
276
- :auth_names => auth_names,
277
- :return_type => 'ConversationEntityListing')
278
- if @api_client.config.debugging
279
- @api_client.config.logger.debug "API called: ConversationsApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
280
- end
281
- return data, status_code, headers
282
- end
283
-
284
226
  # Get callback conversations
285
227
  #
286
228
  # @param [Hash] opts the optional parameters
@@ -1585,6 +1527,64 @@ module PureCloud
1585
1527
  return data, status_code, headers
1586
1528
  end
1587
1529
 
1530
+ # Get conversations
1531
+ #
1532
+ # @param [Hash] opts the optional parameters
1533
+ # @option opts [String] :communication_type Call or Chat communication filtering
1534
+ # @return [ConversationEntityListing]
1535
+ def get_conversations(opts = {})
1536
+ data, status_code, headers = get_conversations_with_http_info(opts)
1537
+ return data
1538
+ end
1539
+
1540
+ # Get conversations
1541
+ #
1542
+ # @param [Hash] opts the optional parameters
1543
+ # @option opts [String] :communication_type Call or Chat communication filtering
1544
+ # @return [Array<(ConversationEntityListing, Fixnum, Hash)>] ConversationEntityListing data, response status code and response headers
1545
+ def get_conversations_with_http_info(opts = {})
1546
+ if @api_client.config.debugging
1547
+ @api_client.config.logger.debug "Calling API: ConversationsApi#get_conversations ..."
1548
+ end
1549
+
1550
+ # resource path
1551
+ local_var_path = "/api/v2/conversations".sub('{format}','json')
1552
+
1553
+ # query parameters
1554
+ query_params = {}
1555
+ query_params[:'communicationType'] = opts[:'communication_type'] if opts[:'communication_type']
1556
+
1557
+ # header parameters
1558
+ header_params = {}
1559
+
1560
+ # HTTP header 'Accept' (if needed)
1561
+ _header_accept = ['application/json']
1562
+ _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
1563
+
1564
+ # HTTP header 'Content-Type'
1565
+ _header_content_type = ['application/json']
1566
+ header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
1567
+
1568
+ # form parameters
1569
+ form_params = {}
1570
+
1571
+ # http body (model)
1572
+ post_body = nil
1573
+
1574
+ auth_names = ['PureCloud Auth']
1575
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1576
+ :header_params => header_params,
1577
+ :query_params => query_params,
1578
+ :form_params => form_params,
1579
+ :body => post_body,
1580
+ :auth_names => auth_names,
1581
+ :return_type => 'ConversationEntityListing')
1582
+ if @api_client.config.debugging
1583
+ @api_client.config.logger.debug "API called: ConversationsApi#get_conversations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1584
+ end
1585
+ return data, status_code, headers
1586
+ end
1587
+
1588
1588
  # Get a conversation by id
1589
1589
  #
1590
1590
  # @param conversation_id conversationId
@@ -84,67 +84,6 @@ module PureCloud
84
84
  return data, status_code, headers
85
85
  end
86
86
 
87
- # Gets an Organization's Greetings
88
- #
89
- # @param [Hash] opts the optional parameters
90
- # @option opts [Integer] :page_size Page size (default to 25)
91
- # @option opts [Integer] :page_number Page number (default to 1)
92
- # @return [DomainEntityListing]
93
- def get(opts = {})
94
- data, status_code, headers = get_with_http_info(opts)
95
- return data
96
- end
97
-
98
- # Gets an Organization&#39;s Greetings
99
- #
100
- # @param [Hash] opts the optional parameters
101
- # @option opts [Integer] :page_size Page size
102
- # @option opts [Integer] :page_number Page number
103
- # @return [Array<(DomainEntityListing, Fixnum, Hash)>] DomainEntityListing data, response status code and response headers
104
- def get_with_http_info(opts = {})
105
- if @api_client.config.debugging
106
- @api_client.config.logger.debug "Calling API: GreetingsApi#get ..."
107
- end
108
-
109
- # resource path
110
- local_var_path = "/api/v2/greetings".sub('{format}','json')
111
-
112
- # query parameters
113
- query_params = {}
114
- query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
115
- query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
116
-
117
- # header parameters
118
- header_params = {}
119
-
120
- # HTTP header 'Accept' (if needed)
121
- _header_accept = ['application/json']
122
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
123
-
124
- # HTTP header 'Content-Type'
125
- _header_content_type = ['application/json']
126
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
127
-
128
- # form parameters
129
- form_params = {}
130
-
131
- # http body (model)
132
- post_body = nil
133
-
134
- auth_names = ['PureCloud Auth']
135
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
136
- :header_params => header_params,
137
- :query_params => query_params,
138
- :form_params => form_params,
139
- :body => post_body,
140
- :auth_names => auth_names,
141
- :return_type => 'DomainEntityListing')
142
- if @api_client.config.debugging
143
- @api_client.config.logger.debug "API called: GreetingsApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
144
- end
145
- return data, status_code, headers
146
- end
147
-
148
87
  # Get an Organization's DefaultGreetingList
149
88
  #
150
89
  # @param [Hash] opts the optional parameters
@@ -327,6 +266,67 @@ module PureCloud
327
266
  return data, status_code, headers
328
267
  end
329
268
 
269
+ # Gets an Organization's Greetings
270
+ #
271
+ # @param [Hash] opts the optional parameters
272
+ # @option opts [Integer] :page_size Page size (default to 25)
273
+ # @option opts [Integer] :page_number Page number (default to 1)
274
+ # @return [DomainEntityListing]
275
+ def get_greetings(opts = {})
276
+ data, status_code, headers = get_greetings_with_http_info(opts)
277
+ return data
278
+ end
279
+
280
+ # Gets an Organization&#39;s Greetings
281
+ #
282
+ # @param [Hash] opts the optional parameters
283
+ # @option opts [Integer] :page_size Page size
284
+ # @option opts [Integer] :page_number Page number
285
+ # @return [Array<(DomainEntityListing, Fixnum, Hash)>] DomainEntityListing data, response status code and response headers
286
+ def get_greetings_with_http_info(opts = {})
287
+ if @api_client.config.debugging
288
+ @api_client.config.logger.debug "Calling API: GreetingsApi#get_greetings ..."
289
+ end
290
+
291
+ # resource path
292
+ local_var_path = "/api/v2/greetings".sub('{format}','json')
293
+
294
+ # query parameters
295
+ query_params = {}
296
+ query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
297
+ query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
298
+
299
+ # header parameters
300
+ header_params = {}
301
+
302
+ # HTTP header 'Accept' (if needed)
303
+ _header_accept = ['application/json']
304
+ _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
305
+
306
+ # HTTP header 'Content-Type'
307
+ _header_content_type = ['application/json']
308
+ header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
309
+
310
+ # form parameters
311
+ form_params = {}
312
+
313
+ # http body (model)
314
+ post_body = nil
315
+
316
+ auth_names = ['PureCloud Auth']
317
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
318
+ :header_params => header_params,
319
+ :query_params => query_params,
320
+ :form_params => form_params,
321
+ :body => post_body,
322
+ :auth_names => auth_names,
323
+ :return_type => 'DomainEntityListing')
324
+ if @api_client.config.debugging
325
+ @api_client.config.logger.debug "API called: GreetingsApi#get_greetings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
326
+ end
327
+ return data, status_code, headers
328
+ end
329
+
330
330
  # Get a list of the Group's Greetings
331
331
  #
332
332
  # @param group_id Group ID
@@ -584,8 +584,8 @@ module PureCloud
584
584
  # @param body The Greeting to create
585
585
  # @param [Hash] opts the optional parameters
586
586
  # @return [DefaultGreetingList]
587
- def post(body, opts = {})
588
- data, status_code, headers = post_with_http_info(body, opts)
587
+ def post_greetings(body, opts = {})
588
+ data, status_code, headers = post_greetings_with_http_info(body, opts)
589
589
  return data
590
590
  end
591
591
 
@@ -594,13 +594,13 @@ module PureCloud
594
594
  # @param body The Greeting to create
595
595
  # @param [Hash] opts the optional parameters
596
596
  # @return [Array<(DefaultGreetingList, Fixnum, Hash)>] DefaultGreetingList data, response status code and response headers
597
- def post_with_http_info(body, opts = {})
597
+ def post_greetings_with_http_info(body, opts = {})
598
598
  if @api_client.config.debugging
599
- @api_client.config.logger.debug "Calling API: GreetingsApi#post ..."
599
+ @api_client.config.logger.debug "Calling API: GreetingsApi#post_greetings ..."
600
600
  end
601
601
 
602
602
  # verify the required parameter 'body' is set
603
- fail "Missing the required parameter 'body' when calling post" if body.nil?
603
+ fail "Missing the required parameter 'body' when calling post_greetings" if body.nil?
604
604
 
605
605
  # resource path
606
606
  local_var_path = "/api/v2/greetings".sub('{format}','json')
@@ -634,7 +634,7 @@ module PureCloud
634
634
  :auth_names => auth_names,
635
635
  :return_type => 'DefaultGreetingList')
636
636
  if @api_client.config.debugging
637
- @api_client.config.logger.debug "API called: GreetingsApi#post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
637
+ @api_client.config.logger.debug "API called: GreetingsApi#post_greetings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
638
638
  end
639
639
  return data, status_code, headers
640
640
  end