purecloudplatformclientv2 75.1.0 → 79.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/ActivityCode.md +1 -1
  4. data/docs/AnalyticsApi.md +66 -2
  5. data/docs/AnalyticsConversationAsyncQueryResponse.md +1 -1
  6. data/docs/AnalyticsConversationQueryResponse.md +1 -1
  7. data/docs/AnalyticsParticipant.md +1 -0
  8. data/docs/AnalyticsParticipantWithoutAttributes.md +1 -0
  9. data/docs/ArchitectApi.md +345 -0
  10. data/docs/AuditApi.md +3 -1
  11. data/docs/AuditLogMessage.md +1 -1
  12. data/docs/AuthorizationApi.md +154 -9
  13. data/docs/AvailableTopic.md +3 -1
  14. data/docs/BuAgentScheduleActivity.md +18 -0
  15. data/docs/BuAgentSchedulePublishedScheduleReference.md +16 -0
  16. data/docs/BuAgentScheduleSearchResponse.md +15 -0
  17. data/docs/BuAgentScheduleShift.md +18 -0
  18. data/docs/BuAgentSchedulesSearchResponse.md +15 -0
  19. data/docs/BuAsyncAgentSchedulesSearchResponse.md +17 -0
  20. data/docs/BuFullDayTimeOffMarker.md +18 -0
  21. data/docs/BuScheduleReference.md +15 -0
  22. data/docs/Call.md +1 -1
  23. data/docs/CallBasic.md +1 -1
  24. data/docs/CallMediaParticipant.md +1 -1
  25. data/docs/CallbackMediaParticipant.md +1 -1
  26. data/docs/CampaignProgress.md +2 -1
  27. data/docs/ChatMediaParticipant.md +1 -1
  28. data/docs/CobrowseMediaParticipant.md +1 -1
  29. data/docs/ConversationsApi.md +71 -1
  30. data/docs/CopyAttachmentsRequest.md +14 -0
  31. data/docs/CreateManagementUnitApiRequest.md +3 -2
  32. data/docs/CreateManagementUnitSettingsRequest.md +1 -1
  33. data/docs/CreateWorkPlanShift.md +1 -1
  34. data/docs/DataTableExportJob.md +22 -0
  35. data/docs/DataTableImportJob.md +25 -0
  36. data/docs/DivsPermittedEntityListing.md +23 -0
  37. data/docs/EmailMediaParticipant.md +1 -1
  38. data/docs/EntityListing.md +17 -0
  39. data/docs/ErrorBody.md +2 -2
  40. data/docs/ErrorInfo.md +14 -0
  41. data/docs/Evaluation.md +1 -0
  42. data/docs/EvaluationQuestionGroupScore.md +4 -0
  43. data/docs/EvaluationScoringSet.md +1 -0
  44. data/docs/FacebookIntegrationRequest.md +2 -2
  45. data/docs/GDPRJourneyCustomer.md +2 -2
  46. data/docs/InboundDomain.md +2 -0
  47. data/docs/Library.md +4 -3
  48. data/docs/LicenseApi.md +66 -0
  49. data/docs/MailFromResult.md +15 -0
  50. data/docs/ManagementUnit.md +2 -2
  51. data/docs/ManagementUnitSettingsRequest.md +1 -1
  52. data/docs/MessageMediaParticipant.md +1 -1
  53. data/docs/MessagingApi.md +0 -936
  54. data/docs/MessagingTemplate.md +15 -0
  55. data/docs/Organization.md +1 -0
  56. data/docs/QualityApi.md +5 -6
  57. data/docs/Record.md +15 -0
  58. data/docs/ReportingExportMetadataJobListing.md +22 -0
  59. data/docs/ReportingExportMetadataJobResponse.md +22 -0
  60. data/docs/Response.md +2 -0
  61. data/docs/RoutingApi.md +385 -0
  62. data/docs/RoutingSettings.md +13 -0
  63. data/docs/SCIMApi.md +397 -23
  64. data/docs/ScimUserExtensions.md +14 -0
  65. data/docs/ScimUserRole.md +13 -0
  66. data/docs/ScimUserRoutingLanguage.md +14 -0
  67. data/docs/ScimUserRoutingSkill.md +14 -0
  68. data/docs/ScimV2CreateUser.md +2 -1
  69. data/docs/ScimV2SchemaAttribute.md +24 -0
  70. data/docs/ScimV2SchemaDefinition.md +17 -0
  71. data/docs/ScimV2SchemaListResponse.md +17 -0
  72. data/docs/ScimV2User.md +2 -1
  73. data/docs/ShortTermForecast.md +2 -2
  74. data/docs/ShortTermForecastListItemResponse.md +2 -2
  75. data/docs/ShortTermForecastReference.md +2 -2
  76. data/docs/TimeOffRequestLookup.md +3 -3
  77. data/docs/TimeOffRequestResponse.md +3 -3
  78. data/docs/UserScheduleAdherence.md +1 -1
  79. data/docs/UsersApi.md +358 -10
  80. data/docs/ViewFilter.md +4 -10
  81. data/docs/WeekSchedule.md +1 -1
  82. data/docs/WeekScheduleListItemResponse.md +1 -1
  83. data/docs/WeekScheduleReference.md +1 -1
  84. data/docs/WorkPlanShift.md +1 -1
  85. data/docs/WorkforceManagementApi.md +40 -41
  86. data/lib/purecloudplatformclientv2.rb +27 -0
  87. data/lib/purecloudplatformclientv2/api/analytics_api.rb +73 -0
  88. data/lib/purecloudplatformclientv2/api/architect_api.rb +373 -0
  89. data/lib/purecloudplatformclientv2/api/audit_api.rb +9 -0
  90. data/lib/purecloudplatformclientv2/api/authorization_api.rb +185 -7
  91. data/lib/purecloudplatformclientv2/api/conversations_api.rb +84 -0
  92. data/lib/purecloudplatformclientv2/api/license_api.rb +63 -0
  93. data/lib/purecloudplatformclientv2/api/messaging_api.rb +0 -949
  94. data/lib/purecloudplatformclientv2/api/quality_api.rb +8 -6
  95. data/lib/purecloudplatformclientv2/api/routing_api.rb +378 -0
  96. data/lib/purecloudplatformclientv2/api/scim_api.rb +366 -26
  97. data/lib/purecloudplatformclientv2/api/users_api.rb +398 -7
  98. data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +3 -3
  99. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  100. data/lib/purecloudplatformclientv2/models/activity_code.rb +30 -30
  101. data/lib/purecloudplatformclientv2/models/analytics_conversation_async_query_response.rb +15 -15
  102. data/lib/purecloudplatformclientv2/models/analytics_conversation_query_response.rb +15 -15
  103. data/lib/purecloudplatformclientv2/models/analytics_participant.rb +27 -1
  104. data/lib/purecloudplatformclientv2/models/analytics_participant_without_attributes.rb +27 -1
  105. data/lib/purecloudplatformclientv2/models/audit_log_message.rb +5 -5
  106. data/lib/purecloudplatformclientv2/models/available_topic.rb +57 -4
  107. data/lib/purecloudplatformclientv2/models/bu_agent_schedule_activity.rb +332 -0
  108. data/lib/purecloudplatformclientv2/models/bu_agent_schedule_published_schedule_reference.rb +280 -0
  109. data/lib/purecloudplatformclientv2/models/bu_agent_schedule_search_response.rb +258 -0
  110. data/lib/purecloudplatformclientv2/models/bu_agent_schedule_shift.rb +334 -0
  111. data/lib/purecloudplatformclientv2/models/bu_agent_schedules_search_response.rb +258 -0
  112. data/lib/purecloudplatformclientv2/models/bu_async_agent_schedules_search_response.rb +320 -0
  113. data/lib/purecloudplatformclientv2/models/bu_full_day_time_off_marker.rb +332 -0
  114. data/lib/purecloudplatformclientv2/models/bu_schedule_reference.rb +254 -0
  115. data/lib/purecloudplatformclientv2/models/call.rb +1 -1
  116. data/lib/purecloudplatformclientv2/models/call_basic.rb +1 -1
  117. data/lib/purecloudplatformclientv2/models/call_media_participant.rb +1 -1
  118. data/lib/purecloudplatformclientv2/models/callback_media_participant.rb +1 -1
  119. data/lib/purecloudplatformclientv2/models/campaign_progress.rb +28 -2
  120. data/lib/purecloudplatformclientv2/models/chat_media_participant.rb +1 -1
  121. data/lib/purecloudplatformclientv2/models/cobrowse_media_participant.rb +1 -1
  122. data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
  123. data/lib/purecloudplatformclientv2/models/copy_attachments_request.rb +240 -0
  124. data/lib/purecloudplatformclientv2/models/create_management_unit_api_request.rb +37 -16
  125. data/lib/purecloudplatformclientv2/models/create_management_unit_settings_request.rb +1 -1
  126. data/lib/purecloudplatformclientv2/models/create_work_plan_shift.rb +1 -1
  127. data/lib/purecloudplatformclientv2/models/data_table_export_job.rb +455 -0
  128. data/lib/purecloudplatformclientv2/models/data_table_import_job.rb +547 -0
  129. data/lib/purecloudplatformclientv2/models/divs_permitted_entity_listing.rb +453 -0
  130. data/lib/purecloudplatformclientv2/models/email_media_participant.rb +1 -1
  131. data/lib/purecloudplatformclientv2/models/entity_listing.rb +303 -0
  132. data/lib/purecloudplatformclientv2/models/error_body.rb +20 -20
  133. data/lib/purecloudplatformclientv2/models/error_info.rb +226 -0
  134. data/lib/purecloudplatformclientv2/models/evaluation.rb +27 -1
  135. data/lib/purecloudplatformclientv2/models/evaluation_question_group_score.rb +101 -1
  136. data/lib/purecloudplatformclientv2/models/evaluation_scoring_set.rb +26 -1
  137. data/lib/purecloudplatformclientv2/models/facebook_integration_request.rb +2 -7
  138. data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
  139. data/lib/purecloudplatformclientv2/models/gdpr_journey_customer.rb +2 -12
  140. data/lib/purecloudplatformclientv2/models/inbound_domain.rb +53 -1
  141. data/lib/purecloudplatformclientv2/models/library.rb +44 -2
  142. data/lib/purecloudplatformclientv2/models/mail_from_result.rb +275 -0
  143. data/lib/purecloudplatformclientv2/models/management_unit.rb +2 -2
  144. data/lib/purecloudplatformclientv2/models/management_unit_settings_request.rb +1 -1
  145. data/lib/purecloudplatformclientv2/models/message_media_participant.rb +1 -1
  146. data/lib/purecloudplatformclientv2/models/messaging_template.rb +270 -0
  147. data/lib/purecloudplatformclientv2/models/organization.rb +41 -1
  148. data/lib/purecloudplatformclientv2/models/record.rb +269 -0
  149. data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +2 -2
  150. data/lib/purecloudplatformclientv2/models/reporting_export_metadata_job_listing.rb +428 -0
  151. data/lib/purecloudplatformclientv2/models/reporting_export_metadata_job_response.rb +459 -0
  152. data/lib/purecloudplatformclientv2/models/response.rb +67 -1
  153. data/lib/purecloudplatformclientv2/models/routing_settings.rb +202 -0
  154. data/lib/purecloudplatformclientv2/models/scim_metadata.rb +2 -2
  155. data/lib/purecloudplatformclientv2/models/scim_user_extensions.rb +233 -0
  156. data/lib/purecloudplatformclientv2/models/scim_user_role.rb +203 -0
  157. data/lib/purecloudplatformclientv2/models/scim_user_routing_language.rb +234 -0
  158. data/lib/purecloudplatformclientv2/models/scim_user_routing_skill.rb +234 -0
  159. data/lib/purecloudplatformclientv2/models/scim_v2_create_user.rb +30 -5
  160. data/lib/purecloudplatformclientv2/models/scim_v2_group_reference.rb +2 -2
  161. data/lib/purecloudplatformclientv2/models/scim_v2_member_reference.rb +2 -2
  162. data/lib/purecloudplatformclientv2/models/scim_v2_schema_attribute.rb +551 -0
  163. data/lib/purecloudplatformclientv2/models/scim_v2_schema_definition.rb +309 -0
  164. data/lib/purecloudplatformclientv2/models/scim_v2_schema_list_response.rb +311 -0
  165. data/lib/purecloudplatformclientv2/models/scim_v2_user.rb +27 -2
  166. data/lib/purecloudplatformclientv2/models/segment_detail_query_predicate.rb +2 -2
  167. data/lib/purecloudplatformclientv2/models/short_term_forecast.rb +30 -35
  168. data/lib/purecloudplatformclientv2/models/short_term_forecast_list_item_response.rb +30 -35
  169. data/lib/purecloudplatformclientv2/models/short_term_forecast_reference.rb +22 -27
  170. data/lib/purecloudplatformclientv2/models/time_off_request_lookup.rb +3 -3
  171. data/lib/purecloudplatformclientv2/models/time_off_request_response.rb +3 -3
  172. data/lib/purecloudplatformclientv2/models/user_schedule_adherence.rb +1 -1
  173. data/lib/purecloudplatformclientv2/models/view_filter.rb +53 -255
  174. data/lib/purecloudplatformclientv2/models/week_schedule.rb +21 -21
  175. data/lib/purecloudplatformclientv2/models/week_schedule_list_item_response.rb +21 -21
  176. data/lib/purecloudplatformclientv2/models/week_schedule_reference.rb +14 -14
  177. data/lib/purecloudplatformclientv2/models/work_plan_shift.rb +1 -1
  178. data/lib/purecloudplatformclientv2/version.rb +1 -1
  179. metadata +56 -2
@@ -116,7 +116,8 @@ transaction_id = "transaction_id_example" # String | Transaction ID
116
116
 
117
117
  opts = {
118
118
  cursor: "cursor_example", # String | Indicates where to resume query results (not required for first page)
119
- page_size: 25 # Integer | Page size
119
+ page_size: 25, # Integer | Page size
120
+ expand: ["expand_example"] # Array<String> | Which fields, if any, to expand
120
121
  }
121
122
 
122
123
  begin
@@ -135,6 +136,7 @@ Name | Type | Description | Notes
135
136
  **transaction_id** | **String**| Transaction ID | |
136
137
  **cursor** | **String**| Indicates where to resume query results (not required for first page) | [optional] |
137
138
  **page_size** | **Integer**| Page size | [optional] [default to 25] |
139
+ **expand** | [**Array&lt;String&gt;**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: user |
138
140
  {: class="table table-striped"}
139
141
 
140
142
 
@@ -8,7 +8,7 @@ title: AuditLogMessage
8
8
  |Name | Type | Description | Notes|
9
9
  |------------ | ------------- | ------------- | -------------|
10
10
  | **id** | **String** | Id of the audit message. | [optional] |
11
- | **user** | [**AddressableEntityRef**](AddressableEntityRef.html) | User associated with this audit message. | [optional] |
11
+ | **user** | [**DomainEntityRef**](DomainEntityRef.html) | User associated with this audit message. | [optional] |
12
12
  | **client** | [**AddressableEntityRef**](AddressableEntityRef.html) | Client associated with this audit message. | [optional] |
13
13
  | **remote_ip** | **Array&lt;String&gt;** | List of IP addresses of systems that originated or handled the request. | [optional] |
14
14
  | **service_name** | **String** | Name of the service that logged this audit message. | [optional] |
@@ -16,8 +16,10 @@ Method | Description
16
16
  [**get_authorization_divisions**](AuthorizationApi.html#get_authorization_divisions) | Retrieve a list of all divisions defined for the organization
17
17
  [**get_authorization_divisions_home**](AuthorizationApi.html#get_authorization_divisions_home) | Retrieve the home division for the organization.
18
18
  [**get_authorization_divisions_limit**](AuthorizationApi.html#get_authorization_divisions_limit) | Returns the maximum allowed number of divisions.
19
- [**get_authorization_divisionspermitted_me**](AuthorizationApi.html#get_authorization_divisionspermitted_me) | Returns whether or not current user can perform the specified action(s).
20
- [**get_authorization_divisionspermitted_subject_id**](AuthorizationApi.html#get_authorization_divisionspermitted_subject_id) | Returns whether or not specified user can perform the specified action(s).
19
+ [**get_authorization_divisionspermitted_me**](AuthorizationApi.html#get_authorization_divisionspermitted_me) | Returns which divisions the current user has the given permission in.
20
+ [**get_authorization_divisionspermitted_paged_me**](AuthorizationApi.html#get_authorization_divisionspermitted_paged_me) | Returns which divisions the current user has the given permission in.
21
+ [**get_authorization_divisionspermitted_paged_subject_id**](AuthorizationApi.html#get_authorization_divisionspermitted_paged_subject_id) | Returns which divisions the specified user has the given permission in.
22
+ [**get_authorization_divisionspermitted_subject_id**](AuthorizationApi.html#get_authorization_divisionspermitted_subject_id) | Returns which divisions the specified user has the given permission in.
21
23
  [**get_authorization_permissions**](AuthorizationApi.html#get_authorization_permissions) | Get all permissions.
22
24
  [**get_authorization_products**](AuthorizationApi.html#get_authorization_products) | Get the list of enabled products
23
25
  [**get_authorization_role**](AuthorizationApi.html#get_authorization_role) | Get a single organization role.
@@ -582,11 +584,11 @@ This endpoint does not need any parameter.
582
584
 
583
585
  ## [**Array&lt;AuthzDivision&gt;**](AuthzDivision.html) get_authorization_divisionspermitted_me(permission, opts)
584
586
 
587
+ <span style="background-color: #f0ad4e;display: inline-block;padding: 7px;font-weight: bold;line-height: 1;color: #ffffff;text-align: center;white-space: nowrap;vertical-align: baseline;border-radius: .25em;margin: 10px 0;">DEPRECATED</span>
585
588
 
589
+ Returns which divisions the current user has the given permission in.
586
590
 
587
- Returns whether or not current user can perform the specified action(s).
588
-
589
-
591
+ This route is deprecated, use authorization/divisionspermitted/paged/me instead.
590
592
 
591
593
  Wraps GET /api/v2/authorization/divisionspermitted/me
592
594
 
@@ -618,7 +620,7 @@ opts = {
618
620
  }
619
621
 
620
622
  begin
621
- #Returns whether or not current user can perform the specified action(s).
623
+ #Returns which divisions the current user has the given permission in.
622
624
  result = api_instance.get_authorization_divisionspermitted_me(permission, opts)
623
625
  p result
624
626
  rescue PureCloud::ApiError => e
@@ -646,15 +648,158 @@ Name | Type | Description | Notes
646
648
 
647
649
 
648
650
 
651
+ <a name="get_authorization_divisionspermitted_paged_me"></a>
652
+
653
+ ## [**DivsPermittedEntityListing**](DivsPermittedEntityListing.html) get_authorization_divisionspermitted_paged_me(permission, opts)
654
+
655
+
656
+
657
+ Returns which divisions the current user has the given permission in.
658
+
659
+
660
+
661
+ Wraps GET /api/v2/authorization/divisionspermitted/paged/me
662
+
663
+ Requires NO permissions:
664
+
665
+
666
+
667
+ ### Example
668
+ ```{"language":"ruby"}
669
+ # load the gem
670
+ require 'purecloudplatformclientv2'
671
+ # setup authorization
672
+ @secret = ENV['PURECLOUD_SECRET']
673
+ @id = ENV['PURECLOUD_CLIENT_ID']
674
+ environment = "mypurecloud.com"
675
+
676
+ @authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
677
+
678
+ PureCloud.configure do |config|
679
+ config.access_token = @authToken
680
+ end
681
+
682
+ api_instance = PureCloud::AuthorizationApi.new
683
+
684
+ permission = "permission_example" # String | The permission string, including the object to access, e.g. routing:queue:view
685
+
686
+ opts = {
687
+ page_number: 1, # Integer | Page number
688
+ page_size: 25 # Integer | Page size
689
+ }
690
+
691
+ begin
692
+ #Returns which divisions the current user has the given permission in.
693
+ result = api_instance.get_authorization_divisionspermitted_paged_me(permission, opts)
694
+ p result
695
+ rescue PureCloud::ApiError => e
696
+ puts "Exception when calling AuthorizationApi->get_authorization_divisionspermitted_paged_me: #{e}"
697
+ end
698
+ ```
699
+
700
+ ### Parameters
701
+
702
+ Name | Type | Description | Notes
703
+ ------------- | ------------- | ------------- | -------------
704
+ **permission** | **String**| The permission string, including the object to access, e.g. routing:queue:view | |
705
+ **page_number** | **Integer**| Page number | [optional] [default to 1] |
706
+ **page_size** | **Integer**| Page size | [optional] [default to 25] |
707
+ {: class="table table-striped"}
708
+
709
+
710
+ ### Return type
711
+
712
+ [**DivsPermittedEntityListing**](DivsPermittedEntityListing.html)
713
+
714
+ ### HTTP request headers
715
+
716
+ - **Content-Type**: application/json
717
+ - **Accept**: application/json
718
+
719
+
720
+
721
+ <a name="get_authorization_divisionspermitted_paged_subject_id"></a>
722
+
723
+ ## [**DivsPermittedEntityListing**](DivsPermittedEntityListing.html) get_authorization_divisionspermitted_paged_subject_id(subject_id, permission, opts)
724
+
725
+
726
+
727
+ Returns which divisions the specified user has the given permission in.
728
+
729
+
730
+
731
+ Wraps GET /api/v2/authorization/divisionspermitted/paged/{subjectId}
732
+
733
+ Requires NO permissions:
734
+
735
+
736
+
737
+ ### Example
738
+ ```{"language":"ruby"}
739
+ # load the gem
740
+ require 'purecloudplatformclientv2'
741
+ # setup authorization
742
+ @secret = ENV['PURECLOUD_SECRET']
743
+ @id = ENV['PURECLOUD_CLIENT_ID']
744
+ environment = "mypurecloud.com"
745
+
746
+ @authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
747
+
748
+ PureCloud.configure do |config|
749
+ config.access_token = @authToken
750
+ end
751
+
752
+ api_instance = PureCloud::AuthorizationApi.new
753
+
754
+ subject_id = "subject_id_example" # String | Subject ID (user or group)
755
+
756
+ permission = "permission_example" # String | The permission string, including the object to access, e.g. routing:queue:view
757
+
758
+ opts = {
759
+ page_number: 1, # Integer | Page number
760
+ page_size: 25 # Integer | Page size
761
+ }
762
+
763
+ begin
764
+ #Returns which divisions the specified user has the given permission in.
765
+ result = api_instance.get_authorization_divisionspermitted_paged_subject_id(subject_id, permission, opts)
766
+ p result
767
+ rescue PureCloud::ApiError => e
768
+ puts "Exception when calling AuthorizationApi->get_authorization_divisionspermitted_paged_subject_id: #{e}"
769
+ end
770
+ ```
771
+
772
+ ### Parameters
773
+
774
+ Name | Type | Description | Notes
775
+ ------------- | ------------- | ------------- | -------------
776
+ **subject_id** | **String**| Subject ID (user or group) | |
777
+ **permission** | **String**| The permission string, including the object to access, e.g. routing:queue:view | |
778
+ **page_number** | **Integer**| Page number | [optional] [default to 1] |
779
+ **page_size** | **Integer**| Page size | [optional] [default to 25] |
780
+ {: class="table table-striped"}
781
+
782
+
783
+ ### Return type
784
+
785
+ [**DivsPermittedEntityListing**](DivsPermittedEntityListing.html)
786
+
787
+ ### HTTP request headers
788
+
789
+ - **Content-Type**: application/json
790
+ - **Accept**: application/json
791
+
792
+
793
+
649
794
  <a name="get_authorization_divisionspermitted_subject_id"></a>
650
795
 
651
796
  ## [**Array&lt;AuthzDivision&gt;**](AuthzDivision.html) get_authorization_divisionspermitted_subject_id(subject_id, permission, opts)
652
797
 
653
798
  <span style="background-color: #f0ad4e;display: inline-block;padding: 7px;font-weight: bold;line-height: 1;color: #ffffff;text-align: center;white-space: nowrap;vertical-align: baseline;border-radius: .25em;margin: 10px 0;">DEPRECATED</span>
654
799
 
655
- Returns whether or not specified user can perform the specified action(s).
656
-
800
+ Returns which divisions the specified user has the given permission in.
657
801
 
802
+ This route is deprecated, use authorization/divisionspermitted/paged/{subjectId} instead.
658
803
 
659
804
  Wraps GET /api/v2/authorization/divisionspermitted/{subjectId}
660
805
 
@@ -688,7 +833,7 @@ opts = {
688
833
  }
689
834
 
690
835
  begin
691
- #Returns whether or not specified user can perform the specified action(s).
836
+ #Returns which divisions the specified user has the given permission in.
692
837
  result = api_instance.get_authorization_divisionspermitted_subject_id(subject_id, permission, opts)
693
838
  p result
694
839
  rescue PureCloud::ApiError => e
@@ -9,8 +9,10 @@ title: AvailableTopic
9
9
  |------------ | ------------- | ------------- | -------------|
10
10
  | **description** | **String** | | [optional] |
11
11
  | **id** | **String** | | [optional] |
12
- | **requires_permissions** | **Array&lt;String&gt;** | | [optional] |
12
+ | **requires_permissions** | **Array&lt;String&gt;** | Permissions required to subscribe to the topic | [optional] |
13
13
  | **schema** | **Hash&lt;String, Object&gt;** | | [optional] |
14
+ | **requires_current_user** | **BOOLEAN** | True if the topic user ID is required to match the subscribing user ID | [optional] |
15
+ | **requires_current_user_or_permission** | **BOOLEAN** | True if permissions are only required when the topic user ID does not match the subscribing user ID | [optional] |
14
16
  {: class="table table-striped"}
15
17
 
16
18
 
@@ -0,0 +1,18 @@
1
+ ---
2
+ title: BuAgentScheduleActivity
3
+ ---
4
+ ## PureCloud::BuAgentScheduleActivity
5
+
6
+ ## Properties
7
+
8
+ |Name | Type | Description | Notes|
9
+ |------------ | ------------- | ------------- | -------------|
10
+ | **start_date** | **DateTime** | The start date/time of this activity. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
11
+ | **length_minutes** | **Integer** | The length of this activity in minutes | [optional] |
12
+ | **description** | **String** | The description of this activity | [optional] |
13
+ | **activity_code_id** | **String** | The ID of the activity code associated with this activity | [optional] |
14
+ | **paid** | **BOOLEAN** | Whether this activity is paid | [optional] |
15
+ | **time_off_request_id** | **String** | The ID of the time off request associated with this activity, if applicable | [optional] |
16
+ {: class="table table-striped"}
17
+
18
+
@@ -0,0 +1,16 @@
1
+ ---
2
+ title: BuAgentSchedulePublishedScheduleReference
3
+ ---
4
+ ## PureCloud::BuAgentSchedulePublishedScheduleReference
5
+
6
+ ## Properties
7
+
8
+ |Name | Type | Description | Notes|
9
+ |------------ | ------------- | ------------- | -------------|
10
+ | **id** | **String** | The globally unique identifier for the object. | [optional] |
11
+ | **week_date** | **Date** | The start week date for this schedule. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd | [optional] |
12
+ | **week_count** | **Integer** | The number of weeks encompassed by the schedule | [optional] |
13
+ | **self_uri** | **String** | The URI for this object | [optional] |
14
+ {: class="table table-striped"}
15
+
16
+
@@ -0,0 +1,15 @@
1
+ ---
2
+ title: BuAgentScheduleSearchResponse
3
+ ---
4
+ ## PureCloud::BuAgentScheduleSearchResponse
5
+
6
+ ## Properties
7
+
8
+ |Name | Type | Description | Notes|
9
+ |------------ | ------------- | ------------- | -------------|
10
+ | **user** | [**UserReference**](UserReference.html) | The user to whom this agent schedule applies | [optional] |
11
+ | **shifts** | [**Array&lt;BuAgentScheduleShift&gt;**](BuAgentScheduleShift.html) | The shift definitions for this agent schedule | [optional] |
12
+ | **full_day_time_off_markers** | [**Array&lt;BuFullDayTimeOffMarker&gt;**](BuFullDayTimeOffMarker.html) | Full day time off markers which apply to this agent schedule | [optional] |
13
+ {: class="table table-striped"}
14
+
15
+
@@ -0,0 +1,18 @@
1
+ ---
2
+ title: BuAgentScheduleShift
3
+ ---
4
+ ## PureCloud::BuAgentScheduleShift
5
+
6
+ ## Properties
7
+
8
+ |Name | Type | Description | Notes|
9
+ |------------ | ------------- | ------------- | -------------|
10
+ | **id** | **String** | The globally unique identifier for the object. | [optional] |
11
+ | **start_date** | **DateTime** | The start date of this shift. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
12
+ | **length_minutes** | **Integer** | The length of this shift in minutes | [optional] |
13
+ | **activities** | [**Array&lt;BuAgentScheduleActivity&gt;**](BuAgentScheduleActivity.html) | The activities associated with this shift | [optional] |
14
+ | **manually_edited** | **BOOLEAN** | Whether this shift was manually edited. This is only set by clients and is used for rescheduling | [optional] |
15
+ | **schedule** | [**BuScheduleReference**](BuScheduleReference.html) | The schedule to which this shift belongs | [optional] |
16
+ {: class="table table-striped"}
17
+
18
+
@@ -0,0 +1,15 @@
1
+ ---
2
+ title: BuAgentSchedulesSearchResponse
3
+ ---
4
+ ## PureCloud::BuAgentSchedulesSearchResponse
5
+
6
+ ## Properties
7
+
8
+ |Name | Type | Description | Notes|
9
+ |------------ | ------------- | ------------- | -------------|
10
+ | **agent_schedules** | [**Array&lt;BuAgentScheduleSearchResponse&gt;**](BuAgentScheduleSearchResponse.html) | The requested agent schedules | [optional] |
11
+ | **business_unit_time_zone** | **String** | The time zone configured for the business unit to which this schedule applies | [optional] |
12
+ | **published_schedules** | [**Array&lt;BuAgentSchedulePublishedScheduleReference&gt;**](BuAgentSchedulePublishedScheduleReference.html) | References to all published week schedules overlapping the start/end date query parameters | [optional] |
13
+ {: class="table table-striped"}
14
+
15
+
@@ -0,0 +1,17 @@
1
+ ---
2
+ title: BuAsyncAgentSchedulesSearchResponse
3
+ ---
4
+ ## PureCloud::BuAsyncAgentSchedulesSearchResponse
5
+
6
+ ## Properties
7
+
8
+ |Name | Type | Description | Notes|
9
+ |------------ | ------------- | ------------- | -------------|
10
+ | **status** | **String** | The status of the operation | [optional] |
11
+ | **operation_id** | **String** | The ID for the operation | [optional] |
12
+ | **result** | [**BuAgentSchedulesSearchResponse**](BuAgentSchedulesSearchResponse.html) | The result of the operation. Null unless status == Complete | [optional] |
13
+ | **progress** | **Integer** | Percent progress for the operation | [optional] |
14
+ | **download_url** | **String** | The URL from which to download the result if it is too large to pass directly | [optional] |
15
+ {: class="table table-striped"}
16
+
17
+
@@ -0,0 +1,18 @@
1
+ ---
2
+ title: BuFullDayTimeOffMarker
3
+ ---
4
+ ## PureCloud::BuFullDayTimeOffMarker
5
+
6
+ ## Properties
7
+
8
+ |Name | Type | Description | Notes|
9
+ |------------ | ------------- | ------------- | -------------|
10
+ | **business_unit_date** | **Date** | The date of the time off marker, interpreted in the business unit&#39;s time zone. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd | [optional] |
11
+ | **length_minutes** | **Integer** | The length of the time off marker in minutes | [optional] |
12
+ | **description** | **String** | The description of the time off marker | [optional] |
13
+ | **activity_code_id** | **String** | The ID of the activity code associated with the time off marker | [optional] |
14
+ | **paid** | **BOOLEAN** | Whether the time off marker is paid | [optional] |
15
+ | **time_off_request_id** | **String** | The ID of the time off request | [optional] |
16
+ {: class="table table-striped"}
17
+
18
+
@@ -0,0 +1,15 @@
1
+ ---
2
+ title: BuScheduleReference
3
+ ---
4
+ ## PureCloud::BuScheduleReference
5
+
6
+ ## Properties
7
+
8
+ |Name | Type | Description | Notes|
9
+ |------------ | ------------- | ------------- | -------------|
10
+ | **id** | **String** | The globally unique identifier for the object. | [optional] |
11
+ | **week_date** | **Date** | The start week date for this schedule. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd | [optional] |
12
+ | **self_uri** | **String** | The URI for this object | [optional] |
13
+ {: class="table table-striped"}
14
+
15
+
@@ -17,7 +17,7 @@ title: Call
17
17
  | **held** | **BOOLEAN** | True if this call is held and the person on this side hears silence. | [optional] |
18
18
  | **recording_id** | **String** | A globally unique identifier for the recording associated with this call. | [optional] |
19
19
  | **segments** | [**Array&lt;Segment&gt;**](Segment.html) | The time line of the participant&#39;s call, divided into activity segments. | [optional] |
20
- | **error_info** | [**ErrorBody**](ErrorBody.html) | | [optional] |
20
+ | **error_info** | [**ErrorInfo**](ErrorInfo.html) | | [optional] |
21
21
  | **disconnect_type** | **String** | System defined string indicating what caused the communication to disconnect. Will be null until the communication disconnects. | [optional] |
22
22
  | **start_hold_time** | **DateTime** | The timestamp the call was placed on hold in the cloud clock if the call is currently on hold. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
23
23
  | **document_id** | **String** | If call is an outbound fax of a document from content management, then this is the id in content management. | [optional] |
@@ -17,7 +17,7 @@ title: CallBasic
17
17
  | **held** | **BOOLEAN** | True if this call is held and the person on this side hears silence. | [optional] |
18
18
  | **recording_id** | **String** | A globally unique identifier for the recording associated with this call. | [optional] |
19
19
  | **segments** | [**Array&lt;Segment&gt;**](Segment.html) | The time line of the participant&#39;s call, divided into activity segments. | [optional] |
20
- | **error_info** | [**ErrorBody**](ErrorBody.html) | | [optional] |
20
+ | **error_info** | [**ErrorInfo**](ErrorInfo.html) | | [optional] |
21
21
  | **disconnect_type** | **String** | System defined string indicating what caused the communication to disconnect. Will be null until the communication disconnects. | [optional] |
22
22
  | **start_hold_time** | **DateTime** | The timestamp the call was placed on hold in the cloud clock if the call is currently on hold. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
23
23
  | **document_id** | **String** | If call is an outbound fax of a document from content management, then this is the id in content management. | [optional] |
@@ -24,7 +24,7 @@ title: CallMediaParticipant
24
24
  | **user** | [**DomainEntityRef**](DomainEntityRef.html) | The PureCloud user for this participant. | [optional] |
25
25
  | **queue** | [**DomainEntityRef**](DomainEntityRef.html) | The PureCloud queue for this participant. | [optional] |
26
26
  | **attributes** | **Hash&lt;String, String&gt;** | A list of ad-hoc attributes for the participant. | [optional] |
27
- | **error_info** | [**ErrorBody**](ErrorBody.html) | If the conversation ends in error, contains additional error details. | [optional] |
27
+ | **error_info** | [**ErrorInfo**](ErrorInfo.html) | If the conversation ends in error, contains additional error details. | [optional] |
28
28
  | **script** | [**DomainEntityRef**](DomainEntityRef.html) | The Engage script that should be used by this participant. | [optional] |
29
29
  | **wrapup_timeout_ms** | **Integer** | The amount of time the participant has to complete wrap-up. | [optional] |
30
30
  | **wrapup_skipped** | **BOOLEAN** | Value is true when the participant has skipped wrap-up. | [optional] |
@@ -24,7 +24,7 @@ title: CallbackMediaParticipant
24
24
  | **user** | [**DomainEntityRef**](DomainEntityRef.html) | The PureCloud user for this participant. | [optional] |
25
25
  | **queue** | [**DomainEntityRef**](DomainEntityRef.html) | The PureCloud queue for this participant. | [optional] |
26
26
  | **attributes** | **Hash&lt;String, String&gt;** | A list of ad-hoc attributes for the participant. | [optional] |
27
- | **error_info** | [**ErrorBody**](ErrorBody.html) | If the conversation ends in error, contains additional error details. | [optional] |
27
+ | **error_info** | [**ErrorInfo**](ErrorInfo.html) | If the conversation ends in error, contains additional error details. | [optional] |
28
28
  | **script** | [**DomainEntityRef**](DomainEntityRef.html) | The Engage script that should be used by this participant. | [optional] |
29
29
  | **wrapup_timeout_ms** | **Integer** | The amount of time the participant has to complete wrap-up. | [optional] |
30
30
  | **wrapup_skipped** | **BOOLEAN** | Value is true when the participant has skipped wrap-up. | [optional] |
@@ -9,7 +9,8 @@ title: CampaignProgress
9
9
  |------------ | ------------- | ------------- | -------------|
10
10
  | **campaign** | [**DomainEntityRef**](DomainEntityRef.html) | Identifier of the campaign | |
11
11
  | **contact_list** | [**DomainEntityRef**](DomainEntityRef.html) | Identifier of the contact list | |
12
- | **number_of_contacts_called** | **Integer** | Number of contacts processed during the campaign | [optional] |
12
+ | **number_of_contacts_called** | **Integer** | Number of contacts called during the campaign | [optional] |
13
+ | **number_of_contacts_messaged** | **Integer** | Number of contacts messaged during the campaign | [optional] |
13
14
  | **total_number_of_contacts** | **Integer** | Total number of contacts in the campaign | [optional] |
14
15
  | **percentage** | **Integer** | Percentage of contacts processed during the campaign | [optional] |
15
16
  {: class="table table-striped"}
@@ -24,7 +24,7 @@ title: ChatMediaParticipant
24
24
  | **user** | [**DomainEntityRef**](DomainEntityRef.html) | The PureCloud user for this participant. | [optional] |
25
25
  | **queue** | [**DomainEntityRef**](DomainEntityRef.html) | The PureCloud queue for this participant. | [optional] |
26
26
  | **attributes** | **Hash&lt;String, String&gt;** | A list of ad-hoc attributes for the participant. | [optional] |
27
- | **error_info** | [**ErrorBody**](ErrorBody.html) | If the conversation ends in error, contains additional error details. | [optional] |
27
+ | **error_info** | [**ErrorInfo**](ErrorInfo.html) | If the conversation ends in error, contains additional error details. | [optional] |
28
28
  | **script** | [**DomainEntityRef**](DomainEntityRef.html) | The Engage script that should be used by this participant. | [optional] |
29
29
  | **wrapup_timeout_ms** | **Integer** | The amount of time the participant has to complete wrap-up. | [optional] |
30
30
  | **wrapup_skipped** | **BOOLEAN** | Value is true when the participant has skipped wrap-up. | [optional] |