purecloudplatformclientv2 70.0.0 → 71.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/AnalyticsSession.md +1 -0
- data/docs/BuSearchAgentSchedulesRequest.md +15 -0
- data/docs/ConversationsApi.md +198 -0
- data/docs/ManagementUnitReference.md +14 -0
- data/docs/RoutingApi.md +126 -0
- data/docs/SCIMApi.md +270 -0
- data/docs/ScimServiceProviderConfigAuthenticationScheme.md +1 -1
- data/docs/ScimV2Group.md +2 -1
- data/docs/SendAgentlessOutboundMessageRequest.md +16 -0
- data/docs/SendAgentlessOutboundMessageResponse.md +21 -0
- data/docs/ShiftTradeSettings.md +1 -0
- data/docs/TranscriptionSettings.md +14 -0
- data/docs/WhatsAppIntegrationRequest.md +17 -0
- data/docs/WorkPlanReference.md +3 -1
- data/docs/WorkforceManagementApi.md +74 -3
- data/lib/purecloudplatformclientv2.rb +6 -0
- data/lib/purecloudplatformclientv2/api/conversations_api.rb +195 -0
- data/lib/purecloudplatformclientv2/api/routing_api.rb +120 -0
- data/lib/purecloudplatformclientv2/api/scim_api.rb +276 -0
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +73 -0
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/analytics_session.rb +30 -4
- data/lib/purecloudplatformclientv2/models/bu_search_agent_schedules_request.rb +266 -0
- data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/management_unit_reference.rb +229 -0
- data/lib/purecloudplatformclientv2/models/scim_service_provider_config_authentication_scheme.rb +1 -1
- data/lib/purecloudplatformclientv2/models/scim_v2_group.rb +32 -1
- data/lib/purecloudplatformclientv2/models/segment_detail_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/send_agentless_outbound_message_request.rb +314 -0
- data/lib/purecloudplatformclientv2/models/send_agentless_outbound_message_response.rb +424 -0
- data/lib/purecloudplatformclientv2/models/shift_trade_settings.rb +27 -1
- data/lib/purecloudplatformclientv2/models/transcription_settings.rb +252 -0
- data/lib/purecloudplatformclientv2/models/whats_app_integration_request.rb +321 -0
- data/lib/purecloudplatformclientv2/models/work_plan_reference.rb +57 -9
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +14 -2
data/docs/SCIMApi.md
CHANGED
@@ -8,7 +8,9 @@ All URIs are relative to *https://api.mypurecloud.com*
|
|
8
8
|
|
9
9
|
Method | Description
|
10
10
|
------------- | ------------- | -------------
|
11
|
+
[**delete_scim_group**](SCIMApi.html#delete_scim_group) | Delete a group.
|
11
12
|
[**delete_scim_user**](SCIMApi.html#delete_scim_user) | Delete a user
|
13
|
+
[**delete_scim_v2_group**](SCIMApi.html#delete_scim_v2_group) | Delete a group.
|
12
14
|
[**delete_scim_v2_user**](SCIMApi.html#delete_scim_v2_user) | Delete a user
|
13
15
|
[**get_scim_group**](SCIMApi.html#get_scim_group) | Get a group
|
14
16
|
[**get_scim_groups**](SCIMApi.html#get_scim_groups) | Get a list of groups
|
@@ -28,7 +30,9 @@ Method | Description
|
|
28
30
|
[**patch_scim_user**](SCIMApi.html#patch_scim_user) | Modify a user
|
29
31
|
[**patch_scim_v2_group**](SCIMApi.html#patch_scim_v2_group) | Modify a group
|
30
32
|
[**patch_scim_v2_user**](SCIMApi.html#patch_scim_v2_user) | Modify a user
|
33
|
+
[**post_scim_groups**](SCIMApi.html#post_scim_groups) | The information used to create a group.
|
31
34
|
[**post_scim_users**](SCIMApi.html#post_scim_users) | Create a user
|
35
|
+
[**post_scim_v2_groups**](SCIMApi.html#post_scim_v2_groups) | The information used to create a group.
|
32
36
|
[**post_scim_v2_users**](SCIMApi.html#post_scim_v2_users) | Create a user
|
33
37
|
[**put_scim_group**](SCIMApi.html#put_scim_group) | Replace a group
|
34
38
|
[**put_scim_user**](SCIMApi.html#put_scim_user) | Replace a user
|
@@ -36,6 +40,74 @@ Method | Description
|
|
36
40
|
[**put_scim_v2_user**](SCIMApi.html#put_scim_v2_user) | Replace a user
|
37
41
|
{: class="table table-striped"}
|
38
42
|
|
43
|
+
<a name="delete_scim_group"></a>
|
44
|
+
|
45
|
+
## delete_scim_group(group_id, opts)
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
Delete a group.
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
Wraps DELETE /api/v2/scim/groups/{groupId}
|
54
|
+
|
55
|
+
Requires ANY permissions:
|
56
|
+
|
57
|
+
* directory:group:edit
|
58
|
+
|
59
|
+
|
60
|
+
### Example
|
61
|
+
```{"language":"ruby"}
|
62
|
+
# load the gem
|
63
|
+
require 'purecloudplatformclientv2'
|
64
|
+
# setup authorization
|
65
|
+
@secret = ENV['PURECLOUD_SECRET']
|
66
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
67
|
+
environment = "mypurecloud.com"
|
68
|
+
|
69
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
70
|
+
|
71
|
+
PureCloud.configure do |config|
|
72
|
+
config.access_token = @authToken
|
73
|
+
end
|
74
|
+
|
75
|
+
api_instance = PureCloud::SCIMApi.new
|
76
|
+
|
77
|
+
group_id = "group_id_example" # String | The ID of a group. Returned with GET /api/v2/scim/v2/groups.
|
78
|
+
|
79
|
+
opts = {
|
80
|
+
if_match: "if_match_example" # String | The ETag of a resource in double quotes. Returned as header and meta.version with initial call to GET /api/v2/scim/v2/groups/{groupId}. Example: \"42\". If the ETag is different from the version on the server, returns 400 with a \"scimType\" of \"invalidVers\".
|
81
|
+
}
|
82
|
+
|
83
|
+
begin
|
84
|
+
#Delete a group.
|
85
|
+
api_instance.delete_scim_group(group_id, opts)
|
86
|
+
rescue PureCloud::ApiError => e
|
87
|
+
puts "Exception when calling SCIMApi->delete_scim_group: #{e}"
|
88
|
+
end
|
89
|
+
```
|
90
|
+
|
91
|
+
### Parameters
|
92
|
+
|
93
|
+
Name | Type | Description | Notes
|
94
|
+
------------- | ------------- | ------------- | -------------
|
95
|
+
**group_id** | **String**| The ID of a group. Returned with GET /api/v2/scim/v2/groups. | |
|
96
|
+
**if_match** | **String**| The ETag of a resource in double quotes. Returned as header and meta.version with initial call to GET /api/v2/scim/v2/groups/{groupId}. Example: \"42\". If the ETag is different from the version on the server, returns 400 with a \"scimType\" of \"invalidVers\". | [optional] |
|
97
|
+
{: class="table table-striped"}
|
98
|
+
|
99
|
+
|
100
|
+
### Return type
|
101
|
+
|
102
|
+
nil (empty response body)
|
103
|
+
|
104
|
+
### HTTP request headers
|
105
|
+
|
106
|
+
- **Content-Type**: application/json, application/scim+json
|
107
|
+
- **Accept**: application/json, application/scim+json
|
108
|
+
|
109
|
+
|
110
|
+
|
39
111
|
<a name="delete_scim_user"></a>
|
40
112
|
|
41
113
|
## [**Empty**](Empty.html) delete_scim_user(user_id, opts)
|
@@ -105,6 +177,74 @@ Name | Type | Description | Notes
|
|
105
177
|
|
106
178
|
|
107
179
|
|
180
|
+
<a name="delete_scim_v2_group"></a>
|
181
|
+
|
182
|
+
## delete_scim_v2_group(group_id, opts)
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
Delete a group.
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
Wraps DELETE /api/v2/scim/v2/groups/{groupId}
|
191
|
+
|
192
|
+
Requires ANY permissions:
|
193
|
+
|
194
|
+
* directory:group:edit
|
195
|
+
|
196
|
+
|
197
|
+
### Example
|
198
|
+
```{"language":"ruby"}
|
199
|
+
# load the gem
|
200
|
+
require 'purecloudplatformclientv2'
|
201
|
+
# setup authorization
|
202
|
+
@secret = ENV['PURECLOUD_SECRET']
|
203
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
204
|
+
environment = "mypurecloud.com"
|
205
|
+
|
206
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
207
|
+
|
208
|
+
PureCloud.configure do |config|
|
209
|
+
config.access_token = @authToken
|
210
|
+
end
|
211
|
+
|
212
|
+
api_instance = PureCloud::SCIMApi.new
|
213
|
+
|
214
|
+
group_id = "group_id_example" # String | The ID of a group. Returned with GET /api/v2/scim/v2/groups.
|
215
|
+
|
216
|
+
opts = {
|
217
|
+
if_match: "if_match_example" # String | The ETag of a resource in double quotes. Returned as header and meta.version with initial call to GET /api/v2/scim/v2/groups/{groupId}. Example: \"42\". If the ETag is different from the version on the server, returns 400 with a \"scimType\" of \"invalidVers\".
|
218
|
+
}
|
219
|
+
|
220
|
+
begin
|
221
|
+
#Delete a group.
|
222
|
+
api_instance.delete_scim_v2_group(group_id, opts)
|
223
|
+
rescue PureCloud::ApiError => e
|
224
|
+
puts "Exception when calling SCIMApi->delete_scim_v2_group: #{e}"
|
225
|
+
end
|
226
|
+
```
|
227
|
+
|
228
|
+
### Parameters
|
229
|
+
|
230
|
+
Name | Type | Description | Notes
|
231
|
+
------------- | ------------- | ------------- | -------------
|
232
|
+
**group_id** | **String**| The ID of a group. Returned with GET /api/v2/scim/v2/groups. | |
|
233
|
+
**if_match** | **String**| The ETag of a resource in double quotes. Returned as header and meta.version with initial call to GET /api/v2/scim/v2/groups/{groupId}. Example: \"42\". If the ETag is different from the version on the server, returns 400 with a \"scimType\" of \"invalidVers\". | [optional] |
|
234
|
+
{: class="table table-striped"}
|
235
|
+
|
236
|
+
|
237
|
+
### Return type
|
238
|
+
|
239
|
+
nil (empty response body)
|
240
|
+
|
241
|
+
### HTTP request headers
|
242
|
+
|
243
|
+
- **Content-Type**: application/json, application/scim+json
|
244
|
+
- **Accept**: application/json, application/scim+json
|
245
|
+
|
246
|
+
|
247
|
+
|
108
248
|
<a name="delete_scim_v2_user"></a>
|
109
249
|
|
110
250
|
## [**Empty**](Empty.html) delete_scim_v2_user(user_id, opts)
|
@@ -1347,6 +1487,71 @@ Name | Type | Description | Notes
|
|
1347
1487
|
|
1348
1488
|
|
1349
1489
|
|
1490
|
+
<a name="post_scim_groups"></a>
|
1491
|
+
|
1492
|
+
## [**ScimV2Group**](ScimV2Group.html) post_scim_groups(body)
|
1493
|
+
|
1494
|
+
|
1495
|
+
|
1496
|
+
The information used to create a group.
|
1497
|
+
|
1498
|
+
PureCloud group will be created as \"Official\" group with visibility set \"Public\", and rules visibility True. Will auto-create an external ID if one is not provided on create. External ID is used to determine if delete should be allowed.
|
1499
|
+
|
1500
|
+
Wraps POST /api/v2/scim/groups
|
1501
|
+
|
1502
|
+
Requires ANY permissions:
|
1503
|
+
|
1504
|
+
* directory:group:edit
|
1505
|
+
|
1506
|
+
|
1507
|
+
### Example
|
1508
|
+
```{"language":"ruby"}
|
1509
|
+
# load the gem
|
1510
|
+
require 'purecloudplatformclientv2'
|
1511
|
+
# setup authorization
|
1512
|
+
@secret = ENV['PURECLOUD_SECRET']
|
1513
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
1514
|
+
environment = "mypurecloud.com"
|
1515
|
+
|
1516
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
1517
|
+
|
1518
|
+
PureCloud.configure do |config|
|
1519
|
+
config.access_token = @authToken
|
1520
|
+
end
|
1521
|
+
|
1522
|
+
api_instance = PureCloud::SCIMApi.new
|
1523
|
+
|
1524
|
+
body = PureCloud::ScimV2Group.new # ScimV2Group | The information used to create a group.
|
1525
|
+
|
1526
|
+
|
1527
|
+
begin
|
1528
|
+
#The information used to create a group.
|
1529
|
+
result = api_instance.post_scim_groups(body)
|
1530
|
+
p result
|
1531
|
+
rescue PureCloud::ApiError => e
|
1532
|
+
puts "Exception when calling SCIMApi->post_scim_groups: #{e}"
|
1533
|
+
end
|
1534
|
+
```
|
1535
|
+
|
1536
|
+
### Parameters
|
1537
|
+
|
1538
|
+
Name | Type | Description | Notes
|
1539
|
+
------------- | ------------- | ------------- | -------------
|
1540
|
+
**body** | [**ScimV2Group**](ScimV2Group.html)| The information used to create a group. | |
|
1541
|
+
{: class="table table-striped"}
|
1542
|
+
|
1543
|
+
|
1544
|
+
### Return type
|
1545
|
+
|
1546
|
+
[**ScimV2Group**](ScimV2Group.html)
|
1547
|
+
|
1548
|
+
### HTTP request headers
|
1549
|
+
|
1550
|
+
- **Content-Type**: application/json, application/scim+json
|
1551
|
+
- **Accept**: application/json, application/scim+json
|
1552
|
+
|
1553
|
+
|
1554
|
+
|
1350
1555
|
<a name="post_scim_users"></a>
|
1351
1556
|
|
1352
1557
|
## [**ScimV2User**](ScimV2User.html) post_scim_users(body)
|
@@ -1412,6 +1617,71 @@ Name | Type | Description | Notes
|
|
1412
1617
|
|
1413
1618
|
|
1414
1619
|
|
1620
|
+
<a name="post_scim_v2_groups"></a>
|
1621
|
+
|
1622
|
+
## [**ScimV2Group**](ScimV2Group.html) post_scim_v2_groups(body)
|
1623
|
+
|
1624
|
+
|
1625
|
+
|
1626
|
+
The information used to create a group.
|
1627
|
+
|
1628
|
+
PureCloud group will be created as \"Official\" group with visibility set \"Public\", and rules visibility True. Will auto-create an external ID if one is not provided on create. External ID is used to determine if delete should be allowed.
|
1629
|
+
|
1630
|
+
Wraps POST /api/v2/scim/v2/groups
|
1631
|
+
|
1632
|
+
Requires ANY permissions:
|
1633
|
+
|
1634
|
+
* directory:group:edit
|
1635
|
+
|
1636
|
+
|
1637
|
+
### Example
|
1638
|
+
```{"language":"ruby"}
|
1639
|
+
# load the gem
|
1640
|
+
require 'purecloudplatformclientv2'
|
1641
|
+
# setup authorization
|
1642
|
+
@secret = ENV['PURECLOUD_SECRET']
|
1643
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
1644
|
+
environment = "mypurecloud.com"
|
1645
|
+
|
1646
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
1647
|
+
|
1648
|
+
PureCloud.configure do |config|
|
1649
|
+
config.access_token = @authToken
|
1650
|
+
end
|
1651
|
+
|
1652
|
+
api_instance = PureCloud::SCIMApi.new
|
1653
|
+
|
1654
|
+
body = PureCloud::ScimV2Group.new # ScimV2Group | The information used to create a group.
|
1655
|
+
|
1656
|
+
|
1657
|
+
begin
|
1658
|
+
#The information used to create a group.
|
1659
|
+
result = api_instance.post_scim_v2_groups(body)
|
1660
|
+
p result
|
1661
|
+
rescue PureCloud::ApiError => e
|
1662
|
+
puts "Exception when calling SCIMApi->post_scim_v2_groups: #{e}"
|
1663
|
+
end
|
1664
|
+
```
|
1665
|
+
|
1666
|
+
### Parameters
|
1667
|
+
|
1668
|
+
Name | Type | Description | Notes
|
1669
|
+
------------- | ------------- | ------------- | -------------
|
1670
|
+
**body** | [**ScimV2Group**](ScimV2Group.html)| The information used to create a group. | |
|
1671
|
+
{: class="table table-striped"}
|
1672
|
+
|
1673
|
+
|
1674
|
+
### Return type
|
1675
|
+
|
1676
|
+
[**ScimV2Group**](ScimV2Group.html)
|
1677
|
+
|
1678
|
+
### HTTP request headers
|
1679
|
+
|
1680
|
+
- **Content-Type**: application/json, application/scim+json
|
1681
|
+
- **Accept**: application/json, application/scim+json
|
1682
|
+
|
1683
|
+
|
1684
|
+
|
1415
1685
|
<a name="post_scim_v2_users"></a>
|
1416
1686
|
|
1417
1687
|
## [**ScimV2User**](ScimV2User.html) post_scim_v2_users(body)
|
@@ -12,7 +12,7 @@ title: ScimServiceProviderConfigAuthenticationScheme
|
|
12
12
|
| **spec_uri** | **String** | The HTTP-addressable URL that points to the authentication scheme's specification. | [optional] |
|
13
13
|
| **documentation_uri** | **String** | The HTTP-addressable URL that points to the authentication scheme's usage documentation. | [optional] |
|
14
14
|
| **type** | **String** | The type of authentication scheme. | |
|
15
|
-
| **primary** | **BOOLEAN** | Indicates the primary method of authentication. | [optional] |
|
15
|
+
| **primary** | **BOOLEAN** | Indicates whether this authentication scheme is the primary method of authentication. | [optional] |
|
16
16
|
{: class="table table-striped"}
|
17
17
|
|
18
18
|
|
data/docs/ScimV2Group.md
CHANGED
@@ -9,7 +9,8 @@ title: ScimV2Group
|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
10
|
| **id** | **String** | The ID of the SCIM resource. Set by the service provider. \"caseExact\" is set to \"true\". \"Mutability\" is set to \"readOnly\". \"Returned\" is set to \"always\". | [optional] |
|
11
11
|
| **schemas** | **Array<String>** | The list of supported schemas. | [optional] |
|
12
|
-
| **display_name** | **String** | The display name of the group. |
|
12
|
+
| **display_name** | **String** | The display name of the group. | |
|
13
|
+
| **external_id** | **String** | The external ID of the group. Set by the provisioning client. \"caseExact\" is set to \"true\". \"mutability\" is set to \"readWrite\". | [optional] |
|
13
14
|
| **members** | [**Array<ScimV2MemberReference>**](ScimV2MemberReference.html) | The list of members in the group. | [optional] |
|
14
15
|
| **meta** | [**ScimMetadata**](ScimMetadata.html) | The metadata of the SCIM resource. | [optional] |
|
15
16
|
{: class="table table-striped"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
---
|
2
|
+
title: SendAgentlessOutboundMessageRequest
|
3
|
+
---
|
4
|
+
## PureCloud::SendAgentlessOutboundMessageRequest
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **from_address** | **String** | The messaging address of the sender of the message. For an SMS messenger type, this must be a currently provisioned sms phone number. The phone number address must be in E.164 format. E.g. +13175555555 or +34234234234 | |
|
11
|
+
| **to_address** | **String** | The messaging address of the recipient of the message. For an SMS messenger type, the phone number address must be in E.164 format. E.g. +13175555555 or +34234234234 | |
|
12
|
+
| **to_address_messenger_type** | **String** | The recipient messaging address messenger type. | |
|
13
|
+
| **text_body** | **String** | The text of the message to send | |
|
14
|
+
{: class="table table-striped"}
|
15
|
+
|
16
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
---
|
2
|
+
title: SendAgentlessOutboundMessageResponse
|
3
|
+
---
|
4
|
+
## PureCloud::SendAgentlessOutboundMessageResponse
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **id** | **String** | The globally unique identifier for the object. | [optional] |
|
11
|
+
| **conversation_id** | **String** | The identifier of the conversation. | [optional] |
|
12
|
+
| **from_address** | **String** | The sender of the text message. | [optional] |
|
13
|
+
| **to_address** | **String** | The recipient of the text message. | [optional] |
|
14
|
+
| **messenger_type** | **String** | Type of text messenger. | [optional] |
|
15
|
+
| **text_body** | **String** | The body of the text message. | [optional] |
|
16
|
+
| **timestamp** | **DateTime** | The time when the message was sent. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
17
|
+
| **self_uri** | **String** | The URI for this object | [optional] |
|
18
|
+
| **user** | [**AddressableEntityRef**](AddressableEntityRef.html) | Details of the user created the job | [optional] |
|
19
|
+
{: class="table table-striped"}
|
20
|
+
|
21
|
+
|
data/docs/ShiftTradeSettings.md
CHANGED
@@ -18,6 +18,7 @@ title: ShiftTradeSettings
|
|
18
18
|
| **requires_matching_queues** | **BOOLEAN** | Whether to constrain shift trades to agents with matching queues | [optional] |
|
19
19
|
| **requires_matching_languages** | **BOOLEAN** | Whether to constrain shift trades to agents with matching languages | [optional] |
|
20
20
|
| **requires_matching_skills** | **BOOLEAN** | Whether to constrain shift trades to agents with matching skills | [optional] |
|
21
|
+
| **requires_matching_planning_groups** | **BOOLEAN** | Whether to constrain shift trades to agents with matching planning groups | [optional] |
|
21
22
|
| **activity_category_rules** | [**Array<ShiftTradeActivityRule>**](ShiftTradeActivityRule.html) | Rules that specify what to do with activity categories that are part of a shift defined in a trade | [optional] |
|
22
23
|
{: class="table table-striped"}
|
23
24
|
|
@@ -0,0 +1,14 @@
|
|
1
|
+
---
|
2
|
+
title: TranscriptionSettings
|
3
|
+
---
|
4
|
+
## PureCloud::TranscriptionSettings
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **transcription** | **String** | Setting to enable/disable transcription capability | |
|
11
|
+
| **transcription_confidence_threshold** | **Integer** | Configure confidence threshold. The possible values are from 1 to 100. | |
|
12
|
+
{: class="table table-striped"}
|
13
|
+
|
14
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
---
|
2
|
+
title: WhatsAppIntegrationRequest
|
3
|
+
---
|
4
|
+
## PureCloud::WhatsAppIntegrationRequest
|
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 name of the WhatsApp Integration | |
|
12
|
+
| **phone_number** | **String** | The phone number associated to the whatsApp integration | |
|
13
|
+
| **waba_certificate** | **String** | The waba(WhatsApp Business Manager) certificate associated to the WhatsApp integration phone number | |
|
14
|
+
| **self_uri** | **String** | The URI for this object | [optional] |
|
15
|
+
{: class="table table-striped"}
|
16
|
+
|
17
|
+
|
data/docs/WorkPlanReference.md
CHANGED
@@ -7,7 +7,9 @@ title: WorkPlanReference
|
|
7
7
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
|
-
| **id** | **String** | The
|
10
|
+
| **id** | **String** | The globally unique identifier for the object. | [optional] |
|
11
|
+
| **management_unit** | [**ManagementUnitReference**](ManagementUnitReference.html) | The management unit to which this work plan belongs. Nullable in some routes | [optional] |
|
12
|
+
| **self_uri** | **String** | The URI for this object | [optional] |
|
11
13
|
{: class="table table-striped"}
|
12
14
|
|
13
15
|
|
@@ -58,6 +58,7 @@ Method | Description
|
|
58
58
|
[**patch_workforcemanagement_timeoffrequest**](WorkforceManagementApi.html#patch_workforcemanagement_timeoffrequest) | Update a time off request for the current user
|
59
59
|
[**post_workforcemanagement_adherence_historical**](WorkforceManagementApi.html#post_workforcemanagement_adherence_historical) | Request a historical adherence report for users across management units
|
60
60
|
[**post_workforcemanagement_managementunit_activitycodes**](WorkforceManagementApi.html#post_workforcemanagement_managementunit_activitycodes) | Create a new activity code
|
61
|
+
[**post_workforcemanagement_managementunit_agentschedules_search**](WorkforceManagementApi.html#post_workforcemanagement_managementunit_agentschedules_search) | Query published schedules for given given time range for set of users
|
61
62
|
[**post_workforcemanagement_managementunit_historicaladherencequery**](WorkforceManagementApi.html#post_workforcemanagement_managementunit_historicaladherencequery) | Request a historical adherence report
|
62
63
|
[**post_workforcemanagement_managementunit_intraday**](WorkforceManagementApi.html#post_workforcemanagement_managementunit_intraday) | Get intraday data for the given date for the requested queueIds
|
63
64
|
[**post_workforcemanagement_managementunit_move**](WorkforceManagementApi.html#post_workforcemanagement_managementunit_move) | Move the requested management unit to a new business unit
|
@@ -1186,7 +1187,7 @@ Wraps GET /api/v2/workforcemanagement/managementunits/{managementUnitId}/schedul
|
|
1186
1187
|
|
1187
1188
|
Requires ANY permissions:
|
1188
1189
|
|
1189
|
-
* wfm:schedule:
|
1190
|
+
* wfm:schedule:edit
|
1190
1191
|
|
1191
1192
|
|
1192
1193
|
### Example
|
@@ -2972,7 +2973,7 @@ Wraps PATCH /api/v2/workforcemanagement/managementunits/{managementUnitId}/sched
|
|
2972
2973
|
|
2973
2974
|
Requires ANY permissions:
|
2974
2975
|
|
2975
|
-
* wfm:schedule:
|
2976
|
+
* wfm:schedule:edit
|
2976
2977
|
|
2977
2978
|
|
2978
2979
|
### Example
|
@@ -3601,6 +3602,76 @@ Name | Type | Description | Notes
|
|
3601
3602
|
|
3602
3603
|
|
3603
3604
|
|
3605
|
+
<a name="post_workforcemanagement_managementunit_agentschedules_search"></a>
|
3606
|
+
|
3607
|
+
## [**UserScheduleContainer**](UserScheduleContainer.html) post_workforcemanagement_managementunit_agentschedules_search(mu_id, opts)
|
3608
|
+
|
3609
|
+
|
3610
|
+
|
3611
|
+
Query published schedules for given given time range for set of users
|
3612
|
+
|
3613
|
+
|
3614
|
+
|
3615
|
+
Wraps POST /api/v2/workforcemanagement/managementunits/{muId}/agentschedules/search
|
3616
|
+
|
3617
|
+
Requires ANY permissions:
|
3618
|
+
|
3619
|
+
* wfm:publishedSchedule:view
|
3620
|
+
* wfm:schedule:view
|
3621
|
+
|
3622
|
+
|
3623
|
+
### Example
|
3624
|
+
```{"language":"ruby"}
|
3625
|
+
# load the gem
|
3626
|
+
require 'purecloudplatformclientv2'
|
3627
|
+
# setup authorization
|
3628
|
+
@secret = ENV['PURECLOUD_SECRET']
|
3629
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
3630
|
+
environment = "mypurecloud.com"
|
3631
|
+
|
3632
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
3633
|
+
|
3634
|
+
PureCloud.configure do |config|
|
3635
|
+
config.access_token = @authToken
|
3636
|
+
end
|
3637
|
+
|
3638
|
+
api_instance = PureCloud::WorkforceManagementApi.new
|
3639
|
+
|
3640
|
+
mu_id = "mu_id_example" # String | The management unit ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
3641
|
+
|
3642
|
+
opts = {
|
3643
|
+
body: PureCloud::BuSearchAgentSchedulesRequest.new # BuSearchAgentSchedulesRequest | body
|
3644
|
+
}
|
3645
|
+
|
3646
|
+
begin
|
3647
|
+
#Query published schedules for given given time range for set of users
|
3648
|
+
result = api_instance.post_workforcemanagement_managementunit_agentschedules_search(mu_id, opts)
|
3649
|
+
p result
|
3650
|
+
rescue PureCloud::ApiError => e
|
3651
|
+
puts "Exception when calling WorkforceManagementApi->post_workforcemanagement_managementunit_agentschedules_search: #{e}"
|
3652
|
+
end
|
3653
|
+
```
|
3654
|
+
|
3655
|
+
### Parameters
|
3656
|
+
|
3657
|
+
Name | Type | Description | Notes
|
3658
|
+
------------- | ------------- | ------------- | -------------
|
3659
|
+
**mu_id** | **String**| The management unit ID of the management unit, or 'mine' for the management unit of the logged-in user. | |
|
3660
|
+
**body** | [**BuSearchAgentSchedulesRequest**](BuSearchAgentSchedulesRequest.html)| body | [optional] |
|
3661
|
+
{: class="table table-striped"}
|
3662
|
+
|
3663
|
+
|
3664
|
+
### Return type
|
3665
|
+
|
3666
|
+
[**UserScheduleContainer**](UserScheduleContainer.html)
|
3667
|
+
|
3668
|
+
### HTTP request headers
|
3669
|
+
|
3670
|
+
- **Content-Type**: application/json
|
3671
|
+
- **Accept**: application/json
|
3672
|
+
|
3673
|
+
|
3674
|
+
|
3604
3675
|
<a name="post_workforcemanagement_managementunit_historicaladherencequery"></a>
|
3605
3676
|
|
3606
3677
|
## [**WfmHistoricalAdherenceResponse**](WfmHistoricalAdherenceResponse.html) post_workforcemanagement_managementunit_historicaladherencequery(mu_id, opts)
|
@@ -4247,7 +4318,7 @@ Wraps POST /api/v2/workforcemanagement/managementunits/{managementUnitId}/weeks/
|
|
4247
4318
|
|
4248
4319
|
Requires ANY permissions:
|
4249
4320
|
|
4250
|
-
* wfm:schedule:
|
4321
|
+
* wfm:schedule:generate
|
4251
4322
|
|
4252
4323
|
|
4253
4324
|
### Example
|