purecloudplatformclientv2 85.0.1 → 86.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 (244) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/AnalyticsEvaluation.md +1 -1
  4. data/docs/Call.md +1 -0
  5. data/docs/CallBasic.md +1 -0
  6. data/docs/Callback.md +1 -0
  7. data/docs/CallbackBasic.md +1 -0
  8. data/docs/Cobrowsesession.md +1 -0
  9. data/docs/{PartialUploadResponse.md → ContextEntity.md} +3 -3
  10. data/docs/ContextIntent.md +13 -0
  11. data/docs/ConversationCallbackEventTopicCallbackMediaParticipant.md +1 -0
  12. data/docs/ConversationChat.md +1 -0
  13. data/docs/ConversationEventTopicCallback.md +1 -0
  14. data/docs/Coretype.md +23 -0
  15. data/docs/CoretypeListing.md +15 -0
  16. data/docs/DataExtensionsApi.md +198 -0
  17. data/docs/DataSchemaListing.md +15 -0
  18. data/docs/DetectedDialogAct.md +14 -0
  19. data/docs/DetectedIntent.md +15 -0
  20. data/docs/DetectedNamedEntity.md +16 -0
  21. data/docs/DetectedNamedEntityValue.md +14 -0
  22. data/docs/DialogflowAgent.md +3 -2
  23. data/docs/Edge.md +1 -1
  24. data/docs/Email.md +1 -0
  25. data/docs/EntityListing.md +1 -5
  26. data/docs/ExternalContactsApi.md +1001 -144
  27. data/docs/FlowDivisionView.md +2 -0
  28. data/docs/IntentDefinition.md +15 -0
  29. data/docs/IntentFeedback.md +16 -0
  30. data/docs/ItemValidationLimits.md +14 -0
  31. data/docs/Items.md +14 -0
  32. data/docs/LanguageUnderstandingApi.md +1160 -0
  33. data/docs/MaxLength.md +14 -0
  34. data/docs/Message.md +1 -0
  35. data/docs/MinLength.md +14 -0
  36. data/docs/NamedEntityAnnotation.md +13 -0
  37. data/docs/NamedEntityTypeBinding.md +14 -0
  38. data/docs/NamedEntityTypeDefinition.md +15 -0
  39. data/docs/NamedEntityTypeItem.md +14 -0
  40. data/docs/NamedEntityTypeMechanism.md +15 -0
  41. data/docs/NluConfusionMatrixColumn.md +14 -0
  42. data/docs/NluConfusionMatrixRow.md +14 -0
  43. data/docs/NluDetectionContext.md +14 -0
  44. data/docs/NluDetectionInput.md +13 -0
  45. data/docs/NluDetectionOutput.md +14 -0
  46. data/docs/NluDetectionRequest.md +14 -0
  47. data/docs/NluDetectionResponse.md +15 -0
  48. data/docs/NluDomain.md +19 -0
  49. data/docs/NluDomainListing.md +22 -0
  50. data/docs/NluDomainVersion.md +24 -0
  51. data/docs/NluDomainVersionListing.md +22 -0
  52. data/docs/NluDomainVersionQualityReport.md +15 -0
  53. data/docs/NluDomainVersionTrainingResponse.md +14 -0
  54. data/docs/NluFeedbackListing.md +22 -0
  55. data/docs/NluFeedbackRequest.md +15 -0
  56. data/docs/NluFeedbackResponse.md +18 -0
  57. data/docs/NluQualityReportSummary.md +13 -0
  58. data/docs/NluQualityReportSummaryMetric.md +14 -0
  59. data/docs/NluUtterance.md +13 -0
  60. data/docs/NluUtteranceSegment.md +14 -0
  61. data/docs/QueueConversationCallbackEventTopicCallbackMediaParticipant.md +1 -0
  62. data/docs/QueueConversationEventTopicCallback.md +1 -0
  63. data/docs/QueueConversationSocialExpressionEventTopicCallback.md +1 -0
  64. data/docs/QueueConversationVideoEventTopicCallback.md +1 -0
  65. data/docs/ReportingExportJobRequest.md +1 -0
  66. data/docs/ReportingExportJobResponse.md +2 -0
  67. data/docs/RoutingApi.md +65 -0
  68. data/docs/SCIMApi.md +12 -12
  69. data/docs/Schema.md +17 -0
  70. data/docs/SchemaQuantityLimits.md +26 -0
  71. data/docs/ScimV2EnterpriseUser.md +1 -0
  72. data/docs/Screenshare.md +1 -0
  73. data/docs/SocialExpression.md +1 -0
  74. data/docs/{TimeOffRequestLookup.md → TimeOffRequest.md} +2 -2
  75. data/docs/TimeOffRequestListing.md +13 -0
  76. data/docs/UploadUrlRequest.md +15 -0
  77. data/docs/UploadUrlResponse.md +14 -0
  78. data/docs/UploadsApi.md +78 -0
  79. data/docs/ValidationLimits.md +18 -0
  80. data/docs/Video.md +1 -0
  81. data/docs/WorkforceManagementApi.md +297 -448
  82. data/lib/purecloudplatformclientv2.rb +50 -57
  83. data/lib/purecloudplatformclientv2/api/data_extensions_api.rb +207 -0
  84. data/lib/purecloudplatformclientv2/api/external_contacts_api.rb +868 -4
  85. data/lib/purecloudplatformclientv2/api/language_understanding_api.rb +1304 -0
  86. data/lib/purecloudplatformclientv2/api/routing_api.rb +64 -0
  87. data/lib/purecloudplatformclientv2/api/scim_api.rb +8 -8
  88. data/lib/purecloudplatformclientv2/api/uploads_api.rb +92 -0
  89. data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +314 -571
  90. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  91. data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +13 -13
  92. data/lib/purecloudplatformclientv2/models/bulk_update_shift_trade_state_result_item.rb +2 -2
  93. data/lib/purecloudplatformclientv2/models/call.rb +30 -4
  94. data/lib/purecloudplatformclientv2/models/call_basic.rb +30 -4
  95. data/lib/purecloudplatformclientv2/models/callback.rb +30 -4
  96. data/lib/purecloudplatformclientv2/models/callback_basic.rb +30 -4
  97. data/lib/purecloudplatformclientv2/models/cobrowsesession.rb +30 -4
  98. data/lib/purecloudplatformclientv2/models/{partial_upload_response.rb → context_entity.rb} +14 -9
  99. data/lib/purecloudplatformclientv2/models/{list_wrapper_wfm_forecast_modification.rb → context_intent.rb} +14 -10
  100. data/lib/purecloudplatformclientv2/models/conversation_callback_event_topic_callback_media_participant.rb +26 -1
  101. data/lib/purecloudplatformclientv2/models/conversation_chat.rb +30 -4
  102. data/lib/purecloudplatformclientv2/models/conversation_event_topic_callback.rb +26 -1
  103. data/lib/purecloudplatformclientv2/models/{rescheduling_options_response.rb → coretype.rb} +97 -102
  104. data/lib/purecloudplatformclientv2/models/{service_goal_group_list.rb → coretype_listing.rb} +34 -11
  105. data/lib/purecloudplatformclientv2/models/data_schema_listing.rb +253 -0
  106. data/lib/purecloudplatformclientv2/models/{forecast_result_response.rb → detected_dialog_act.rb} +16 -16
  107. data/lib/purecloudplatformclientv2/models/{intraday_queue.rb → detected_intent.rb} +23 -23
  108. data/lib/purecloudplatformclientv2/models/detected_named_entity.rb +280 -0
  109. data/lib/purecloudplatformclientv2/models/detected_named_entity_value.rb +228 -0
  110. data/lib/purecloudplatformclientv2/models/dialogflow_agent.rb +31 -3
  111. data/lib/purecloudplatformclientv2/models/edge.rb +1 -0
  112. data/lib/purecloudplatformclientv2/models/email.rb +30 -4
  113. data/lib/purecloudplatformclientv2/models/entity_listing.rb +4 -104
  114. data/lib/purecloudplatformclientv2/models/flow_division_view.rb +53 -1
  115. data/lib/purecloudplatformclientv2/models/{create_service_goal_group_request.rb → intent_definition.rb} +30 -19
  116. data/lib/purecloudplatformclientv2/models/{wfm_intraday_queue_listing.rb → intent_feedback.rb} +71 -18
  117. data/lib/purecloudplatformclientv2/models/{service_goal_group_goals.rb → item_validation_limits.rb} +18 -45
  118. data/lib/purecloudplatformclientv2/models/{short_term_forecast_list_response.rb → items.rb} +33 -10
  119. data/lib/purecloudplatformclientv2/models/max_length.rb +238 -0
  120. data/lib/purecloudplatformclientv2/models/message.rb +30 -4
  121. data/lib/purecloudplatformclientv2/models/{forecast_generation_route_group_result.rb → min_length.rb} +26 -18
  122. data/lib/purecloudplatformclientv2/models/{list_wrapper_forecast_source_day_pointer.rb → named_entity_annotation.rb} +14 -10
  123. data/lib/purecloudplatformclientv2/models/{copy_short_term_forecast_request.rb → named_entity_type_binding.rb} +18 -19
  124. data/lib/purecloudplatformclientv2/models/{generate_week_schedule_request.rb → named_entity_type_definition.rb} +38 -13
  125. data/lib/purecloudplatformclientv2/models/{wfm_abandon_rate.rb → named_entity_type_item.rb} +19 -18
  126. data/lib/purecloudplatformclientv2/models/{short_term_forecast_response.rb → named_entity_type_mechanism.rb} +48 -36
  127. data/lib/purecloudplatformclientv2/models/{copy_week_schedule_request.rb → nlu_confusion_matrix_column.rb} +18 -18
  128. data/lib/purecloudplatformclientv2/models/{wfm_average_speed_of_answer.rb → nlu_confusion_matrix_row.rb} +24 -18
  129. data/lib/purecloudplatformclientv2/models/nlu_detection_context.rb +228 -0
  130. data/lib/purecloudplatformclientv2/models/{scheduling_run_list_response.rb → nlu_detection_input.rb} +14 -10
  131. data/lib/purecloudplatformclientv2/models/nlu_detection_output.rb +232 -0
  132. data/lib/purecloudplatformclientv2/models/nlu_detection_request.rb +233 -0
  133. data/lib/purecloudplatformclientv2/models/{route_group_list.rb → nlu_detection_response.rb} +39 -22
  134. data/lib/purecloudplatformclientv2/models/{short_term_forecast_list_item_response.rb → nlu_domain.rb} +66 -60
  135. data/lib/purecloudplatformclientv2/models/{intraday_query_data_command.rb → nlu_domain_listing.rb} +156 -53
  136. data/lib/purecloudplatformclientv2/models/{short_term_forecast.rb → nlu_domain_version.rb} +132 -87
  137. data/lib/purecloudplatformclientv2/models/nlu_domain_version_listing.rb +428 -0
  138. data/lib/purecloudplatformclientv2/models/{intraday_metric.rb → nlu_domain_version_quality_report.rb} +57 -28
  139. data/lib/purecloudplatformclientv2/models/{user_schedules_partial_upload_request.rb → nlu_domain_version_training_response.rb} +33 -16
  140. data/lib/purecloudplatformclientv2/models/{import_week_schedule_request.rb → nlu_feedback_listing.rb} +158 -46
  141. data/lib/purecloudplatformclientv2/models/{wfm_service_level.rb → nlu_feedback_request.rb} +36 -25
  142. data/lib/purecloudplatformclientv2/models/{service_goal_group.rb → nlu_feedback_response.rb} +32 -37
  143. data/lib/purecloudplatformclientv2/models/{generate_short_term_forecast_request.rb → nlu_quality_report_summary.rb} +12 -10
  144. data/lib/purecloudplatformclientv2/models/nlu_quality_report_summary_metric.rb +238 -0
  145. data/lib/purecloudplatformclientv2/models/nlu_utterance.rb +209 -0
  146. data/lib/purecloudplatformclientv2/models/nlu_utterance_segment.rb +233 -0
  147. data/lib/purecloudplatformclientv2/models/queue_conversation_callback_event_topic_callback_media_participant.rb +26 -1
  148. data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_callback.rb +26 -1
  149. data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_callback.rb +26 -1
  150. data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_callback.rb +26 -1
  151. data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +32 -4
  152. data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +57 -1
  153. data/lib/purecloudplatformclientv2/models/{import_short_term_forecast_request.rb → schema.rb} +50 -35
  154. data/lib/purecloudplatformclientv2/models/schema_quantity_limits.rb +539 -0
  155. data/lib/purecloudplatformclientv2/models/scim_v2_enterprise_user.rb +30 -4
  156. data/lib/purecloudplatformclientv2/models/screenshare.rb +30 -4
  157. data/lib/purecloudplatformclientv2/models/shift_trade_match_violation.rb +2 -2
  158. data/lib/purecloudplatformclientv2/models/social_expression.rb +30 -4
  159. data/lib/purecloudplatformclientv2/models/{time_off_request_lookup.rb → time_off_request.rb} +1 -1
  160. data/lib/purecloudplatformclientv2/models/{time_off_request_lookup_list.rb → time_off_request_listing.rb} +2 -2
  161. data/lib/purecloudplatformclientv2/models/{create_queue_media_association_request.rb → upload_url_request.rb} +23 -26
  162. data/lib/purecloudplatformclientv2/models/upload_url_response.rb +230 -0
  163. data/lib/purecloudplatformclientv2/models/{wfm_forecast_modification_attributes.rb → validation_limits.rb} +76 -38
  164. data/lib/purecloudplatformclientv2/models/video.rb +30 -4
  165. data/lib/purecloudplatformclientv2/version.rb +1 -1
  166. metadata +102 -116
  167. data/docs/AsyncWeekScheduleResponse.md +0 -16
  168. data/docs/CopyShortTermForecastRequest.md +0 -14
  169. data/docs/CopyWeekScheduleRequest.md +0 -14
  170. data/docs/CreateQueueMediaAssociationRequest.md +0 -15
  171. data/docs/CreateServiceGoalGroupRequest.md +0 -15
  172. data/docs/ForecastGenerationResult.md +0 -13
  173. data/docs/ForecastGenerationRouteGroupResult.md +0 -14
  174. data/docs/ForecastResultResponse.md +0 -14
  175. data/docs/ForecastTimeSeriesResult.md +0 -14
  176. data/docs/GenerateShortTermForecastRequest.md +0 -13
  177. data/docs/GenerateShortTermForecastResponse.md +0 -16
  178. data/docs/GenerateWeekScheduleRequest.md +0 -14
  179. data/docs/GenerateWeekScheduleResponse.md +0 -15
  180. data/docs/ImportShortTermForecastRequest.md +0 -16
  181. data/docs/ImportWeekScheduleRequest.md +0 -17
  182. data/docs/IntradayDataGroup.md +0 -19
  183. data/docs/IntradayForecastData.md +0 -15
  184. data/docs/IntradayHistoricalAgentData.md +0 -14
  185. data/docs/IntradayHistoricalQueueData.md +0 -20
  186. data/docs/IntradayMetric.md +0 -14
  187. data/docs/IntradayPerformancePredictionAgentData.md +0 -13
  188. data/docs/IntradayPerformancePredictionQueueData.md +0 -15
  189. data/docs/IntradayQueryDataCommand.md +0 -17
  190. data/docs/IntradayQueue.md +0 -15
  191. data/docs/IntradayResponse.md +0 -20
  192. data/docs/IntradayScheduleData.md +0 -14
  193. data/docs/ListWrapperForecastSourceDayPointer.md +0 -13
  194. data/docs/ListWrapperWfmForecastModification.md +0 -13
  195. data/docs/QueueMediaAssociation.md +0 -16
  196. data/docs/RescheduleRequest.md +0 -20
  197. data/docs/RescheduleResult.md +0 -13
  198. data/docs/ReschedulingOptionsResponse.md +0 -22
  199. data/docs/RouteGroup.md +0 -18
  200. data/docs/RouteGroupAttributes.md +0 -16
  201. data/docs/RouteGroupList.md +0 -14
  202. data/docs/SchedulingRunListResponse.md +0 -13
  203. data/docs/SchedulingRunResponse.md +0 -28
  204. data/docs/ServiceGoalGroup.md +0 -18
  205. data/docs/ServiceGoalGroupGoals.md +0 -15
  206. data/docs/ServiceGoalGroupList.md +0 -14
  207. data/docs/ShortTermForecast.md +0 -22
  208. data/docs/ShortTermForecastListItemResponse.md +0 -18
  209. data/docs/ShortTermForecastListResponse.md +0 -13
  210. data/docs/ShortTermForecastResponse.md +0 -15
  211. data/docs/TimeOffRequestEntityList.md +0 -13
  212. data/docs/TimeOffRequestLookupList.md +0 -13
  213. data/docs/UnscheduledAgentWarning.md +0 -14
  214. data/docs/UpdateWeekScheduleRequest.md +0 -21
  215. data/docs/UserSchedulesPartialUploadRequest.md +0 -13
  216. data/docs/WfmAbandonRate.md +0 -14
  217. data/docs/WfmAverageSpeedOfAnswer.md +0 -14
  218. data/docs/WfmForecastModification.md +0 -20
  219. data/docs/WfmForecastModificationAttributes.md +0 -16
  220. data/docs/WfmIntradayQueueListing.md +0 -14
  221. data/docs/WfmServiceLevel.md +0 -15
  222. data/lib/purecloudplatformclientv2/models/async_week_schedule_response.rb +0 -295
  223. data/lib/purecloudplatformclientv2/models/forecast_generation_result.rb +0 -204
  224. data/lib/purecloudplatformclientv2/models/forecast_time_series_result.rb +0 -256
  225. data/lib/purecloudplatformclientv2/models/generate_short_term_forecast_response.rb +0 -294
  226. data/lib/purecloudplatformclientv2/models/generate_week_schedule_response.rb +0 -269
  227. data/lib/purecloudplatformclientv2/models/intraday_data_group.rb +0 -384
  228. data/lib/purecloudplatformclientv2/models/intraday_forecast_data.rb +0 -254
  229. data/lib/purecloudplatformclientv2/models/intraday_historical_agent_data.rb +0 -228
  230. data/lib/purecloudplatformclientv2/models/intraday_historical_queue_data.rb +0 -384
  231. data/lib/purecloudplatformclientv2/models/intraday_performance_prediction_agent_data.rb +0 -202
  232. data/lib/purecloudplatformclientv2/models/intraday_performance_prediction_queue_data.rb +0 -254
  233. data/lib/purecloudplatformclientv2/models/intraday_response.rb +0 -404
  234. data/lib/purecloudplatformclientv2/models/intraday_schedule_data.rb +0 -228
  235. data/lib/purecloudplatformclientv2/models/queue_media_association.rb +0 -283
  236. data/lib/purecloudplatformclientv2/models/reschedule_request.rb +0 -418
  237. data/lib/purecloudplatformclientv2/models/reschedule_result.rb +0 -202
  238. data/lib/purecloudplatformclientv2/models/route_group.rb +0 -363
  239. data/lib/purecloudplatformclientv2/models/route_group_attributes.rb +0 -307
  240. data/lib/purecloudplatformclientv2/models/scheduling_run_response.rb +0 -609
  241. data/lib/purecloudplatformclientv2/models/time_off_request_entity_list.rb +0 -203
  242. data/lib/purecloudplatformclientv2/models/unscheduled_agent_warning.rb +0 -242
  243. data/lib/purecloudplatformclientv2/models/update_week_schedule_request.rb +0 -438
  244. data/lib/purecloudplatformclientv2/models/wfm_forecast_modification.rb +0 -435
@@ -501,6 +501,70 @@ module PureCloud
501
501
  return data, status_code, headers
502
502
  end
503
503
 
504
+ # Delete an Address by Id for SMS
505
+ #
506
+ # @param address_id Address ID
507
+ # @param [Hash] opts the optional parameters
508
+ # @return [nil]
509
+ def delete_routing_sms_address(address_id, opts = {})
510
+ delete_routing_sms_address_with_http_info(address_id, opts)
511
+ return nil
512
+ end
513
+
514
+ # Delete an Address by Id for SMS
515
+ #
516
+ # @param address_id Address ID
517
+ # @param [Hash] opts the optional parameters
518
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
519
+ def delete_routing_sms_address_with_http_info(address_id, opts = {})
520
+ if @api_client.config.debugging
521
+ @api_client.config.logger.debug "Calling API: RoutingApi.delete_routing_sms_address ..."
522
+ end
523
+
524
+
525
+ # verify the required parameter 'address_id' is set
526
+ fail ArgumentError, "Missing the required parameter 'address_id' when calling RoutingApi.delete_routing_sms_address" if address_id.nil?
527
+
528
+
529
+
530
+
531
+
532
+ # resource path
533
+ local_var_path = "/api/v2/routing/sms/addresses/{addressId}".sub('{format}','json').sub('{' + 'addressId' + '}', address_id.to_s)
534
+
535
+ # query parameters
536
+ query_params = {}
537
+
538
+ # header parameters
539
+ header_params = {}
540
+
541
+ # HTTP header 'Accept' (if needed)
542
+ local_header_accept = ['application/json']
543
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
544
+
545
+ # HTTP header 'Content-Type'
546
+ local_header_content_type = ['application/json']
547
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
548
+
549
+ # form parameters
550
+ form_params = {}
551
+
552
+ # http body (model)
553
+ post_body = nil
554
+
555
+ auth_names = ['PureCloud OAuth']
556
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
557
+ :header_params => header_params,
558
+ :query_params => query_params,
559
+ :form_params => form_params,
560
+ :body => post_body,
561
+ :auth_names => auth_names)
562
+ if @api_client.config.debugging
563
+ @api_client.config.logger.debug "API called: RoutingApi#delete_routing_sms_address\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
564
+ end
565
+ return data, status_code, headers
566
+ end
567
+
504
568
  # Delete a phone number provisioned for SMS.
505
569
  #
506
570
  # @param address_id Address ID
@@ -837,7 +837,7 @@ module PureCloud
837
837
  #
838
838
  # @param user_id The ID of a user. Returned with GET /api/v2/scim/users.
839
839
  # @param [Hash] opts the optional parameters
840
- # @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes ant the &#39;id&#39;, &#39;userName&#39;, &#39;active&#39;, and &#39;meta&#39; attributes. Use \&quot;attributes\&quot; to avoid expensive secondary calls for the default attributes.
840
+ # @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes and the &#39;id&#39;, &#39;userName&#39;, &#39;active&#39;, and &#39;meta&#39; attributes. Use \&quot;attributes\&quot; to avoid expensive secondary calls for the default attributes.
841
841
  # @option opts [Array<String>] :excluded_attributes Indicates which attributes to exclude. Returns the default attributes minus \&quot;excludedAttributes\&quot;. Use \&quot;excludedAttributes\&quot; to avoid expensive secondary calls for the default attributes. The &#39;id&#39;, &#39;userName&#39;, &#39;active&#39;, &#39;meta&#39; attributes will always be present in output.
842
842
  # @option opts [String] :if_none_match TThe ETag of a resource in double quotes. Returned as header and meta.version with initial call to GET /api/v2/scim/users/{userId}. Example: \&quot;42\&quot;. If the ETag is different from the version on the server, returns the current configuration of the resource. If the ETag is current, returns 304 Not Modified.
843
843
  # @return [ScimV2User]
@@ -850,7 +850,7 @@ module PureCloud
850
850
  #
851
851
  # @param user_id The ID of a user. Returned with GET /api/v2/scim/users.
852
852
  # @param [Hash] opts the optional parameters
853
- # @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes ant the &#39;id&#39;, &#39;userName&#39;, &#39;active&#39;, and &#39;meta&#39; attributes. Use \&quot;attributes\&quot; to avoid expensive secondary calls for the default attributes.
853
+ # @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes and the &#39;id&#39;, &#39;userName&#39;, &#39;active&#39;, and &#39;meta&#39; attributes. Use \&quot;attributes\&quot; to avoid expensive secondary calls for the default attributes.
854
854
  # @option opts [Array<String>] :excluded_attributes Indicates which attributes to exclude. Returns the default attributes minus \&quot;excludedAttributes\&quot;. Use \&quot;excludedAttributes\&quot; to avoid expensive secondary calls for the default attributes. The &#39;id&#39;, &#39;userName&#39;, &#39;active&#39;, &#39;meta&#39; attributes will always be present in output.
855
855
  # @option opts [String] :if_none_match TThe ETag of a resource in double quotes. Returned as header and meta.version with initial call to GET /api/v2/scim/users/{userId}. Example: \&quot;42\&quot;. If the ETag is different from the version on the server, returns the current configuration of the resource. If the ETag is current, returns 304 Not Modified.
856
856
  # @return [Array<(ScimV2User, Fixnum, Hash)>] ScimV2User data, response status code and response headers
@@ -930,7 +930,7 @@ module PureCloud
930
930
  # @param [Hash] opts the optional parameters
931
931
  # @option opts [Integer] :start_index The 1-based index of the first query result. (default to 1)
932
932
  # @option opts [Integer] :count The requested number of items per page. A value of 0 returns \&quot;totalResults\&quot;. (default to 25)
933
- # @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes ant the &#39;id&#39;, &#39;userName&#39;, &#39;active&#39;, and &#39;meta&#39; attributes. Use \&quot;attributes\&quot; to avoid expensive secondary calls for the default attributes.
933
+ # @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes and the &#39;id&#39;, &#39;userName&#39;, &#39;active&#39;, and &#39;meta&#39; attributes. Use \&quot;attributes\&quot; to avoid expensive secondary calls for the default attributes.
934
934
  # @option opts [Array<String>] :excluded_attributes Indicates which attributes to exclude. Returns the default attributes minus \&quot;excludedAttributes\&quot;. Use \&quot;excludedAttributes\&quot; to avoid expensive secondary calls for the default attributes. The &#39;id&#39;, &#39;userName&#39;, &#39;active&#39;, &#39;meta&#39; attributes will always be present in output.
935
935
  # @option opts [String] :filter Filters results. If nothing is specified, returns all active users. Examples of valid values: \&quot;id eq 857449b0-d9e7-4cd0-acbf-a6adfb9ef1e9\&quot;, \&quot;userName eq search@sample.org\&quot;, \&quot;manager eq 16e10e2f-1136-43fe-bb84-eac073168a49\&quot;, \&quot;email eq search@sample.org\&quot;, \&quot;division eq divisionName\&quot;, \&quot;externalId eq 167844\&quot;, \&quot;active eq false\&quot;.
936
936
  # @return [ScimUserListResponse]
@@ -944,7 +944,7 @@ module PureCloud
944
944
  # @param [Hash] opts the optional parameters
945
945
  # @option opts [Integer] :start_index The 1-based index of the first query result.
946
946
  # @option opts [Integer] :count The requested number of items per page. A value of 0 returns \&quot;totalResults\&quot;.
947
- # @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes ant the &#39;id&#39;, &#39;userName&#39;, &#39;active&#39;, and &#39;meta&#39; attributes. Use \&quot;attributes\&quot; to avoid expensive secondary calls for the default attributes.
947
+ # @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes and the &#39;id&#39;, &#39;userName&#39;, &#39;active&#39;, and &#39;meta&#39; attributes. Use \&quot;attributes\&quot; to avoid expensive secondary calls for the default attributes.
948
948
  # @option opts [Array<String>] :excluded_attributes Indicates which attributes to exclude. Returns the default attributes minus \&quot;excludedAttributes\&quot;. Use \&quot;excludedAttributes\&quot; to avoid expensive secondary calls for the default attributes. The &#39;id&#39;, &#39;userName&#39;, &#39;active&#39;, &#39;meta&#39; attributes will always be present in output.
949
949
  # @option opts [String] :filter Filters results. If nothing is specified, returns all active users. Examples of valid values: \&quot;id eq 857449b0-d9e7-4cd0-acbf-a6adfb9ef1e9\&quot;, \&quot;userName eq search@sample.org\&quot;, \&quot;manager eq 16e10e2f-1136-43fe-bb84-eac073168a49\&quot;, \&quot;email eq search@sample.org\&quot;, \&quot;division eq divisionName\&quot;, \&quot;externalId eq 167844\&quot;, \&quot;active eq false\&quot;.
950
950
  # @return [Array<(ScimUserListResponse, Fixnum, Hash)>] ScimUserListResponse data, response status code and response headers
@@ -1546,7 +1546,7 @@ module PureCloud
1546
1546
  #
1547
1547
  # @param user_id The ID of a user. Returned with GET /api/v2/scim/v2/users.
1548
1548
  # @param [Hash] opts the optional parameters
1549
- # @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes ant the &#39;id&#39;, &#39;userName&#39;, &#39;active&#39;, and &#39;meta&#39; attributes. Use \&quot;attributes\&quot; to avoid expensive secondary calls for the default attributes.
1549
+ # @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes and the &#39;id&#39;, &#39;userName&#39;, &#39;active&#39;, and &#39;meta&#39; attributes. Use \&quot;attributes\&quot; to avoid expensive secondary calls for the default attributes.
1550
1550
  # @option opts [Array<String>] :excluded_attributes Indicates which attributes to exclude. Returns the default attributes minus \&quot;excludedAttributes\&quot;. Use \&quot;excludedAttributes\&quot; to avoid expensive secondary calls for the default attributes. The &#39;id&#39;, &#39;userName&#39;, &#39;active&#39;, &#39;meta&#39; attributes will always be present in output.
1551
1551
  # @option opts [String] :if_none_match The ETag of a resource in double quotes. Returned as header and meta.version with initial call to GET /api/v2/scim/v2/users/{userId}. Example: \&quot;42\&quot;. If the ETag is different from the version on the server, returns the current configuration of the resource. If the ETag is current, returns 304 Not Modified.
1552
1552
  # @return [ScimV2User]
@@ -1559,7 +1559,7 @@ module PureCloud
1559
1559
  #
1560
1560
  # @param user_id The ID of a user. Returned with GET /api/v2/scim/v2/users.
1561
1561
  # @param [Hash] opts the optional parameters
1562
- # @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes ant the &#39;id&#39;, &#39;userName&#39;, &#39;active&#39;, and &#39;meta&#39; attributes. Use \&quot;attributes\&quot; to avoid expensive secondary calls for the default attributes.
1562
+ # @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes and the &#39;id&#39;, &#39;userName&#39;, &#39;active&#39;, and &#39;meta&#39; attributes. Use \&quot;attributes\&quot; to avoid expensive secondary calls for the default attributes.
1563
1563
  # @option opts [Array<String>] :excluded_attributes Indicates which attributes to exclude. Returns the default attributes minus \&quot;excludedAttributes\&quot;. Use \&quot;excludedAttributes\&quot; to avoid expensive secondary calls for the default attributes. The &#39;id&#39;, &#39;userName&#39;, &#39;active&#39;, &#39;meta&#39; attributes will always be present in output.
1564
1564
  # @option opts [String] :if_none_match The ETag of a resource in double quotes. Returned as header and meta.version with initial call to GET /api/v2/scim/v2/users/{userId}. Example: \&quot;42\&quot;. If the ETag is different from the version on the server, returns the current configuration of the resource. If the ETag is current, returns 304 Not Modified.
1565
1565
  # @return [Array<(ScimV2User, Fixnum, Hash)>] ScimV2User data, response status code and response headers
@@ -1639,7 +1639,7 @@ module PureCloud
1639
1639
  # @param [Hash] opts the optional parameters
1640
1640
  # @option opts [Integer] :start_index The 1-based index of the first query result. (default to 1)
1641
1641
  # @option opts [Integer] :count The requested number of items per page. A value of 0 returns \&quot;totalResults\&quot;. (default to 25)
1642
- # @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes ant the &#39;id&#39;, &#39;userName&#39;, &#39;active&#39;, and &#39;meta&#39; attributes. Use \&quot;attributes\&quot; to avoid expensive secondary calls for the default attributes.
1642
+ # @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes and the &#39;id&#39;, &#39;userName&#39;, &#39;active&#39;, and &#39;meta&#39; attributes. Use \&quot;attributes\&quot; to avoid expensive secondary calls for the default attributes.
1643
1643
  # @option opts [Array<String>] :excluded_attributes Indicates which attributes to exclude. Returns the default attributes minus \&quot;excludedAttributes\&quot;. Use \&quot;excludedAttributes\&quot; to avoid expensive secondary calls for the default attributes. The &#39;id&#39;, &#39;userName&#39;, &#39;active&#39;, &#39;meta&#39; attributes will always be present in output.
1644
1644
  # @option opts [String] :filter Filters results. If nothing is specified, returns all active users. Examples of valid values: \&quot;id eq 857449b0-d9e7-4cd0-acbf-a6adfb9ef1e9\&quot;, \&quot;userName eq search@sample.org\&quot;, \&quot;manager eq 16e10e2f-1136-43fe-bb84-eac073168a49\&quot;, \&quot;email eq search@sample.org\&quot;, \&quot;division eq divisionName\&quot;, \&quot;externalId eq 167844\&quot;, \&quot;active eq false\&quot;.
1645
1645
  # @return [ScimUserListResponse]
@@ -1653,7 +1653,7 @@ module PureCloud
1653
1653
  # @param [Hash] opts the optional parameters
1654
1654
  # @option opts [Integer] :start_index The 1-based index of the first query result.
1655
1655
  # @option opts [Integer] :count The requested number of items per page. A value of 0 returns \&quot;totalResults\&quot;.
1656
- # @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes ant the &#39;id&#39;, &#39;userName&#39;, &#39;active&#39;, and &#39;meta&#39; attributes. Use \&quot;attributes\&quot; to avoid expensive secondary calls for the default attributes.
1656
+ # @option opts [Array<String>] :attributes Indicates which attributes to include. Returns these attributes and the &#39;id&#39;, &#39;userName&#39;, &#39;active&#39;, and &#39;meta&#39; attributes. Use \&quot;attributes\&quot; to avoid expensive secondary calls for the default attributes.
1657
1657
  # @option opts [Array<String>] :excluded_attributes Indicates which attributes to exclude. Returns the default attributes minus \&quot;excludedAttributes\&quot;. Use \&quot;excludedAttributes\&quot; to avoid expensive secondary calls for the default attributes. The &#39;id&#39;, &#39;userName&#39;, &#39;active&#39;, &#39;meta&#39; attributes will always be present in output.
1658
1658
  # @option opts [String] :filter Filters results. If nothing is specified, returns all active users. Examples of valid values: \&quot;id eq 857449b0-d9e7-4cd0-acbf-a6adfb9ef1e9\&quot;, \&quot;userName eq search@sample.org\&quot;, \&quot;manager eq 16e10e2f-1136-43fe-bb84-eac073168a49\&quot;, \&quot;email eq search@sample.org\&quot;, \&quot;division eq divisionName\&quot;, \&quot;externalId eq 167844\&quot;, \&quot;active eq false\&quot;.
1659
1659
  # @return [Array<(ScimUserListResponse, Fixnum, Hash)>] ScimUserListResponse data, response status code and response headers
@@ -0,0 +1,92 @@
1
+ =begin
2
+ PureCloud Platform API
3
+
4
+ With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
5
+
6
+ OpenAPI spec version: v2
7
+ Contact: DeveloperEvangelists@genesys.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ License: UNLICENSED
11
+ https://help.mypurecloud.com/articles/terms-and-conditions/
12
+
13
+ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
14
+
15
+ =end
16
+
17
+ require "uri"
18
+
19
+ module PureCloud
20
+ class UploadsApi
21
+ attr_accessor :api_client
22
+
23
+ def initialize(api_client = ApiClient.default)
24
+ @api_client = api_client
25
+ end
26
+
27
+ # Creates presigned url for uploading a public asset image
28
+ #
29
+ # @param body query
30
+ # @param [Hash] opts the optional parameters
31
+ # @return [UploadUrlResponse]
32
+ def post_uploads_publicassets_images(body, opts = {})
33
+ data, _status_code, _headers = post_uploads_publicassets_images_with_http_info(body, opts)
34
+ return data
35
+ end
36
+
37
+ # Creates presigned url for uploading a public asset image
38
+ #
39
+ # @param body query
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [Array<(UploadUrlResponse, Fixnum, Hash)>] UploadUrlResponse data, response status code and response headers
42
+ def post_uploads_publicassets_images_with_http_info(body, opts = {})
43
+ if @api_client.config.debugging
44
+ @api_client.config.logger.debug "Calling API: UploadsApi.post_uploads_publicassets_images ..."
45
+ end
46
+
47
+
48
+ # verify the required parameter 'body' is set
49
+ fail ArgumentError, "Missing the required parameter 'body' when calling UploadsApi.post_uploads_publicassets_images" if body.nil?
50
+
51
+
52
+
53
+
54
+
55
+ # resource path
56
+ local_var_path = "/api/v2/uploads/publicassets/images".sub('{format}','json')
57
+
58
+ # query parameters
59
+ query_params = {}
60
+
61
+ # header parameters
62
+ header_params = {}
63
+
64
+ # HTTP header 'Accept' (if needed)
65
+ local_header_accept = ['application/json']
66
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
67
+
68
+ # HTTP header 'Content-Type'
69
+ local_header_content_type = ['application/json']
70
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
71
+
72
+ # form parameters
73
+ form_params = {}
74
+
75
+ # http body (model)
76
+ post_body = @api_client.object_to_http_body(body)
77
+
78
+ auth_names = ['PureCloud OAuth']
79
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
80
+ :header_params => header_params,
81
+ :query_params => query_params,
82
+ :form_params => form_params,
83
+ :body => post_body,
84
+ :auth_names => auth_names,
85
+ :return_type => 'UploadUrlResponse')
86
+ if @api_client.config.debugging
87
+ @api_client.config.logger.debug "API called: UploadsApi#post_uploads_publicassets_images\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
+ end
89
+ return data, status_code, headers
90
+ end
91
+ end
92
+ end
@@ -617,7 +617,7 @@ module PureCloud
617
617
  return data, status_code, headers
618
618
  end
619
619
 
620
- # Deletes an activity code
620
+ # Deprecated/Gone: Use the new business unit activity code resources
621
621
  #
622
622
  # @param mu_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
623
623
  # @param ac_id The ID of the activity code to delete
@@ -628,7 +628,7 @@ module PureCloud
628
628
  return nil
629
629
  end
630
630
 
631
- # Deletes an activity code
631
+ # Deprecated/Gone: Use the new business unit activity code resources
632
632
  #
633
633
  # @param mu_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
634
634
  # @param ac_id The ID of the activity code to delete
@@ -691,9 +691,9 @@ module PureCloud
691
691
  return data, status_code, headers
692
692
  end
693
693
 
694
- # Cancel a schedule run
694
+ # Gone. Scheduling has moved under business units
695
695
  #
696
- # @param management_unit_id The ID of the management unit.
696
+ # @param management_unit_id (Deprecated/gone): The ID of the management unit.
697
697
  # @param run_id The ID of the schedule run
698
698
  # @param [Hash] opts the optional parameters
699
699
  # @return [nil]
@@ -702,9 +702,9 @@ module PureCloud
702
702
  return nil
703
703
  end
704
704
 
705
- # Cancel a schedule run
705
+ # Gone. Scheduling has moved under business units
706
706
  #
707
- # @param management_unit_id The ID of the management unit.
707
+ # @param management_unit_id (Deprecated/gone): The ID of the management unit.
708
708
  # @param run_id The ID of the schedule run
709
709
  # @param [Hash] opts the optional parameters
710
710
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
@@ -765,10 +765,10 @@ module PureCloud
765
765
  return data, status_code, headers
766
766
  end
767
767
 
768
- # Delete a service goal group
768
+ # Gone. Replaced with service goal templates and planning groups under business units
769
769
  #
770
- # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
771
- # @param service_goal_group_id The ID of the service goal group to delete
770
+ # @param management_unit_id (Deprecated/gone): The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
771
+ # @param service_goal_group_id Gone. The ID of the service goal group to delete
772
772
  # @param [Hash] opts the optional parameters
773
773
  # @return [nil]
774
774
  def delete_workforcemanagement_managementunit_servicegoalgroup(management_unit_id, service_goal_group_id, opts = {})
@@ -776,10 +776,10 @@ module PureCloud
776
776
  return nil
777
777
  end
778
778
 
779
- # Delete a service goal group
779
+ # Gone. Replaced with service goal templates and planning groups under business units
780
780
  #
781
- # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
782
- # @param service_goal_group_id The ID of the service goal group to delete
781
+ # @param management_unit_id (Deprecated/gone): The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
782
+ # @param service_goal_group_id Gone. The ID of the service goal group to delete
783
783
  # @param [Hash] opts the optional parameters
784
784
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
785
785
  def delete_workforcemanagement_managementunit_servicegoalgroup_with_http_info(management_unit_id, service_goal_group_id, opts = {})
@@ -839,11 +839,11 @@ module PureCloud
839
839
  return data, status_code, headers
840
840
  end
841
841
 
842
- # Delete a schedule
842
+ # Gone. Scheduling has moved under business units
843
843
  #
844
844
  # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
845
845
  # @param week_id First day of schedule week in yyyy-MM-dd format.
846
- # @param schedule_id The ID of theschedule to delete
846
+ # @param schedule_id Gone/deprecated. The ID of the schedule to delete
847
847
  # @param [Hash] opts the optional parameters
848
848
  # @return [nil]
849
849
  def delete_workforcemanagement_managementunit_week_schedule(management_unit_id, week_id, schedule_id, opts = {})
@@ -851,11 +851,11 @@ module PureCloud
851
851
  return nil
852
852
  end
853
853
 
854
- # Delete a schedule
854
+ # Gone. Scheduling has moved under business units
855
855
  #
856
856
  # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
857
857
  # @param week_id First day of schedule week in yyyy-MM-dd format.
858
- # @param schedule_id The ID of theschedule to delete
858
+ # @param schedule_id Gone/deprecated. The ID of the schedule to delete
859
859
  # @param [Hash] opts the optional parameters
860
860
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
861
861
  def delete_workforcemanagement_managementunit_week_schedule_with_http_info(management_unit_id, week_id, schedule_id, opts = {})
@@ -923,11 +923,11 @@ module PureCloud
923
923
  return data, status_code, headers
924
924
  end
925
925
 
926
- # Delete a short term forecast
927
- # Must not be tied to any schedules
928
- # @param management_unit_id The management unit ID of the management unit to which the forecast belongs
929
- # @param week_date_id The week start date of the forecast in yyyy-MM-dd format
930
- # @param forecast_id The ID of the forecast
926
+ # Gone. Use equivalent business unit resource instead
927
+ #
928
+ # @param management_unit_id (Deprecated/gone): The id of the management unit.
929
+ # @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
930
+ # @param forecast_id (Gone/Deprecated): The ID of the forecast
931
931
  # @param [Hash] opts the optional parameters
932
932
  # @return [nil]
933
933
  def delete_workforcemanagement_managementunit_week_shorttermforecast(management_unit_id, week_date_id, forecast_id, opts = {})
@@ -935,11 +935,11 @@ module PureCloud
935
935
  return nil
936
936
  end
937
937
 
938
- # Delete a short term forecast
939
- # Must not be tied to any schedules
940
- # @param management_unit_id The management unit ID of the management unit to which the forecast belongs
941
- # @param week_date_id The week start date of the forecast in yyyy-MM-dd format
942
- # @param forecast_id The ID of the forecast
938
+ # Gone. Use equivalent business unit resource instead
939
+ #
940
+ # @param management_unit_id (Deprecated/gone): The id of the management unit.
941
+ # @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
942
+ # @param forecast_id (Gone/Deprecated): The ID of the forecast
943
943
  # @param [Hash] opts the optional parameters
944
944
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
945
945
  def delete_workforcemanagement_managementunit_week_shorttermforecast_with_http_info(management_unit_id, week_date_id, forecast_id, opts = {})
@@ -3488,24 +3488,22 @@ module PureCloud
3488
3488
  return data, status_code, headers
3489
3489
  end
3490
3490
 
3491
- # Get intraday queues for the given date
3491
+ # Gone. Moved under business units
3492
3492
  #
3493
3493
  # @param mu_id The management unit ID of the management unit
3494
- # @param date yyyy-MM-dd date string interpreted in the configured management unit time zone
3495
3494
  # @param [Hash] opts the optional parameters
3496
- # @return [WfmIntradayQueueListing]
3497
- def get_workforcemanagement_managementunit_intraday_queues(mu_id, date, opts = {})
3498
- data, _status_code, _headers = get_workforcemanagement_managementunit_intraday_queues_with_http_info(mu_id, date, opts)
3499
- return data
3495
+ # @return [nil]
3496
+ def get_workforcemanagement_managementunit_intraday_queues(mu_id, opts = {})
3497
+ get_workforcemanagement_managementunit_intraday_queues_with_http_info(mu_id, opts)
3498
+ return nil
3500
3499
  end
3501
3500
 
3502
- # Get intraday queues for the given date
3501
+ # Gone. Moved under business units
3503
3502
  #
3504
3503
  # @param mu_id The management unit ID of the management unit
3505
- # @param date yyyy-MM-dd date string interpreted in the configured management unit time zone
3506
3504
  # @param [Hash] opts the optional parameters
3507
- # @return [Array<(WfmIntradayQueueListing, Fixnum, Hash)>] WfmIntradayQueueListing data, response status code and response headers
3508
- def get_workforcemanagement_managementunit_intraday_queues_with_http_info(mu_id, date, opts = {})
3505
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3506
+ def get_workforcemanagement_managementunit_intraday_queues_with_http_info(mu_id, opts = {})
3509
3507
  if @api_client.config.debugging
3510
3508
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.get_workforcemanagement_managementunit_intraday_queues ..."
3511
3509
  end
@@ -3518,20 +3516,11 @@ module PureCloud
3518
3516
 
3519
3517
 
3520
3518
 
3521
-
3522
- # verify the required parameter 'date' is set
3523
- fail ArgumentError, "Missing the required parameter 'date' when calling WorkforceManagementApi.get_workforcemanagement_managementunit_intraday_queues" if date.nil?
3524
-
3525
-
3526
-
3527
-
3528
-
3529
3519
  # resource path
3530
3520
  local_var_path = "/api/v2/workforcemanagement/managementunits/{muId}/intraday/queues".sub('{format}','json').sub('{' + 'muId' + '}', mu_id.to_s)
3531
3521
 
3532
3522
  # query parameters
3533
3523
  query_params = {}
3534
- query_params[:'date'] = date
3535
3524
 
3536
3525
  # header parameters
3537
3526
  header_params = {}
@@ -3556,31 +3545,30 @@ module PureCloud
3556
3545
  :query_params => query_params,
3557
3546
  :form_params => form_params,
3558
3547
  :body => post_body,
3559
- :auth_names => auth_names,
3560
- :return_type => 'WfmIntradayQueueListing')
3548
+ :auth_names => auth_names)
3561
3549
  if @api_client.config.debugging
3562
3550
  @api_client.config.logger.debug "API called: WorkforceManagementApi#get_workforcemanagement_managementunit_intraday_queues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3563
3551
  end
3564
3552
  return data, status_code, headers
3565
3553
  end
3566
3554
 
3567
- # Gets the status for a specific scheduling run
3555
+ # Gone. Scheduling has moved under business units
3568
3556
  #
3569
- # @param management_unit_id The ID of the management unit.
3557
+ # @param management_unit_id (Deprecated/gone): The ID of the management unit.
3570
3558
  # @param run_id The ID of the schedule run
3571
3559
  # @param [Hash] opts the optional parameters
3572
- # @return [SchedulingRunResponse]
3560
+ # @return [nil]
3573
3561
  def get_workforcemanagement_managementunit_scheduling_run(management_unit_id, run_id, opts = {})
3574
- data, _status_code, _headers = get_workforcemanagement_managementunit_scheduling_run_with_http_info(management_unit_id, run_id, opts)
3575
- return data
3562
+ get_workforcemanagement_managementunit_scheduling_run_with_http_info(management_unit_id, run_id, opts)
3563
+ return nil
3576
3564
  end
3577
3565
 
3578
- # Gets the status for a specific scheduling run
3566
+ # Gone. Scheduling has moved under business units
3579
3567
  #
3580
- # @param management_unit_id The ID of the management unit.
3568
+ # @param management_unit_id (Deprecated/gone): The ID of the management unit.
3581
3569
  # @param run_id The ID of the schedule run
3582
3570
  # @param [Hash] opts the optional parameters
3583
- # @return [Array<(SchedulingRunResponse, Fixnum, Hash)>] SchedulingRunResponse data, response status code and response headers
3571
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3584
3572
  def get_workforcemanagement_managementunit_scheduling_run_with_http_info(management_unit_id, run_id, opts = {})
3585
3573
  if @api_client.config.debugging
3586
3574
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.get_workforcemanagement_managementunit_scheduling_run ..."
@@ -3631,31 +3619,30 @@ module PureCloud
3631
3619
  :query_params => query_params,
3632
3620
  :form_params => form_params,
3633
3621
  :body => post_body,
3634
- :auth_names => auth_names,
3635
- :return_type => 'SchedulingRunResponse')
3622
+ :auth_names => auth_names)
3636
3623
  if @api_client.config.debugging
3637
3624
  @api_client.config.logger.debug "API called: WorkforceManagementApi#get_workforcemanagement_managementunit_scheduling_run\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3638
3625
  end
3639
3626
  return data, status_code, headers
3640
3627
  end
3641
3628
 
3642
- # Gets the result of a specific scheduling run
3629
+ # Gone. Scheduling has moved under business units
3643
3630
  #
3644
- # @param management_unit_id The ID of the management unit.
3631
+ # @param management_unit_id (Deprecated/gone): The ID of the management unit.
3645
3632
  # @param run_id The ID of the schedule run
3646
3633
  # @param [Hash] opts the optional parameters
3647
- # @return [RescheduleResult]
3634
+ # @return [nil]
3648
3635
  def get_workforcemanagement_managementunit_scheduling_run_result(management_unit_id, run_id, opts = {})
3649
- data, _status_code, _headers = get_workforcemanagement_managementunit_scheduling_run_result_with_http_info(management_unit_id, run_id, opts)
3650
- return data
3636
+ get_workforcemanagement_managementunit_scheduling_run_result_with_http_info(management_unit_id, run_id, opts)
3637
+ return nil
3651
3638
  end
3652
3639
 
3653
- # Gets the result of a specific scheduling run
3640
+ # Gone. Scheduling has moved under business units
3654
3641
  #
3655
- # @param management_unit_id The ID of the management unit.
3642
+ # @param management_unit_id (Deprecated/gone): The ID of the management unit.
3656
3643
  # @param run_id The ID of the schedule run
3657
3644
  # @param [Hash] opts the optional parameters
3658
- # @return [Array<(RescheduleResult, Fixnum, Hash)>] RescheduleResult data, response status code and response headers
3645
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3659
3646
  def get_workforcemanagement_managementunit_scheduling_run_result_with_http_info(management_unit_id, run_id, opts = {})
3660
3647
  if @api_client.config.debugging
3661
3648
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.get_workforcemanagement_managementunit_scheduling_run_result ..."
@@ -3706,29 +3693,28 @@ module PureCloud
3706
3693
  :query_params => query_params,
3707
3694
  :form_params => form_params,
3708
3695
  :body => post_body,
3709
- :auth_names => auth_names,
3710
- :return_type => 'RescheduleResult')
3696
+ :auth_names => auth_names)
3711
3697
  if @api_client.config.debugging
3712
3698
  @api_client.config.logger.debug "API called: WorkforceManagementApi#get_workforcemanagement_managementunit_scheduling_run_result\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3713
3699
  end
3714
3700
  return data, status_code, headers
3715
3701
  end
3716
3702
 
3717
- # Get the status of all the ongoing schedule runs
3703
+ # Gone. Scheduling has moved under business units
3718
3704
  #
3719
- # @param management_unit_id The ID of the management unit.
3705
+ # @param management_unit_id (Deprecated/gone): The ID of the management unit.
3720
3706
  # @param [Hash] opts the optional parameters
3721
- # @return [SchedulingRunListResponse]
3707
+ # @return [nil]
3722
3708
  def get_workforcemanagement_managementunit_scheduling_runs(management_unit_id, opts = {})
3723
- data, _status_code, _headers = get_workforcemanagement_managementunit_scheduling_runs_with_http_info(management_unit_id, opts)
3724
- return data
3709
+ get_workforcemanagement_managementunit_scheduling_runs_with_http_info(management_unit_id, opts)
3710
+ return nil
3725
3711
  end
3726
3712
 
3727
- # Get the status of all the ongoing schedule runs
3713
+ # Gone. Scheduling has moved under business units
3728
3714
  #
3729
- # @param management_unit_id The ID of the management unit.
3715
+ # @param management_unit_id (Deprecated/gone): The ID of the management unit.
3730
3716
  # @param [Hash] opts the optional parameters
3731
- # @return [Array<(SchedulingRunListResponse, Fixnum, Hash)>] SchedulingRunListResponse data, response status code and response headers
3717
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3732
3718
  def get_workforcemanagement_managementunit_scheduling_runs_with_http_info(management_unit_id, opts = {})
3733
3719
  if @api_client.config.debugging
3734
3720
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.get_workforcemanagement_managementunit_scheduling_runs ..."
@@ -3771,31 +3757,30 @@ module PureCloud
3771
3757
  :query_params => query_params,
3772
3758
  :form_params => form_params,
3773
3759
  :body => post_body,
3774
- :auth_names => auth_names,
3775
- :return_type => 'SchedulingRunListResponse')
3760
+ :auth_names => auth_names)
3776
3761
  if @api_client.config.debugging
3777
3762
  @api_client.config.logger.debug "API called: WorkforceManagementApi#get_workforcemanagement_managementunit_scheduling_runs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3778
3763
  end
3779
3764
  return data, status_code, headers
3780
3765
  end
3781
3766
 
3782
- # Get a service goal group
3767
+ # Gone. Replaced with service goal templates and planning groups under business units
3783
3768
  #
3784
- # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
3785
- # @param service_goal_group_id The ID of the service goal group to fetch
3769
+ # @param management_unit_id (Deprecated/gone): The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
3770
+ # @param service_goal_group_id Gone. The ID of the service goal group to fetch
3786
3771
  # @param [Hash] opts the optional parameters
3787
- # @return [ServiceGoalGroup]
3772
+ # @return [nil]
3788
3773
  def get_workforcemanagement_managementunit_servicegoalgroup(management_unit_id, service_goal_group_id, opts = {})
3789
- data, _status_code, _headers = get_workforcemanagement_managementunit_servicegoalgroup_with_http_info(management_unit_id, service_goal_group_id, opts)
3790
- return data
3774
+ get_workforcemanagement_managementunit_servicegoalgroup_with_http_info(management_unit_id, service_goal_group_id, opts)
3775
+ return nil
3791
3776
  end
3792
3777
 
3793
- # Get a service goal group
3778
+ # Gone. Replaced with service goal templates and planning groups under business units
3794
3779
  #
3795
- # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
3796
- # @param service_goal_group_id The ID of the service goal group to fetch
3780
+ # @param management_unit_id (Deprecated/gone): The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
3781
+ # @param service_goal_group_id Gone. The ID of the service goal group to fetch
3797
3782
  # @param [Hash] opts the optional parameters
3798
- # @return [Array<(ServiceGoalGroup, Fixnum, Hash)>] ServiceGoalGroup data, response status code and response headers
3783
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3799
3784
  def get_workforcemanagement_managementunit_servicegoalgroup_with_http_info(management_unit_id, service_goal_group_id, opts = {})
3800
3785
  if @api_client.config.debugging
3801
3786
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.get_workforcemanagement_managementunit_servicegoalgroup ..."
@@ -3846,29 +3831,28 @@ module PureCloud
3846
3831
  :query_params => query_params,
3847
3832
  :form_params => form_params,
3848
3833
  :body => post_body,
3849
- :auth_names => auth_names,
3850
- :return_type => 'ServiceGoalGroup')
3834
+ :auth_names => auth_names)
3851
3835
  if @api_client.config.debugging
3852
3836
  @api_client.config.logger.debug "API called: WorkforceManagementApi#get_workforcemanagement_managementunit_servicegoalgroup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3853
3837
  end
3854
3838
  return data, status_code, headers
3855
3839
  end
3856
3840
 
3857
- # Get service goal groups
3841
+ # Gone. Replaced with service goal templates and planning groups under business units
3858
3842
  #
3859
- # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
3843
+ # @param management_unit_id (Deprecated/gone): The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
3860
3844
  # @param [Hash] opts the optional parameters
3861
- # @return [ServiceGoalGroupList]
3845
+ # @return [nil]
3862
3846
  def get_workforcemanagement_managementunit_servicegoalgroups(management_unit_id, opts = {})
3863
- data, _status_code, _headers = get_workforcemanagement_managementunit_servicegoalgroups_with_http_info(management_unit_id, opts)
3864
- return data
3847
+ get_workforcemanagement_managementunit_servicegoalgroups_with_http_info(management_unit_id, opts)
3848
+ return nil
3865
3849
  end
3866
3850
 
3867
- # Get service goal groups
3851
+ # Gone. Replaced with service goal templates and planning groups under business units
3868
3852
  #
3869
- # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
3853
+ # @param management_unit_id (Deprecated/gone): The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
3870
3854
  # @param [Hash] opts the optional parameters
3871
- # @return [Array<(ServiceGoalGroupList, Fixnum, Hash)>] ServiceGoalGroupList data, response status code and response headers
3855
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3872
3856
  def get_workforcemanagement_managementunit_servicegoalgroups_with_http_info(management_unit_id, opts = {})
3873
3857
  if @api_client.config.debugging
3874
3858
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.get_workforcemanagement_managementunit_servicegoalgroups ..."
@@ -3911,29 +3895,28 @@ module PureCloud
3911
3895
  :query_params => query_params,
3912
3896
  :form_params => form_params,
3913
3897
  :body => post_body,
3914
- :auth_names => auth_names,
3915
- :return_type => 'ServiceGoalGroupList')
3898
+ :auth_names => auth_names)
3916
3899
  if @api_client.config.debugging
3917
3900
  @api_client.config.logger.debug "API called: WorkforceManagementApi#get_workforcemanagement_managementunit_servicegoalgroups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3918
3901
  end
3919
3902
  return data, status_code, headers
3920
3903
  end
3921
3904
 
3922
- # Get the settings for the requested management unit. Deprecated, use the GET management unit route instead
3905
+ # Gone. Get management unit settings via expand parameters on the GET management unit
3923
3906
  #
3924
3907
  # @param mu_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
3925
3908
  # @param [Hash] opts the optional parameters
3926
- # @return [ManagementUnitSettingsResponse]
3909
+ # @return [nil]
3927
3910
  def get_workforcemanagement_managementunit_settings(mu_id, opts = {})
3928
- data, _status_code, _headers = get_workforcemanagement_managementunit_settings_with_http_info(mu_id, opts)
3929
- return data
3911
+ get_workforcemanagement_managementunit_settings_with_http_info(mu_id, opts)
3912
+ return nil
3930
3913
  end
3931
3914
 
3932
- # Get the settings for the requested management unit. Deprecated, use the GET management unit route instead
3915
+ # Gone. Get management unit settings via expand parameters on the GET management unit
3933
3916
  #
3934
3917
  # @param mu_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
3935
3918
  # @param [Hash] opts the optional parameters
3936
- # @return [Array<(ManagementUnitSettingsResponse, Fixnum, Hash)>] ManagementUnitSettingsResponse data, response status code and response headers
3919
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
3937
3920
  def get_workforcemanagement_managementunit_settings_with_http_info(mu_id, opts = {})
3938
3921
  if @api_client.config.debugging
3939
3922
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.get_workforcemanagement_managementunit_settings ..."
@@ -3976,8 +3959,7 @@ module PureCloud
3976
3959
  :query_params => query_params,
3977
3960
  :form_params => form_params,
3978
3961
  :body => post_body,
3979
- :auth_names => auth_names,
3980
- :return_type => 'ManagementUnitSettingsResponse')
3962
+ :auth_names => auth_names)
3981
3963
  if @api_client.config.debugging
3982
3964
  @api_client.config.logger.debug "API called: WorkforceManagementApi#get_workforcemanagement_managementunit_settings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3983
3965
  end
@@ -4348,7 +4330,7 @@ module PureCloud
4348
4330
  return data, status_code, headers
4349
4331
  end
4350
4332
 
4351
- # Get a week schedule
4333
+ # Deprecated. Use the equivalent business unit resource instead. Get a week schedule
4352
4334
  #
4353
4335
  # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
4354
4336
  # @param week_id First day of schedule week in yyyy-MM-dd format.
@@ -4362,7 +4344,7 @@ module PureCloud
4362
4344
  return data
4363
4345
  end
4364
4346
 
4365
- # Get a week schedule
4347
+ # Deprecated. Use the equivalent business unit resource instead. Get a week schedule
4366
4348
  #
4367
4349
  # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
4368
4350
  # @param week_id First day of schedule week in yyyy-MM-dd format.
@@ -4455,25 +4437,25 @@ module PureCloud
4455
4437
  return data, status_code, headers
4456
4438
  end
4457
4439
 
4458
- # Get week schedule generation results
4440
+ # Gone. Scheduling has moved under business units
4459
4441
  #
4460
4442
  # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
4461
4443
  # @param week_id First day of schedule week in yyyy-MM-dd format.
4462
- # @param schedule_id The ID of the schedule to fetch generation results
4444
+ # @param schedule_id Gone/deprecated. The ID of the schedule to fetch generation results
4463
4445
  # @param [Hash] opts the optional parameters
4464
- # @return [WeekScheduleGenerationResult]
4446
+ # @return [nil]
4465
4447
  def get_workforcemanagement_managementunit_week_schedule_generationresults(management_unit_id, week_id, schedule_id, opts = {})
4466
- data, _status_code, _headers = get_workforcemanagement_managementunit_week_schedule_generationresults_with_http_info(management_unit_id, week_id, schedule_id, opts)
4467
- return data
4448
+ get_workforcemanagement_managementunit_week_schedule_generationresults_with_http_info(management_unit_id, week_id, schedule_id, opts)
4449
+ return nil
4468
4450
  end
4469
4451
 
4470
- # Get week schedule generation results
4452
+ # Gone. Scheduling has moved under business units
4471
4453
  #
4472
4454
  # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
4473
4455
  # @param week_id First day of schedule week in yyyy-MM-dd format.
4474
- # @param schedule_id The ID of the schedule to fetch generation results
4456
+ # @param schedule_id Gone/deprecated. The ID of the schedule to fetch generation results
4475
4457
  # @param [Hash] opts the optional parameters
4476
- # @return [Array<(WeekScheduleGenerationResult, Fixnum, Hash)>] WeekScheduleGenerationResult data, response status code and response headers
4458
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
4477
4459
  def get_workforcemanagement_managementunit_week_schedule_generationresults_with_http_info(management_unit_id, week_id, schedule_id, opts = {})
4478
4460
  if @api_client.config.debugging
4479
4461
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.get_workforcemanagement_managementunit_week_schedule_generationresults ..."
@@ -4532,15 +4514,14 @@ module PureCloud
4532
4514
  :query_params => query_params,
4533
4515
  :form_params => form_params,
4534
4516
  :body => post_body,
4535
- :auth_names => auth_names,
4536
- :return_type => 'WeekScheduleGenerationResult')
4517
+ :auth_names => auth_names)
4537
4518
  if @api_client.config.debugging
4538
4519
  @api_client.config.logger.debug "API called: WorkforceManagementApi#get_workforcemanagement_managementunit_week_schedule_generationresults\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4539
4520
  end
4540
4521
  return data, status_code, headers
4541
4522
  end
4542
4523
 
4543
- # Get the list of schedules in a week in management unit
4524
+ # Deprecated. Use the equivalent business unit resource instead. Get the list of schedules in a week in management unit
4544
4525
  #
4545
4526
  # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
4546
4527
  # @param week_id First day of schedule week in yyyy-MM-dd format.
@@ -4554,7 +4535,7 @@ module PureCloud
4554
4535
  return data
4555
4536
  end
4556
4537
 
4557
- # Get the list of schedules in a week in management unit
4538
+ # Deprecated. Use the equivalent business unit resource instead. Get the list of schedules in a week in management unit
4558
4539
  #
4559
4540
  # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
4560
4541
  # @param week_id First day of schedule week in yyyy-MM-dd format.
@@ -4726,27 +4707,25 @@ module PureCloud
4726
4707
  return data, status_code, headers
4727
4708
  end
4728
4709
 
4729
- # Get the final result of a short term forecast calculation with modifications applied
4710
+ # Gone. Use equivalent business unit resource instead
4730
4711
  #
4731
- # @param management_unit_id The management unit ID of the management unit to which the forecast belongs
4732
- # @param week_date_id The week start date of the forecast in yyyy-MM-dd format
4733
- # @param forecast_id The ID of the forecast
4712
+ # @param management_unit_id (Deprecated/gone): The id of the management unit.
4713
+ # @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
4714
+ # @param forecast_id (Gone/Deprecated): The ID of the forecast
4734
4715
  # @param [Hash] opts the optional parameters
4735
- # @option opts [BOOLEAN] :force_download_service Force the result of this operation to be sent via download service. For testing/app development purposes
4736
- # @return [ForecastResultResponse]
4716
+ # @return [nil]
4737
4717
  def get_workforcemanagement_managementunit_week_shorttermforecast_final(management_unit_id, week_date_id, forecast_id, opts = {})
4738
- data, _status_code, _headers = get_workforcemanagement_managementunit_week_shorttermforecast_final_with_http_info(management_unit_id, week_date_id, forecast_id, opts)
4739
- return data
4718
+ get_workforcemanagement_managementunit_week_shorttermforecast_final_with_http_info(management_unit_id, week_date_id, forecast_id, opts)
4719
+ return nil
4740
4720
  end
4741
4721
 
4742
- # Get the final result of a short term forecast calculation with modifications applied
4722
+ # Gone. Use equivalent business unit resource instead
4743
4723
  #
4744
- # @param management_unit_id The management unit ID of the management unit to which the forecast belongs
4745
- # @param week_date_id The week start date of the forecast in yyyy-MM-dd format
4746
- # @param forecast_id The ID of the forecast
4724
+ # @param management_unit_id (Deprecated/gone): The id of the management unit.
4725
+ # @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
4726
+ # @param forecast_id (Gone/Deprecated): The ID of the forecast
4747
4727
  # @param [Hash] opts the optional parameters
4748
- # @option opts [BOOLEAN] :force_download_service Force the result of this operation to be sent via download service. For testing/app development purposes
4749
- # @return [Array<(ForecastResultResponse, Fixnum, Hash)>] ForecastResultResponse data, response status code and response headers
4728
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
4750
4729
  def get_workforcemanagement_managementunit_week_shorttermforecast_final_with_http_info(management_unit_id, week_date_id, forecast_id, opts = {})
4751
4730
  if @api_client.config.debugging
4752
4731
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.get_workforcemanagement_managementunit_week_shorttermforecast_final ..."
@@ -4776,18 +4755,11 @@ module PureCloud
4776
4755
 
4777
4756
 
4778
4757
 
4779
-
4780
-
4781
-
4782
-
4783
-
4784
-
4785
4758
  # resource path
4786
4759
  local_var_path = "/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/final".sub('{format}','json').sub('{' + 'managementUnitId' + '}', management_unit_id.to_s).sub('{' + 'weekDateId' + '}', week_date_id.to_s).sub('{' + 'forecastId' + '}', forecast_id.to_s)
4787
4760
 
4788
4761
  # query parameters
4789
4762
  query_params = {}
4790
- query_params[:'forceDownloadService'] = opts[:'force_download_service'] if opts[:'force_download_service']
4791
4763
 
4792
4764
  # header parameters
4793
4765
  header_params = {}
@@ -4812,31 +4784,30 @@ module PureCloud
4812
4784
  :query_params => query_params,
4813
4785
  :form_params => form_params,
4814
4786
  :body => post_body,
4815
- :auth_names => auth_names,
4816
- :return_type => 'ForecastResultResponse')
4787
+ :auth_names => auth_names)
4817
4788
  if @api_client.config.debugging
4818
4789
  @api_client.config.logger.debug "API called: WorkforceManagementApi#get_workforcemanagement_managementunit_week_shorttermforecast_final\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4819
4790
  end
4820
4791
  return data, status_code, headers
4821
4792
  end
4822
4793
 
4823
- # Get short term forecasts
4824
- # Use \"recent\" for the `weekDateId` path parameter to fetch all forecasts for +/- 26 weeks from the current date
4825
- # @param management_unit_id The management unit ID of the management unit to which the forecast belongs
4826
- # @param week_date_id The week start date of the forecast in yyyy-MM-dd format
4794
+ # Gone. Use equivalent business unit resource instead
4795
+ #
4796
+ # @param management_unit_id (Deprecated/gone): The id of the management unit.
4797
+ # @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
4827
4798
  # @param [Hash] opts the optional parameters
4828
- # @return [ShortTermForecastListResponse]
4799
+ # @return [nil]
4829
4800
  def get_workforcemanagement_managementunit_week_shorttermforecasts(management_unit_id, week_date_id, opts = {})
4830
- data, _status_code, _headers = get_workforcemanagement_managementunit_week_shorttermforecasts_with_http_info(management_unit_id, week_date_id, opts)
4831
- return data
4801
+ get_workforcemanagement_managementunit_week_shorttermforecasts_with_http_info(management_unit_id, week_date_id, opts)
4802
+ return nil
4832
4803
  end
4833
4804
 
4834
- # Get short term forecasts
4835
- # Use \&quot;recent\&quot; for the `weekDateId` path parameter to fetch all forecasts for +/- 26 weeks from the current date
4836
- # @param management_unit_id The management unit ID of the management unit to which the forecast belongs
4837
- # @param week_date_id The week start date of the forecast in yyyy-MM-dd format
4805
+ # Gone. Use equivalent business unit resource instead
4806
+ #
4807
+ # @param management_unit_id (Deprecated/gone): The id of the management unit.
4808
+ # @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
4838
4809
  # @param [Hash] opts the optional parameters
4839
- # @return [Array<(ShortTermForecastListResponse, Fixnum, Hash)>] ShortTermForecastListResponse data, response status code and response headers
4810
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
4840
4811
  def get_workforcemanagement_managementunit_week_shorttermforecasts_with_http_info(management_unit_id, week_date_id, opts = {})
4841
4812
  if @api_client.config.debugging
4842
4813
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.get_workforcemanagement_managementunit_week_shorttermforecasts ..."
@@ -4887,8 +4858,7 @@ module PureCloud
4887
4858
  :query_params => query_params,
4888
4859
  :form_params => form_params,
4889
4860
  :body => post_body,
4890
- :auth_names => auth_names,
4891
- :return_type => 'ShortTermForecastListResponse')
4861
+ :auth_names => auth_names)
4892
4862
  if @api_client.config.debugging
4893
4863
  @api_client.config.logger.debug "API called: WorkforceManagementApi#get_workforcemanagement_managementunit_week_shorttermforecasts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4894
4864
  end
@@ -5997,25 +5967,25 @@ module PureCloud
5997
5967
  return data, status_code, headers
5998
5968
  end
5999
5969
 
6000
- # Update an activity code
5970
+ # Deprecated/Gone: Use the new business unit activity code resources
6001
5971
  #
6002
5972
  # @param mu_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
6003
5973
  # @param ac_id The ID of the activity code to update
6004
5974
  # @param [Hash] opts the optional parameters
6005
5975
  # @option opts [UpdateActivityCodeRequest] :body body
6006
- # @return [ActivityCode]
5976
+ # @return [nil]
6007
5977
  def patch_workforcemanagement_managementunit_activitycode(mu_id, ac_id, opts = {})
6008
- data, _status_code, _headers = patch_workforcemanagement_managementunit_activitycode_with_http_info(mu_id, ac_id, opts)
6009
- return data
5978
+ patch_workforcemanagement_managementunit_activitycode_with_http_info(mu_id, ac_id, opts)
5979
+ return nil
6010
5980
  end
6011
5981
 
6012
- # Update an activity code
5982
+ # Deprecated/Gone: Use the new business unit activity code resources
6013
5983
  #
6014
5984
  # @param mu_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
6015
5985
  # @param ac_id The ID of the activity code to update
6016
5986
  # @param [Hash] opts the optional parameters
6017
5987
  # @option opts [UpdateActivityCodeRequest] :body body
6018
- # @return [Array<(ActivityCode, Fixnum, Hash)>] ActivityCode data, response status code and response headers
5988
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
6019
5989
  def patch_workforcemanagement_managementunit_activitycode_with_http_info(mu_id, ac_id, opts = {})
6020
5990
  if @api_client.config.debugging
6021
5991
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.patch_workforcemanagement_managementunit_activitycode ..."
@@ -6072,33 +6042,32 @@ module PureCloud
6072
6042
  :query_params => query_params,
6073
6043
  :form_params => form_params,
6074
6044
  :body => post_body,
6075
- :auth_names => auth_names,
6076
- :return_type => 'ActivityCode')
6045
+ :auth_names => auth_names)
6077
6046
  if @api_client.config.debugging
6078
6047
  @api_client.config.logger.debug "API called: WorkforceManagementApi#patch_workforcemanagement_managementunit_activitycode\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
6079
6048
  end
6080
6049
  return data, status_code, headers
6081
6050
  end
6082
6051
 
6083
- # Marks a specific scheduling run as applied, allowing a new rescheduling run to be started
6052
+ # Gone. Scheduling has moved under business units
6084
6053
  #
6085
- # @param management_unit_id The ID of the management unit.
6054
+ # @param management_unit_id (Deprecated/gone): The ID of the management unit.
6086
6055
  # @param run_id The ID of the schedule run
6087
6056
  # @param [Hash] opts the optional parameters
6088
6057
  # @option opts [UpdateSchedulingRunRequest] :body body
6089
- # @return [RescheduleResult]
6058
+ # @return [nil]
6090
6059
  def patch_workforcemanagement_managementunit_scheduling_run(management_unit_id, run_id, opts = {})
6091
- data, _status_code, _headers = patch_workforcemanagement_managementunit_scheduling_run_with_http_info(management_unit_id, run_id, opts)
6092
- return data
6060
+ patch_workforcemanagement_managementunit_scheduling_run_with_http_info(management_unit_id, run_id, opts)
6061
+ return nil
6093
6062
  end
6094
6063
 
6095
- # Marks a specific scheduling run as applied, allowing a new rescheduling run to be started
6064
+ # Gone. Scheduling has moved under business units
6096
6065
  #
6097
- # @param management_unit_id The ID of the management unit.
6066
+ # @param management_unit_id (Deprecated/gone): The ID of the management unit.
6098
6067
  # @param run_id The ID of the schedule run
6099
6068
  # @param [Hash] opts the optional parameters
6100
6069
  # @option opts [UpdateSchedulingRunRequest] :body body
6101
- # @return [Array<(RescheduleResult, Fixnum, Hash)>] RescheduleResult data, response status code and response headers
6070
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
6102
6071
  def patch_workforcemanagement_managementunit_scheduling_run_with_http_info(management_unit_id, run_id, opts = {})
6103
6072
  if @api_client.config.debugging
6104
6073
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.patch_workforcemanagement_managementunit_scheduling_run ..."
@@ -6155,33 +6124,30 @@ module PureCloud
6155
6124
  :query_params => query_params,
6156
6125
  :form_params => form_params,
6157
6126
  :body => post_body,
6158
- :auth_names => auth_names,
6159
- :return_type => 'RescheduleResult')
6127
+ :auth_names => auth_names)
6160
6128
  if @api_client.config.debugging
6161
6129
  @api_client.config.logger.debug "API called: WorkforceManagementApi#patch_workforcemanagement_managementunit_scheduling_run\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
6162
6130
  end
6163
6131
  return data, status_code, headers
6164
6132
  end
6165
6133
 
6166
- # Update a service goal group
6134
+ # Gone. Replaced with service goal templates and planning groups under business units
6167
6135
  #
6168
- # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
6169
- # @param service_goal_group_id The ID of the service goal group to update
6136
+ # @param management_unit_id (Deprecated/gone): The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
6137
+ # @param service_goal_group_id Gone. The ID of the service goal group to update
6170
6138
  # @param [Hash] opts the optional parameters
6171
- # @option opts [ServiceGoalGroup] :body body
6172
- # @return [ServiceGoalGroup]
6139
+ # @return [nil]
6173
6140
  def patch_workforcemanagement_managementunit_servicegoalgroup(management_unit_id, service_goal_group_id, opts = {})
6174
- data, _status_code, _headers = patch_workforcemanagement_managementunit_servicegoalgroup_with_http_info(management_unit_id, service_goal_group_id, opts)
6175
- return data
6141
+ patch_workforcemanagement_managementunit_servicegoalgroup_with_http_info(management_unit_id, service_goal_group_id, opts)
6142
+ return nil
6176
6143
  end
6177
6144
 
6178
- # Update a service goal group
6145
+ # Gone. Replaced with service goal templates and planning groups under business units
6179
6146
  #
6180
- # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
6181
- # @param service_goal_group_id The ID of the service goal group to update
6147
+ # @param management_unit_id (Deprecated/gone): The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
6148
+ # @param service_goal_group_id Gone. The ID of the service goal group to update
6182
6149
  # @param [Hash] opts the optional parameters
6183
- # @option opts [ServiceGoalGroup] :body body
6184
- # @return [Array<(ServiceGoalGroup, Fixnum, Hash)>] ServiceGoalGroup data, response status code and response headers
6150
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
6185
6151
  def patch_workforcemanagement_managementunit_servicegoalgroup_with_http_info(management_unit_id, service_goal_group_id, opts = {})
6186
6152
  if @api_client.config.debugging
6187
6153
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.patch_workforcemanagement_managementunit_servicegoalgroup ..."
@@ -6203,12 +6169,6 @@ module PureCloud
6203
6169
 
6204
6170
 
6205
6171
 
6206
-
6207
-
6208
-
6209
-
6210
-
6211
-
6212
6172
  # resource path
6213
6173
  local_var_path = "/api/v2/workforcemanagement/managementunits/{managementUnitId}/servicegoalgroups/{serviceGoalGroupId}".sub('{format}','json').sub('{' + 'managementUnitId' + '}', management_unit_id.to_s).sub('{' + 'serviceGoalGroupId' + '}', service_goal_group_id.to_s)
6214
6174
 
@@ -6230,7 +6190,7 @@ module PureCloud
6230
6190
  form_params = {}
6231
6191
 
6232
6192
  # http body (model)
6233
- post_body = @api_client.object_to_http_body(opts[:'body'])
6193
+ post_body = nil
6234
6194
 
6235
6195
  auth_names = ['PureCloud OAuth']
6236
6196
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
@@ -6238,31 +6198,28 @@ module PureCloud
6238
6198
  :query_params => query_params,
6239
6199
  :form_params => form_params,
6240
6200
  :body => post_body,
6241
- :auth_names => auth_names,
6242
- :return_type => 'ServiceGoalGroup')
6201
+ :auth_names => auth_names)
6243
6202
  if @api_client.config.debugging
6244
6203
  @api_client.config.logger.debug "API called: WorkforceManagementApi#patch_workforcemanagement_managementunit_servicegoalgroup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
6245
6204
  end
6246
6205
  return data, status_code, headers
6247
6206
  end
6248
6207
 
6249
- # Update the settings for the requested management unit
6208
+ # Gone. Update settings by PATCHing the management unit
6250
6209
  #
6251
6210
  # @param mu_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
6252
6211
  # @param [Hash] opts the optional parameters
6253
- # @option opts [ManagementUnitSettingsRequest] :body config
6254
- # @return [ManagementUnitSettingsResponse]
6212
+ # @return [nil]
6255
6213
  def patch_workforcemanagement_managementunit_settings(mu_id, opts = {})
6256
- data, _status_code, _headers = patch_workforcemanagement_managementunit_settings_with_http_info(mu_id, opts)
6257
- return data
6214
+ patch_workforcemanagement_managementunit_settings_with_http_info(mu_id, opts)
6215
+ return nil
6258
6216
  end
6259
6217
 
6260
- # Update the settings for the requested management unit
6218
+ # Gone. Update settings by PATCHing the management unit
6261
6219
  #
6262
6220
  # @param mu_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
6263
6221
  # @param [Hash] opts the optional parameters
6264
- # @option opts [ManagementUnitSettingsRequest] :body config
6265
- # @return [Array<(ManagementUnitSettingsResponse, Fixnum, Hash)>] ManagementUnitSettingsResponse data, response status code and response headers
6222
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
6266
6223
  def patch_workforcemanagement_managementunit_settings_with_http_info(mu_id, opts = {})
6267
6224
  if @api_client.config.debugging
6268
6225
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.patch_workforcemanagement_managementunit_settings ..."
@@ -6276,12 +6233,6 @@ module PureCloud
6276
6233
 
6277
6234
 
6278
6235
 
6279
-
6280
-
6281
-
6282
-
6283
-
6284
-
6285
6236
  # resource path
6286
6237
  local_var_path = "/api/v2/workforcemanagement/managementunits/{muId}/settings".sub('{format}','json').sub('{' + 'muId' + '}', mu_id.to_s)
6287
6238
 
@@ -6303,7 +6254,7 @@ module PureCloud
6303
6254
  form_params = {}
6304
6255
 
6305
6256
  # http body (model)
6306
- post_body = @api_client.object_to_http_body(opts[:'body'])
6257
+ post_body = nil
6307
6258
 
6308
6259
  auth_names = ['PureCloud OAuth']
6309
6260
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
@@ -6311,8 +6262,7 @@ module PureCloud
6311
6262
  :query_params => query_params,
6312
6263
  :form_params => form_params,
6313
6264
  :body => post_body,
6314
- :auth_names => auth_names,
6315
- :return_type => 'ManagementUnitSettingsResponse')
6265
+ :auth_names => auth_names)
6316
6266
  if @api_client.config.debugging
6317
6267
  @api_client.config.logger.debug "API called: WorkforceManagementApi#patch_workforcemanagement_managementunit_settings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
6318
6268
  end
@@ -6412,31 +6362,25 @@ module PureCloud
6412
6362
  return data, status_code, headers
6413
6363
  end
6414
6364
 
6415
- # Update a week schedule
6365
+ # Gone. Scheduling has moved under business units
6416
6366
  #
6417
6367
  # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
6418
6368
  # @param week_id First day of schedule week in yyyy-MM-dd format.
6419
- # @param schedule_id The ID of the schedule to update. Use partial uploads of user schedules if activity count in schedule is greater than 17500
6369
+ # @param schedule_id Gone/deprecated. The ID of the schedule to update. Use partial uploads of user schedules if activity count in schedule is greater than 17500
6420
6370
  # @param [Hash] opts the optional parameters
6421
- # @option opts [BOOLEAN] :force_async Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
6422
- # @option opts [BOOLEAN] :force_download_service Force the result of this operation to be sent via download service. For testing/app development purposes
6423
- # @option opts [UpdateWeekScheduleRequest] :body body
6424
- # @return [AsyncWeekScheduleResponse]
6371
+ # @return [nil]
6425
6372
  def patch_workforcemanagement_managementunit_week_schedule(management_unit_id, week_id, schedule_id, opts = {})
6426
- data, _status_code, _headers = patch_workforcemanagement_managementunit_week_schedule_with_http_info(management_unit_id, week_id, schedule_id, opts)
6427
- return data
6373
+ patch_workforcemanagement_managementunit_week_schedule_with_http_info(management_unit_id, week_id, schedule_id, opts)
6374
+ return nil
6428
6375
  end
6429
6376
 
6430
- # Update a week schedule
6377
+ # Gone. Scheduling has moved under business units
6431
6378
  #
6432
6379
  # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
6433
6380
  # @param week_id First day of schedule week in yyyy-MM-dd format.
6434
- # @param schedule_id The ID of the schedule to update. Use partial uploads of user schedules if activity count in schedule is greater than 17500
6381
+ # @param schedule_id Gone/deprecated. The ID of the schedule to update. Use partial uploads of user schedules if activity count in schedule is greater than 17500
6435
6382
  # @param [Hash] opts the optional parameters
6436
- # @option opts [BOOLEAN] :force_async Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
6437
- # @option opts [BOOLEAN] :force_download_service Force the result of this operation to be sent via download service. For testing/app development purposes
6438
- # @option opts [UpdateWeekScheduleRequest] :body body
6439
- # @return [Array<(AsyncWeekScheduleResponse, Fixnum, Hash)>] AsyncWeekScheduleResponse data, response status code and response headers
6383
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
6440
6384
  def patch_workforcemanagement_managementunit_week_schedule_with_http_info(management_unit_id, week_id, schedule_id, opts = {})
6441
6385
  if @api_client.config.debugging
6442
6386
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.patch_workforcemanagement_managementunit_week_schedule ..."
@@ -6463,24 +6407,6 @@ module PureCloud
6463
6407
  fail ArgumentError, "Missing the required parameter 'schedule_id' when calling WorkforceManagementApi.patch_workforcemanagement_managementunit_week_schedule" if schedule_id.nil?
6464
6408
 
6465
6409
 
6466
-
6467
-
6468
-
6469
-
6470
-
6471
-
6472
-
6473
-
6474
-
6475
-
6476
-
6477
-
6478
-
6479
-
6480
-
6481
-
6482
-
6483
-
6484
6410
 
6485
6411
 
6486
6412
 
@@ -6489,8 +6415,6 @@ module PureCloud
6489
6415
 
6490
6416
  # query parameters
6491
6417
  query_params = {}
6492
- query_params[:'forceAsync'] = opts[:'force_async'] if opts[:'force_async']
6493
- query_params[:'forceDownloadService'] = opts[:'force_download_service'] if opts[:'force_download_service']
6494
6418
 
6495
6419
  # header parameters
6496
6420
  header_params = {}
@@ -6507,7 +6431,7 @@ module PureCloud
6507
6431
  form_params = {}
6508
6432
 
6509
6433
  # http body (model)
6510
- post_body = @api_client.object_to_http_body(opts[:'body'])
6434
+ post_body = nil
6511
6435
 
6512
6436
  auth_names = ['PureCloud OAuth']
6513
6437
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
@@ -6515,8 +6439,7 @@ module PureCloud
6515
6439
  :query_params => query_params,
6516
6440
  :form_params => form_params,
6517
6441
  :body => post_body,
6518
- :auth_names => auth_names,
6519
- :return_type => 'AsyncWeekScheduleResponse')
6442
+ :auth_names => auth_names)
6520
6443
  if @api_client.config.debugging
6521
6444
  @api_client.config.logger.debug "API called: WorkforceManagementApi#patch_workforcemanagement_managementunit_week_schedule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
6522
6445
  end
@@ -8026,23 +7949,21 @@ module PureCloud
8026
7949
  return data, status_code, headers
8027
7950
  end
8028
7951
 
8029
- # Create a new activity code
7952
+ # Deprecated/Gone: Use the new business unit activity code resources
8030
7953
  #
8031
7954
  # @param mu_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
8032
7955
  # @param [Hash] opts the optional parameters
8033
- # @option opts [CreateActivityCodeRequest] :body body
8034
- # @return [ActivityCode]
7956
+ # @return [nil]
8035
7957
  def post_workforcemanagement_managementunit_activitycodes(mu_id, opts = {})
8036
- data, _status_code, _headers = post_workforcemanagement_managementunit_activitycodes_with_http_info(mu_id, opts)
8037
- return data
7958
+ post_workforcemanagement_managementunit_activitycodes_with_http_info(mu_id, opts)
7959
+ return nil
8038
7960
  end
8039
7961
 
8040
- # Create a new activity code
7962
+ # Deprecated/Gone: Use the new business unit activity code resources
8041
7963
  #
8042
7964
  # @param mu_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
8043
7965
  # @param [Hash] opts the optional parameters
8044
- # @option opts [CreateActivityCodeRequest] :body body
8045
- # @return [Array<(ActivityCode, Fixnum, Hash)>] ActivityCode data, response status code and response headers
7966
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
8046
7967
  def post_workforcemanagement_managementunit_activitycodes_with_http_info(mu_id, opts = {})
8047
7968
  if @api_client.config.debugging
8048
7969
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_activitycodes ..."
@@ -8056,12 +7977,6 @@ module PureCloud
8056
7977
 
8057
7978
 
8058
7979
 
8059
-
8060
-
8061
-
8062
-
8063
-
8064
-
8065
7980
  # resource path
8066
7981
  local_var_path = "/api/v2/workforcemanagement/managementunits/{muId}/activitycodes".sub('{format}','json').sub('{' + 'muId' + '}', mu_id.to_s)
8067
7982
 
@@ -8083,7 +7998,7 @@ module PureCloud
8083
7998
  form_params = {}
8084
7999
 
8085
8000
  # http body (model)
8086
- post_body = @api_client.object_to_http_body(opts[:'body'])
8001
+ post_body = nil
8087
8002
 
8088
8003
  auth_names = ['PureCloud OAuth']
8089
8004
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -8091,8 +8006,7 @@ module PureCloud
8091
8006
  :query_params => query_params,
8092
8007
  :form_params => form_params,
8093
8008
  :body => post_body,
8094
- :auth_names => auth_names,
8095
- :return_type => 'ActivityCode')
8009
+ :auth_names => auth_names)
8096
8010
  if @api_client.config.debugging
8097
8011
  @api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_activitycodes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
8098
8012
  end
@@ -8263,23 +8177,21 @@ module PureCloud
8263
8177
  return data, status_code, headers
8264
8178
  end
8265
8179
 
8266
- # Get intraday data for the given date for the requested queueIds
8180
+ # Gone. Moved under business units
8267
8181
  #
8268
8182
  # @param mu_id The management unit ID of the management unit
8269
8183
  # @param [Hash] opts the optional parameters
8270
- # @option opts [IntradayQueryDataCommand] :body body
8271
- # @return [IntradayResponse]
8184
+ # @return [nil]
8272
8185
  def post_workforcemanagement_managementunit_intraday(mu_id, opts = {})
8273
- data, _status_code, _headers = post_workforcemanagement_managementunit_intraday_with_http_info(mu_id, opts)
8274
- return data
8186
+ post_workforcemanagement_managementunit_intraday_with_http_info(mu_id, opts)
8187
+ return nil
8275
8188
  end
8276
8189
 
8277
- # Get intraday data for the given date for the requested queueIds
8190
+ # Gone. Moved under business units
8278
8191
  #
8279
8192
  # @param mu_id The management unit ID of the management unit
8280
8193
  # @param [Hash] opts the optional parameters
8281
- # @option opts [IntradayQueryDataCommand] :body body
8282
- # @return [Array<(IntradayResponse, Fixnum, Hash)>] IntradayResponse data, response status code and response headers
8194
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
8283
8195
  def post_workforcemanagement_managementunit_intraday_with_http_info(mu_id, opts = {})
8284
8196
  if @api_client.config.debugging
8285
8197
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_intraday ..."
@@ -8293,12 +8205,6 @@ module PureCloud
8293
8205
 
8294
8206
 
8295
8207
 
8296
-
8297
-
8298
-
8299
-
8300
-
8301
-
8302
8208
  # resource path
8303
8209
  local_var_path = "/api/v2/workforcemanagement/managementunits/{muId}/intraday".sub('{format}','json').sub('{' + 'muId' + '}', mu_id.to_s)
8304
8210
 
@@ -8320,7 +8226,7 @@ module PureCloud
8320
8226
  form_params = {}
8321
8227
 
8322
8228
  # http body (model)
8323
- post_body = @api_client.object_to_http_body(opts[:'body'])
8229
+ post_body = nil
8324
8230
 
8325
8231
  auth_names = ['PureCloud OAuth']
8326
8232
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -8328,8 +8234,7 @@ module PureCloud
8328
8234
  :query_params => query_params,
8329
8235
  :form_params => form_params,
8330
8236
  :body => post_body,
8331
- :auth_names => auth_names,
8332
- :return_type => 'IntradayResponse')
8237
+ :auth_names => auth_names)
8333
8238
  if @api_client.config.debugging
8334
8239
  @api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_intraday\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
8335
8240
  end
@@ -8482,23 +8387,21 @@ module PureCloud
8482
8387
  return data, status_code, headers
8483
8388
  end
8484
8389
 
8485
- # Create a new service goal group
8390
+ # Gone. Replaced with service goal templates and planning groups under business units
8486
8391
  #
8487
- # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
8392
+ # @param management_unit_id (Deprecated/gone): The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
8488
8393
  # @param [Hash] opts the optional parameters
8489
- # @option opts [CreateServiceGoalGroupRequest] :body body
8490
- # @return [ServiceGoalGroup]
8394
+ # @return [nil]
8491
8395
  def post_workforcemanagement_managementunit_servicegoalgroups(management_unit_id, opts = {})
8492
- data, _status_code, _headers = post_workforcemanagement_managementunit_servicegoalgroups_with_http_info(management_unit_id, opts)
8493
- return data
8396
+ post_workforcemanagement_managementunit_servicegoalgroups_with_http_info(management_unit_id, opts)
8397
+ return nil
8494
8398
  end
8495
8399
 
8496
- # Create a new service goal group
8400
+ # Gone. Replaced with service goal templates and planning groups under business units
8497
8401
  #
8498
- # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
8402
+ # @param management_unit_id (Deprecated/gone): The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
8499
8403
  # @param [Hash] opts the optional parameters
8500
- # @option opts [CreateServiceGoalGroupRequest] :body body
8501
- # @return [Array<(ServiceGoalGroup, Fixnum, Hash)>] ServiceGoalGroup data, response status code and response headers
8404
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
8502
8405
  def post_workforcemanagement_managementunit_servicegoalgroups_with_http_info(management_unit_id, opts = {})
8503
8406
  if @api_client.config.debugging
8504
8407
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_servicegoalgroups ..."
@@ -8512,12 +8415,6 @@ module PureCloud
8512
8415
 
8513
8416
 
8514
8417
 
8515
-
8516
-
8517
-
8518
-
8519
-
8520
-
8521
8418
  # resource path
8522
8419
  local_var_path = "/api/v2/workforcemanagement/managementunits/{managementUnitId}/servicegoalgroups".sub('{format}','json').sub('{' + 'managementUnitId' + '}', management_unit_id.to_s)
8523
8420
 
@@ -8539,7 +8436,7 @@ module PureCloud
8539
8436
  form_params = {}
8540
8437
 
8541
8438
  # http body (model)
8542
- post_body = @api_client.object_to_http_body(opts[:'body'])
8439
+ post_body = nil
8543
8440
 
8544
8441
  auth_names = ['PureCloud OAuth']
8545
8442
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -8547,8 +8444,7 @@ module PureCloud
8547
8444
  :query_params => query_params,
8548
8445
  :form_params => form_params,
8549
8446
  :body => post_body,
8550
- :auth_names => auth_names,
8551
- :return_type => 'ServiceGoalGroup')
8447
+ :auth_names => auth_names)
8552
8448
  if @api_client.config.debugging
8553
8449
  @api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_servicegoalgroups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
8554
8450
  end
@@ -8628,23 +8524,23 @@ module PureCloud
8628
8524
  return data, status_code, headers
8629
8525
  end
8630
8526
 
8631
- # Gets a list of time off requests from lookup ids
8527
+ # Gone. All data is now returned in the query route
8632
8528
  #
8633
8529
  # @param mu_id The muId of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
8634
8530
  # @param [Hash] opts the optional parameters
8635
- # @option opts [TimeOffRequestLookupList] :body body
8636
- # @return [TimeOffRequestEntityList]
8531
+ # @option opts [TimeOffRequestListing] :body body
8532
+ # @return [nil]
8637
8533
  def post_workforcemanagement_managementunit_timeoffrequests_fetchdetails(mu_id, opts = {})
8638
- data, _status_code, _headers = post_workforcemanagement_managementunit_timeoffrequests_fetchdetails_with_http_info(mu_id, opts)
8639
- return data
8534
+ post_workforcemanagement_managementunit_timeoffrequests_fetchdetails_with_http_info(mu_id, opts)
8535
+ return nil
8640
8536
  end
8641
8537
 
8642
- # Gets a list of time off requests from lookup ids
8538
+ # Gone. All data is now returned in the query route
8643
8539
  #
8644
8540
  # @param mu_id The muId of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
8645
8541
  # @param [Hash] opts the optional parameters
8646
- # @option opts [TimeOffRequestLookupList] :body body
8647
- # @return [Array<(TimeOffRequestEntityList, Fixnum, Hash)>] TimeOffRequestEntityList data, response status code and response headers
8542
+ # @option opts [TimeOffRequestListing] :body body
8543
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
8648
8544
  def post_workforcemanagement_managementunit_timeoffrequests_fetchdetails_with_http_info(mu_id, opts = {})
8649
8545
  if @api_client.config.debugging
8650
8546
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_timeoffrequests_fetchdetails ..."
@@ -8693,8 +8589,7 @@ module PureCloud
8693
8589
  :query_params => query_params,
8694
8590
  :form_params => form_params,
8695
8591
  :body => post_body,
8696
- :auth_names => auth_names,
8697
- :return_type => 'TimeOffRequestEntityList')
8592
+ :auth_names => auth_names)
8698
8593
  if @api_client.config.debugging
8699
8594
  @api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_timeoffrequests_fetchdetails\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
8700
8595
  end
@@ -8706,7 +8601,7 @@ module PureCloud
8706
8601
  # @param mu_id The muId of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
8707
8602
  # @param [Hash] opts the optional parameters
8708
8603
  # @option opts [TimeOffRequestQueryBody] :body body
8709
- # @return [TimeOffRequestLookupList]
8604
+ # @return [TimeOffRequestListing]
8710
8605
  def post_workforcemanagement_managementunit_timeoffrequests_query(mu_id, opts = {})
8711
8606
  data, _status_code, _headers = post_workforcemanagement_managementunit_timeoffrequests_query_with_http_info(mu_id, opts)
8712
8607
  return data
@@ -8717,7 +8612,7 @@ module PureCloud
8717
8612
  # @param mu_id The muId of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
8718
8613
  # @param [Hash] opts the optional parameters
8719
8614
  # @option opts [TimeOffRequestQueryBody] :body body
8720
- # @return [Array<(TimeOffRequestLookupList, Fixnum, Hash)>] TimeOffRequestLookupList data, response status code and response headers
8615
+ # @return [Array<(TimeOffRequestListing, Fixnum, Hash)>] TimeOffRequestListing data, response status code and response headers
8721
8616
  def post_workforcemanagement_managementunit_timeoffrequests_query_with_http_info(mu_id, opts = {})
8722
8617
  if @api_client.config.debugging
8723
8618
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_timeoffrequests_query ..."
@@ -8767,38 +8662,32 @@ module PureCloud
8767
8662
  :form_params => form_params,
8768
8663
  :body => post_body,
8769
8664
  :auth_names => auth_names,
8770
- :return_type => 'TimeOffRequestLookupList')
8665
+ :return_type => 'TimeOffRequestListing')
8771
8666
  if @api_client.config.debugging
8772
8667
  @api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_timeoffrequests_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
8773
8668
  end
8774
8669
  return data, status_code, headers
8775
8670
  end
8776
8671
 
8777
- # Copy a week schedule
8672
+ # Gone. Scheduling has moved under business units
8778
8673
  #
8779
8674
  # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
8780
8675
  # @param week_id First day of schedule week in yyyy-MM-dd format.
8781
- # @param schedule_id The ID of the schedule to copy from
8676
+ # @param schedule_id Gone/deprecated. The ID of the schedule to copy from
8782
8677
  # @param [Hash] opts the optional parameters
8783
- # @option opts [BOOLEAN] :force_async Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
8784
- # @option opts [BOOLEAN] :force_download_service Force the result of this operation to be sent via download service. For testing/app development purposes
8785
- # @option opts [CopyWeekScheduleRequest] :body body
8786
- # @return [AsyncWeekScheduleResponse]
8678
+ # @return [nil]
8787
8679
  def post_workforcemanagement_managementunit_week_schedule_copy(management_unit_id, week_id, schedule_id, opts = {})
8788
- data, _status_code, _headers = post_workforcemanagement_managementunit_week_schedule_copy_with_http_info(management_unit_id, week_id, schedule_id, opts)
8789
- return data
8680
+ post_workforcemanagement_managementunit_week_schedule_copy_with_http_info(management_unit_id, week_id, schedule_id, opts)
8681
+ return nil
8790
8682
  end
8791
8683
 
8792
- # Copy a week schedule
8684
+ # Gone. Scheduling has moved under business units
8793
8685
  #
8794
8686
  # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
8795
8687
  # @param week_id First day of schedule week in yyyy-MM-dd format.
8796
- # @param schedule_id The ID of the schedule to copy from
8688
+ # @param schedule_id Gone/deprecated. The ID of the schedule to copy from
8797
8689
  # @param [Hash] opts the optional parameters
8798
- # @option opts [BOOLEAN] :force_async Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
8799
- # @option opts [BOOLEAN] :force_download_service Force the result of this operation to be sent via download service. For testing/app development purposes
8800
- # @option opts [CopyWeekScheduleRequest] :body body
8801
- # @return [Array<(AsyncWeekScheduleResponse, Fixnum, Hash)>] AsyncWeekScheduleResponse data, response status code and response headers
8690
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
8802
8691
  def post_workforcemanagement_managementunit_week_schedule_copy_with_http_info(management_unit_id, week_id, schedule_id, opts = {})
8803
8692
  if @api_client.config.debugging
8804
8693
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_week_schedule_copy ..."
@@ -8825,24 +8714,6 @@ module PureCloud
8825
8714
  fail ArgumentError, "Missing the required parameter 'schedule_id' when calling WorkforceManagementApi.post_workforcemanagement_managementunit_week_schedule_copy" if schedule_id.nil?
8826
8715
 
8827
8716
 
8828
-
8829
-
8830
-
8831
-
8832
-
8833
-
8834
-
8835
-
8836
-
8837
-
8838
-
8839
-
8840
-
8841
-
8842
-
8843
-
8844
-
8845
-
8846
8717
 
8847
8718
 
8848
8719
 
@@ -8851,8 +8722,6 @@ module PureCloud
8851
8722
 
8852
8723
  # query parameters
8853
8724
  query_params = {}
8854
- query_params[:'forceAsync'] = opts[:'force_async'] if opts[:'force_async']
8855
- query_params[:'forceDownloadService'] = opts[:'force_download_service'] if opts[:'force_download_service']
8856
8725
 
8857
8726
  # header parameters
8858
8727
  header_params = {}
@@ -8869,7 +8738,7 @@ module PureCloud
8869
8738
  form_params = {}
8870
8739
 
8871
8740
  # http body (model)
8872
- post_body = @api_client.object_to_http_body(opts[:'body'])
8741
+ post_body = nil
8873
8742
 
8874
8743
  auth_names = ['PureCloud OAuth']
8875
8744
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -8877,35 +8746,32 @@ module PureCloud
8877
8746
  :query_params => query_params,
8878
8747
  :form_params => form_params,
8879
8748
  :body => post_body,
8880
- :auth_names => auth_names,
8881
- :return_type => 'AsyncWeekScheduleResponse')
8749
+ :auth_names => auth_names)
8882
8750
  if @api_client.config.debugging
8883
8751
  @api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_week_schedule_copy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
8884
8752
  end
8885
8753
  return data, status_code, headers
8886
8754
  end
8887
8755
 
8888
- # Start a scheduling run to compute the reschedule. When the scheduling run finishes, a client can get the reschedule changes and then the client can apply them to the schedule, save the schedule, and mark the scheduling run as applied
8756
+ # Gone. Scheduling has moved under business units
8889
8757
  #
8890
8758
  # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
8891
8759
  # @param week_id First day of schedule week in yyyy-MM-dd format.
8892
- # @param schedule_id The ID of the schedule to re-optimize
8760
+ # @param schedule_id Gone/deprecated. The ID of the schedule to re-optimize
8893
8761
  # @param [Hash] opts the optional parameters
8894
- # @option opts [RescheduleRequest] :body body
8895
- # @return [AsyncWeekScheduleResponse]
8762
+ # @return [nil]
8896
8763
  def post_workforcemanagement_managementunit_week_schedule_reschedule(management_unit_id, week_id, schedule_id, opts = {})
8897
- data, _status_code, _headers = post_workforcemanagement_managementunit_week_schedule_reschedule_with_http_info(management_unit_id, week_id, schedule_id, opts)
8898
- return data
8764
+ post_workforcemanagement_managementunit_week_schedule_reschedule_with_http_info(management_unit_id, week_id, schedule_id, opts)
8765
+ return nil
8899
8766
  end
8900
8767
 
8901
- # Start a scheduling run to compute the reschedule. When the scheduling run finishes, a client can get the reschedule changes and then the client can apply them to the schedule, save the schedule, and mark the scheduling run as applied
8768
+ # Gone. Scheduling has moved under business units
8902
8769
  #
8903
8770
  # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
8904
8771
  # @param week_id First day of schedule week in yyyy-MM-dd format.
8905
- # @param schedule_id The ID of the schedule to re-optimize
8772
+ # @param schedule_id Gone/deprecated. The ID of the schedule to re-optimize
8906
8773
  # @param [Hash] opts the optional parameters
8907
- # @option opts [RescheduleRequest] :body body
8908
- # @return [Array<(AsyncWeekScheduleResponse, Fixnum, Hash)>] AsyncWeekScheduleResponse data, response status code and response headers
8774
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
8909
8775
  def post_workforcemanagement_managementunit_week_schedule_reschedule_with_http_info(management_unit_id, week_id, schedule_id, opts = {})
8910
8776
  if @api_client.config.debugging
8911
8777
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_week_schedule_reschedule ..."
@@ -8935,12 +8801,6 @@ module PureCloud
8935
8801
 
8936
8802
 
8937
8803
 
8938
-
8939
-
8940
-
8941
-
8942
-
8943
-
8944
8804
  # resource path
8945
8805
  local_var_path = "/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekId}/schedules/{scheduleId}/reschedule".sub('{format}','json').sub('{' + 'managementUnitId' + '}', management_unit_id.to_s).sub('{' + 'weekId' + '}', week_id.to_s).sub('{' + 'scheduleId' + '}', schedule_id.to_s)
8946
8806
 
@@ -8962,7 +8822,7 @@ module PureCloud
8962
8822
  form_params = {}
8963
8823
 
8964
8824
  # http body (model)
8965
- post_body = @api_client.object_to_http_body(opts[:'body'])
8825
+ post_body = nil
8966
8826
 
8967
8827
  auth_names = ['PureCloud OAuth']
8968
8828
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -8970,37 +8830,30 @@ module PureCloud
8970
8830
  :query_params => query_params,
8971
8831
  :form_params => form_params,
8972
8832
  :body => post_body,
8973
- :auth_names => auth_names,
8974
- :return_type => 'AsyncWeekScheduleResponse')
8833
+ :auth_names => auth_names)
8975
8834
  if @api_client.config.debugging
8976
8835
  @api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_week_schedule_reschedule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
8977
8836
  end
8978
8837
  return data, status_code, headers
8979
8838
  end
8980
8839
 
8981
- # Add a schedule for a week in management unit using imported data. Use partial uploads of user schedules if activity count in schedule is greater than 17500
8840
+ # Gone. Scheduling has moved under business units
8982
8841
  #
8983
8842
  # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
8984
8843
  # @param week_id First day of schedule week in yyyy-MM-dd format.
8985
8844
  # @param [Hash] opts the optional parameters
8986
- # @option opts [BOOLEAN] :force_async Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
8987
- # @option opts [BOOLEAN] :force_download_service Force the result of this operation to be sent via download service. For testing/app development purposes
8988
- # @option opts [ImportWeekScheduleRequest] :body body
8989
- # @return [AsyncWeekScheduleResponse]
8845
+ # @return [nil]
8990
8846
  def post_workforcemanagement_managementunit_week_schedules(management_unit_id, week_id, opts = {})
8991
- data, _status_code, _headers = post_workforcemanagement_managementunit_week_schedules_with_http_info(management_unit_id, week_id, opts)
8992
- return data
8847
+ post_workforcemanagement_managementunit_week_schedules_with_http_info(management_unit_id, week_id, opts)
8848
+ return nil
8993
8849
  end
8994
8850
 
8995
- # Add a schedule for a week in management unit using imported data. Use partial uploads of user schedules if activity count in schedule is greater than 17500
8851
+ # Gone. Scheduling has moved under business units
8996
8852
  #
8997
8853
  # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
8998
8854
  # @param week_id First day of schedule week in yyyy-MM-dd format.
8999
8855
  # @param [Hash] opts the optional parameters
9000
- # @option opts [BOOLEAN] :force_async Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
9001
- # @option opts [BOOLEAN] :force_download_service Force the result of this operation to be sent via download service. For testing/app development purposes
9002
- # @option opts [ImportWeekScheduleRequest] :body body
9003
- # @return [Array<(AsyncWeekScheduleResponse, Fixnum, Hash)>] AsyncWeekScheduleResponse data, response status code and response headers
8856
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
9004
8857
  def post_workforcemanagement_managementunit_week_schedules_with_http_info(management_unit_id, week_id, opts = {})
9005
8858
  if @api_client.config.debugging
9006
8859
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_week_schedules ..."
@@ -9019,24 +8872,6 @@ module PureCloud
9019
8872
  fail ArgumentError, "Missing the required parameter 'week_id' when calling WorkforceManagementApi.post_workforcemanagement_managementunit_week_schedules" if week_id.nil?
9020
8873
 
9021
8874
 
9022
-
9023
-
9024
-
9025
-
9026
-
9027
-
9028
-
9029
-
9030
-
9031
-
9032
-
9033
-
9034
-
9035
-
9036
-
9037
-
9038
-
9039
-
9040
8875
 
9041
8876
 
9042
8877
 
@@ -9045,8 +8880,6 @@ module PureCloud
9045
8880
 
9046
8881
  # query parameters
9047
8882
  query_params = {}
9048
- query_params[:'forceAsync'] = opts[:'force_async'] if opts[:'force_async']
9049
- query_params[:'forceDownloadService'] = opts[:'force_download_service'] if opts[:'force_download_service']
9050
8883
 
9051
8884
  # header parameters
9052
8885
  header_params = {}
@@ -9063,7 +8896,7 @@ module PureCloud
9063
8896
  form_params = {}
9064
8897
 
9065
8898
  # http body (model)
9066
- post_body = @api_client.object_to_http_body(opts[:'body'])
8899
+ post_body = nil
9067
8900
 
9068
8901
  auth_names = ['PureCloud OAuth']
9069
8902
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -9071,33 +8904,30 @@ module PureCloud
9071
8904
  :query_params => query_params,
9072
8905
  :form_params => form_params,
9073
8906
  :body => post_body,
9074
- :auth_names => auth_names,
9075
- :return_type => 'AsyncWeekScheduleResponse')
8907
+ :auth_names => auth_names)
9076
8908
  if @api_client.config.debugging
9077
8909
  @api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_week_schedules\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
9078
8910
  end
9079
8911
  return data, status_code, headers
9080
8912
  end
9081
8913
 
9082
- # Generate a week schedule
8914
+ # Gone. Scheduling has moved under business units
9083
8915
  #
9084
8916
  # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
9085
8917
  # @param week_id First day of schedule week in yyyy-MM-dd format.
9086
8918
  # @param [Hash] opts the optional parameters
9087
- # @option opts [GenerateWeekScheduleRequest] :body body
9088
- # @return [GenerateWeekScheduleResponse]
8919
+ # @return [nil]
9089
8920
  def post_workforcemanagement_managementunit_week_schedules_generate(management_unit_id, week_id, opts = {})
9090
- data, _status_code, _headers = post_workforcemanagement_managementunit_week_schedules_generate_with_http_info(management_unit_id, week_id, opts)
9091
- return data
8921
+ post_workforcemanagement_managementunit_week_schedules_generate_with_http_info(management_unit_id, week_id, opts)
8922
+ return nil
9092
8923
  end
9093
8924
 
9094
- # Generate a week schedule
8925
+ # Gone. Scheduling has moved under business units
9095
8926
  #
9096
8927
  # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
9097
8928
  # @param week_id First day of schedule week in yyyy-MM-dd format.
9098
8929
  # @param [Hash] opts the optional parameters
9099
- # @option opts [GenerateWeekScheduleRequest] :body body
9100
- # @return [Array<(GenerateWeekScheduleResponse, Fixnum, Hash)>] GenerateWeekScheduleResponse data, response status code and response headers
8930
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
9101
8931
  def post_workforcemanagement_managementunit_week_schedules_generate_with_http_info(management_unit_id, week_id, opts = {})
9102
8932
  if @api_client.config.debugging
9103
8933
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_week_schedules_generate ..."
@@ -9119,12 +8949,6 @@ module PureCloud
9119
8949
 
9120
8950
 
9121
8951
 
9122
-
9123
-
9124
-
9125
-
9126
-
9127
-
9128
8952
  # resource path
9129
8953
  local_var_path = "/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekId}/schedules/generate".sub('{format}','json').sub('{' + 'managementUnitId' + '}', management_unit_id.to_s).sub('{' + 'weekId' + '}', week_id.to_s)
9130
8954
 
@@ -9146,7 +8970,7 @@ module PureCloud
9146
8970
  form_params = {}
9147
8971
 
9148
8972
  # http body (model)
9149
- post_body = @api_client.object_to_http_body(opts[:'body'])
8973
+ post_body = nil
9150
8974
 
9151
8975
  auth_names = ['PureCloud OAuth']
9152
8976
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -9154,33 +8978,30 @@ module PureCloud
9154
8978
  :query_params => query_params,
9155
8979
  :form_params => form_params,
9156
8980
  :body => post_body,
9157
- :auth_names => auth_names,
9158
- :return_type => 'GenerateWeekScheduleResponse')
8981
+ :auth_names => auth_names)
9159
8982
  if @api_client.config.debugging
9160
8983
  @api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_week_schedules_generate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
9161
8984
  end
9162
8985
  return data, status_code, headers
9163
8986
  end
9164
8987
 
9165
- # Partial upload of user schedules where activity count is greater than 17500
8988
+ # Gone. Scheduling has moved under business units
9166
8989
  #
9167
8990
  # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
9168
8991
  # @param week_id First day of schedule week in yyyy-MM-dd format.
9169
8992
  # @param [Hash] opts the optional parameters
9170
- # @option opts [UserSchedulesPartialUploadRequest] :body body
9171
- # @return [PartialUploadResponse]
8993
+ # @return [nil]
9172
8994
  def post_workforcemanagement_managementunit_week_schedules_partialupload(management_unit_id, week_id, opts = {})
9173
- data, _status_code, _headers = post_workforcemanagement_managementunit_week_schedules_partialupload_with_http_info(management_unit_id, week_id, opts)
9174
- return data
8995
+ post_workforcemanagement_managementunit_week_schedules_partialupload_with_http_info(management_unit_id, week_id, opts)
8996
+ return nil
9175
8997
  end
9176
8998
 
9177
- # Partial upload of user schedules where activity count is greater than 17500
8999
+ # Gone. Scheduling has moved under business units
9178
9000
  #
9179
9001
  # @param management_unit_id The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
9180
9002
  # @param week_id First day of schedule week in yyyy-MM-dd format.
9181
9003
  # @param [Hash] opts the optional parameters
9182
- # @option opts [UserSchedulesPartialUploadRequest] :body body
9183
- # @return [Array<(PartialUploadResponse, Fixnum, Hash)>] PartialUploadResponse data, response status code and response headers
9004
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
9184
9005
  def post_workforcemanagement_managementunit_week_schedules_partialupload_with_http_info(management_unit_id, week_id, opts = {})
9185
9006
  if @api_client.config.debugging
9186
9007
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_week_schedules_partialupload ..."
@@ -9202,12 +9023,6 @@ module PureCloud
9202
9023
 
9203
9024
 
9204
9025
 
9205
-
9206
-
9207
-
9208
-
9209
-
9210
-
9211
9026
  # resource path
9212
9027
  local_var_path = "/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekId}/schedules/partialupload".sub('{format}','json').sub('{' + 'managementUnitId' + '}', management_unit_id.to_s).sub('{' + 'weekId' + '}', week_id.to_s)
9213
9028
 
@@ -9229,7 +9044,7 @@ module PureCloud
9229
9044
  form_params = {}
9230
9045
 
9231
9046
  # http body (model)
9232
- post_body = @api_client.object_to_http_body(opts[:'body'])
9047
+ post_body = nil
9233
9048
 
9234
9049
  auth_names = ['PureCloud OAuth']
9235
9050
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -9237,8 +9052,7 @@ module PureCloud
9237
9052
  :query_params => query_params,
9238
9053
  :form_params => form_params,
9239
9054
  :body => post_body,
9240
- :auth_names => auth_names,
9241
- :return_type => 'PartialUploadResponse')
9055
+ :auth_names => auth_names)
9242
9056
  if @api_client.config.debugging
9243
9057
  @api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_week_schedules_partialupload\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
9244
9058
  end
@@ -9604,30 +9418,26 @@ module PureCloud
9604
9418
  return data, status_code, headers
9605
9419
  end
9606
9420
 
9607
- # Copy a short term forecast
9421
+ # Gone. Use equivalent business unit resource instead
9608
9422
  #
9609
- # @param management_unit_id The management unit ID of the management unit to which the forecast belongs
9610
- # @param week_date_id The week start date of the forecast in yyyy-MM-dd format
9611
- # @param forecast_id The ID of the forecast to copy
9612
- # @param body body
9423
+ # @param management_unit_id (Deprecated/gone): The id of the management unit.
9424
+ # @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
9425
+ # @param forecast_id (Gone/Deprecated): The ID of the forecast
9613
9426
  # @param [Hash] opts the optional parameters
9614
- # @option opts [BOOLEAN] :force_async Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
9615
- # @return [ShortTermForecastResponse]
9616
- def post_workforcemanagement_managementunit_week_shorttermforecast_copy(management_unit_id, week_date_id, forecast_id, body, opts = {})
9617
- data, _status_code, _headers = post_workforcemanagement_managementunit_week_shorttermforecast_copy_with_http_info(management_unit_id, week_date_id, forecast_id, body, opts)
9618
- return data
9427
+ # @return [nil]
9428
+ def post_workforcemanagement_managementunit_week_shorttermforecast_copy(management_unit_id, week_date_id, forecast_id, opts = {})
9429
+ post_workforcemanagement_managementunit_week_shorttermforecast_copy_with_http_info(management_unit_id, week_date_id, forecast_id, opts)
9430
+ return nil
9619
9431
  end
9620
9432
 
9621
- # Copy a short term forecast
9433
+ # Gone. Use equivalent business unit resource instead
9622
9434
  #
9623
- # @param management_unit_id The management unit ID of the management unit to which the forecast belongs
9624
- # @param week_date_id The week start date of the forecast in yyyy-MM-dd format
9625
- # @param forecast_id The ID of the forecast to copy
9626
- # @param body body
9435
+ # @param management_unit_id (Deprecated/gone): The id of the management unit.
9436
+ # @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
9437
+ # @param forecast_id (Gone/Deprecated): The ID of the forecast
9627
9438
  # @param [Hash] opts the optional parameters
9628
- # @option opts [BOOLEAN] :force_async Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
9629
- # @return [Array<(ShortTermForecastResponse, Fixnum, Hash)>] ShortTermForecastResponse data, response status code and response headers
9630
- def post_workforcemanagement_managementunit_week_shorttermforecast_copy_with_http_info(management_unit_id, week_date_id, forecast_id, body, opts = {})
9439
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
9440
+ def post_workforcemanagement_managementunit_week_shorttermforecast_copy_with_http_info(management_unit_id, week_date_id, forecast_id, opts = {})
9631
9441
  if @api_client.config.debugging
9632
9442
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_week_shorttermforecast_copy ..."
9633
9443
  end
@@ -9656,26 +9466,11 @@ module PureCloud
9656
9466
 
9657
9467
 
9658
9468
 
9659
-
9660
- # verify the required parameter 'body' is set
9661
- fail ArgumentError, "Missing the required parameter 'body' when calling WorkforceManagementApi.post_workforcemanagement_managementunit_week_shorttermforecast_copy" if body.nil?
9662
-
9663
-
9664
-
9665
-
9666
-
9667
-
9668
-
9669
-
9670
-
9671
-
9672
-
9673
9469
  # resource path
9674
9470
  local_var_path = "/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/copy".sub('{format}','json').sub('{' + 'managementUnitId' + '}', management_unit_id.to_s).sub('{' + 'weekDateId' + '}', week_date_id.to_s).sub('{' + 'forecastId' + '}', forecast_id.to_s)
9675
9471
 
9676
9472
  # query parameters
9677
9473
  query_params = {}
9678
- query_params[:'forceAsync'] = opts[:'force_async'] if opts[:'force_async']
9679
9474
 
9680
9475
  # header parameters
9681
9476
  header_params = {}
@@ -9692,7 +9487,7 @@ module PureCloud
9692
9487
  form_params = {}
9693
9488
 
9694
9489
  # http body (model)
9695
- post_body = @api_client.object_to_http_body(body)
9490
+ post_body = nil
9696
9491
 
9697
9492
  auth_names = ['PureCloud OAuth']
9698
9493
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -9700,36 +9495,31 @@ module PureCloud
9700
9495
  :query_params => query_params,
9701
9496
  :form_params => form_params,
9702
9497
  :body => post_body,
9703
- :auth_names => auth_names,
9704
- :return_type => 'ShortTermForecastResponse')
9498
+ :auth_names => auth_names)
9705
9499
  if @api_client.config.debugging
9706
9500
  @api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_week_shorttermforecast_copy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
9707
9501
  end
9708
9502
  return data, status_code, headers
9709
9503
  end
9710
9504
 
9711
- # Import a short term forecast
9505
+ # Gone. Use equivalent business unit resource instead
9712
9506
  #
9713
- # @param management_unit_id The management unit ID of the management unit to which the forecast belongs
9714
- # @param week_date_id The week start date of the forecast in yyyy-MM-dd format
9715
- # @param body body
9507
+ # @param management_unit_id (Deprecated/gone): The id of the management unit.
9508
+ # @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
9716
9509
  # @param [Hash] opts the optional parameters
9717
- # @option opts [BOOLEAN] :force_async Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
9718
- # @return [ShortTermForecastResponse]
9719
- def post_workforcemanagement_managementunit_week_shorttermforecasts(management_unit_id, week_date_id, body, opts = {})
9720
- data, _status_code, _headers = post_workforcemanagement_managementunit_week_shorttermforecasts_with_http_info(management_unit_id, week_date_id, body, opts)
9721
- return data
9510
+ # @return [nil]
9511
+ def post_workforcemanagement_managementunit_week_shorttermforecasts(management_unit_id, week_date_id, opts = {})
9512
+ post_workforcemanagement_managementunit_week_shorttermforecasts_with_http_info(management_unit_id, week_date_id, opts)
9513
+ return nil
9722
9514
  end
9723
9515
 
9724
- # Import a short term forecast
9516
+ # Gone. Use equivalent business unit resource instead
9725
9517
  #
9726
- # @param management_unit_id The management unit ID of the management unit to which the forecast belongs
9727
- # @param week_date_id The week start date of the forecast in yyyy-MM-dd format
9728
- # @param body body
9518
+ # @param management_unit_id (Deprecated/gone): The id of the management unit.
9519
+ # @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
9729
9520
  # @param [Hash] opts the optional parameters
9730
- # @option opts [BOOLEAN] :force_async Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
9731
- # @return [Array<(ShortTermForecastResponse, Fixnum, Hash)>] ShortTermForecastResponse data, response status code and response headers
9732
- def post_workforcemanagement_managementunit_week_shorttermforecasts_with_http_info(management_unit_id, week_date_id, body, opts = {})
9521
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
9522
+ def post_workforcemanagement_managementunit_week_shorttermforecasts_with_http_info(management_unit_id, week_date_id, opts = {})
9733
9523
  if @api_client.config.debugging
9734
9524
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_week_shorttermforecasts ..."
9735
9525
  end
@@ -9750,26 +9540,11 @@ module PureCloud
9750
9540
 
9751
9541
 
9752
9542
 
9753
-
9754
- # verify the required parameter 'body' is set
9755
- fail ArgumentError, "Missing the required parameter 'body' when calling WorkforceManagementApi.post_workforcemanagement_managementunit_week_shorttermforecasts" if body.nil?
9756
-
9757
-
9758
-
9759
-
9760
-
9761
-
9762
-
9763
-
9764
-
9765
-
9766
-
9767
9543
  # resource path
9768
9544
  local_var_path = "/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shorttermforecasts".sub('{format}','json').sub('{' + 'managementUnitId' + '}', management_unit_id.to_s).sub('{' + 'weekDateId' + '}', week_date_id.to_s)
9769
9545
 
9770
9546
  # query parameters
9771
9547
  query_params = {}
9772
- query_params[:'forceAsync'] = opts[:'force_async'] if opts[:'force_async']
9773
9548
 
9774
9549
  # header parameters
9775
9550
  header_params = {}
@@ -9786,7 +9561,7 @@ module PureCloud
9786
9561
  form_params = {}
9787
9562
 
9788
9563
  # http body (model)
9789
- post_body = @api_client.object_to_http_body(body)
9564
+ post_body = nil
9790
9565
 
9791
9566
  auth_names = ['PureCloud OAuth']
9792
9567
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -9794,36 +9569,31 @@ module PureCloud
9794
9569
  :query_params => query_params,
9795
9570
  :form_params => form_params,
9796
9571
  :body => post_body,
9797
- :auth_names => auth_names,
9798
- :return_type => 'ShortTermForecastResponse')
9572
+ :auth_names => auth_names)
9799
9573
  if @api_client.config.debugging
9800
9574
  @api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_week_shorttermforecasts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
9801
9575
  end
9802
9576
  return data, status_code, headers
9803
9577
  end
9804
9578
 
9805
- # Generate a short term forecast
9579
+ # Gone. Use equivalent business unit resource instead
9806
9580
  #
9807
- # @param management_unit_id The management unit ID of the management unit to which the forecast belongs
9808
- # @param week_date_id The week start date of the forecast in yyyy-MM-dd format
9809
- # @param body
9581
+ # @param management_unit_id (Deprecated/gone): The id of the management unit.
9582
+ # @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
9810
9583
  # @param [Hash] opts the optional parameters
9811
- # @option opts [BOOLEAN] :force_async Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
9812
- # @return [GenerateShortTermForecastResponse]
9813
- def post_workforcemanagement_managementunit_week_shorttermforecasts_generate(management_unit_id, week_date_id, body, opts = {})
9814
- data, _status_code, _headers = post_workforcemanagement_managementunit_week_shorttermforecasts_generate_with_http_info(management_unit_id, week_date_id, body, opts)
9815
- return data
9584
+ # @return [nil]
9585
+ def post_workforcemanagement_managementunit_week_shorttermforecasts_generate(management_unit_id, week_date_id, opts = {})
9586
+ post_workforcemanagement_managementunit_week_shorttermforecasts_generate_with_http_info(management_unit_id, week_date_id, opts)
9587
+ return nil
9816
9588
  end
9817
9589
 
9818
- # Generate a short term forecast
9590
+ # Gone. Use equivalent business unit resource instead
9819
9591
  #
9820
- # @param management_unit_id The management unit ID of the management unit to which the forecast belongs
9821
- # @param week_date_id The week start date of the forecast in yyyy-MM-dd format
9822
- # @param body
9592
+ # @param management_unit_id (Deprecated/gone): The id of the management unit.
9593
+ # @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
9823
9594
  # @param [Hash] opts the optional parameters
9824
- # @option opts [BOOLEAN] :force_async Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
9825
- # @return [Array<(GenerateShortTermForecastResponse, Fixnum, Hash)>] GenerateShortTermForecastResponse data, response status code and response headers
9826
- def post_workforcemanagement_managementunit_week_shorttermforecasts_generate_with_http_info(management_unit_id, week_date_id, body, opts = {})
9595
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
9596
+ def post_workforcemanagement_managementunit_week_shorttermforecasts_generate_with_http_info(management_unit_id, week_date_id, opts = {})
9827
9597
  if @api_client.config.debugging
9828
9598
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_week_shorttermforecasts_generate ..."
9829
9599
  end
@@ -9844,26 +9614,11 @@ module PureCloud
9844
9614
 
9845
9615
 
9846
9616
 
9847
-
9848
- # verify the required parameter 'body' is set
9849
- fail ArgumentError, "Missing the required parameter 'body' when calling WorkforceManagementApi.post_workforcemanagement_managementunit_week_shorttermforecasts_generate" if body.nil?
9850
-
9851
-
9852
-
9853
-
9854
-
9855
-
9856
-
9857
-
9858
-
9859
-
9860
-
9861
9617
  # resource path
9862
9618
  local_var_path = "/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shorttermforecasts/generate".sub('{format}','json').sub('{' + 'managementUnitId' + '}', management_unit_id.to_s).sub('{' + 'weekDateId' + '}', week_date_id.to_s)
9863
9619
 
9864
9620
  # query parameters
9865
9621
  query_params = {}
9866
- query_params[:'forceAsync'] = opts[:'force_async'] if opts[:'force_async']
9867
9622
 
9868
9623
  # header parameters
9869
9624
  header_params = {}
@@ -9880,7 +9635,7 @@ module PureCloud
9880
9635
  form_params = {}
9881
9636
 
9882
9637
  # http body (model)
9883
- post_body = @api_client.object_to_http_body(body)
9638
+ post_body = nil
9884
9639
 
9885
9640
  auth_names = ['PureCloud OAuth']
9886
9641
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -9888,34 +9643,31 @@ module PureCloud
9888
9643
  :query_params => query_params,
9889
9644
  :form_params => form_params,
9890
9645
  :body => post_body,
9891
- :auth_names => auth_names,
9892
- :return_type => 'GenerateShortTermForecastResponse')
9646
+ :auth_names => auth_names)
9893
9647
  if @api_client.config.debugging
9894
9648
  @api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_week_shorttermforecasts_generate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
9895
9649
  end
9896
9650
  return data, status_code, headers
9897
9651
  end
9898
9652
 
9899
- # Import a short term forecast
9653
+ # Gone. Use equivalent business unit resource instead
9900
9654
  #
9901
- # @param management_unit_id The management unit ID of the management unit to which the forecast belongs
9902
- # @param week_date_id The week start date of the forecast in yyyy-MM-dd format
9903
- # @param body body
9655
+ # @param management_unit_id (Deprecated/gone): The id of the management unit.
9656
+ # @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
9904
9657
  # @param [Hash] opts the optional parameters
9905
- # @return [PartialUploadResponse]
9906
- def post_workforcemanagement_managementunit_week_shorttermforecasts_partialupload(management_unit_id, week_date_id, body, opts = {})
9907
- data, _status_code, _headers = post_workforcemanagement_managementunit_week_shorttermforecasts_partialupload_with_http_info(management_unit_id, week_date_id, body, opts)
9908
- return data
9658
+ # @return [nil]
9659
+ def post_workforcemanagement_managementunit_week_shorttermforecasts_partialupload(management_unit_id, week_date_id, opts = {})
9660
+ post_workforcemanagement_managementunit_week_shorttermforecasts_partialupload_with_http_info(management_unit_id, week_date_id, opts)
9661
+ return nil
9909
9662
  end
9910
9663
 
9911
- # Import a short term forecast
9664
+ # Gone. Use equivalent business unit resource instead
9912
9665
  #
9913
- # @param management_unit_id The management unit ID of the management unit to which the forecast belongs
9914
- # @param week_date_id The week start date of the forecast in yyyy-MM-dd format
9915
- # @param body body
9666
+ # @param management_unit_id (Deprecated/gone): The id of the management unit.
9667
+ # @param week_date_id (Deprecated/gone): The week start date of the forecast in yyyy-MM-dd format
9916
9668
  # @param [Hash] opts the optional parameters
9917
- # @return [Array<(PartialUploadResponse, Fixnum, Hash)>] PartialUploadResponse data, response status code and response headers
9918
- def post_workforcemanagement_managementunit_week_shorttermforecasts_partialupload_with_http_info(management_unit_id, week_date_id, body, opts = {})
9669
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
9670
+ def post_workforcemanagement_managementunit_week_shorttermforecasts_partialupload_with_http_info(management_unit_id, week_date_id, opts = {})
9919
9671
  if @api_client.config.debugging
9920
9672
  @api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_week_shorttermforecasts_partialupload ..."
9921
9673
  end
@@ -9936,14 +9688,6 @@ module PureCloud
9936
9688
 
9937
9689
 
9938
9690
 
9939
-
9940
- # verify the required parameter 'body' is set
9941
- fail ArgumentError, "Missing the required parameter 'body' when calling WorkforceManagementApi.post_workforcemanagement_managementunit_week_shorttermforecasts_partialupload" if body.nil?
9942
-
9943
-
9944
-
9945
-
9946
-
9947
9691
  # resource path
9948
9692
  local_var_path = "/api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/{weekDateId}/shorttermforecasts/partialupload".sub('{format}','json').sub('{' + 'managementUnitId' + '}', management_unit_id.to_s).sub('{' + 'weekDateId' + '}', week_date_id.to_s)
9949
9693
 
@@ -9965,7 +9709,7 @@ module PureCloud
9965
9709
  form_params = {}
9966
9710
 
9967
9711
  # http body (model)
9968
- post_body = @api_client.object_to_http_body(body)
9712
+ post_body = nil
9969
9713
 
9970
9714
  auth_names = ['PureCloud OAuth']
9971
9715
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
@@ -9973,8 +9717,7 @@ module PureCloud
9973
9717
  :query_params => query_params,
9974
9718
  :form_params => form_params,
9975
9719
  :body => post_body,
9976
- :auth_names => auth_names,
9977
- :return_type => 'PartialUploadResponse')
9720
+ :auth_names => auth_names)
9978
9721
  if @api_client.config.debugging
9979
9722
  @api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_week_shorttermforecasts_partialupload\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
9980
9723
  end