purecloudplatformclientv2 15.0.0 → 16.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/Action.md +21 -0
- data/docs/ActionConfig.md +14 -0
- data/docs/ActionContract.md +14 -0
- data/docs/ActionContractInput.md +14 -0
- data/docs/ActionEntityListing.md +22 -0
- data/docs/ActionInput.md +15 -0
- data/docs/ActionOutput.md +18 -0
- data/docs/ActiveAlertCount.md +13 -0
- data/docs/AggregationQuery.md +1 -1
- data/docs/AlertingApi.md +54 -0
- data/docs/ArchitectApi.md +31 -25
- data/docs/CallConversationNotificationCallMediaParticipant.md +1 -0
- data/docs/CallConversationNotificationParticipants.md +1 -0
- data/docs/CallbackConversationNotificationCallbackMediaParticipant.md +1 -0
- data/docs/CallbackConversationNotificationParticipants.md +1 -0
- data/docs/Category.md +13 -0
- data/docs/CategoryEntityListing.md +17 -0
- data/docs/ChatConversationNotificationChatMediaParticipant.md +1 -0
- data/docs/ChatConversationNotificationParticipants.md +1 -0
- data/docs/CobrowseConversationNotificationCobrowseMediaParticipant.md +1 -0
- data/docs/CobrowseConversationNotificationParticipants.md +1 -0
- data/docs/ConversationNotificationCall.md +1 -0
- data/docs/ConversationNotificationCalls.md +1 -0
- data/docs/ConversationNotificationEmail.md +1 -0
- data/docs/ConversationNotificationEmails.md +1 -0
- data/docs/ConversationNotificationParticipant.md +1 -0
- data/docs/ConversationNotificationParticipants.md +1 -0
- data/docs/ConversationsApi.md +3 -3
- data/docs/Document.md +1 -1
- data/docs/DomainOrganizationRole.md +1 -1
- data/docs/DomainOrganizationRoleCreate.md +1 -1
- data/docs/DomainOrganizationRoleUpdate.md +1 -1
- data/docs/DraftValidationResult.md +14 -0
- data/docs/EmailConversationNotificationEmailMediaParticipant.md +2 -0
- data/docs/EmailConversationNotificationParticipants.md +2 -0
- data/docs/FaxDocument.md +1 -1
- data/docs/IntegrationsApi.md +1355 -0
- data/docs/JsonNode.md +4 -4
- data/docs/ManagementUnit.md +1 -1
- data/docs/ManagementUnitListing.md +22 -0
- data/docs/OutboundApi.md +59 -0
- data/docs/PostActionInput.md +18 -0
- data/docs/PostInputContract.md +13 -0
- data/docs/PostOutputContract.md +13 -0
- data/docs/PublishDraftInput.md +13 -0
- data/docs/RecordingApi.md +123 -0
- data/docs/RequestConfig.md +17 -0
- data/docs/ResponseConfig.md +15 -0
- data/docs/ScreenShareConversationNotificationParticipants.md +1 -0
- data/docs/ScreenShareConversationNotificationScreenShareMediaParticipant.md +1 -0
- data/docs/SocialConversationNotificationParticipants.md +1 -0
- data/docs/SocialConversationNotificationSocialMediaParticipant.md +1 -0
- data/docs/TestExecutionOperationResult.md +17 -0
- data/docs/TestExecutionResult.md +16 -0
- data/docs/UpdateActionInput.md +16 -0
- data/docs/UpdateDraftInput.md +18 -0
- data/docs/VideoConversationNotificationParticipants.md +1 -0
- data/docs/VideoConversationNotificationVideoMediaParticipant.md +1 -0
- data/docs/WorkforceManagementApi.md +2 -4
- data/lib/purecloudplatformclientv2.rb +23 -1
- data/lib/purecloudplatformclientv2/api/alerting_api.rb +55 -0
- data/lib/purecloudplatformclientv2/api/architect_api.rb +52 -20
- data/lib/purecloudplatformclientv2/api/conversations_api.rb +2 -2
- data/lib/purecloudplatformclientv2/api/integrations_api.rb +1723 -0
- data/lib/purecloudplatformclientv2/api/outbound_api.rb +65 -0
- data/lib/purecloudplatformclientv2/api/recording_api.rb +140 -0
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +3 -12
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/action.rb +409 -0
- data/lib/purecloudplatformclientv2/models/action_config.rb +229 -0
- data/lib/purecloudplatformclientv2/models/action_contract.rb +229 -0
- data/lib/purecloudplatformclientv2/models/action_contract_input.rb +239 -0
- data/lib/purecloudplatformclientv2/models/action_entity_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/action_input.rb +255 -0
- data/lib/purecloudplatformclientv2/models/action_output.rb +333 -0
- data/lib/purecloudplatformclientv2/models/active_alert_count.rb +202 -0
- data/lib/purecloudplatformclientv2/models/aggregation_query.rb +1 -1
- data/lib/purecloudplatformclientv2/models/call_conversation_notification_call_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/call_conversation_notification_participants.rb +26 -1
- data/lib/purecloudplatformclientv2/models/callback_conversation_notification_callback_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/callback_conversation_notification_participants.rb +26 -1
- data/lib/purecloudplatformclientv2/models/category.rb +203 -0
- data/lib/purecloudplatformclientv2/models/category_entity_listing.rb +303 -0
- data/lib/purecloudplatformclientv2/models/chat_conversation_notification_chat_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/chat_conversation_notification_participants.rb +26 -1
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_notification_cobrowse_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_notification_participants.rb +26 -1
- data/lib/purecloudplatformclientv2/models/condition.rb +2 -2
- data/lib/purecloudplatformclientv2/models/conversation_notification_call.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_calls.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_email.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_emails.rb +26 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_participant.rb +40 -1
- data/lib/purecloudplatformclientv2/models/conversation_notification_participants.rb +40 -1
- data/lib/purecloudplatformclientv2/models/dependency.rb +2 -2
- data/lib/purecloudplatformclientv2/models/dependency_object.rb +2 -2
- data/lib/purecloudplatformclientv2/models/document.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +12 -12
- data/lib/purecloudplatformclientv2/models/draft_validation_result.rb +231 -0
- data/lib/purecloudplatformclientv2/models/email_conversation_notification_email_media_participant.rb +54 -4
- data/lib/purecloudplatformclientv2/models/email_conversation_notification_participants.rb +54 -4
- data/lib/purecloudplatformclientv2/models/fax_document.rb +12 -12
- data/lib/purecloudplatformclientv2/models/flow.rb +2 -2
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert.rb +2 -2
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule.rb +2 -2
- data/lib/purecloudplatformclientv2/models/json_node.rb +72 -72
- data/lib/purecloudplatformclientv2/models/management_unit.rb +7 -7
- data/lib/purecloudplatformclientv2/models/management_unit_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/post_action_input.rb +358 -0
- data/lib/purecloudplatformclientv2/models/post_input_contract.rb +208 -0
- data/lib/purecloudplatformclientv2/models/post_output_contract.rb +208 -0
- data/lib/purecloudplatformclientv2/models/publish_draft_input.rb +208 -0
- data/lib/purecloudplatformclientv2/models/request_config.rb +309 -0
- data/lib/purecloudplatformclientv2/models/response_config.rb +257 -0
- data/lib/purecloudplatformclientv2/models/screen_share_conversation_notification_participants.rb +26 -1
- data/lib/purecloudplatformclientv2/models/screen_share_conversation_notification_screen_share_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/social_conversation_notification_participants.rb +26 -1
- data/lib/purecloudplatformclientv2/models/social_conversation_notification_social_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/models/test_execution_operation_result.rb +306 -0
- data/lib/purecloudplatformclientv2/models/test_execution_result.rb +282 -0
- data/lib/purecloudplatformclientv2/models/{publish_flow_notification_notification.rb → update_action_input.rb} +35 -26
- data/lib/purecloudplatformclientv2/models/update_draft_input.rb +338 -0
- data/lib/purecloudplatformclientv2/models/video_conversation_notification_participants.rb +26 -1
- data/lib/purecloudplatformclientv2/models/video_conversation_notification_video_media_participant.rb +26 -1
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +91 -47
- data/docs/PublishFlowNotificationNotification.md +0 -16
data/lib/purecloudplatformclientv2/models/email_conversation_notification_email_media_participant.rb
CHANGED
@@ -70,12 +70,16 @@ module PureCloud
|
|
70
70
|
|
71
71
|
attr_accessor :peer
|
72
72
|
|
73
|
+
attr_accessor :screen_recording_state
|
74
|
+
|
73
75
|
attr_accessor :subject
|
74
76
|
|
75
77
|
attr_accessor :messages_sent
|
76
78
|
|
77
79
|
attr_accessor :auto_generated
|
78
80
|
|
81
|
+
attr_accessor :message_id
|
82
|
+
|
79
83
|
# Attribute mapping from ruby-style variable name to JSON key.
|
80
84
|
def self.attribute_map
|
81
85
|
{
|
@@ -132,11 +136,15 @@ module PureCloud
|
|
132
136
|
|
133
137
|
:'peer' => :'peer',
|
134
138
|
|
139
|
+
:'screen_recording_state' => :'screenRecordingState',
|
140
|
+
|
135
141
|
:'subject' => :'subject',
|
136
142
|
|
137
143
|
:'messages_sent' => :'messagesSent',
|
138
144
|
|
139
|
-
:'auto_generated' => :'autoGenerated'
|
145
|
+
:'auto_generated' => :'autoGenerated',
|
146
|
+
|
147
|
+
:'message_id' => :'messageId'
|
140
148
|
|
141
149
|
}
|
142
150
|
end
|
@@ -197,11 +205,15 @@ module PureCloud
|
|
197
205
|
|
198
206
|
:'peer' => :'String',
|
199
207
|
|
208
|
+
:'screen_recording_state' => :'String',
|
209
|
+
|
200
210
|
:'subject' => :'String',
|
201
211
|
|
202
212
|
:'messages_sent' => :'Integer',
|
203
213
|
|
204
|
-
:'auto_generated' => :'BOOLEAN'
|
214
|
+
:'auto_generated' => :'BOOLEAN',
|
215
|
+
|
216
|
+
:'message_id' => :'String'
|
205
217
|
|
206
218
|
}
|
207
219
|
end
|
@@ -451,6 +463,15 @@ module PureCloud
|
|
451
463
|
end
|
452
464
|
|
453
465
|
|
466
|
+
if attributes.has_key?(:'screenRecordingState')
|
467
|
+
|
468
|
+
|
469
|
+
self.screen_recording_state = attributes[:'screenRecordingState']
|
470
|
+
|
471
|
+
|
472
|
+
end
|
473
|
+
|
474
|
+
|
454
475
|
if attributes.has_key?(:'subject')
|
455
476
|
|
456
477
|
|
@@ -478,6 +499,15 @@ module PureCloud
|
|
478
499
|
end
|
479
500
|
|
480
501
|
|
502
|
+
if attributes.has_key?(:'messageId')
|
503
|
+
|
504
|
+
|
505
|
+
self.message_id = attributes[:'messageId']
|
506
|
+
|
507
|
+
|
508
|
+
end
|
509
|
+
|
510
|
+
|
481
511
|
end
|
482
512
|
|
483
513
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -615,6 +645,14 @@ module PureCloud
|
|
615
645
|
|
616
646
|
|
617
647
|
|
648
|
+
|
649
|
+
|
650
|
+
|
651
|
+
|
652
|
+
|
653
|
+
|
654
|
+
|
655
|
+
|
618
656
|
|
619
657
|
|
620
658
|
|
@@ -788,6 +826,16 @@ module PureCloud
|
|
788
826
|
|
789
827
|
|
790
828
|
|
829
|
+
|
830
|
+
|
831
|
+
|
832
|
+
|
833
|
+
|
834
|
+
|
835
|
+
|
836
|
+
|
837
|
+
|
838
|
+
|
791
839
|
|
792
840
|
|
793
841
|
|
@@ -830,9 +878,11 @@ module PureCloud
|
|
830
878
|
external_organization == o.external_organization &&
|
831
879
|
wrapup == o.wrapup &&
|
832
880
|
peer == o.peer &&
|
881
|
+
screen_recording_state == o.screen_recording_state &&
|
833
882
|
subject == o.subject &&
|
834
883
|
messages_sent == o.messages_sent &&
|
835
|
-
auto_generated == o.auto_generated
|
884
|
+
auto_generated == o.auto_generated &&
|
885
|
+
message_id == o.message_id
|
836
886
|
end
|
837
887
|
|
838
888
|
# @see the `==` method
|
@@ -844,7 +894,7 @@ module PureCloud
|
|
844
894
|
# Calculates hash code according to all attributes.
|
845
895
|
# @return [Fixnum] Hash code
|
846
896
|
def hash
|
847
|
-
[id, name, address, start_time, connected_time, end_time, start_hold_time, purpose, state, direction, disconnect_type, held, wrapup_required, wrapup_prompt, user, queue, attributes, error_info, script, wrapup_timeout_ms, wrapup_skipped, provider, external_contact, external_organization, wrapup, peer, subject, messages_sent, auto_generated].hash
|
897
|
+
[id, name, address, start_time, connected_time, end_time, start_hold_time, purpose, state, direction, disconnect_type, held, wrapup_required, wrapup_prompt, user, queue, attributes, error_info, script, wrapup_timeout_ms, wrapup_skipped, provider, external_contact, external_organization, wrapup, peer, screen_recording_state, subject, messages_sent, auto_generated, message_id].hash
|
848
898
|
end
|
849
899
|
|
850
900
|
# build the object from hash
|
@@ -70,12 +70,16 @@ module PureCloud
|
|
70
70
|
|
71
71
|
attr_accessor :peer
|
72
72
|
|
73
|
+
attr_accessor :screen_recording_state
|
74
|
+
|
73
75
|
attr_accessor :subject
|
74
76
|
|
75
77
|
attr_accessor :messages_sent
|
76
78
|
|
77
79
|
attr_accessor :auto_generated
|
78
80
|
|
81
|
+
attr_accessor :message_id
|
82
|
+
|
79
83
|
# Attribute mapping from ruby-style variable name to JSON key.
|
80
84
|
def self.attribute_map
|
81
85
|
{
|
@@ -132,11 +136,15 @@ module PureCloud
|
|
132
136
|
|
133
137
|
:'peer' => :'peer',
|
134
138
|
|
139
|
+
:'screen_recording_state' => :'screenRecordingState',
|
140
|
+
|
135
141
|
:'subject' => :'subject',
|
136
142
|
|
137
143
|
:'messages_sent' => :'messagesSent',
|
138
144
|
|
139
|
-
:'auto_generated' => :'autoGenerated'
|
145
|
+
:'auto_generated' => :'autoGenerated',
|
146
|
+
|
147
|
+
:'message_id' => :'messageId'
|
140
148
|
|
141
149
|
}
|
142
150
|
end
|
@@ -197,11 +205,15 @@ module PureCloud
|
|
197
205
|
|
198
206
|
:'peer' => :'String',
|
199
207
|
|
208
|
+
:'screen_recording_state' => :'String',
|
209
|
+
|
200
210
|
:'subject' => :'String',
|
201
211
|
|
202
212
|
:'messages_sent' => :'Integer',
|
203
213
|
|
204
|
-
:'auto_generated' => :'BOOLEAN'
|
214
|
+
:'auto_generated' => :'BOOLEAN',
|
215
|
+
|
216
|
+
:'message_id' => :'String'
|
205
217
|
|
206
218
|
}
|
207
219
|
end
|
@@ -451,6 +463,15 @@ module PureCloud
|
|
451
463
|
end
|
452
464
|
|
453
465
|
|
466
|
+
if attributes.has_key?(:'screenRecordingState')
|
467
|
+
|
468
|
+
|
469
|
+
self.screen_recording_state = attributes[:'screenRecordingState']
|
470
|
+
|
471
|
+
|
472
|
+
end
|
473
|
+
|
474
|
+
|
454
475
|
if attributes.has_key?(:'subject')
|
455
476
|
|
456
477
|
|
@@ -478,6 +499,15 @@ module PureCloud
|
|
478
499
|
end
|
479
500
|
|
480
501
|
|
502
|
+
if attributes.has_key?(:'messageId')
|
503
|
+
|
504
|
+
|
505
|
+
self.message_id = attributes[:'messageId']
|
506
|
+
|
507
|
+
|
508
|
+
end
|
509
|
+
|
510
|
+
|
481
511
|
end
|
482
512
|
|
483
513
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -615,6 +645,14 @@ module PureCloud
|
|
615
645
|
|
616
646
|
|
617
647
|
|
648
|
+
|
649
|
+
|
650
|
+
|
651
|
+
|
652
|
+
|
653
|
+
|
654
|
+
|
655
|
+
|
618
656
|
|
619
657
|
|
620
658
|
|
@@ -788,6 +826,16 @@ module PureCloud
|
|
788
826
|
|
789
827
|
|
790
828
|
|
829
|
+
|
830
|
+
|
831
|
+
|
832
|
+
|
833
|
+
|
834
|
+
|
835
|
+
|
836
|
+
|
837
|
+
|
838
|
+
|
791
839
|
|
792
840
|
|
793
841
|
|
@@ -830,9 +878,11 @@ module PureCloud
|
|
830
878
|
external_organization == o.external_organization &&
|
831
879
|
wrapup == o.wrapup &&
|
832
880
|
peer == o.peer &&
|
881
|
+
screen_recording_state == o.screen_recording_state &&
|
833
882
|
subject == o.subject &&
|
834
883
|
messages_sent == o.messages_sent &&
|
835
|
-
auto_generated == o.auto_generated
|
884
|
+
auto_generated == o.auto_generated &&
|
885
|
+
message_id == o.message_id
|
836
886
|
end
|
837
887
|
|
838
888
|
# @see the `==` method
|
@@ -844,7 +894,7 @@ module PureCloud
|
|
844
894
|
# Calculates hash code according to all attributes.
|
845
895
|
# @return [Fixnum] Hash code
|
846
896
|
def hash
|
847
|
-
[id, name, address, start_time, connected_time, end_time, start_hold_time, purpose, state, direction, disconnect_type, held, wrapup_required, wrapup_prompt, user, queue, attributes, error_info, script, wrapup_timeout_ms, wrapup_skipped, provider, external_contact, external_organization, wrapup, peer, subject, messages_sent, auto_generated].hash
|
897
|
+
[id, name, address, start_time, connected_time, end_time, start_hold_time, purpose, state, direction, disconnect_type, held, wrapup_required, wrapup_prompt, user, queue, attributes, error_info, script, wrapup_timeout_ms, wrapup_skipped, provider, external_contact, external_organization, wrapup, peer, screen_recording_state, subject, messages_sent, auto_generated, message_id].hash
|
848
898
|
end
|
849
899
|
|
850
900
|
# build the object from hash
|
@@ -51,10 +51,10 @@ module PureCloud
|
|
51
51
|
|
52
52
|
attr_accessor :thumbnails
|
53
53
|
|
54
|
-
attr_accessor :sharing_uri
|
55
|
-
|
56
54
|
attr_accessor :download_sharing_uri
|
57
55
|
|
56
|
+
attr_accessor :sharing_uri
|
57
|
+
|
58
58
|
# The URI for this object
|
59
59
|
attr_accessor :self_uri
|
60
60
|
|
@@ -92,10 +92,10 @@ module PureCloud
|
|
92
92
|
|
93
93
|
:'thumbnails' => :'thumbnails',
|
94
94
|
|
95
|
-
:'sharing_uri' => :'sharingUri',
|
96
|
-
|
97
95
|
:'download_sharing_uri' => :'downloadSharingUri',
|
98
96
|
|
97
|
+
:'sharing_uri' => :'sharingUri',
|
98
|
+
|
99
99
|
:'self_uri' => :'selfUri'
|
100
100
|
|
101
101
|
}
|
@@ -135,10 +135,10 @@ module PureCloud
|
|
135
135
|
|
136
136
|
:'thumbnails' => :'Array<DocumentThumbnail>',
|
137
137
|
|
138
|
-
:'sharing_uri' => :'String',
|
139
|
-
|
140
138
|
:'download_sharing_uri' => :'String',
|
141
139
|
|
140
|
+
:'sharing_uri' => :'String',
|
141
|
+
|
142
142
|
:'self_uri' => :'String'
|
143
143
|
|
144
144
|
}
|
@@ -290,19 +290,19 @@ module PureCloud
|
|
290
290
|
end
|
291
291
|
|
292
292
|
|
293
|
-
if attributes.has_key?(:'
|
293
|
+
if attributes.has_key?(:'downloadSharingUri')
|
294
294
|
|
295
295
|
|
296
|
-
self.
|
296
|
+
self.download_sharing_uri = attributes[:'downloadSharingUri']
|
297
297
|
|
298
298
|
|
299
299
|
end
|
300
300
|
|
301
301
|
|
302
|
-
if attributes.has_key?(:'
|
302
|
+
if attributes.has_key?(:'sharingUri')
|
303
303
|
|
304
304
|
|
305
|
-
self.
|
305
|
+
self.sharing_uri = attributes[:'sharingUri']
|
306
306
|
|
307
307
|
|
308
308
|
end
|
@@ -517,8 +517,8 @@ module PureCloud
|
|
517
517
|
caller_address == o.caller_address &&
|
518
518
|
receiver_address == o.receiver_address &&
|
519
519
|
thumbnails == o.thumbnails &&
|
520
|
-
sharing_uri == o.sharing_uri &&
|
521
520
|
download_sharing_uri == o.download_sharing_uri &&
|
521
|
+
sharing_uri == o.sharing_uri &&
|
522
522
|
self_uri == o.self_uri
|
523
523
|
end
|
524
524
|
|
@@ -531,7 +531,7 @@ module PureCloud
|
|
531
531
|
# Calculates hash code according to all attributes.
|
532
532
|
# @return [Fixnum] Hash code
|
533
533
|
def hash
|
534
|
-
[id, name, date_created, date_modified, content_uri, workspace, created_by, content_type, content_length, filename, read, page_count, caller_address, receiver_address, thumbnails,
|
534
|
+
[id, name, date_created, date_modified, content_uri, workspace, created_by, content_type, content_length, filename, read, page_count, caller_address, receiver_address, thumbnails, download_sharing_uri, sharing_uri, self_uri].hash
|
535
535
|
end
|
536
536
|
|
537
537
|
# build the object from hash
|
@@ -320,7 +320,7 @@ module PureCloud
|
|
320
320
|
|
321
321
|
|
322
322
|
|
323
|
-
allowed_values = ["INBOUNDCALL", "INBOUNDEMAIL", "INQUEUECALL", "OUTBOUNDCALL", "SECURECALL", "SPEECH", "SURVEYINVITE", "WORKFLOW"]
|
323
|
+
allowed_values = ["INBOUNDCALL", "INBOUNDEMAIL", "INBOUNDSHORTMESSAGE", "INQUEUECALL", "OUTBOUNDCALL", "SECURECALL", "SPEECH", "SURVEYINVITE", "WORKFLOW"]
|
324
324
|
if @type && !allowed_values.include?(@type)
|
325
325
|
return false
|
326
326
|
end
|
@@ -397,7 +397,7 @@ module PureCloud
|
|
397
397
|
# Custom attribute writer method checking allowed values (enum).
|
398
398
|
# @param [Object] type Object to be assigned
|
399
399
|
def type=(type)
|
400
|
-
allowed_values = ["INBOUNDCALL", "INBOUNDEMAIL", "INQUEUECALL", "OUTBOUNDCALL", "SECURECALL", "SPEECH", "SURVEYINVITE", "WORKFLOW"]
|
400
|
+
allowed_values = ["INBOUNDCALL", "INBOUNDEMAIL", "INBOUNDSHORTMESSAGE", "INQUEUECALL", "OUTBOUNDCALL", "SECURECALL", "SPEECH", "SURVEYINVITE", "WORKFLOW"]
|
401
401
|
if type && !allowed_values.include?(type)
|
402
402
|
fail ArgumentError, "invalid value for 'type', must be one of #{allowed_values}."
|
403
403
|
end
|
@@ -388,7 +388,7 @@ module PureCloud
|
|
388
388
|
|
389
389
|
|
390
390
|
|
391
|
-
allowed_values = ["voice", "chat", "email"]
|
391
|
+
allowed_values = ["voice", "chat", "email", "callback"]
|
392
392
|
if @media_type && !allowed_values.include?(@media_type)
|
393
393
|
return false
|
394
394
|
end
|
@@ -539,7 +539,7 @@ module PureCloud
|
|
539
539
|
# Custom attribute writer method checking allowed values (enum).
|
540
540
|
# @param [Object] media_type Object to be assigned
|
541
541
|
def media_type=(media_type)
|
542
|
-
allowed_values = ["voice", "chat", "email"]
|
542
|
+
allowed_values = ["voice", "chat", "email", "callback"]
|
543
543
|
if media_type && !allowed_values.include?(media_type)
|
544
544
|
fail ArgumentError, "invalid value for 'media_type', must be one of #{allowed_values}."
|
545
545
|
end
|
@@ -341,7 +341,7 @@ module PureCloud
|
|
341
341
|
|
342
342
|
|
343
343
|
|
344
|
-
allowed_values = ["voice", "chat", "email"]
|
344
|
+
allowed_values = ["voice", "chat", "email", "callback"]
|
345
345
|
if @media_type && !allowed_values.include?(@media_type)
|
346
346
|
return false
|
347
347
|
end
|
@@ -470,7 +470,7 @@ module PureCloud
|
|
470
470
|
# Custom attribute writer method checking allowed values (enum).
|
471
471
|
# @param [Object] media_type Object to be assigned
|
472
472
|
def media_type=(media_type)
|
473
|
-
allowed_values = ["voice", "chat", "email"]
|
473
|
+
allowed_values = ["voice", "chat", "email", "callback"]
|
474
474
|
if media_type && !allowed_values.include?(media_type)
|
475
475
|
fail ArgumentError, "invalid value for 'media_type', must be one of #{allowed_values}."
|
476
476
|
end
|
@@ -18,10 +18,6 @@ require 'date'
|
|
18
18
|
|
19
19
|
module PureCloud
|
20
20
|
class JsonNode
|
21
|
-
attr_accessor :array
|
22
|
-
|
23
|
-
attr_accessor :null
|
24
|
-
|
25
21
|
attr_accessor :node_type
|
26
22
|
|
27
23
|
attr_accessor :float
|
@@ -32,12 +28,10 @@ module PureCloud
|
|
32
28
|
|
33
29
|
attr_accessor :number
|
34
30
|
|
35
|
-
attr_accessor :
|
31
|
+
attr_accessor :missing_node
|
36
32
|
|
37
33
|
attr_accessor :container_node
|
38
34
|
|
39
|
-
attr_accessor :missing_node
|
40
|
-
|
41
35
|
attr_accessor :pojo
|
42
36
|
|
43
37
|
attr_accessor :integral_number
|
@@ -60,14 +54,16 @@ module PureCloud
|
|
60
54
|
|
61
55
|
attr_accessor :binary
|
62
56
|
|
57
|
+
attr_accessor :value_node
|
58
|
+
|
59
|
+
attr_accessor :array
|
60
|
+
|
61
|
+
attr_accessor :null
|
62
|
+
|
63
63
|
# Attribute mapping from ruby-style variable name to JSON key.
|
64
64
|
def self.attribute_map
|
65
65
|
{
|
66
66
|
|
67
|
-
:'array' => :'array',
|
68
|
-
|
69
|
-
:'null' => :'null',
|
70
|
-
|
71
67
|
:'node_type' => :'nodeType',
|
72
68
|
|
73
69
|
:'float' => :'float',
|
@@ -78,12 +74,10 @@ module PureCloud
|
|
78
74
|
|
79
75
|
:'number' => :'number',
|
80
76
|
|
81
|
-
:'
|
77
|
+
:'missing_node' => :'missingNode',
|
82
78
|
|
83
79
|
:'container_node' => :'containerNode',
|
84
80
|
|
85
|
-
:'missing_node' => :'missingNode',
|
86
|
-
|
87
81
|
:'pojo' => :'pojo',
|
88
82
|
|
89
83
|
:'integral_number' => :'integralNumber',
|
@@ -104,7 +98,13 @@ module PureCloud
|
|
104
98
|
|
105
99
|
:'textual' => :'textual',
|
106
100
|
|
107
|
-
:'binary' => :'binary'
|
101
|
+
:'binary' => :'binary',
|
102
|
+
|
103
|
+
:'value_node' => :'valueNode',
|
104
|
+
|
105
|
+
:'array' => :'array',
|
106
|
+
|
107
|
+
:'null' => :'null'
|
108
108
|
|
109
109
|
}
|
110
110
|
end
|
@@ -113,10 +113,6 @@ module PureCloud
|
|
113
113
|
def self.swagger_types
|
114
114
|
{
|
115
115
|
|
116
|
-
:'array' => :'BOOLEAN',
|
117
|
-
|
118
|
-
:'null' => :'BOOLEAN',
|
119
|
-
|
120
116
|
:'node_type' => :'String',
|
121
117
|
|
122
118
|
:'float' => :'BOOLEAN',
|
@@ -127,12 +123,10 @@ module PureCloud
|
|
127
123
|
|
128
124
|
:'number' => :'BOOLEAN',
|
129
125
|
|
130
|
-
:'
|
126
|
+
:'missing_node' => :'BOOLEAN',
|
131
127
|
|
132
128
|
:'container_node' => :'BOOLEAN',
|
133
129
|
|
134
|
-
:'missing_node' => :'BOOLEAN',
|
135
|
-
|
136
130
|
:'pojo' => :'BOOLEAN',
|
137
131
|
|
138
132
|
:'integral_number' => :'BOOLEAN',
|
@@ -153,7 +147,13 @@ module PureCloud
|
|
153
147
|
|
154
148
|
:'textual' => :'BOOLEAN',
|
155
149
|
|
156
|
-
:'binary' => :'BOOLEAN'
|
150
|
+
:'binary' => :'BOOLEAN',
|
151
|
+
|
152
|
+
:'value_node' => :'BOOLEAN',
|
153
|
+
|
154
|
+
:'array' => :'BOOLEAN',
|
155
|
+
|
156
|
+
:'null' => :'BOOLEAN'
|
157
157
|
|
158
158
|
}
|
159
159
|
end
|
@@ -167,24 +167,6 @@ module PureCloud
|
|
167
167
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
168
168
|
|
169
169
|
|
170
|
-
if attributes.has_key?(:'array')
|
171
|
-
|
172
|
-
|
173
|
-
self.array = attributes[:'array']
|
174
|
-
|
175
|
-
|
176
|
-
end
|
177
|
-
|
178
|
-
|
179
|
-
if attributes.has_key?(:'null')
|
180
|
-
|
181
|
-
|
182
|
-
self.null = attributes[:'null']
|
183
|
-
|
184
|
-
|
185
|
-
end
|
186
|
-
|
187
|
-
|
188
170
|
if attributes.has_key?(:'nodeType')
|
189
171
|
|
190
172
|
|
@@ -230,10 +212,10 @@ module PureCloud
|
|
230
212
|
end
|
231
213
|
|
232
214
|
|
233
|
-
if attributes.has_key?(:'
|
215
|
+
if attributes.has_key?(:'missingNode')
|
234
216
|
|
235
217
|
|
236
|
-
self.
|
218
|
+
self.missing_node = attributes[:'missingNode']
|
237
219
|
|
238
220
|
|
239
221
|
end
|
@@ -248,15 +230,6 @@ module PureCloud
|
|
248
230
|
end
|
249
231
|
|
250
232
|
|
251
|
-
if attributes.has_key?(:'missingNode')
|
252
|
-
|
253
|
-
|
254
|
-
self.missing_node = attributes[:'missingNode']
|
255
|
-
|
256
|
-
|
257
|
-
end
|
258
|
-
|
259
|
-
|
260
233
|
if attributes.has_key?(:'pojo')
|
261
234
|
|
262
235
|
|
@@ -356,6 +329,33 @@ module PureCloud
|
|
356
329
|
end
|
357
330
|
|
358
331
|
|
332
|
+
if attributes.has_key?(:'valueNode')
|
333
|
+
|
334
|
+
|
335
|
+
self.value_node = attributes[:'valueNode']
|
336
|
+
|
337
|
+
|
338
|
+
end
|
339
|
+
|
340
|
+
|
341
|
+
if attributes.has_key?(:'array')
|
342
|
+
|
343
|
+
|
344
|
+
self.array = attributes[:'array']
|
345
|
+
|
346
|
+
|
347
|
+
end
|
348
|
+
|
349
|
+
|
350
|
+
if attributes.has_key?(:'null')
|
351
|
+
|
352
|
+
|
353
|
+
self.null = attributes[:'null']
|
354
|
+
|
355
|
+
|
356
|
+
end
|
357
|
+
|
358
|
+
|
359
359
|
end
|
360
360
|
|
361
361
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -373,6 +373,10 @@ module PureCloud
|
|
373
373
|
|
374
374
|
|
375
375
|
|
376
|
+
allowed_values = ["ARRAY", "BINARY", "BOOLEAN", "MISSING", "NULL", "NUMBER", "OBJECT", "POJO", "STRING"]
|
377
|
+
if @node_type && !allowed_values.include?(@node_type)
|
378
|
+
return false
|
379
|
+
end
|
376
380
|
|
377
381
|
|
378
382
|
|
@@ -381,10 +385,6 @@ module PureCloud
|
|
381
385
|
|
382
386
|
|
383
387
|
|
384
|
-
allowed_values = ["ARRAY", "BINARY", "BOOLEAN", "MISSING", "NULL", "NUMBER", "OBJECT", "POJO", "STRING"]
|
385
|
-
if @node_type && !allowed_values.include?(@node_type)
|
386
|
-
return false
|
387
|
-
end
|
388
388
|
|
389
389
|
|
390
390
|
|
@@ -464,16 +464,6 @@ module PureCloud
|
|
464
464
|
|
465
465
|
|
466
466
|
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
467
|
# Custom attribute writer method checking allowed values (enum).
|
478
468
|
# @param [Object] node_type Object to be assigned
|
479
469
|
def node_type=(node_type)
|
@@ -566,6 +556,16 @@ module PureCloud
|
|
566
556
|
|
567
557
|
|
568
558
|
|
559
|
+
|
560
|
+
|
561
|
+
|
562
|
+
|
563
|
+
|
564
|
+
|
565
|
+
|
566
|
+
|
567
|
+
|
568
|
+
|
569
569
|
|
570
570
|
|
571
571
|
|
@@ -582,16 +582,13 @@ module PureCloud
|
|
582
582
|
def ==(o)
|
583
583
|
return true if self.equal?(o)
|
584
584
|
self.class == o.class &&
|
585
|
-
array == o.array &&
|
586
|
-
null == o.null &&
|
587
585
|
node_type == o.node_type &&
|
588
586
|
float == o.float &&
|
589
587
|
object == o.object &&
|
590
588
|
boolean == o.boolean &&
|
591
589
|
number == o.number &&
|
592
|
-
value_node == o.value_node &&
|
593
|
-
container_node == o.container_node &&
|
594
590
|
missing_node == o.missing_node &&
|
591
|
+
container_node == o.container_node &&
|
595
592
|
pojo == o.pojo &&
|
596
593
|
integral_number == o.integral_number &&
|
597
594
|
floating_point_number == o.floating_point_number &&
|
@@ -602,7 +599,10 @@ module PureCloud
|
|
602
599
|
big_decimal == o.big_decimal &&
|
603
600
|
big_integer == o.big_integer &&
|
604
601
|
textual == o.textual &&
|
605
|
-
binary == o.binary
|
602
|
+
binary == o.binary &&
|
603
|
+
value_node == o.value_node &&
|
604
|
+
array == o.array &&
|
605
|
+
null == o.null
|
606
606
|
end
|
607
607
|
|
608
608
|
# @see the `==` method
|
@@ -614,7 +614,7 @@ module PureCloud
|
|
614
614
|
# Calculates hash code according to all attributes.
|
615
615
|
# @return [Fixnum] Hash code
|
616
616
|
def hash
|
617
|
-
[
|
617
|
+
[node_type, float, object, boolean, number, missing_node, container_node, pojo, integral_number, floating_point_number, short, int, long, double, big_decimal, big_integer, textual, binary, value_node, array, null].hash
|
618
618
|
end
|
619
619
|
|
620
620
|
# build the object from hash
|