purecloudplatformclientv2 30.0.0 → 30.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e553de448fcbb92f1ae2dd413e835fd14020ce0a
4
- data.tar.gz: 13078b48250c1e148465b440b8f6dbce8109b0c7
3
+ metadata.gz: '05168040eba6b25e5235474e8bfbf81f0d386586'
4
+ data.tar.gz: a62c28dac8fc699fafbf65c5edec49dc2952b3db
5
5
  SHA512:
6
- metadata.gz: 06a2ea34a877728bdc3f0ec5a02585456cf1355b10eaa3593d8c5f0d6ce352ddefee8109ac86f2b865299445d9df18c5541d1d12155a6f39a1d43c2594395865
7
- data.tar.gz: 325f6047df2fc639edbb83afa29f7879ee9d82e5e17d1b13ce05bb12e44c53fc55ee94589674f2604f560d3239aacbb1067b9c93fff81e718b60d5ccc697afe9
6
+ metadata.gz: d095d608a6aea0f8b0b75335b37c3ca5d5177c56adf30e3c5276e045946f13e5278c0830a2288902386f7e1f29342972d70249db3a10a75bf556897244b49ab4
7
+ data.tar.gz: e573a5c538f13532d85e57268be24724b0f555581dfa6778002c973136af919a7c1d042b04c15f7b81d205efc70e0439b2495611f0e7fee17643595eae9b2fd0
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=30.0.0)
4
+ ![](http://ruby-gem-downloads-badge.herokuapp.com/purecloudplatformclientv2?label=30.1.0)
5
5
 
6
6
  Documentation can be found at [https://developer.mypurecloud.com/api/rest/client-libraries/ruby/](https://developer.mypurecloud.com/api/rest/client-libraries/ruby/)
7
7
 
@@ -10,7 +10,7 @@ Documentation can be found at [https://developer.mypurecloud.com/api/rest/client
10
10
  ### from rubygems.org
11
11
 
12
12
  ~~~ ruby
13
- gem install 'purecloudplatformclientv2', '~> 30.0.0'
13
+ gem install 'purecloudplatformclientv2', '~> 30.1.0'
14
14
  ~~~
15
15
 
16
16
  ### Install from Git
@@ -78,6 +78,7 @@ Method | Description
78
78
  [**post_analytics_conversation_details_properties**](ConversationsApi.html#post_analytics_conversation_details_properties) | Index conversation properties
79
79
  [**post_analytics_conversations_aggregates_query**](ConversationsApi.html#post_analytics_conversations_aggregates_query) | Query for conversation aggregates
80
80
  [**post_analytics_conversations_details_query**](ConversationsApi.html#post_analytics_conversations_details_query) | Query for conversation details
81
+ [**post_conversation_disconnect**](ConversationsApi.html#post_conversation_disconnect) | Performs a full conversation teardown. Issues disconnect requests for any connected media. Applies a system wrap-up code to any participants that are pending wrap-up. This is not intended to be the normal way of ending interactions but is available in the event of problems with the application to allow a resyncronization of state across all components. It is recommended that users submit a support case if they are relying on this endpoint systematically as there is likely something that needs investigation.
81
82
  [**post_conversation_participant_callbacks**](ConversationsApi.html#post_conversation_participant_callbacks) | Create a new callback for the specified participant on the conversation.
82
83
  [**post_conversation_participant_digits**](ConversationsApi.html#post_conversation_participant_digits) | Sends DTMF to the participant
83
84
  [**post_conversation_participant_replace**](ConversationsApi.html#post_conversation_participant_replace) | Replace this participant with the specified user and/or address
@@ -4450,6 +4451,65 @@ Name | Type | Description | Notes
4450
4451
 
4451
4452
 
4452
4453
 
4454
+ <a name="post_conversation_disconnect"></a>
4455
+
4456
+ ## -String** post_conversation_disconnect(conversation_id)
4457
+
4458
+ Performs a full conversation teardown. Issues disconnect requests for any connected media. Applies a system wrap-up code to any participants that are pending wrap-up. This is not intended to be the normal way of ending interactions but is available in the event of problems with the application to allow a resyncronization of state across all components. It is recommended that users submit a support case if they are relying on this endpoint systematically as there is likely something that needs investigation.
4459
+
4460
+
4461
+
4462
+ Wraps POST /api/v2/conversations/{conversationId}/disconnect
4463
+
4464
+
4465
+ ### Example
4466
+ ~~~ruby
4467
+ # load the gem
4468
+ require 'purecloudplatformclientv2'
4469
+ # setup authorization
4470
+ @secret = ENV['PURECLOUD_SECRET']
4471
+ @id = ENV['PURECLOUD_CLIENT_ID']
4472
+ environment = "mypurecloud.com"
4473
+
4474
+ @authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
4475
+
4476
+ PureCloud.configure do |config|
4477
+ config.access_token = @authToken
4478
+ end
4479
+
4480
+ api_instance = PureCloud::ConversationsApi.new
4481
+
4482
+ conversation_id = "conversation_id_example" # String | conversation ID
4483
+
4484
+
4485
+ begin
4486
+ #Performs a full conversation teardown. Issues disconnect requests for any connected media. Applies a system wrap-up code to any participants that are pending wrap-up. This is not intended to be the normal way of ending interactions but is available in the event of problems with the application to allow a resyncronization of state across all components. It is recommended that users submit a support case if they are relying on this endpoint systematically as there is likely something that needs investigation.
4487
+ result = api_instance.post_conversation_disconnect(conversation_id)
4488
+ p result
4489
+ rescue PureCloud::ApiError => e
4490
+ puts "Exception when calling ConversationsApi->post_conversation_disconnect: #{e}"
4491
+ end
4492
+ ~~~
4493
+
4494
+ ### Parameters
4495
+
4496
+ Name | Type | Description | Notes
4497
+ ------------- | ------------- | ------------- | -------------
4498
+ **conversation_id** | **String**| conversation ID | |
4499
+ {: class="table table-striped"}
4500
+
4501
+
4502
+ ### Return type
4503
+
4504
+ **String**
4505
+
4506
+ ### HTTP request headers
4507
+
4508
+ - **Content-Type**: application/json
4509
+ - **Accept**: application/json
4510
+
4511
+
4512
+
4453
4513
  <a name="post_conversation_participant_callbacks"></a>
4454
4514
 
4455
4515
  ## - post_conversation_participant_callbacks(conversation_id, participant_id, opts)
@@ -9,9 +9,9 @@ title: CreateActivityCodeRequest
9
9
  |------------ | ------------- | ------------- | -------------|
10
10
  | **name** | **String** | The name of the activity code | |
11
11
  | **category** | **String** | The activity code&#39;s category | |
12
- | **length_in_minutes** | **Integer** | The default length of the activity in minutes | |
13
- | **counts_as_paid_time** | **BOOLEAN** | Whether an agent is paid while performing this activity | |
14
- | **counts_as_work_time** | **BOOLEAN** | Indicates whether or not the activity should be counted as work time | |
12
+ | **length_in_minutes** | **Integer** | The default length of the activity in minutes | [optional] |
13
+ | **counts_as_paid_time** | **BOOLEAN** | Whether an agent is paid while performing this activity | [optional] |
14
+ | **counts_as_work_time** | **BOOLEAN** | Indicates whether or not the activity should be counted as work time | [optional] |
15
15
  | **agent_time_off_selectable** | **BOOLEAN** | Whether an agent can select this activity code when creating or editing a time off request | [optional] |
16
16
  {: class="table table-striped"}
17
17
 
data/docs/JsonNode.md CHANGED
@@ -12,11 +12,11 @@ title: JsonNode
12
12
  | **boolean** | **BOOLEAN** | | [optional] |
13
13
  | **number** | **BOOLEAN** | | [optional] |
14
14
  | **float** | **BOOLEAN** | | [optional] |
15
- | **floating_point_number** | **BOOLEAN** | | [optional] |
16
15
  | **container_node** | **BOOLEAN** | | [optional] |
17
16
  | **missing_node** | **BOOLEAN** | | [optional] |
18
17
  | **pojo** | **BOOLEAN** | | [optional] |
19
18
  | **integral_number** | **BOOLEAN** | | [optional] |
19
+ | **floating_point_number** | **BOOLEAN** | | [optional] |
20
20
  | **short** | **BOOLEAN** | | [optional] |
21
21
  | **int** | **BOOLEAN** | | [optional] |
22
22
  | **long** | **BOOLEAN** | | [optional] |
data/docs/RoutingApi.md CHANGED
@@ -17,6 +17,7 @@ Method | Description
17
17
  [**delete_routing_sms_phonenumber**](RoutingApi.html#delete_routing_sms_phonenumber) | Delete a phone number provisioned for SMS.
18
18
  [**delete_routing_utilization**](RoutingApi.html#delete_routing_utilization) | Delete utilization settings and revert to system defaults.
19
19
  [**delete_routing_wrapupcode**](RoutingApi.html#delete_routing_wrapupcode) | Delete wrap-up code
20
+ [**delete_user_routinglanguage**](RoutingApi.html#delete_user_routinglanguage) | Remove routing language from user
20
21
  [**delete_user_routingskill**](RoutingApi.html#delete_user_routingskill) | Remove routing skill from user
21
22
  [**get_routing_email_domain**](RoutingApi.html#get_routing_email_domain) | Get domain
22
23
  [**get_routing_email_domain_route**](RoutingApi.html#get_routing_email_domain_route) | Get a route
@@ -40,9 +41,11 @@ Method | Description
40
41
  [**get_routing_utilization**](RoutingApi.html#get_routing_utilization) | Get the utilization settings.
41
42
  [**get_routing_wrapupcode**](RoutingApi.html#get_routing_wrapupcode) | Get details about this wrap-up code.
42
43
  [**get_routing_wrapupcodes**](RoutingApi.html#get_routing_wrapupcodes) | Get list of wrapup codes.
44
+ [**get_user_routinglanguages**](RoutingApi.html#get_user_routinglanguages) | List routing language for user
43
45
  [**get_user_routingskills**](RoutingApi.html#get_user_routingskills) | List routing skills for user
44
46
  [**patch_routing_queue_user**](RoutingApi.html#patch_routing_queue_user) | Update the ring number of joined status for a User in a Queue
45
47
  [**patch_routing_queue_users**](RoutingApi.html#patch_routing_queue_users) | Join or unjoin a set of users for a queue
48
+ [**patch_user_routinglanguage**](RoutingApi.html#patch_user_routinglanguage) | Update routing language proficiency or state.
46
49
  [**post_analytics_queues_observations_query**](RoutingApi.html#post_analytics_queues_observations_query) | Query for queue observations
47
50
  [**post_routing_email_domain_routes**](RoutingApi.html#post_routing_email_domain_routes) | Create a route
48
51
  [**post_routing_email_domains**](RoutingApi.html#post_routing_email_domains) | Create a domain
@@ -54,6 +57,7 @@ Method | Description
54
57
  [**post_routing_sms_addresses**](RoutingApi.html#post_routing_sms_addresses) | Provision an Address for SMS
55
58
  [**post_routing_sms_phonenumbers**](RoutingApi.html#post_routing_sms_phonenumbers) | Provision a phone number for SMS
56
59
  [**post_routing_wrapupcodes**](RoutingApi.html#post_routing_wrapupcodes) | Create a wrap-up code
60
+ [**post_user_routinglanguages**](RoutingApi.html#post_user_routinglanguages) | Add routing language to user
57
61
  [**post_user_routingskills**](RoutingApi.html#post_user_routingskills) | Add routing skill to user
58
62
  [**put_routing_email_domain_route**](RoutingApi.html#put_routing_email_domain_route) | Update a route
59
63
  [**put_routing_message_recipient**](RoutingApi.html#put_routing_message_recipient) | Update a recipient
@@ -593,6 +597,67 @@ nil (empty response body)
593
597
 
594
598
 
595
599
 
600
+ <a name="delete_user_routinglanguage"></a>
601
+
602
+ ## - delete_user_routinglanguage(user_id, language_id)
603
+
604
+ Remove routing language from user
605
+
606
+
607
+
608
+ Wraps DELETE /api/v2/users/{userId}/routinglanguages/{languageId}
609
+
610
+
611
+ ### Example
612
+ ~~~ruby
613
+ # load the gem
614
+ require 'purecloudplatformclientv2'
615
+ # setup authorization
616
+ @secret = ENV['PURECLOUD_SECRET']
617
+ @id = ENV['PURECLOUD_CLIENT_ID']
618
+ environment = "mypurecloud.com"
619
+
620
+ @authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
621
+
622
+ PureCloud.configure do |config|
623
+ config.access_token = @authToken
624
+ end
625
+
626
+ api_instance = PureCloud::RoutingApi.new
627
+
628
+ user_id = "user_id_example" # String | User ID
629
+
630
+ language_id = "language_id_example" # String | languageId
631
+
632
+
633
+ begin
634
+ #Remove routing language from user
635
+ api_instance.delete_user_routinglanguage(user_id, language_id)
636
+ rescue PureCloud::ApiError => e
637
+ puts "Exception when calling RoutingApi->delete_user_routinglanguage: #{e}"
638
+ end
639
+ ~~~
640
+
641
+ ### Parameters
642
+
643
+ Name | Type | Description | Notes
644
+ ------------- | ------------- | ------------- | -------------
645
+ **user_id** | **String**| User ID | |
646
+ **language_id** | **String**| languageId | |
647
+ {: class="table table-striped"}
648
+
649
+
650
+ ### Return type
651
+
652
+ nil (empty response body)
653
+
654
+ ### HTTP request headers
655
+
656
+ - **Content-Type**: application/json
657
+ - **Accept**: application/json
658
+
659
+
660
+
596
661
  <a name="delete_user_routingskill"></a>
597
662
 
598
663
  ## - delete_user_routingskill(user_id, skill_id)
@@ -2031,6 +2096,73 @@ Name | Type | Description | Notes
2031
2096
 
2032
2097
 
2033
2098
 
2099
+ <a name="get_user_routinglanguages"></a>
2100
+
2101
+ ## -[**UserLanguageEntityListing**](UserLanguageEntityListing.html) get_user_routinglanguages(user_id, opts)
2102
+
2103
+ List routing language for user
2104
+
2105
+
2106
+
2107
+ Wraps GET /api/v2/users/{userId}/routinglanguages
2108
+
2109
+
2110
+ ### Example
2111
+ ~~~ruby
2112
+ # load the gem
2113
+ require 'purecloudplatformclientv2'
2114
+ # setup authorization
2115
+ @secret = ENV['PURECLOUD_SECRET']
2116
+ @id = ENV['PURECLOUD_CLIENT_ID']
2117
+ environment = "mypurecloud.com"
2118
+
2119
+ @authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
2120
+
2121
+ PureCloud.configure do |config|
2122
+ config.access_token = @authToken
2123
+ end
2124
+
2125
+ api_instance = PureCloud::RoutingApi.new
2126
+
2127
+ user_id = "user_id_example" # String | User ID
2128
+
2129
+ opts = {
2130
+ page_size: 25, # Integer | Page size
2131
+ page_number: 1, # Integer | Page number
2132
+ sort_order: "ASC" # String | Ascending or descending sort order
2133
+ }
2134
+
2135
+ begin
2136
+ #List routing language for user
2137
+ result = api_instance.get_user_routinglanguages(user_id, opts)
2138
+ p result
2139
+ rescue PureCloud::ApiError => e
2140
+ puts "Exception when calling RoutingApi->get_user_routinglanguages: #{e}"
2141
+ end
2142
+ ~~~
2143
+
2144
+ ### Parameters
2145
+
2146
+ Name | Type | Description | Notes
2147
+ ------------- | ------------- | ------------- | -------------
2148
+ **user_id** | **String**| User ID | |
2149
+ **page_size** | **Integer**| Page size | [optional] [default to 25] |
2150
+ **page_number** | **Integer**| Page number | [optional] [default to 1] |
2151
+ **sort_order** | **String**| Ascending or descending sort order | [optional] [default to ASC]<br />**Values**: ascending, descending |
2152
+ {: class="table table-striped"}
2153
+
2154
+
2155
+ ### Return type
2156
+
2157
+ [**UserLanguageEntityListing**](UserLanguageEntityListing.html)
2158
+
2159
+ ### HTTP request headers
2160
+
2161
+ - **Content-Type**: application/json
2162
+ - **Accept**: application/json
2163
+
2164
+
2165
+
2034
2166
  <a name="get_user_routingskills"></a>
2035
2167
 
2036
2168
  ## -[**UserSkillEntityListing**](UserSkillEntityListing.html) get_user_routingskills(user_id, opts)
@@ -2225,6 +2357,71 @@ Name | Type | Description | Notes
2225
2357
 
2226
2358
 
2227
2359
 
2360
+ <a name="patch_user_routinglanguage"></a>
2361
+
2362
+ ## -[**UserRoutingLanguage**](UserRoutingLanguage.html) patch_user_routinglanguage(user_id, language_id, body)
2363
+
2364
+ Update routing language proficiency or state.
2365
+
2366
+
2367
+
2368
+ Wraps PATCH /api/v2/users/{userId}/routinglanguages/{languageId}
2369
+
2370
+
2371
+ ### Example
2372
+ ~~~ruby
2373
+ # load the gem
2374
+ require 'purecloudplatformclientv2'
2375
+ # setup authorization
2376
+ @secret = ENV['PURECLOUD_SECRET']
2377
+ @id = ENV['PURECLOUD_CLIENT_ID']
2378
+ environment = "mypurecloud.com"
2379
+
2380
+ @authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
2381
+
2382
+ PureCloud.configure do |config|
2383
+ config.access_token = @authToken
2384
+ end
2385
+
2386
+ api_instance = PureCloud::RoutingApi.new
2387
+
2388
+ user_id = "user_id_example" # String | User ID
2389
+
2390
+ language_id = "language_id_example" # String | languageId
2391
+
2392
+ body = PureCloud::UserRoutingLanguage.new # UserRoutingLanguage | Language
2393
+
2394
+
2395
+ begin
2396
+ #Update routing language proficiency or state.
2397
+ result = api_instance.patch_user_routinglanguage(user_id, language_id, body)
2398
+ p result
2399
+ rescue PureCloud::ApiError => e
2400
+ puts "Exception when calling RoutingApi->patch_user_routinglanguage: #{e}"
2401
+ end
2402
+ ~~~
2403
+
2404
+ ### Parameters
2405
+
2406
+ Name | Type | Description | Notes
2407
+ ------------- | ------------- | ------------- | -------------
2408
+ **user_id** | **String**| User ID | |
2409
+ **language_id** | **String**| languageId | |
2410
+ **body** | [**UserRoutingLanguage**](UserRoutingLanguage.html)| Language | |
2411
+ {: class="table table-striped"}
2412
+
2413
+
2414
+ ### Return type
2415
+
2416
+ [**UserRoutingLanguage**](UserRoutingLanguage.html)
2417
+
2418
+ ### HTTP request headers
2419
+
2420
+ - **Content-Type**: application/json
2421
+ - **Accept**: application/json
2422
+
2423
+
2424
+
2228
2425
  <a name="post_analytics_queues_observations_query"></a>
2229
2426
 
2230
2427
  ## -[**QualifierMappingObservationQueryResponse**](QualifierMappingObservationQueryResponse.html) post_analytics_queues_observations_query(body)
@@ -2887,6 +3084,68 @@ Name | Type | Description | Notes
2887
3084
 
2888
3085
 
2889
3086
 
3087
+ <a name="post_user_routinglanguages"></a>
3088
+
3089
+ ## -[**UserRoutingLanguage**](UserRoutingLanguage.html) post_user_routinglanguages(user_id, body)
3090
+
3091
+ Add routing language to user
3092
+
3093
+
3094
+
3095
+ Wraps POST /api/v2/users/{userId}/routinglanguages
3096
+
3097
+
3098
+ ### Example
3099
+ ~~~ruby
3100
+ # load the gem
3101
+ require 'purecloudplatformclientv2'
3102
+ # setup authorization
3103
+ @secret = ENV['PURECLOUD_SECRET']
3104
+ @id = ENV['PURECLOUD_CLIENT_ID']
3105
+ environment = "mypurecloud.com"
3106
+
3107
+ @authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
3108
+
3109
+ PureCloud.configure do |config|
3110
+ config.access_token = @authToken
3111
+ end
3112
+
3113
+ api_instance = PureCloud::RoutingApi.new
3114
+
3115
+ user_id = "user_id_example" # String | User ID
3116
+
3117
+ body = PureCloud::UserRoutingLanguagePost.new # UserRoutingLanguagePost | Language
3118
+
3119
+
3120
+ begin
3121
+ #Add routing language to user
3122
+ result = api_instance.post_user_routinglanguages(user_id, body)
3123
+ p result
3124
+ rescue PureCloud::ApiError => e
3125
+ puts "Exception when calling RoutingApi->post_user_routinglanguages: #{e}"
3126
+ end
3127
+ ~~~
3128
+
3129
+ ### Parameters
3130
+
3131
+ Name | Type | Description | Notes
3132
+ ------------- | ------------- | ------------- | -------------
3133
+ **user_id** | **String**| User ID | |
3134
+ **body** | [**UserRoutingLanguagePost**](UserRoutingLanguagePost.html)| Language | |
3135
+ {: class="table table-striped"}
3136
+
3137
+
3138
+ ### Return type
3139
+
3140
+ [**UserRoutingLanguage**](UserRoutingLanguage.html)
3141
+
3142
+ ### HTTP request headers
3143
+
3144
+ - **Content-Type**: application/json
3145
+ - **Accept**: application/json
3146
+
3147
+
3148
+
2890
3149
  <a name="post_user_routingskills"></a>
2891
3150
 
2892
3151
  ## -[**UserRoutingSkill**](UserRoutingSkill.html) post_user_routingskills(user_id, body)
@@ -0,0 +1,22 @@
1
+ ---
2
+ title: UserLanguageEntityListing
3
+ ---
4
+ ## PureCloud::UserLanguageEntityListing
5
+
6
+ ## Properties
7
+
8
+ |Name | Type | Description | Notes|
9
+ |------------ | ------------- | ------------- | -------------|
10
+ | **entities** | [**Array&lt;UserRoutingLanguage&gt;**](UserRoutingLanguage.html) | | [optional] |
11
+ | **page_size** | **Integer** | | [optional] |
12
+ | **page_number** | **Integer** | | [optional] |
13
+ | **total** | **Integer** | | [optional] |
14
+ | **self_uri** | **String** | | [optional] |
15
+ | **first_uri** | **String** | | [optional] |
16
+ | **previous_uri** | **String** | | [optional] |
17
+ | **next_uri** | **String** | | [optional] |
18
+ | **last_uri** | **String** | | [optional] |
19
+ | **page_count** | **Integer** | | [optional] |
20
+ {: class="table table-striped"}
21
+
22
+