purecloud 0.57.1 → 0.58.1
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 +3 -3
- data/config-ruby.json +1 -1
- data/doc_out/CreateCallbackCommand.html.md +0 -2
- data/doc_out/CreateQueueRequest.html.md +1 -0
- data/doc_out/DomainOrganizationRole.html.md +1 -1
- data/doc_out/DomainOrganizationRoleCreate.html.md +1 -1
- data/doc_out/DomainOrganizationRoleUpdate.html.md +1 -1
- data/doc_out/JsonNode.html.md +3 -3
- data/doc_out/Location.html.md +5 -9
- data/doc_out/LocationDefinition.html.md +21 -0
- data/doc_out/LocationsApi.html.md +4 -4
- data/doc_out/LocationsSearchResponse.html.md +1 -1
- data/doc_out/Queue.html.md +1 -0
- data/doc_out/QueueEmailAddress.html.md +14 -0
- data/doc_out/RecordingApi.html.md +8 -6
- data/doc_out/RoutingApi.html.md +13 -3
- data/doc_out/Site.html.md +1 -1
- data/doc_out/User.html.md +1 -0
- data/doc_out/UserMe.html.md +2 -1
- data/doc_out/UserQueue.html.md +1 -0
- data/doc_out/index.html.md +3 -3
- data/lib/purecloud.rb +2 -0
- data/lib/purecloud/api/locations_api.rb +6 -6
- data/lib/purecloud/api/recording_api.rb +12 -10
- data/lib/purecloud/api/routing_api.rb +12 -0
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/create_callback_command.rb +1 -25
- data/lib/purecloud/models/create_queue_request.rb +11 -1
- data/lib/purecloud/models/domain_organization_role.rb +13 -13
- data/lib/purecloud/models/domain_organization_role_create.rb +13 -13
- data/lib/purecloud/models/domain_organization_role_update.rb +13 -13
- data/lib/purecloud/models/json_node.rb +32 -32
- data/lib/purecloud/models/location.rb +27 -81
- data/lib/purecloud/models/location_definition.rb +261 -0
- data/lib/purecloud/models/locations_search_response.rb +1 -1
- data/lib/purecloud/models/queue.rb +11 -1
- data/lib/purecloud/models/queue_email_address.rb +175 -0
- data/lib/purecloud/models/site.rb +1 -1
- data/lib/purecloud/models/user.rb +14 -1
- data/lib/purecloud/models/user_me.rb +22 -9
- data/lib/purecloud/models/user_queue.rb +11 -1
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c4bde07341f2aa1fdfc20d885531976dcea70dc
|
4
|
+
data.tar.gz: bf789de99e2c5a4bd91e32ba3145d795b9ea5924
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 299112469d9117addd4bb808ba3f7f5e289b4bb619737de0527f84c23d91b17222fb341bce2ca9c790d0bda0f4888b592628e7d9950d1bd83a0854eed33e0f83
|
7
|
+
data.tar.gz: db2a88d43353d1975cd7a0a272ce9cf930d3f1d92b6b394073e8e7c35b8d01994071021b5621ebb66cc07eaebd1e79c73eb3312478fb18b938062d6de031a368
|
data/README.md
CHANGED
@@ -9,8 +9,8 @@ With the PureCloud Platform API, you can control all aspects of your PureCloud e
|
|
9
9
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
10
10
|
|
11
11
|
- API version: v2
|
12
|
-
- Package version: 0.
|
13
|
-
- Build date: 2016-11-
|
12
|
+
- Package version: 0.58.1
|
13
|
+
- Build date: 2016-11-15T12:06:58.754Z
|
14
14
|
|
15
15
|
For more information, please visit [https://developer.mypurecloud.com](https://developer.mypurecloud.com)
|
16
16
|
|
@@ -18,7 +18,7 @@ For more information, please visit [https://developer.mypurecloud.com](https://d
|
|
18
18
|
|
19
19
|
### from rubygems.org
|
20
20
|
|
21
|
-
gem 'purecloud', '~> 0.
|
21
|
+
gem 'purecloud', '~> 0.58.1'
|
22
22
|
|
23
23
|
### Install from Git
|
24
24
|
|
data/config-ruby.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"gemVersion":"0.
|
1
|
+
{"gemVersion":"0.58.1","gemName":"purecloud","moduleName":"PureCloud","gemLicense":"MIT","gemSummary":"PureCloud Platform API Library","gemDescription":"A Ruby library to interface with the PureCloud Platform API","gemHomepage":"https://developer.mypurecloud.com","gemAuthor":"Kevin Glinski","gemAuthorEmail":"Kevin.Glinski@inin.com","httpUserAgent":"PureCloud SDK/Ruby 0.58.1","gitUserId":"mypurecloud","gitRepoId":"purecloud_api_sdk_ruby"}
|
@@ -14,8 +14,6 @@ title: CreateCallbackCommand
|
|
14
14
|
| **callback_numbers** | **Array<String>** | A list of phone numbers for the callback. | |
|
15
15
|
| **callback_scheduled_time** | **DateTime** | The scheduled date-time for the callback as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
16
16
|
| **country_code** | **String** | The country code to be associated with the callback numbers. | [optional] |
|
17
|
-
| **is_automated** | **BOOLEAN** | Whether or not to automatically place a call for this callback. | [optional] [default to false]|
|
18
|
-
| **automated_callback_config_id** | **String** | The id of the configuration to handle the response (e.g. live voice, machine) from automatically placing a call for a callback. | [optional] |
|
19
17
|
| **data** | **Hash<String, String>** | A map of key-value pairs containing additional data that can be associated to the callback. These values will appear in the attributes property on the conversation participant. Example: { \"notes\": \"ready to close the deal!\", \"customerPreferredName\": \"Doc\" } | [optional] |
|
20
18
|
{: class="table table-striped"}
|
21
19
|
|
@@ -25,6 +25,7 @@ title: CreateQueueRequest
|
|
25
25
|
| **queue_flow** | [**UriReference**](UriReference.html) | The in-queue flow to use for conversations waiting in queue. | [optional] |
|
26
26
|
| **calling_party_name** | **String** | The name to use for caller identification for outbound calls from this queue. | [optional] |
|
27
27
|
| **calling_party_number** | **String** | The phone number to use for caller identification for outbound calls from this queue. | [optional] |
|
28
|
+
| **outbound_email_address** | [**QueueEmailAddress**](QueueEmailAddress.html) | | [optional] |
|
28
29
|
| **source_queue_id** | **String** | The id of an existing queue to copy the settings from when creating a new queue. | [optional] |
|
29
30
|
| **member_count** | **Integer** | | [optional] |
|
30
31
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
@@ -15,8 +15,8 @@ title: DomainOrganizationRole
|
|
15
15
|
| **permission_policies** | [**Array<DomainPermissionPolicy>**](DomainPermissionPolicy.html) | | [optional] |
|
16
16
|
| **user_count** | **Integer** | | [optional] |
|
17
17
|
| **role_needs_update** | **BOOLEAN** | Optional unless patch operation. | [optional] [default to false]|
|
18
|
-
| **default** | **BOOLEAN** | | [optional] [default to false]|
|
19
18
|
| **base** | **BOOLEAN** | | [optional] [default to false]|
|
19
|
+
| **default** | **BOOLEAN** | | [optional] [default to false]|
|
20
20
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
21
21
|
{: class="table table-striped"}
|
22
22
|
|
@@ -15,8 +15,8 @@ title: DomainOrganizationRoleCreate
|
|
15
15
|
| **permission_policies** | [**Array<DomainPermissionPolicy>**](DomainPermissionPolicy.html) | | [optional] |
|
16
16
|
| **user_count** | **Integer** | | [optional] |
|
17
17
|
| **role_needs_update** | **BOOLEAN** | Optional unless patch operation. | [optional] [default to false]|
|
18
|
-
| **default** | **BOOLEAN** | | [optional] [default to false]|
|
19
18
|
| **base** | **BOOLEAN** | | [optional] [default to false]|
|
19
|
+
| **default** | **BOOLEAN** | | [optional] [default to false]|
|
20
20
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
21
21
|
{: class="table table-striped"}
|
22
22
|
|
@@ -15,8 +15,8 @@ title: DomainOrganizationRoleUpdate
|
|
15
15
|
| **permission_policies** | [**Array<DomainPermissionPolicy>**](DomainPermissionPolicy.html) | | [optional] |
|
16
16
|
| **user_count** | **Integer** | | [optional] |
|
17
17
|
| **role_needs_update** | **BOOLEAN** | Optional unless patch operation. | [optional] [default to false]|
|
18
|
-
| **default** | **BOOLEAN** | | [optional] [default to false]|
|
19
18
|
| **base** | **BOOLEAN** | | [optional] [default to false]|
|
19
|
+
| **default** | **BOOLEAN** | | [optional] [default to false]|
|
20
20
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
21
21
|
{: class="table table-striped"}
|
22
22
|
|
data/doc_out/JsonNode.html.md
CHANGED
@@ -7,8 +7,6 @@ title: JsonNode
|
|
7
7
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
|
-
| **array** | **BOOLEAN** | | [optional] [default to false]|
|
11
|
-
| **null** | **BOOLEAN** | | [optional] [default to false]|
|
12
10
|
| **node_type** | **String** | | [optional] |
|
13
11
|
| **object** | **BOOLEAN** | | [optional] [default to false]|
|
14
12
|
| **boolean** | **BOOLEAN** | | [optional] [default to false]|
|
@@ -17,6 +15,7 @@ title: JsonNode
|
|
17
15
|
| **value_node** | **BOOLEAN** | | [optional] [default to false]|
|
18
16
|
| **container_node** | **BOOLEAN** | | [optional] [default to false]|
|
19
17
|
| **missing_node** | **BOOLEAN** | | [optional] [default to false]|
|
18
|
+
| **pojo** | **BOOLEAN** | | [optional] [default to false]|
|
20
19
|
| **integral_number** | **BOOLEAN** | | [optional] [default to false]|
|
21
20
|
| **floating_point_number** | **BOOLEAN** | | [optional] [default to false]|
|
22
21
|
| **short** | **BOOLEAN** | | [optional] [default to false]|
|
@@ -27,7 +26,8 @@ title: JsonNode
|
|
27
26
|
| **big_integer** | **BOOLEAN** | | [optional] [default to false]|
|
28
27
|
| **textual** | **BOOLEAN** | | [optional] [default to false]|
|
29
28
|
| **binary** | **BOOLEAN** | | [optional] [default to false]|
|
30
|
-
| **
|
29
|
+
| **array** | **BOOLEAN** | | [optional] [default to false]|
|
30
|
+
| **null** | **BOOLEAN** | | [optional] [default to false]|
|
31
31
|
{: class="table table-striped"}
|
32
32
|
|
33
33
|
|
data/doc_out/Location.html.md
CHANGED
@@ -7,15 +7,11 @@ title: Location
|
|
7
7
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
|
-
| **id** | **String** |
|
11
|
-
| **
|
12
|
-
| **
|
13
|
-
| **
|
14
|
-
| **
|
15
|
-
| **state** | **String** | Current activity status of the location. | [optional] |
|
16
|
-
| **version** | **Integer** | | [optional] |
|
17
|
-
| **path** | **Array<String>** | | [optional] |
|
18
|
-
| **self_uri** | **String** | The URI for this object | [optional] |
|
10
|
+
| **id** | **String** | | [optional] |
|
11
|
+
| **floorplan_id** | **String** | | [optional] |
|
12
|
+
| **coordinates** | **Hash<String, Float>** | | [optional] |
|
13
|
+
| **notes** | **String** | | [optional] |
|
14
|
+
| **location_definition** | [**LocationDefinition**](LocationDefinition.html) | | [optional] |
|
19
15
|
{: class="table table-striped"}
|
20
16
|
|
21
17
|
|
@@ -0,0 +1,21 @@
|
|
1
|
+
---
|
2
|
+
title: LocationDefinition
|
3
|
+
---
|
4
|
+
## PureCloud::LocationDefinition
|
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
|
+
| **address** | [**LocationAddress**](LocationAddress.html) | | [optional] |
|
13
|
+
| **address_verified** | **BOOLEAN** | | [optional] [default to false]|
|
14
|
+
| **emergency_number** | [**LocationEmergencyNumber**](LocationEmergencyNumber.html) | | [optional] |
|
15
|
+
| **state** | **String** | Current activity status of the location. | [optional] |
|
16
|
+
| **version** | **Integer** | | [optional] |
|
17
|
+
| **path** | **Array<String>** | | [optional] |
|
18
|
+
| **self_uri** | **String** | The URI for this object | [optional] |
|
19
|
+
{: class="table table-striped"}
|
20
|
+
|
21
|
+
|
@@ -16,7 +16,7 @@ Method | HTTP request | Description
|
|
16
16
|
|
17
17
|
<a name="get_location_id"></a>
|
18
18
|
|
19
|
-
## -[**
|
19
|
+
## -[**LocationDefinition**](LocationDefinition.html) get_location_id(location_id)
|
20
20
|
|
21
21
|
Get Location by ID.
|
22
22
|
|
@@ -61,7 +61,7 @@ Name | Type | Description | Notes
|
|
61
61
|
|
62
62
|
### Return type
|
63
63
|
|
64
|
-
[**
|
64
|
+
[**LocationDefinition**](LocationDefinition.html)
|
65
65
|
|
66
66
|
### HTTP request headers
|
67
67
|
|
@@ -72,7 +72,7 @@ Name | Type | Description | Notes
|
|
72
72
|
|
73
73
|
<a name="get_locations"></a>
|
74
74
|
|
75
|
-
## -[**Array<
|
75
|
+
## -[**Array<LocationDefinition>**](LocationDefinition.html) get_locations(opts)
|
76
76
|
|
77
77
|
Get a list of all locations.
|
78
78
|
|
@@ -122,7 +122,7 @@ Name | Type | Description | Notes
|
|
122
122
|
|
123
123
|
### Return type
|
124
124
|
|
125
|
-
[**Array<
|
125
|
+
[**Array<LocationDefinition>**](LocationDefinition.html)
|
126
126
|
|
127
127
|
### HTTP request headers
|
128
128
|
|
@@ -15,7 +15,7 @@ title: LocationsSearchResponse
|
|
15
15
|
| **current_page** | **String** | Q64 value for the current page of results | [optional] |
|
16
16
|
| **next_page** | **String** | Q64 value for the next page of results | [optional] |
|
17
17
|
| **types** | **Array<String>** | Resource types the search was performed against | |
|
18
|
-
| **results** | [**Array<
|
18
|
+
| **results** | [**Array<LocationDefinition>**](LocationDefinition.html) | Search results | |
|
19
19
|
{: class="table table-striped"}
|
20
20
|
|
21
21
|
|
data/doc_out/Queue.html.md
CHANGED
@@ -25,6 +25,7 @@ title: Queue
|
|
25
25
|
| **queue_flow** | [**UriReference**](UriReference.html) | The in-queue flow to use for conversations waiting in queue. | [optional] |
|
26
26
|
| **calling_party_name** | **String** | The name to use for caller identification for outbound calls from this queue. | [optional] |
|
27
27
|
| **calling_party_number** | **String** | The phone number to use for caller identification for outbound calls from this queue. | [optional] |
|
28
|
+
| **outbound_email_address** | [**QueueEmailAddress**](QueueEmailAddress.html) | | [optional] |
|
28
29
|
| **member_count** | **Integer** | | [optional] |
|
29
30
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
30
31
|
{: class="table table-striped"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
---
|
2
|
+
title: QueueEmailAddress
|
3
|
+
---
|
4
|
+
## PureCloud::QueueEmailAddress
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **domain** | [**UriReference**](UriReference.html) | | [optional] |
|
11
|
+
| **route** | [**UriReference**](UriReference.html) | | [optional] |
|
12
|
+
{: class="table table-striped"}
|
13
|
+
|
14
|
+
|
@@ -334,7 +334,7 @@ Name | Type | Description | Notes
|
|
334
334
|
|
335
335
|
<a name="get_conversation_id_recordings_recording_id"></a>
|
336
336
|
|
337
|
-
## - get_conversation_id_recordings_recording_id(conversation_id, recording_id, opts)
|
337
|
+
## -[**Recording**](Recording.html) get_conversation_id_recordings_recording_id(conversation_id, recording_id, opts)
|
338
338
|
|
339
339
|
Gets a specific recording.
|
340
340
|
|
@@ -369,7 +369,8 @@ opts = {
|
|
369
369
|
|
370
370
|
begin
|
371
371
|
#Gets a specific recording.
|
372
|
-
api_instance.get_conversation_id_recordings_recording_id(conversation_id, recording_id, opts)
|
372
|
+
result = api_instance.get_conversation_id_recordings_recording_id(conversation_id, recording_id, opts)
|
373
|
+
p result
|
373
374
|
rescue PureCloud::ApiError => e
|
374
375
|
puts "Exception when calling RecordingApi->get_conversation_id_recordings_recording_id: #{e}"
|
375
376
|
end
|
@@ -389,7 +390,7 @@ Name | Type | Description | Notes
|
|
389
390
|
|
390
391
|
### Return type
|
391
392
|
|
392
|
-
|
393
|
+
[**Recording**](Recording.html)
|
393
394
|
|
394
395
|
### HTTP request headers
|
395
396
|
|
@@ -1504,7 +1505,7 @@ This endpoint does not need any parameter.
|
|
1504
1505
|
|
1505
1506
|
<a name="put_conversation_id_recordings_recording_id"></a>
|
1506
1507
|
|
1507
|
-
## - put_conversation_id_recordings_recording_id(conversation_id, recording_id, body)
|
1508
|
+
## -[**Recording**](Recording.html) put_conversation_id_recordings_recording_id(conversation_id, recording_id, body)
|
1508
1509
|
|
1509
1510
|
Updates the retention records on a recording.
|
1510
1511
|
|
@@ -1536,7 +1537,8 @@ body = PureCloud::Recording.new # Recording | recording
|
|
1536
1537
|
|
1537
1538
|
begin
|
1538
1539
|
#Updates the retention records on a recording.
|
1539
|
-
api_instance.put_conversation_id_recordings_recording_id(conversation_id, recording_id, body)
|
1540
|
+
result = api_instance.put_conversation_id_recordings_recording_id(conversation_id, recording_id, body)
|
1541
|
+
p result
|
1540
1542
|
rescue PureCloud::ApiError => e
|
1541
1543
|
puts "Exception when calling RecordingApi->put_conversation_id_recordings_recording_id: #{e}"
|
1542
1544
|
end
|
@@ -1554,7 +1556,7 @@ Name | Type | Description | Notes
|
|
1554
1556
|
|
1555
1557
|
### Return type
|
1556
1558
|
|
1557
|
-
|
1559
|
+
[**Recording**](Recording.html)
|
1558
1560
|
|
1559
1561
|
### HTTP request headers
|
1560
1562
|
|
data/doc_out/RoutingApi.html.md
CHANGED
@@ -678,7 +678,7 @@ Name | Type | Description | Notes
|
|
678
678
|
|
679
679
|
<a name="get_email_domains_domainname_routes"></a>
|
680
680
|
|
681
|
-
## -[**InboundRouteEntityListing**](InboundRouteEntityListing.html) get_email_domains_domainname_routes(domain_name)
|
681
|
+
## -[**InboundRouteEntityListing**](InboundRouteEntityListing.html) get_email_domains_domainname_routes(domain_name, opts)
|
682
682
|
|
683
683
|
Get routes
|
684
684
|
|
@@ -703,10 +703,15 @@ api_instance = PureCloud::RoutingApi.new
|
|
703
703
|
|
704
704
|
domain_name = "domain_name_example" # String | email domain
|
705
705
|
|
706
|
+
opts = {
|
707
|
+
page_size: 25, # Integer | Page size
|
708
|
+
page_number: 1, # Integer | Page number
|
709
|
+
pattern: "pattern_example" # String | Filter routes by the route's pattern property
|
710
|
+
}
|
706
711
|
|
707
712
|
begin
|
708
713
|
#Get routes
|
709
|
-
result = api_instance.get_email_domains_domainname_routes(domain_name)
|
714
|
+
result = api_instance.get_email_domains_domainname_routes(domain_name, opts)
|
710
715
|
p result
|
711
716
|
rescue PureCloud::ApiError => e
|
712
717
|
puts "Exception when calling RoutingApi->get_email_domains_domainname_routes: #{e}"
|
@@ -718,6 +723,9 @@ end
|
|
718
723
|
Name | Type | Description | Notes
|
719
724
|
------------- | ------------- | ------------- | -------------
|
720
725
|
**domain_name** | **String**| email domain |
|
726
|
+
**page_size** | **Integer**| Page size | [optional] [default to 25]
|
727
|
+
**page_number** | **Integer**| Page number | [optional] [default to 1]
|
728
|
+
**pattern** | **String**| Filter routes by the route's pattern property | [optional]
|
721
729
|
{: class="table table-striped"}
|
722
730
|
|
723
731
|
|
@@ -1495,7 +1503,8 @@ api_instance = PureCloud::RoutingApi.new
|
|
1495
1503
|
|
1496
1504
|
opts = {
|
1497
1505
|
page_size: 25, # Integer | Page size
|
1498
|
-
page_number: 1 # Integer | Page number
|
1506
|
+
page_number: 1, # Integer | Page number
|
1507
|
+
name: "name_example" # String | Filter for results that start with this value
|
1499
1508
|
}
|
1500
1509
|
|
1501
1510
|
begin
|
@@ -1513,6 +1522,7 @@ Name | Type | Description | Notes
|
|
1513
1522
|
------------- | ------------- | ------------- | -------------
|
1514
1523
|
**page_size** | **Integer**| Page size | [optional] [default to 25]
|
1515
1524
|
**page_number** | **Integer**| Page number | [optional] [default to 1]
|
1525
|
+
**name** | **String**| Filter for results that start with this value | [optional]
|
1516
1526
|
{: class="table table-striped"}
|
1517
1527
|
|
1518
1528
|
|
data/doc_out/Site.html.md
CHANGED
@@ -25,7 +25,7 @@ title: Site
|
|
25
25
|
| **addresses** | [**Array<Contact>**](Contact.html) | | [optional] |
|
26
26
|
| **edges** | [**Array<Edge>**](Edge.html) | | [optional] |
|
27
27
|
| **edge_auto_update_config** | [**EdgeAutoUpdateConfig**](EdgeAutoUpdateConfig.html) | Recurrance rule, time zone, and start/end settings for automatic edge updates for this site | [optional] |
|
28
|
-
| **location** | [**
|
28
|
+
| **location** | [**LocationDefinition**](LocationDefinition.html) | Location | |
|
29
29
|
| **managed** | **BOOLEAN** | | [optional] [default to false]|
|
30
30
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
31
31
|
{: class="table table-striped"}
|
data/doc_out/User.html.md
CHANGED
@@ -28,6 +28,7 @@ title: User
|
|
28
28
|
| **station** | [**UserStations**](UserStations.html) | Effective, default, and last station information | [optional] |
|
29
29
|
| **authorization** | [**UserAuthorization**](UserAuthorization.html) | Roles and permissions assigned to the user | [optional] |
|
30
30
|
| **profile_skills** | **Array<String>** | Skills possessed by the user | [optional] |
|
31
|
+
| **locations** | [**Array<Location>**](Location.html) | The user placement at each site location. | [optional] |
|
31
32
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
32
33
|
{: class="table table-striped"}
|
33
34
|
|
data/doc_out/UserMe.html.md
CHANGED
@@ -28,11 +28,12 @@ title: UserMe
|
|
28
28
|
| **station** | [**UserStations**](UserStations.html) | Effective, default, and last station information | [optional] |
|
29
29
|
| **authorization** | [**UserAuthorization**](UserAuthorization.html) | Roles and permissions assigned to the user | [optional] |
|
30
30
|
| **profile_skills** | **Array<String>** | Skills possessed by the user | [optional] |
|
31
|
+
| **locations** | [**Array<Location>**](Location.html) | The user placement at each site location. | [optional] |
|
31
32
|
| **date** | [**ServerDate**](ServerDate.html) | The PureCloud system date time. | [optional] |
|
32
33
|
| **geolocation_settings** | [**GeolocationSettings**](GeolocationSettings.html) | Geolocation settings for user's organization. | [optional] |
|
33
34
|
| **organization** | [**Organization**](Organization.html) | Organization details for this user. | [optional] |
|
34
35
|
| **presence_definitions** | [**Array<OrganizationPresence>**](OrganizationPresence.html) | The first 100 presence definitions for user's organization. | [optional] |
|
35
|
-
| **
|
36
|
+
| **location_definitions** | [**Array<LocationDefinition>**](LocationDefinition.html) | The first 100 site locations for user's organization | [optional] |
|
36
37
|
| **org_authorization** | [**Array<DomainOrganizationRole>**](DomainOrganizationRole.html) | The first 100 organization roles, with applicable permission policies, for user's organization. | [optional] |
|
37
38
|
| **favorites** | [**Array<User>**](User.html) | The first 50 favorited users. | [optional] |
|
38
39
|
| **superiors** | [**Array<User>**](User.html) | The first 50 superiors of this user. | [optional] |
|
data/doc_out/UserQueue.html.md
CHANGED
@@ -25,6 +25,7 @@ title: UserQueue
|
|
25
25
|
| **queue_flow** | [**UriReference**](UriReference.html) | The in-queue flow to use for conversations waiting in queue. | [optional] |
|
26
26
|
| **calling_party_name** | **String** | The name to use for caller identification for outbound calls from this queue. | [optional] |
|
27
27
|
| **calling_party_number** | **String** | The phone number to use for caller identification for outbound calls from this queue. | [optional] |
|
28
|
+
| **outbound_email_address** | [**QueueEmailAddress**](QueueEmailAddress.html) | | [optional] |
|
28
29
|
| **joined** | **BOOLEAN** | | [optional] [default to false]|
|
29
30
|
| **member_count** | **Integer** | | [optional] |
|
30
31
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
data/doc_out/index.html.md
CHANGED
@@ -9,8 +9,8 @@ With the PureCloud Platform API, you can control all aspects of your PureCloud e
|
|
9
9
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
10
10
|
|
11
11
|
- API version: v2
|
12
|
-
- Package version: 0.
|
13
|
-
- Build date: 2016-11-
|
12
|
+
- Package version: 0.58.1
|
13
|
+
- Build date: 2016-11-15T12:06:58.754Z
|
14
14
|
|
15
15
|
For more information, please visit [https://developer.mypurecloud.com](https://developer.mypurecloud.com)
|
16
16
|
|
@@ -18,7 +18,7 @@ For more information, please visit [https://developer.mypurecloud.com](https://d
|
|
18
18
|
|
19
19
|
### from rubygems.org
|
20
20
|
|
21
|
-
gem 'purecloud', '~> 0.
|
21
|
+
gem 'purecloud', '~> 0.58.1'
|
22
22
|
|
23
23
|
### Install from Git
|
24
24
|
|
data/lib/purecloud.rb
CHANGED
@@ -404,6 +404,7 @@ require 'purecloud/models/local_encryption_configuration_listing'
|
|
404
404
|
require 'purecloud/models/local_encryption_key_request'
|
405
405
|
require 'purecloud/models/location'
|
406
406
|
require 'purecloud/models/location_address'
|
407
|
+
require 'purecloud/models/location_definition'
|
407
408
|
require 'purecloud/models/location_emergency_number'
|
408
409
|
require 'purecloud/models/location_search_criteria'
|
409
410
|
require 'purecloud/models/location_search_request'
|
@@ -490,6 +491,7 @@ require 'purecloud/models/question_group'
|
|
490
491
|
require 'purecloud/models/question_group_score'
|
491
492
|
require 'purecloud/models/question_score'
|
492
493
|
require 'purecloud/models/queue'
|
494
|
+
require 'purecloud/models/queue_email_address'
|
493
495
|
require 'purecloud/models/queue_entity_listing'
|
494
496
|
require 'purecloud/models/queue_member'
|
495
497
|
require 'purecloud/models/queue_member_entity_listing'
|
@@ -28,7 +28,7 @@ module PureCloud
|
|
28
28
|
#
|
29
29
|
# @param location_id Location ID
|
30
30
|
# @param [Hash] opts the optional parameters
|
31
|
-
# @return [
|
31
|
+
# @return [LocationDefinition]
|
32
32
|
def get_location_id(location_id, opts = {})
|
33
33
|
data, status_code, headers = get_location_id_with_http_info(location_id, opts)
|
34
34
|
return data
|
@@ -38,7 +38,7 @@ module PureCloud
|
|
38
38
|
#
|
39
39
|
# @param location_id Location ID
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
|
-
# @return [Array<(
|
41
|
+
# @return [Array<(LocationDefinition, Fixnum, Hash)>] LocationDefinition data, response status code and response headers
|
42
42
|
def get_location_id_with_http_info(location_id, opts = {})
|
43
43
|
if @api_client.config.debugging
|
44
44
|
@api_client.config.logger.debug "Calling API: LocationsApi#get_location_id ..."
|
@@ -77,7 +77,7 @@ module PureCloud
|
|
77
77
|
:form_params => form_params,
|
78
78
|
:body => post_body,
|
79
79
|
:auth_names => auth_names,
|
80
|
-
:return_type => '
|
80
|
+
:return_type => 'LocationDefinition')
|
81
81
|
if @api_client.config.debugging
|
82
82
|
@api_client.config.logger.debug "API called: LocationsApi#get_location_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
83
83
|
end
|
@@ -90,7 +90,7 @@ module PureCloud
|
|
90
90
|
# @option opts [Integer] :page_size Page size (default to 25)
|
91
91
|
# @option opts [Integer] :page_number Page number (default to 1)
|
92
92
|
# @option opts [String] :sort_order Sort order
|
93
|
-
# @return [Array<
|
93
|
+
# @return [Array<LocationDefinition>]
|
94
94
|
def get_locations(opts = {})
|
95
95
|
data, status_code, headers = get_locations_with_http_info(opts)
|
96
96
|
return data
|
@@ -102,7 +102,7 @@ module PureCloud
|
|
102
102
|
# @option opts [Integer] :page_size Page size
|
103
103
|
# @option opts [Integer] :page_number Page number
|
104
104
|
# @option opts [String] :sort_order Sort order
|
105
|
-
# @return [Array<(Array<
|
105
|
+
# @return [Array<(Array<LocationDefinition>, Fixnum, Hash)>] Array<LocationDefinition> data, response status code and response headers
|
106
106
|
def get_locations_with_http_info(opts = {})
|
107
107
|
if @api_client.config.debugging
|
108
108
|
@api_client.config.logger.debug "Calling API: LocationsApi#get_locations ..."
|
@@ -145,7 +145,7 @@ module PureCloud
|
|
145
145
|
:form_params => form_params,
|
146
146
|
:body => post_body,
|
147
147
|
:auth_names => auth_names,
|
148
|
-
:return_type => 'Array<
|
148
|
+
:return_type => 'Array<LocationDefinition>')
|
149
149
|
if @api_client.config.debugging
|
150
150
|
@api_client.config.logger.debug "API called: LocationsApi#get_locations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
151
151
|
end
|