purecloudplatformclientv2 17.0.0 → 18.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/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
data/docs/Line.md
CHANGED
|
@@ -9,15 +9,15 @@ title: Line
|
|
|
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
|
| **properties** | **Hash<String, Object>** | | [optional] |
|
|
22
22
|
| **edge_group** | [**UriReference**](UriReference.html) | | [optional] |
|
|
23
23
|
| **template** | [**UriReference**](UriReference.html) | | [optional] |
|
data/docs/LineBase.md
CHANGED
|
@@ -9,15 +9,15 @@ title: LineBase
|
|
|
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
|
| **line_meta_base** | [**UriReference**](UriReference.html) | | [optional] |
|
|
22
22
|
| **properties** | **Hash<String, Object>** | | [optional] |
|
|
23
23
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
data/docs/Metabase.md
CHANGED
|
@@ -10,14 +10,14 @@ title: Metabase
|
|
|
10
10
|
| **id** | **String** | The globally unique identifier for the object. | [optional] |
|
|
11
11
|
| **name** | **String** | The name of the entity. | |
|
|
12
12
|
| **description** | **String** | | [optional] |
|
|
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** |
|
|
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
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
|
22
22
|
{: class="table table-striped"}
|
|
23
23
|
|
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: MobileDevicesApi
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
## PureCloud::MobileDevicesApi
|
|
6
|
+
|
|
7
|
+
All URIs are relative to *https://api.mypurecloud.com*
|
|
8
|
+
|
|
9
|
+
Method | Description
|
|
10
|
+
------------- | ------------- | -------------
|
|
11
|
+
[**delete_mobiledevice**](MobileDevicesApi.html#delete_mobiledevice) | Delete device
|
|
12
|
+
[**get_mobiledevice**](MobileDevicesApi.html#get_mobiledevice) | Get device
|
|
13
|
+
[**get_mobiledevices**](MobileDevicesApi.html#get_mobiledevices) | Get a list of all devices.
|
|
14
|
+
[**post_mobiledevices**](MobileDevicesApi.html#post_mobiledevices) | Create User device
|
|
15
|
+
[**put_mobiledevice**](MobileDevicesApi.html#put_mobiledevice) | Update device
|
|
16
|
+
{: class="table table-striped"}
|
|
17
|
+
|
|
18
|
+
<a name="delete_mobiledevice"></a>
|
|
19
|
+
|
|
20
|
+
## - delete_mobiledevice(device_id)
|
|
21
|
+
|
|
22
|
+
Delete device
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
Wraps DELETE /api/v2/mobiledevices/{deviceId}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Example
|
|
30
|
+
~~~ruby
|
|
31
|
+
# load the gem
|
|
32
|
+
require 'purecloudplatformclientv2'
|
|
33
|
+
# setup authorization
|
|
34
|
+
@secret = ENV['PURECLOUD_SECRET']
|
|
35
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
|
36
|
+
environment = "mypurecloud.com"
|
|
37
|
+
|
|
38
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
|
39
|
+
|
|
40
|
+
PureCloud.configure do |config|
|
|
41
|
+
config.access_token = @authToken
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
api_instance = PureCloud::MobileDevicesApi.new
|
|
45
|
+
|
|
46
|
+
device_id = "device_id_example" # String | Device ID
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
begin
|
|
50
|
+
#Delete device
|
|
51
|
+
api_instance.delete_mobiledevice(device_id)
|
|
52
|
+
rescue PureCloud::ApiError => e
|
|
53
|
+
puts "Exception when calling MobileDevicesApi->delete_mobiledevice: #{e}"
|
|
54
|
+
end
|
|
55
|
+
~~~
|
|
56
|
+
|
|
57
|
+
### Parameters
|
|
58
|
+
|
|
59
|
+
Name | Type | Description | Notes
|
|
60
|
+
------------- | ------------- | ------------- | -------------
|
|
61
|
+
**device_id** | **String**| Device ID | |
|
|
62
|
+
{: class="table table-striped"}
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
### Return type
|
|
66
|
+
|
|
67
|
+
nil (empty response body)
|
|
68
|
+
|
|
69
|
+
### HTTP request headers
|
|
70
|
+
|
|
71
|
+
- **Content-Type**: application/json
|
|
72
|
+
- **Accept**: application/json
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
<a name="get_mobiledevice"></a>
|
|
77
|
+
|
|
78
|
+
## -[**UserDevice**](UserDevice.html) get_mobiledevice(device_id)
|
|
79
|
+
|
|
80
|
+
Get device
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
Wraps GET /api/v2/mobiledevices/{deviceId}
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
### Example
|
|
88
|
+
~~~ruby
|
|
89
|
+
# load the gem
|
|
90
|
+
require 'purecloudplatformclientv2'
|
|
91
|
+
# setup authorization
|
|
92
|
+
@secret = ENV['PURECLOUD_SECRET']
|
|
93
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
|
94
|
+
environment = "mypurecloud.com"
|
|
95
|
+
|
|
96
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
|
97
|
+
|
|
98
|
+
PureCloud.configure do |config|
|
|
99
|
+
config.access_token = @authToken
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
api_instance = PureCloud::MobileDevicesApi.new
|
|
103
|
+
|
|
104
|
+
device_id = "device_id_example" # String | Device ID
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
begin
|
|
108
|
+
#Get device
|
|
109
|
+
result = api_instance.get_mobiledevice(device_id)
|
|
110
|
+
p result
|
|
111
|
+
rescue PureCloud::ApiError => e
|
|
112
|
+
puts "Exception when calling MobileDevicesApi->get_mobiledevice: #{e}"
|
|
113
|
+
end
|
|
114
|
+
~~~
|
|
115
|
+
|
|
116
|
+
### Parameters
|
|
117
|
+
|
|
118
|
+
Name | Type | Description | Notes
|
|
119
|
+
------------- | ------------- | ------------- | -------------
|
|
120
|
+
**device_id** | **String**| Device ID | |
|
|
121
|
+
{: class="table table-striped"}
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
### Return type
|
|
125
|
+
|
|
126
|
+
[**UserDevice**](UserDevice.html)
|
|
127
|
+
|
|
128
|
+
### HTTP request headers
|
|
129
|
+
|
|
130
|
+
- **Content-Type**: application/json
|
|
131
|
+
- **Accept**: application/json
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
<a name="get_mobiledevices"></a>
|
|
136
|
+
|
|
137
|
+
## -[**DirectoryUserDevicesListing**](DirectoryUserDevicesListing.html) get_mobiledevices(opts)
|
|
138
|
+
|
|
139
|
+
Get a list of all devices.
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
Wraps GET /api/v2/mobiledevices
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
### Example
|
|
147
|
+
~~~ruby
|
|
148
|
+
# load the gem
|
|
149
|
+
require 'purecloudplatformclientv2'
|
|
150
|
+
# setup authorization
|
|
151
|
+
@secret = ENV['PURECLOUD_SECRET']
|
|
152
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
|
153
|
+
environment = "mypurecloud.com"
|
|
154
|
+
|
|
155
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
|
156
|
+
|
|
157
|
+
PureCloud.configure do |config|
|
|
158
|
+
config.access_token = @authToken
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
api_instance = PureCloud::MobileDevicesApi.new
|
|
162
|
+
|
|
163
|
+
opts = {
|
|
164
|
+
page_size: 25, # Integer | Page size
|
|
165
|
+
page_number: 1, # Integer | Page number
|
|
166
|
+
sort_order: "ascending" # String | Ascending or descending sort order
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
begin
|
|
170
|
+
#Get a list of all devices.
|
|
171
|
+
result = api_instance.get_mobiledevices(opts)
|
|
172
|
+
p result
|
|
173
|
+
rescue PureCloud::ApiError => e
|
|
174
|
+
puts "Exception when calling MobileDevicesApi->get_mobiledevices: #{e}"
|
|
175
|
+
end
|
|
176
|
+
~~~
|
|
177
|
+
|
|
178
|
+
### Parameters
|
|
179
|
+
|
|
180
|
+
Name | Type | Description | Notes
|
|
181
|
+
------------- | ------------- | ------------- | -------------
|
|
182
|
+
**page_size** | **Integer**| Page size | [optional] [default to 25] |
|
|
183
|
+
**page_number** | **Integer**| Page number | [optional] [default to 1] |
|
|
184
|
+
**sort_order** | **String**| Ascending or descending sort order | [optional] [default to ascending]<br />**Values**: ascending, descending |
|
|
185
|
+
{: class="table table-striped"}
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
### Return type
|
|
189
|
+
|
|
190
|
+
[**DirectoryUserDevicesListing**](DirectoryUserDevicesListing.html)
|
|
191
|
+
|
|
192
|
+
### HTTP request headers
|
|
193
|
+
|
|
194
|
+
- **Content-Type**: application/json
|
|
195
|
+
- **Accept**: application/json
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
<a name="post_mobiledevices"></a>
|
|
200
|
+
|
|
201
|
+
## -[**UserDevice**](UserDevice.html) post_mobiledevices(body)
|
|
202
|
+
|
|
203
|
+
Create User device
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
Wraps POST /api/v2/mobiledevices
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
### Example
|
|
211
|
+
~~~ruby
|
|
212
|
+
# load the gem
|
|
213
|
+
require 'purecloudplatformclientv2'
|
|
214
|
+
# setup authorization
|
|
215
|
+
@secret = ENV['PURECLOUD_SECRET']
|
|
216
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
|
217
|
+
environment = "mypurecloud.com"
|
|
218
|
+
|
|
219
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
|
220
|
+
|
|
221
|
+
PureCloud.configure do |config|
|
|
222
|
+
config.access_token = @authToken
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
api_instance = PureCloud::MobileDevicesApi.new
|
|
226
|
+
|
|
227
|
+
body = PureCloud::UserDevice.new # UserDevice | Device
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
begin
|
|
231
|
+
#Create User device
|
|
232
|
+
result = api_instance.post_mobiledevices(body)
|
|
233
|
+
p result
|
|
234
|
+
rescue PureCloud::ApiError => e
|
|
235
|
+
puts "Exception when calling MobileDevicesApi->post_mobiledevices: #{e}"
|
|
236
|
+
end
|
|
237
|
+
~~~
|
|
238
|
+
|
|
239
|
+
### Parameters
|
|
240
|
+
|
|
241
|
+
Name | Type | Description | Notes
|
|
242
|
+
------------- | ------------- | ------------- | -------------
|
|
243
|
+
**body** | [**UserDevice**](UserDevice.html)| Device | |
|
|
244
|
+
{: class="table table-striped"}
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
### Return type
|
|
248
|
+
|
|
249
|
+
[**UserDevice**](UserDevice.html)
|
|
250
|
+
|
|
251
|
+
### HTTP request headers
|
|
252
|
+
|
|
253
|
+
- **Content-Type**: application/json
|
|
254
|
+
- **Accept**: application/json
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
<a name="put_mobiledevice"></a>
|
|
259
|
+
|
|
260
|
+
## -[**UserDevice**](UserDevice.html) put_mobiledevice(device_id, opts)
|
|
261
|
+
|
|
262
|
+
Update device
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
Wraps PUT /api/v2/mobiledevices/{deviceId}
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
### Example
|
|
270
|
+
~~~ruby
|
|
271
|
+
# load the gem
|
|
272
|
+
require 'purecloudplatformclientv2'
|
|
273
|
+
# setup authorization
|
|
274
|
+
@secret = ENV['PURECLOUD_SECRET']
|
|
275
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
|
276
|
+
environment = "mypurecloud.com"
|
|
277
|
+
|
|
278
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
|
279
|
+
|
|
280
|
+
PureCloud.configure do |config|
|
|
281
|
+
config.access_token = @authToken
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
api_instance = PureCloud::MobileDevicesApi.new
|
|
285
|
+
|
|
286
|
+
device_id = "device_id_example" # String | Device ID
|
|
287
|
+
|
|
288
|
+
opts = {
|
|
289
|
+
body: PureCloud::UserDevice.new # UserDevice | Device
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
begin
|
|
293
|
+
#Update device
|
|
294
|
+
result = api_instance.put_mobiledevice(device_id, opts)
|
|
295
|
+
p result
|
|
296
|
+
rescue PureCloud::ApiError => e
|
|
297
|
+
puts "Exception when calling MobileDevicesApi->put_mobiledevice: #{e}"
|
|
298
|
+
end
|
|
299
|
+
~~~
|
|
300
|
+
|
|
301
|
+
### Parameters
|
|
302
|
+
|
|
303
|
+
Name | Type | Description | Notes
|
|
304
|
+
------------- | ------------- | ------------- | -------------
|
|
305
|
+
**device_id** | **String**| Device ID | |
|
|
306
|
+
**body** | [**UserDevice**](UserDevice.html)| Device | [optional] |
|
|
307
|
+
{: class="table table-striped"}
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
### Return type
|
|
311
|
+
|
|
312
|
+
[**UserDevice**](UserDevice.html)
|
|
313
|
+
|
|
314
|
+
### HTTP request headers
|
|
315
|
+
|
|
316
|
+
- **Content-Type**: application/json
|
|
317
|
+
- **Accept**: application/json
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
data/docs/NumberPlan.md
CHANGED
|
@@ -9,15 +9,15 @@ title: NumberPlan
|
|
|
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
|
| **match** | **String** | | [optional] |
|
|
22
22
|
| **normalized_format** | **String** | | [optional] |
|
|
23
23
|
| **priority** | **Integer** | | [optional] |
|
data/docs/OutboundApi.md
CHANGED
|
@@ -59,7 +59,9 @@ Method | Description
|
|
|
59
59
|
[**get_outbound_schedules_sequences**](OutboundApi.html#get_outbound_schedules_sequences) | Query for a list of dialer sequence schedules.
|
|
60
60
|
[**get_outbound_sequence**](OutboundApi.html#get_outbound_sequence) | Get a dialer campaign sequence.
|
|
61
61
|
[**get_outbound_sequences**](OutboundApi.html#get_outbound_sequences) | Query a list of dialer campaign sequences.
|
|
62
|
+
[**get_outbound_settings**](OutboundApi.html#get_outbound_settings) | Get the outbound settings for this organization
|
|
62
63
|
[**get_outbound_wrapupcodemappings**](OutboundApi.html#get_outbound_wrapupcodemappings) | Get the Dialer wrap up code mapping.
|
|
64
|
+
[**patch_outbound_settings**](OutboundApi.html#patch_outbound_settings) | Update the outbound settings for this organization
|
|
63
65
|
[**post_outbound_attemptlimits**](OutboundApi.html#post_outbound_attemptlimits) | Create attempt limits
|
|
64
66
|
[**post_outbound_audits**](OutboundApi.html#post_outbound_audits) | Retrieves audits for dialer.
|
|
65
67
|
[**post_outbound_callabletimesets**](OutboundApi.html#post_outbound_callabletimesets) | Create callable time set
|
|
@@ -3250,6 +3252,59 @@ Name | Type | Description | Notes
|
|
|
3250
3252
|
|
|
3251
3253
|
|
|
3252
3254
|
|
|
3255
|
+
<a name="get_outbound_settings"></a>
|
|
3256
|
+
|
|
3257
|
+
## -[**OutboundSettings**](OutboundSettings.html) get_outbound_settings
|
|
3258
|
+
|
|
3259
|
+
Get the outbound settings for this organization
|
|
3260
|
+
|
|
3261
|
+
|
|
3262
|
+
|
|
3263
|
+
Wraps GET /api/v2/outbound/settings
|
|
3264
|
+
|
|
3265
|
+
|
|
3266
|
+
### Example
|
|
3267
|
+
~~~ruby
|
|
3268
|
+
# load the gem
|
|
3269
|
+
require 'purecloudplatformclientv2'
|
|
3270
|
+
# setup authorization
|
|
3271
|
+
@secret = ENV['PURECLOUD_SECRET']
|
|
3272
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
|
3273
|
+
environment = "mypurecloud.com"
|
|
3274
|
+
|
|
3275
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
|
3276
|
+
|
|
3277
|
+
PureCloud.configure do |config|
|
|
3278
|
+
config.access_token = @authToken
|
|
3279
|
+
end
|
|
3280
|
+
|
|
3281
|
+
api_instance = PureCloud::OutboundApi.new
|
|
3282
|
+
|
|
3283
|
+
begin
|
|
3284
|
+
#Get the outbound settings for this organization
|
|
3285
|
+
result = api_instance.get_outbound_settings
|
|
3286
|
+
p result
|
|
3287
|
+
rescue PureCloud::ApiError => e
|
|
3288
|
+
puts "Exception when calling OutboundApi->get_outbound_settings: #{e}"
|
|
3289
|
+
end
|
|
3290
|
+
~~~
|
|
3291
|
+
|
|
3292
|
+
### Parameters
|
|
3293
|
+
This endpoint does not need any parameter.
|
|
3294
|
+
{: class="table table-striped"}
|
|
3295
|
+
|
|
3296
|
+
|
|
3297
|
+
### Return type
|
|
3298
|
+
|
|
3299
|
+
[**OutboundSettings**](OutboundSettings.html)
|
|
3300
|
+
|
|
3301
|
+
### HTTP request headers
|
|
3302
|
+
|
|
3303
|
+
- **Content-Type**: application/json
|
|
3304
|
+
- **Accept**: application/json
|
|
3305
|
+
|
|
3306
|
+
|
|
3307
|
+
|
|
3253
3308
|
<a name="get_outbound_wrapupcodemappings"></a>
|
|
3254
3309
|
|
|
3255
3310
|
## -[**WrapUpCodeMapping**](WrapUpCodeMapping.html) get_outbound_wrapupcodemappings
|
|
@@ -3303,6 +3358,64 @@ This endpoint does not need any parameter.
|
|
|
3303
3358
|
|
|
3304
3359
|
|
|
3305
3360
|
|
|
3361
|
+
<a name="patch_outbound_settings"></a>
|
|
3362
|
+
|
|
3363
|
+
## - patch_outbound_settings(body)
|
|
3364
|
+
|
|
3365
|
+
Update the outbound settings for this organization
|
|
3366
|
+
|
|
3367
|
+
|
|
3368
|
+
|
|
3369
|
+
Wraps PATCH /api/v2/outbound/settings
|
|
3370
|
+
|
|
3371
|
+
|
|
3372
|
+
### Example
|
|
3373
|
+
~~~ruby
|
|
3374
|
+
# load the gem
|
|
3375
|
+
require 'purecloudplatformclientv2'
|
|
3376
|
+
# setup authorization
|
|
3377
|
+
@secret = ENV['PURECLOUD_SECRET']
|
|
3378
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
|
3379
|
+
environment = "mypurecloud.com"
|
|
3380
|
+
|
|
3381
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
|
3382
|
+
|
|
3383
|
+
PureCloud.configure do |config|
|
|
3384
|
+
config.access_token = @authToken
|
|
3385
|
+
end
|
|
3386
|
+
|
|
3387
|
+
api_instance = PureCloud::OutboundApi.new
|
|
3388
|
+
|
|
3389
|
+
body = PureCloud::OutboundSettings.new # OutboundSettings | outboundSettings
|
|
3390
|
+
|
|
3391
|
+
|
|
3392
|
+
begin
|
|
3393
|
+
#Update the outbound settings for this organization
|
|
3394
|
+
api_instance.patch_outbound_settings(body)
|
|
3395
|
+
rescue PureCloud::ApiError => e
|
|
3396
|
+
puts "Exception when calling OutboundApi->patch_outbound_settings: #{e}"
|
|
3397
|
+
end
|
|
3398
|
+
~~~
|
|
3399
|
+
|
|
3400
|
+
### Parameters
|
|
3401
|
+
|
|
3402
|
+
Name | Type | Description | Notes
|
|
3403
|
+
------------- | ------------- | ------------- | -------------
|
|
3404
|
+
**body** | [**OutboundSettings**](OutboundSettings.html)| outboundSettings | |
|
|
3405
|
+
{: class="table table-striped"}
|
|
3406
|
+
|
|
3407
|
+
|
|
3408
|
+
### Return type
|
|
3409
|
+
|
|
3410
|
+
nil (empty response body)
|
|
3411
|
+
|
|
3412
|
+
### HTTP request headers
|
|
3413
|
+
|
|
3414
|
+
- **Content-Type**: application/json
|
|
3415
|
+
- **Accept**: application/json
|
|
3416
|
+
|
|
3417
|
+
|
|
3418
|
+
|
|
3306
3419
|
<a name="post_outbound_attemptlimits"></a>
|
|
3307
3420
|
|
|
3308
3421
|
## -[**AttemptLimits**](AttemptLimits.html) post_outbound_attemptlimits(body)
|