purecloud 0.62.1 → 0.63.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/config-ruby.json +1 -1
- data/doc_out/ADFS.html.md +1 -1
- data/doc_out/AggregationQuery.html.md +1 -1
- data/doc_out/AnalyticsConversationSegment.html.md +3 -3
- data/doc_out/AnalyticsSession.html.md +2 -2
- data/doc_out/AttributesApi.html.md +29 -29
- data/doc_out/AuditMessage.html.md +1 -1
- data/doc_out/Call.html.md +4 -4
- data/doc_out/CallForwarding.html.md +1 -1
- data/doc_out/CallMediaParticipant.html.md +6 -6
- data/doc_out/Callback.html.md +2 -2
- data/doc_out/CallbackMediaParticipant.html.md +4 -4
- data/doc_out/Campaign.html.md +1 -1
- data/doc_out/CampaignInteraction.html.md +1 -1
- data/doc_out/CampaignRule.html.md +2 -2
- data/doc_out/CampaignRuleActionEntities.html.md +1 -1
- data/doc_out/CampaignSequence.html.md +1 -1
- data/doc_out/CertificateDetails.html.md +3 -3
- data/doc_out/ChatMediaParticipant.html.md +3 -3
- data/doc_out/CobrowseMediaParticipant.html.md +3 -3
- data/doc_out/Condition.html.md +1 -1
- data/doc_out/ContactSort.html.md +1 -1
- data/doc_out/ContentQueryRequest.html.md +1 -1
- data/doc_out/ContentSortItem.html.md +1 -1
- data/doc_out/ConversationChat.html.md +1 -1
- data/doc_out/ConversationsApi.html.md +58 -58
- data/doc_out/CustomerInteractionCenter.html.md +1 -1
- data/doc_out/DialerContact.html.md +1 -1
- data/doc_out/Document.html.md +1 -1
- data/doc_out/DocumentAudit.html.md +1 -1
- data/doc_out/DocumentUpdate.html.md +1 -1
- data/doc_out/DomainCapabilities.html.md +4 -4
- data/doc_out/DomainEdgeSoftwareUpdateDto.html.md +2 -2
- data/doc_out/DomainEdgeSoftwareVersionDto.html.md +2 -2
- data/doc_out/DomainLogicalInterface.html.md +3 -3
- data/doc_out/DomainNetworkAddress.html.md +1 -1
- data/doc_out/DomainNetworkCommandResponse.html.md +1 -1
- data/doc_out/DomainNetworkRoute.html.md +1 -1
- data/doc_out/DomainOrganizationRole.html.md +3 -3
- data/doc_out/DomainOrganizationRoleCreate.html.md +3 -3
- data/doc_out/DomainOrganizationRoleUpdate.html.md +3 -3
- data/doc_out/DomainPermission.html.md +1 -1
- data/doc_out/DomainPermissionPolicy.html.md +1 -1
- data/doc_out/DomainPhysicalCapabilities.html.md +2 -2
- data/doc_out/Edge.html.md +2 -2
- data/doc_out/EdgeAutoUpdateConfig.html.md +2 -2
- data/doc_out/EdgeGroup.html.md +1 -1
- data/doc_out/EdgeLogsJobRequest.html.md +1 -1
- data/doc_out/Email.html.md +1 -1
- data/doc_out/EmailMediaParticipant.html.md +3 -3
- data/doc_out/Endpoint.html.md +1 -1
- data/doc_out/Evaluation.html.md +4 -4
- data/doc_out/EvaluationForm.html.md +1 -1
- data/doc_out/EvaluationScoringSet.html.md +1 -1
- data/doc_out/FaxDocument.html.md +1 -1
- data/doc_out/FieldList.html.md +3 -3
- data/doc_out/Geolocation.html.md +1 -1
- data/doc_out/GeolocationSettings.html.md +1 -1
- data/doc_out/GreetingsApi.html.md +50 -50
- data/doc_out/Group.html.md +1 -1
- data/doc_out/GroupUpdate.html.md +1 -1
- data/doc_out/GroupsApi.html.md +68 -68
- data/doc_out/HeartBeatRule.html.md +2 -2
- data/doc_out/IdentityProviderApi.html.md +22 -22
- data/doc_out/InboundDomain.html.md +1 -1
- data/doc_out/InitiateScreenRecording.html.md +1 -1
- data/doc_out/InteractionStatsAlert.html.md +1 -1
- data/doc_out/InteractionStatsRule.html.md +2 -2
- data/doc_out/JsonNode.html.md +20 -20
- data/doc_out/LineStatus.html.md +1 -1
- data/doc_out/LocationDefinition.html.md +1 -1
- data/doc_out/MediaParticipantRequest.html.md +5 -5
- data/doc_out/MeteredEvaluationAssignment.html.md +1 -1
- data/doc_out/OAuthProvider.html.md +1 -1
- data/doc_out/Okta.html.md +1 -1
- data/doc_out/OneLogin.html.md +1 -1
- data/doc_out/OrgMediaUtilization.html.md +1 -1
- data/doc_out/Organization.html.md +1 -1
- data/doc_out/OrganizationPresence.html.md +2 -2
- data/doc_out/OutOfOffice.html.md +1 -1
- data/doc_out/OutboundRoute.html.md +2 -2
- data/doc_out/Parameter.html.md +1 -1
- data/doc_out/Participant.html.md +2 -2
- data/doc_out/PhoneCapabilities.html.md +5 -5
- data/doc_out/PhoneNumberStatus.html.md +1 -1
- data/doc_out/Policy.html.md +1 -1
- data/doc_out/PolicyActions.html.md +3 -3
- data/doc_out/PolicyCreate.html.md +1 -1
- data/doc_out/PresenceApi.html.md +33 -33
- data/doc_out/PureCloud.html.md +1 -1
- data/doc_out/QualityAudit.html.md +1 -1
- data/doc_out/QueryRequest.html.md +1 -1
- data/doc_out/QuestionGroup.html.md +4 -4
- data/doc_out/QuestionGroupScore.html.md +1 -1
- data/doc_out/QuestionScore.html.md +2 -2
- data/doc_out/QueueMember.html.md +1 -1
- data/doc_out/RecordingApi.html.md +70 -70
- data/doc_out/ReportSchedule.html.md +1 -1
- data/doc_out/ResourcePermissionPolicy.html.md +1 -1
- data/doc_out/RoutingStatusRule.html.md +2 -2
- data/doc_out/Salesforce.html.md +1 -1
- data/doc_out/Screenshare.html.md +1 -1
- data/doc_out/ScriptsApi.html.md +72 -72
- data/doc_out/Site.html.md +1 -1
- data/doc_out/SocialExpression.html.md +1 -1
- data/doc_out/SortItem.html.md +1 -1
- data/doc_out/TagValue.html.md +1 -1
- data/doc_out/TimeAllowed.html.md +1 -1
- data/doc_out/TimeOffRequest.html.md +2 -2
- data/doc_out/TimeOffRequestPatch.html.md +1 -1
- data/doc_out/TransferRequest.html.md +1 -1
- data/doc_out/Trunk.html.md +1 -1
- data/doc_out/TrunkBase.html.md +1 -1
- data/doc_out/UnreadStatus.html.md +1 -1
- data/doc_out/UserPresence.html.md +1 -1
- data/doc_out/UserPresenceRule.html.md +2 -2
- data/doc_out/UserQueue.html.md +1 -1
- data/doc_out/UserRecording.html.md +1 -1
- data/doc_out/UserRecordingsApi.html.md +47 -47
- data/doc_out/UserScheduleAdherence.html.md +1 -1
- data/doc_out/ValidateAddressResponse.html.md +1 -1
- data/doc_out/Video.html.md +3 -3
- data/doc_out/VoicemailGroupPolicy.html.md +2 -2
- data/doc_out/VoicemailMessage.html.md +2 -2
- data/doc_out/VoicemailOrganizationPolicy.html.md +4 -4
- data/doc_out/VoicemailUserPolicy.html.md +1 -1
- data/doc_out/Workspace.html.md +1 -1
- data/doc_out/Wrapup.html.md +1 -1
- data/doc_out/index.html.md +3 -3
- data/lib/purecloud/api/attributes_api.rb +39 -39
- data/lib/purecloud/api/conversations_api.rb +58 -58
- data/lib/purecloud/api/greetings_api.rb +67 -67
- data/lib/purecloud/api/groups_api.rb +104 -104
- data/lib/purecloud/api/identity_provider_api.rb +33 -33
- data/lib/purecloud/api/presence_api.rb +46 -46
- data/lib/purecloud/api/recording_api.rb +76 -76
- data/lib/purecloud/api/scripts_api.rb +87 -87
- data/lib/purecloud/api/user_recordings_api.rb +64 -64
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/adfs.rb +0 -2
- data/lib/purecloud/models/aggregation_query.rb +0 -2
- data/lib/purecloud/models/analytics_conversation_segment.rb +0 -6
- data/lib/purecloud/models/analytics_session.rb +0 -4
- data/lib/purecloud/models/audit_message.rb +0 -2
- data/lib/purecloud/models/call.rb +0 -8
- data/lib/purecloud/models/call_forwarding.rb +0 -2
- data/lib/purecloud/models/call_media_participant.rb +0 -12
- data/lib/purecloud/models/callback.rb +0 -4
- data/lib/purecloud/models/callback_media_participant.rb +0 -8
- data/lib/purecloud/models/campaign.rb +0 -2
- data/lib/purecloud/models/campaign_interaction.rb +0 -2
- data/lib/purecloud/models/campaign_rule.rb +0 -4
- data/lib/purecloud/models/campaign_rule_action_entities.rb +0 -2
- data/lib/purecloud/models/campaign_sequence.rb +0 -2
- data/lib/purecloud/models/certificate_details.rb +0 -6
- data/lib/purecloud/models/chat_media_participant.rb +0 -6
- data/lib/purecloud/models/cobrowse_media_participant.rb +0 -6
- data/lib/purecloud/models/condition.rb +0 -2
- data/lib/purecloud/models/contact_sort.rb +0 -2
- data/lib/purecloud/models/content_query_request.rb +0 -2
- data/lib/purecloud/models/content_sort_item.rb +0 -2
- data/lib/purecloud/models/conversation_chat.rb +0 -2
- data/lib/purecloud/models/customer_interaction_center.rb +0 -2
- data/lib/purecloud/models/dialer_contact.rb +0 -2
- data/lib/purecloud/models/document.rb +0 -2
- data/lib/purecloud/models/document_audit.rb +0 -2
- data/lib/purecloud/models/document_update.rb +0 -2
- data/lib/purecloud/models/domain_capabilities.rb +0 -8
- data/lib/purecloud/models/domain_edge_software_update_dto.rb +0 -4
- data/lib/purecloud/models/domain_edge_software_version_dto.rb +0 -4
- data/lib/purecloud/models/domain_logical_interface.rb +0 -6
- data/lib/purecloud/models/domain_network_address.rb +0 -2
- data/lib/purecloud/models/domain_network_command_response.rb +0 -2
- data/lib/purecloud/models/domain_network_route.rb +0 -2
- data/lib/purecloud/models/domain_organization_role.rb +11 -17
- data/lib/purecloud/models/domain_organization_role_create.rb +11 -17
- data/lib/purecloud/models/domain_organization_role_update.rb +11 -17
- data/lib/purecloud/models/domain_permission.rb +0 -2
- data/lib/purecloud/models/domain_permission_policy.rb +0 -2
- data/lib/purecloud/models/domain_physical_capabilities.rb +0 -4
- data/lib/purecloud/models/edge.rb +0 -4
- data/lib/purecloud/models/edge_auto_update_config.rb +4 -4
- data/lib/purecloud/models/edge_group.rb +0 -2
- data/lib/purecloud/models/edge_logs_job_request.rb +0 -2
- data/lib/purecloud/models/email.rb +0 -2
- data/lib/purecloud/models/email_media_participant.rb +0 -6
- data/lib/purecloud/models/endpoint.rb +0 -2
- data/lib/purecloud/models/evaluation.rb +0 -8
- data/lib/purecloud/models/evaluation_form.rb +0 -2
- data/lib/purecloud/models/evaluation_scoring_set.rb +0 -2
- data/lib/purecloud/models/fax_document.rb +0 -2
- data/lib/purecloud/models/field_list.rb +0 -6
- data/lib/purecloud/models/geolocation.rb +0 -2
- data/lib/purecloud/models/geolocation_settings.rb +0 -2
- data/lib/purecloud/models/group.rb +0 -2
- data/lib/purecloud/models/group_update.rb +0 -2
- data/lib/purecloud/models/heart_beat_rule.rb +0 -4
- data/lib/purecloud/models/inbound_domain.rb +0 -2
- data/lib/purecloud/models/initiate_screen_recording.rb +0 -2
- data/lib/purecloud/models/interaction_stats_alert.rb +0 -2
- data/lib/purecloud/models/interaction_stats_rule.rb +0 -4
- data/lib/purecloud/models/json_node.rb +24 -64
- data/lib/purecloud/models/line_status.rb +0 -2
- data/lib/purecloud/models/location_definition.rb +0 -2
- data/lib/purecloud/models/media_participant_request.rb +0 -10
- data/lib/purecloud/models/metered_evaluation_assignment.rb +0 -2
- data/lib/purecloud/models/o_auth_provider.rb +0 -2
- data/lib/purecloud/models/okta.rb +0 -2
- data/lib/purecloud/models/one_login.rb +0 -2
- data/lib/purecloud/models/org_media_utilization.rb +0 -2
- data/lib/purecloud/models/organization.rb +0 -2
- data/lib/purecloud/models/organization_presence.rb +0 -4
- data/lib/purecloud/models/out_of_office.rb +0 -2
- data/lib/purecloud/models/outbound_route.rb +0 -4
- data/lib/purecloud/models/parameter.rb +0 -2
- data/lib/purecloud/models/participant.rb +0 -4
- data/lib/purecloud/models/phone_capabilities.rb +0 -10
- data/lib/purecloud/models/phone_number_status.rb +0 -2
- data/lib/purecloud/models/policy.rb +0 -2
- data/lib/purecloud/models/policy_actions.rb +0 -6
- data/lib/purecloud/models/policy_create.rb +0 -2
- data/lib/purecloud/models/pure_cloud.rb +0 -2
- data/lib/purecloud/models/quality_audit.rb +11 -11
- data/lib/purecloud/models/query_request.rb +0 -2
- data/lib/purecloud/models/question_group.rb +0 -8
- data/lib/purecloud/models/question_group_score.rb +0 -2
- data/lib/purecloud/models/question_score.rb +0 -4
- data/lib/purecloud/models/queue_member.rb +0 -2
- data/lib/purecloud/models/report_schedule.rb +0 -2
- data/lib/purecloud/models/resource_permission_policy.rb +0 -2
- data/lib/purecloud/models/routing_status_rule.rb +0 -4
- data/lib/purecloud/models/salesforce.rb +0 -2
- data/lib/purecloud/models/screenshare.rb +0 -2
- data/lib/purecloud/models/site.rb +0 -2
- data/lib/purecloud/models/social_expression.rb +0 -2
- data/lib/purecloud/models/sort_item.rb +0 -2
- data/lib/purecloud/models/tag_value.rb +0 -2
- data/lib/purecloud/models/time_allowed.rb +0 -2
- data/lib/purecloud/models/time_off_request.rb +0 -4
- data/lib/purecloud/models/time_off_request_patch.rb +0 -2
- data/lib/purecloud/models/transfer_request.rb +0 -2
- data/lib/purecloud/models/trunk.rb +0 -2
- data/lib/purecloud/models/trunk_base.rb +0 -2
- data/lib/purecloud/models/unread_status.rb +0 -2
- data/lib/purecloud/models/user_presence.rb +0 -2
- data/lib/purecloud/models/user_presence_rule.rb +0 -4
- data/lib/purecloud/models/user_queue.rb +0 -2
- data/lib/purecloud/models/user_recording.rb +0 -2
- data/lib/purecloud/models/user_schedule_adherence.rb +0 -2
- data/lib/purecloud/models/validate_address_response.rb +0 -2
- data/lib/purecloud/models/video.rb +0 -6
- data/lib/purecloud/models/voicemail_group_policy.rb +0 -4
- data/lib/purecloud/models/voicemail_message.rb +0 -4
- data/lib/purecloud/models/voicemail_organization_policy.rb +0 -8
- data/lib/purecloud/models/voicemail_user_policy.rb +0 -2
- data/lib/purecloud/models/workspace.rb +0 -2
- data/lib/purecloud/models/wrapup.rb +0 -2
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +2 -2
@@ -16,7 +16,7 @@ title: UserScheduleAdherence
|
|
16
16
|
| **organization_secondary_presence_id** | **String** | Organization Secondary Presence Id. | [optional] |
|
17
17
|
| **routing_status** | **String** | Actual underlying routing status, used to determine whether a user is actually in adherence when OnQueue | [optional] |
|
18
18
|
| **actual_activity_category** | **String** | Activity in which the user is actually engaged | [optional] |
|
19
|
-
| **is_out_of_office** | **BOOLEAN** | Whether the user is marked OutOfOffice | [optional]
|
19
|
+
| **is_out_of_office** | **BOOLEAN** | Whether the user is marked OutOfOffice | [optional] |
|
20
20
|
| **adherence_state** | **String** | The user's current adherence state | [optional] |
|
21
21
|
| **impact** | **String** | The impact of the user's current adherenceState | [optional] |
|
22
22
|
| **time_of_adherence_change** | **String** | Time when the user entered the current adherenceState in ISO-8601 format | [optional] |
|
@@ -7,7 +7,7 @@ title: ValidateAddressResponse
|
|
7
7
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
|
-
| **valid** | **BOOLEAN** | Was the passed in address valid |
|
10
|
+
| **valid** | **BOOLEAN** | Was the passed in address valid | |
|
11
11
|
| **response** | [**SubscriberResponse**](SubscriberResponse.html) | Subscriber schema | [optional] |
|
12
12
|
{: class="table table-striped"}
|
13
13
|
|
data/doc_out/Video.html.md
CHANGED
@@ -10,9 +10,9 @@ title: Video
|
|
10
10
|
| **state** | **String** | The connection state of this communication. | [optional] |
|
11
11
|
| **id** | **String** | A globally unique identifier for this communication. | [optional] |
|
12
12
|
| **context** | **String** | The room id context (xmpp jid) for the conference session. | [optional] |
|
13
|
-
| **audio_muted** | **BOOLEAN** | Indicates whether this participant has muted their outgoing audio. | [optional]
|
14
|
-
| **video_muted** | **BOOLEAN** | Indicates whether this participant has muted/paused their outgoing video. | [optional]
|
15
|
-
| **sharing_screen** | **BOOLEAN** | Indicates whether this participant is sharing their screen to the session. | [optional]
|
13
|
+
| **audio_muted** | **BOOLEAN** | Indicates whether this participant has muted their outgoing audio. | [optional] |
|
14
|
+
| **video_muted** | **BOOLEAN** | Indicates whether this participant has muted/paused their outgoing video. | [optional] |
|
15
|
+
| **sharing_screen** | **BOOLEAN** | Indicates whether this participant is sharing their screen to the session. | [optional] |
|
16
16
|
| **peer_count** | **Integer** | The number of peer participants from the perspective of the participant in the conference. | [optional] |
|
17
17
|
| **disconnect_type** | **String** | System defined string indicating what caused the communication to disconnect. Will be null until the communication disconnects. | [optional] |
|
18
18
|
| **connected_time** | **DateTime** | The timestamp when this communication was connected in the cloud clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
@@ -9,8 +9,8 @@ title: VoicemailGroupPolicy
|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
10
|
| **name** | **String** | | [optional] |
|
11
11
|
| **group** | [**Group**](Group.html) | The group associated with the policy | [optional] |
|
12
|
-
| **enabled** | **BOOLEAN** | Whether voicemail is enabled for the group | [optional]
|
13
|
-
| **send_email_notifications** | **BOOLEAN** | Whether email notifications are sent to group members when a new voicemail is received | [optional]
|
12
|
+
| **enabled** | **BOOLEAN** | Whether voicemail is enabled for the group | [optional] |
|
13
|
+
| **send_email_notifications** | **BOOLEAN** | Whether email notifications are sent to group members when a new voicemail is received | [optional] |
|
14
14
|
| **rotate_calls_secs** | **Integer** | How many seconds to ring before rotating to the next member in the group | [optional] |
|
15
15
|
| **stop_ringing_after_rotations** | **Integer** | How many rotations to go through | [optional] |
|
16
16
|
{: class="table table-striped"}
|
@@ -9,7 +9,7 @@ title: VoicemailMessage
|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
10
|
| **id** | **String** | The globally unique identifier for the object. | [optional] |
|
11
11
|
| **conversation** | [**Conversation**](Conversation.html) | The conversation that the voicemail message is associated with | [optional] |
|
12
|
-
| **read** | **BOOLEAN** | Whether the voicemail message is marked as read | [optional]
|
12
|
+
| **read** | **BOOLEAN** | Whether the voicemail message is marked as read | [optional] |
|
13
13
|
| **audio_recording_duration_seconds** | **Integer** | The voicemail message's audio recording duration in seconds | [optional] |
|
14
14
|
| **audio_recording_size_bytes** | **Integer** | The voicemail message's audio recording size in bytes | [optional] |
|
15
15
|
| **created_date** | **DateTime** | The date the voicemail message was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
@@ -17,7 +17,7 @@ title: VoicemailMessage
|
|
17
17
|
| **caller_address** | **String** | The caller address | [optional] |
|
18
18
|
| **caller_name** | **String** | Optionally the name of the caller that left the voicemail message if the caller was a known user | [optional] |
|
19
19
|
| **caller_user** | [**User**](User.html) | Optionally the user that left the voicemail message if the caller was a known user | [optional] |
|
20
|
-
| **deleted** | **BOOLEAN** | Whether the voicemail message has been marked as deleted | [optional]
|
20
|
+
| **deleted** | **BOOLEAN** | Whether the voicemail message has been marked as deleted | [optional] |
|
21
21
|
| **note** | **String** | An optional note | [optional] |
|
22
22
|
| **user** | [**User**](User.html) | The user that the voicemail message belongs to or null which means the voicemail message belongs to a group | [optional] |
|
23
23
|
| **group** | [**Group**](Group.html) | The group that the voicemail message belongs to or null which means the voicemail message belongs to a user | [optional] |
|
@@ -7,7 +7,7 @@ title: VoicemailOrganizationPolicy
|
|
7
7
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
|
-
| **enabled** | **BOOLEAN** | | [optional]
|
10
|
+
| **enabled** | **BOOLEAN** | | [optional] |
|
11
11
|
| **retention_time_days** | **Integer** | | [optional] |
|
12
12
|
| **alert_timeout_seconds** | **Integer** | | [optional] |
|
13
13
|
| **minimum_recording_time_seconds** | **Integer** | | [optional] |
|
@@ -15,14 +15,14 @@ title: VoicemailOrganizationPolicy
|
|
15
15
|
| **unavailable_message_uri** | **String** | | [optional] |
|
16
16
|
| **name_prompt_message_uri** | **String** | | [optional] |
|
17
17
|
| **full_message_uri** | **String** | | [optional] |
|
18
|
-
| **compress_silence** | **BOOLEAN** | | [optional]
|
18
|
+
| **compress_silence** | **BOOLEAN** | | [optional] |
|
19
19
|
| **pin_configuration** | [**PINConfiguration**](PINConfiguration.html) | | [optional] |
|
20
20
|
| **quota_size_bytes** | **Integer** | | [optional] |
|
21
21
|
| **created_date** | **DateTime** | Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
22
22
|
| **modified_date** | **DateTime** | Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
23
23
|
| **voicemail_extension** | **String** | The extension for voicemail retrieval. The default value is *86. | [optional] |
|
24
|
-
| **pin_required** | **BOOLEAN** | If this is true, a PIN is required when accessing a user's voicemail from a phone. | [optional]
|
25
|
-
| **send_email_notifications** | **BOOLEAN** | Whether email notifications are sent for new voicemails in the organization. If false, new voicemail email notifications are not be sent for the organization overriding any user or group setting. | [optional]
|
24
|
+
| **pin_required** | **BOOLEAN** | If this is true, a PIN is required when accessing a user's voicemail from a phone. | [optional] |
|
25
|
+
| **send_email_notifications** | **BOOLEAN** | Whether email notifications are sent for new voicemails in the organization. If false, new voicemail email notifications are not be sent for the organization overriding any user or group setting. | [optional] |
|
26
26
|
{: class="table table-striped"}
|
27
27
|
|
28
28
|
|
@@ -7,7 +7,7 @@ title: VoicemailUserPolicy
|
|
7
7
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
|
-
| **enabled** | **BOOLEAN** | | [optional]
|
10
|
+
| **enabled** | **BOOLEAN** | | [optional] |
|
11
11
|
| **alert_timeout_seconds** | **Integer** | | [optional] |
|
12
12
|
| **minimum_recording_time_seconds** | **Integer** | | [optional] |
|
13
13
|
| **maximum_recording_time_seconds** | **Integer** | | [optional] |
|
data/doc_out/Workspace.html.md
CHANGED
@@ -10,7 +10,7 @@ title: Workspace
|
|
10
10
|
| **id** | **String** | The globally unique identifier for the object. | [optional] |
|
11
11
|
| **name** | **String** | The current name of the workspace. | |
|
12
12
|
| **type** | **String** | | [optional] |
|
13
|
-
| **is_current_user_workspace** | **BOOLEAN** | | [optional]
|
13
|
+
| **is_current_user_workspace** | **BOOLEAN** | | [optional] |
|
14
14
|
| **user** | [**UriReference**](UriReference.html) | | [optional] |
|
15
15
|
| **bucket** | **String** | | [optional] |
|
16
16
|
| **date_created** | **DateTime** | Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
data/doc_out/Wrapup.html.md
CHANGED
@@ -13,7 +13,7 @@ title: Wrapup
|
|
13
13
|
| **tags** | **Array<String>** | List of tags selected by the agent to describe the call or disposition. | [optional] |
|
14
14
|
| **duration_seconds** | **Integer** | The length of time in seconds that the agent spent doing after call work. | [optional] |
|
15
15
|
| **end_time** | **DateTime** | The timestamp when the wrapup was finished. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
16
|
-
| **provisional** | **BOOLEAN** | Indicates if this is a pending save and should not require a code to be specified. This allows someone to save some temporary wrapup that will be used later. | [optional]
|
16
|
+
| **provisional** | **BOOLEAN** | Indicates if this is a pending save and should not require a code to be specified. This allows someone to save some temporary wrapup that will be used later. | [optional] |
|
17
17
|
{: class="table table-striped"}
|
18
18
|
|
19
19
|
|
data/doc_out/index.html.md
CHANGED
@@ -9,8 +9,8 @@ With the PureCloud Platform API, you can control all aspects of your PureCloud e
|
|
9
9
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
10
10
|
|
11
11
|
- API version: v2
|
12
|
-
- Package version: 0.
|
13
|
-
- Build date:
|
12
|
+
- Package version: 0.63.1
|
13
|
+
- Build date: 2017-01-03T17:26:35.703Z
|
14
14
|
|
15
15
|
For more information, please visit [https://developer.mypurecloud.com](https://developer.mypurecloud.com)
|
16
16
|
|
@@ -18,7 +18,7 @@ For more information, please visit [https://developer.mypurecloud.com](https://d
|
|
18
18
|
|
19
19
|
### from rubygems.org
|
20
20
|
|
21
|
-
gem 'purecloud', '~> 0.
|
21
|
+
gem 'purecloud', '~> 0.63.1'
|
22
22
|
|
23
23
|
### Install from Git
|
24
24
|
|
@@ -83,34 +83,35 @@ module PureCloud
|
|
83
83
|
return data, status_code, headers
|
84
84
|
end
|
85
85
|
|
86
|
-
#
|
86
|
+
# Gets a list of existing attributes.
|
87
87
|
#
|
88
|
-
# @param attribute_id Attribute ID
|
89
88
|
# @param [Hash] opts the optional parameters
|
90
|
-
# @
|
91
|
-
|
92
|
-
|
89
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
90
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
91
|
+
# @return [AttributeEntityListing]
|
92
|
+
def get(opts = {})
|
93
|
+
data, status_code, headers = get_with_http_info(opts)
|
93
94
|
return data
|
94
95
|
end
|
95
96
|
|
96
|
-
#
|
97
|
+
# Gets a list of existing attributes.
|
97
98
|
#
|
98
|
-
# @param attribute_id Attribute ID
|
99
99
|
# @param [Hash] opts the optional parameters
|
100
|
-
# @
|
101
|
-
|
100
|
+
# @option opts [Integer] :page_number Page number
|
101
|
+
# @option opts [Integer] :page_size Page size
|
102
|
+
# @return [Array<(AttributeEntityListing, Fixnum, Hash)>] AttributeEntityListing data, response status code and response headers
|
103
|
+
def get_with_http_info(opts = {})
|
102
104
|
if @api_client.config.debugging
|
103
|
-
@api_client.config.logger.debug "Calling API: AttributesApi#
|
105
|
+
@api_client.config.logger.debug "Calling API: AttributesApi#get ..."
|
104
106
|
end
|
105
107
|
|
106
|
-
# verify the required parameter 'attribute_id' is set
|
107
|
-
fail "Missing the required parameter 'attribute_id' when calling get_attribute_id" if attribute_id.nil?
|
108
|
-
|
109
108
|
# resource path
|
110
|
-
local_var_path = "/api/v2/attributes
|
109
|
+
local_var_path = "/api/v2/attributes".sub('{format}','json')
|
111
110
|
|
112
111
|
# query parameters
|
113
112
|
query_params = {}
|
113
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
114
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
114
115
|
|
115
116
|
# header parameters
|
116
117
|
header_params = {}
|
@@ -136,42 +137,41 @@ module PureCloud
|
|
136
137
|
:form_params => form_params,
|
137
138
|
:body => post_body,
|
138
139
|
:auth_names => auth_names,
|
139
|
-
:return_type => '
|
140
|
+
:return_type => 'AttributeEntityListing')
|
140
141
|
if @api_client.config.debugging
|
141
|
-
@api_client.config.logger.debug "API called: AttributesApi#
|
142
|
+
@api_client.config.logger.debug "API called: AttributesApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
142
143
|
end
|
143
144
|
return data, status_code, headers
|
144
145
|
end
|
145
146
|
|
146
|
-
#
|
147
|
+
# Get details about an existing attribute.
|
147
148
|
#
|
149
|
+
# @param attribute_id Attribute ID
|
148
150
|
# @param [Hash] opts the optional parameters
|
149
|
-
# @
|
150
|
-
|
151
|
-
|
152
|
-
def get_attributes(opts = {})
|
153
|
-
data, status_code, headers = get_attributes_with_http_info(opts)
|
151
|
+
# @return [Attribute]
|
152
|
+
def get_attribute_id(attribute_id, opts = {})
|
153
|
+
data, status_code, headers = get_attribute_id_with_http_info(attribute_id, opts)
|
154
154
|
return data
|
155
155
|
end
|
156
156
|
|
157
|
-
#
|
157
|
+
# Get details about an existing attribute.
|
158
158
|
#
|
159
|
+
# @param attribute_id Attribute ID
|
159
160
|
# @param [Hash] opts the optional parameters
|
160
|
-
# @
|
161
|
-
|
162
|
-
# @return [Array<(AttributeEntityListing, Fixnum, Hash)>] AttributeEntityListing data, response status code and response headers
|
163
|
-
def get_attributes_with_http_info(opts = {})
|
161
|
+
# @return [Array<(Attribute, Fixnum, Hash)>] Attribute data, response status code and response headers
|
162
|
+
def get_attribute_id_with_http_info(attribute_id, opts = {})
|
164
163
|
if @api_client.config.debugging
|
165
|
-
@api_client.config.logger.debug "Calling API: AttributesApi#
|
164
|
+
@api_client.config.logger.debug "Calling API: AttributesApi#get_attribute_id ..."
|
166
165
|
end
|
167
166
|
|
167
|
+
# verify the required parameter 'attribute_id' is set
|
168
|
+
fail "Missing the required parameter 'attribute_id' when calling get_attribute_id" if attribute_id.nil?
|
169
|
+
|
168
170
|
# resource path
|
169
|
-
local_var_path = "/api/v2/attributes".sub('{format}','json')
|
171
|
+
local_var_path = "/api/v2/attributes/{attributeId}".sub('{format}','json').sub('{' + 'attributeId' + '}', attribute_id.to_s)
|
170
172
|
|
171
173
|
# query parameters
|
172
174
|
query_params = {}
|
173
|
-
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
174
|
-
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
175
175
|
|
176
176
|
# header parameters
|
177
177
|
header_params = {}
|
@@ -197,9 +197,9 @@ module PureCloud
|
|
197
197
|
:form_params => form_params,
|
198
198
|
:body => post_body,
|
199
199
|
:auth_names => auth_names,
|
200
|
-
:return_type => '
|
200
|
+
:return_type => 'Attribute')
|
201
201
|
if @api_client.config.debugging
|
202
|
-
@api_client.config.logger.debug "API called: AttributesApi#
|
202
|
+
@api_client.config.logger.debug "API called: AttributesApi#get_attribute_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
203
203
|
end
|
204
204
|
return data, status_code, headers
|
205
205
|
end
|
@@ -209,8 +209,8 @@ module PureCloud
|
|
209
209
|
# @param body Attribute
|
210
210
|
# @param [Hash] opts the optional parameters
|
211
211
|
# @return [Attribute]
|
212
|
-
def
|
213
|
-
data, status_code, headers =
|
212
|
+
def post(body, opts = {})
|
213
|
+
data, status_code, headers = post_with_http_info(body, opts)
|
214
214
|
return data
|
215
215
|
end
|
216
216
|
|
@@ -219,13 +219,13 @@ module PureCloud
|
|
219
219
|
# @param body Attribute
|
220
220
|
# @param [Hash] opts the optional parameters
|
221
221
|
# @return [Array<(Attribute, Fixnum, Hash)>] Attribute data, response status code and response headers
|
222
|
-
def
|
222
|
+
def post_with_http_info(body, opts = {})
|
223
223
|
if @api_client.config.debugging
|
224
|
-
@api_client.config.logger.debug "Calling API: AttributesApi#
|
224
|
+
@api_client.config.logger.debug "Calling API: AttributesApi#post ..."
|
225
225
|
end
|
226
226
|
|
227
227
|
# verify the required parameter 'body' is set
|
228
|
-
fail "Missing the required parameter 'body' when calling
|
228
|
+
fail "Missing the required parameter 'body' when calling post" if body.nil?
|
229
229
|
|
230
230
|
# resource path
|
231
231
|
local_var_path = "/api/v2/attributes".sub('{format}','json')
|
@@ -259,7 +259,7 @@ module PureCloud
|
|
259
259
|
:auth_names => auth_names,
|
260
260
|
:return_type => 'Attribute')
|
261
261
|
if @api_client.config.debugging
|
262
|
-
@api_client.config.logger.debug "API called: AttributesApi#
|
262
|
+
@api_client.config.logger.debug "API called: AttributesApi#post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
263
263
|
end
|
264
264
|
return data, status_code, headers
|
265
265
|
end
|
@@ -223,6 +223,64 @@ module PureCloud
|
|
223
223
|
return data, status_code, headers
|
224
224
|
end
|
225
225
|
|
226
|
+
# Get conversations
|
227
|
+
#
|
228
|
+
# @param [Hash] opts the optional parameters
|
229
|
+
# @option opts [String] :communication_type Call or Chat communication filtering
|
230
|
+
# @return [ConversationEntityListing]
|
231
|
+
def get(opts = {})
|
232
|
+
data, status_code, headers = get_with_http_info(opts)
|
233
|
+
return data
|
234
|
+
end
|
235
|
+
|
236
|
+
# Get conversations
|
237
|
+
#
|
238
|
+
# @param [Hash] opts the optional parameters
|
239
|
+
# @option opts [String] :communication_type Call or Chat communication filtering
|
240
|
+
# @return [Array<(ConversationEntityListing, Fixnum, Hash)>] ConversationEntityListing data, response status code and response headers
|
241
|
+
def get_with_http_info(opts = {})
|
242
|
+
if @api_client.config.debugging
|
243
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi#get ..."
|
244
|
+
end
|
245
|
+
|
246
|
+
# resource path
|
247
|
+
local_var_path = "/api/v2/conversations".sub('{format}','json')
|
248
|
+
|
249
|
+
# query parameters
|
250
|
+
query_params = {}
|
251
|
+
query_params[:'communicationType'] = opts[:'communication_type'] if opts[:'communication_type']
|
252
|
+
|
253
|
+
# header parameters
|
254
|
+
header_params = {}
|
255
|
+
|
256
|
+
# HTTP header 'Accept' (if needed)
|
257
|
+
_header_accept = ['application/json']
|
258
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
259
|
+
|
260
|
+
# HTTP header 'Content-Type'
|
261
|
+
_header_content_type = ['application/json']
|
262
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
263
|
+
|
264
|
+
# form parameters
|
265
|
+
form_params = {}
|
266
|
+
|
267
|
+
# http body (model)
|
268
|
+
post_body = nil
|
269
|
+
|
270
|
+
auth_names = ['PureCloud Auth']
|
271
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
272
|
+
:header_params => header_params,
|
273
|
+
:query_params => query_params,
|
274
|
+
:form_params => form_params,
|
275
|
+
:body => post_body,
|
276
|
+
:auth_names => auth_names,
|
277
|
+
:return_type => 'ConversationEntityListing')
|
278
|
+
if @api_client.config.debugging
|
279
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
280
|
+
end
|
281
|
+
return data, status_code, headers
|
282
|
+
end
|
283
|
+
|
226
284
|
# Get callback conversations
|
227
285
|
#
|
228
286
|
# @param [Hash] opts the optional parameters
|
@@ -1527,64 +1585,6 @@ module PureCloud
|
|
1527
1585
|
return data, status_code, headers
|
1528
1586
|
end
|
1529
1587
|
|
1530
|
-
# Get conversations
|
1531
|
-
#
|
1532
|
-
# @param [Hash] opts the optional parameters
|
1533
|
-
# @option opts [String] :communication_type Call or Chat communication filtering
|
1534
|
-
# @return [ConversationEntityListing]
|
1535
|
-
def get_conversations(opts = {})
|
1536
|
-
data, status_code, headers = get_conversations_with_http_info(opts)
|
1537
|
-
return data
|
1538
|
-
end
|
1539
|
-
|
1540
|
-
# Get conversations
|
1541
|
-
#
|
1542
|
-
# @param [Hash] opts the optional parameters
|
1543
|
-
# @option opts [String] :communication_type Call or Chat communication filtering
|
1544
|
-
# @return [Array<(ConversationEntityListing, Fixnum, Hash)>] ConversationEntityListing data, response status code and response headers
|
1545
|
-
def get_conversations_with_http_info(opts = {})
|
1546
|
-
if @api_client.config.debugging
|
1547
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#get_conversations ..."
|
1548
|
-
end
|
1549
|
-
|
1550
|
-
# resource path
|
1551
|
-
local_var_path = "/api/v2/conversations".sub('{format}','json')
|
1552
|
-
|
1553
|
-
# query parameters
|
1554
|
-
query_params = {}
|
1555
|
-
query_params[:'communicationType'] = opts[:'communication_type'] if opts[:'communication_type']
|
1556
|
-
|
1557
|
-
# header parameters
|
1558
|
-
header_params = {}
|
1559
|
-
|
1560
|
-
# HTTP header 'Accept' (if needed)
|
1561
|
-
_header_accept = ['application/json']
|
1562
|
-
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
1563
|
-
|
1564
|
-
# HTTP header 'Content-Type'
|
1565
|
-
_header_content_type = ['application/json']
|
1566
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
1567
|
-
|
1568
|
-
# form parameters
|
1569
|
-
form_params = {}
|
1570
|
-
|
1571
|
-
# http body (model)
|
1572
|
-
post_body = nil
|
1573
|
-
|
1574
|
-
auth_names = ['PureCloud Auth']
|
1575
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1576
|
-
:header_params => header_params,
|
1577
|
-
:query_params => query_params,
|
1578
|
-
:form_params => form_params,
|
1579
|
-
:body => post_body,
|
1580
|
-
:auth_names => auth_names,
|
1581
|
-
:return_type => 'ConversationEntityListing')
|
1582
|
-
if @api_client.config.debugging
|
1583
|
-
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1584
|
-
end
|
1585
|
-
return data, status_code, headers
|
1586
|
-
end
|
1587
|
-
|
1588
1588
|
# Get a conversation by id
|
1589
1589
|
#
|
1590
1590
|
# @param conversation_id conversationId
|
@@ -84,6 +84,67 @@ module PureCloud
|
|
84
84
|
return data, status_code, headers
|
85
85
|
end
|
86
86
|
|
87
|
+
# Gets an Organization's Greetings
|
88
|
+
#
|
89
|
+
# @param [Hash] opts the optional parameters
|
90
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
91
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
92
|
+
# @return [DomainEntityListing]
|
93
|
+
def get(opts = {})
|
94
|
+
data, status_code, headers = get_with_http_info(opts)
|
95
|
+
return data
|
96
|
+
end
|
97
|
+
|
98
|
+
# Gets an Organization's Greetings
|
99
|
+
#
|
100
|
+
# @param [Hash] opts the optional parameters
|
101
|
+
# @option opts [Integer] :page_size Page size
|
102
|
+
# @option opts [Integer] :page_number Page number
|
103
|
+
# @return [Array<(DomainEntityListing, Fixnum, Hash)>] DomainEntityListing data, response status code and response headers
|
104
|
+
def get_with_http_info(opts = {})
|
105
|
+
if @api_client.config.debugging
|
106
|
+
@api_client.config.logger.debug "Calling API: GreetingsApi#get ..."
|
107
|
+
end
|
108
|
+
|
109
|
+
# resource path
|
110
|
+
local_var_path = "/api/v2/greetings".sub('{format}','json')
|
111
|
+
|
112
|
+
# query parameters
|
113
|
+
query_params = {}
|
114
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
115
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
116
|
+
|
117
|
+
# header parameters
|
118
|
+
header_params = {}
|
119
|
+
|
120
|
+
# HTTP header 'Accept' (if needed)
|
121
|
+
_header_accept = ['application/json']
|
122
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
123
|
+
|
124
|
+
# HTTP header 'Content-Type'
|
125
|
+
_header_content_type = ['application/json']
|
126
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
127
|
+
|
128
|
+
# form parameters
|
129
|
+
form_params = {}
|
130
|
+
|
131
|
+
# http body (model)
|
132
|
+
post_body = nil
|
133
|
+
|
134
|
+
auth_names = ['PureCloud Auth']
|
135
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
136
|
+
:header_params => header_params,
|
137
|
+
:query_params => query_params,
|
138
|
+
:form_params => form_params,
|
139
|
+
:body => post_body,
|
140
|
+
:auth_names => auth_names,
|
141
|
+
:return_type => 'DomainEntityListing')
|
142
|
+
if @api_client.config.debugging
|
143
|
+
@api_client.config.logger.debug "API called: GreetingsApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
144
|
+
end
|
145
|
+
return data, status_code, headers
|
146
|
+
end
|
147
|
+
|
87
148
|
# Get an Organization's DefaultGreetingList
|
88
149
|
#
|
89
150
|
# @param [Hash] opts the optional parameters
|
@@ -266,67 +327,6 @@ module PureCloud
|
|
266
327
|
return data, status_code, headers
|
267
328
|
end
|
268
329
|
|
269
|
-
# Gets an Organization's Greetings
|
270
|
-
#
|
271
|
-
# @param [Hash] opts the optional parameters
|
272
|
-
# @option opts [Integer] :page_size Page size (default to 25)
|
273
|
-
# @option opts [Integer] :page_number Page number (default to 1)
|
274
|
-
# @return [DomainEntityListing]
|
275
|
-
def get_greetings(opts = {})
|
276
|
-
data, status_code, headers = get_greetings_with_http_info(opts)
|
277
|
-
return data
|
278
|
-
end
|
279
|
-
|
280
|
-
# Gets an Organization's Greetings
|
281
|
-
#
|
282
|
-
# @param [Hash] opts the optional parameters
|
283
|
-
# @option opts [Integer] :page_size Page size
|
284
|
-
# @option opts [Integer] :page_number Page number
|
285
|
-
# @return [Array<(DomainEntityListing, Fixnum, Hash)>] DomainEntityListing data, response status code and response headers
|
286
|
-
def get_greetings_with_http_info(opts = {})
|
287
|
-
if @api_client.config.debugging
|
288
|
-
@api_client.config.logger.debug "Calling API: GreetingsApi#get_greetings ..."
|
289
|
-
end
|
290
|
-
|
291
|
-
# resource path
|
292
|
-
local_var_path = "/api/v2/greetings".sub('{format}','json')
|
293
|
-
|
294
|
-
# query parameters
|
295
|
-
query_params = {}
|
296
|
-
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
297
|
-
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
298
|
-
|
299
|
-
# header parameters
|
300
|
-
header_params = {}
|
301
|
-
|
302
|
-
# HTTP header 'Accept' (if needed)
|
303
|
-
_header_accept = ['application/json']
|
304
|
-
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
305
|
-
|
306
|
-
# HTTP header 'Content-Type'
|
307
|
-
_header_content_type = ['application/json']
|
308
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
309
|
-
|
310
|
-
# form parameters
|
311
|
-
form_params = {}
|
312
|
-
|
313
|
-
# http body (model)
|
314
|
-
post_body = nil
|
315
|
-
|
316
|
-
auth_names = ['PureCloud Auth']
|
317
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
318
|
-
:header_params => header_params,
|
319
|
-
:query_params => query_params,
|
320
|
-
:form_params => form_params,
|
321
|
-
:body => post_body,
|
322
|
-
:auth_names => auth_names,
|
323
|
-
:return_type => 'DomainEntityListing')
|
324
|
-
if @api_client.config.debugging
|
325
|
-
@api_client.config.logger.debug "API called: GreetingsApi#get_greetings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
326
|
-
end
|
327
|
-
return data, status_code, headers
|
328
|
-
end
|
329
|
-
|
330
330
|
# Get a list of the Group's Greetings
|
331
331
|
#
|
332
332
|
# @param group_id Group ID
|
@@ -584,8 +584,8 @@ module PureCloud
|
|
584
584
|
# @param body The Greeting to create
|
585
585
|
# @param [Hash] opts the optional parameters
|
586
586
|
# @return [DefaultGreetingList]
|
587
|
-
def
|
588
|
-
data, status_code, headers =
|
587
|
+
def post(body, opts = {})
|
588
|
+
data, status_code, headers = post_with_http_info(body, opts)
|
589
589
|
return data
|
590
590
|
end
|
591
591
|
|
@@ -594,13 +594,13 @@ module PureCloud
|
|
594
594
|
# @param body The Greeting to create
|
595
595
|
# @param [Hash] opts the optional parameters
|
596
596
|
# @return [Array<(DefaultGreetingList, Fixnum, Hash)>] DefaultGreetingList data, response status code and response headers
|
597
|
-
def
|
597
|
+
def post_with_http_info(body, opts = {})
|
598
598
|
if @api_client.config.debugging
|
599
|
-
@api_client.config.logger.debug "Calling API: GreetingsApi#
|
599
|
+
@api_client.config.logger.debug "Calling API: GreetingsApi#post ..."
|
600
600
|
end
|
601
601
|
|
602
602
|
# verify the required parameter 'body' is set
|
603
|
-
fail "Missing the required parameter 'body' when calling
|
603
|
+
fail "Missing the required parameter 'body' when calling post" if body.nil?
|
604
604
|
|
605
605
|
# resource path
|
606
606
|
local_var_path = "/api/v2/greetings".sub('{format}','json')
|
@@ -634,7 +634,7 @@ module PureCloud
|
|
634
634
|
:auth_names => auth_names,
|
635
635
|
:return_type => 'DefaultGreetingList')
|
636
636
|
if @api_client.config.debugging
|
637
|
-
@api_client.config.logger.debug "API called: GreetingsApi#
|
637
|
+
@api_client.config.logger.debug "API called: GreetingsApi#post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
638
638
|
end
|
639
639
|
return data, status_code, headers
|
640
640
|
end
|