purecloudplatformclientv2 17.0.0 → 18.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/AnalyticsConversation.md +5 -5
- data/docs/AnalyticsConversationSegment.md +9 -9
- data/docs/AnalyticsEvaluation.md +10 -10
- data/docs/AnalyticsParticipant.md +7 -7
- data/docs/AnalyticsSession.md +27 -27
- data/docs/BillingApi.md +75 -0
- data/docs/BillingUsage.md +15 -0
- data/docs/BillingUsageReport.md +18 -0
- data/docs/BillingUsageResource.md +14 -0
- data/docs/CallCommand.md +1 -0
- data/docs/Conversation.md +1 -1
- data/docs/CreateQueueRequest.md +9 -9
- data/docs/DID.md +9 -9
- data/docs/DIDPool.md +9 -9
- data/docs/DirectoryUserDevicesListing.md +22 -0
- data/docs/DomainCertificateAuthority.md +9 -9
- data/docs/DomainLogicalInterface.md +9 -9
- data/docs/DomainOrganizationRole.md +1 -1
- data/docs/DomainOrganizationRoleCreate.md +1 -1
- data/docs/DomainOrganizationRoleUpdate.md +1 -1
- data/docs/DomainPhysicalInterface.md +9 -9
- data/docs/DomainSchemaReference.md +9 -9
- data/docs/Edge.md +10 -10
- data/docs/EdgeGroup.md +9 -9
- data/docs/EdgeLine.md +9 -9
- data/docs/EdgeLogsJob.md +9 -9
- data/docs/EdgeLogsJobFile.md +9 -9
- data/docs/EdgeLogsJobResponse.md +9 -9
- data/docs/EdgeTrunkBase.md +9 -9
- data/docs/Endpoint.md +9 -9
- data/docs/Extension.md +9 -9
- data/docs/ExtensionPool.md +9 -9
- data/docs/IVR.md +9 -9
- data/docs/JsonNode.md +4 -4
- data/docs/Line.md +9 -9
- data/docs/LineBase.md +9 -9
- data/docs/Metabase.md +8 -8
- data/docs/MobileDevicesApi.md +320 -0
- data/docs/NumberPlan.md +9 -9
- data/docs/OutboundApi.md +113 -0
- data/docs/OutboundRoute.md +9 -9
- data/docs/OutboundRouteBase.md +9 -9
- data/docs/OutboundSettings.md +20 -0
- data/docs/Phone.md +9 -9
- data/docs/PhoneBase.md +9 -9
- data/docs/Queue.md +9 -9
- data/docs/Schedule.md +10 -10
- data/docs/ScheduleGroup.md +10 -10
- data/docs/SchemaCategory.md +9 -9
- data/docs/Site.md +9 -9
- data/docs/Trunk.md +9 -9
- data/docs/TrunkBase.md +9 -9
- data/docs/UserDevice.md +22 -0
- data/docs/UserQueue.md +9 -9
- data/docs/UsersApi.md +1 -1
- data/lib/purecloudplatformclientv2.rb +8 -0
- data/lib/purecloudplatformclientv2/api/billing_api.rb +104 -0
- data/lib/purecloudplatformclientv2/api/mobile_devices_api.rb +380 -0
- data/lib/purecloudplatformclientv2/api/outbound_api.rb +119 -0
- data/lib/purecloudplatformclientv2/api/users_api.rb +2 -2
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/analytics_conversation.rb +5 -2
- data/lib/purecloudplatformclientv2/models/analytics_conversation_segment.rb +9 -2
- data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +10 -0
- data/lib/purecloudplatformclientv2/models/analytics_participant.rb +7 -0
- data/lib/purecloudplatformclientv2/models/analytics_session.rb +42 -2
- data/lib/purecloudplatformclientv2/models/billing_usage.rb +271 -0
- data/lib/purecloudplatformclientv2/models/billing_usage_report.rb +348 -0
- data/lib/purecloudplatformclientv2/models/billing_usage_resource.rb +238 -0
- data/lib/purecloudplatformclientv2/models/call_command.rb +30 -4
- data/lib/purecloudplatformclientv2/models/conversation.rb +1 -1
- data/lib/purecloudplatformclientv2/models/create_queue_request.rb +9 -2
- data/lib/purecloudplatformclientv2/models/did.rb +9 -2
- data/lib/purecloudplatformclientv2/models/did_pool.rb +9 -2
- data/lib/purecloudplatformclientv2/models/directory_user_devices_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/domain_certificate_authority.rb +9 -2
- data/lib/purecloudplatformclientv2/models/domain_logical_interface.rb +9 -2
- 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/domain_physical_interface.rb +9 -2
- data/lib/purecloudplatformclientv2/models/domain_schema_reference.rb +9 -2
- data/lib/purecloudplatformclientv2/models/edge.rb +10 -2
- data/lib/purecloudplatformclientv2/models/edge_group.rb +9 -2
- data/lib/purecloudplatformclientv2/models/edge_line.rb +9 -2
- data/lib/purecloudplatformclientv2/models/edge_logs_job.rb +9 -2
- data/lib/purecloudplatformclientv2/models/edge_logs_job_file.rb +9 -2
- data/lib/purecloudplatformclientv2/models/edge_logs_job_response.rb +9 -2
- data/lib/purecloudplatformclientv2/models/edge_trunk_base.rb +9 -2
- data/lib/purecloudplatformclientv2/models/endpoint.rb +9 -2
- data/lib/purecloudplatformclientv2/models/extension.rb +9 -2
- data/lib/purecloudplatformclientv2/models/extension_pool.rb +9 -2
- data/lib/purecloudplatformclientv2/models/intraday_data_group.rb +2 -2
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_intraday_data_group.rb +2 -2
- data/lib/purecloudplatformclientv2/models/intraday_data_update_notification_intraday_data_groupings.rb +2 -2
- data/lib/purecloudplatformclientv2/models/ivr.rb +9 -2
- data/lib/purecloudplatformclientv2/models/json_node.rb +72 -72
- data/lib/purecloudplatformclientv2/models/line.rb +9 -2
- data/lib/purecloudplatformclientv2/models/line_base.rb +9 -2
- data/lib/purecloudplatformclientv2/models/metabase.rb +8 -2
- data/lib/purecloudplatformclientv2/models/number_plan.rb +9 -2
- data/lib/purecloudplatformclientv2/models/outbound_route.rb +9 -2
- data/lib/purecloudplatformclientv2/models/outbound_route_base.rb +9 -2
- data/lib/purecloudplatformclientv2/models/outbound_settings.rb +383 -0
- data/lib/purecloudplatformclientv2/models/phone.rb +9 -2
- data/lib/purecloudplatformclientv2/models/phone_base.rb +9 -2
- data/lib/purecloudplatformclientv2/models/queue.rb +9 -2
- data/lib/purecloudplatformclientv2/models/recording.rb +2 -2
- data/lib/purecloudplatformclientv2/models/schedule.rb +15 -2
- data/lib/purecloudplatformclientv2/models/schedule_group.rb +15 -2
- data/lib/purecloudplatformclientv2/models/schema_category.rb +9 -2
- data/lib/purecloudplatformclientv2/models/site.rb +9 -2
- data/lib/purecloudplatformclientv2/models/trunk.rb +9 -2
- data/lib/purecloudplatformclientv2/models/trunk_base.rb +9 -2
- data/lib/purecloudplatformclientv2/models/user_device.rb +478 -0
- data/lib/purecloudplatformclientv2/models/user_queue.rb +9 -2
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +19 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8336bf12693f306bd254531f6174cef51ea2319
|
4
|
+
data.tar.gz: 8943726b5377b1b95e65eb47b2021e4b406820cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 599b3aa8a3ff8886088f2be201a23a1d193fabde63b4d186b85e381a2b26e04df90860dfe57313c164763c3d4361f9eca5c682bc68816d34f662dfd5631f320e
|
7
|
+
data.tar.gz: 17b4fe1e2b329f5111c9d6cce1acd9dbde0df8c630100afddccf7134b76f93cefe44e9ef28e5b1b2f7f518ed50bb76efaba318b9f5f73effd73b200115ef52cc
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
title: PureCloud Ruby Gem
|
3
3
|
---
|
4
|
-
![](http://ruby-gem-downloads-badge.herokuapp.com/purecloudplatformclientv2?label=
|
4
|
+
![](http://ruby-gem-downloads-badge.herokuapp.com/purecloudplatformclientv2?label=18.0.0)
|
5
5
|
|
6
6
|
Documentation can be found at [https://developer.mypurecloud.com/api/rest/client-libraries/ruby/](https://developer.mypurecloud.com/api/rest/client-libraries/ruby/)
|
7
7
|
|
@@ -10,7 +10,7 @@ Documentation can be found at [https://developer.mypurecloud.com/api/rest/client
|
|
10
10
|
### from rubygems.org
|
11
11
|
|
12
12
|
~~~ ruby
|
13
|
-
gem install 'purecloudplatformclientv2', '~>
|
13
|
+
gem install 'purecloudplatformclientv2', '~> 18.0.0'
|
14
14
|
~~~
|
15
15
|
|
16
16
|
### Install from Git
|
@@ -7,11 +7,11 @@ title: AnalyticsConversation
|
|
7
7
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
|
-
| **conversation_id** | **String** |
|
11
|
-
| **conversation_start** | **DateTime** | Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
12
|
-
| **conversation_end** | **DateTime** | Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
13
|
-
| **participants** | [**Array<AnalyticsParticipant>**](AnalyticsParticipant.html) |
|
14
|
-
| **evaluations** | [**Array<AnalyticsEvaluation>**](AnalyticsEvaluation.html) |
|
10
|
+
| **conversation_id** | **String** | Unique identifier for the conversation | [optional] |
|
11
|
+
| **conversation_start** | **DateTime** | Date/time the conversation started. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
12
|
+
| **conversation_end** | **DateTime** | Date/time the conversation ended. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
13
|
+
| **participants** | [**Array<AnalyticsParticipant>**](AnalyticsParticipant.html) | Participants in the conversation | [optional] |
|
14
|
+
| **evaluations** | [**Array<AnalyticsEvaluation>**](AnalyticsEvaluation.html) | Evaluations tied to this conersation | [optional] |
|
15
15
|
{: class="table table-striped"}
|
16
16
|
|
17
17
|
|
@@ -7,18 +7,18 @@ title: AnalyticsConversationSegment
|
|
7
7
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
|
-
| **segment_start** | **DateTime** | Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
11
|
-
| **segment_end** | **DateTime** | Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
12
|
-
| **queue_id** | **String** |
|
13
|
-
| **wrap_up_code** | **String** |
|
14
|
-
| **wrap_up_note** | **String** |
|
10
|
+
| **segment_start** | **DateTime** | The timestamp when this segment began. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
11
|
+
| **segment_end** | **DateTime** | The timestamp when this segment ended. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
12
|
+
| **queue_id** | **String** | Queue identifier | [optional] |
|
13
|
+
| **wrap_up_code** | **String** | Wrapup Code id | [optional] |
|
14
|
+
| **wrap_up_note** | **String** | Note entered by an agent during after-call work | [optional] |
|
15
15
|
| **wrap_up_tags** | **Array<String>** | | [optional] |
|
16
16
|
| **error_code** | **String** | | [optional] |
|
17
|
-
| **disconnect_type** | **String** |
|
18
|
-
| **segment_type** | **String** |
|
17
|
+
| **disconnect_type** | **String** | A description of the event that disconnected the segment | [optional] |
|
18
|
+
| **segment_type** | **String** | The activity taking place for the participant in the segment | [optional] |
|
19
19
|
| **requested_routing_user_ids** | **Array<String>** | | [optional] |
|
20
20
|
| **requested_routing_skill_ids** | **Array<String>** | | [optional] |
|
21
|
-
| **requested_language_id** | **String** |
|
21
|
+
| **requested_language_id** | **String** | A unique identifier for the language requested for an interaction. | [optional] |
|
22
22
|
| **properties** | [**Array<AnalyticsProperty>**](AnalyticsProperty.html) | | [optional] |
|
23
23
|
| **source_conversation_id** | **String** | | [optional] |
|
24
24
|
| **destination_conversation_id** | **String** | | [optional] |
|
@@ -26,7 +26,7 @@ title: AnalyticsConversationSegment
|
|
26
26
|
| **destination_session_id** | **String** | | [optional] |
|
27
27
|
| **sip_response_codes** | **Array<Integer>** | | [optional] |
|
28
28
|
| **q850_response_codes** | **Array<Integer>** | | [optional] |
|
29
|
-
| **conference** | **BOOLEAN** |
|
29
|
+
| **conference** | **BOOLEAN** | Indicates whether the segment was a conference | [optional] |
|
30
30
|
| **group_id** | **String** | | [optional] |
|
31
31
|
| **subject** | **String** | | [optional] |
|
32
32
|
| **audio_muted** | **BOOLEAN** | | [optional] |
|
data/docs/AnalyticsEvaluation.md
CHANGED
@@ -7,16 +7,16 @@ title: AnalyticsEvaluation
|
|
7
7
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
|
-
| **evaluation_id** | **String** |
|
11
|
-
| **evaluator_id** | **String** |
|
12
|
-
| **user_id** | **String** |
|
13
|
-
| **event_time** | **String** |
|
14
|
-
| **queue_id** | **String** |
|
15
|
-
| **form_id** | **String** |
|
16
|
-
| **context_id** | **String** |
|
17
|
-
| **form_name** | **String** |
|
18
|
-
| **geto_total_score** | **Integer** |
|
19
|
-
| **geto_total_critical_score** | **Integer** |
|
10
|
+
| **evaluation_id** | **String** | Unique identifier for the evaluation | [optional] |
|
11
|
+
| **evaluator_id** | **String** | A unique identifier of the PureCloud user who evaluated the interaction | [optional] |
|
12
|
+
| **user_id** | **String** | Unique identifier for the user being evaluated | [optional] |
|
13
|
+
| **event_time** | **String** | Specifies when an evaluation occurred | [optional] |
|
14
|
+
| **queue_id** | **String** | Unique identifier for the queue the conversation was on | [optional] |
|
15
|
+
| **form_id** | **String** | Unique identifier for the form used to evaluate the conversation/agent | [optional] |
|
16
|
+
| **context_id** | **String** | A unique identifier for an evaluation form, regardless of version | [optional] |
|
17
|
+
| **form_name** | **String** | Name of the evaluation form | [optional] |
|
18
|
+
| **geto_total_score** | **Integer** | The total evaluation for interactions | [optional] |
|
19
|
+
| **geto_total_critical_score** | **Integer** | The score for critical evaluation questions | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
22
22
|
|
@@ -7,13 +7,13 @@ title: AnalyticsParticipant
|
|
7
7
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
|
-
| **participant_id** | **String** |
|
11
|
-
| **participant_name** | **String** |
|
12
|
-
| **user_id** | **String** |
|
13
|
-
| **purpose** | **String** |
|
14
|
-
| **external_contact_id** | **String** |
|
15
|
-
| **external_organization_id** | **String** |
|
16
|
-
| **sessions** | [**Array<AnalyticsSession>**](AnalyticsSession.html) |
|
10
|
+
| **participant_id** | **String** | Unique identifier for the participant | [optional] |
|
11
|
+
| **participant_name** | **String** | A human readable name identifying the participant | [optional] |
|
12
|
+
| **user_id** | **String** | If a user, then this will be the unique identifier for the user | [optional] |
|
13
|
+
| **purpose** | **String** | The participant's purpose | [optional] |
|
14
|
+
| **external_contact_id** | **String** | External Contact Identifier | [optional] |
|
15
|
+
| **external_organization_id** | **String** | External Organization Identifier | [optional] |
|
16
|
+
| **sessions** | [**Array<AnalyticsSession>**](AnalyticsSession.html) | List of sessions associated to this participant | [optional] |
|
17
17
|
{: class="table table-striped"}
|
18
18
|
|
19
19
|
|
data/docs/AnalyticsSession.md
CHANGED
@@ -7,38 +7,38 @@ title: AnalyticsSession
|
|
7
7
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
|
-
| **media_type** | **String** |
|
11
|
-
| **session_id** | **String** |
|
10
|
+
| **media_type** | **String** | The session media type | [optional] |
|
11
|
+
| **session_id** | **String** | The unique identifier of this session | [optional] |
|
12
12
|
| **address_other** | **String** | | [optional] |
|
13
13
|
| **address_self** | **String** | | [optional] |
|
14
|
-
| **ani** | **String** |
|
15
|
-
| **direction** | **String** |
|
16
|
-
| **dnis** | **String** |
|
17
|
-
| **outbound_campaign_id** | **String** |
|
18
|
-
| **outbound_contact_id** | **String** |
|
19
|
-
| **outbound_contact_list_id** | **String** |
|
20
|
-
| **disposition_analyzer** | **String** |
|
21
|
-
| **disposition_name** | **String** |
|
22
|
-
| **edge_id** | **String** |
|
14
|
+
| **ani** | **String** | Automatic Number Identification (caller's number) | [optional] |
|
15
|
+
| **direction** | **String** | Direction | [optional] |
|
16
|
+
| **dnis** | **String** | Automatic Number Identification (caller's number) | [optional] |
|
17
|
+
| **outbound_campaign_id** | **String** | (Dialer) Unique identifier of the outbound campaign | [optional] |
|
18
|
+
| **outbound_contact_id** | **String** | (Dialer) Unique identifier of the contact | [optional] |
|
19
|
+
| **outbound_contact_list_id** | **String** | (Dialer) Unique identifier of the contact list that this contact belongs to | [optional] |
|
20
|
+
| **disposition_analyzer** | **String** | (Dialer) Unique identifier of the contact list that this contact belongs to | [optional] |
|
21
|
+
| **disposition_name** | **String** | (Dialer) Result of the analysis (for example disposition.classification.callable.machine) | [optional] |
|
22
|
+
| **edge_id** | **String** | Unique identifier of the edge device | [optional] |
|
23
23
|
| **remote_name_displayable** | **String** | | [optional] |
|
24
|
-
| **room_id** | **String** |
|
25
|
-
| **monitored_session_id** | **String** |
|
24
|
+
| **room_id** | **String** | Unique identifier for the room | [optional] |
|
25
|
+
| **monitored_session_id** | **String** | The sessionID being monitored | [optional] |
|
26
26
|
| **monitored_participant_id** | **String** | | [optional] |
|
27
|
-
| **callback_user_name** | **String** |
|
28
|
-
| **callback_numbers** | **Array<String>** |
|
29
|
-
| **callback_scheduled_time** | **DateTime** | Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
30
|
-
| **script_id** | **String** |
|
31
|
-
| **skip_enabled** | **BOOLEAN** |
|
32
|
-
| **timeout_seconds** | **Integer** |
|
33
|
-
| **cobrowse_role** | **String** |
|
34
|
-
| **cobrowse_room_id** | **String** |
|
27
|
+
| **callback_user_name** | **String** | The name of the user requesting a call back | [optional] |
|
28
|
+
| **callback_numbers** | **Array<String>** | List of numbers to callback | [optional] |
|
29
|
+
| **callback_scheduled_time** | **DateTime** | Scheduled callback date/time. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
30
|
+
| **script_id** | **String** | Scheduled callback date/time, Date time is represented as an ISO-8601 string. | [optional] |
|
31
|
+
| **skip_enabled** | **BOOLEAN** | (Dialer) Whether the agent can skip the dialer contact | [optional] |
|
32
|
+
| **timeout_seconds** | **Integer** | The number of seconds before PureCloud begins the call for a call back. 0 disables automatic calling | [optional] |
|
33
|
+
| **cobrowse_role** | **String** | Describe side of the cobrowse (sharer or viewer) | [optional] |
|
34
|
+
| **cobrowse_room_id** | **String** | A unique identifier for a PureCloud Cobrowse room. | [optional] |
|
35
35
|
| **media_bridge_id** | **String** | | [optional] |
|
36
|
-
| **screen_share_address_self** | **String** |
|
37
|
-
| **sharing_screen** | **BOOLEAN** |
|
38
|
-
| **screen_share_room_id** | **String** |
|
39
|
-
| **video_room_id** | **String** |
|
40
|
-
| **video_address_self** | **String** |
|
41
|
-
| **segments** | [**Array<AnalyticsConversationSegment>**](AnalyticsConversationSegment.html) |
|
36
|
+
| **screen_share_address_self** | **String** | Direct ScreenShare address | [optional] |
|
37
|
+
| **sharing_screen** | **BOOLEAN** | Flag determining if screenShare is started or not (true/false) | [optional] |
|
38
|
+
| **screen_share_room_id** | **String** | A unique identifier for a PureCloud ScreenShare room. | [optional] |
|
39
|
+
| **video_room_id** | **String** | A unique identifier for a PureCloud video room. | [optional] |
|
40
|
+
| **video_address_self** | **String** | Direct Video address | [optional] |
|
41
|
+
| **segments** | [**Array<AnalyticsConversationSegment>**](AnalyticsConversationSegment.html) | List of segments for this session | [optional] |
|
42
42
|
{: class="table table-striped"}
|
43
43
|
|
44
44
|
|
data/docs/BillingApi.md
ADDED
@@ -0,0 +1,75 @@
|
|
1
|
+
---
|
2
|
+
title: BillingApi
|
3
|
+
---
|
4
|
+
|
5
|
+
## PureCloud::BillingApi
|
6
|
+
|
7
|
+
All URIs are relative to *https://api.mypurecloud.com*
|
8
|
+
|
9
|
+
Method | Description
|
10
|
+
------------- | ------------- | -------------
|
11
|
+
[**get_billing_reports_billableusage**](BillingApi.html#get_billing_reports_billableusage) | Get a report of the billable usages (e.g. licenses and devices utilized) for a given period.
|
12
|
+
{: class="table table-striped"}
|
13
|
+
|
14
|
+
<a name="get_billing_reports_billableusage"></a>
|
15
|
+
|
16
|
+
## -[**BillingUsageReport**](BillingUsageReport.html) get_billing_reports_billableusage(start_date, end_date)
|
17
|
+
|
18
|
+
Get a report of the billable usages (e.g. licenses and devices utilized) for a given period.
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
Wraps GET /api/v2/billing/reports/billableusage
|
23
|
+
|
24
|
+
|
25
|
+
### Example
|
26
|
+
~~~ruby
|
27
|
+
# load the gem
|
28
|
+
require 'purecloudplatformclientv2'
|
29
|
+
# setup authorization
|
30
|
+
@secret = ENV['PURECLOUD_SECRET']
|
31
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
32
|
+
environment = "mypurecloud.com"
|
33
|
+
|
34
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
35
|
+
|
36
|
+
PureCloud.configure do |config|
|
37
|
+
config.access_token = @authToken
|
38
|
+
end
|
39
|
+
|
40
|
+
api_instance = PureCloud::BillingApi.new
|
41
|
+
|
42
|
+
start_date = DateTime.parse("2013-10-20T19:20:30+01:00") # DateTime | The period start date. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
43
|
+
|
44
|
+
end_date = DateTime.parse("2013-10-20T19:20:30+01:00") # DateTime | The period end date. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
45
|
+
|
46
|
+
|
47
|
+
begin
|
48
|
+
#Get a report of the billable usages (e.g. licenses and devices utilized) for a given period.
|
49
|
+
result = api_instance.get_billing_reports_billableusage(start_date, end_date)
|
50
|
+
p result
|
51
|
+
rescue PureCloud::ApiError => e
|
52
|
+
puts "Exception when calling BillingApi->get_billing_reports_billableusage: #{e}"
|
53
|
+
end
|
54
|
+
~~~
|
55
|
+
|
56
|
+
### Parameters
|
57
|
+
|
58
|
+
Name | Type | Description | Notes
|
59
|
+
------------- | ------------- | ------------- | -------------
|
60
|
+
**start_date** | **DateTime**| The period start date. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | |
|
61
|
+
**end_date** | **DateTime**| The period end date. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | |
|
62
|
+
{: class="table table-striped"}
|
63
|
+
|
64
|
+
|
65
|
+
### Return type
|
66
|
+
|
67
|
+
[**BillingUsageReport**](BillingUsageReport.html)
|
68
|
+
|
69
|
+
### HTTP request headers
|
70
|
+
|
71
|
+
- **Content-Type**: application/json
|
72
|
+
- **Accept**: application/json
|
73
|
+
|
74
|
+
|
75
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
title: BillingUsage
|
3
|
+
---
|
4
|
+
## PureCloud::BillingUsage
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **name** | **String** | Identifies the billable usage. | |
|
11
|
+
| **total_usage** | **String** | The total amount of usage, expressed as a decimal number in string format. | |
|
12
|
+
| **resources** | [**Array<BillingUsageResource>**](BillingUsageResource.html) | The resources for which usage was observed (e.g. license users, devices). | |
|
13
|
+
{: class="table table-striped"}
|
14
|
+
|
15
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
---
|
2
|
+
title: BillingUsageReport
|
3
|
+
---
|
4
|
+
## PureCloud::BillingUsageReport
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **id** | **String** | The globally unique identifier for the object. | [optional] |
|
11
|
+
| **name** | **String** | | [optional] |
|
12
|
+
| **start_date** | **DateTime** | The period start date. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | |
|
13
|
+
| **end_date** | **DateTime** | The period end date. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | |
|
14
|
+
| **usages** | [**Array<BillingUsage>**](BillingUsage.html) | The usages for the given period. | |
|
15
|
+
| **self_uri** | **String** | The URI for this object | [optional] |
|
16
|
+
{: class="table table-striped"}
|
17
|
+
|
18
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
---
|
2
|
+
title: BillingUsageResource
|
3
|
+
---
|
4
|
+
## PureCloud::BillingUsageResource
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **name** | **String** | Identifies the resource (e.g. license user, device). | |
|
11
|
+
| **date** | **DateTime** | The date that the usage was first observed by the billing subsystem. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | |
|
12
|
+
{: class="table table-striped"}
|
13
|
+
|
14
|
+
|
data/docs/CallCommand.md
CHANGED
@@ -8,6 +8,7 @@ title: CallCommand
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
10
|
| **call_number** | **String** | The phone number to dial for this call. | |
|
11
|
+
| **phone_column** | **String** | For a dialer preview or scheduled callback, the phone column associated with the phone number | [optional] |
|
11
12
|
{: class="table table-striped"}
|
12
13
|
|
13
14
|
|
data/docs/Conversation.md
CHANGED
@@ -16,7 +16,7 @@ title: Conversation
|
|
16
16
|
| **conversation_ids** | **Array<String>** | A list of conversations to merge into this conversation to create a conference. This field is null except when being used to create a conference. | [optional] |
|
17
17
|
| **max_participants** | **Integer** | If this is a conference conversation, then this field indicates the maximum number of participants allowed to participant in the conference. | [optional] |
|
18
18
|
| **recording_state** | **String** | On update, 'paused' initiates a secure pause, 'active' resumes any paused recordings; otherwise indicates state of conversation recording. | [optional] |
|
19
|
-
| **state** | **String** | The conversation's state
|
19
|
+
| **state** | **String** | The conversation's state | [optional] |
|
20
20
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
21
21
|
{: class="table table-striped"}
|
22
22
|
|
data/docs/CreateQueueRequest.md
CHANGED
@@ -9,15 +9,15 @@ title: CreateQueueRequest
|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
10
|
| **id** | **String** | The globally unique identifier for the object. | [optional] |
|
11
11
|
| **name** | **String** | | [optional] |
|
12
|
-
| **description** | **String** |
|
13
|
-
| **version** | **Integer** |
|
14
|
-
| **date_created** | **DateTime** | Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
15
|
-
| **date_modified** | **DateTime** | Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
16
|
-
| **modified_by** | **String** |
|
17
|
-
| **created_by** | **String** |
|
18
|
-
| **state** | **String** |
|
19
|
-
| **modified_by_app** | **String** |
|
20
|
-
| **created_by_app** | **String** |
|
12
|
+
| **description** | **String** | The resource's description. | [optional] |
|
13
|
+
| **version** | **Integer** | The current version of the resource. | [optional] |
|
14
|
+
| **date_created** | **DateTime** | The date the resource was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
15
|
+
| **date_modified** | **DateTime** | The date of the last modification to the resource. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
16
|
+
| **modified_by** | **String** | The ID of the user that last modified the resource. | [optional] |
|
17
|
+
| **created_by** | **String** | The ID of the user that created the resource. | [optional] |
|
18
|
+
| **state** | **String** | Indicates if the resource is active, inactive, or deleted. | [optional] |
|
19
|
+
| **modified_by_app** | **String** | The application that last modified the resource. | [optional] |
|
20
|
+
| **created_by_app** | **String** | The application that created the resource. | [optional] |
|
21
21
|
| **media_settings** | [**Hash<String, MediaSetting>**](MediaSetting.html) | The media settings for the queue. Valid Key Values: CALL, CALLBACK, CHAT, EMAIL, SOCIAL_EXPRESSION | |
|
22
22
|
| **bullseye** | [**Bullseye**](Bullseye.html) | The bulls-eye settings for the queue. | [optional] |
|
23
23
|
| **acw_settings** | [**AcwSettings**](AcwSettings.html) | The ACW settings for the queue. | |
|
data/docs/DID.md
CHANGED
@@ -9,15 +9,15 @@ title: DID
|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
10
|
| **id** | **String** | The globally unique identifier for the object. | [optional] |
|
11
11
|
| **name** | **String** | The name of the entity. | |
|
12
|
-
| **description** | **String** |
|
13
|
-
| **version** | **Integer** |
|
14
|
-
| **date_created** | **DateTime** | Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
15
|
-
| **date_modified** | **DateTime** | Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
16
|
-
| **modified_by** | **String** |
|
17
|
-
| **created_by** | **String** |
|
18
|
-
| **state** | **String** |
|
19
|
-
| **modified_by_app** | **String** |
|
20
|
-
| **created_by_app** | **String** |
|
12
|
+
| **description** | **String** | The resource's description. | [optional] |
|
13
|
+
| **version** | **Integer** | The current version of the resource. | [optional] |
|
14
|
+
| **date_created** | **DateTime** | The date the resource was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
15
|
+
| **date_modified** | **DateTime** | The date of the last modification to the resource. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
16
|
+
| **modified_by** | **String** | The ID of the user that last modified the resource. | [optional] |
|
17
|
+
| **created_by** | **String** | The ID of the user that created the resource. | [optional] |
|
18
|
+
| **state** | **String** | Indicates if the resource is active, inactive, or deleted. | [optional] |
|
19
|
+
| **modified_by_app** | **String** | The application that last modified the resource. | [optional] |
|
20
|
+
| **created_by_app** | **String** | The application that created the resource. | [optional] |
|
21
21
|
| **phone_number** | **String** | | [optional] |
|
22
22
|
| **did_pool** | [**UriReference**](UriReference.html) | | [optional] |
|
23
23
|
| **owner** | [**UriReference**](UriReference.html) | A Uri reference to the owner of this DID, which is either a User or an IVR | [optional] |
|
data/docs/DIDPool.md
CHANGED
@@ -9,15 +9,15 @@ title: DIDPool
|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
10
|
| **id** | **String** | The globally unique identifier for the object. | [optional] |
|
11
11
|
| **name** | **String** | The name of the entity. | |
|
12
|
-
| **description** | **String** |
|
13
|
-
| **version** | **Integer** |
|
14
|
-
| **date_created** | **DateTime** | Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
15
|
-
| **date_modified** | **DateTime** | Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
16
|
-
| **modified_by** | **String** |
|
17
|
-
| **created_by** | **String** |
|
18
|
-
| **state** | **String** |
|
19
|
-
| **modified_by_app** | **String** |
|
20
|
-
| **created_by_app** | **String** |
|
12
|
+
| **description** | **String** | The resource's description. | [optional] |
|
13
|
+
| **version** | **Integer** | The current version of the resource. | [optional] |
|
14
|
+
| **date_created** | **DateTime** | The date the resource was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
15
|
+
| **date_modified** | **DateTime** | The date of the last modification to the resource. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
16
|
+
| **modified_by** | **String** | The ID of the user that last modified the resource. | [optional] |
|
17
|
+
| **created_by** | **String** | The ID of the user that created the resource. | [optional] |
|
18
|
+
| **state** | **String** | Indicates if the resource is active, inactive, or deleted. | [optional] |
|
19
|
+
| **modified_by_app** | **String** | The application that last modified the resource. | [optional] |
|
20
|
+
| **created_by_app** | **String** | The application that created the resource. | [optional] |
|
21
21
|
| **start_phone_number** | **String** | The starting phone number for the range of this DID pool. Must be in E.164 format | |
|
22
22
|
| **end_phone_number** | **String** | The ending phone number for the range of this DID pool. Must be in E.164 format | |
|
23
23
|
| **comments** | **String** | | [optional] |
|
@@ -0,0 +1,22 @@
|
|
1
|
+
---
|
2
|
+
title: DirectoryUserDevicesListing
|
3
|
+
---
|
4
|
+
## PureCloud::DirectoryUserDevicesListing
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **entities** | [**Array<UserDevice>**](UserDevice.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
|
+
| **previous_uri** | **String** | | [optional] |
|
17
|
+
| **next_uri** | **String** | | [optional] |
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
19
|
+
| **page_count** | **Integer** | | [optional] |
|
20
|
+
{: class="table table-striped"}
|
21
|
+
|
22
|
+
|