purecloudplatformclientv2 81.0.0 → 82.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/EntityListing.md +5 -1
- data/docs/EvaluationQuestion.md +1 -1
- data/docs/GroupsApi.md +1 -1
- data/docs/OrgUser.md +1 -0
- data/docs/RoutingApi.md +1 -1
- data/docs/SearchApi.md +2 -2
- data/docs/SuggestApi.md +2 -2
- data/docs/Team.md +18 -0
- data/docs/TrustUser.md +1 -0
- data/docs/User.md +1 -0
- data/docs/UserMe.md +1 -0
- data/docs/UsersApi.md +8 -8
- data/docs/WorkforceManagementApi.md +8 -0
- data/lib/purecloudplatformclientv2.rb +1 -0
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/entity_listing.rb +104 -4
- data/lib/purecloudplatformclientv2/models/evaluation_question.rb +13 -13
- data/lib/purecloudplatformclientv2/models/org_user.rb +27 -1
- data/lib/purecloudplatformclientv2/models/team.rb +337 -0
- data/lib/purecloudplatformclientv2/models/trust_user.rb +27 -1
- data/lib/purecloudplatformclientv2/models/user.rb +27 -1
- data/lib/purecloudplatformclientv2/models/user_me.rb +27 -1
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60f0470c9d81b92499abe1fa0b4155fd47bbfb45
|
4
|
+
data.tar.gz: 50656b0ae09d3754c0d57904f1413d8d9d5b717e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d098b2cc0cbf5785da00ccacf29e7714eb468a0ff1d1763bb4712ac8a71e79f6377cc9c3512a36119d383b137ac33bdcb0af46c1b49a7c64f372464a7140a93
|
7
|
+
data.tar.gz: e42a353c33da85e5c9fe489a6ade9e3a0813a5a34d1a6b5ab5522becafd57d3f5ef2f62f2f67379fffa674f0617cdc7e17b9c9ce641b012c7efbb54b9d58755b
|
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=82.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
|
```{"language":"ruby"}
|
13
|
-
gem install 'purecloudplatformclientv2', '~>
|
13
|
+
gem install 'purecloudplatformclientv2', '~> 82.0.0'
|
14
14
|
```
|
15
15
|
|
16
16
|
### Install from Git
|
data/docs/EntityListing.md
CHANGED
@@ -7,7 +7,11 @@ title: EntityListing
|
|
7
7
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
|
-
| **entities** | **Array<
|
10
|
+
| **entities** | [**Array<DataTableImportJob>**](DataTableImportJob.html) | | [optional] |
|
11
|
+
| **page_size** | **Integer** | | [optional] |
|
12
|
+
| **page_number** | **Integer** | | [optional] |
|
13
|
+
| **total** | **Integer** | | [optional] |
|
14
|
+
| **page_count** | **Integer** | | [optional] |
|
11
15
|
{: class="table table-striped"}
|
12
16
|
|
13
17
|
|
data/docs/EvaluationQuestion.md
CHANGED
@@ -15,8 +15,8 @@ title: EvaluationQuestion
|
|
15
15
|
| **comments_required** | **BOOLEAN** | | [optional] |
|
16
16
|
| **visibility_condition** | [**VisibilityCondition**](VisibilityCondition.html) | | [optional] |
|
17
17
|
| **answer_options** | [**Array<AnswerOption>**](AnswerOption.html) | Options from which to choose an answer for this question. Only used by Multiple Choice type questions. | [optional] |
|
18
|
-
| **is_critical** | **BOOLEAN** | | [optional] |
|
19
18
|
| **is_kill** | **BOOLEAN** | | [optional] |
|
19
|
+
| **is_critical** | **BOOLEAN** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
21
21
|
|
22
22
|
|
data/docs/GroupsApi.md
CHANGED
@@ -406,7 +406,7 @@ Name | Type | Description | Notes
|
|
406
406
|
**page_size** | **Integer**| Page size | [optional] [default to 25] |
|
407
407
|
**page_number** | **Integer**| Page number | [optional] [default to 1] |
|
408
408
|
**sort_order** | **String**| Ascending or descending sort order | [optional] [default to ASC]<br />**Values**: ascending, descending |
|
409
|
-
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography |
|
409
|
+
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, team, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography |
|
410
410
|
{: class="table table-striped"}
|
411
411
|
|
412
412
|
|
data/docs/OrgUser.md
CHANGED
@@ -34,6 +34,7 @@ title: OrgUser
|
|
34
34
|
| **profile_skills** | **Array<String>** | Profile skills possessed by the user | [optional] |
|
35
35
|
| **locations** | [**Array<Location>**](Location.html) | The user placement at each site location. | [optional] |
|
36
36
|
| **groups** | [**Array<Group>**](Group.html) | The groups the user is a member of | [optional] |
|
37
|
+
| **team** | [**Team**](Team.html) | The team the user is a member of | [optional] |
|
37
38
|
| **skills** | [**Array<UserRoutingSkill>**](UserRoutingSkill.html) | Routing (ACD) skills possessed by the user | [optional] |
|
38
39
|
| **languages** | [**Array<UserRoutingLanguage>**](UserRoutingLanguage.html) | Routing (ACD) languages possessed by the user | [optional] |
|
39
40
|
| **acd_auto_answer** | **BOOLEAN** | acd auto answer | [optional] |
|
data/docs/RoutingApi.md
CHANGED
@@ -1730,7 +1730,7 @@ Name | Type | Description | Notes
|
|
1730
1730
|
**page_size** | **Integer**| Page size | [optional] [default to 25] |
|
1731
1731
|
**page_number** | **Integer**| Page number | [optional] [default to 1] |
|
1732
1732
|
**sort_by** | **String**| Sort by | [optional] [default to name] |
|
1733
|
-
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand. | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography |
|
1733
|
+
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand. | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, team, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography |
|
1734
1734
|
**joined** | **BOOLEAN**| Filter by joined status | [optional] |
|
1735
1735
|
**name** | **String**| Filter by queue member name | [optional] |
|
1736
1736
|
**profile_skills** | [**Array<String>**](String.html)| Filter by profile skill | [optional] |
|
data/docs/SearchApi.md
CHANGED
@@ -324,7 +324,7 @@ end
|
|
324
324
|
Name | Type | Description | Notes
|
325
325
|
------------- | ------------- | ------------- | -------------
|
326
326
|
**q64** | **String**| q64 | |
|
327
|
-
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography, callerUser.routingStatus, callerUser.primaryPresence, callerUser.conversationSummary, callerUser.outOfOffice, callerUser.geolocation, images, addressVerificationDetails |
|
327
|
+
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, team, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography, callerUser.routingStatus, callerUser.primaryPresence, callerUser.conversationSummary, callerUser.outOfOffice, callerUser.geolocation, images, addressVerificationDetails |
|
328
328
|
**profile** | **BOOLEAN**| profile | [optional] [default to true] |
|
329
329
|
{: class="table table-striped"}
|
330
330
|
|
@@ -394,7 +394,7 @@ end
|
|
394
394
|
Name | Type | Description | Notes
|
395
395
|
------------- | ------------- | ------------- | -------------
|
396
396
|
**q64** | **String**| q64 | |
|
397
|
-
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography, callerUser.routingStatus, callerUser.primaryPresence, callerUser.conversationSummary, callerUser.outOfOffice, callerUser.geolocation, images, addressVerificationDetails |
|
397
|
+
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, team, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography, callerUser.routingStatus, callerUser.primaryPresence, callerUser.conversationSummary, callerUser.outOfOffice, callerUser.geolocation, images, addressVerificationDetails |
|
398
398
|
**profile** | **BOOLEAN**| profile | [optional] [default to true] |
|
399
399
|
{: class="table table-striped"}
|
400
400
|
|
data/docs/SuggestApi.md
CHANGED
@@ -68,7 +68,7 @@ end
|
|
68
68
|
Name | Type | Description | Notes
|
69
69
|
------------- | ------------- | ------------- | -------------
|
70
70
|
**q64** | **String**| q64 | |
|
71
|
-
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography, callerUser.routingStatus, callerUser.primaryPresence, callerUser.conversationSummary, callerUser.outOfOffice, callerUser.geolocation, images, addressVerificationDetails |
|
71
|
+
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, team, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography, callerUser.routingStatus, callerUser.primaryPresence, callerUser.conversationSummary, callerUser.outOfOffice, callerUser.geolocation, images, addressVerificationDetails |
|
72
72
|
**profile** | **BOOLEAN**| profile | [optional] [default to true] |
|
73
73
|
{: class="table table-striped"}
|
74
74
|
|
@@ -138,7 +138,7 @@ end
|
|
138
138
|
Name | Type | Description | Notes
|
139
139
|
------------- | ------------- | ------------- | -------------
|
140
140
|
**q64** | **String**| q64 | |
|
141
|
-
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography, callerUser.routingStatus, callerUser.primaryPresence, callerUser.conversationSummary, callerUser.outOfOffice, callerUser.geolocation, images, addressVerificationDetails |
|
141
|
+
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, team, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography, callerUser.routingStatus, callerUser.primaryPresence, callerUser.conversationSummary, callerUser.outOfOffice, callerUser.geolocation, images, addressVerificationDetails |
|
142
142
|
**profile** | **BOOLEAN**| profile | [optional] [default to true] |
|
143
143
|
{: class="table table-striped"}
|
144
144
|
|
data/docs/Team.md
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
---
|
2
|
+
title: Team
|
3
|
+
---
|
4
|
+
## PureCloud::Team
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **id** | **String** | The globally unique identifier for the object. | [optional] |
|
11
|
+
| **name** | **String** | The team name | |
|
12
|
+
| **description** | **String** | Team information. | [optional] |
|
13
|
+
| **date_modified** | **DateTime** | Last modified datetime. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
14
|
+
| **member_count** | **Integer** | Number of members in a team | [optional] |
|
15
|
+
| **self_uri** | **String** | The URI for this object | [optional] |
|
16
|
+
{: class="table table-striped"}
|
17
|
+
|
18
|
+
|
data/docs/TrustUser.md
CHANGED
@@ -34,6 +34,7 @@ title: TrustUser
|
|
34
34
|
| **profile_skills** | **Array<String>** | Profile skills possessed by the user | [optional] |
|
35
35
|
| **locations** | [**Array<Location>**](Location.html) | The user placement at each site location. | [optional] |
|
36
36
|
| **groups** | [**Array<Group>**](Group.html) | The groups the user is a member of | [optional] |
|
37
|
+
| **team** | [**Team**](Team.html) | The team the user is a member of | [optional] |
|
37
38
|
| **skills** | [**Array<UserRoutingSkill>**](UserRoutingSkill.html) | Routing (ACD) skills possessed by the user | [optional] |
|
38
39
|
| **languages** | [**Array<UserRoutingLanguage>**](UserRoutingLanguage.html) | Routing (ACD) languages possessed by the user | [optional] |
|
39
40
|
| **acd_auto_answer** | **BOOLEAN** | acd auto answer | [optional] |
|
data/docs/User.md
CHANGED
@@ -34,6 +34,7 @@ title: User
|
|
34
34
|
| **profile_skills** | **Array<String>** | Profile skills possessed by the user | [optional] |
|
35
35
|
| **locations** | [**Array<Location>**](Location.html) | The user placement at each site location. | [optional] |
|
36
36
|
| **groups** | [**Array<Group>**](Group.html) | The groups the user is a member of | [optional] |
|
37
|
+
| **team** | [**Team**](Team.html) | The team the user is a member of | [optional] |
|
37
38
|
| **skills** | [**Array<UserRoutingSkill>**](UserRoutingSkill.html) | Routing (ACD) skills possessed by the user | [optional] |
|
38
39
|
| **languages** | [**Array<UserRoutingLanguage>**](UserRoutingLanguage.html) | Routing (ACD) languages possessed by the user | [optional] |
|
39
40
|
| **acd_auto_answer** | **BOOLEAN** | acd auto answer | [optional] |
|
data/docs/UserMe.md
CHANGED
@@ -34,6 +34,7 @@ title: UserMe
|
|
34
34
|
| **profile_skills** | **Array<String>** | Profile skills possessed by the user | [optional] |
|
35
35
|
| **locations** | [**Array<Location>**](Location.html) | The user placement at each site location. | [optional] |
|
36
36
|
| **groups** | [**Array<Group>**](Group.html) | The groups the user is a member of | [optional] |
|
37
|
+
| **team** | [**Team**](Team.html) | The team the user is a member of | [optional] |
|
37
38
|
| **skills** | [**Array<UserRoutingSkill>**](UserRoutingSkill.html) | Routing (ACD) skills possessed by the user | [optional] |
|
38
39
|
| **languages** | [**Array<UserRoutingLanguage>**](UserRoutingLanguage.html) | Routing (ACD) languages possessed by the user | [optional] |
|
39
40
|
| **acd_auto_answer** | **BOOLEAN** | acd auto answer | [optional] |
|
data/docs/UsersApi.md
CHANGED
@@ -1408,7 +1408,7 @@ end
|
|
1408
1408
|
Name | Type | Description | Notes
|
1409
1409
|
------------- | ------------- | ------------- | -------------
|
1410
1410
|
**user_id** | **String**| User ID | |
|
1411
|
-
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography |
|
1411
|
+
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, team, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography |
|
1412
1412
|
**state** | **String**| Search for a user with this state | [optional] [default to active]<br />**Values**: active, deleted |
|
1413
1413
|
{: class="table table-striped"}
|
1414
1414
|
|
@@ -1477,7 +1477,7 @@ end
|
|
1477
1477
|
Name | Type | Description | Notes
|
1478
1478
|
------------- | ------------- | ------------- | -------------
|
1479
1479
|
**user_id** | **String**| User ID | |
|
1480
|
-
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography |
|
1480
|
+
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, team, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography |
|
1481
1481
|
{: class="table table-striped"}
|
1482
1482
|
|
1483
1483
|
|
@@ -1609,7 +1609,7 @@ end
|
|
1609
1609
|
Name | Type | Description | Notes
|
1610
1610
|
------------- | ------------- | ------------- | -------------
|
1611
1611
|
**user_id** | **String**| User ID | |
|
1612
|
-
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography |
|
1612
|
+
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, team, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography |
|
1613
1613
|
{: class="table table-striped"}
|
1614
1614
|
|
1615
1615
|
|
@@ -1683,7 +1683,7 @@ Name | Type | Description | Notes
|
|
1683
1683
|
**page_size** | **Integer**| Page size | [optional] [default to 25] |
|
1684
1684
|
**page_number** | **Integer**| Page number | [optional] [default to 1] |
|
1685
1685
|
**sort_order** | **String**| Sort order | [optional] [default to ASC] |
|
1686
|
-
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography |
|
1686
|
+
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, team, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography |
|
1687
1687
|
{: class="table table-striped"}
|
1688
1688
|
|
1689
1689
|
|
@@ -1882,7 +1882,7 @@ end
|
|
1882
1882
|
Name | Type | Description | Notes
|
1883
1883
|
------------- | ------------- | ------------- | -------------
|
1884
1884
|
**user_id** | **String**| userId | |
|
1885
|
-
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography |
|
1885
|
+
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, team, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography |
|
1886
1886
|
{: class="table table-striped"}
|
1887
1887
|
|
1888
1888
|
|
@@ -2428,7 +2428,7 @@ end
|
|
2428
2428
|
Name | Type | Description | Notes
|
2429
2429
|
------------- | ------------- | ------------- | -------------
|
2430
2430
|
**user_id** | **String**| User ID | |
|
2431
|
-
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography |
|
2431
|
+
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, team, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography |
|
2432
2432
|
{: class="table table-striped"}
|
2433
2433
|
|
2434
2434
|
|
@@ -2575,7 +2575,7 @@ Name | Type | Description | Notes
|
|
2575
2575
|
**id** | [**Array<String>**](String.html)| A list of user IDs to fetch by bulk | [optional] |
|
2576
2576
|
**jabber_id** | [**Array<String>**](String.html)| A list of jabberIds to fetch by bulk (cannot be used with the \"id\" parameter) | [optional] |
|
2577
2577
|
**sort_order** | **String**| Ascending or descending sort order | [optional] [default to ASC]<br />**Values**: ascending, descending |
|
2578
|
-
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography |
|
2578
|
+
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, team, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography |
|
2579
2579
|
**state** | **String**| Only list users of this state | [optional] [default to active]<br />**Values**: active, inactive, deleted, any |
|
2580
2580
|
{: class="table table-striped"}
|
2581
2581
|
|
@@ -2641,7 +2641,7 @@ end
|
|
2641
2641
|
|
2642
2642
|
Name | Type | Description | Notes
|
2643
2643
|
------------- | ------------- | ------------- | -------------
|
2644
|
-
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand. | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography, date, geolocationsettings, organization, presencedefinitions, locationdefinitions, orgauthorization, orgproducts, favorites, superiors, directreports, adjacents, routingskills, routinglanguages, fieldconfigs, token, trustors |
|
2644
|
+
**expand** | [**Array<String>**](String.html)| Which fields, if any, to expand. | [optional] <br />**Values**: routingStatus, presence, conversationSummary, outOfOffice, geolocation, station, authorization, lasttokenissued, authorization.unusedRoles, team, profileSkills, certifications, locations, groups, skills, languages, languagePreference, employerInfo, biography, date, geolocationsettings, organization, presencedefinitions, locationdefinitions, orgauthorization, orgproducts, favorites, superiors, directreports, adjacents, routingskills, routinglanguages, fieldconfigs, token, trustors |
|
2645
2645
|
{: class="table table-striped"}
|
2646
2646
|
|
2647
2647
|
|
@@ -729,6 +729,14 @@ Requires ANY permissions:
|
|
729
729
|
* wfm:serviceGoalGroup:delete
|
730
730
|
* wfm:serviceGoalGroup:edit
|
731
731
|
* wfm:serviceGoalGroup:view
|
732
|
+
* wfm:serviceGoalTemplate:add
|
733
|
+
* wfm:serviceGoalTemplate:delete
|
734
|
+
* wfm:serviceGoalTemplate:edit
|
735
|
+
* wfm:serviceGoalTemplate:view
|
736
|
+
* wfm:planningGroup:add
|
737
|
+
* wfm:planningGroup:delete
|
738
|
+
* wfm:planningGroup:edit
|
739
|
+
* wfm:planningGroup:view
|
732
740
|
* wfm:shiftTradeRequest:edit
|
733
741
|
* wfm:shiftTradeRequest:view
|
734
742
|
* wfm:agentShiftTradeRequest:participate
|
@@ -1571,6 +1571,7 @@ require 'purecloudplatformclientv2/models/system_prompt_entity_listing'
|
|
1571
1571
|
require 'purecloudplatformclientv2/models/tag_query_request'
|
1572
1572
|
require 'purecloudplatformclientv2/models/tag_value'
|
1573
1573
|
require 'purecloudplatformclientv2/models/tag_value_entity_listing'
|
1574
|
+
require 'purecloudplatformclientv2/models/team'
|
1574
1575
|
require 'purecloudplatformclientv2/models/term_attribute'
|
1575
1576
|
require 'purecloudplatformclientv2/models/test_execution_operation_result'
|
1576
1577
|
require 'purecloudplatformclientv2/models/test_execution_result'
|
@@ -76,7 +76,7 @@ module PureCloud
|
|
76
76
|
http_method = http_method.to_sym.downcase
|
77
77
|
|
78
78
|
header_params = @default_headers.merge(opts[:header_params] || {})
|
79
|
-
header_params['purecloud-sdk'] = '
|
79
|
+
header_params['purecloud-sdk'] = '82.0.0'
|
80
80
|
query_params = opts[:query_params] || {}
|
81
81
|
form_params = opts[:form_params] || {}
|
82
82
|
|
@@ -20,11 +20,27 @@ module PureCloud
|
|
20
20
|
class EntityListing
|
21
21
|
attr_accessor :entities
|
22
22
|
|
23
|
+
attr_accessor :page_size
|
24
|
+
|
25
|
+
attr_accessor :page_number
|
26
|
+
|
27
|
+
attr_accessor :total
|
28
|
+
|
29
|
+
attr_accessor :page_count
|
30
|
+
|
23
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
32
|
def self.attribute_map
|
25
33
|
{
|
26
34
|
|
27
|
-
:'entities' => :'entities'
|
35
|
+
:'entities' => :'entities',
|
36
|
+
|
37
|
+
:'page_size' => :'pageSize',
|
38
|
+
|
39
|
+
:'page_number' => :'pageNumber',
|
40
|
+
|
41
|
+
:'total' => :'total',
|
42
|
+
|
43
|
+
:'page_count' => :'pageCount'
|
28
44
|
|
29
45
|
}
|
30
46
|
end
|
@@ -33,7 +49,15 @@ module PureCloud
|
|
33
49
|
def self.swagger_types
|
34
50
|
{
|
35
51
|
|
36
|
-
:'entities' => :'Array<
|
52
|
+
:'entities' => :'Array<DataTableImportJob>',
|
53
|
+
|
54
|
+
:'page_size' => :'Integer',
|
55
|
+
|
56
|
+
:'page_number' => :'Integer',
|
57
|
+
|
58
|
+
:'total' => :'Integer',
|
59
|
+
|
60
|
+
:'page_count' => :'Integer'
|
37
61
|
|
38
62
|
}
|
39
63
|
end
|
@@ -58,6 +82,42 @@ module PureCloud
|
|
58
82
|
end
|
59
83
|
|
60
84
|
|
85
|
+
if attributes.has_key?(:'pageSize')
|
86
|
+
|
87
|
+
|
88
|
+
self.page_size = attributes[:'pageSize']
|
89
|
+
|
90
|
+
|
91
|
+
end
|
92
|
+
|
93
|
+
|
94
|
+
if attributes.has_key?(:'pageNumber')
|
95
|
+
|
96
|
+
|
97
|
+
self.page_number = attributes[:'pageNumber']
|
98
|
+
|
99
|
+
|
100
|
+
end
|
101
|
+
|
102
|
+
|
103
|
+
if attributes.has_key?(:'total')
|
104
|
+
|
105
|
+
|
106
|
+
self.total = attributes[:'total']
|
107
|
+
|
108
|
+
|
109
|
+
end
|
110
|
+
|
111
|
+
|
112
|
+
if attributes.has_key?(:'pageCount')
|
113
|
+
|
114
|
+
|
115
|
+
self.page_count = attributes[:'pageCount']
|
116
|
+
|
117
|
+
|
118
|
+
end
|
119
|
+
|
120
|
+
|
61
121
|
end
|
62
122
|
|
63
123
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -72,6 +132,22 @@ module PureCloud
|
|
72
132
|
# Check to see if the all the properties in the model are valid
|
73
133
|
# @return true if the model is valid
|
74
134
|
def valid?
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
|
75
151
|
|
76
152
|
|
77
153
|
|
@@ -84,13 +160,37 @@ module PureCloud
|
|
84
160
|
|
85
161
|
|
86
162
|
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
|
87
183
|
|
88
184
|
# Checks equality by comparing each attribute.
|
89
185
|
# @param [Object] Object to be compared
|
90
186
|
def ==(o)
|
91
187
|
return true if self.equal?(o)
|
92
188
|
self.class == o.class &&
|
93
|
-
entities == o.entities
|
189
|
+
entities == o.entities &&
|
190
|
+
page_size == o.page_size &&
|
191
|
+
page_number == o.page_number &&
|
192
|
+
total == o.total &&
|
193
|
+
page_count == o.page_count
|
94
194
|
end
|
95
195
|
|
96
196
|
# @see the `==` method
|
@@ -102,7 +202,7 @@ module PureCloud
|
|
102
202
|
# Calculates hash code according to all attributes.
|
103
203
|
# @return [Fixnum] Hash code
|
104
204
|
def hash
|
105
|
-
[entities].hash
|
205
|
+
[entities, page_size, page_number, total, page_count].hash
|
106
206
|
end
|
107
207
|
|
108
208
|
# build the object from hash
|
@@ -35,10 +35,10 @@ module PureCloud
|
|
35
35
|
# Options from which to choose an answer for this question. Only used by Multiple Choice type questions.
|
36
36
|
attr_accessor :answer_options
|
37
37
|
|
38
|
-
attr_accessor :is_critical
|
39
|
-
|
40
38
|
attr_accessor :is_kill
|
41
39
|
|
40
|
+
attr_accessor :is_critical
|
41
|
+
|
42
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
43
43
|
def self.attribute_map
|
44
44
|
{
|
@@ -59,9 +59,9 @@ module PureCloud
|
|
59
59
|
|
60
60
|
:'answer_options' => :'answerOptions',
|
61
61
|
|
62
|
-
:'
|
62
|
+
:'is_kill' => :'isKill',
|
63
63
|
|
64
|
-
:'
|
64
|
+
:'is_critical' => :'isCritical'
|
65
65
|
|
66
66
|
}
|
67
67
|
end
|
@@ -86,9 +86,9 @@ module PureCloud
|
|
86
86
|
|
87
87
|
:'answer_options' => :'Array<AnswerOption>',
|
88
88
|
|
89
|
-
:'
|
89
|
+
:'is_kill' => :'BOOLEAN',
|
90
90
|
|
91
|
-
:'
|
91
|
+
:'is_critical' => :'BOOLEAN'
|
92
92
|
|
93
93
|
}
|
94
94
|
end
|
@@ -176,19 +176,19 @@ module PureCloud
|
|
176
176
|
end
|
177
177
|
|
178
178
|
|
179
|
-
if attributes.has_key?(:'
|
179
|
+
if attributes.has_key?(:'isKill')
|
180
180
|
|
181
181
|
|
182
|
-
self.
|
182
|
+
self.is_kill = attributes[:'isKill']
|
183
183
|
|
184
184
|
|
185
185
|
end
|
186
186
|
|
187
187
|
|
188
|
-
if attributes.has_key?(:'
|
188
|
+
if attributes.has_key?(:'isCritical')
|
189
189
|
|
190
190
|
|
191
|
-
self.
|
191
|
+
self.is_critical = attributes[:'isCritical']
|
192
192
|
|
193
193
|
|
194
194
|
end
|
@@ -329,8 +329,8 @@ module PureCloud
|
|
329
329
|
comments_required == o.comments_required &&
|
330
330
|
visibility_condition == o.visibility_condition &&
|
331
331
|
answer_options == o.answer_options &&
|
332
|
-
|
333
|
-
|
332
|
+
is_kill == o.is_kill &&
|
333
|
+
is_critical == o.is_critical
|
334
334
|
end
|
335
335
|
|
336
336
|
# @see the `==` method
|
@@ -342,7 +342,7 @@ module PureCloud
|
|
342
342
|
# Calculates hash code according to all attributes.
|
343
343
|
# @return [Fixnum] Hash code
|
344
344
|
def hash
|
345
|
-
[id, text, help_text, type, na_enabled, comments_required, visibility_condition, answer_options,
|
345
|
+
[id, text, help_text, type, na_enabled, comments_required, visibility_condition, answer_options, is_kill, is_critical].hash
|
346
346
|
end
|
347
347
|
|
348
348
|
# build the object from hash
|
@@ -88,6 +88,9 @@ module PureCloud
|
|
88
88
|
# The groups the user is a member of
|
89
89
|
attr_accessor :groups
|
90
90
|
|
91
|
+
# The team the user is a member of
|
92
|
+
attr_accessor :team
|
93
|
+
|
91
94
|
# Routing (ACD) skills possessed by the user
|
92
95
|
attr_accessor :skills
|
93
96
|
|
@@ -162,6 +165,8 @@ module PureCloud
|
|
162
165
|
|
163
166
|
:'groups' => :'groups',
|
164
167
|
|
168
|
+
:'team' => :'team',
|
169
|
+
|
165
170
|
:'skills' => :'skills',
|
166
171
|
|
167
172
|
:'languages' => :'languages',
|
@@ -235,6 +240,8 @@ module PureCloud
|
|
235
240
|
|
236
241
|
:'groups' => :'Array<Group>',
|
237
242
|
|
243
|
+
:'team' => :'Team',
|
244
|
+
|
238
245
|
:'skills' => :'Array<UserRoutingSkill>',
|
239
246
|
|
240
247
|
:'languages' => :'Array<UserRoutingLanguage>',
|
@@ -516,6 +523,15 @@ module PureCloud
|
|
516
523
|
end
|
517
524
|
|
518
525
|
|
526
|
+
if attributes.has_key?(:'team')
|
527
|
+
|
528
|
+
|
529
|
+
self.team = attributes[:'team']
|
530
|
+
|
531
|
+
|
532
|
+
end
|
533
|
+
|
534
|
+
|
519
535
|
if attributes.has_key?(:'skills')
|
520
536
|
|
521
537
|
if (value = attributes[:'skills']).is_a?(Array)
|
@@ -726,6 +742,10 @@ module PureCloud
|
|
726
742
|
|
727
743
|
|
728
744
|
|
745
|
+
|
746
|
+
|
747
|
+
|
748
|
+
|
729
749
|
|
730
750
|
|
731
751
|
|
@@ -902,6 +922,11 @@ module PureCloud
|
|
902
922
|
|
903
923
|
|
904
924
|
|
925
|
+
|
926
|
+
|
927
|
+
|
928
|
+
|
929
|
+
|
905
930
|
|
906
931
|
|
907
932
|
|
@@ -940,6 +965,7 @@ module PureCloud
|
|
940
965
|
profile_skills == o.profile_skills &&
|
941
966
|
locations == o.locations &&
|
942
967
|
groups == o.groups &&
|
968
|
+
team == o.team &&
|
943
969
|
skills == o.skills &&
|
944
970
|
languages == o.languages &&
|
945
971
|
acd_auto_answer == o.acd_auto_answer &&
|
@@ -957,7 +983,7 @@ module PureCloud
|
|
957
983
|
# Calculates hash code according to all attributes.
|
958
984
|
# @return [Fixnum] Hash code
|
959
985
|
def hash
|
960
|
-
[id, name, division, chat, department, email, primary_contact_info, addresses, state, title, username, manager, images, version, certifications, biography, employer_info, routing_status, presence, conversation_summary, out_of_office, geolocation, station, authorization, profile_skills, locations, groups, skills, languages, acd_auto_answer, language_preference, last_token_issued, organization].hash
|
986
|
+
[id, name, division, chat, department, email, primary_contact_info, addresses, state, title, username, manager, images, version, certifications, biography, employer_info, routing_status, presence, conversation_summary, out_of_office, geolocation, station, authorization, profile_skills, locations, groups, team, skills, languages, acd_auto_answer, language_preference, last_token_issued, organization].hash
|
961
987
|
end
|
962
988
|
|
963
989
|
# build the object from hash
|
@@ -0,0 +1,337 @@
|
|
1
|
+
=begin
|
2
|
+
PureCloud Platform API
|
3
|
+
|
4
|
+
With the PureCloud Platform API, you can control all aspects of your PureCloud environment. With the APIs you can access the system configuration, manage conversations and more.
|
5
|
+
|
6
|
+
OpenAPI spec version: v2
|
7
|
+
Contact: DeveloperEvangelists@genesys.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
License: UNLICENSED
|
11
|
+
https://help.mypurecloud.com/articles/terms-and-conditions/
|
12
|
+
|
13
|
+
Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
|
14
|
+
|
15
|
+
=end
|
16
|
+
|
17
|
+
require 'date'
|
18
|
+
|
19
|
+
module PureCloud
|
20
|
+
class Team
|
21
|
+
# The globally unique identifier for the object.
|
22
|
+
attr_accessor :id
|
23
|
+
|
24
|
+
# The team name
|
25
|
+
attr_accessor :name
|
26
|
+
|
27
|
+
# Team information.
|
28
|
+
attr_accessor :description
|
29
|
+
|
30
|
+
# Last modified datetime. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
31
|
+
attr_accessor :date_modified
|
32
|
+
|
33
|
+
# Number of members in a team
|
34
|
+
attr_accessor :member_count
|
35
|
+
|
36
|
+
# The URI for this object
|
37
|
+
attr_accessor :self_uri
|
38
|
+
|
39
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
40
|
+
def self.attribute_map
|
41
|
+
{
|
42
|
+
|
43
|
+
:'id' => :'id',
|
44
|
+
|
45
|
+
:'name' => :'name',
|
46
|
+
|
47
|
+
:'description' => :'description',
|
48
|
+
|
49
|
+
:'date_modified' => :'dateModified',
|
50
|
+
|
51
|
+
:'member_count' => :'memberCount',
|
52
|
+
|
53
|
+
:'self_uri' => :'selfUri'
|
54
|
+
|
55
|
+
}
|
56
|
+
end
|
57
|
+
|
58
|
+
# Attribute type mapping.
|
59
|
+
def self.swagger_types
|
60
|
+
{
|
61
|
+
|
62
|
+
:'id' => :'String',
|
63
|
+
|
64
|
+
:'name' => :'String',
|
65
|
+
|
66
|
+
:'description' => :'String',
|
67
|
+
|
68
|
+
:'date_modified' => :'DateTime',
|
69
|
+
|
70
|
+
:'member_count' => :'Integer',
|
71
|
+
|
72
|
+
:'self_uri' => :'String'
|
73
|
+
|
74
|
+
}
|
75
|
+
end
|
76
|
+
|
77
|
+
# Initializes the object
|
78
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
79
|
+
def initialize(attributes = {})
|
80
|
+
return unless attributes.is_a?(Hash)
|
81
|
+
|
82
|
+
# convert string to symbol for hash key
|
83
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
84
|
+
|
85
|
+
|
86
|
+
if attributes.has_key?(:'id')
|
87
|
+
|
88
|
+
|
89
|
+
self.id = attributes[:'id']
|
90
|
+
|
91
|
+
|
92
|
+
end
|
93
|
+
|
94
|
+
|
95
|
+
if attributes.has_key?(:'name')
|
96
|
+
|
97
|
+
|
98
|
+
self.name = attributes[:'name']
|
99
|
+
|
100
|
+
|
101
|
+
end
|
102
|
+
|
103
|
+
|
104
|
+
if attributes.has_key?(:'description')
|
105
|
+
|
106
|
+
|
107
|
+
self.description = attributes[:'description']
|
108
|
+
|
109
|
+
|
110
|
+
end
|
111
|
+
|
112
|
+
|
113
|
+
if attributes.has_key?(:'dateModified')
|
114
|
+
|
115
|
+
|
116
|
+
self.date_modified = attributes[:'dateModified']
|
117
|
+
|
118
|
+
|
119
|
+
end
|
120
|
+
|
121
|
+
|
122
|
+
if attributes.has_key?(:'memberCount')
|
123
|
+
|
124
|
+
|
125
|
+
self.member_count = attributes[:'memberCount']
|
126
|
+
|
127
|
+
|
128
|
+
end
|
129
|
+
|
130
|
+
|
131
|
+
if attributes.has_key?(:'selfUri')
|
132
|
+
|
133
|
+
|
134
|
+
self.self_uri = attributes[:'selfUri']
|
135
|
+
|
136
|
+
|
137
|
+
end
|
138
|
+
|
139
|
+
|
140
|
+
end
|
141
|
+
|
142
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
143
|
+
# @return Array for valid properies with the reasons
|
144
|
+
def list_invalid_properties
|
145
|
+
invalid_properties = Array.new
|
146
|
+
|
147
|
+
|
148
|
+
return invalid_properties
|
149
|
+
end
|
150
|
+
|
151
|
+
# Check to see if the all the properties in the model are valid
|
152
|
+
# @return true if the model is valid
|
153
|
+
def valid?
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
if @name.nil?
|
161
|
+
return false
|
162
|
+
end
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
end
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
# Checks equality by comparing each attribute.
|
218
|
+
# @param [Object] Object to be compared
|
219
|
+
def ==(o)
|
220
|
+
return true if self.equal?(o)
|
221
|
+
self.class == o.class &&
|
222
|
+
id == o.id &&
|
223
|
+
name == o.name &&
|
224
|
+
description == o.description &&
|
225
|
+
date_modified == o.date_modified &&
|
226
|
+
member_count == o.member_count &&
|
227
|
+
self_uri == o.self_uri
|
228
|
+
end
|
229
|
+
|
230
|
+
# @see the `==` method
|
231
|
+
# @param [Object] Object to be compared
|
232
|
+
def eql?(o)
|
233
|
+
self == o
|
234
|
+
end
|
235
|
+
|
236
|
+
# Calculates hash code according to all attributes.
|
237
|
+
# @return [Fixnum] Hash code
|
238
|
+
def hash
|
239
|
+
[id, name, description, date_modified, member_count, self_uri].hash
|
240
|
+
end
|
241
|
+
|
242
|
+
# build the object from hash
|
243
|
+
def build_from_hash(attributes)
|
244
|
+
return nil unless attributes.is_a?(Hash)
|
245
|
+
self.class.swagger_types.each_pair do |key, type|
|
246
|
+
if type =~ /^Array<(.*)>/i
|
247
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
248
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
249
|
+
else
|
250
|
+
#TODO show warning in debug mode
|
251
|
+
end
|
252
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
253
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
254
|
+
else
|
255
|
+
# data not found in attributes(hash), not an issue as the data can be optional
|
256
|
+
end
|
257
|
+
end
|
258
|
+
|
259
|
+
self
|
260
|
+
end
|
261
|
+
|
262
|
+
def _deserialize(type, value)
|
263
|
+
case type.to_sym
|
264
|
+
when :DateTime
|
265
|
+
DateTime.parse(value)
|
266
|
+
when :Date
|
267
|
+
Date.parse(value)
|
268
|
+
when :String
|
269
|
+
value.to_s
|
270
|
+
when :Integer
|
271
|
+
value.to_i
|
272
|
+
when :Float
|
273
|
+
value.to_f
|
274
|
+
when :BOOLEAN
|
275
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
276
|
+
true
|
277
|
+
else
|
278
|
+
false
|
279
|
+
end
|
280
|
+
when :Object
|
281
|
+
# generic object (usually a Hash), return directly
|
282
|
+
value
|
283
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
284
|
+
inner_type = Regexp.last_match[:inner_type]
|
285
|
+
value.map { |v| _deserialize(inner_type, v) }
|
286
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
287
|
+
k_type = Regexp.last_match[:k_type]
|
288
|
+
v_type = Regexp.last_match[:v_type]
|
289
|
+
{}.tap do |hash|
|
290
|
+
value.each do |k, v|
|
291
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
292
|
+
end
|
293
|
+
end
|
294
|
+
else # model
|
295
|
+
_model = Object.const_get("PureCloud").const_get(type).new
|
296
|
+
_model.build_from_hash(value)
|
297
|
+
end
|
298
|
+
end
|
299
|
+
|
300
|
+
def to_s
|
301
|
+
to_hash.to_s
|
302
|
+
end
|
303
|
+
|
304
|
+
# to_body is an alias to to_body (backward compatibility))
|
305
|
+
def to_body
|
306
|
+
to_hash
|
307
|
+
end
|
308
|
+
|
309
|
+
# return the object in the form of hash
|
310
|
+
def to_hash
|
311
|
+
hash = {}
|
312
|
+
self.class.attribute_map.each_pair do |attr, param|
|
313
|
+
value = self.send(attr)
|
314
|
+
next if value.nil?
|
315
|
+
hash[param] = _to_hash(value)
|
316
|
+
end
|
317
|
+
hash
|
318
|
+
end
|
319
|
+
|
320
|
+
# Method to output non-array value in the form of hash
|
321
|
+
# For object, use to_hash. Otherwise, just return the value
|
322
|
+
def _to_hash(value)
|
323
|
+
if value.is_a?(Array)
|
324
|
+
value.compact.map{ |v| _to_hash(v) }
|
325
|
+
elsif value.is_a?(Hash)
|
326
|
+
{}.tap do |hash|
|
327
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
328
|
+
end
|
329
|
+
elsif value.respond_to? :to_hash
|
330
|
+
value.to_hash
|
331
|
+
else
|
332
|
+
value
|
333
|
+
end
|
334
|
+
end
|
335
|
+
|
336
|
+
end
|
337
|
+
end
|
@@ -88,6 +88,9 @@ module PureCloud
|
|
88
88
|
# The groups the user is a member of
|
89
89
|
attr_accessor :groups
|
90
90
|
|
91
|
+
# The team the user is a member of
|
92
|
+
attr_accessor :team
|
93
|
+
|
91
94
|
# Routing (ACD) skills possessed by the user
|
92
95
|
attr_accessor :skills
|
93
96
|
|
@@ -162,6 +165,8 @@ module PureCloud
|
|
162
165
|
|
163
166
|
:'groups' => :'groups',
|
164
167
|
|
168
|
+
:'team' => :'team',
|
169
|
+
|
165
170
|
:'skills' => :'skills',
|
166
171
|
|
167
172
|
:'languages' => :'languages',
|
@@ -235,6 +240,8 @@ module PureCloud
|
|
235
240
|
|
236
241
|
:'groups' => :'Array<Group>',
|
237
242
|
|
243
|
+
:'team' => :'Team',
|
244
|
+
|
238
245
|
:'skills' => :'Array<UserRoutingSkill>',
|
239
246
|
|
240
247
|
:'languages' => :'Array<UserRoutingLanguage>',
|
@@ -516,6 +523,15 @@ module PureCloud
|
|
516
523
|
end
|
517
524
|
|
518
525
|
|
526
|
+
if attributes.has_key?(:'team')
|
527
|
+
|
528
|
+
|
529
|
+
self.team = attributes[:'team']
|
530
|
+
|
531
|
+
|
532
|
+
end
|
533
|
+
|
534
|
+
|
519
535
|
if attributes.has_key?(:'skills')
|
520
536
|
|
521
537
|
if (value = attributes[:'skills']).is_a?(Array)
|
@@ -726,6 +742,10 @@ module PureCloud
|
|
726
742
|
|
727
743
|
|
728
744
|
|
745
|
+
|
746
|
+
|
747
|
+
|
748
|
+
|
729
749
|
|
730
750
|
|
731
751
|
|
@@ -902,6 +922,11 @@ module PureCloud
|
|
902
922
|
|
903
923
|
|
904
924
|
|
925
|
+
|
926
|
+
|
927
|
+
|
928
|
+
|
929
|
+
|
905
930
|
|
906
931
|
|
907
932
|
|
@@ -940,6 +965,7 @@ module PureCloud
|
|
940
965
|
profile_skills == o.profile_skills &&
|
941
966
|
locations == o.locations &&
|
942
967
|
groups == o.groups &&
|
968
|
+
team == o.team &&
|
943
969
|
skills == o.skills &&
|
944
970
|
languages == o.languages &&
|
945
971
|
acd_auto_answer == o.acd_auto_answer &&
|
@@ -957,7 +983,7 @@ module PureCloud
|
|
957
983
|
# Calculates hash code according to all attributes.
|
958
984
|
# @return [Fixnum] Hash code
|
959
985
|
def hash
|
960
|
-
[id, name, division, chat, department, email, primary_contact_info, addresses, state, title, username, manager, images, version, certifications, biography, employer_info, routing_status, presence, conversation_summary, out_of_office, geolocation, station, authorization, profile_skills, locations, groups, skills, languages, acd_auto_answer, language_preference, last_token_issued, trust_user_details].hash
|
986
|
+
[id, name, division, chat, department, email, primary_contact_info, addresses, state, title, username, manager, images, version, certifications, biography, employer_info, routing_status, presence, conversation_summary, out_of_office, geolocation, station, authorization, profile_skills, locations, groups, team, skills, languages, acd_auto_answer, language_preference, last_token_issued, trust_user_details].hash
|
961
987
|
end
|
962
988
|
|
963
989
|
# build the object from hash
|
@@ -88,6 +88,9 @@ module PureCloud
|
|
88
88
|
# The groups the user is a member of
|
89
89
|
attr_accessor :groups
|
90
90
|
|
91
|
+
# The team the user is a member of
|
92
|
+
attr_accessor :team
|
93
|
+
|
91
94
|
# Routing (ACD) skills possessed by the user
|
92
95
|
attr_accessor :skills
|
93
96
|
|
@@ -163,6 +166,8 @@ module PureCloud
|
|
163
166
|
|
164
167
|
:'groups' => :'groups',
|
165
168
|
|
169
|
+
:'team' => :'team',
|
170
|
+
|
166
171
|
:'skills' => :'skills',
|
167
172
|
|
168
173
|
:'languages' => :'languages',
|
@@ -236,6 +241,8 @@ module PureCloud
|
|
236
241
|
|
237
242
|
:'groups' => :'Array<Group>',
|
238
243
|
|
244
|
+
:'team' => :'Team',
|
245
|
+
|
239
246
|
:'skills' => :'Array<UserRoutingSkill>',
|
240
247
|
|
241
248
|
:'languages' => :'Array<UserRoutingLanguage>',
|
@@ -517,6 +524,15 @@ module PureCloud
|
|
517
524
|
end
|
518
525
|
|
519
526
|
|
527
|
+
if attributes.has_key?(:'team')
|
528
|
+
|
529
|
+
|
530
|
+
self.team = attributes[:'team']
|
531
|
+
|
532
|
+
|
533
|
+
end
|
534
|
+
|
535
|
+
|
520
536
|
if attributes.has_key?(:'skills')
|
521
537
|
|
522
538
|
if (value = attributes[:'skills']).is_a?(Array)
|
@@ -727,6 +743,10 @@ module PureCloud
|
|
727
743
|
|
728
744
|
|
729
745
|
|
746
|
+
|
747
|
+
|
748
|
+
|
749
|
+
|
730
750
|
|
731
751
|
|
732
752
|
|
@@ -903,6 +923,11 @@ module PureCloud
|
|
903
923
|
|
904
924
|
|
905
925
|
|
926
|
+
|
927
|
+
|
928
|
+
|
929
|
+
|
930
|
+
|
906
931
|
|
907
932
|
|
908
933
|
|
@@ -941,6 +966,7 @@ module PureCloud
|
|
941
966
|
profile_skills == o.profile_skills &&
|
942
967
|
locations == o.locations &&
|
943
968
|
groups == o.groups &&
|
969
|
+
team == o.team &&
|
944
970
|
skills == o.skills &&
|
945
971
|
languages == o.languages &&
|
946
972
|
acd_auto_answer == o.acd_auto_answer &&
|
@@ -958,7 +984,7 @@ module PureCloud
|
|
958
984
|
# Calculates hash code according to all attributes.
|
959
985
|
# @return [Fixnum] Hash code
|
960
986
|
def hash
|
961
|
-
[id, name, division, chat, department, email, primary_contact_info, addresses, state, title, username, manager, images, version, certifications, biography, employer_info, routing_status, presence, conversation_summary, out_of_office, geolocation, station, authorization, profile_skills, locations, groups, skills, languages, acd_auto_answer, language_preference, last_token_issued, self_uri].hash
|
987
|
+
[id, name, division, chat, department, email, primary_contact_info, addresses, state, title, username, manager, images, version, certifications, biography, employer_info, routing_status, presence, conversation_summary, out_of_office, geolocation, station, authorization, profile_skills, locations, groups, team, skills, languages, acd_auto_answer, language_preference, last_token_issued, self_uri].hash
|
962
988
|
end
|
963
989
|
|
964
990
|
# build the object from hash
|
@@ -88,6 +88,9 @@ module PureCloud
|
|
88
88
|
# The groups the user is a member of
|
89
89
|
attr_accessor :groups
|
90
90
|
|
91
|
+
# The team the user is a member of
|
92
|
+
attr_accessor :team
|
93
|
+
|
91
94
|
# Routing (ACD) skills possessed by the user
|
92
95
|
attr_accessor :skills
|
93
96
|
|
@@ -208,6 +211,8 @@ module PureCloud
|
|
208
211
|
|
209
212
|
:'groups' => :'groups',
|
210
213
|
|
214
|
+
:'team' => :'team',
|
215
|
+
|
211
216
|
:'skills' => :'skills',
|
212
217
|
|
213
218
|
:'languages' => :'languages',
|
@@ -311,6 +316,8 @@ module PureCloud
|
|
311
316
|
|
312
317
|
:'groups' => :'Array<Group>',
|
313
318
|
|
319
|
+
:'team' => :'Team',
|
320
|
+
|
314
321
|
:'skills' => :'Array<UserRoutingSkill>',
|
315
322
|
|
316
323
|
:'languages' => :'Array<UserRoutingLanguage>',
|
@@ -622,6 +629,15 @@ module PureCloud
|
|
622
629
|
end
|
623
630
|
|
624
631
|
|
632
|
+
if attributes.has_key?(:'team')
|
633
|
+
|
634
|
+
|
635
|
+
self.team = attributes[:'team']
|
636
|
+
|
637
|
+
|
638
|
+
end
|
639
|
+
|
640
|
+
|
625
641
|
if attributes.has_key?(:'skills')
|
626
642
|
|
627
643
|
if (value = attributes[:'skills']).is_a?(Array)
|
@@ -1045,6 +1061,10 @@ module PureCloud
|
|
1045
1061
|
|
1046
1062
|
|
1047
1063
|
|
1064
|
+
|
1065
|
+
|
1066
|
+
|
1067
|
+
|
1048
1068
|
|
1049
1069
|
|
1050
1070
|
|
@@ -1296,6 +1316,11 @@ module PureCloud
|
|
1296
1316
|
|
1297
1317
|
|
1298
1318
|
|
1319
|
+
|
1320
|
+
|
1321
|
+
|
1322
|
+
|
1323
|
+
|
1299
1324
|
|
1300
1325
|
|
1301
1326
|
|
@@ -1334,6 +1359,7 @@ module PureCloud
|
|
1334
1359
|
profile_skills == o.profile_skills &&
|
1335
1360
|
locations == o.locations &&
|
1336
1361
|
groups == o.groups &&
|
1362
|
+
team == o.team &&
|
1337
1363
|
skills == o.skills &&
|
1338
1364
|
languages == o.languages &&
|
1339
1365
|
acd_auto_answer == o.acd_auto_answer &&
|
@@ -1366,7 +1392,7 @@ module PureCloud
|
|
1366
1392
|
# Calculates hash code according to all attributes.
|
1367
1393
|
# @return [Fixnum] Hash code
|
1368
1394
|
def hash
|
1369
|
-
[id, name, division, chat, department, email, primary_contact_info, addresses, state, title, username, manager, images, version, certifications, biography, employer_info, routing_status, presence, conversation_summary, out_of_office, geolocation, station, authorization, profile_skills, locations, groups, skills, languages, acd_auto_answer, language_preference, last_token_issued, date, geolocation_settings, organization, presence_definitions, location_definitions, org_authorization, favorites, superiors, direct_reports, adjacents, routing_skills, field_configs, token, trustors, org_products, self_uri].hash
|
1395
|
+
[id, name, division, chat, department, email, primary_contact_info, addresses, state, title, username, manager, images, version, certifications, biography, employer_info, routing_status, presence, conversation_summary, out_of_office, geolocation, station, authorization, profile_skills, locations, groups, team, skills, languages, acd_auto_answer, language_preference, last_token_issued, date, geolocation_settings, organization, presence_definitions, location_definitions, org_authorization, favorites, superiors, direct_reports, adjacents, routing_skills, field_configs, token, trustors, org_products, self_uri].hash
|
1370
1396
|
end
|
1371
1397
|
|
1372
1398
|
# build the object from hash
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: purecloudplatformclientv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 82.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Genesys Developer Evangelists
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -1807,6 +1807,7 @@ files:
|
|
1807
1807
|
- docs/TagQueryRequest.md
|
1808
1808
|
- docs/TagValue.md
|
1809
1809
|
- docs/TagValueEntityListing.md
|
1810
|
+
- docs/Team.md
|
1810
1811
|
- docs/TelephonyApi.md
|
1811
1812
|
- docs/TelephonyProvidersEdgeApi.md
|
1812
1813
|
- docs/TermAttribute.md
|
@@ -3733,6 +3734,7 @@ files:
|
|
3733
3734
|
- lib/purecloudplatformclientv2/models/tag_query_request.rb
|
3734
3735
|
- lib/purecloudplatformclientv2/models/tag_value.rb
|
3735
3736
|
- lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb
|
3737
|
+
- lib/purecloudplatformclientv2/models/team.rb
|
3736
3738
|
- lib/purecloudplatformclientv2/models/term_attribute.rb
|
3737
3739
|
- lib/purecloudplatformclientv2/models/test_execution_operation_result.rb
|
3738
3740
|
- lib/purecloudplatformclientv2/models/test_execution_result.rb
|