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
@@ -173,90 +173,6 @@ module PureCloud
173
173
  return data, status_code, headers
174
174
  end
175
175
 
176
- # Delete the external identifier for user.
177
- #
178
- # @param user_id User ID
179
- # @param authority_name Authority Name
180
- # @param external_key External Key
181
- # @param [Hash] opts the optional parameters
182
- # @return [nil]
183
- def delete_user_externalid_authority_name_external_key(user_id, authority_name, external_key, opts = {})
184
- delete_user_externalid_authority_name_external_key_with_http_info(user_id, authority_name, external_key, opts)
185
- return nil
186
- end
187
-
188
- # Delete the external identifier for user.
189
- #
190
- # @param user_id User ID
191
- # @param authority_name Authority Name
192
- # @param external_key External Key
193
- # @param [Hash] opts the optional parameters
194
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
195
- def delete_user_externalid_authority_name_external_key_with_http_info(user_id, authority_name, external_key, opts = {})
196
- if @api_client.config.debugging
197
- @api_client.config.logger.debug "Calling API: UsersApi.delete_user_externalid_authority_name_external_key ..."
198
- end
199
-
200
-
201
- # verify the required parameter 'user_id' is set
202
- fail ArgumentError, "Missing the required parameter 'user_id' when calling UsersApi.delete_user_externalid_authority_name_external_key" if user_id.nil?
203
-
204
-
205
-
206
-
207
-
208
-
209
- # verify the required parameter 'authority_name' is set
210
- fail ArgumentError, "Missing the required parameter 'authority_name' when calling UsersApi.delete_user_externalid_authority_name_external_key" if authority_name.nil?
211
-
212
-
213
-
214
-
215
-
216
-
217
- # verify the required parameter 'external_key' is set
218
- fail ArgumentError, "Missing the required parameter 'external_key' when calling UsersApi.delete_user_externalid_authority_name_external_key" if external_key.nil?
219
-
220
-
221
-
222
-
223
-
224
- # resource path
225
- local_var_path = "/api/v2/users/{userId}/externalid/{authorityName}/{externalKey}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'authorityName' + '}', authority_name.to_s).sub('{' + 'externalKey' + '}', external_key.to_s)
226
-
227
- # query parameters
228
- query_params = {}
229
-
230
- # header parameters
231
- header_params = {}
232
-
233
- # HTTP header 'Accept' (if needed)
234
- local_header_accept = ['application/json']
235
- local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
236
-
237
- # HTTP header 'Content-Type'
238
- local_header_content_type = ['application/json']
239
- header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
240
-
241
- # form parameters
242
- form_params = {}
243
-
244
- # http body (model)
245
- post_body = nil
246
-
247
- auth_names = ['PureCloud OAuth']
248
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
249
- :header_params => header_params,
250
- :query_params => query_params,
251
- :form_params => form_params,
252
- :body => post_body,
253
- :auth_names => auth_names)
254
- if @api_client.config.debugging
255
- @api_client.config.logger.debug "API called: UsersApi#delete_user_externalid_authority_name_external_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
256
- end
257
- return data, status_code, headers
258
- end
259
-
260
176
  # Removes all the roles from the user.
261
177
  #
262
178
  # @param user_id User ID
@@ -1361,146 +1277,6 @@ module PureCloud
1361
1277
  return data, status_code, headers
1362
1278
  end
1363
1279
 
1364
- # Get the external identifiers for a user.
1365
- #
1366
- # @param user_id User ID
1367
- # @param [Hash] opts the optional parameters
1368
- # @return [Array<UserExternalIdentifier>]
1369
- def get_user_externalid(user_id, opts = {})
1370
- data, _status_code, _headers = get_user_externalid_with_http_info(user_id, opts)
1371
- return data
1372
- end
1373
-
1374
- # Get the external identifiers for a user.
1375
- #
1376
- # @param user_id User ID
1377
- # @param [Hash] opts the optional parameters
1378
- # @return [Array<(Array<UserExternalIdentifier>, Fixnum, Hash)>] Array<UserExternalIdentifier> data, response status code and response headers
1379
- def get_user_externalid_with_http_info(user_id, opts = {})
1380
- if @api_client.config.debugging
1381
- @api_client.config.logger.debug "Calling API: UsersApi.get_user_externalid ..."
1382
- end
1383
-
1384
-
1385
- # verify the required parameter 'user_id' is set
1386
- fail ArgumentError, "Missing the required parameter 'user_id' when calling UsersApi.get_user_externalid" if user_id.nil?
1387
-
1388
-
1389
-
1390
-
1391
-
1392
- # resource path
1393
- local_var_path = "/api/v2/users/{userId}/externalid".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
1394
-
1395
- # query parameters
1396
- query_params = {}
1397
-
1398
- # header parameters
1399
- header_params = {}
1400
-
1401
- # HTTP header 'Accept' (if needed)
1402
- local_header_accept = ['application/json']
1403
- local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1404
-
1405
- # HTTP header 'Content-Type'
1406
- local_header_content_type = ['application/json']
1407
- header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1408
-
1409
- # form parameters
1410
- form_params = {}
1411
-
1412
- # http body (model)
1413
- post_body = nil
1414
-
1415
- auth_names = ['PureCloud OAuth']
1416
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1417
- :header_params => header_params,
1418
- :query_params => query_params,
1419
- :form_params => form_params,
1420
- :body => post_body,
1421
- :auth_names => auth_names,
1422
- :return_type => 'Array<UserExternalIdentifier>')
1423
- if @api_client.config.debugging
1424
- @api_client.config.logger.debug "API called: UsersApi#get_user_externalid\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1425
- end
1426
- return data, status_code, headers
1427
- end
1428
-
1429
- # Get the external identifier of user for an authority.
1430
- # Authority name and external key are case sensitive.
1431
- # @param user_id User ID
1432
- # @param authority_name Authority Name
1433
- # @param [Hash] opts the optional parameters
1434
- # @return [UserExternalIdentifier]
1435
- def get_user_externalid_authority_name(user_id, authority_name, opts = {})
1436
- data, _status_code, _headers = get_user_externalid_authority_name_with_http_info(user_id, authority_name, opts)
1437
- return data
1438
- end
1439
-
1440
- # Get the external identifier of user for an authority.
1441
- # Authority name and external key are case sensitive.
1442
- # @param user_id User ID
1443
- # @param authority_name Authority Name
1444
- # @param [Hash] opts the optional parameters
1445
- # @return [Array<(UserExternalIdentifier, Fixnum, Hash)>] UserExternalIdentifier data, response status code and response headers
1446
- def get_user_externalid_authority_name_with_http_info(user_id, authority_name, opts = {})
1447
- if @api_client.config.debugging
1448
- @api_client.config.logger.debug "Calling API: UsersApi.get_user_externalid_authority_name ..."
1449
- end
1450
-
1451
-
1452
- # verify the required parameter 'user_id' is set
1453
- fail ArgumentError, "Missing the required parameter 'user_id' when calling UsersApi.get_user_externalid_authority_name" if user_id.nil?
1454
-
1455
-
1456
-
1457
-
1458
-
1459
-
1460
- # verify the required parameter 'authority_name' is set
1461
- fail ArgumentError, "Missing the required parameter 'authority_name' when calling UsersApi.get_user_externalid_authority_name" if authority_name.nil?
1462
-
1463
-
1464
-
1465
-
1466
-
1467
- # resource path
1468
- local_var_path = "/api/v2/users/{userId}/externalid/{authorityName}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'authorityName' + '}', authority_name.to_s)
1469
-
1470
- # query parameters
1471
- query_params = {}
1472
-
1473
- # header parameters
1474
- header_params = {}
1475
-
1476
- # HTTP header 'Accept' (if needed)
1477
- local_header_accept = ['application/json']
1478
- local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1479
-
1480
- # HTTP header 'Content-Type'
1481
- local_header_content_type = ['application/json']
1482
- header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1483
-
1484
- # form parameters
1485
- form_params = {}
1486
-
1487
- # http body (model)
1488
- post_body = nil
1489
-
1490
- auth_names = ['PureCloud OAuth']
1491
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1492
- :header_params => header_params,
1493
- :query_params => query_params,
1494
- :form_params => form_params,
1495
- :body => post_body,
1496
- :auth_names => auth_names,
1497
- :return_type => 'UserExternalIdentifier')
1498
- if @api_client.config.debugging
1499
- @api_client.config.logger.debug "API called: UsersApi#get_user_externalid_authority_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1500
- end
1501
- return data, status_code, headers
1502
- end
1503
-
1504
1280
  # Get favorites
1505
1281
  #
1506
1282
  # @param user_id User ID
@@ -2652,90 +2428,6 @@ module PureCloud
2652
2428
  return data, status_code, headers
2653
2429
  end
2654
2430
 
2655
- # Get the user associated with external identifier.
2656
- # Authority name and external key are case sensitive.
2657
- # @param authority_name Authority Name
2658
- # @param external_key External Key
2659
- # @param [Hash] opts the optional parameters
2660
- # @option opts [Array<String>] :expand Which fields, if any, to expand
2661
- # @return [User]
2662
- def get_users_externalid_authority_name_external_key(authority_name, external_key, opts = {})
2663
- data, _status_code, _headers = get_users_externalid_authority_name_external_key_with_http_info(authority_name, external_key, opts)
2664
- return data
2665
- end
2666
-
2667
- # Get the user associated with external identifier.
2668
- # Authority name and external key are case sensitive.
2669
- # @param authority_name Authority Name
2670
- # @param external_key External Key
2671
- # @param [Hash] opts the optional parameters
2672
- # @option opts [Array<String>] :expand Which fields, if any, to expand
2673
- # @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers
2674
- def get_users_externalid_authority_name_external_key_with_http_info(authority_name, external_key, opts = {})
2675
- if @api_client.config.debugging
2676
- @api_client.config.logger.debug "Calling API: UsersApi.get_users_externalid_authority_name_external_key ..."
2677
- end
2678
-
2679
-
2680
- # verify the required parameter 'authority_name' is set
2681
- fail ArgumentError, "Missing the required parameter 'authority_name' when calling UsersApi.get_users_externalid_authority_name_external_key" if authority_name.nil?
2682
-
2683
-
2684
-
2685
-
2686
-
2687
-
2688
- # verify the required parameter 'external_key' is set
2689
- fail ArgumentError, "Missing the required parameter 'external_key' when calling UsersApi.get_users_externalid_authority_name_external_key" if external_key.nil?
2690
-
2691
-
2692
-
2693
-
2694
-
2695
-
2696
-
2697
-
2698
-
2699
-
2700
-
2701
- # resource path
2702
- local_var_path = "/api/v2/users/externalid/{authorityName}/{externalKey}".sub('{format}','json').sub('{' + 'authorityName' + '}', authority_name.to_s).sub('{' + 'externalKey' + '}', external_key.to_s)
2703
-
2704
- # query parameters
2705
- query_params = {}
2706
- query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
2707
-
2708
- # header parameters
2709
- header_params = {}
2710
-
2711
- # HTTP header 'Accept' (if needed)
2712
- local_header_accept = ['application/json']
2713
- local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
2714
-
2715
- # HTTP header 'Content-Type'
2716
- local_header_content_type = ['application/json']
2717
- header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
2718
-
2719
- # form parameters
2720
- form_params = {}
2721
-
2722
- # http body (model)
2723
- post_body = nil
2724
-
2725
- auth_names = ['PureCloud OAuth']
2726
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2727
- :header_params => header_params,
2728
- :query_params => query_params,
2729
- :form_params => form_params,
2730
- :body => post_body,
2731
- :auth_names => auth_names,
2732
- :return_type => 'User')
2733
- if @api_client.config.debugging
2734
- @api_client.config.logger.debug "API called: UsersApi#get_users_externalid_authority_name_external_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2735
- end
2736
- return data, status_code, headers
2737
- end
2738
-
2739
2431
  # Get current user details.
2740
2432
  # This request is not valid when using the Client Credentials OAuth grant.
2741
2433
  # @param [Hash] opts the optional parameters
@@ -3774,68 +3466,132 @@ module PureCloud
3774
3466
  return data, status_code, headers
3775
3467
  end
3776
3468
 
3777
- # Make a grant of a role in a division
3469
+ # Bulk-grant roles and divisions to a subject.
3778
3470
  #
3779
3471
  # @param subject_id Subject ID (user or group)
3780
- # @param division_id the id of the division to which to make the grant
3781
- # @param role_id the id of the role to grant
3472
+ # @param body Pairs of role and division IDs
3782
3473
  # @param [Hash] opts the optional parameters
3783
- # @option opts [String] :subject_type what the type of the subject is: PC_GROUP, PC_USER or PC_OAUTH_CLIENT (note: for cross-org authorization, please use the Organization Authorization endpoints) (default to PC_USER)
3474
+ # @option opts [String] :subject_type what the type of the subject is (PC_GROUP, PC_USER or PC_OAUTH_CLIENT) (default to PC_USER)
3784
3475
  # @return [nil]
3785
- def post_authorization_subject_division_role(subject_id, division_id, role_id, opts = {})
3786
- post_authorization_subject_division_role_with_http_info(subject_id, division_id, role_id, opts)
3476
+ def post_authorization_subject_bulkadd(subject_id, body, opts = {})
3477
+ post_authorization_subject_bulkadd_with_http_info(subject_id, body, opts)
3787
3478
  return nil
3788
3479
  end
3789
3480
 
3790
- # Make a grant of a role in a division
3481
+ # Bulk-grant roles and divisions to a subject.
3791
3482
  #
3792
3483
  # @param subject_id Subject ID (user or group)
3793
- # @param division_id the id of the division to which to make the grant
3794
- # @param role_id the id of the role to grant
3484
+ # @param body Pairs of role and division IDs
3795
3485
  # @param [Hash] opts the optional parameters
3796
- # @option opts [String] :subject_type what the type of the subject is: PC_GROUP, PC_USER or PC_OAUTH_CLIENT (note: for cross-org authorization, please use the Organization Authorization endpoints)
3486
+ # @option opts [String] :subject_type what the type of the subject is (PC_GROUP, PC_USER or PC_OAUTH_CLIENT)
3797
3487
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3798
- def post_authorization_subject_division_role_with_http_info(subject_id, division_id, role_id, opts = {})
3488
+ def post_authorization_subject_bulkadd_with_http_info(subject_id, body, opts = {})
3799
3489
  if @api_client.config.debugging
3800
- @api_client.config.logger.debug "Calling API: UsersApi.post_authorization_subject_division_role ..."
3490
+ @api_client.config.logger.debug "Calling API: UsersApi.post_authorization_subject_bulkadd ..."
3801
3491
  end
3802
3492
 
3803
3493
 
3804
3494
  # verify the required parameter 'subject_id' is set
3805
- fail ArgumentError, "Missing the required parameter 'subject_id' when calling UsersApi.post_authorization_subject_division_role" if subject_id.nil?
3495
+ fail ArgumentError, "Missing the required parameter 'subject_id' when calling UsersApi.post_authorization_subject_bulkadd" if subject_id.nil?
3806
3496
 
3807
3497
 
3808
3498
 
3809
3499
 
3810
3500
 
3811
3501
 
3812
- # verify the required parameter 'division_id' is set
3813
- fail ArgumentError, "Missing the required parameter 'division_id' when calling UsersApi.post_authorization_subject_division_role" if division_id.nil?
3502
+ # verify the required parameter 'body' is set
3503
+ fail ArgumentError, "Missing the required parameter 'body' when calling UsersApi.post_authorization_subject_bulkadd" if body.nil?
3814
3504
 
3815
3505
 
3816
3506
 
3817
3507
 
3818
3508
 
3819
3509
 
3820
- # verify the required parameter 'role_id' is set
3821
- fail ArgumentError, "Missing the required parameter 'role_id' when calling UsersApi.post_authorization_subject_division_role" if role_id.nil?
3822
3510
 
3823
3511
 
3824
3512
 
3825
3513
 
3826
3514
 
3515
+ # resource path
3516
+ local_var_path = "/api/v2/authorization/subjects/{subjectId}/bulkadd".sub('{format}','json').sub('{' + 'subjectId' + '}', subject_id.to_s)
3517
+
3518
+ # query parameters
3519
+ query_params = {}
3520
+ query_params[:'subjectType'] = opts[:'subject_type'] if opts[:'subject_type']
3521
+
3522
+ # header parameters
3523
+ header_params = {}
3524
+
3525
+ # HTTP header 'Accept' (if needed)
3526
+ local_header_accept = ['application/json']
3527
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
3528
+
3529
+ # HTTP header 'Content-Type'
3530
+ local_header_content_type = ['application/json']
3531
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
3532
+
3533
+ # form parameters
3534
+ form_params = {}
3535
+
3536
+ # http body (model)
3537
+ post_body = @api_client.object_to_http_body(body)
3538
+
3539
+ auth_names = ['PureCloud OAuth']
3540
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
3541
+ :header_params => header_params,
3542
+ :query_params => query_params,
3543
+ :form_params => form_params,
3544
+ :body => post_body,
3545
+ :auth_names => auth_names)
3546
+ if @api_client.config.debugging
3547
+ @api_client.config.logger.debug "API called: UsersApi#post_authorization_subject_bulkadd\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3548
+ end
3549
+ return data, status_code, headers
3550
+ end
3551
+
3552
+ # Bulk-remove grants from a subject.
3553
+ #
3554
+ # @param subject_id Subject ID (user or group)
3555
+ # @param body Pairs of role and division IDs
3556
+ # @param [Hash] opts the optional parameters
3557
+ # @return [nil]
3558
+ def post_authorization_subject_bulkremove(subject_id, body, opts = {})
3559
+ post_authorization_subject_bulkremove_with_http_info(subject_id, body, opts)
3560
+ return nil
3561
+ end
3562
+
3563
+ # Bulk-remove grants from a subject.
3564
+ #
3565
+ # @param subject_id Subject ID (user or group)
3566
+ # @param body Pairs of role and division IDs
3567
+ # @param [Hash] opts the optional parameters
3568
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3569
+ def post_authorization_subject_bulkremove_with_http_info(subject_id, body, opts = {})
3570
+ if @api_client.config.debugging
3571
+ @api_client.config.logger.debug "Calling API: UsersApi.post_authorization_subject_bulkremove ..."
3572
+ end
3573
+
3574
+
3575
+ # verify the required parameter 'subject_id' is set
3576
+ fail ArgumentError, "Missing the required parameter 'subject_id' when calling UsersApi.post_authorization_subject_bulkremove" if subject_id.nil?
3577
+
3578
+
3827
3579
 
3828
3580
 
3829
3581
 
3830
3582
 
3583
+ # verify the required parameter 'body' is set
3584
+ fail ArgumentError, "Missing the required parameter 'body' when calling UsersApi.post_authorization_subject_bulkremove" if body.nil?
3585
+
3586
+
3587
+
3831
3588
 
3832
3589
 
3833
3590
  # resource path
3834
- local_var_path = "/api/v2/authorization/subjects/{subjectId}/divisions/{divisionId}/roles/{roleId}".sub('{format}','json').sub('{' + 'subjectId' + '}', subject_id.to_s).sub('{' + 'divisionId' + '}', division_id.to_s).sub('{' + 'roleId' + '}', role_id.to_s)
3591
+ local_var_path = "/api/v2/authorization/subjects/{subjectId}/bulkremove".sub('{format}','json').sub('{' + 'subjectId' + '}', subject_id.to_s)
3835
3592
 
3836
3593
  # query parameters
3837
3594
  query_params = {}
3838
- query_params[:'subjectType'] = opts[:'subject_type'] if opts[:'subject_type']
3839
3595
 
3840
3596
  # header parameters
3841
3597
  header_params = {}
@@ -3852,7 +3608,7 @@ module PureCloud
3852
3608
  form_params = {}
3853
3609
 
3854
3610
  # http body (model)
3855
- post_body = nil
3611
+ post_body = @api_client.object_to_http_body(body)
3856
3612
 
3857
3613
  auth_names = ['PureCloud OAuth']
3858
3614
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -3862,54 +3618,73 @@ module PureCloud
3862
3618
  :body => post_body,
3863
3619
  :auth_names => auth_names)
3864
3620
  if @api_client.config.debugging
3865
- @api_client.config.logger.debug "API called: UsersApi#post_authorization_subject_division_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3621
+ @api_client.config.logger.debug "API called: UsersApi#post_authorization_subject_bulkremove\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3866
3622
  end
3867
3623
  return data, status_code, headers
3868
3624
  end
3869
3625
 
3870
- # Create mapping between external identifier and user. Limit 100 per entity.
3871
- # Authority Name and External key are case sensitive.
3872
- # @param user_id User ID
3873
- # @param body
3626
+ # Make a grant of a role in a division
3627
+ #
3628
+ # @param subject_id Subject ID (user or group)
3629
+ # @param division_id the id of the division to which to make the grant
3630
+ # @param role_id the id of the role to grant
3874
3631
  # @param [Hash] opts the optional parameters
3875
- # @return [Array<UserExternalIdentifier>]
3876
- def post_user_externalid(user_id, body, opts = {})
3877
- data, _status_code, _headers = post_user_externalid_with_http_info(user_id, body, opts)
3878
- return data
3632
+ # @option opts [String] :subject_type what the type of the subject is: PC_GROUP, PC_USER or PC_OAUTH_CLIENT (note: for cross-org authorization, please use the Organization Authorization endpoints) (default to PC_USER)
3633
+ # @return [nil]
3634
+ def post_authorization_subject_division_role(subject_id, division_id, role_id, opts = {})
3635
+ post_authorization_subject_division_role_with_http_info(subject_id, division_id, role_id, opts)
3636
+ return nil
3879
3637
  end
3880
3638
 
3881
- # Create mapping between external identifier and user. Limit 100 per entity.
3882
- # Authority Name and External key are case sensitive.
3883
- # @param user_id User ID
3884
- # @param body
3639
+ # Make a grant of a role in a division
3640
+ #
3641
+ # @param subject_id Subject ID (user or group)
3642
+ # @param division_id the id of the division to which to make the grant
3643
+ # @param role_id the id of the role to grant
3885
3644
  # @param [Hash] opts the optional parameters
3886
- # @return [Array<(Array<UserExternalIdentifier>, Fixnum, Hash)>] Array<UserExternalIdentifier> data, response status code and response headers
3887
- def post_user_externalid_with_http_info(user_id, body, opts = {})
3645
+ # @option opts [String] :subject_type what the type of the subject is: PC_GROUP, PC_USER or PC_OAUTH_CLIENT (note: for cross-org authorization, please use the Organization Authorization endpoints)
3646
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3647
+ def post_authorization_subject_division_role_with_http_info(subject_id, division_id, role_id, opts = {})
3888
3648
  if @api_client.config.debugging
3889
- @api_client.config.logger.debug "Calling API: UsersApi.post_user_externalid ..."
3649
+ @api_client.config.logger.debug "Calling API: UsersApi.post_authorization_subject_division_role ..."
3890
3650
  end
3891
3651
 
3892
3652
 
3893
- # verify the required parameter 'user_id' is set
3894
- fail ArgumentError, "Missing the required parameter 'user_id' when calling UsersApi.post_user_externalid" if user_id.nil?
3653
+ # verify the required parameter 'subject_id' is set
3654
+ fail ArgumentError, "Missing the required parameter 'subject_id' when calling UsersApi.post_authorization_subject_division_role" if subject_id.nil?
3655
+
3656
+
3657
+
3658
+
3659
+
3660
+
3661
+ # verify the required parameter 'division_id' is set
3662
+ fail ArgumentError, "Missing the required parameter 'division_id' when calling UsersApi.post_authorization_subject_division_role" if division_id.nil?
3663
+
3664
+
3665
+
3666
+
3667
+
3668
+
3669
+ # verify the required parameter 'role_id' is set
3670
+ fail ArgumentError, "Missing the required parameter 'role_id' when calling UsersApi.post_authorization_subject_division_role" if role_id.nil?
3895
3671
 
3896
3672
 
3897
3673
 
3898
3674
 
3899
3675
 
3900
3676
 
3901
- # verify the required parameter 'body' is set
3902
- fail ArgumentError, "Missing the required parameter 'body' when calling UsersApi.post_user_externalid" if body.nil?
3903
3677
 
3904
3678
 
3905
3679
 
3906
3680
 
3907
3681
 
3908
3682
  # resource path
3909
- local_var_path = "/api/v2/users/{userId}/externalid".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
3683
+ local_var_path = "/api/v2/authorization/subjects/{subjectId}/divisions/{divisionId}/roles/{roleId}".sub('{format}','json').sub('{' + 'subjectId' + '}', subject_id.to_s).sub('{' + 'divisionId' + '}', division_id.to_s).sub('{' + 'roleId' + '}', role_id.to_s)
3910
3684
 
3911
3685
  # query parameters
3912
3686
  query_params = {}
3687
+ query_params[:'subjectType'] = opts[:'subject_type'] if opts[:'subject_type']
3913
3688
 
3914
3689
  # header parameters
3915
3690
  header_params = {}
@@ -3926,7 +3701,7 @@ module PureCloud
3926
3701
  form_params = {}
3927
3702
 
3928
3703
  # http body (model)
3929
- post_body = @api_client.object_to_http_body(body)
3704
+ post_body = nil
3930
3705
 
3931
3706
  auth_names = ['PureCloud OAuth']
3932
3707
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -3934,10 +3709,9 @@ module PureCloud
3934
3709
  :query_params => query_params,
3935
3710
  :form_params => form_params,
3936
3711
  :body => post_body,
3937
- :auth_names => auth_names,
3938
- :return_type => 'Array<UserExternalIdentifier>')
3712
+ :auth_names => auth_names)
3939
3713
  if @api_client.config.debugging
3940
- @api_client.config.logger.debug "API called: UsersApi#post_user_externalid\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3714
+ @api_client.config.logger.debug "API called: UsersApi#post_authorization_subject_division_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3941
3715
  end
3942
3716
  return data, status_code, headers
3943
3717
  end