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/docs/JsonNode.md
CHANGED
@@ -7,16 +7,13 @@ title: JsonNode
|
|
7
7
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
|
-
| **array** | **BOOLEAN** | | [optional] |
|
11
|
-
| **null** | **BOOLEAN** | | [optional] |
|
12
10
|
| **node_type** | **String** | | [optional] |
|
13
11
|
| **float** | **BOOLEAN** | | [optional] |
|
14
12
|
| **object** | **BOOLEAN** | | [optional] |
|
15
13
|
| **boolean** | **BOOLEAN** | | [optional] |
|
16
14
|
| **number** | **BOOLEAN** | | [optional] |
|
17
|
-
| **value_node** | **BOOLEAN** | | [optional] |
|
18
|
-
| **container_node** | **BOOLEAN** | | [optional] |
|
19
15
|
| **missing_node** | **BOOLEAN** | | [optional] |
|
16
|
+
| **container_node** | **BOOLEAN** | | [optional] |
|
20
17
|
| **pojo** | **BOOLEAN** | | [optional] |
|
21
18
|
| **integral_number** | **BOOLEAN** | | [optional] |
|
22
19
|
| **floating_point_number** | **BOOLEAN** | | [optional] |
|
@@ -28,6 +25,9 @@ title: JsonNode
|
|
28
25
|
| **big_integer** | **BOOLEAN** | | [optional] |
|
29
26
|
| **textual** | **BOOLEAN** | | [optional] |
|
30
27
|
| **binary** | **BOOLEAN** | | [optional] |
|
28
|
+
| **value_node** | **BOOLEAN** | | [optional] |
|
29
|
+
| **array** | **BOOLEAN** | | [optional] |
|
30
|
+
| **null** | **BOOLEAN** | | [optional] |
|
31
31
|
{: class="table table-striped"}
|
32
32
|
|
33
33
|
|
data/docs/ManagementUnit.md
CHANGED
@@ -10,7 +10,7 @@ title: ManagementUnit
|
|
10
10
|
| **id** | **String** | The globally unique identifier for the object. | [optional] |
|
11
11
|
| **name** | **String** | | [optional] |
|
12
12
|
| **start_day_of_week** | **String** | Start day of week for workforce management planning purposes | [optional] |
|
13
|
-
| **
|
13
|
+
| **time_zone** | **String** | The time zone for the management unit in standard Olson Format (See https://en.wikipedia.org/wiki/Tz_database) | [optional] |
|
14
14
|
| **version** | **Integer** | The version of the underlying ManagementUnit object. Useful for handling eventual consistency issues. User must submit the current version they of the ManagementUnit in any write requests | |
|
15
15
|
| **date_modified** | **DateTime** | The date and time at which this management unit was last modified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
16
16
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
@@ -0,0 +1,22 @@
|
|
1
|
+
---
|
2
|
+
title: ManagementUnitListing
|
3
|
+
---
|
4
|
+
## PureCloud::ManagementUnitListing
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **entities** | [**Array<ManagementUnit>**](ManagementUnit.html) | | [optional] |
|
11
|
+
| **page_size** | **Integer** | | [optional] |
|
12
|
+
| **page_number** | **Integer** | | [optional] |
|
13
|
+
| **total** | **Integer** | | [optional] |
|
14
|
+
| **self_uri** | **String** | | [optional] |
|
15
|
+
| **first_uri** | **String** | | [optional] |
|
16
|
+
| **next_uri** | **String** | | [optional] |
|
17
|
+
| **previous_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
|
+
| **page_count** | **Integer** | | [optional] |
|
20
|
+
{: class="table table-striped"}
|
21
|
+
|
22
|
+
|
data/docs/OutboundApi.md
CHANGED
@@ -18,6 +18,7 @@ Method | Description
|
|
18
18
|
[**delete_outbound_contactlist_contact**](OutboundApi.html#delete_outbound_contactlist_contact) | Delete a contact.
|
19
19
|
[**delete_outbound_contactlist_contacts**](OutboundApi.html#delete_outbound_contactlist_contacts) | Delete contacts from a contact list.
|
20
20
|
[**delete_outbound_contactlistfilter**](OutboundApi.html#delete_outbound_contactlistfilter) | Delete Contact List Filter
|
21
|
+
[**delete_outbound_contactlists**](OutboundApi.html#delete_outbound_contactlists) | Delete multiple contact lists.
|
21
22
|
[**delete_outbound_dnclist**](OutboundApi.html#delete_outbound_dnclist) | Delete dialer DNC list
|
22
23
|
[**delete_outbound_ruleset**](OutboundApi.html#delete_outbound_ruleset) | Delete a Rule set.
|
23
24
|
[**delete_outbound_schedules_campaign**](OutboundApi.html#delete_outbound_schedules_campaign) | Delete a dialer campaign schedule.
|
@@ -682,6 +683,64 @@ nil (empty response body)
|
|
682
683
|
|
683
684
|
|
684
685
|
|
686
|
+
<a name="delete_outbound_contactlists"></a>
|
687
|
+
|
688
|
+
## - delete_outbound_contactlists(id)
|
689
|
+
|
690
|
+
Delete multiple contact lists.
|
691
|
+
|
692
|
+
|
693
|
+
|
694
|
+
Wraps DELETE /api/v2/outbound/contactlists
|
695
|
+
|
696
|
+
|
697
|
+
### Example
|
698
|
+
~~~ruby
|
699
|
+
# load the gem
|
700
|
+
require 'purecloudplatformclientv2'
|
701
|
+
# setup authorization
|
702
|
+
@secret = ENV['PURECLOUD_SECRET']
|
703
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
704
|
+
environment = "mypurecloud.com"
|
705
|
+
|
706
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
707
|
+
|
708
|
+
PureCloud.configure do |config|
|
709
|
+
config.access_token = @authToken
|
710
|
+
end
|
711
|
+
|
712
|
+
api_instance = PureCloud::OutboundApi.new
|
713
|
+
|
714
|
+
id = ["id_example"] # Array<String> | contact list id(s) to delete
|
715
|
+
|
716
|
+
|
717
|
+
begin
|
718
|
+
#Delete multiple contact lists.
|
719
|
+
api_instance.delete_outbound_contactlists(id)
|
720
|
+
rescue PureCloud::ApiError => e
|
721
|
+
puts "Exception when calling OutboundApi->delete_outbound_contactlists: #{e}"
|
722
|
+
end
|
723
|
+
~~~
|
724
|
+
|
725
|
+
### Parameters
|
726
|
+
|
727
|
+
Name | Type | Description | Notes
|
728
|
+
------------- | ------------- | ------------- | -------------
|
729
|
+
**id** | [**Array<String>**](String.html)| contact list id(s) to delete | |
|
730
|
+
{: class="table table-striped"}
|
731
|
+
|
732
|
+
|
733
|
+
### Return type
|
734
|
+
|
735
|
+
nil (empty response body)
|
736
|
+
|
737
|
+
### HTTP request headers
|
738
|
+
|
739
|
+
- **Content-Type**: application/json
|
740
|
+
- **Accept**: application/json
|
741
|
+
|
742
|
+
|
743
|
+
|
685
744
|
<a name="delete_outbound_dnclist"></a>
|
686
745
|
|
687
746
|
## - delete_outbound_dnclist(dnc_list_id)
|
@@ -0,0 +1,18 @@
|
|
1
|
+
---
|
2
|
+
title: PostActionInput
|
3
|
+
---
|
4
|
+
## PureCloud::PostActionInput
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **category** | **String** | Category of action | |
|
11
|
+
| **name** | **String** | Name of action | |
|
12
|
+
| **integration_id** | **String** | The ID of the integration this action is associated to | |
|
13
|
+
| **config** | [**ActionConfig**](ActionConfig.html) | Configuration to support request and response processing | |
|
14
|
+
| **contract** | [**ActionContractInput**](ActionContractInput.html) | Action contract | |
|
15
|
+
| **secure** | **BOOLEAN** | Indication of whether or not the action is designed to accept sensitive data | [optional] |
|
16
|
+
{: class="table table-striped"}
|
17
|
+
|
18
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
---
|
2
|
+
title: PostInputContract
|
3
|
+
---
|
4
|
+
## PureCloud::PostInputContract
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **input_schema** | [**JsonSchemaDocument**](JsonSchemaDocument.html) | JSON Schema that defines the body of the request that the client (edge/architect/postman) is sending to the service, on the /execute path. | |
|
11
|
+
{: class="table table-striped"}
|
12
|
+
|
13
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
---
|
2
|
+
title: PostOutputContract
|
3
|
+
---
|
4
|
+
## PureCloud::PostOutputContract
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **success_schema** | [**JsonSchemaDocument**](JsonSchemaDocument.html) | JSON schema that defines the transformed, successful result that will be sent back to the caller. | |
|
11
|
+
{: class="table table-striped"}
|
12
|
+
|
13
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
---
|
2
|
+
title: PublishDraftInput
|
3
|
+
---
|
4
|
+
## PureCloud::PublishDraftInput
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **version** | **Integer** | The current draft version. | |
|
11
|
+
{: class="table table-striped"}
|
12
|
+
|
13
|
+
|
data/docs/RecordingApi.md
CHANGED
@@ -15,6 +15,8 @@ Method | Description
|
|
15
15
|
[**get_conversation_recording**](RecordingApi.html#get_conversation_recording) | Gets a specific recording.
|
16
16
|
[**get_conversation_recording_annotation**](RecordingApi.html#get_conversation_recording_annotation) | Get annotation
|
17
17
|
[**get_conversation_recording_annotations**](RecordingApi.html#get_conversation_recording_annotations) | Get annotations for recording
|
18
|
+
[**get_conversation_recordingmetadata**](RecordingApi.html#get_conversation_recordingmetadata) | Get recording metadata for a conversation. Does not return playable media.
|
19
|
+
[**get_conversation_recordingmetadata_recording_id**](RecordingApi.html#get_conversation_recordingmetadata_recording_id) | Get metadata for a specific recording. Does not return playable media.
|
18
20
|
[**get_conversation_recordings**](RecordingApi.html#get_conversation_recordings) | Get all of a Conversation's Recordings.
|
19
21
|
[**get_orphanrecording**](RecordingApi.html#get_orphanrecording) | Gets a single orphan recording
|
20
22
|
[**get_orphanrecording_media**](RecordingApi.html#get_orphanrecording_media) | Gets the media of a single orphan recording
|
@@ -479,6 +481,127 @@ Name | Type | Description | Notes
|
|
479
481
|
|
480
482
|
|
481
483
|
|
484
|
+
<a name="get_conversation_recordingmetadata"></a>
|
485
|
+
|
486
|
+
## -[**Array<Recording>**](Recording.html) get_conversation_recordingmetadata(conversation_id)
|
487
|
+
|
488
|
+
Get recording metadata for a conversation. Does not return playable media.
|
489
|
+
|
490
|
+
|
491
|
+
|
492
|
+
Wraps GET /api/v2/conversations/{conversationId}/recordingmetadata
|
493
|
+
|
494
|
+
|
495
|
+
### Example
|
496
|
+
~~~ruby
|
497
|
+
# load the gem
|
498
|
+
require 'purecloudplatformclientv2'
|
499
|
+
# setup authorization
|
500
|
+
@secret = ENV['PURECLOUD_SECRET']
|
501
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
502
|
+
environment = "mypurecloud.com"
|
503
|
+
|
504
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
505
|
+
|
506
|
+
PureCloud.configure do |config|
|
507
|
+
config.access_token = @authToken
|
508
|
+
end
|
509
|
+
|
510
|
+
api_instance = PureCloud::RecordingApi.new
|
511
|
+
|
512
|
+
conversation_id = "conversation_id_example" # String | Conversation ID
|
513
|
+
|
514
|
+
|
515
|
+
begin
|
516
|
+
#Get recording metadata for a conversation. Does not return playable media.
|
517
|
+
result = api_instance.get_conversation_recordingmetadata(conversation_id)
|
518
|
+
p result
|
519
|
+
rescue PureCloud::ApiError => e
|
520
|
+
puts "Exception when calling RecordingApi->get_conversation_recordingmetadata: #{e}"
|
521
|
+
end
|
522
|
+
~~~
|
523
|
+
|
524
|
+
### Parameters
|
525
|
+
|
526
|
+
Name | Type | Description | Notes
|
527
|
+
------------- | ------------- | ------------- | -------------
|
528
|
+
**conversation_id** | **String**| Conversation ID | |
|
529
|
+
{: class="table table-striped"}
|
530
|
+
|
531
|
+
|
532
|
+
### Return type
|
533
|
+
|
534
|
+
[**Array<Recording>**](Recording.html)
|
535
|
+
|
536
|
+
### HTTP request headers
|
537
|
+
|
538
|
+
- **Content-Type**: application/json
|
539
|
+
- **Accept**: application/json
|
540
|
+
|
541
|
+
|
542
|
+
|
543
|
+
<a name="get_conversation_recordingmetadata_recording_id"></a>
|
544
|
+
|
545
|
+
## -[**Recording**](Recording.html) get_conversation_recordingmetadata_recording_id(conversation_id, recording_id)
|
546
|
+
|
547
|
+
Get metadata for a specific recording. Does not return playable media.
|
548
|
+
|
549
|
+
|
550
|
+
|
551
|
+
Wraps GET /api/v2/conversations/{conversationId}/recordingmetadata/{recordingId}
|
552
|
+
|
553
|
+
|
554
|
+
### Example
|
555
|
+
~~~ruby
|
556
|
+
# load the gem
|
557
|
+
require 'purecloudplatformclientv2'
|
558
|
+
# setup authorization
|
559
|
+
@secret = ENV['PURECLOUD_SECRET']
|
560
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
561
|
+
environment = "mypurecloud.com"
|
562
|
+
|
563
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
564
|
+
|
565
|
+
PureCloud.configure do |config|
|
566
|
+
config.access_token = @authToken
|
567
|
+
end
|
568
|
+
|
569
|
+
api_instance = PureCloud::RecordingApi.new
|
570
|
+
|
571
|
+
conversation_id = "conversation_id_example" # String | Conversation ID
|
572
|
+
|
573
|
+
recording_id = "recording_id_example" # String | Recording ID
|
574
|
+
|
575
|
+
|
576
|
+
begin
|
577
|
+
#Get metadata for a specific recording. Does not return playable media.
|
578
|
+
result = api_instance.get_conversation_recordingmetadata_recording_id(conversation_id, recording_id)
|
579
|
+
p result
|
580
|
+
rescue PureCloud::ApiError => e
|
581
|
+
puts "Exception when calling RecordingApi->get_conversation_recordingmetadata_recording_id: #{e}"
|
582
|
+
end
|
583
|
+
~~~
|
584
|
+
|
585
|
+
### Parameters
|
586
|
+
|
587
|
+
Name | Type | Description | Notes
|
588
|
+
------------- | ------------- | ------------- | -------------
|
589
|
+
**conversation_id** | **String**| Conversation ID | |
|
590
|
+
**recording_id** | **String**| Recording ID | |
|
591
|
+
{: class="table table-striped"}
|
592
|
+
|
593
|
+
|
594
|
+
### Return type
|
595
|
+
|
596
|
+
[**Recording**](Recording.html)
|
597
|
+
|
598
|
+
### HTTP request headers
|
599
|
+
|
600
|
+
- **Content-Type**: application/json
|
601
|
+
- **Accept**: application/json
|
602
|
+
|
603
|
+
|
604
|
+
|
482
605
|
<a name="get_conversation_recordings"></a>
|
483
606
|
|
484
607
|
## -[**Array<Recording>**](Recording.html) get_conversation_recordings(conversation_id, opts)
|
@@ -0,0 +1,17 @@
|
|
1
|
+
---
|
2
|
+
title: RequestConfig
|
3
|
+
---
|
4
|
+
## PureCloud::RequestConfig
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **request_url_template** | **String** | URL that may include placeholders for requests to 3rd party service | [optional] |
|
11
|
+
| **request_template** | **String** | Velocity template to define request body sent to 3rd party service. | [optional] |
|
12
|
+
| **request_template_uri** | **String** | URI to retrieve requestTemplate | [optional] |
|
13
|
+
| **request_type** | **String** | HTTP method to use for request | [optional] |
|
14
|
+
| **headers** | **Hash<String, String>** | Headers to include in request in (Header Name, Value) pairs. | [optional] |
|
15
|
+
{: class="table table-striped"}
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
title: ResponseConfig
|
3
|
+
---
|
4
|
+
## PureCloud::ResponseConfig
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **translation_map** | **Hash<String, String>** | Map 'attribute name' and 'JSON path' pairs used to extract data from REST response. | [optional] |
|
11
|
+
| **success_template** | **String** | Velocity template to build response to return from Action. | [optional] |
|
12
|
+
| **success_template_uri** | **String** | URI to retrieve success template. | [optional] |
|
13
|
+
{: class="table table-striped"}
|
14
|
+
|
15
|
+
|
@@ -33,6 +33,7 @@ title: ScreenShareConversationNotificationParticipants
|
|
33
33
|
| **external_organization** | [**ScreenShareConversationNotificationUriReference**](ScreenShareConversationNotificationUriReference.html) | | [optional] |
|
34
34
|
| **wrapup** | [**ConversationNotificationWrapup**](ConversationNotificationWrapup.html) | | [optional] |
|
35
35
|
| **peer** | **String** | | [optional] |
|
36
|
+
| **screen_recording_state** | **String** | | [optional] |
|
36
37
|
| **context** | **String** | | [optional] |
|
37
38
|
| **peer_count** | **Integer** | | [optional] |
|
38
39
|
| **sharing** | **BOOLEAN** | | [optional] |
|
@@ -33,6 +33,7 @@ title: ScreenShareConversationNotificationScreenShareMediaParticipant
|
|
33
33
|
| **external_organization** | [**ScreenShareConversationNotificationUriReference**](ScreenShareConversationNotificationUriReference.html) | | [optional] |
|
34
34
|
| **wrapup** | [**ConversationNotificationWrapup**](ConversationNotificationWrapup.html) | | [optional] |
|
35
35
|
| **peer** | **String** | | [optional] |
|
36
|
+
| **screen_recording_state** | **String** | | [optional] |
|
36
37
|
| **context** | **String** | | [optional] |
|
37
38
|
| **peer_count** | **Integer** | | [optional] |
|
38
39
|
| **sharing** | **BOOLEAN** | | [optional] |
|
@@ -33,6 +33,7 @@ title: SocialConversationNotificationParticipants
|
|
33
33
|
| **external_organization** | [**SocialConversationNotificationUriReference**](SocialConversationNotificationUriReference.html) | | [optional] |
|
34
34
|
| **wrapup** | [**ConversationNotificationWrapup**](ConversationNotificationWrapup.html) | | [optional] |
|
35
35
|
| **peer** | **String** | | [optional] |
|
36
|
+
| **screen_recording_state** | **String** | | [optional] |
|
36
37
|
| **social_media_id** | **String** | | [optional] |
|
37
38
|
| **social_media_hub** | **String** | | [optional] |
|
38
39
|
| **social_user_name** | **String** | | [optional] |
|
@@ -33,6 +33,7 @@ title: SocialConversationNotificationSocialMediaParticipant
|
|
33
33
|
| **external_organization** | [**SocialConversationNotificationUriReference**](SocialConversationNotificationUriReference.html) | | [optional] |
|
34
34
|
| **wrapup** | [**ConversationNotificationWrapup**](ConversationNotificationWrapup.html) | | [optional] |
|
35
35
|
| **peer** | **String** | | [optional] |
|
36
|
+
| **screen_recording_state** | **String** | | [optional] |
|
36
37
|
| **social_media_id** | **String** | | [optional] |
|
37
38
|
| **social_media_hub** | **String** | | [optional] |
|
38
39
|
| **social_user_name** | **String** | | [optional] |
|
@@ -0,0 +1,17 @@
|
|
1
|
+
---
|
2
|
+
title: TestExecutionOperationResult
|
3
|
+
---
|
4
|
+
## PureCloud::TestExecutionOperationResult
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **step** | **Integer** | The step number to indicate the order in which the operation was performed | [optional] |
|
11
|
+
| **name** | **String** | Name of the operation performed | [optional] |
|
12
|
+
| **success** | **BOOLEAN** | Indicated whether or not the operation was successful | [optional] |
|
13
|
+
| **result** | **Object** | The result of the operation | [optional] |
|
14
|
+
| **error** | [**ErrorBody**](ErrorBody.html) | Error that occurred during the operation | [optional] |
|
15
|
+
{: class="table table-striped"}
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
---
|
2
|
+
title: TestExecutionResult
|
3
|
+
---
|
4
|
+
## PureCloud::TestExecutionResult
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **operations** | [**Array<TestExecutionOperationResult>**](TestExecutionOperationResult.html) | Execution operations performed as part of the test | [optional] |
|
11
|
+
| **error** | [**ErrorBody**](ErrorBody.html) | The final error encountered during the test that resulted in test failure | [optional] |
|
12
|
+
| **final_result** | **Object** | The final result of the test. This is the response that would be returned during normal action execution | [optional] |
|
13
|
+
| **success** | **BOOLEAN** | Indicates whether or not the test was a success | [optional] |
|
14
|
+
{: class="table table-striped"}
|
15
|
+
|
16
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
---
|
2
|
+
title: UpdateActionInput
|
3
|
+
---
|
4
|
+
## PureCloud::UpdateActionInput
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **category** | **String** | Category of action | [optional] |
|
11
|
+
| **name** | **String** | Name of action | [optional] |
|
12
|
+
| **config** | [**ActionConfig**](ActionConfig.html) | Configuration to support request and response processing | [optional] |
|
13
|
+
| **version** | **Integer** | Version of this action | |
|
14
|
+
{: class="table table-striped"}
|
15
|
+
|
16
|
+
|