purecloudplatformclientv2 66.0.0 → 71.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (573) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/ActionEntityListing.md +1 -1
  4. data/docs/AgentActivityEntityListing.md +1 -1
  5. data/docs/AnalyticsSession.md +1 -0
  6. data/docs/ArchitectApi.md +21 -17
  7. data/docs/AttemptLimitsEntityListing.md +1 -1
  8. data/docs/AuthorizationApi.md +140 -0
  9. data/docs/AuthzDivisionEntityListing.md +1 -1
  10. data/docs/BuSearchAgentSchedulesRequest.md +15 -0
  11. data/docs/CalibrationEntityListing.md +1 -1
  12. data/docs/CallConversationEntityListing.md +1 -1
  13. data/docs/CallHistoryConversationEntityListing.md +1 -1
  14. data/docs/CallMediaParticipant.md +2 -0
  15. data/docs/CallableTimeSetEntityListing.md +1 -1
  16. data/docs/CallbackConversationEntityListing.md +1 -1
  17. data/docs/CallbackMediaParticipant.md +2 -0
  18. data/docs/CampaignDivisionViewListing.md +1 -1
  19. data/docs/CampaignEntityListing.md +1 -1
  20. data/docs/CampaignRuleEntityListing.md +1 -1
  21. data/docs/CampaignSequenceEntityListing.md +1 -1
  22. data/docs/CertificateAuthorityEntityListing.md +1 -1
  23. data/docs/ChatConversationEntityListing.md +1 -1
  24. data/docs/ChatMediaParticipant.md +2 -0
  25. data/docs/ClientAppEntityListing.md +1 -1
  26. data/docs/CobrowseConversationEntityListing.md +1 -1
  27. data/docs/CobrowseMediaParticipant.md +2 -0
  28. data/docs/CommandStatusEntityListing.md +1 -1
  29. data/docs/ConsumedResourcesEntityListing.md +1 -1
  30. data/docs/ConsumingResourcesEntityListing.md +1 -1
  31. data/docs/ContactCenterSettings.md +13 -0
  32. data/docs/ContactListDivisionViewListing.md +1 -1
  33. data/docs/ContactListEntityListing.md +1 -1
  34. data/docs/ContactListFilterEntityListing.md +1 -1
  35. data/docs/ContactListing.md +1 -1
  36. data/docs/ConversationAggregationQuery.md +1 -0
  37. data/docs/ConversationCallEventTopicCallConversation.md +1 -0
  38. data/docs/ConversationCallEventTopicCallMediaParticipant.md +2 -0
  39. data/docs/ConversationCallbackEventTopicCallbackMediaParticipant.md +2 -0
  40. data/docs/ConversationChatEventTopicChatMediaParticipant.md +2 -0
  41. data/docs/ConversationCobrowseEventTopicCobrowseMediaParticipant.md +2 -0
  42. data/docs/ConversationDeletionProtectionQuery.md +13 -0
  43. data/docs/ConversationEmailEventTopicEmailMediaParticipant.md +2 -0
  44. data/docs/ConversationEntityListing.md +1 -1
  45. data/docs/ConversationEventTopicParticipant.md +2 -0
  46. data/docs/ConversationMessageEventTopicMessageMediaParticipant.md +2 -0
  47. data/docs/ConversationScreenShareEventTopicScreenShareMediaParticipant.md +2 -0
  48. data/docs/ConversationSocialExpressionEventTopicSocialMediaParticipant.md +2 -0
  49. data/docs/ConversationVideoEventTopicVideoMediaParticipant.md +2 -0
  50. data/docs/ConversationsApi.md +198 -0
  51. data/docs/CreateManagementUnitApiRequest.md +1 -1
  52. data/docs/{CreateManagementUnitSettings.md → CreateManagementUnitSettingsRequest.md} +3 -3
  53. data/docs/CreateWorkPlan.md +1 -0
  54. data/docs/CreateWorkPlanShift.md +1 -0
  55. data/docs/CredentialInfoListing.md +1 -1
  56. data/docs/CredentialTypeListing.md +1 -1
  57. data/docs/DIDEntityListing.md +1 -1
  58. data/docs/DIDPoolEntityListing.md +1 -1
  59. data/docs/DataTableRowEntityListing.md +1 -1
  60. data/docs/DataTablesDomainEntityListing.md +1 -1
  61. data/docs/DependencyObjectEntityListing.md +1 -1
  62. data/docs/DependencyTypeEntityListing.md +1 -1
  63. data/docs/DialerEventEntityListing.md +1 -1
  64. data/docs/DialerResponsesetConfigChangeResponseSet.md +1 -0
  65. data/docs/DialogflowAgentSummaryEntityListing.md +1 -1
  66. data/docs/DirectoryUserDevicesListing.md +1 -1
  67. data/docs/DncListDivisionViewListing.md +1 -1
  68. data/docs/DncListEntityListing.md +1 -1
  69. data/docs/DocumentAuditEntityListing.md +1 -1
  70. data/docs/DocumentEntityListing.md +1 -1
  71. data/docs/DomainEdgeSoftwareVersionDto.md +1 -1
  72. data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +1 -1
  73. data/docs/DomainEntityListing.md +1 -1
  74. data/docs/DomainEntityListingEvaluationForm.md +1 -1
  75. data/docs/DomainEntityListingQueryResult.md +1 -1
  76. data/docs/DomainEntityListingSurveyForm.md +1 -1
  77. data/docs/DomainLogicalInterface.md +4 -0
  78. data/docs/EdgeEntityListing.md +1 -1
  79. data/docs/EdgeGroupEntityListing.md +1 -1
  80. data/docs/EdgeLineEntityListing.md +1 -1
  81. data/docs/EmailConversationEntityListing.md +1 -1
  82. data/docs/EmailMediaParticipant.md +2 -0
  83. data/docs/EmailMessageListing.md +1 -1
  84. data/docs/EmergencyGroupListing.md +1 -1
  85. data/docs/EncryptionKeyEntityListing.md +1 -1
  86. data/docs/EvaluationEntityListing.md +1 -1
  87. data/docs/EvaluationFormEntityListing.md +1 -1
  88. data/docs/EvaluatorActivityEntityListing.md +1 -1
  89. data/docs/ExtensionEntityListing.md +1 -1
  90. data/docs/ExtensionPoolEntityListing.md +1 -1
  91. data/docs/ExternalOrganizationListing.md +1 -1
  92. data/docs/FacebookIntegrationEntityListing.md +1 -1
  93. data/docs/FaxDocumentEntityListing.md +1 -1
  94. data/docs/FlowAggregationQuery.md +1 -0
  95. data/docs/FlowDivisionView.md +2 -0
  96. data/docs/FlowDivisionViewEntityListing.md +1 -1
  97. data/docs/FlowEntityListing.md +1 -1
  98. data/docs/FlowOutcomeListing.md +1 -1
  99. data/docs/FlowVersionEntityListing.md +1 -1
  100. data/docs/GDPRRequestEntityListing.md +1 -1
  101. data/docs/GDPRSubjectEntityListing.md +1 -1
  102. data/docs/GreetingListing.md +1 -1
  103. data/docs/GroupEntityListing.md +1 -1
  104. data/docs/GroupProfileEntityListing.md +1 -1
  105. data/docs/IVREntityListing.md +1 -1
  106. data/docs/InboundDomainEntityListing.md +1 -1
  107. data/docs/InboundRouteEntityListing.md +1 -1
  108. data/docs/IntegrationEntityListing.md +1 -1
  109. data/docs/IntegrationEventEntityListing.md +1 -1
  110. data/docs/IntegrationType.md +1 -0
  111. data/docs/IntegrationTypeEntityListing.md +1 -1
  112. data/docs/InteractionStatsAlertContainer.md +1 -1
  113. data/docs/InteractionStatsRuleContainer.md +1 -1
  114. data/docs/KeywordSetEntityListing.md +1 -1
  115. data/docs/LanguageEntityListing.md +1 -1
  116. data/docs/LexBotAliasEntityListing.md +1 -1
  117. data/docs/LexBotEntityListing.md +1 -1
  118. data/docs/LibraryEntityListing.md +1 -1
  119. data/docs/LineBaseEntityListing.md +1 -1
  120. data/docs/LineEntityListing.md +1 -1
  121. data/docs/LineIntegrationEntityListing.md +1 -1
  122. data/docs/LocationAddressVerificationDetails.md +16 -0
  123. data/docs/LocationCreateDefinition.md +20 -0
  124. data/docs/LocationDefinition.md +12 -9
  125. data/docs/LocationEntityListing.md +1 -1
  126. data/docs/LocationUpdateDefinition.md +20 -0
  127. data/docs/LocationsApi.md +6 -6
  128. data/docs/LogicalInterfaceEntityListing.md +1 -1
  129. data/docs/ManagementUnit.md +1 -1
  130. data/docs/ManagementUnitListing.md +1 -1
  131. data/docs/{UserExternalIdentifier.md → ManagementUnitReference.md} +3 -4
  132. data/docs/{ManagementUnitSettings.md → ManagementUnitSettingsRequest.md} +3 -3
  133. data/docs/ManagementUnitSettingsResponse.md +18 -0
  134. data/docs/MessageConversationEntityListing.md +1 -1
  135. data/docs/MessageEvaluation.md +16 -0
  136. data/docs/MessageMediaParticipant.md +2 -0
  137. data/docs/MessagingIntegrationEntityListing.md +1 -1
  138. data/docs/MessagingStickerEntityListing.md +1 -1
  139. data/docs/NoteListing.md +1 -1
  140. data/docs/NotificationsApi.md +1 -1
  141. data/docs/OAuthClientEntityListing.md +1 -1
  142. data/docs/OAuthProviderEntityListing.md +1 -1
  143. data/docs/OrganizationPresenceEntityListing.md +1 -1
  144. data/docs/OrganizationRoleEntityListing.md +1 -1
  145. data/docs/OrphanRecordingListing.md +1 -1
  146. data/docs/OutboundRouteBaseEntityListing.md +1 -1
  147. data/docs/OutboundRouteEntityListing.md +1 -1
  148. data/docs/Participant.md +2 -0
  149. data/docs/ParticipantBasic.md +2 -0
  150. data/docs/PermissionCollectionEntityListing.md +1 -1
  151. data/docs/PhoneBaseEntityListing.md +1 -1
  152. data/docs/PhoneEntityListing.md +1 -1
  153. data/docs/PhoneMetaBaseEntityListing.md +1 -1
  154. data/docs/PhysicalInterfaceEntityListing.md +1 -1
  155. data/docs/PlanningPeriodSettings.md +14 -0
  156. data/docs/PolicyEntityListing.md +1 -1
  157. data/docs/PromptAssetEntityListing.md +1 -1
  158. data/docs/PromptEntityListing.md +1 -1
  159. data/docs/QualityApi.md +51 -23
  160. data/docs/QualityAuditPage.md +1 -1
  161. data/docs/QueueConversationCallEventTopicCallConversation.md +1 -0
  162. data/docs/QueueConversationCallEventTopicCallMediaParticipant.md +2 -0
  163. data/docs/QueueConversationCallbackEventTopicCallbackMediaParticipant.md +2 -0
  164. data/docs/QueueConversationChatEventTopicChatMediaParticipant.md +2 -0
  165. data/docs/QueueConversationCobrowseEventTopicCobrowseMediaParticipant.md +2 -0
  166. data/docs/QueueConversationEmailEventTopicEmailMediaParticipant.md +2 -0
  167. data/docs/QueueConversationEventTopicParticipant.md +2 -0
  168. data/docs/QueueConversationMessageEventTopicMessageMediaParticipant.md +2 -0
  169. data/docs/QueueConversationScreenShareEventTopicScreenShareMediaParticipant.md +2 -0
  170. data/docs/QueueConversationSocialExpressionEventTopicParticipant.md +2 -0
  171. data/docs/QueueConversationVideoEventTopicParticipant.md +2 -0
  172. data/docs/QueueEntityListing.md +1 -1
  173. data/docs/QueueMemberEntityListing.md +1 -1
  174. data/docs/QueueUserEventTopicQueueMember.md +4 -4
  175. data/docs/QueueUserEventTopicUserReference.md +13 -0
  176. data/docs/RecipientListing.md +1 -1
  177. data/docs/Recording.md +1 -0
  178. data/docs/RecordingApi.md +164 -14
  179. data/docs/RecordingJobEntityListing.md +1 -1
  180. data/docs/RecordingJobsQuery.md +1 -1
  181. data/docs/RecordingMetadata.md +1 -0
  182. data/docs/RelationshipListing.md +1 -1
  183. data/docs/ReportMetaDataEntityListing.md +1 -1
  184. data/docs/ReportRunEntryEntityDomainListing.md +1 -1
  185. data/docs/ReportScheduleEntityListing.md +1 -1
  186. data/docs/ReportingExportJobListing.md +1 -1
  187. data/docs/ReportingExportJobRequest.md +2 -0
  188. data/docs/ReportingExportJobResponse.md +2 -0
  189. data/docs/ResponseEntityList.md +1 -1
  190. data/docs/ResponseEntityListing.md +1 -1
  191. data/docs/ResponseSetEntityListing.md +1 -1
  192. data/docs/RoleDivisionGrants.md +13 -0
  193. data/docs/RoleDivisionPair.md +14 -0
  194. data/docs/RoutingApi.md +250 -2
  195. data/docs/RuleSetEntityListing.md +1 -1
  196. data/docs/SCIMApi.md +302 -26
  197. data/docs/ScheduleEntityListing.md +1 -1
  198. data/docs/ScheduleGroupEntityListing.md +1 -1
  199. data/docs/{SchedulingSettings.md → SchedulingSettingsRequest.md} +2 -2
  200. data/docs/SchedulingSettingsResponse.md +15 -0
  201. data/docs/SchemaCategoryEntityListing.md +1 -1
  202. data/docs/SchemaReferenceEntityListing.md +1 -1
  203. data/docs/ScimConfigResourceType.md +1 -1
  204. data/docs/ScimConfigResourceTypeSchemaExtension.md +1 -1
  205. data/docs/ScimError.md +4 -4
  206. data/docs/ScimServiceProviderConfig.md +7 -7
  207. data/docs/ScimServiceProviderConfigAuthenticationScheme.md +1 -1
  208. data/docs/ScimV2CreateUser.md +1 -1
  209. data/docs/ScimV2Group.md +3 -2
  210. data/docs/ScimV2User.md +2 -2
  211. data/docs/ScreenRecordingSessionListing.md +1 -1
  212. data/docs/ScriptEntityListing.md +1 -1
  213. data/docs/SearchApi.md +3 -3
  214. data/docs/SecurityProfileEntityListing.md +1 -1
  215. data/docs/SelectedColumns.md +14 -0
  216. data/docs/SendAgentlessOutboundMessageRequest.md +16 -0
  217. data/docs/SendAgentlessOutboundMessageResponse.md +21 -0
  218. data/docs/ShareEntityListing.md +1 -1
  219. data/docs/ShiftTradeSettings.md +1 -0
  220. data/docs/SiteEntityListing.md +1 -1
  221. data/docs/SkillEntityListing.md +1 -1
  222. data/docs/SmsAddressEntityListing.md +1 -1
  223. data/docs/SmsPhoneNumber.md +1 -0
  224. data/docs/SmsPhoneNumberEntityListing.md +1 -1
  225. data/docs/StationEntityListing.md +1 -1
  226. data/docs/StationsApi.md +1 -2
  227. data/docs/SubjectDivisionGrantsEntityListing.md +1 -1
  228. data/docs/SubscriptionOverviewUsage.md +2 -0
  229. data/docs/SuggestApi.md +2 -2
  230. data/docs/SurveyAggregationQuery.md +1 -0
  231. data/docs/SurveyFormEntityListing.md +1 -1
  232. data/docs/SystemPromptAssetEntityListing.md +1 -1
  233. data/docs/SystemPromptEntityListing.md +1 -1
  234. data/docs/TagValueEntityListing.md +1 -1
  235. data/docs/TextMessageListing.md +1 -1
  236. data/docs/TimeOffRequestLookup.md +13 -0
  237. data/docs/TimeZoneEntityListing.md +1 -1
  238. data/docs/TranscriptionSettings.md +14 -0
  239. data/docs/TrunkBaseEntityListing.md +1 -1
  240. data/docs/TrunkEntityListing.md +1 -1
  241. data/docs/TrunkMetabaseEntityListing.md +1 -1
  242. data/docs/TrustEntityListing.md +1 -1
  243. data/docs/TrustUserEntityListing.md +1 -1
  244. data/docs/TrustorEntityListing.md +1 -1
  245. data/docs/TtsEngineEntityListing.md +1 -1
  246. data/docs/TtsVoiceEntityListing.md +1 -1
  247. data/docs/TwitterIntegrationEntityListing.md +1 -1
  248. data/docs/UpdateManagementUnitRequest.md +1 -1
  249. data/docs/UserActionCategoryEntityListing.md +1 -1
  250. data/docs/UserAggregationQuery.md +1 -0
  251. data/docs/UserDetailsQuery.md +1 -1
  252. data/docs/UserEntityListing.md +1 -1
  253. data/docs/UserLanguageEntityListing.md +1 -1
  254. data/docs/UserProfileEntityListing.md +1 -1
  255. data/docs/UserQueueEntityListing.md +1 -1
  256. data/docs/UserRecordingEntityListing.md +1 -1
  257. data/docs/UserSkillEntityListing.md +1 -1
  258. data/docs/UsersApi.md +101 -306
  259. data/docs/ValueWrapperPlanningPeriodSettings.md +13 -0
  260. data/docs/VoicemailMessageEntityListing.md +1 -1
  261. data/docs/WebChatMemberInfoEntityList.md +1 -1
  262. data/docs/WfmForecastModificationIntervalOffsetValue.md +1 -1
  263. data/docs/WhatsAppIntegrationEntityListing.md +1 -1
  264. data/docs/WhatsAppIntegrationRequest.md +17 -0
  265. data/docs/WorkPlan.md +1 -0
  266. data/docs/WorkPlanListItemResponse.md +1 -0
  267. data/docs/WorkPlanReference.md +3 -1
  268. data/docs/WorkPlanShift.md +1 -0
  269. data/docs/WorkforceManagementApi.md +80 -9
  270. data/docs/WorkspaceEntityListing.md +1 -1
  271. data/docs/WorkspaceMemberEntityListing.md +1 -1
  272. data/docs/WrapupCodeEntityListing.md +1 -1
  273. data/lib/purecloudplatformclientv2.rb +23 -5
  274. data/lib/purecloudplatformclientv2/api/architect_api.rb +24 -6
  275. data/lib/purecloudplatformclientv2/api/authorization_api.rb +157 -0
  276. data/lib/purecloudplatformclientv2/api/conversations_api.rb +195 -0
  277. data/lib/purecloudplatformclientv2/api/notifications_api.rb +2 -2
  278. data/lib/purecloudplatformclientv2/api/quality_api.rb +4 -4
  279. data/lib/purecloudplatformclientv2/api/recording_api.rb +138 -2
  280. data/lib/purecloudplatformclientv2/api/routing_api.rb +239 -9
  281. data/lib/purecloudplatformclientv2/api/scim_api.rb +364 -20
  282. data/lib/purecloudplatformclientv2/api/users_api.rb +127 -353
  283. data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +81 -8
  284. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  285. data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +12 -12
  286. data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +12 -12
  287. data/lib/purecloudplatformclientv2/models/analytics_flow.rb +2 -2
  288. data/lib/purecloudplatformclientv2/models/analytics_session.rb +30 -4
  289. data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +12 -12
  290. data/lib/purecloudplatformclientv2/models/authz_division_entity_listing.rb +12 -12
  291. data/lib/purecloudplatformclientv2/models/bu_search_agent_schedules_request.rb +266 -0
  292. data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +12 -12
  293. data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +12 -12
  294. data/lib/purecloudplatformclientv2/models/call_history_conversation_entity_listing.rb +12 -12
  295. data/lib/purecloudplatformclientv2/models/call_media_participant.rb +53 -1
  296. data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +12 -12
  297. data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +12 -12
  298. data/lib/purecloudplatformclientv2/models/callback_media_participant.rb +53 -1
  299. data/lib/purecloudplatformclientv2/models/campaign_division_view_listing.rb +12 -12
  300. data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +12 -12
  301. data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +12 -12
  302. data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +12 -12
  303. data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +12 -12
  304. data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +12 -12
  305. data/lib/purecloudplatformclientv2/models/chat_media_participant.rb +53 -1
  306. data/lib/purecloudplatformclientv2/models/client_app_entity_listing.rb +12 -12
  307. data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +12 -12
  308. data/lib/purecloudplatformclientv2/models/cobrowse_media_participant.rb +53 -1
  309. data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +12 -12
  310. data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +12 -12
  311. data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +12 -12
  312. data/lib/purecloudplatformclientv2/models/contact_center_settings.rb +202 -0
  313. data/lib/purecloudplatformclientv2/models/contact_list_division_view_listing.rb +12 -12
  314. data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +12 -12
  315. data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +12 -12
  316. data/lib/purecloudplatformclientv2/models/contact_listing.rb +12 -12
  317. data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
  318. data/lib/purecloudplatformclientv2/models/conversation_aggregation_query.rb +44 -4
  319. data/lib/purecloudplatformclientv2/models/conversation_aggregation_view.rb +2 -2
  320. data/lib/purecloudplatformclientv2/models/conversation_call_event_topic_call_conversation.rb +29 -4
  321. data/lib/purecloudplatformclientv2/models/conversation_call_event_topic_call_media_participant.rb +51 -1
  322. data/lib/purecloudplatformclientv2/models/conversation_callback_event_topic_callback_media_participant.rb +51 -1
  323. data/lib/purecloudplatformclientv2/models/conversation_chat_event_topic_chat_media_participant.rb +51 -1
  324. data/lib/purecloudplatformclientv2/models/conversation_cobrowse_event_topic_cobrowse_media_participant.rb +51 -1
  325. data/lib/purecloudplatformclientv2/models/conversation_deletion_protection_query.rb +209 -0
  326. data/lib/purecloudplatformclientv2/models/conversation_email_event_topic_email_media_participant.rb +51 -1
  327. data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +12 -12
  328. data/lib/purecloudplatformclientv2/models/conversation_event_topic_participant.rb +51 -1
  329. data/lib/purecloudplatformclientv2/models/conversation_message_event_topic_message_media_participant.rb +51 -1
  330. data/lib/purecloudplatformclientv2/models/conversation_screen_share_event_topic_screen_share_media_participant.rb +51 -1
  331. data/lib/purecloudplatformclientv2/models/conversation_social_expression_event_topic_social_media_participant.rb +51 -1
  332. data/lib/purecloudplatformclientv2/models/conversation_video_event_topic_video_media_participant.rb +51 -1
  333. data/lib/purecloudplatformclientv2/models/create_management_unit_api_request.rb +1 -1
  334. data/lib/purecloudplatformclientv2/models/{create_management_unit_settings.rb → create_management_unit_settings_request.rb} +2 -2
  335. data/lib/purecloudplatformclientv2/models/create_work_plan.rb +27 -1
  336. data/lib/purecloudplatformclientv2/models/create_work_plan_shift.rb +27 -1
  337. data/lib/purecloudplatformclientv2/models/credential_info_listing.rb +12 -12
  338. data/lib/purecloudplatformclientv2/models/credential_type_listing.rb +12 -12
  339. data/lib/purecloudplatformclientv2/models/data_table_row_entity_listing.rb +12 -12
  340. data/lib/purecloudplatformclientv2/models/data_tables_domain_entity_listing.rb +12 -12
  341. data/lib/purecloudplatformclientv2/models/dependency.rb +2 -2
  342. data/lib/purecloudplatformclientv2/models/dependency_object.rb +2 -2
  343. data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +12 -12
  344. data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +12 -12
  345. data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +12 -12
  346. data/lib/purecloudplatformclientv2/models/dialer_responseset_config_change_response_set.rb +26 -1
  347. data/lib/purecloudplatformclientv2/models/dialogflow_agent_summary_entity_listing.rb +12 -12
  348. data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +12 -12
  349. data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +12 -12
  350. data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +12 -12
  351. data/lib/purecloudplatformclientv2/models/dnc_list_division_view_listing.rb +12 -12
  352. data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +12 -12
  353. data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +12 -12
  354. data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +12 -12
  355. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto.rb +12 -12
  356. data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +12 -12
  357. data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +12 -12
  358. data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +12 -12
  359. data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +12 -12
  360. data/lib/purecloudplatformclientv2/models/domain_entity_listing_survey_form.rb +12 -12
  361. data/lib/purecloudplatformclientv2/models/domain_logical_interface.rb +105 -1
  362. data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +12 -12
  363. data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +12 -12
  364. data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +12 -12
  365. data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +12 -12
  366. data/lib/purecloudplatformclientv2/models/email_media_participant.rb +53 -1
  367. data/lib/purecloudplatformclientv2/models/email_message_listing.rb +12 -12
  368. data/lib/purecloudplatformclientv2/models/emergency_group_listing.rb +12 -12
  369. data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +12 -12
  370. data/lib/purecloudplatformclientv2/models/evaluation_aggregation_query.rb +2 -2
  371. data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +12 -12
  372. data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +12 -12
  373. data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +12 -12
  374. data/lib/purecloudplatformclientv2/models/event_log.rb +2 -2
  375. data/lib/purecloudplatformclientv2/models/event_message.rb +2 -2
  376. data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +12 -12
  377. data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +12 -12
  378. data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +12 -12
  379. data/lib/purecloudplatformclientv2/models/facebook_integration_entity_listing.rb +12 -12
  380. data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +12 -12
  381. data/lib/purecloudplatformclientv2/models/flow.rb +2 -2
  382. data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
  383. data/lib/purecloudplatformclientv2/models/flow_aggregation_query.rb +44 -4
  384. data/lib/purecloudplatformclientv2/models/flow_division_view.rb +55 -3
  385. data/lib/purecloudplatformclientv2/models/flow_division_view_entity_listing.rb +12 -12
  386. data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +12 -12
  387. data/lib/purecloudplatformclientv2/models/flow_outcome_listing.rb +12 -12
  388. data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +12 -12
  389. data/lib/purecloudplatformclientv2/models/gdpr_request_entity_listing.rb +12 -12
  390. data/lib/purecloudplatformclientv2/models/gdpr_subject_entity_listing.rb +12 -12
  391. data/lib/purecloudplatformclientv2/models/greeting_listing.rb +12 -12
  392. data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +12 -12
  393. data/lib/purecloudplatformclientv2/models/group_profile_entity_listing.rb +12 -12
  394. data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +12 -12
  395. data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +12 -12
  396. data/lib/purecloudplatformclientv2/models/integration_entity_listing.rb +12 -12
  397. data/lib/purecloudplatformclientv2/models/integration_event_entity_listing.rb +12 -12
  398. data/lib/purecloudplatformclientv2/models/integration_type.rb +29 -1
  399. data/lib/purecloudplatformclientv2/models/integration_type_entity_listing.rb +12 -12
  400. data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +12 -12
  401. data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +12 -12
  402. data/lib/purecloudplatformclientv2/models/ivr_entity_listing.rb +12 -12
  403. data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +12 -12
  404. data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +12 -12
  405. data/lib/purecloudplatformclientv2/models/lex_bot_alias_entity_listing.rb +12 -12
  406. data/lib/purecloudplatformclientv2/models/lex_bot_entity_listing.rb +12 -12
  407. data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +12 -12
  408. data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +12 -12
  409. data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +12 -12
  410. data/lib/purecloudplatformclientv2/models/line_integration_entity_listing.rb +12 -12
  411. data/lib/purecloudplatformclientv2/models/location_address_verification_details.rb +294 -0
  412. data/lib/purecloudplatformclientv2/models/location_create_definition.rb +405 -0
  413. data/lib/purecloudplatformclientv2/models/location_definition.rb +110 -34
  414. data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +12 -12
  415. data/lib/purecloudplatformclientv2/models/{location_create_update_definition.rb → location_update_definition.rb} +48 -63
  416. data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +12 -12
  417. data/lib/purecloudplatformclientv2/models/management_unit.rb +1 -1
  418. data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +12 -12
  419. data/lib/purecloudplatformclientv2/models/{user_external_identifier.rb → management_unit_reference.rb} +10 -46
  420. data/lib/purecloudplatformclientv2/models/{management_unit_settings.rb → management_unit_settings_request.rb} +2 -2
  421. data/lib/purecloudplatformclientv2/models/management_unit_settings_response.rb +337 -0
  422. data/lib/purecloudplatformclientv2/models/manager.rb +1 -1
  423. data/lib/purecloudplatformclientv2/models/message_conversation_entity_listing.rb +12 -12
  424. data/lib/purecloudplatformclientv2/models/message_evaluation.rb +277 -0
  425. data/lib/purecloudplatformclientv2/models/message_media_participant.rb +53 -1
  426. data/lib/purecloudplatformclientv2/models/messaging_integration_entity_listing.rb +12 -12
  427. data/lib/purecloudplatformclientv2/models/messaging_sticker_entity_listing.rb +12 -12
  428. data/lib/purecloudplatformclientv2/models/note_listing.rb +12 -12
  429. data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +12 -12
  430. data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +12 -12
  431. data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +12 -12
  432. data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +12 -12
  433. data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +12 -12
  434. data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +12 -12
  435. data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +12 -12
  436. data/lib/purecloudplatformclientv2/models/participant.rb +56 -4
  437. data/lib/purecloudplatformclientv2/models/participant_basic.rb +56 -4
  438. data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +12 -12
  439. data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +12 -12
  440. data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +12 -12
  441. data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +12 -12
  442. data/lib/purecloudplatformclientv2/models/photo.rb +1 -1
  443. data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +12 -12
  444. data/lib/purecloudplatformclientv2/models/planning_period_settings.rb +238 -0
  445. data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +12 -12
  446. data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +12 -12
  447. data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +12 -12
  448. data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +12 -12
  449. data/lib/purecloudplatformclientv2/models/queue_conversation_call_event_topic_call_conversation.rb +29 -4
  450. data/lib/purecloudplatformclientv2/models/queue_conversation_call_event_topic_call_media_participant.rb +51 -1
  451. data/lib/purecloudplatformclientv2/models/queue_conversation_callback_event_topic_callback_media_participant.rb +51 -1
  452. data/lib/purecloudplatformclientv2/models/queue_conversation_chat_event_topic_chat_media_participant.rb +51 -1
  453. data/lib/purecloudplatformclientv2/models/queue_conversation_cobrowse_event_topic_cobrowse_media_participant.rb +51 -1
  454. data/lib/purecloudplatformclientv2/models/queue_conversation_email_event_topic_email_media_participant.rb +51 -1
  455. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_participant.rb +51 -1
  456. data/lib/purecloudplatformclientv2/models/queue_conversation_message_event_topic_message_media_participant.rb +51 -1
  457. data/lib/purecloudplatformclientv2/models/queue_conversation_screen_share_event_topic_screen_share_media_participant.rb +51 -1
  458. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_participant.rb +51 -1
  459. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_participant.rb +51 -1
  460. data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +12 -12
  461. data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +12 -12
  462. data/lib/purecloudplatformclientv2/models/queue_user_event_topic_queue_member.rb +31 -31
  463. data/lib/purecloudplatformclientv2/models/queue_user_event_topic_user_reference.rb +201 -0
  464. data/lib/purecloudplatformclientv2/models/recipient_listing.rb +12 -12
  465. data/lib/purecloudplatformclientv2/models/recording.rb +27 -1
  466. data/lib/purecloudplatformclientv2/models/recording_job_entity_listing.rb +12 -12
  467. data/lib/purecloudplatformclientv2/models/recording_jobs_query.rb +1 -1
  468. data/lib/purecloudplatformclientv2/models/recording_metadata.rb +27 -1
  469. data/lib/purecloudplatformclientv2/models/relationship_listing.rb +12 -12
  470. data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +12 -12
  471. data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +12 -12
  472. data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +12 -12
  473. data/lib/purecloudplatformclientv2/models/reporting_data_export_topic_data_export_notification.rb +2 -2
  474. data/lib/purecloudplatformclientv2/models/reporting_export_job_listing.rb +12 -12
  475. data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +58 -4
  476. data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +55 -1
  477. data/lib/purecloudplatformclientv2/models/response_entity_list.rb +12 -12
  478. data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +12 -12
  479. data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +12 -12
  480. data/lib/purecloudplatformclientv2/models/role_division_grants.rb +209 -0
  481. data/lib/purecloudplatformclientv2/models/role_division_pair.rb +238 -0
  482. data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +12 -12
  483. data/lib/purecloudplatformclientv2/models/schedule_entity_listing.rb +12 -12
  484. data/lib/purecloudplatformclientv2/models/schedule_group_entity_listing.rb +12 -12
  485. data/lib/purecloudplatformclientv2/models/{scheduling_settings.rb → scheduling_settings_request.rb} +1 -1
  486. data/lib/purecloudplatformclientv2/models/scheduling_settings_response.rb +255 -0
  487. data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +12 -12
  488. data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +12 -12
  489. data/lib/purecloudplatformclientv2/models/scim_config_resource_type.rb +2 -2
  490. data/lib/purecloudplatformclientv2/models/scim_config_resource_type_schema_extension.rb +2 -2
  491. data/lib/purecloudplatformclientv2/models/scim_config_resource_types_list_response.rb +1 -1
  492. data/lib/purecloudplatformclientv2/models/scim_email.rb +1 -1
  493. data/lib/purecloudplatformclientv2/models/scim_error.rb +5 -5
  494. data/lib/purecloudplatformclientv2/models/scim_group_list_response.rb +1 -1
  495. data/lib/purecloudplatformclientv2/models/scim_metadata.rb +1 -1
  496. data/lib/purecloudplatformclientv2/models/scim_phone_number.rb +1 -1
  497. data/lib/purecloudplatformclientv2/models/scim_service_provider_config.rb +8 -8
  498. data/lib/purecloudplatformclientv2/models/scim_service_provider_config_authentication_scheme.rb +2 -2
  499. data/lib/purecloudplatformclientv2/models/scim_service_provider_config_bulk_feature.rb +1 -1
  500. data/lib/purecloudplatformclientv2/models/scim_service_provider_config_filter_feature.rb +1 -1
  501. data/lib/purecloudplatformclientv2/models/scim_service_provider_config_simple_feature.rb +1 -1
  502. data/lib/purecloudplatformclientv2/models/scim_user_list_response.rb +1 -1
  503. data/lib/purecloudplatformclientv2/models/scim_v2_create_user.rb +2 -1
  504. data/lib/purecloudplatformclientv2/models/scim_v2_enterprise_user.rb +1 -1
  505. data/lib/purecloudplatformclientv2/models/scim_v2_group.rb +34 -3
  506. data/lib/purecloudplatformclientv2/models/scim_v2_group_reference.rb +1 -1
  507. data/lib/purecloudplatformclientv2/models/scim_v2_member_reference.rb +1 -1
  508. data/lib/purecloudplatformclientv2/models/scim_v2_patch_operation.rb +1 -1
  509. data/lib/purecloudplatformclientv2/models/scim_v2_patch_request.rb +1 -1
  510. data/lib/purecloudplatformclientv2/models/scim_v2_user.rb +3 -2
  511. data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +12 -12
  512. data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +12 -12
  513. data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +12 -12
  514. data/lib/purecloudplatformclientv2/models/segment_detail_query_predicate.rb +2 -2
  515. data/lib/purecloudplatformclientv2/models/selected_columns.rb +228 -0
  516. data/lib/purecloudplatformclientv2/models/send_agentless_outbound_message_request.rb +314 -0
  517. data/lib/purecloudplatformclientv2/models/send_agentless_outbound_message_response.rb +424 -0
  518. data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +12 -12
  519. data/lib/purecloudplatformclientv2/models/shift_trade_settings.rb +27 -1
  520. data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +12 -12
  521. data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +12 -12
  522. data/lib/purecloudplatformclientv2/models/sms_address_entity_listing.rb +12 -12
  523. data/lib/purecloudplatformclientv2/models/sms_phone_number.rb +29 -1
  524. data/lib/purecloudplatformclientv2/models/sms_phone_number_entity_listing.rb +12 -12
  525. data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +12 -12
  526. data/lib/purecloudplatformclientv2/models/subject_division_grants_entity_listing.rb +12 -12
  527. data/lib/purecloudplatformclientv2/models/subscription_overview_usage.rb +56 -4
  528. data/lib/purecloudplatformclientv2/models/survey_aggregation_query.rb +44 -4
  529. data/lib/purecloudplatformclientv2/models/survey_form_entity_listing.rb +12 -12
  530. data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +12 -12
  531. data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +12 -12
  532. data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +12 -12
  533. data/lib/purecloudplatformclientv2/models/text_message_listing.rb +12 -12
  534. data/lib/purecloudplatformclientv2/models/time_off_request_lookup.rb +357 -1
  535. data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +12 -12
  536. data/lib/purecloudplatformclientv2/models/transcription_settings.rb +252 -0
  537. data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +12 -12
  538. data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +12 -12
  539. data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +12 -12
  540. data/lib/purecloudplatformclientv2/models/trust_entity_listing.rb +12 -12
  541. data/lib/purecloudplatformclientv2/models/trust_user_entity_listing.rb +12 -12
  542. data/lib/purecloudplatformclientv2/models/trustee_billing_overview.rb +2 -2
  543. data/lib/purecloudplatformclientv2/models/trustor_entity_listing.rb +12 -12
  544. data/lib/purecloudplatformclientv2/models/tts_engine_entity_listing.rb +12 -12
  545. data/lib/purecloudplatformclientv2/models/tts_voice_entity_listing.rb +12 -12
  546. data/lib/purecloudplatformclientv2/models/twitter_integration_entity_listing.rb +12 -12
  547. data/lib/purecloudplatformclientv2/models/update_management_unit_request.rb +1 -1
  548. data/lib/purecloudplatformclientv2/models/user_action_category_entity_listing.rb +12 -12
  549. data/lib/purecloudplatformclientv2/models/user_aggregation_query.rb +44 -4
  550. data/lib/purecloudplatformclientv2/models/user_details_query.rb +32 -31
  551. data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +12 -12
  552. data/lib/purecloudplatformclientv2/models/user_language_entity_listing.rb +12 -12
  553. data/lib/purecloudplatformclientv2/models/user_profile_entity_listing.rb +12 -12
  554. data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +12 -12
  555. data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +12 -12
  556. data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +12 -12
  557. data/lib/purecloudplatformclientv2/models/value_wrapper_planning_period_settings.rb +203 -0
  558. data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +12 -12
  559. data/lib/purecloudplatformclientv2/models/web_chat_member_info_entity_list.rb +12 -12
  560. data/lib/purecloudplatformclientv2/models/wfm_forecast_modification_interval_offset_value.rb +1 -1
  561. data/lib/purecloudplatformclientv2/models/wfm_move_agents_complete_topic_wfm_move_agent_data.rb +2 -2
  562. data/lib/purecloudplatformclientv2/models/whats_app_integration_entity_listing.rb +12 -12
  563. data/lib/purecloudplatformclientv2/models/whats_app_integration_request.rb +321 -0
  564. data/lib/purecloudplatformclientv2/models/work_plan.rb +27 -1
  565. data/lib/purecloudplatformclientv2/models/work_plan_list_item_response.rb +27 -1
  566. data/lib/purecloudplatformclientv2/models/work_plan_reference.rb +57 -9
  567. data/lib/purecloudplatformclientv2/models/work_plan_shift.rb +27 -1
  568. data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +12 -12
  569. data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +12 -12
  570. data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +12 -12
  571. data/lib/purecloudplatformclientv2/version.rb +1 -1
  572. metadata +48 -12
  573. data/docs/LocationCreateUpdateDefinition.md +0 -21
@@ -17,13 +17,10 @@ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
17
17
  require 'date'
18
18
 
19
19
  module PureCloud
20
- # Defines a link between an External Identifier and Authority pair to a Entity Type and Entity Identifier pair. Represents the two way, one to one mapping of an External Authority or System of Record's identifier to a PureCloud entity. e.g. (ExternalId='05001',Authority='XyzCRM') to (entityType=user,entityId='8eb03b33-3acb-4bc1-a244-50b9b9f19495')
21
- class UserExternalIdentifier
22
- # Authority or System of Record which owns the External Identifier
23
- attr_accessor :authority_name
24
-
25
- # External Key
26
- attr_accessor :external_key
20
+ # Management unit reference object for Workforce Management (ID/selfUri only)
21
+ class ManagementUnitReference
22
+ # The globally unique identifier for the object.
23
+ attr_accessor :id
27
24
 
28
25
  # The URI for this object
29
26
  attr_accessor :self_uri
@@ -32,9 +29,7 @@ module PureCloud
32
29
  def self.attribute_map
33
30
  {
34
31
 
35
- :'authority_name' => :'authorityName',
36
-
37
- :'external_key' => :'externalKey',
32
+ :'id' => :'id',
38
33
 
39
34
  :'self_uri' => :'selfUri'
40
35
 
@@ -45,9 +40,7 @@ module PureCloud
45
40
  def self.swagger_types
46
41
  {
47
42
 
48
- :'authority_name' => :'String',
49
-
50
- :'external_key' => :'String',
43
+ :'id' => :'String',
51
44
 
52
45
  :'self_uri' => :'String'
53
46
 
@@ -63,19 +56,10 @@ module PureCloud
63
56
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
64
57
 
65
58
 
66
- if attributes.has_key?(:'authorityName')
59
+ if attributes.has_key?(:'id')
67
60
 
68
61
 
69
- self.authority_name = attributes[:'authorityName']
70
-
71
-
72
- end
73
-
74
-
75
- if attributes.has_key?(:'externalKey')
76
-
77
-
78
- self.external_key = attributes[:'externalKey']
62
+ self.id = attributes[:'id']
79
63
 
80
64
 
81
65
  end
@@ -106,20 +90,6 @@ module PureCloud
106
90
  def valid?
107
91
 
108
92
 
109
- if @authority_name.nil?
110
- return false
111
- end
112
-
113
-
114
-
115
-
116
-
117
-
118
- if @external_key.nil?
119
- return false
120
- end
121
-
122
-
123
93
 
124
94
 
125
95
 
@@ -140,18 +110,12 @@ module PureCloud
140
110
 
141
111
 
142
112
 
143
-
144
-
145
-
146
-
147
-
148
113
  # Checks equality by comparing each attribute.
149
114
  # @param [Object] Object to be compared
150
115
  def ==(o)
151
116
  return true if self.equal?(o)
152
117
  self.class == o.class &&
153
- authority_name == o.authority_name &&
154
- external_key == o.external_key &&
118
+ id == o.id &&
155
119
  self_uri == o.self_uri
156
120
  end
157
121
 
@@ -164,7 +128,7 @@ module PureCloud
164
128
  # Calculates hash code according to all attributes.
165
129
  # @return [Fixnum] Hash code
166
130
  def hash
167
- [authority_name, external_key, self_uri].hash
131
+ [id, self_uri].hash
168
132
  end
169
133
 
170
134
  # build the object from hash
@@ -18,7 +18,7 @@ require 'date'
18
18
 
19
19
  module PureCloud
20
20
  # Management Unit Settings
21
- class ManagementUnitSettings
21
+ class ManagementUnitSettingsRequest
22
22
  # Adherence settings for this management unit
23
23
  attr_accessor :adherence
24
24
 
@@ -66,7 +66,7 @@ module PureCloud
66
66
 
67
67
  :'time_off' => :'TimeOffRequestSettings',
68
68
 
69
- :'scheduling' => :'SchedulingSettings',
69
+ :'scheduling' => :'SchedulingSettingsRequest',
70
70
 
71
71
  :'shift_trading' => :'ShiftTradeSettings',
72
72
 
@@ -0,0 +1,337 @@
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@genesys.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ License: UNLICENSED
11
+ https://help.mypurecloud.com/articles/terms-and-conditions/
12
+
13
+ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
14
+
15
+ =end
16
+
17
+ require 'date'
18
+
19
+ module PureCloud
20
+ class ManagementUnitSettingsResponse
21
+ # Adherence settings for this management unit
22
+ attr_accessor :adherence
23
+
24
+ # Short term forecasting settings for this management unit
25
+ attr_accessor :short_term_forecasting
26
+
27
+ # Time off request settings for this management unit
28
+ attr_accessor :time_off
29
+
30
+ # Scheduling settings for this management unit
31
+ attr_accessor :scheduling
32
+
33
+ # Shift trade settings for this management unit
34
+ attr_accessor :shift_trading
35
+
36
+ # Version info metadata for the associated management unit
37
+ attr_accessor :metadata
38
+
39
+ # Attribute mapping from ruby-style variable name to JSON key.
40
+ def self.attribute_map
41
+ {
42
+
43
+ :'adherence' => :'adherence',
44
+
45
+ :'short_term_forecasting' => :'shortTermForecasting',
46
+
47
+ :'time_off' => :'timeOff',
48
+
49
+ :'scheduling' => :'scheduling',
50
+
51
+ :'shift_trading' => :'shiftTrading',
52
+
53
+ :'metadata' => :'metadata'
54
+
55
+ }
56
+ end
57
+
58
+ # Attribute type mapping.
59
+ def self.swagger_types
60
+ {
61
+
62
+ :'adherence' => :'AdherenceSettings',
63
+
64
+ :'short_term_forecasting' => :'ShortTermForecastingSettings',
65
+
66
+ :'time_off' => :'TimeOffRequestSettings',
67
+
68
+ :'scheduling' => :'SchedulingSettingsResponse',
69
+
70
+ :'shift_trading' => :'ShiftTradeSettings',
71
+
72
+ :'metadata' => :'WfmVersionedEntityMetadata'
73
+
74
+ }
75
+ end
76
+
77
+ # Initializes the object
78
+ # @param [Hash] attributes Model attributes in the form of hash
79
+ def initialize(attributes = {})
80
+ return unless attributes.is_a?(Hash)
81
+
82
+ # convert string to symbol for hash key
83
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
84
+
85
+
86
+ if attributes.has_key?(:'adherence')
87
+
88
+
89
+ self.adherence = attributes[:'adherence']
90
+
91
+
92
+ end
93
+
94
+
95
+ if attributes.has_key?(:'shortTermForecasting')
96
+
97
+
98
+ self.short_term_forecasting = attributes[:'shortTermForecasting']
99
+
100
+
101
+ end
102
+
103
+
104
+ if attributes.has_key?(:'timeOff')
105
+
106
+
107
+ self.time_off = attributes[:'timeOff']
108
+
109
+
110
+ end
111
+
112
+
113
+ if attributes.has_key?(:'scheduling')
114
+
115
+
116
+ self.scheduling = attributes[:'scheduling']
117
+
118
+
119
+ end
120
+
121
+
122
+ if attributes.has_key?(:'shiftTrading')
123
+
124
+
125
+ self.shift_trading = attributes[:'shiftTrading']
126
+
127
+
128
+ end
129
+
130
+
131
+ if attributes.has_key?(:'metadata')
132
+
133
+
134
+ self.metadata = attributes[:'metadata']
135
+
136
+
137
+ end
138
+
139
+
140
+ end
141
+
142
+ # Show invalid properties with the reasons. Usually used together with valid?
143
+ # @return Array for valid properies with the reasons
144
+ def list_invalid_properties
145
+ invalid_properties = Array.new
146
+
147
+
148
+ return invalid_properties
149
+ end
150
+
151
+ # Check to see if the all the properties in the model are valid
152
+ # @return true if the model is valid
153
+ def valid?
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+
175
+
176
+ if @metadata.nil?
177
+ return false
178
+ end
179
+
180
+
181
+
182
+
183
+
184
+ end
185
+
186
+
187
+
188
+
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+ # Checks equality by comparing each attribute.
218
+ # @param [Object] Object to be compared
219
+ def ==(o)
220
+ return true if self.equal?(o)
221
+ self.class == o.class &&
222
+ adherence == o.adherence &&
223
+ short_term_forecasting == o.short_term_forecasting &&
224
+ time_off == o.time_off &&
225
+ scheduling == o.scheduling &&
226
+ shift_trading == o.shift_trading &&
227
+ metadata == o.metadata
228
+ end
229
+
230
+ # @see the `==` method
231
+ # @param [Object] Object to be compared
232
+ def eql?(o)
233
+ self == o
234
+ end
235
+
236
+ # Calculates hash code according to all attributes.
237
+ # @return [Fixnum] Hash code
238
+ def hash
239
+ [adherence, short_term_forecasting, time_off, scheduling, shift_trading, metadata].hash
240
+ end
241
+
242
+ # build the object from hash
243
+ def build_from_hash(attributes)
244
+ return nil unless attributes.is_a?(Hash)
245
+ self.class.swagger_types.each_pair do |key, type|
246
+ if type =~ /^Array<(.*)>/i
247
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
248
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
249
+ else
250
+ #TODO show warning in debug mode
251
+ end
252
+ elsif !attributes[self.class.attribute_map[key]].nil?
253
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
254
+ else
255
+ # data not found in attributes(hash), not an issue as the data can be optional
256
+ end
257
+ end
258
+
259
+ self
260
+ end
261
+
262
+ def _deserialize(type, value)
263
+ case type.to_sym
264
+ when :DateTime
265
+ DateTime.parse(value)
266
+ when :Date
267
+ Date.parse(value)
268
+ when :String
269
+ value.to_s
270
+ when :Integer
271
+ value.to_i
272
+ when :Float
273
+ value.to_f
274
+ when :BOOLEAN
275
+ if value.to_s =~ /^(true|t|yes|y|1)$/i
276
+ true
277
+ else
278
+ false
279
+ end
280
+ when :Object
281
+ # generic object (usually a Hash), return directly
282
+ value
283
+ when /\AArray<(?<inner_type>.+)>\z/
284
+ inner_type = Regexp.last_match[:inner_type]
285
+ value.map { |v| _deserialize(inner_type, v) }
286
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
287
+ k_type = Regexp.last_match[:k_type]
288
+ v_type = Regexp.last_match[:v_type]
289
+ {}.tap do |hash|
290
+ value.each do |k, v|
291
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
292
+ end
293
+ end
294
+ else # model
295
+ _model = Object.const_get("PureCloud").const_get(type).new
296
+ _model.build_from_hash(value)
297
+ end
298
+ end
299
+
300
+ def to_s
301
+ to_hash.to_s
302
+ end
303
+
304
+ # to_body is an alias to to_body (backward compatibility))
305
+ def to_body
306
+ to_hash
307
+ end
308
+
309
+ # return the object in the form of hash
310
+ def to_hash
311
+ hash = {}
312
+ self.class.attribute_map.each_pair do |attr, param|
313
+ value = self.send(attr)
314
+ next if value.nil?
315
+ hash[param] = _to_hash(value)
316
+ end
317
+ hash
318
+ end
319
+
320
+ # Method to output non-array value in the form of hash
321
+ # For object, use to_hash. Otherwise, just return the value
322
+ def _to_hash(value)
323
+ if value.is_a?(Array)
324
+ value.compact.map{ |v| _to_hash(v) }
325
+ elsif value.is_a?(Hash)
326
+ {}.tap do |hash|
327
+ value.each { |k, v| hash[k] = _to_hash(v) }
328
+ end
329
+ elsif value.respond_to? :to_hash
330
+ value.to_hash
331
+ else
332
+ value
333
+ end
334
+ end
335
+
336
+ end
337
+ end