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.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/AnalyticsEvaluation.md +1 -1
- data/docs/Call.md +1 -0
- data/docs/CallBasic.md +1 -0
- data/docs/Callback.md +1 -0
- data/docs/CallbackBasic.md +1 -0
- data/docs/Cobrowsesession.md +1 -0
- data/docs/{PartialUploadResponse.md → ContextEntity.md} +3 -3
- data/docs/ContextIntent.md +13 -0
- data/docs/ConversationCallbackEventTopicCallbackMediaParticipant.md +1 -0
- data/docs/ConversationChat.md +1 -0
- data/docs/ConversationEventTopicCallback.md +1 -0
- data/docs/Coretype.md +23 -0
- data/docs/CoretypeListing.md +15 -0
- data/docs/DataExtensionsApi.md +198 -0
- data/docs/DataSchemaListing.md +15 -0
- data/docs/DetectedDialogAct.md +14 -0
- data/docs/DetectedIntent.md +15 -0
- data/docs/DetectedNamedEntity.md +16 -0
- data/docs/DetectedNamedEntityValue.md +14 -0
- data/docs/DialogflowAgent.md +3 -2
- data/docs/Edge.md +1 -1
- data/docs/Email.md +1 -0
- data/docs/EntityListing.md +1 -5
- data/docs/ExternalContactsApi.md +1001 -144
- data/docs/FlowDivisionView.md +2 -0
- data/docs/IntentDefinition.md +15 -0
- data/docs/IntentFeedback.md +16 -0
- data/docs/ItemValidationLimits.md +14 -0
- data/docs/Items.md +14 -0
- data/docs/LanguageUnderstandingApi.md +1160 -0
- data/docs/MaxLength.md +14 -0
- data/docs/Message.md +1 -0
- data/docs/MinLength.md +14 -0
- data/docs/NamedEntityAnnotation.md +13 -0
- data/docs/NamedEntityTypeBinding.md +14 -0
- data/docs/NamedEntityTypeDefinition.md +15 -0
- data/docs/NamedEntityTypeItem.md +14 -0
- data/docs/NamedEntityTypeMechanism.md +15 -0
- data/docs/NluConfusionMatrixColumn.md +14 -0
- data/docs/NluConfusionMatrixRow.md +14 -0
- data/docs/NluDetectionContext.md +14 -0
- data/docs/NluDetectionInput.md +13 -0
- data/docs/NluDetectionOutput.md +14 -0
- data/docs/NluDetectionRequest.md +14 -0
- data/docs/NluDetectionResponse.md +15 -0
- data/docs/NluDomain.md +19 -0
- data/docs/NluDomainListing.md +22 -0
- data/docs/NluDomainVersion.md +24 -0
- data/docs/NluDomainVersionListing.md +22 -0
- data/docs/NluDomainVersionQualityReport.md +15 -0
- data/docs/NluDomainVersionTrainingResponse.md +14 -0
- data/docs/NluFeedbackListing.md +22 -0
- data/docs/NluFeedbackRequest.md +15 -0
- data/docs/NluFeedbackResponse.md +18 -0
- data/docs/NluQualityReportSummary.md +13 -0
- data/docs/NluQualityReportSummaryMetric.md +14 -0
- data/docs/NluUtterance.md +13 -0
- data/docs/NluUtteranceSegment.md +14 -0
- data/docs/QueueConversationCallbackEventTopicCallbackMediaParticipant.md +1 -0
- data/docs/QueueConversationEventTopicCallback.md +1 -0
- data/docs/QueueConversationSocialExpressionEventTopicCallback.md +1 -0
- data/docs/QueueConversationVideoEventTopicCallback.md +1 -0
- data/docs/ReportingExportJobRequest.md +1 -0
- data/docs/ReportingExportJobResponse.md +2 -0
- data/docs/RoutingApi.md +65 -0
- data/docs/SCIMApi.md +12 -12
- data/docs/Schema.md +17 -0
- data/docs/SchemaQuantityLimits.md +26 -0
- data/docs/ScimV2EnterpriseUser.md +1 -0
- data/docs/Screenshare.md +1 -0
- data/docs/SocialExpression.md +1 -0
- data/docs/{TimeOffRequestLookup.md → TimeOffRequest.md} +2 -2
- data/docs/TimeOffRequestListing.md +13 -0
- data/docs/UploadUrlRequest.md +15 -0
- data/docs/UploadUrlResponse.md +14 -0
- data/docs/UploadsApi.md +78 -0
- data/docs/ValidationLimits.md +18 -0
- data/docs/Video.md +1 -0
- data/docs/WorkforceManagementApi.md +297 -448
- data/lib/purecloudplatformclientv2.rb +50 -57
- data/lib/purecloudplatformclientv2/api/data_extensions_api.rb +207 -0
- data/lib/purecloudplatformclientv2/api/external_contacts_api.rb +868 -4
- data/lib/purecloudplatformclientv2/api/language_understanding_api.rb +1304 -0
- data/lib/purecloudplatformclientv2/api/routing_api.rb +64 -0
- data/lib/purecloudplatformclientv2/api/scim_api.rb +8 -8
- data/lib/purecloudplatformclientv2/api/uploads_api.rb +92 -0
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +314 -571
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +13 -13
- data/lib/purecloudplatformclientv2/models/bulk_update_shift_trade_state_result_item.rb +2 -2
- data/lib/purecloudplatformclientv2/models/call.rb +30 -4
- data/lib/purecloudplatformclientv2/models/call_basic.rb +30 -4
- data/lib/purecloudplatformclientv2/models/callback.rb +30 -4
- data/lib/purecloudplatformclientv2/models/callback_basic.rb +30 -4
- data/lib/purecloudplatformclientv2/models/cobrowsesession.rb +30 -4
- data/lib/purecloudplatformclientv2/models/{partial_upload_response.rb → context_entity.rb} +14 -9
- data/lib/purecloudplatformclientv2/models/{list_wrapper_wfm_forecast_modification.rb → context_intent.rb} +14 -10
- data/lib/purecloudplatformclientv2/models/conversation_callback_event_topic_callback_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_chat.rb +30 -4
- data/lib/purecloudplatformclientv2/models/conversation_event_topic_callback.rb +26 -1
- data/lib/purecloudplatformclientv2/models/{rescheduling_options_response.rb → coretype.rb} +97 -102
- data/lib/purecloudplatformclientv2/models/{service_goal_group_list.rb → coretype_listing.rb} +34 -11
- data/lib/purecloudplatformclientv2/models/data_schema_listing.rb +253 -0
- data/lib/purecloudplatformclientv2/models/{forecast_result_response.rb → detected_dialog_act.rb} +16 -16
- data/lib/purecloudplatformclientv2/models/{intraday_queue.rb → detected_intent.rb} +23 -23
- data/lib/purecloudplatformclientv2/models/detected_named_entity.rb +280 -0
- data/lib/purecloudplatformclientv2/models/detected_named_entity_value.rb +228 -0
- data/lib/purecloudplatformclientv2/models/dialogflow_agent.rb +31 -3
- data/lib/purecloudplatformclientv2/models/edge.rb +1 -0
- data/lib/purecloudplatformclientv2/models/email.rb +30 -4
- data/lib/purecloudplatformclientv2/models/entity_listing.rb +4 -104
- data/lib/purecloudplatformclientv2/models/flow_division_view.rb +53 -1
- data/lib/purecloudplatformclientv2/models/{create_service_goal_group_request.rb → intent_definition.rb} +30 -19
- data/lib/purecloudplatformclientv2/models/{wfm_intraday_queue_listing.rb → intent_feedback.rb} +71 -18
- data/lib/purecloudplatformclientv2/models/{service_goal_group_goals.rb → item_validation_limits.rb} +18 -45
- data/lib/purecloudplatformclientv2/models/{short_term_forecast_list_response.rb → items.rb} +33 -10
- data/lib/purecloudplatformclientv2/models/max_length.rb +238 -0
- data/lib/purecloudplatformclientv2/models/message.rb +30 -4
- data/lib/purecloudplatformclientv2/models/{forecast_generation_route_group_result.rb → min_length.rb} +26 -18
- data/lib/purecloudplatformclientv2/models/{list_wrapper_forecast_source_day_pointer.rb → named_entity_annotation.rb} +14 -10
- data/lib/purecloudplatformclientv2/models/{copy_short_term_forecast_request.rb → named_entity_type_binding.rb} +18 -19
- data/lib/purecloudplatformclientv2/models/{generate_week_schedule_request.rb → named_entity_type_definition.rb} +38 -13
- data/lib/purecloudplatformclientv2/models/{wfm_abandon_rate.rb → named_entity_type_item.rb} +19 -18
- data/lib/purecloudplatformclientv2/models/{short_term_forecast_response.rb → named_entity_type_mechanism.rb} +48 -36
- data/lib/purecloudplatformclientv2/models/{copy_week_schedule_request.rb → nlu_confusion_matrix_column.rb} +18 -18
- data/lib/purecloudplatformclientv2/models/{wfm_average_speed_of_answer.rb → nlu_confusion_matrix_row.rb} +24 -18
- data/lib/purecloudplatformclientv2/models/nlu_detection_context.rb +228 -0
- data/lib/purecloudplatformclientv2/models/{scheduling_run_list_response.rb → nlu_detection_input.rb} +14 -10
- data/lib/purecloudplatformclientv2/models/nlu_detection_output.rb +232 -0
- data/lib/purecloudplatformclientv2/models/nlu_detection_request.rb +233 -0
- data/lib/purecloudplatformclientv2/models/{route_group_list.rb → nlu_detection_response.rb} +39 -22
- data/lib/purecloudplatformclientv2/models/{short_term_forecast_list_item_response.rb → nlu_domain.rb} +66 -60
- data/lib/purecloudplatformclientv2/models/{intraday_query_data_command.rb → nlu_domain_listing.rb} +156 -53
- data/lib/purecloudplatformclientv2/models/{short_term_forecast.rb → nlu_domain_version.rb} +132 -87
- data/lib/purecloudplatformclientv2/models/nlu_domain_version_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/{intraday_metric.rb → nlu_domain_version_quality_report.rb} +57 -28
- data/lib/purecloudplatformclientv2/models/{user_schedules_partial_upload_request.rb → nlu_domain_version_training_response.rb} +33 -16
- data/lib/purecloudplatformclientv2/models/{import_week_schedule_request.rb → nlu_feedback_listing.rb} +158 -46
- data/lib/purecloudplatformclientv2/models/{wfm_service_level.rb → nlu_feedback_request.rb} +36 -25
- data/lib/purecloudplatformclientv2/models/{service_goal_group.rb → nlu_feedback_response.rb} +32 -37
- data/lib/purecloudplatformclientv2/models/{generate_short_term_forecast_request.rb → nlu_quality_report_summary.rb} +12 -10
- data/lib/purecloudplatformclientv2/models/nlu_quality_report_summary_metric.rb +238 -0
- data/lib/purecloudplatformclientv2/models/nlu_utterance.rb +209 -0
- data/lib/purecloudplatformclientv2/models/nlu_utterance_segment.rb +233 -0
- data/lib/purecloudplatformclientv2/models/queue_conversation_callback_event_topic_callback_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_event_topic_callback.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_social_expression_event_topic_callback.rb +26 -1
- data/lib/purecloudplatformclientv2/models/queue_conversation_video_event_topic_callback.rb +26 -1
- data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +32 -4
- data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +57 -1
- data/lib/purecloudplatformclientv2/models/{import_short_term_forecast_request.rb → schema.rb} +50 -35
- data/lib/purecloudplatformclientv2/models/schema_quantity_limits.rb +539 -0
- data/lib/purecloudplatformclientv2/models/scim_v2_enterprise_user.rb +30 -4
- data/lib/purecloudplatformclientv2/models/screenshare.rb +30 -4
- data/lib/purecloudplatformclientv2/models/shift_trade_match_violation.rb +2 -2
- data/lib/purecloudplatformclientv2/models/social_expression.rb +30 -4
- data/lib/purecloudplatformclientv2/models/{time_off_request_lookup.rb → time_off_request.rb} +1 -1
- data/lib/purecloudplatformclientv2/models/{time_off_request_lookup_list.rb → time_off_request_listing.rb} +2 -2
- data/lib/purecloudplatformclientv2/models/{create_queue_media_association_request.rb → upload_url_request.rb} +23 -26
- data/lib/purecloudplatformclientv2/models/upload_url_response.rb +230 -0
- data/lib/purecloudplatformclientv2/models/{wfm_forecast_modification_attributes.rb → validation_limits.rb} +76 -38
- data/lib/purecloudplatformclientv2/models/video.rb +30 -4
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +102 -116
- data/docs/AsyncWeekScheduleResponse.md +0 -16
- data/docs/CopyShortTermForecastRequest.md +0 -14
- data/docs/CopyWeekScheduleRequest.md +0 -14
- data/docs/CreateQueueMediaAssociationRequest.md +0 -15
- data/docs/CreateServiceGoalGroupRequest.md +0 -15
- data/docs/ForecastGenerationResult.md +0 -13
- data/docs/ForecastGenerationRouteGroupResult.md +0 -14
- data/docs/ForecastResultResponse.md +0 -14
- data/docs/ForecastTimeSeriesResult.md +0 -14
- data/docs/GenerateShortTermForecastRequest.md +0 -13
- data/docs/GenerateShortTermForecastResponse.md +0 -16
- data/docs/GenerateWeekScheduleRequest.md +0 -14
- data/docs/GenerateWeekScheduleResponse.md +0 -15
- data/docs/ImportShortTermForecastRequest.md +0 -16
- data/docs/ImportWeekScheduleRequest.md +0 -17
- data/docs/IntradayDataGroup.md +0 -19
- data/docs/IntradayForecastData.md +0 -15
- data/docs/IntradayHistoricalAgentData.md +0 -14
- data/docs/IntradayHistoricalQueueData.md +0 -20
- data/docs/IntradayMetric.md +0 -14
- data/docs/IntradayPerformancePredictionAgentData.md +0 -13
- data/docs/IntradayPerformancePredictionQueueData.md +0 -15
- data/docs/IntradayQueryDataCommand.md +0 -17
- data/docs/IntradayQueue.md +0 -15
- data/docs/IntradayResponse.md +0 -20
- data/docs/IntradayScheduleData.md +0 -14
- data/docs/ListWrapperForecastSourceDayPointer.md +0 -13
- data/docs/ListWrapperWfmForecastModification.md +0 -13
- data/docs/QueueMediaAssociation.md +0 -16
- data/docs/RescheduleRequest.md +0 -20
- data/docs/RescheduleResult.md +0 -13
- data/docs/ReschedulingOptionsResponse.md +0 -22
- data/docs/RouteGroup.md +0 -18
- data/docs/RouteGroupAttributes.md +0 -16
- data/docs/RouteGroupList.md +0 -14
- data/docs/SchedulingRunListResponse.md +0 -13
- data/docs/SchedulingRunResponse.md +0 -28
- data/docs/ServiceGoalGroup.md +0 -18
- data/docs/ServiceGoalGroupGoals.md +0 -15
- data/docs/ServiceGoalGroupList.md +0 -14
- data/docs/ShortTermForecast.md +0 -22
- data/docs/ShortTermForecastListItemResponse.md +0 -18
- data/docs/ShortTermForecastListResponse.md +0 -13
- data/docs/ShortTermForecastResponse.md +0 -15
- data/docs/TimeOffRequestEntityList.md +0 -13
- data/docs/TimeOffRequestLookupList.md +0 -13
- data/docs/UnscheduledAgentWarning.md +0 -14
- data/docs/UpdateWeekScheduleRequest.md +0 -21
- data/docs/UserSchedulesPartialUploadRequest.md +0 -13
- data/docs/WfmAbandonRate.md +0 -14
- data/docs/WfmAverageSpeedOfAnswer.md +0 -14
- data/docs/WfmForecastModification.md +0 -20
- data/docs/WfmForecastModificationAttributes.md +0 -16
- data/docs/WfmIntradayQueueListing.md +0 -14
- data/docs/WfmServiceLevel.md +0 -15
- data/lib/purecloudplatformclientv2/models/async_week_schedule_response.rb +0 -295
- data/lib/purecloudplatformclientv2/models/forecast_generation_result.rb +0 -204
- data/lib/purecloudplatformclientv2/models/forecast_time_series_result.rb +0 -256
- data/lib/purecloudplatformclientv2/models/generate_short_term_forecast_response.rb +0 -294
- data/lib/purecloudplatformclientv2/models/generate_week_schedule_response.rb +0 -269
- data/lib/purecloudplatformclientv2/models/intraday_data_group.rb +0 -384
- data/lib/purecloudplatformclientv2/models/intraday_forecast_data.rb +0 -254
- data/lib/purecloudplatformclientv2/models/intraday_historical_agent_data.rb +0 -228
- data/lib/purecloudplatformclientv2/models/intraday_historical_queue_data.rb +0 -384
- data/lib/purecloudplatformclientv2/models/intraday_performance_prediction_agent_data.rb +0 -202
- data/lib/purecloudplatformclientv2/models/intraday_performance_prediction_queue_data.rb +0 -254
- data/lib/purecloudplatformclientv2/models/intraday_response.rb +0 -404
- data/lib/purecloudplatformclientv2/models/intraday_schedule_data.rb +0 -228
- data/lib/purecloudplatformclientv2/models/queue_media_association.rb +0 -283
- data/lib/purecloudplatformclientv2/models/reschedule_request.rb +0 -418
- data/lib/purecloudplatformclientv2/models/reschedule_result.rb +0 -202
- data/lib/purecloudplatformclientv2/models/route_group.rb +0 -363
- data/lib/purecloudplatformclientv2/models/route_group_attributes.rb +0 -307
- data/lib/purecloudplatformclientv2/models/scheduling_run_response.rb +0 -609
- data/lib/purecloudplatformclientv2/models/time_off_request_entity_list.rb +0 -203
- data/lib/purecloudplatformclientv2/models/unscheduled_agent_warning.rb +0 -242
- data/lib/purecloudplatformclientv2/models/update_week_schedule_request.rb +0 -438
- data/lib/purecloudplatformclientv2/models/wfm_forecast_modification.rb +0 -435
@@ -76,7 +76,7 @@ module PureCloud
|
|
76
76
|
http_method = http_method.to_sym.downcase
|
77
77
|
|
78
78
|
header_params = @default_headers.merge(opts[:header_params] || {})
|
79
|
-
header_params['purecloud-sdk'] = '
|
79
|
+
header_params['purecloud-sdk'] = '86.0.0'
|
80
80
|
query_params = opts[:query_params] || {}
|
81
81
|
form_params = opts[:form_params] || {}
|
82
82
|
|
@@ -51,10 +51,10 @@ module PureCloud
|
|
51
51
|
# Whether this evaluation has been deleted
|
52
52
|
attr_accessor :deleted
|
53
53
|
|
54
|
-
attr_accessor :o_total_score
|
55
|
-
|
56
54
|
attr_accessor :o_total_critical_score
|
57
55
|
|
56
|
+
attr_accessor :o_total_score
|
57
|
+
|
58
58
|
# Attribute mapping from ruby-style variable name to JSON key.
|
59
59
|
def self.attribute_map
|
60
60
|
{
|
@@ -81,9 +81,9 @@ module PureCloud
|
|
81
81
|
|
82
82
|
:'deleted' => :'deleted',
|
83
83
|
|
84
|
-
:'
|
84
|
+
:'o_total_critical_score' => :'oTotalCriticalScore',
|
85
85
|
|
86
|
-
:'
|
86
|
+
:'o_total_score' => :'oTotalScore'
|
87
87
|
|
88
88
|
}
|
89
89
|
end
|
@@ -114,9 +114,9 @@ module PureCloud
|
|
114
114
|
|
115
115
|
:'deleted' => :'BOOLEAN',
|
116
116
|
|
117
|
-
:'
|
117
|
+
:'o_total_critical_score' => :'Integer',
|
118
118
|
|
119
|
-
:'
|
119
|
+
:'o_total_score' => :'Integer'
|
120
120
|
|
121
121
|
}
|
122
122
|
end
|
@@ -229,19 +229,19 @@ module PureCloud
|
|
229
229
|
end
|
230
230
|
|
231
231
|
|
232
|
-
if attributes.has_key?(:'
|
232
|
+
if attributes.has_key?(:'oTotalCriticalScore')
|
233
233
|
|
234
234
|
|
235
|
-
self.
|
235
|
+
self.o_total_critical_score = attributes[:'oTotalCriticalScore']
|
236
236
|
|
237
237
|
|
238
238
|
end
|
239
239
|
|
240
240
|
|
241
|
-
if attributes.has_key?(:'
|
241
|
+
if attributes.has_key?(:'oTotalScore')
|
242
242
|
|
243
243
|
|
244
|
-
self.
|
244
|
+
self.o_total_score = attributes[:'oTotalScore']
|
245
245
|
|
246
246
|
|
247
247
|
end
|
@@ -398,8 +398,8 @@ module PureCloud
|
|
398
398
|
calibration_id == o.calibration_id &&
|
399
399
|
rescored == o.rescored &&
|
400
400
|
deleted == o.deleted &&
|
401
|
-
|
402
|
-
|
401
|
+
o_total_critical_score == o.o_total_critical_score &&
|
402
|
+
o_total_score == o.o_total_score
|
403
403
|
end
|
404
404
|
|
405
405
|
# @see the `==` method
|
@@ -411,7 +411,7 @@ module PureCloud
|
|
411
411
|
# Calculates hash code according to all attributes.
|
412
412
|
# @return [Fixnum] Hash code
|
413
413
|
def hash
|
414
|
-
[evaluation_id, evaluator_id, user_id, event_time, queue_id, form_id, context_id, form_name, calibration_id, rescored, deleted,
|
414
|
+
[evaluation_id, evaluator_id, user_id, event_time, queue_id, form_id, context_id, form_name, calibration_id, rescored, deleted, o_total_critical_score, o_total_score].hash
|
415
415
|
end
|
416
416
|
|
417
417
|
# build the object from hash
|
@@ -175,7 +175,7 @@ module PureCloud
|
|
175
175
|
|
176
176
|
|
177
177
|
|
178
|
-
allowed_values = ["InitiatingAgentScheduleNotFound", "InitiatingAgentShiftNotFound", "ReceivingAgentNotFound", "ReceivingAgentScheduleNotFound", "ReceivingAgentShiftNotFound", "ScheduleNotPublished", "TransitionNotAllowed"]
|
178
|
+
allowed_values = ["InitiatingAgentScheduleNotFound", "InitiatingAgentShiftHasExternalActivities", "InitiatingAgentShiftNotFound", "ReceivingAgentNotFound", "ReceivingAgentScheduleNotFound", "ReceivingAgentShiftHasExternalActivities", "ReceivingAgentShiftNotFound", "ScheduleNotPublished", "TransitionNotAllowed"]
|
179
179
|
if @failure_reason && !allowed_values.include?(@failure_reason)
|
180
180
|
return false
|
181
181
|
end
|
@@ -222,7 +222,7 @@ module PureCloud
|
|
222
222
|
# Custom attribute writer method checking allowed values (enum).
|
223
223
|
# @param [Object] failure_reason Object to be assigned
|
224
224
|
def failure_reason=(failure_reason)
|
225
|
-
allowed_values = ["InitiatingAgentScheduleNotFound", "InitiatingAgentShiftNotFound", "ReceivingAgentNotFound", "ReceivingAgentScheduleNotFound", "ReceivingAgentShiftNotFound", "ScheduleNotPublished", "TransitionNotAllowed"]
|
225
|
+
allowed_values = ["InitiatingAgentScheduleNotFound", "InitiatingAgentShiftHasExternalActivities", "InitiatingAgentShiftNotFound", "ReceivingAgentNotFound", "ReceivingAgentScheduleNotFound", "ReceivingAgentShiftHasExternalActivities", "ReceivingAgentShiftNotFound", "ScheduleNotPublished", "TransitionNotAllowed"]
|
226
226
|
if failure_reason && !allowed_values.include?(failure_reason)
|
227
227
|
fail ArgumentError, "invalid value for 'failure_reason', must be one of #{allowed_values}."
|
228
228
|
end
|
@@ -92,6 +92,9 @@ module PureCloud
|
|
92
92
|
# Address and name data for a call endpoint.
|
93
93
|
attr_accessor :other
|
94
94
|
|
95
|
+
# Call wrap up or disposition data.
|
96
|
+
attr_accessor :wrapup
|
97
|
+
|
95
98
|
# Attribute mapping from ruby-style variable name to JSON key.
|
96
99
|
def self.attribute_map
|
97
100
|
{
|
@@ -144,7 +147,9 @@ module PureCloud
|
|
144
147
|
|
145
148
|
:'_self' => :'self',
|
146
149
|
|
147
|
-
:'other' => :'other'
|
150
|
+
:'other' => :'other',
|
151
|
+
|
152
|
+
:'wrapup' => :'wrapup'
|
148
153
|
|
149
154
|
}
|
150
155
|
end
|
@@ -201,7 +206,9 @@ module PureCloud
|
|
201
206
|
|
202
207
|
:'_self' => :'Address',
|
203
208
|
|
204
|
-
:'other' => :'Address'
|
209
|
+
:'other' => :'Address',
|
210
|
+
|
211
|
+
:'wrapup' => :'Wrapup'
|
205
212
|
|
206
213
|
}
|
207
214
|
end
|
@@ -444,6 +451,15 @@ module PureCloud
|
|
444
451
|
end
|
445
452
|
|
446
453
|
|
454
|
+
if attributes.has_key?(:'wrapup')
|
455
|
+
|
456
|
+
|
457
|
+
self.wrapup = attributes[:'wrapup']
|
458
|
+
|
459
|
+
|
460
|
+
end
|
461
|
+
|
462
|
+
|
447
463
|
end
|
448
464
|
|
449
465
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -574,6 +590,10 @@ module PureCloud
|
|
574
590
|
|
575
591
|
|
576
592
|
|
593
|
+
|
594
|
+
|
595
|
+
|
596
|
+
|
577
597
|
|
578
598
|
|
579
599
|
|
@@ -737,6 +757,11 @@ module PureCloud
|
|
737
757
|
|
738
758
|
|
739
759
|
|
760
|
+
|
761
|
+
|
762
|
+
|
763
|
+
|
764
|
+
|
740
765
|
|
741
766
|
|
742
767
|
|
@@ -772,7 +797,8 @@ module PureCloud
|
|
772
797
|
peer_id == o.peer_id &&
|
773
798
|
uui_data == o.uui_data &&
|
774
799
|
_self == o._self &&
|
775
|
-
other == o.other
|
800
|
+
other == o.other &&
|
801
|
+
wrapup == o.wrapup
|
776
802
|
end
|
777
803
|
|
778
804
|
# @see the `==` method
|
@@ -784,7 +810,7 @@ module PureCloud
|
|
784
810
|
# Calculates hash code according to all attributes.
|
785
811
|
# @return [Fixnum] Hash code
|
786
812
|
def hash
|
787
|
-
[state, id, direction, recording, recording_state, muted, confined, held, recording_id, segments, error_info, disconnect_type, start_hold_time, document_id, start_alerting_time, connected_time, disconnected_time, disconnect_reasons, fax_status, provider, script_id, peer_id, uui_data, _self, other].hash
|
813
|
+
[state, id, direction, recording, recording_state, muted, confined, held, recording_id, segments, error_info, disconnect_type, start_hold_time, document_id, start_alerting_time, connected_time, disconnected_time, disconnect_reasons, fax_status, provider, script_id, peer_id, uui_data, _self, other, wrapup].hash
|
788
814
|
end
|
789
815
|
|
790
816
|
# build the object from hash
|
@@ -92,6 +92,9 @@ module PureCloud
|
|
92
92
|
# Address and name data for a call endpoint.
|
93
93
|
attr_accessor :other
|
94
94
|
|
95
|
+
# Call wrap up or disposition data.
|
96
|
+
attr_accessor :wrapup
|
97
|
+
|
95
98
|
# Attribute mapping from ruby-style variable name to JSON key.
|
96
99
|
def self.attribute_map
|
97
100
|
{
|
@@ -144,7 +147,9 @@ module PureCloud
|
|
144
147
|
|
145
148
|
:'_self' => :'self',
|
146
149
|
|
147
|
-
:'other' => :'other'
|
150
|
+
:'other' => :'other',
|
151
|
+
|
152
|
+
:'wrapup' => :'wrapup'
|
148
153
|
|
149
154
|
}
|
150
155
|
end
|
@@ -201,7 +206,9 @@ module PureCloud
|
|
201
206
|
|
202
207
|
:'_self' => :'Address',
|
203
208
|
|
204
|
-
:'other' => :'Address'
|
209
|
+
:'other' => :'Address',
|
210
|
+
|
211
|
+
:'wrapup' => :'Wrapup'
|
205
212
|
|
206
213
|
}
|
207
214
|
end
|
@@ -444,6 +451,15 @@ module PureCloud
|
|
444
451
|
end
|
445
452
|
|
446
453
|
|
454
|
+
if attributes.has_key?(:'wrapup')
|
455
|
+
|
456
|
+
|
457
|
+
self.wrapup = attributes[:'wrapup']
|
458
|
+
|
459
|
+
|
460
|
+
end
|
461
|
+
|
462
|
+
|
447
463
|
end
|
448
464
|
|
449
465
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -574,6 +590,10 @@ module PureCloud
|
|
574
590
|
|
575
591
|
|
576
592
|
|
593
|
+
|
594
|
+
|
595
|
+
|
596
|
+
|
577
597
|
|
578
598
|
|
579
599
|
|
@@ -737,6 +757,11 @@ module PureCloud
|
|
737
757
|
|
738
758
|
|
739
759
|
|
760
|
+
|
761
|
+
|
762
|
+
|
763
|
+
|
764
|
+
|
740
765
|
|
741
766
|
|
742
767
|
|
@@ -772,7 +797,8 @@ module PureCloud
|
|
772
797
|
peer_id == o.peer_id &&
|
773
798
|
uui_data == o.uui_data &&
|
774
799
|
_self == o._self &&
|
775
|
-
other == o.other
|
800
|
+
other == o.other &&
|
801
|
+
wrapup == o.wrapup
|
776
802
|
end
|
777
803
|
|
778
804
|
# @see the `==` method
|
@@ -784,7 +810,7 @@ module PureCloud
|
|
784
810
|
# Calculates hash code according to all attributes.
|
785
811
|
# @return [Fixnum] Hash code
|
786
812
|
def hash
|
787
|
-
[state, id, direction, recording, recording_state, muted, confined, held, recording_id, segments, error_info, disconnect_type, start_hold_time, document_id, start_alerting_time, connected_time, disconnected_time, disconnect_reasons, fax_status, provider, script_id, peer_id, uui_data, _self, other].hash
|
813
|
+
[state, id, direction, recording, recording_state, muted, confined, held, recording_id, segments, error_info, disconnect_type, start_hold_time, document_id, start_alerting_time, connected_time, disconnected_time, disconnect_reasons, fax_status, provider, script_id, peer_id, uui_data, _self, other, wrapup].hash
|
788
814
|
end
|
789
815
|
|
790
816
|
# build the object from hash
|
@@ -84,6 +84,9 @@ module PureCloud
|
|
84
84
|
# The id of the peer communication corresponding to a matching leg for this communication.
|
85
85
|
attr_accessor :peer_id
|
86
86
|
|
87
|
+
# Call wrap up or disposition data.
|
88
|
+
attr_accessor :wrapup
|
89
|
+
|
87
90
|
# Attribute mapping from ruby-style variable name to JSON key.
|
88
91
|
def self.attribute_map
|
89
92
|
{
|
@@ -130,7 +133,9 @@ module PureCloud
|
|
130
133
|
|
131
134
|
:'provider' => :'provider',
|
132
135
|
|
133
|
-
:'peer_id' => :'peerId'
|
136
|
+
:'peer_id' => :'peerId',
|
137
|
+
|
138
|
+
:'wrapup' => :'wrapup'
|
134
139
|
|
135
140
|
}
|
136
141
|
end
|
@@ -181,7 +186,9 @@ module PureCloud
|
|
181
186
|
|
182
187
|
:'provider' => :'String',
|
183
188
|
|
184
|
-
:'peer_id' => :'String'
|
189
|
+
:'peer_id' => :'String',
|
190
|
+
|
191
|
+
:'wrapup' => :'Wrapup'
|
185
192
|
|
186
193
|
}
|
187
194
|
end
|
@@ -397,6 +404,15 @@ module PureCloud
|
|
397
404
|
end
|
398
405
|
|
399
406
|
|
407
|
+
if attributes.has_key?(:'wrapup')
|
408
|
+
|
409
|
+
|
410
|
+
self.wrapup = attributes[:'wrapup']
|
411
|
+
|
412
|
+
|
413
|
+
end
|
414
|
+
|
415
|
+
|
400
416
|
end
|
401
417
|
|
402
418
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -510,6 +526,10 @@ module PureCloud
|
|
510
526
|
|
511
527
|
|
512
528
|
|
529
|
+
|
530
|
+
|
531
|
+
|
532
|
+
|
513
533
|
|
514
534
|
|
515
535
|
|
@@ -649,6 +669,11 @@ module PureCloud
|
|
649
669
|
|
650
670
|
|
651
671
|
|
672
|
+
|
673
|
+
|
674
|
+
|
675
|
+
|
676
|
+
|
652
677
|
|
653
678
|
|
654
679
|
|
@@ -681,7 +706,8 @@ module PureCloud
|
|
681
706
|
callback_scheduled_time == o.callback_scheduled_time &&
|
682
707
|
automated_callback_config_id == o.automated_callback_config_id &&
|
683
708
|
provider == o.provider &&
|
684
|
-
peer_id == o.peer_id
|
709
|
+
peer_id == o.peer_id &&
|
710
|
+
wrapup == o.wrapup
|
685
711
|
end
|
686
712
|
|
687
713
|
# @see the `==` method
|
@@ -693,7 +719,7 @@ module PureCloud
|
|
693
719
|
# Calculates hash code according to all attributes.
|
694
720
|
# @return [Fixnum] Hash code
|
695
721
|
def hash
|
696
|
-
[state, id, segments, direction, held, disconnect_type, start_hold_time, dialer_preview, voicemail, callback_numbers, callback_user_name, script_id, external_campaign, skip_enabled, timeout_seconds, start_alerting_time, connected_time, disconnected_time, callback_scheduled_time, automated_callback_config_id, provider, peer_id].hash
|
722
|
+
[state, id, segments, direction, held, disconnect_type, start_hold_time, dialer_preview, voicemail, callback_numbers, callback_user_name, script_id, external_campaign, skip_enabled, timeout_seconds, start_alerting_time, connected_time, disconnected_time, callback_scheduled_time, automated_callback_config_id, provider, peer_id, wrapup].hash
|
697
723
|
end
|
698
724
|
|
699
725
|
# build the object from hash
|
@@ -84,6 +84,9 @@ module PureCloud
|
|
84
84
|
# The id of the peer communication corresponding to a matching leg for this communication.
|
85
85
|
attr_accessor :peer_id
|
86
86
|
|
87
|
+
# Call wrap up or disposition data.
|
88
|
+
attr_accessor :wrapup
|
89
|
+
|
87
90
|
# Attribute mapping from ruby-style variable name to JSON key.
|
88
91
|
def self.attribute_map
|
89
92
|
{
|
@@ -130,7 +133,9 @@ module PureCloud
|
|
130
133
|
|
131
134
|
:'provider' => :'provider',
|
132
135
|
|
133
|
-
:'peer_id' => :'peerId'
|
136
|
+
:'peer_id' => :'peerId',
|
137
|
+
|
138
|
+
:'wrapup' => :'wrapup'
|
134
139
|
|
135
140
|
}
|
136
141
|
end
|
@@ -181,7 +186,9 @@ module PureCloud
|
|
181
186
|
|
182
187
|
:'provider' => :'String',
|
183
188
|
|
184
|
-
:'peer_id' => :'String'
|
189
|
+
:'peer_id' => :'String',
|
190
|
+
|
191
|
+
:'wrapup' => :'Wrapup'
|
185
192
|
|
186
193
|
}
|
187
194
|
end
|
@@ -397,6 +404,15 @@ module PureCloud
|
|
397
404
|
end
|
398
405
|
|
399
406
|
|
407
|
+
if attributes.has_key?(:'wrapup')
|
408
|
+
|
409
|
+
|
410
|
+
self.wrapup = attributes[:'wrapup']
|
411
|
+
|
412
|
+
|
413
|
+
end
|
414
|
+
|
415
|
+
|
400
416
|
end
|
401
417
|
|
402
418
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -510,6 +526,10 @@ module PureCloud
|
|
510
526
|
|
511
527
|
|
512
528
|
|
529
|
+
|
530
|
+
|
531
|
+
|
532
|
+
|
513
533
|
|
514
534
|
|
515
535
|
|
@@ -649,6 +669,11 @@ module PureCloud
|
|
649
669
|
|
650
670
|
|
651
671
|
|
672
|
+
|
673
|
+
|
674
|
+
|
675
|
+
|
676
|
+
|
652
677
|
|
653
678
|
|
654
679
|
|
@@ -681,7 +706,8 @@ module PureCloud
|
|
681
706
|
callback_scheduled_time == o.callback_scheduled_time &&
|
682
707
|
automated_callback_config_id == o.automated_callback_config_id &&
|
683
708
|
provider == o.provider &&
|
684
|
-
peer_id == o.peer_id
|
709
|
+
peer_id == o.peer_id &&
|
710
|
+
wrapup == o.wrapup
|
685
711
|
end
|
686
712
|
|
687
713
|
# @see the `==` method
|
@@ -693,7 +719,7 @@ module PureCloud
|
|
693
719
|
# Calculates hash code according to all attributes.
|
694
720
|
# @return [Fixnum] Hash code
|
695
721
|
def hash
|
696
|
-
[state, id, segments, direction, held, disconnect_type, start_hold_time, dialer_preview, voicemail, callback_numbers, callback_user_name, script_id, external_campaign, skip_enabled, timeout_seconds, start_alerting_time, connected_time, disconnected_time, callback_scheduled_time, automated_callback_config_id, provider, peer_id].hash
|
722
|
+
[state, id, segments, direction, held, disconnect_type, start_hold_time, dialer_preview, voicemail, callback_numbers, callback_user_name, script_id, external_campaign, skip_enabled, timeout_seconds, start_alerting_time, connected_time, disconnected_time, callback_scheduled_time, automated_callback_config_id, provider, peer_id, wrapup].hash
|
697
723
|
end
|
698
724
|
|
699
725
|
# build the object from hash
|