purecloud 0.44.1 → 0.45.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (436) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/config-ruby.json +1 -1
  4. data/doc_out/Account.html.md +12 -12
  5. data/doc_out/AddressListing.html.md +2 -2
  6. data/doc_out/AgentActivityEntityListing.html.md +2 -2
  7. data/doc_out/AlertingApi.html.md +15 -18
  8. data/doc_out/AnalyticsApi.html.md +45 -54
  9. data/doc_out/AnalyticsSession.html.md +6 -0
  10. data/doc_out/AssetEntityListing.html.md +2 -2
  11. data/doc_out/AttributeEntityListing.html.md +2 -2
  12. data/doc_out/AttributesApi.html.md +15 -18
  13. data/doc_out/AuthorizationApi.html.md +43 -51
  14. data/doc_out/AvailableAdditionalServiceListing.html.md +2 -2
  15. data/doc_out/AvailableTopicEntityListing.html.md +2 -2
  16. data/doc_out/BillingAddress.html.md +5 -5
  17. data/doc_out/BillingContactListing.html.md +2 -2
  18. data/doc_out/CalibrationEntityListing.html.md +2 -2
  19. data/doc_out/CallConversationEntityListing.html.md +2 -2
  20. data/doc_out/CallableTimeSetEntityListing.html.md +2 -2
  21. data/doc_out/CallbackConversationEntityListing.html.md +2 -2
  22. data/doc_out/CampaignEntityListing.html.md +2 -2
  23. data/doc_out/CampaignSequenceEntityListing.html.md +2 -2
  24. data/doc_out/CarrierEntityListing.html.md +2 -2
  25. data/doc_out/CertificateAuthorityEntityListing.html.md +2 -2
  26. data/doc_out/ChannelEntityListing.html.md +2 -2
  27. data/doc_out/ChannelTopicEntityListing.html.md +2 -2
  28. data/doc_out/ChatConversationEntityListing.html.md +2 -2
  29. data/doc_out/CommandStatusEntityListing.html.md +2 -2
  30. data/doc_out/ConfigurationApi.html.md +5 -6
  31. data/doc_out/ConsumedResourcesEntityListing.html.md +2 -2
  32. data/doc_out/ConsumingResourcesEntityListing.html.md +2 -2
  33. data/doc_out/ContactListEntityListing.html.md +2 -2
  34. data/doc_out/ContactListing.html.md +2 -2
  35. data/doc_out/ContactSales.html.md +10 -10
  36. data/doc_out/ContentManagementApi.html.md +50 -52
  37. data/doc_out/Contract.html.md +3 -3
  38. data/doc_out/ConversationEntityListing.html.md +2 -2
  39. data/doc_out/ConversationsApi.html.md +140 -168
  40. data/doc_out/CreateCallbackCommand.html.md +2 -1
  41. data/doc_out/DIDEntityListing.html.md +2 -2
  42. data/doc_out/DIDPoolEntityListing.html.md +2 -2
  43. data/doc_out/DependencyObjectEntityListing.html.md +2 -2
  44. data/doc_out/DependencyTypeEntityListing.html.md +2 -2
  45. data/doc_out/Deployment.html.md +17 -0
  46. data/doc_out/DeploymentEntityListing.html.md +22 -0
  47. data/doc_out/DncList.html.md +4 -0
  48. data/doc_out/DncListEntityListing.html.md +2 -2
  49. data/doc_out/DocumentAuditEntityListing.html.md +2 -2
  50. data/doc_out/DocumentEntityListing.html.md +2 -2
  51. data/doc_out/DomainBillingPeriodEntityListing.html.md +2 -2
  52. data/doc_out/DomainEdgeSoftwareUpdateDto.html.md +1 -1
  53. data/doc_out/DomainEntityListing.html.md +2 -2
  54. data/doc_out/DomainEntityListingEvaluationForm.html.md +2 -2
  55. data/doc_out/DomainEntityListingQueryResult.html.md +2 -2
  56. data/doc_out/DomainInvoiceEntityListing.html.md +2 -2
  57. data/doc_out/DomainLogicalInterface.html.md +3 -3
  58. data/doc_out/DomainThirdPartyAccountEntityListing.html.md +2 -2
  59. data/doc_out/DomainThirdPartySubscriptionEntityListing.html.md +2 -2
  60. data/doc_out/DomainVoiceRateExtendedResponseItemEntityListing.html.md +2 -2
  61. data/doc_out/DomainVoiceRateInternationalResponseItemEntityListing.html.md +2 -2
  62. data/doc_out/DomainVoiceRateResponseItemEntityListing.html.md +2 -2
  63. data/doc_out/EdgeEntityListing.html.md +2 -2
  64. data/doc_out/EdgeGroup.html.md +1 -1
  65. data/doc_out/EdgeGroupEntityListing.html.md +2 -2
  66. data/doc_out/EdgeLineEntityListing.html.md +2 -2
  67. data/doc_out/EmailConversationEntityListing.html.md +2 -2
  68. data/doc_out/EmailMessageListing.html.md +2 -2
  69. data/doc_out/EncryptionKeyEntityListing.html.md +2 -2
  70. data/doc_out/Endpoint.html.md +2 -2
  71. data/doc_out/EndpointEntityListing.html.md +2 -2
  72. data/doc_out/EvaluationEntityListing.html.md +2 -2
  73. data/doc_out/EvaluationFormEntityListing.html.md +2 -2
  74. data/doc_out/EvaluatorActivityEntityListing.html.md +2 -2
  75. data/doc_out/ExpressionResponse.html.md +1 -1
  76. data/doc_out/ExtensionEntityListing.html.md +2 -2
  77. data/doc_out/ExtensionPoolEntityListing.html.md +2 -2
  78. data/doc_out/ExternalContact.html.md +1 -0
  79. data/doc_out/ExternalOrganization.html.md +1 -0
  80. data/doc_out/ExternalOrganizationListing.html.md +2 -2
  81. data/doc_out/FaxApi.html.md +5 -6
  82. data/doc_out/FaxDocumentEntityListing.html.md +2 -2
  83. data/doc_out/Flow.html.md +5 -2
  84. data/doc_out/FlowConfigMetaDataEntityListing.html.md +2 -2
  85. data/doc_out/FlowEntityListing.html.md +2 -2
  86. data/doc_out/FlowVersionConfigMetaDataEntityListing.html.md +2 -2
  87. data/doc_out/FlowVersionEntityListing.html.md +2 -2
  88. data/doc_out/GeolocationApi.html.md +10 -12
  89. data/doc_out/Gistener.html.md +2 -2
  90. data/doc_out/Greeting.html.md +3 -3
  91. data/doc_out/GroupEntityListing.html.md +2 -2
  92. data/doc_out/GroupTag.html.md +1 -1
  93. data/doc_out/GroupsApi.html.md +20 -22
  94. data/doc_out/HardwareRateListing.html.md +2 -2
  95. data/doc_out/IVREntityListing.html.md +2 -2
  96. data/doc_out/IdentityProviderApi.html.md +35 -42
  97. data/doc_out/InboundDomain.html.md +1 -1
  98. data/doc_out/InboundDomainEntityListing.html.md +2 -2
  99. data/doc_out/InboundRouteEntityListing.html.md +2 -2
  100. data/doc_out/IntegrationEntityListing.html.md +2 -2
  101. data/doc_out/IntegrationTypeEntityListing.html.md +2 -2
  102. data/doc_out/InteractionStatsAlertContainer.html.md +2 -2
  103. data/doc_out/InteractionStatsRuleContainer.html.md +2 -2
  104. data/doc_out/JsonNode.html.md +1 -1
  105. data/doc_out/KeywordSetEntityListing.html.md +2 -2
  106. data/doc_out/LanguageEntityListing.html.md +2 -2
  107. data/doc_out/LanguagesApi.html.md +13 -13
  108. data/doc_out/LibraryEntityListing.html.md +2 -2
  109. data/doc_out/LineBaseEntityListing.html.md +2 -2
  110. data/doc_out/LineEntityListing.html.md +2 -2
  111. data/doc_out/LinkedEntityListingFlowDetails.html.md +2 -2
  112. data/doc_out/LinkedEntityListingWorkItemSearchDetails.html.md +2 -2
  113. data/doc_out/LocationsApi.html.md +10 -10
  114. data/doc_out/LogicalInterfaceEntityListing.html.md +2 -2
  115. data/doc_out/NoteListing.html.md +2 -2
  116. data/doc_out/NotificationsApi.html.md +10 -12
  117. data/doc_out/OAuthApi.html.md +10 -12
  118. data/doc_out/OAuthClientEntityListing.html.md +2 -2
  119. data/doc_out/OAuthProviderEntityListing.html.md +2 -2
  120. data/doc_out/Operation.html.md +16 -0
  121. data/doc_out/Order.html.md +2 -2
  122. data/doc_out/OrganizationPresence.html.md +1 -0
  123. data/doc_out/OrganizationPresenceEntityListing.html.md +2 -2
  124. data/doc_out/OrganizationRoleEntityListing.html.md +2 -2
  125. data/doc_out/OrphanRecordingListing.html.md +2 -2
  126. data/doc_out/OutboundApi.html.md +125 -145
  127. data/doc_out/OutboundRoute.html.md +1 -1
  128. data/doc_out/OutboundRouteEntityListing.html.md +2 -2
  129. data/doc_out/PaymentMethod.html.md +3 -3
  130. data/doc_out/PaymentMethodListing.html.md +2 -2
  131. data/doc_out/PermissionCollectionEntityListing.html.md +2 -2
  132. data/doc_out/Phone.html.md +3 -3
  133. data/doc_out/PhoneBase.html.md +2 -2
  134. data/doc_out/PhoneBaseEntityListing.html.md +2 -2
  135. data/doc_out/PhoneEntityListing.html.md +2 -2
  136. data/doc_out/PhoneMetaBaseEntityListing.html.md +2 -2
  137. data/doc_out/PhysicalInterfaceEntityListing.html.md +2 -2
  138. data/doc_out/PolicyEntityListing.html.md +2 -2
  139. data/doc_out/PresenceApi.html.md +5 -6
  140. data/doc_out/Prompt.html.md +1 -0
  141. data/doc_out/PromptAssetEntityListing.html.md +2 -2
  142. data/doc_out/PromptEntityListing.html.md +2 -2
  143. data/doc_out/Publication.html.md +1 -1
  144. data/doc_out/QualityApi.html.md +55 -58
  145. data/doc_out/QualityAuditPage.html.md +2 -2
  146. data/doc_out/QueueEntityListing.html.md +2 -2
  147. data/doc_out/Quote.html.md +3 -3
  148. data/doc_out/QuoteListing.html.md +2 -2
  149. data/doc_out/RecordingApi.html.md +30 -36
  150. data/doc_out/RelationshipListing.html.md +2 -2
  151. data/doc_out/ReportMetaDataEntityListing.html.md +2 -2
  152. data/doc_out/ReportRunEntryEntityDomainListing.html.md +2 -2
  153. data/doc_out/ReportSchedule.html.md +3 -3
  154. data/doc_out/ReportScheduleEntityListing.html.md +2 -2
  155. data/doc_out/ResourcePermissionPolicy.html.md +1 -0
  156. data/doc_out/ResponseEntityList.html.md +2 -2
  157. data/doc_out/ResponseEntityListing.html.md +2 -2
  158. data/doc_out/ResponseManagementApi.html.md +25 -30
  159. data/doc_out/ResponseSetEntityListing.html.md +2 -2
  160. data/doc_out/RoutingApi.html.md +80 -94
  161. data/doc_out/RuleSetEntityListing.html.md +2 -2
  162. data/doc_out/SceneEntityListing.html.md +2 -2
  163. data/doc_out/SceneGroupEntityListing.html.md +2 -2
  164. data/doc_out/ScheduleEntityListing.html.md +2 -2
  165. data/doc_out/ScheduleGroupEntityListing.html.md +2 -2
  166. data/doc_out/SchemaCategoryEntityListing.html.md +2 -2
  167. data/doc_out/SchemaReferenceEntityListing.html.md +2 -2
  168. data/doc_out/ScriptEntityListing.html.md +2 -2
  169. data/doc_out/SearchApi.html.md +50 -46
  170. data/doc_out/SecurityProfileEntityListing.html.md +2 -2
  171. data/doc_out/ServiceEntityListing.html.md +2 -2
  172. data/doc_out/Share.html.md +1 -0
  173. data/doc_out/ShareEntityListing.html.md +2 -2
  174. data/doc_out/Site.html.md +1 -1
  175. data/doc_out/SiteEntityListing.html.md +2 -2
  176. data/doc_out/SkillEntityListing.html.md +2 -2
  177. data/doc_out/SocialAccount.html.md +2 -2
  178. data/doc_out/SocialConversationEntityListing.html.md +2 -2
  179. data/doc_out/SocializeFilterRequest.html.md +1 -1
  180. data/doc_out/SpreadsheetTransformEntityListing.html.md +2 -2
  181. data/doc_out/StationEntityListing.html.md +2 -2
  182. data/doc_out/SuggestApi.html.md +20 -16
  183. data/doc_out/SupportCreditListing.html.md +2 -2
  184. data/doc_out/SystemPromptAssetEntityListing.html.md +2 -2
  185. data/doc_out/SystemPromptEntityListing.html.md +2 -2
  186. data/doc_out/TagValueEntityListing.html.md +2 -2
  187. data/doc_out/TelephonyProvidersEdgeApi.html.md +160 -192
  188. data/doc_out/TemplateEntityListing.html.md +2 -2
  189. data/doc_out/TextTableTransformEntityListing.html.md +2 -2
  190. data/doc_out/TimeOffRequest.html.md +30 -0
  191. data/doc_out/TimeOffRequestList.html.md +16 -0
  192. data/doc_out/TimeOffRequestPatch.html.md +13 -0
  193. data/doc_out/TimeZoneEntityListing.html.md +2 -2
  194. data/doc_out/TrunkEntityListing.html.md +2 -2
  195. data/doc_out/TrunkMetabaseEntityListing.html.md +2 -2
  196. data/doc_out/TwitterExpression.html.md +4 -4
  197. data/doc_out/TwitterId.html.md +17 -0
  198. data/doc_out/UserActionCategoryEntityListing.html.md +2 -2
  199. data/doc_out/UserActionMetadataEntityListing.html.md +1 -1
  200. data/doc_out/UserEntityListing.html.md +2 -2
  201. data/doc_out/UserQueueEntityListing.html.md +2 -2
  202. data/doc_out/UserRecordingEntityListing.html.md +2 -2
  203. data/doc_out/UserRecordingsApi.html.md +5 -4
  204. data/doc_out/UserSkillEntityListing.html.md +2 -2
  205. data/doc_out/UsersApi.html.md +86 -99
  206. data/doc_out/UsersEntityListing.html.md +2 -2
  207. data/doc_out/UtilitiesApi.html.md +5 -6
  208. data/doc_out/VideoConversationEntityListing.html.md +2 -2
  209. data/doc_out/VoiceRateInternationalEntityListing.html.md +2 -2
  210. data/doc_out/VoiceXmlOperation.html.md +1 -0
  211. data/doc_out/VoiceXmlOperationEntityListing.html.md +2 -2
  212. data/doc_out/VoicemailApi.html.md +10 -12
  213. data/doc_out/WaypointEntityListing.html.md +2 -2
  214. data/doc_out/WorkspaceEntityListing.html.md +2 -2
  215. data/doc_out/WorkspaceMemberEntityListing.html.md +2 -2
  216. data/doc_out/WrapupCodeEntityListing.html.md +2 -2
  217. data/doc_out/index.html.md +3 -3
  218. data/lib/purecloud.rb +7 -0
  219. data/lib/purecloud/api/alerting_api.rb +27 -18
  220. data/lib/purecloud/api/analytics_api.rb +81 -54
  221. data/lib/purecloud/api/attributes_api.rb +27 -18
  222. data/lib/purecloud/api/authorization_api.rb +74 -50
  223. data/lib/purecloud/api/configuration_api.rb +9 -6
  224. data/lib/purecloud/api/content_management_api.rb +90 -60
  225. data/lib/purecloud/api/conversations_api.rb +252 -168
  226. data/lib/purecloud/api/fax_api.rb +9 -6
  227. data/lib/purecloud/api/geolocation_api.rb +18 -12
  228. data/lib/purecloud/api/groups_api.rb +36 -24
  229. data/lib/purecloud/api/identity_provider_api.rb +63 -42
  230. data/lib/purecloud/api/languages_api.rb +21 -12
  231. data/lib/purecloud/api/locations_api.rb +18 -12
  232. data/lib/purecloud/api/notifications_api.rb +18 -12
  233. data/lib/purecloud/api/o_auth_api.rb +18 -12
  234. data/lib/purecloud/api/outbound_api.rb +220 -148
  235. data/lib/purecloud/api/presence_api.rb +9 -6
  236. data/lib/purecloud/api/quality_api.rb +99 -66
  237. data/lib/purecloud/api/recording_api.rb +54 -36
  238. data/lib/purecloud/api/response_management_api.rb +45 -30
  239. data/lib/purecloud/api/routing_api.rb +144 -96
  240. data/lib/purecloud/api/search_api.rb +90 -60
  241. data/lib/purecloud/api/suggest_api.rb +36 -24
  242. data/lib/purecloud/api/telephony_providers_edge_api.rb +288 -192
  243. data/lib/purecloud/api/user_recordings_api.rb +9 -6
  244. data/lib/purecloud/api/users_api.rb +145 -100
  245. data/lib/purecloud/api/utilities_api.rb +9 -6
  246. data/lib/purecloud/api/voicemail_api.rb +18 -12
  247. data/lib/purecloud/api_client.rb +1 -1
  248. data/lib/purecloud/models/account.rb +12 -0
  249. data/lib/purecloud/models/address_listing.rb +17 -17
  250. data/lib/purecloud/models/agent_activity_entity_listing.rb +17 -17
  251. data/lib/purecloud/models/aggregate_metric_data.rb +1 -1
  252. data/lib/purecloud/models/analytics_conversation_segment.rb +1 -1
  253. data/lib/purecloud/models/analytics_query_predicate.rb +2 -2
  254. data/lib/purecloud/models/analytics_session.rb +66 -1
  255. data/lib/purecloud/models/asset_entity_listing.rb +17 -17
  256. data/lib/purecloud/models/attribute_entity_listing.rb +17 -17
  257. data/lib/purecloud/models/available_additional_service_listing.rb +17 -17
  258. data/lib/purecloud/models/available_topic_entity_listing.rb +17 -17
  259. data/lib/purecloud/models/billing_address.rb +5 -0
  260. data/lib/purecloud/models/billing_contact_listing.rb +17 -17
  261. data/lib/purecloud/models/calibration_entity_listing.rb +17 -17
  262. data/lib/purecloud/models/call_conversation_entity_listing.rb +17 -17
  263. data/lib/purecloud/models/callable_time_set_entity_listing.rb +17 -17
  264. data/lib/purecloud/models/callback_conversation_entity_listing.rb +17 -17
  265. data/lib/purecloud/models/campaign_entity_listing.rb +17 -17
  266. data/lib/purecloud/models/campaign_sequence_entity_listing.rb +17 -17
  267. data/lib/purecloud/models/carrier_entity_listing.rb +17 -17
  268. data/lib/purecloud/models/certificate_authority_entity_listing.rb +17 -17
  269. data/lib/purecloud/models/channel_entity_listing.rb +17 -17
  270. data/lib/purecloud/models/channel_topic_entity_listing.rb +17 -17
  271. data/lib/purecloud/models/chat_conversation_entity_listing.rb +17 -17
  272. data/lib/purecloud/models/command_status_entity_listing.rb +17 -17
  273. data/lib/purecloud/models/consumed_resources_entity_listing.rb +17 -17
  274. data/lib/purecloud/models/consuming_resources_entity_listing.rb +17 -17
  275. data/lib/purecloud/models/contact_list_entity_listing.rb +17 -17
  276. data/lib/purecloud/models/contact_listing.rb +17 -17
  277. data/lib/purecloud/models/contact_sales.rb +10 -0
  278. data/lib/purecloud/models/contract.rb +3 -0
  279. data/lib/purecloud/models/conversation_entity_listing.rb +17 -17
  280. data/lib/purecloud/models/create_callback_command.rb +18 -8
  281. data/lib/purecloud/models/create_share_request.rb +1 -1
  282. data/lib/purecloud/models/create_share_request_member.rb +1 -1
  283. data/lib/purecloud/models/create_share_response.rb +1 -1
  284. data/lib/purecloud/models/dependency_object_entity_listing.rb +17 -17
  285. data/lib/purecloud/models/dependency_type_entity_listing.rb +17 -17
  286. data/lib/purecloud/models/deployment.rb +209 -0
  287. data/lib/purecloud/models/deployment_entity_listing.rb +257 -0
  288. data/lib/purecloud/models/did_entity_listing.rb +17 -17
  289. data/lib/purecloud/models/did_pool_entity_listing.rb +17 -17
  290. data/lib/purecloud/models/dnc_list.rb +56 -1
  291. data/lib/purecloud/models/dnc_list_entity_listing.rb +17 -17
  292. data/lib/purecloud/models/document_audit_entity_listing.rb +17 -17
  293. data/lib/purecloud/models/document_entity_listing.rb +17 -17
  294. data/lib/purecloud/models/domain_billing_period_entity_listing.rb +17 -17
  295. data/lib/purecloud/models/domain_edge_software_update_dto.rb +1 -0
  296. data/lib/purecloud/models/domain_entity_listing.rb +17 -17
  297. data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +17 -17
  298. data/lib/purecloud/models/domain_entity_listing_query_result.rb +17 -17
  299. data/lib/purecloud/models/domain_invoice_entity_listing.rb +17 -17
  300. data/lib/purecloud/models/domain_logical_interface.rb +3 -0
  301. data/lib/purecloud/models/domain_third_party_account_entity_listing.rb +17 -17
  302. data/lib/purecloud/models/domain_third_party_subscription_entity_listing.rb +17 -17
  303. data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +17 -17
  304. data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +17 -17
  305. data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +17 -17
  306. data/lib/purecloud/models/edge_entity_listing.rb +17 -17
  307. data/lib/purecloud/models/edge_group_entity_listing.rb +17 -17
  308. data/lib/purecloud/models/edge_line_entity_listing.rb +17 -17
  309. data/lib/purecloud/models/email_conversation_entity_listing.rb +17 -17
  310. data/lib/purecloud/models/email_message_listing.rb +17 -17
  311. data/lib/purecloud/models/encryption_key_entity_listing.rb +17 -17
  312. data/lib/purecloud/models/endpoint.rb +2 -0
  313. data/lib/purecloud/models/endpoint_entity_listing.rb +17 -17
  314. data/lib/purecloud/models/evaluation_entity_listing.rb +17 -17
  315. data/lib/purecloud/models/evaluation_form_entity_listing.rb +17 -17
  316. data/lib/purecloud/models/evaluator_activity_entity_listing.rb +17 -17
  317. data/lib/purecloud/models/extension_entity_listing.rb +17 -17
  318. data/lib/purecloud/models/extension_pool_entity_listing.rb +17 -17
  319. data/lib/purecloud/models/external_contact.rb +11 -1
  320. data/lib/purecloud/models/external_organization.rb +11 -1
  321. data/lib/purecloud/models/external_organization_listing.rb +17 -17
  322. data/lib/purecloud/models/fax_document_entity_listing.rb +17 -17
  323. data/lib/purecloud/models/flow.rb +49 -19
  324. data/lib/purecloud/models/flow_config_meta_data_entity_listing.rb +17 -17
  325. data/lib/purecloud/models/flow_entity_listing.rb +17 -17
  326. data/lib/purecloud/models/flow_version_config_meta_data_entity_listing.rb +17 -17
  327. data/lib/purecloud/models/flow_version_entity_listing.rb +17 -17
  328. data/lib/purecloud/models/greeting.rb +3 -0
  329. data/lib/purecloud/models/group_entity_listing.rb +17 -17
  330. data/lib/purecloud/models/hardware_rate_listing.rb +17 -17
  331. data/lib/purecloud/models/inbound_domain.rb +1 -0
  332. data/lib/purecloud/models/inbound_domain_entity_listing.rb +17 -17
  333. data/lib/purecloud/models/inbound_route_entity_listing.rb +17 -17
  334. data/lib/purecloud/models/integration_entity_listing.rb +17 -17
  335. data/lib/purecloud/models/integration_type_entity_listing.rb +17 -17
  336. data/lib/purecloud/models/interaction_stats_alert_container.rb +17 -17
  337. data/lib/purecloud/models/interaction_stats_rule_container.rb +17 -17
  338. data/lib/purecloud/models/ivr_entity_listing.rb +17 -17
  339. data/lib/purecloud/models/json_node.rb +13 -13
  340. data/lib/purecloud/models/keyword_set_entity_listing.rb +17 -17
  341. data/lib/purecloud/models/language_entity_listing.rb +17 -17
  342. data/lib/purecloud/models/library_entity_listing.rb +17 -17
  343. data/lib/purecloud/models/line_base_entity_listing.rb +17 -17
  344. data/lib/purecloud/models/line_entity_listing.rb +17 -17
  345. data/lib/purecloud/models/linked_entity_listing_flow_details.rb +17 -17
  346. data/lib/purecloud/models/linked_entity_listing_work_item_search_details.rb +17 -17
  347. data/lib/purecloud/models/logical_interface_entity_listing.rb +17 -17
  348. data/lib/purecloud/models/management_unit.rb +1 -0
  349. data/lib/purecloud/models/note_listing.rb +17 -17
  350. data/lib/purecloud/models/o_auth_client_entity_listing.rb +17 -17
  351. data/lib/purecloud/models/o_auth_provider_entity_listing.rb +17 -17
  352. data/lib/purecloud/models/operation.rb +195 -0
  353. data/lib/purecloud/models/order.rb +2 -0
  354. data/lib/purecloud/models/organization_presence.rb +13 -1
  355. data/lib/purecloud/models/organization_presence_entity_listing.rb +17 -17
  356. data/lib/purecloud/models/organization_role_entity_listing.rb +17 -17
  357. data/lib/purecloud/models/orphan_recording_listing.rb +17 -17
  358. data/lib/purecloud/models/outbound_route.rb +1 -0
  359. data/lib/purecloud/models/outbound_route_entity_listing.rb +17 -17
  360. data/lib/purecloud/models/payment_method.rb +3 -0
  361. data/lib/purecloud/models/payment_method_listing.rb +17 -17
  362. data/lib/purecloud/models/permission_collection_entity_listing.rb +17 -17
  363. data/lib/purecloud/models/phone.rb +3 -0
  364. data/lib/purecloud/models/phone_base.rb +2 -0
  365. data/lib/purecloud/models/phone_base_entity_listing.rb +17 -17
  366. data/lib/purecloud/models/phone_entity_listing.rb +17 -17
  367. data/lib/purecloud/models/phone_meta_base_entity_listing.rb +17 -17
  368. data/lib/purecloud/models/physical_interface_entity_listing.rb +17 -17
  369. data/lib/purecloud/models/policy_entity_listing.rb +17 -17
  370. data/lib/purecloud/models/prompt.rb +11 -1
  371. data/lib/purecloud/models/prompt_asset_entity_listing.rb +17 -17
  372. data/lib/purecloud/models/prompt_entity_listing.rb +17 -17
  373. data/lib/purecloud/models/quality_audit_page.rb +17 -17
  374. data/lib/purecloud/models/queue_entity_listing.rb +17 -17
  375. data/lib/purecloud/models/quote.rb +3 -0
  376. data/lib/purecloud/models/quote_listing.rb +17 -17
  377. data/lib/purecloud/models/relationship_listing.rb +17 -17
  378. data/lib/purecloud/models/report_meta_data_entity_listing.rb +17 -17
  379. data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +17 -17
  380. data/lib/purecloud/models/report_schedule.rb +3 -1
  381. data/lib/purecloud/models/report_schedule_entity_listing.rb +17 -17
  382. data/lib/purecloud/models/resource_permission_policy.rb +13 -1
  383. data/lib/purecloud/models/response_entity_list.rb +17 -17
  384. data/lib/purecloud/models/response_entity_listing.rb +17 -17
  385. data/lib/purecloud/models/response_set_entity_listing.rb +17 -17
  386. data/lib/purecloud/models/rule_set_entity_listing.rb +17 -17
  387. data/lib/purecloud/models/scene_entity_listing.rb +17 -17
  388. data/lib/purecloud/models/scene_group_entity_listing.rb +17 -17
  389. data/lib/purecloud/models/schedule_entity_listing.rb +17 -17
  390. data/lib/purecloud/models/schedule_group_entity_listing.rb +17 -17
  391. data/lib/purecloud/models/schema_category_entity_listing.rb +17 -17
  392. data/lib/purecloud/models/schema_reference_entity_listing.rb +17 -17
  393. data/lib/purecloud/models/script_entity_listing.rb +17 -17
  394. data/lib/purecloud/models/security_profile_entity_listing.rb +17 -17
  395. data/lib/purecloud/models/service_entity_listing.rb +17 -17
  396. data/lib/purecloud/models/share.rb +12 -2
  397. data/lib/purecloud/models/share_entity_listing.rb +17 -17
  398. data/lib/purecloud/models/site.rb +1 -0
  399. data/lib/purecloud/models/site_entity_listing.rb +17 -17
  400. data/lib/purecloud/models/skill_entity_listing.rb +17 -17
  401. data/lib/purecloud/models/social_conversation_entity_listing.rb +17 -17
  402. data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +17 -17
  403. data/lib/purecloud/models/station_entity_listing.rb +17 -17
  404. data/lib/purecloud/models/support_credit_listing.rb +17 -17
  405. data/lib/purecloud/models/system_prompt_asset_entity_listing.rb +17 -17
  406. data/lib/purecloud/models/system_prompt_entity_listing.rb +17 -17
  407. data/lib/purecloud/models/tag_value_entity_listing.rb +17 -17
  408. data/lib/purecloud/models/template_entity_listing.rb +17 -17
  409. data/lib/purecloud/models/text_table_transform_entity_listing.rb +17 -17
  410. data/lib/purecloud/models/time_off_request.rb +356 -0
  411. data/lib/purecloud/models/time_off_request_list.rb +199 -0
  412. data/lib/purecloud/models/time_off_request_patch.rb +167 -0
  413. data/lib/purecloud/models/time_zone_entity_listing.rb +17 -17
  414. data/lib/purecloud/models/trunk_entity_listing.rb +17 -17
  415. data/lib/purecloud/models/trunk_metabase_entity_listing.rb +17 -17
  416. data/lib/purecloud/models/twitter_id.rb +213 -0
  417. data/lib/purecloud/models/user_action_category_entity_listing.rb +17 -17
  418. data/lib/purecloud/models/user_action_metadata_entity_listing.rb +11 -11
  419. data/lib/purecloud/models/user_entity_listing.rb +17 -17
  420. data/lib/purecloud/models/user_queue_entity_listing.rb +17 -17
  421. data/lib/purecloud/models/user_recording_entity_listing.rb +17 -17
  422. data/lib/purecloud/models/user_skill_entity_listing.rb +17 -17
  423. data/lib/purecloud/models/users_entity_listing.rb +17 -17
  424. data/lib/purecloud/models/video_conversation_entity_listing.rb +17 -17
  425. data/lib/purecloud/models/voice_rate_international_entity_listing.rb +17 -17
  426. data/lib/purecloud/models/voice_xml_operation.rb +11 -1
  427. data/lib/purecloud/models/voice_xml_operation_entity_listing.rb +17 -17
  428. data/lib/purecloud/models/waypoint_entity_listing.rb +17 -17
  429. data/lib/purecloud/models/workspace_entity_listing.rb +17 -17
  430. data/lib/purecloud/models/workspace_member_entity_listing.rb +17 -17
  431. data/lib/purecloud/models/wrapup_code_entity_listing.rb +17 -17
  432. data/lib/purecloud/version.rb +1 -1
  433. data/newVersion.md +1 -1
  434. data/swagger.json +1 -1
  435. data/version.json +1 -1
  436. metadata +16 -2
@@ -0,0 +1,209 @@
1
+ =begin
2
+ PureCloud Platform API
3
+
4
+ With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
5
+
6
+ OpenAPI spec version: v2
7
+ Contact: DeveloperEvangelists@inin.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ License: ININ
11
+ http://www.inin.com
12
+
13
+ Terms of Service: https://developer.mypurecloud.com/tos
14
+
15
+ =end
16
+
17
+ require 'date'
18
+
19
+ module PureCloud
20
+ class Deployment
21
+ # The globally unique identifier for the object.
22
+ attr_accessor :id
23
+
24
+ attr_accessor :name
25
+
26
+ attr_accessor :key
27
+
28
+ attr_accessor :hosts
29
+
30
+ # The URI for this object
31
+ attr_accessor :self_uri
32
+
33
+ # Attribute mapping from ruby-style variable name to JSON key.
34
+ def self.attribute_map
35
+ {
36
+
37
+ :'id' => :'id',
38
+
39
+ :'name' => :'name',
40
+
41
+ :'key' => :'key',
42
+
43
+ :'hosts' => :'hosts',
44
+
45
+ :'self_uri' => :'selfUri'
46
+
47
+ }
48
+ end
49
+
50
+ # Attribute type mapping.
51
+ def self.swagger_types
52
+ {
53
+ :'id' => :'String',
54
+ :'name' => :'String',
55
+ :'key' => :'String',
56
+ :'hosts' => :'Array<String>',
57
+ :'self_uri' => :'String'
58
+
59
+ }
60
+ end
61
+
62
+ def initialize(attributes = {})
63
+ return unless attributes.is_a?(Hash)
64
+
65
+ # convert string to symbol for hash key
66
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
67
+
68
+
69
+ if attributes[:'id']
70
+ self.id = attributes[:'id']
71
+ end
72
+
73
+ if attributes[:'name']
74
+ self.name = attributes[:'name']
75
+ end
76
+
77
+ if attributes[:'key']
78
+ self.key = attributes[:'key']
79
+ end
80
+
81
+ if attributes[:'hosts']
82
+ if (value = attributes[:'hosts']).is_a?(Array)
83
+ self.hosts = value
84
+ end
85
+ end
86
+
87
+ if attributes[:'selfUri']
88
+ self.self_uri = attributes[:'selfUri']
89
+ end
90
+
91
+ end
92
+
93
+ # Check equality by comparing each attribute.
94
+ def ==(o)
95
+ return true if self.equal?(o)
96
+ self.class == o.class &&
97
+ id == o.id &&
98
+ name == o.name &&
99
+ key == o.key &&
100
+ hosts == o.hosts &&
101
+ self_uri == o.self_uri
102
+ end
103
+
104
+ # @see the `==` method
105
+ def eql?(o)
106
+ self == o
107
+ end
108
+
109
+ # Calculate hash code according to all attributes.
110
+ def hash
111
+ [id, name, key, hosts, self_uri].hash
112
+ end
113
+
114
+ # build the object from hash
115
+ def build_from_hash(attributes)
116
+ return nil unless attributes.is_a?(Hash)
117
+ self.class.swagger_types.each_pair do |key, type|
118
+ if type =~ /^Array<(.*)>/i
119
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
120
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
121
+ else
122
+ #TODO show warning in debug mode
123
+ end
124
+ elsif !attributes[self.class.attribute_map[key]].nil?
125
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
126
+ else
127
+ # data not found in attributes(hash), not an issue as the data can be optional
128
+ end
129
+ end
130
+
131
+ self
132
+ end
133
+
134
+ def _deserialize(type, value)
135
+ case type.to_sym
136
+ when :DateTime
137
+ DateTime.parse(value)
138
+ when :Date
139
+ Date.parse(value)
140
+ when :String
141
+ value.to_s
142
+ when :Integer
143
+ value.to_i
144
+ when :Float
145
+ value.to_f
146
+ when :BOOLEAN
147
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
148
+ true
149
+ else
150
+ false
151
+ end
152
+ when :Object
153
+ # generic object (usually a Hash), return directly
154
+ value
155
+ when /\AArray<(?<inner_type>.+)>\z/
156
+ inner_type = Regexp.last_match[:inner_type]
157
+ value.map { |v| _deserialize(inner_type, v) }
158
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
159
+ k_type = Regexp.last_match[:k_type]
160
+ v_type = Regexp.last_match[:v_type]
161
+ {}.tap do |hash|
162
+ value.each do |k, v|
163
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
164
+ end
165
+ end
166
+ else # model
167
+ _model = Object.const_get("PureCloud").const_get(type).new
168
+ _model.build_from_hash(value)
169
+ end
170
+ end
171
+
172
+ def to_s
173
+ to_hash.to_s
174
+ end
175
+
176
+ # to_body is an alias to to_body (backward compatibility))
177
+ def to_body
178
+ to_hash
179
+ end
180
+
181
+ # return the object in the form of hash
182
+ def to_hash
183
+ hash = {}
184
+ self.class.attribute_map.each_pair do |attr, param|
185
+ value = self.send(attr)
186
+ next if value.nil?
187
+ hash[param] = _to_hash(value)
188
+ end
189
+ hash
190
+ end
191
+
192
+ # Method to output non-array value in the form of hash
193
+ # For object, use to_hash. Otherwise, just return the value
194
+ def _to_hash(value)
195
+ if value.is_a?(Array)
196
+ value.compact.map{ |v| _to_hash(v) }
197
+ elsif value.is_a?(Hash)
198
+ {}.tap do |hash|
199
+ value.each { |k, v| hash[k] = _to_hash(v) }
200
+ end
201
+ elsif value.respond_to? :to_hash
202
+ value.to_hash
203
+ else
204
+ value
205
+ end
206
+ end
207
+
208
+ end
209
+ end
@@ -0,0 +1,257 @@
1
+ =begin
2
+ PureCloud Platform API
3
+
4
+ With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
5
+
6
+ OpenAPI spec version: v2
7
+ Contact: DeveloperEvangelists@inin.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ License: ININ
11
+ http://www.inin.com
12
+
13
+ Terms of Service: https://developer.mypurecloud.com/tos
14
+
15
+ =end
16
+
17
+ require 'date'
18
+
19
+ module PureCloud
20
+ class DeploymentEntityListing
21
+ attr_accessor :page_size
22
+
23
+ attr_accessor :page_number
24
+
25
+ attr_accessor :total
26
+
27
+ attr_accessor :entities
28
+
29
+ attr_accessor :self_uri
30
+
31
+ attr_accessor :previous_uri
32
+
33
+ attr_accessor :first_uri
34
+
35
+ attr_accessor :last_uri
36
+
37
+ attr_accessor :next_uri
38
+
39
+ attr_accessor :page_count
40
+
41
+ # Attribute mapping from ruby-style variable name to JSON key.
42
+ def self.attribute_map
43
+ {
44
+
45
+ :'page_size' => :'pageSize',
46
+
47
+ :'page_number' => :'pageNumber',
48
+
49
+ :'total' => :'total',
50
+
51
+ :'entities' => :'entities',
52
+
53
+ :'self_uri' => :'selfUri',
54
+
55
+ :'previous_uri' => :'previousUri',
56
+
57
+ :'first_uri' => :'firstUri',
58
+
59
+ :'last_uri' => :'lastUri',
60
+
61
+ :'next_uri' => :'nextUri',
62
+
63
+ :'page_count' => :'pageCount'
64
+
65
+ }
66
+ end
67
+
68
+ # Attribute type mapping.
69
+ def self.swagger_types
70
+ {
71
+ :'page_size' => :'Integer',
72
+ :'page_number' => :'Integer',
73
+ :'total' => :'Integer',
74
+ :'entities' => :'Array<Deployment>',
75
+ :'self_uri' => :'String',
76
+ :'previous_uri' => :'String',
77
+ :'first_uri' => :'String',
78
+ :'last_uri' => :'String',
79
+ :'next_uri' => :'String',
80
+ :'page_count' => :'Integer'
81
+
82
+ }
83
+ end
84
+
85
+ def initialize(attributes = {})
86
+ return unless attributes.is_a?(Hash)
87
+
88
+ # convert string to symbol for hash key
89
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
90
+
91
+
92
+ if attributes[:'pageSize']
93
+ self.page_size = attributes[:'pageSize']
94
+ end
95
+
96
+ if attributes[:'pageNumber']
97
+ self.page_number = attributes[:'pageNumber']
98
+ end
99
+
100
+ if attributes[:'total']
101
+ self.total = attributes[:'total']
102
+ end
103
+
104
+ if attributes[:'entities']
105
+ if (value = attributes[:'entities']).is_a?(Array)
106
+ self.entities = value
107
+ end
108
+ end
109
+
110
+ if attributes[:'selfUri']
111
+ self.self_uri = attributes[:'selfUri']
112
+ end
113
+
114
+ if attributes[:'previousUri']
115
+ self.previous_uri = attributes[:'previousUri']
116
+ end
117
+
118
+ if attributes[:'firstUri']
119
+ self.first_uri = attributes[:'firstUri']
120
+ end
121
+
122
+ if attributes[:'lastUri']
123
+ self.last_uri = attributes[:'lastUri']
124
+ end
125
+
126
+ if attributes[:'nextUri']
127
+ self.next_uri = attributes[:'nextUri']
128
+ end
129
+
130
+ if attributes[:'pageCount']
131
+ self.page_count = attributes[:'pageCount']
132
+ end
133
+
134
+ end
135
+
136
+ # Check equality by comparing each attribute.
137
+ def ==(o)
138
+ return true if self.equal?(o)
139
+ self.class == o.class &&
140
+ page_size == o.page_size &&
141
+ page_number == o.page_number &&
142
+ total == o.total &&
143
+ entities == o.entities &&
144
+ self_uri == o.self_uri &&
145
+ previous_uri == o.previous_uri &&
146
+ first_uri == o.first_uri &&
147
+ last_uri == o.last_uri &&
148
+ next_uri == o.next_uri &&
149
+ page_count == o.page_count
150
+ end
151
+
152
+ # @see the `==` method
153
+ def eql?(o)
154
+ self == o
155
+ end
156
+
157
+ # Calculate hash code according to all attributes.
158
+ def hash
159
+ [page_size, page_number, total, entities, self_uri, previous_uri, first_uri, last_uri, next_uri, page_count].hash
160
+ end
161
+
162
+ # build the object from hash
163
+ def build_from_hash(attributes)
164
+ return nil unless attributes.is_a?(Hash)
165
+ self.class.swagger_types.each_pair do |key, type|
166
+ if type =~ /^Array<(.*)>/i
167
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
168
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
169
+ else
170
+ #TODO show warning in debug mode
171
+ end
172
+ elsif !attributes[self.class.attribute_map[key]].nil?
173
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
174
+ else
175
+ # data not found in attributes(hash), not an issue as the data can be optional
176
+ end
177
+ end
178
+
179
+ self
180
+ end
181
+
182
+ def _deserialize(type, value)
183
+ case type.to_sym
184
+ when :DateTime
185
+ DateTime.parse(value)
186
+ when :Date
187
+ Date.parse(value)
188
+ when :String
189
+ value.to_s
190
+ when :Integer
191
+ value.to_i
192
+ when :Float
193
+ value.to_f
194
+ when :BOOLEAN
195
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
196
+ true
197
+ else
198
+ false
199
+ end
200
+ when :Object
201
+ # generic object (usually a Hash), return directly
202
+ value
203
+ when /\AArray<(?<inner_type>.+)>\z/
204
+ inner_type = Regexp.last_match[:inner_type]
205
+ value.map { |v| _deserialize(inner_type, v) }
206
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
207
+ k_type = Regexp.last_match[:k_type]
208
+ v_type = Regexp.last_match[:v_type]
209
+ {}.tap do |hash|
210
+ value.each do |k, v|
211
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
212
+ end
213
+ end
214
+ else # model
215
+ _model = Object.const_get("PureCloud").const_get(type).new
216
+ _model.build_from_hash(value)
217
+ end
218
+ end
219
+
220
+ def to_s
221
+ to_hash.to_s
222
+ end
223
+
224
+ # to_body is an alias to to_body (backward compatibility))
225
+ def to_body
226
+ to_hash
227
+ end
228
+
229
+ # return the object in the form of hash
230
+ def to_hash
231
+ hash = {}
232
+ self.class.attribute_map.each_pair do |attr, param|
233
+ value = self.send(attr)
234
+ next if value.nil?
235
+ hash[param] = _to_hash(value)
236
+ end
237
+ hash
238
+ end
239
+
240
+ # Method to output non-array value in the form of hash
241
+ # For object, use to_hash. Otherwise, just return the value
242
+ def _to_hash(value)
243
+ if value.is_a?(Array)
244
+ value.compact.map{ |v| _to_hash(v) }
245
+ elsif value.is_a?(Hash)
246
+ {}.tap do |hash|
247
+ value.each { |k, v| hash[k] = _to_hash(v) }
248
+ end
249
+ elsif value.respond_to? :to_hash
250
+ value.to_hash
251
+ else
252
+ value
253
+ end
254
+ end
255
+
256
+ end
257
+ end