purecloudplatformclientv2 36.1.0 → 37.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/AgentTimeOffRequestPatch.md +15 -0
- data/docs/AnalyticsApi.md +2 -2
- data/docs/AsgInfoResponse.md +2 -2
- data/docs/AsyncWeekScheduleResponse.md +16 -0
- data/docs/CallMediaPolicyConditions.md +1 -0
- data/docs/CampaignNotification.md +1 -0
- data/docs/ChatMediaPolicyConditions.md +1 -0
- data/docs/ConversationNotificationMedia.md +3 -0
- data/docs/ConversationNotificationMessageDetails.md +1 -0
- data/docs/ConversationNotificationMessageMedia.md +3 -0
- data/docs/ConversationNotificationMessageSticker.md +14 -0
- data/docs/ConversationNotificationMessages.md +1 -0
- data/docs/ConversationNotificationStickers.md +14 -0
- data/docs/CopyShortTermForecastRequest.md +14 -0
- data/docs/CopyWeekScheduleRequest.md +14 -0
- data/docs/CopyWorkPlan.md +13 -0
- data/docs/CreateAdminTimeOffRequest.md +19 -0
- data/docs/CreateAgentTimeOffRequest.md +17 -0
- data/docs/CreateAsgRequest.md +1 -1
- data/docs/CreateManagementUnitApiRequest.md +17 -0
- data/docs/CreateManagementUnitSettings.md +16 -0
- data/docs/CreateQueueMediaAssociationRequest.md +14 -0
- data/docs/CreateServiceGoalGroupRequest.md +15 -0
- data/docs/CreateWorkPlan.md +26 -0
- data/docs/CreateWorkPlanActivity.md +23 -0
- data/docs/CreateWorkPlanShift.md +29 -0
- data/docs/CurrentUserScheduleRequestBody.md +14 -0
- data/docs/DateRange.md +14 -0
- data/docs/DeletableUserReference.md +15 -0
- data/docs/EmailMediaPolicyConditions.md +1 -0
- data/docs/ExternalContact.md +3 -1
- data/docs/ExternalOrganization.md +1 -1
- data/docs/FacebookId.md +14 -0
- data/docs/FacebookScopedId.md +13 -0
- data/docs/FlowOutcomeNotificationNotification.md +16 -0
- data/docs/FlowOutcomeNotificationNotificationArchitectOperation.md +21 -0
- data/docs/FlowOutcomeNotificationNotificationErrorDetail.md +16 -0
- data/docs/FlowOutcomeNotificationNotificationErrorMessageParams.md +13 -0
- data/docs/{SurveyFormUriReference.md → FlowOutcomeNotificationNotificationHomeOrganization.md} +3 -4
- data/docs/FlowOutcomeNotificationNotificationUser.md +15 -0
- data/docs/ForecastGenerationResult.md +13 -0
- data/docs/ForecastGenerationRouteGroupResult.md +14 -0
- data/docs/ForecastResultResponse.md +14 -0
- data/docs/ForecastSourceDayPointer.md +17 -0
- data/docs/ForecastTimeSeriesResult.md +14 -0
- data/docs/GenerateShortTermForecastRequest.md +13 -0
- data/docs/GenerateShortTermForecastResponse.md +16 -0
- data/docs/GenerateWeekScheduleRequest.md +14 -0
- data/docs/GenerateWeekScheduleResponse.md +15 -0
- data/docs/GroupsApi.md +2 -0
- data/docs/HeadcountForecastResponse.md +14 -0
- data/docs/HeadcountIntervalResponse.md +14 -0
- data/docs/ImportShortTermForecastRequest.md +16 -0
- data/docs/ImportWeekScheduleRequest.md +17 -0
- data/docs/IntradayDataUpdateNotificationDateTime.md +1 -1
- data/docs/IntradayDataUpdateNotificationStartDate.md +1 -1
- data/docs/JsonNode.md +1 -1
- data/docs/LanguageReference.md +14 -0
- data/docs/LineId.md +14 -0
- data/docs/LineUserId.md +13 -0
- data/docs/ListWrapperForecastSourceDayPointer.md +13 -0
- data/docs/ListWrapperShiftStartVariance.md +13 -0
- data/docs/ListWrapperWfmForecastModification.md +13 -0
- data/docs/MessageConversationNotificationMessageDetails.md +1 -0
- data/docs/MessageConversationNotificationMessageMedia.md +3 -0
- data/docs/MessageConversationNotificationMessageSticker.md +14 -0
- data/docs/MessageConversationNotificationMessages.md +1 -0
- data/docs/MessageMediaPolicyConditions.md +1 -0
- data/docs/OrgUser.md +1 -0
- data/docs/OutboundApi.md +70 -0
- data/docs/PartialUploadResponse.md +13 -0
- data/docs/PatchUser.md +0 -1
- data/docs/PublishedSurveyFormReference.md +16 -0
- data/docs/QueryDivision.md +12 -0
- data/docs/QueueMediaAssociation.md +16 -0
- data/docs/QueueReference.md +14 -0
- data/docs/RecordingMessagingMessage.md +1 -0
- data/docs/RouteGroup.md +18 -0
- data/docs/RouteGroupAttributes.md +16 -0
- data/docs/RouteGroupList.md +14 -0
- data/docs/RoutingApi.md +8 -8
- data/docs/RoutingSkillReference.md +14 -0
- data/docs/ScheduleGenerationWarning.md +20 -0
- data/docs/SchedulingRunListResponse.md +13 -0
- data/docs/SchedulingRunResponse.md +22 -0
- data/docs/ServiceGoalGroup.md +18 -0
- data/docs/ServiceGoalGroupGoals.md +14 -0
- data/docs/ServiceGoalGroupList.md +14 -0
- data/docs/SetWrapperDayOfWeek.md +13 -0
- data/docs/ShiftStartVariance.md +14 -0
- data/docs/ShortTermForecast.md +22 -0
- data/docs/ShortTermForecastListItemResponse.md +18 -0
- data/docs/ShortTermForecastListResponse.md +13 -0
- data/docs/ShortTermForecastReference.md +16 -0
- data/docs/ShortTermForecastResponse.md +15 -0
- data/docs/SurveyAssignment.md +3 -1
- data/docs/SurveyForm.md +1 -0
- data/docs/TimeOffRequestEntityList.md +13 -0
- data/docs/TimeOffRequestLookup.md +15 -0
- data/docs/TimeOffRequestLookupList.md +13 -0
- data/docs/TimeOffRequestQueryBody.md +15 -0
- data/docs/TrustUser.md +1 -0
- data/docs/TrusteeAuthorization.md +13 -0
- data/docs/Trustor.md +1 -0
- data/docs/UpdateActivityCodeRequest.md +19 -0
- data/docs/UpdateWeekScheduleRequest.md +18 -0
- data/docs/User.md +1 -0
- data/docs/UserMe.md +1 -0
- data/docs/UserScheduleAdherenceUpdateNotificationDateTime.md +1 -1
- data/docs/UserSchedulesPartialUploadRequest.md +13 -0
- data/docs/UsersApi.md +5 -6
- data/docs/ViewFilter.md +4 -0
- data/docs/WeekSchedule.md +23 -0
- data/docs/WeekScheduleGenerationResult.md +16 -0
- data/docs/WeekScheduleListItemResponse.md +20 -0
- data/docs/WeekScheduleListResponse.md +13 -0
- data/docs/WeekScheduleResponse.md +14 -0
- data/docs/WfmAgent.md +22 -0
- data/docs/WfmAverageSpeedOfAnswer.md +14 -0
- data/docs/WfmForecastModification.md +20 -0
- data/docs/WfmForecastModificationAttributes.md +16 -0
- data/docs/WfmForecastModificationIntervalOffsetValue.md +14 -0
- data/docs/WfmHistoricalAdherenceQuery.md +1 -1
- data/docs/WfmHistoricalAdherenceQueryForUsers.md +17 -0
- data/docs/WfmServiceLevel.md +15 -0
- data/docs/WfmTimeZone.md +13 -0
- data/docs/WorkPlan.md +29 -0
- data/docs/WorkPlanActivity.md +25 -0
- data/docs/WorkPlanListItemResponse.md +21 -0
- data/docs/WorkPlanListResponse.md +13 -0
- data/docs/WorkPlanReference.md +13 -0
- data/docs/WorkPlanShift.md +31 -0
- data/docs/WorkforceManagementApi.md +3557 -187
- data/lib/purecloudplatformclientv2.rb +96 -1
- data/lib/purecloudplatformclientv2/api/outbound_api.rb +83 -0
- data/lib/purecloudplatformclientv2/api/routing_api.rb +8 -8
- data/lib/purecloudplatformclientv2/api/users_api.rb +8 -6
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +3993 -288
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/agent_time_off_request_patch.rb +268 -0
- data/lib/purecloudplatformclientv2/models/aggregate_metric_data.rb +2 -2
- data/lib/purecloudplatformclientv2/models/analytics_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/asg_info_response.rb +2 -2
- data/lib/purecloudplatformclientv2/models/async_week_schedule_response.rb +294 -0
- data/lib/purecloudplatformclientv2/models/call_media_policy_conditions.rb +28 -1
- data/lib/purecloudplatformclientv2/models/campaign_notification.rb +26 -1
- data/lib/purecloudplatformclientv2/models/chat_media_policy_conditions.rb +28 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_media.rb +79 -4
- data/lib/purecloudplatformclientv2/models/conversation_notification_message.rb +2 -2
- data/lib/purecloudplatformclientv2/models/conversation_notification_message_details.rb +31 -4
- data/lib/purecloudplatformclientv2/models/conversation_notification_message_media.rb +79 -4
- data/lib/purecloudplatformclientv2/models/conversation_notification_message_sticker.rb +226 -0
- data/lib/purecloudplatformclientv2/models/conversation_notification_messages.rb +31 -4
- data/lib/purecloudplatformclientv2/models/conversation_notification_messages_1.rb +2 -2
- data/lib/purecloudplatformclientv2/models/conversation_notification_stickers.rb +226 -0
- data/lib/purecloudplatformclientv2/models/copy_short_term_forecast_request.rb +239 -0
- data/lib/purecloudplatformclientv2/models/copy_week_schedule_request.rb +238 -0
- data/lib/purecloudplatformclientv2/models/copy_work_plan.rb +208 -0
- data/lib/purecloudplatformclientv2/models/create_admin_time_off_request.rb +398 -0
- data/lib/purecloudplatformclientv2/models/create_agent_time_off_request.rb +320 -0
- data/lib/purecloudplatformclientv2/models/create_asg_request.rb +1 -1
- data/lib/purecloudplatformclientv2/models/create_management_unit_api_request.rb +336 -0
- data/lib/purecloudplatformclientv2/models/create_management_unit_settings.rb +281 -0
- data/lib/purecloudplatformclientv2/models/create_queue_media_association_request.rb +231 -0
- data/lib/purecloudplatformclientv2/models/create_service_goal_group_request.rb +262 -0
- data/lib/purecloudplatformclientv2/models/create_work_plan.rb +550 -0
- data/lib/purecloudplatformclientv2/models/create_work_plan_activity.rb +463 -0
- data/lib/purecloudplatformclientv2/models/create_work_plan_shift.rb +626 -0
- data/lib/purecloudplatformclientv2/models/current_user_schedule_request_body.rb +239 -0
- data/lib/purecloudplatformclientv2/models/data_export_notification_notification.rb +2 -2
- data/lib/purecloudplatformclientv2/models/date_range.rb +228 -0
- data/lib/purecloudplatformclientv2/models/deletable_user_reference.rb +255 -0
- data/lib/purecloudplatformclientv2/models/email_media_policy_conditions.rb +28 -1
- data/lib/purecloudplatformclientv2/models/external_contact.rb +52 -2
- data/lib/purecloudplatformclientv2/models/external_organization.rb +1 -1
- data/lib/purecloudplatformclientv2/models/facebook_id.rb +231 -0
- data/lib/purecloudplatformclientv2/models/facebook_scoped_id.rb +203 -0
- data/lib/purecloudplatformclientv2/models/flow_notification_notification_architect_operation.rb +2 -2
- data/lib/purecloudplatformclientv2/models/flow_outcome_notification_notification.rb +276 -0
- data/lib/purecloudplatformclientv2/models/flow_outcome_notification_notification_architect_operation.rb +431 -0
- data/lib/purecloudplatformclientv2/models/flow_outcome_notification_notification_error_detail.rb +276 -0
- data/lib/purecloudplatformclientv2/models/flow_outcome_notification_notification_error_message_params.rb +203 -0
- data/lib/purecloudplatformclientv2/models/flow_outcome_notification_notification_home_organization.rb +251 -0
- data/lib/purecloudplatformclientv2/models/flow_outcome_notification_notification_user.rb +251 -0
- data/lib/purecloudplatformclientv2/models/forecast_generation_result.rb +204 -0
- data/lib/purecloudplatformclientv2/models/forecast_generation_route_group_result.rb +230 -0
- data/lib/purecloudplatformclientv2/models/forecast_result_response.rb +228 -0
- data/lib/purecloudplatformclientv2/models/forecast_source_day_pointer.rb +321 -0
- data/lib/purecloudplatformclientv2/models/forecast_time_series_result.rb +256 -0
- data/lib/purecloudplatformclientv2/models/generate_short_term_forecast_request.rb +207 -0
- data/lib/purecloudplatformclientv2/models/generate_short_term_forecast_response.rb +294 -0
- data/lib/purecloudplatformclientv2/models/generate_week_schedule_request.rb +239 -0
- data/lib/purecloudplatformclientv2/models/generate_week_schedule_response.rb +268 -0
- data/lib/purecloudplatformclientv2/models/headcount_forecast_response.rb +233 -0
- data/lib/purecloudplatformclientv2/models/headcount_interval_response.rb +229 -0
- data/lib/purecloudplatformclientv2/models/import_short_term_forecast_request.rb +293 -0
- data/lib/purecloudplatformclientv2/models/import_week_schedule_request.rb +316 -0
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_date_time.rb +17 -17
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_start_date.rb +17 -17
- data/lib/purecloudplatformclientv2/models/json_node.rb +17 -17
- data/lib/purecloudplatformclientv2/models/language_reference.rb +228 -0
- data/lib/purecloudplatformclientv2/models/line_id.rb +231 -0
- data/lib/purecloudplatformclientv2/models/line_user_id.rb +203 -0
- data/lib/purecloudplatformclientv2/models/list_wrapper_forecast_source_day_pointer.rb +203 -0
- data/lib/purecloudplatformclientv2/models/list_wrapper_shift_start_variance.rb +203 -0
- data/lib/purecloudplatformclientv2/models/list_wrapper_wfm_forecast_modification.rb +203 -0
- data/lib/purecloudplatformclientv2/models/message_conversation_notification_message_details.rb +31 -4
- data/lib/purecloudplatformclientv2/models/message_conversation_notification_message_media.rb +79 -4
- data/lib/purecloudplatformclientv2/models/message_conversation_notification_message_media_participant.rb +2 -2
- data/lib/purecloudplatformclientv2/models/message_conversation_notification_message_sticker.rb +226 -0
- data/lib/purecloudplatformclientv2/models/message_conversation_notification_messages.rb +31 -4
- data/lib/purecloudplatformclientv2/models/message_conversation_notification_participants.rb +2 -2
- data/lib/purecloudplatformclientv2/models/message_media_policy_conditions.rb +28 -1
- data/lib/purecloudplatformclientv2/models/org_user.rb +27 -1
- data/lib/purecloudplatformclientv2/models/partial_upload_response.rb +202 -0
- data/lib/purecloudplatformclientv2/models/patch_user.rb +1 -26
- data/lib/purecloudplatformclientv2/models/prompt_notification_notification_architect_operation.rb +2 -2
- data/lib/purecloudplatformclientv2/models/prompt_notification_notification_current_operation.rb +2 -2
- data/lib/purecloudplatformclientv2/models/{survey_form_uri_reference.rb → published_survey_form_reference.rb} +16 -14
- data/lib/purecloudplatformclientv2/models/query_division.rb +176 -0
- data/lib/purecloudplatformclientv2/models/queue_media_association.rb +283 -0
- data/lib/purecloudplatformclientv2/models/queue_reference.rb +228 -0
- data/lib/purecloudplatformclientv2/models/recording_messaging_message.rb +26 -1
- data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +2 -2
- data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +2 -2
- data/lib/purecloudplatformclientv2/models/route_group.rb +363 -0
- data/lib/purecloudplatformclientv2/models/route_group_attributes.rb +307 -0
- data/lib/purecloudplatformclientv2/models/route_group_list.rb +235 -0
- data/lib/purecloudplatformclientv2/models/routing_skill_reference.rb +228 -0
- data/lib/purecloudplatformclientv2/models/schedule_generation_warning.rb +389 -0
- data/lib/purecloudplatformclientv2/models/scheduling_run_list_response.rb +203 -0
- data/lib/purecloudplatformclientv2/models/scheduling_run_response.rb +451 -0
- data/lib/purecloudplatformclientv2/models/service_goal_group.rb +339 -0
- data/lib/purecloudplatformclientv2/models/service_goal_group_goals.rb +239 -0
- data/lib/purecloudplatformclientv2/models/service_goal_group_list.rb +230 -0
- data/lib/purecloudplatformclientv2/models/set_wrapper_day_of_week.rb +203 -0
- data/lib/purecloudplatformclientv2/models/shift_start_variance.rb +241 -0
- data/lib/purecloudplatformclientv2/models/short_term_forecast.rb +466 -0
- data/lib/purecloudplatformclientv2/models/short_term_forecast_list_item_response.rb +362 -0
- data/lib/purecloudplatformclientv2/models/short_term_forecast_list_response.rb +203 -0
- data/lib/purecloudplatformclientv2/models/short_term_forecast_reference.rb +291 -0
- data/lib/purecloudplatformclientv2/models/short_term_forecast_response.rb +268 -0
- data/lib/purecloudplatformclientv2/models/survey_assignment.rb +62 -5
- data/lib/purecloudplatformclientv2/models/survey_form.rb +32 -1
- data/lib/purecloudplatformclientv2/models/time_off_request_entity_list.rb +203 -0
- data/lib/purecloudplatformclientv2/models/time_off_request_lookup.rb +264 -0
- data/lib/purecloudplatformclientv2/models/time_off_request_lookup_list.rb +209 -0
- data/lib/purecloudplatformclientv2/models/time_off_request_query_body.rb +258 -0
- data/lib/purecloudplatformclientv2/models/trust_user.rb +27 -1
- data/lib/purecloudplatformclientv2/models/trustee_authorization.rb +204 -0
- data/lib/purecloudplatformclientv2/models/trustor.rb +27 -1
- data/lib/purecloudplatformclientv2/models/update_activity_code_request.rb +378 -0
- data/lib/purecloudplatformclientv2/models/update_week_schedule_request.rb +346 -0
- data/lib/purecloudplatformclientv2/models/user.rb +27 -1
- data/lib/purecloudplatformclientv2/models/user_me.rb +27 -1
- data/lib/purecloudplatformclientv2/models/user_schedule_adherence_update_notification_date_time.rb +17 -17
- data/lib/purecloudplatformclientv2/models/user_schedules_partial_upload_request.rb +210 -0
- data/lib/purecloudplatformclientv2/models/view_filter.rb +112 -4
- data/lib/purecloudplatformclientv2/models/week_schedule.rb +465 -0
- data/lib/purecloudplatformclientv2/models/week_schedule_generation_result.rb +282 -0
- data/lib/purecloudplatformclientv2/models/week_schedule_list_item_response.rb +384 -0
- data/lib/purecloudplatformclientv2/models/week_schedule_list_response.rb +204 -0
- data/lib/purecloudplatformclientv2/models/week_schedule_response.rb +229 -0
- data/lib/purecloudplatformclientv2/models/wfm_agent.rb +443 -0
- data/lib/purecloudplatformclientv2/models/wfm_average_speed_of_answer.rb +234 -0
- data/lib/purecloudplatformclientv2/models/wfm_forecast_modification.rb +435 -0
- data/lib/purecloudplatformclientv2/models/wfm_forecast_modification_attributes.rb +288 -0
- data/lib/purecloudplatformclientv2/models/wfm_forecast_modification_interval_offset_value.rb +239 -0
- data/lib/purecloudplatformclientv2/models/wfm_historical_adherence_query.rb +1 -1
- data/lib/purecloudplatformclientv2/models/wfm_historical_adherence_query_for_users.rb +324 -0
- data/lib/purecloudplatformclientv2/models/wfm_service_level.rb +260 -0
- data/lib/purecloudplatformclientv2/models/wfm_time_zone.rb +203 -0
- data/lib/purecloudplatformclientv2/models/work_plan.rb +627 -0
- data/lib/purecloudplatformclientv2/models/work_plan_activity.rb +515 -0
- data/lib/purecloudplatformclientv2/models/work_plan_list_item_response.rb +410 -0
- data/lib/purecloudplatformclientv2/models/work_plan_list_response.rb +203 -0
- data/lib/purecloudplatformclientv2/models/work_plan_reference.rb +207 -0
- data/lib/purecloudplatformclientv2/models/work_plan_shift.rb +678 -0
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +194 -4
@@ -26,6 +26,8 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :wrapup_codes
|
28
28
|
|
29
|
+
attr_accessor :languages
|
30
|
+
|
29
31
|
attr_accessor :time_allowed
|
30
32
|
|
31
33
|
attr_accessor :directions
|
@@ -44,6 +46,8 @@ module PureCloud
|
|
44
46
|
|
45
47
|
:'wrapup_codes' => :'wrapupCodes',
|
46
48
|
|
49
|
+
:'languages' => :'languages',
|
50
|
+
|
47
51
|
:'time_allowed' => :'timeAllowed',
|
48
52
|
|
49
53
|
:'directions' => :'directions',
|
@@ -65,6 +69,8 @@ module PureCloud
|
|
65
69
|
|
66
70
|
:'wrapup_codes' => :'Array<WrapupCode>',
|
67
71
|
|
72
|
+
:'languages' => :'Array<Language>',
|
73
|
+
|
68
74
|
:'time_allowed' => :'TimeAllowed',
|
69
75
|
|
70
76
|
:'directions' => :'Array<String>',
|
@@ -124,6 +130,17 @@ module PureCloud
|
|
124
130
|
|
125
131
|
|
126
132
|
|
133
|
+
end
|
134
|
+
|
135
|
+
|
136
|
+
if attributes.has_key?(:'languages')
|
137
|
+
|
138
|
+
if (value = attributes[:'languages']).is_a?(Array)
|
139
|
+
self.languages = value
|
140
|
+
end
|
141
|
+
|
142
|
+
|
143
|
+
|
127
144
|
end
|
128
145
|
|
129
146
|
|
@@ -194,6 +211,10 @@ module PureCloud
|
|
194
211
|
|
195
212
|
|
196
213
|
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
|
197
218
|
|
198
219
|
|
199
220
|
|
@@ -231,6 +252,11 @@ module PureCloud
|
|
231
252
|
|
232
253
|
|
233
254
|
|
255
|
+
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
|
234
260
|
|
235
261
|
|
236
262
|
|
@@ -246,6 +272,7 @@ module PureCloud
|
|
246
272
|
date_ranges == o.date_ranges &&
|
247
273
|
for_queues == o.for_queues &&
|
248
274
|
wrapup_codes == o.wrapup_codes &&
|
275
|
+
languages == o.languages &&
|
249
276
|
time_allowed == o.time_allowed &&
|
250
277
|
directions == o.directions &&
|
251
278
|
duration == o.duration
|
@@ -260,7 +287,7 @@ module PureCloud
|
|
260
287
|
# Calculates hash code according to all attributes.
|
261
288
|
# @return [Fixnum] Hash code
|
262
289
|
def hash
|
263
|
-
[for_users, date_ranges, for_queues, wrapup_codes, time_allowed, directions, duration].hash
|
290
|
+
[for_users, date_ranges, for_queues, wrapup_codes, languages, time_allowed, directions, duration].hash
|
264
291
|
end
|
265
292
|
|
266
293
|
# build the object from hash
|
@@ -80,6 +80,8 @@ module PureCloud
|
|
80
80
|
|
81
81
|
attr_accessor :contact_list_filters
|
82
82
|
|
83
|
+
attr_accessor :division
|
84
|
+
|
83
85
|
attr_accessor :additional_properties
|
84
86
|
|
85
87
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -148,6 +150,8 @@ module PureCloud
|
|
148
150
|
|
149
151
|
:'contact_list_filters' => :'contactListFilters',
|
150
152
|
|
153
|
+
:'division' => :'division',
|
154
|
+
|
151
155
|
:'additional_properties' => :'additionalProperties'
|
152
156
|
|
153
157
|
}
|
@@ -219,6 +223,8 @@ module PureCloud
|
|
219
223
|
|
220
224
|
:'contact_list_filters' => :'Array<CampaignNotificationUriReference>',
|
221
225
|
|
226
|
+
:'division' => :'CampaignNotificationUriReference',
|
227
|
+
|
222
228
|
:'additional_properties' => :'Object'
|
223
229
|
|
224
230
|
}
|
@@ -524,6 +530,15 @@ module PureCloud
|
|
524
530
|
end
|
525
531
|
|
526
532
|
|
533
|
+
if attributes.has_key?(:'division')
|
534
|
+
|
535
|
+
|
536
|
+
self.division = attributes[:'division']
|
537
|
+
|
538
|
+
|
539
|
+
end
|
540
|
+
|
541
|
+
|
527
542
|
if attributes.has_key?(:'additionalProperties')
|
528
543
|
|
529
544
|
|
@@ -681,6 +696,10 @@ module PureCloud
|
|
681
696
|
|
682
697
|
|
683
698
|
|
699
|
+
|
700
|
+
|
701
|
+
|
702
|
+
|
684
703
|
|
685
704
|
|
686
705
|
|
@@ -861,6 +880,11 @@ module PureCloud
|
|
861
880
|
|
862
881
|
|
863
882
|
|
883
|
+
|
884
|
+
|
885
|
+
|
886
|
+
|
887
|
+
|
864
888
|
|
865
889
|
|
866
890
|
|
@@ -903,6 +927,7 @@ module PureCloud
|
|
903
927
|
call_analysis_language == o.call_analysis_language &&
|
904
928
|
priority == o.priority &&
|
905
929
|
contact_list_filters == o.contact_list_filters &&
|
930
|
+
division == o.division &&
|
906
931
|
additional_properties == o.additional_properties
|
907
932
|
end
|
908
933
|
|
@@ -915,7 +940,7 @@ module PureCloud
|
|
915
940
|
# Calculates hash code according to all attributes.
|
916
941
|
# @return [Fixnum] Hash code
|
917
942
|
def hash
|
918
|
-
[id, name, date_created, date_modified, version, contact_list, queue, dialing_mode, script, edge_group, site, campaign_status, phone_columns, abandon_rate, dnc_lists, callable_time_set, call_analysis_response_set, caller_name, caller_address, outbound_line_count, errors, rule_sets, skip_preview_disabled, preview_time_out_seconds, single_number_preview, contact_sort, contact_sorts, no_answer_timeout, call_analysis_language, priority, contact_list_filters, additional_properties].hash
|
943
|
+
[id, name, date_created, date_modified, version, contact_list, queue, dialing_mode, script, edge_group, site, campaign_status, phone_columns, abandon_rate, dnc_lists, callable_time_set, call_analysis_response_set, caller_name, caller_address, outbound_line_count, errors, rule_sets, skip_preview_disabled, preview_time_out_seconds, single_number_preview, contact_sort, contact_sorts, no_answer_timeout, call_analysis_language, priority, contact_list_filters, division, additional_properties].hash
|
919
944
|
end
|
920
945
|
|
921
946
|
# build the object from hash
|
@@ -26,6 +26,8 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :wrapup_codes
|
28
28
|
|
29
|
+
attr_accessor :languages
|
30
|
+
|
29
31
|
attr_accessor :time_allowed
|
30
32
|
|
31
33
|
attr_accessor :duration
|
@@ -42,6 +44,8 @@ module PureCloud
|
|
42
44
|
|
43
45
|
:'wrapup_codes' => :'wrapupCodes',
|
44
46
|
|
47
|
+
:'languages' => :'languages',
|
48
|
+
|
45
49
|
:'time_allowed' => :'timeAllowed',
|
46
50
|
|
47
51
|
:'duration' => :'duration'
|
@@ -61,6 +65,8 @@ module PureCloud
|
|
61
65
|
|
62
66
|
:'wrapup_codes' => :'Array<WrapupCode>',
|
63
67
|
|
68
|
+
:'languages' => :'Array<Language>',
|
69
|
+
|
64
70
|
:'time_allowed' => :'TimeAllowed',
|
65
71
|
|
66
72
|
:'duration' => :'DurationCondition'
|
@@ -118,6 +124,17 @@ module PureCloud
|
|
118
124
|
|
119
125
|
|
120
126
|
|
127
|
+
end
|
128
|
+
|
129
|
+
|
130
|
+
if attributes.has_key?(:'languages')
|
131
|
+
|
132
|
+
if (value = attributes[:'languages']).is_a?(Array)
|
133
|
+
self.languages = value
|
134
|
+
end
|
135
|
+
|
136
|
+
|
137
|
+
|
121
138
|
end
|
122
139
|
|
123
140
|
|
@@ -173,6 +190,10 @@ module PureCloud
|
|
173
190
|
|
174
191
|
|
175
192
|
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
|
176
197
|
|
177
198
|
|
178
199
|
|
@@ -205,6 +226,11 @@ module PureCloud
|
|
205
226
|
|
206
227
|
|
207
228
|
|
229
|
+
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
|
208
234
|
|
209
235
|
|
210
236
|
|
@@ -220,6 +246,7 @@ module PureCloud
|
|
220
246
|
date_ranges == o.date_ranges &&
|
221
247
|
for_queues == o.for_queues &&
|
222
248
|
wrapup_codes == o.wrapup_codes &&
|
249
|
+
languages == o.languages &&
|
223
250
|
time_allowed == o.time_allowed &&
|
224
251
|
duration == o.duration
|
225
252
|
end
|
@@ -233,7 +260,7 @@ module PureCloud
|
|
233
260
|
# Calculates hash code according to all attributes.
|
234
261
|
# @return [Fixnum] Hash code
|
235
262
|
def hash
|
236
|
-
[for_users, date_ranges, for_queues, wrapup_codes, time_allowed, duration].hash
|
263
|
+
[for_users, date_ranges, for_queues, wrapup_codes, languages, time_allowed, duration].hash
|
237
264
|
end
|
238
265
|
|
239
266
|
# build the object from hash
|
@@ -22,13 +22,25 @@ module PureCloud
|
|
22
22
|
|
23
23
|
attr_accessor :media_type
|
24
24
|
|
25
|
+
attr_accessor :content_length_bytes
|
26
|
+
|
27
|
+
attr_accessor :name
|
28
|
+
|
29
|
+
attr_accessor :id
|
30
|
+
|
25
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
32
|
def self.attribute_map
|
27
33
|
{
|
28
34
|
|
29
35
|
:'url' => :'url',
|
30
36
|
|
31
|
-
:'media_type' => :'mediaType'
|
37
|
+
:'media_type' => :'mediaType',
|
38
|
+
|
39
|
+
:'content_length_bytes' => :'contentLengthBytes',
|
40
|
+
|
41
|
+
:'name' => :'name',
|
42
|
+
|
43
|
+
:'id' => :'id'
|
32
44
|
|
33
45
|
}
|
34
46
|
end
|
@@ -39,7 +51,13 @@ module PureCloud
|
|
39
51
|
|
40
52
|
:'url' => :'String',
|
41
53
|
|
42
|
-
:'media_type' => :'String'
|
54
|
+
:'media_type' => :'String',
|
55
|
+
|
56
|
+
:'content_length_bytes' => :'Integer',
|
57
|
+
|
58
|
+
:'name' => :'String',
|
59
|
+
|
60
|
+
:'id' => :'String'
|
43
61
|
|
44
62
|
}
|
45
63
|
end
|
@@ -71,6 +89,33 @@ module PureCloud
|
|
71
89
|
end
|
72
90
|
|
73
91
|
|
92
|
+
if attributes.has_key?(:'contentLengthBytes')
|
93
|
+
|
94
|
+
|
95
|
+
self.content_length_bytes = attributes[:'contentLengthBytes']
|
96
|
+
|
97
|
+
|
98
|
+
end
|
99
|
+
|
100
|
+
|
101
|
+
if attributes.has_key?(:'name')
|
102
|
+
|
103
|
+
|
104
|
+
self.name = attributes[:'name']
|
105
|
+
|
106
|
+
|
107
|
+
end
|
108
|
+
|
109
|
+
|
110
|
+
if attributes.has_key?(:'id')
|
111
|
+
|
112
|
+
|
113
|
+
self.id = attributes[:'id']
|
114
|
+
|
115
|
+
|
116
|
+
end
|
117
|
+
|
118
|
+
|
74
119
|
end
|
75
120
|
|
76
121
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -93,6 +138,18 @@ module PureCloud
|
|
93
138
|
|
94
139
|
|
95
140
|
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
96
153
|
|
97
154
|
end
|
98
155
|
|
@@ -101,6 +158,21 @@ module PureCloud
|
|
101
158
|
|
102
159
|
|
103
160
|
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
104
176
|
|
105
177
|
|
106
178
|
|
@@ -113,7 +185,10 @@ module PureCloud
|
|
113
185
|
return true if self.equal?(o)
|
114
186
|
self.class == o.class &&
|
115
187
|
url == o.url &&
|
116
|
-
media_type == o.media_type
|
188
|
+
media_type == o.media_type &&
|
189
|
+
content_length_bytes == o.content_length_bytes &&
|
190
|
+
name == o.name &&
|
191
|
+
id == o.id
|
117
192
|
end
|
118
193
|
|
119
194
|
# @see the `==` method
|
@@ -125,7 +200,7 @@ module PureCloud
|
|
125
200
|
# Calculates hash code according to all attributes.
|
126
201
|
# @return [Fixnum] Hash code
|
127
202
|
def hash
|
128
|
-
[url, media_type].hash
|
203
|
+
[url, media_type, content_length_bytes, name, id].hash
|
129
204
|
end
|
130
205
|
|
131
206
|
# build the object from hash
|
@@ -396,7 +396,7 @@ module PureCloud
|
|
396
396
|
|
397
397
|
|
398
398
|
|
399
|
-
allowed_values = ["SMS", "TWITTER", "FACEBOOK", "LINE", "VIBER", "WECHAT"]
|
399
|
+
allowed_values = ["SMS", "TWITTER", "FACEBOOK", "LINE", "VIBER", "WECHAT", "WHATSAPP", "TELEGRAM", "KAKAO"]
|
400
400
|
if @type && !allowed_values.include?(@type)
|
401
401
|
return false
|
402
402
|
end
|
@@ -510,7 +510,7 @@ module PureCloud
|
|
510
510
|
# Custom attribute writer method checking allowed values (enum).
|
511
511
|
# @param [Object] type Object to be assigned
|
512
512
|
def type=(type)
|
513
|
-
allowed_values = ["SMS", "TWITTER", "FACEBOOK", "LINE", "VIBER", "WECHAT"]
|
513
|
+
allowed_values = ["SMS", "TWITTER", "FACEBOOK", "LINE", "VIBER", "WECHAT", "WHATSAPP", "TELEGRAM", "KAKAO"]
|
514
514
|
if type && !allowed_values.include?(type)
|
515
515
|
fail ArgumentError, "invalid value for 'type', must be one of #{allowed_values}."
|
516
516
|
end
|
@@ -28,6 +28,8 @@ module PureCloud
|
|
28
28
|
|
29
29
|
attr_accessor :media
|
30
30
|
|
31
|
+
attr_accessor :stickers
|
32
|
+
|
31
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
32
34
|
def self.attribute_map
|
33
35
|
{
|
@@ -40,7 +42,9 @@ module PureCloud
|
|
40
42
|
|
41
43
|
:'message_segment_count' => :'messageSegmentCount',
|
42
44
|
|
43
|
-
:'media' => :'media'
|
45
|
+
:'media' => :'media',
|
46
|
+
|
47
|
+
:'stickers' => :'stickers'
|
44
48
|
|
45
49
|
}
|
46
50
|
end
|
@@ -57,7 +61,9 @@ module PureCloud
|
|
57
61
|
|
58
62
|
:'message_segment_count' => :'Integer',
|
59
63
|
|
60
|
-
:'media' => :'Array<ConversationNotificationMedia>'
|
64
|
+
:'media' => :'Array<ConversationNotificationMedia>',
|
65
|
+
|
66
|
+
:'stickers' => :'Array<ConversationNotificationStickers>'
|
61
67
|
|
62
68
|
}
|
63
69
|
end
|
@@ -118,6 +124,17 @@ module PureCloud
|
|
118
124
|
end
|
119
125
|
|
120
126
|
|
127
|
+
if attributes.has_key?(:'stickers')
|
128
|
+
|
129
|
+
if (value = attributes[:'stickers']).is_a?(Array)
|
130
|
+
self.stickers = value
|
131
|
+
end
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
end
|
136
|
+
|
137
|
+
|
121
138
|
end
|
122
139
|
|
123
140
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -158,6 +175,10 @@ module PureCloud
|
|
158
175
|
|
159
176
|
|
160
177
|
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
161
182
|
end
|
162
183
|
|
163
184
|
|
@@ -195,6 +216,11 @@ module PureCloud
|
|
195
216
|
|
196
217
|
|
197
218
|
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
|
198
224
|
# Checks equality by comparing each attribute.
|
199
225
|
# @param [Object] Object to be compared
|
200
226
|
def ==(o)
|
@@ -204,7 +230,8 @@ module PureCloud
|
|
204
230
|
message_time == o.message_time &&
|
205
231
|
message_status == o.message_status &&
|
206
232
|
message_segment_count == o.message_segment_count &&
|
207
|
-
media == o.media
|
233
|
+
media == o.media &&
|
234
|
+
stickers == o.stickers
|
208
235
|
end
|
209
236
|
|
210
237
|
# @see the `==` method
|
@@ -216,7 +243,7 @@ module PureCloud
|
|
216
243
|
# Calculates hash code according to all attributes.
|
217
244
|
# @return [Fixnum] Hash code
|
218
245
|
def hash
|
219
|
-
[message_id, message_time, message_status, message_segment_count, media].hash
|
246
|
+
[message_id, message_time, message_status, message_segment_count, media, stickers].hash
|
220
247
|
end
|
221
248
|
|
222
249
|
# build the object from hash
|