purecloud 0.38.1 → 0.39.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/config-ruby.json +1 -1
- data/doc_out/AuthorizationApi.html.md +0 -57
- data/doc_out/AvailableLanguageList.html.md +13 -0
- data/doc_out/BillingContact.html.md +20 -0
- data/doc_out/{FlowHistoryResultItemEntityListing.html.md → BillingContactListing.html.md} +3 -3
- data/doc_out/CallRecord.html.md +2 -2
- data/doc_out/CallableContactsDiagnostic.html.md +3 -3
- data/doc_out/CallableTimeSet.html.md +3 -3
- data/doc_out/Campaign.html.md +3 -3
- data/doc_out/CampaignDiagnostics.html.md +3 -3
- data/doc_out/CampaignSchedule.html.md +6 -6
- data/doc_out/CampaignSequence.html.md +8 -8
- data/doc_out/CampaignStats.html.md +4 -4
- data/doc_out/Condition.html.md +7 -7
- data/doc_out/ConnectRate.html.md +3 -3
- data/doc_out/ContactCallbackRequest.html.md +5 -5
- data/doc_out/ContactList.html.md +9 -9
- data/doc_out/ContactPhoneNumberColumn.html.md +3 -3
- data/doc_out/CreateCallbackCommand.html.md +1 -0
- data/doc_out/CreateUser.html.md +1 -1
- data/doc_out/CustomerInteractionCenter.html.md +18 -0
- data/doc_out/DialerAction.html.md +4 -4
- data/doc_out/DialerContact.html.md +5 -5
- data/doc_out/DialerRule.html.md +6 -6
- data/doc_out/DncList.html.md +6 -7
- data/doc_out/ExternalContact.html.md +1 -0
- data/doc_out/ExternalDataSource.html.md +14 -0
- data/doc_out/ExternalOrganization.html.md +1 -0
- data/doc_out/IdentityProviderApi.html.md +1011 -0
- data/doc_out/ImportStatus.html.md +5 -5
- data/doc_out/InitiateScreenRecording.html.md +15 -0
- data/doc_out/JsonNode.html.md +3 -3
- data/doc_out/Keyword.html.md +19 -0
- data/doc_out/KeywordSet.html.md +21 -0
- data/doc_out/KeywordSetEntityListing.html.md +22 -0
- data/doc_out/OAuthApi.html.md +45 -886
- data/doc_out/OAuthClient.html.md +2 -2
- data/doc_out/Okta.html.md +1 -1
- data/doc_out/OneLogin.html.md +1 -1
- data/doc_out/OrgMediaUtilization.html.md +1 -0
- data/doc_out/OutboundApi.html.md +3 -3
- data/doc_out/PaymentMethod.html.md +3 -0
- data/doc_out/PhoneNumberStatus.html.md +1 -1
- data/doc_out/PolicyActions.html.md +1 -0
- data/doc_out/PresenceApi.html.md +68 -17
- data/doc_out/QualityApi.html.md +361 -0
- data/doc_out/QueueUtilizationDiagnostic.html.md +8 -8
- data/doc_out/ResponseSet.html.md +3 -3
- data/doc_out/RoutingApi.html.md +15 -12
- data/doc_out/RoutingSkill.html.md +1 -2
- data/doc_out/RuleSet.html.md +6 -6
- data/doc_out/Salesforce.html.md +1 -1
- data/doc_out/ScheduleInterval.html.md +14 -0
- data/doc_out/SequenceSchedule.html.md +6 -6
- data/doc_out/Station.html.md +1 -0
- data/doc_out/StationsApi.html.md +3 -1
- data/doc_out/SupportCredit.html.md +16 -0
- data/doc_out/SupportCreditListing.html.md +22 -0
- data/doc_out/SystemPresence.html.md +15 -0
- data/doc_out/TelephonyProvidersEdgeApi.html.md +112 -1
- data/doc_out/TrunkRecordingEnabledCount.html.md +14 -0
- data/doc_out/UserImage.html.md +1 -1
- data/doc_out/UserMe.html.md +5 -1
- data/doc_out/UserRoutingSkill.html.md +2 -2
- data/doc_out/UsersApi.html.md +182 -0
- data/doc_out/WrapUpCodeMapping.html.md +5 -5
- data/doc_out/index.html.md +3 -3
- data/lib/purecloud.rb +15 -3
- data/lib/purecloud/api/authorization_api.rb +0 -60
- data/lib/purecloud/api/identity_provider_api.rb +1072 -0
- data/lib/purecloud/api/o_auth_api.rb +26 -906
- data/lib/purecloud/api/outbound_api.rb +2 -2
- data/lib/purecloud/api/presence_api.rb +67 -12
- data/lib/purecloud/api/quality_api.rb +378 -0
- data/lib/purecloud/api/routing_api.rb +21 -16
- data/lib/purecloud/api/stations_api.rb +3 -0
- data/lib/purecloud/api/telephony_providers_edge_api.rb +120 -0
- data/lib/purecloud/api/users_api.rb +189 -0
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/analytics_session.rb +1 -1
- data/lib/purecloud/models/available_language_list.rb +167 -0
- data/lib/purecloud/models/billing_contact.rb +237 -0
- data/lib/purecloud/models/{flow_history_result_item_entity_listing.rb → billing_contact_listing.rb} +2 -2
- data/lib/purecloud/models/call_record.rb +2 -1
- data/lib/purecloud/models/callable_contacts_diagnostic.rb +3 -0
- data/lib/purecloud/models/callable_time_set.rb +3 -3
- data/lib/purecloud/models/campaign.rb +3 -3
- data/lib/purecloud/models/campaign_diagnostics.rb +3 -0
- data/lib/purecloud/models/campaign_schedule.rb +7 -4
- data/lib/purecloud/models/campaign_sequence.rb +8 -3
- data/lib/purecloud/models/campaign_stats.rb +4 -0
- data/lib/purecloud/models/condition.rb +16 -0
- data/lib/purecloud/models/connect_rate.rb +3 -0
- data/lib/purecloud/models/contact_callback_request.rb +5 -0
- data/lib/purecloud/models/contact_list.rb +9 -3
- data/lib/purecloud/models/contact_phone_number_column.rb +3 -0
- data/lib/purecloud/models/create_callback_command.rb +12 -1
- data/lib/purecloud/models/create_user.rb +1 -0
- data/lib/purecloud/models/customer_interaction_center.rb +217 -0
- data/lib/purecloud/models/dialer_action.rb +31 -0
- data/lib/purecloud/models/dialer_contact.rb +5 -0
- data/lib/purecloud/models/dialer_rule.rb +15 -0
- data/lib/purecloud/models/dnc_list.rb +7 -14
- data/lib/purecloud/models/external_contact.rb +14 -1
- data/lib/purecloud/models/external_data_source.rb +176 -0
- data/lib/purecloud/models/external_organization.rb +14 -1
- data/lib/purecloud/models/import_status.rb +5 -0
- data/lib/purecloud/models/initiate_screen_recording.rb +187 -0
- data/lib/purecloud/models/json_node.rb +37 -37
- data/lib/purecloud/models/keyword.rb +227 -0
- data/lib/purecloud/models/keyword_set.rb +253 -0
- data/lib/purecloud/models/keyword_set_entity_listing.rb +257 -0
- data/lib/purecloud/models/o_auth_client.rb +3 -3
- data/lib/purecloud/models/okta.rb +11 -11
- data/lib/purecloud/models/one_login.rb +11 -11
- data/lib/purecloud/models/org_media_utilization.rb +17 -4
- data/lib/purecloud/models/organization_presence.rb +0 -9
- data/lib/purecloud/models/payment_method.rb +42 -1
- data/lib/purecloud/models/phone_number_status.rb +1 -0
- data/lib/purecloud/models/policy_actions.rb +14 -4
- data/lib/purecloud/models/queue_utilization_diagnostic.rb +8 -0
- data/lib/purecloud/models/response_set.rb +3 -3
- data/lib/purecloud/models/routing_skill.rb +2 -12
- data/lib/purecloud/models/routing_status.rb +1 -1
- data/lib/purecloud/models/rule_set.rb +6 -3
- data/lib/purecloud/models/salesforce.rb +11 -11
- data/lib/purecloud/models/{campaign_schedule_intervals.rb → schedule_interval.rb} +5 -5
- data/lib/purecloud/models/sequence_schedule.rb +7 -4
- data/lib/purecloud/models/station.rb +11 -1
- data/lib/purecloud/models/support_credit.rb +197 -0
- data/lib/purecloud/models/support_credit_listing.rb +257 -0
- data/lib/purecloud/models/system_presence.rb +187 -0
- data/lib/purecloud/models/trunk_recording_enabled_count.rb +177 -0
- data/lib/purecloud/models/user_image.rb +1 -0
- data/lib/purecloud/models/user_me.rb +50 -2
- data/lib/purecloud/models/user_routing_skill.rb +18 -11
- data/lib/purecloud/models/wrap_up_code_mapping.rb +5 -3
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +32 -8
- data/doc_out/CampaignScheduleIntervals.html.md +0 -14
- data/doc_out/ObjectsApi.html.md +0 -69
- data/lib/purecloud/api/objects_api.rb +0 -87
@@ -1,14 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: CampaignScheduleIntervals
|
3
|
-
---
|
4
|
-
## PureCloud::CampaignScheduleIntervals
|
5
|
-
|
6
|
-
## Properties
|
7
|
-
|
8
|
-
|Name | Type | Description | Notes|
|
9
|
-
|------------ | ------------- | ------------- | -------------|
|
10
|
-
| **start** | **DateTime** | Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
11
|
-
| **_end** | **DateTime** | Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
12
|
-
{: class="table table-striped"}
|
13
|
-
|
14
|
-
|
data/doc_out/ObjectsApi.html.md
DELETED
@@ -1,69 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: ObjectsApi
|
3
|
-
---
|
4
|
-
|
5
|
-
## PureCloud::ObjectsApi
|
6
|
-
|
7
|
-
All URIs are relative to *https://api.mypurecloud.com*
|
8
|
-
|
9
|
-
Method | HTTP request | Description
|
10
|
-
------------- | ------------- | -------------
|
11
|
-
|[**get_objects_object_id**](ObjectsApi.html#get_objects_object_id) | **GET** /api/v2/authorization/objects/{objectId} | Returns a permission-protected object, showing the permission contexts it belongs to.|
|
12
|
-
{: class="table table-striped"}
|
13
|
-
|
14
|
-
<a name="get_objects_object_id"></a>
|
15
|
-
|
16
|
-
## -[**AuthzObject**](AuthzObject.html) get_objects_object_id(object_id)
|
17
|
-
|
18
|
-
Returns a permission-protected object, showing the permission contexts it belongs to.
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
### Example
|
23
|
-
~~~ruby
|
24
|
-
# load the gem
|
25
|
-
require 'purecloud'
|
26
|
-
# setup authorization
|
27
|
-
@secret = ENV['PURECLOUD_SECRET']
|
28
|
-
@id = ENV['PURECLOUD_CLIENT_ID']
|
29
|
-
environment = "mypurecloud.com"
|
30
|
-
|
31
|
-
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
32
|
-
|
33
|
-
PureCloud.configure do |config|
|
34
|
-
config.access_token = @authToken
|
35
|
-
end
|
36
|
-
|
37
|
-
api_instance = PureCloud::ObjectsApi.new
|
38
|
-
|
39
|
-
object_id = "object_id_example" # String | Object ID
|
40
|
-
|
41
|
-
|
42
|
-
begin
|
43
|
-
#Returns a permission-protected object, showing the permission contexts it belongs to.
|
44
|
-
result = api_instance.get_objects_object_id(object_id)
|
45
|
-
p result
|
46
|
-
rescue PureCloud::ApiError => e
|
47
|
-
puts "Exception when calling ObjectsApi->get_objects_object_id: #{e}"
|
48
|
-
end
|
49
|
-
~~~
|
50
|
-
|
51
|
-
### Parameters
|
52
|
-
|
53
|
-
Name | Type | Description | Notes
|
54
|
-
------------- | ------------- | ------------- | -------------
|
55
|
-
**object_id** | **String**| Object ID |
|
56
|
-
{: class="table table-striped"}
|
57
|
-
|
58
|
-
|
59
|
-
### Return type
|
60
|
-
|
61
|
-
[**AuthzObject**](AuthzObject.html)
|
62
|
-
|
63
|
-
### HTTP request headers
|
64
|
-
|
65
|
-
- **Content-Type**: application/json
|
66
|
-
- **Accept**: application/json
|
67
|
-
|
68
|
-
|
69
|
-
|
@@ -1,87 +0,0 @@
|
|
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@inin.com
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
License: ININ
|
11
|
-
http://www.inin.com
|
12
|
-
|
13
|
-
Terms of Service: https://developer.mypurecloud.com/tos
|
14
|
-
|
15
|
-
=end
|
16
|
-
|
17
|
-
require "uri"
|
18
|
-
|
19
|
-
module PureCloud
|
20
|
-
class ObjectsApi
|
21
|
-
attr_accessor :api_client
|
22
|
-
|
23
|
-
def initialize(api_client = ApiClient.default)
|
24
|
-
@api_client = api_client
|
25
|
-
end
|
26
|
-
|
27
|
-
# Returns a permission-protected object, showing the permission contexts it belongs to.
|
28
|
-
#
|
29
|
-
# @param object_id Object ID
|
30
|
-
# @param [Hash] opts the optional parameters
|
31
|
-
# @return [AuthzObject]
|
32
|
-
def get_objects_object_id(object_id, opts = {})
|
33
|
-
data, status_code, headers = get_objects_object_id_with_http_info(object_id, opts)
|
34
|
-
return data
|
35
|
-
end
|
36
|
-
|
37
|
-
# Returns a permission-protected object, showing the permission contexts it belongs to.
|
38
|
-
#
|
39
|
-
# @param object_id Object ID
|
40
|
-
# @param [Hash] opts the optional parameters
|
41
|
-
# @return [Array<(AuthzObject, Fixnum, Hash)>] AuthzObject data, response status code and response headers
|
42
|
-
def get_objects_object_id_with_http_info(object_id, opts = {})
|
43
|
-
if @api_client.config.debugging
|
44
|
-
@api_client.config.logger.debug "Calling API: ObjectsApi#get_objects_object_id ..."
|
45
|
-
end
|
46
|
-
|
47
|
-
# verify the required parameter 'object_id' is set
|
48
|
-
fail "Missing the required parameter 'object_id' when calling get_objects_object_id" if object_id.nil?
|
49
|
-
|
50
|
-
# resource path
|
51
|
-
local_var_path = "/api/v2/authorization/objects/{objectId}".sub('{format}','json').sub('{' + 'objectId' + '}', object_id.to_s)
|
52
|
-
|
53
|
-
# query parameters
|
54
|
-
query_params = {}
|
55
|
-
|
56
|
-
# header parameters
|
57
|
-
header_params = {}
|
58
|
-
|
59
|
-
# HTTP header 'Accept' (if needed)
|
60
|
-
_header_accept = ['application/json']
|
61
|
-
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
62
|
-
|
63
|
-
# HTTP header 'Content-Type'
|
64
|
-
_header_content_type = ['application/json']
|
65
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
66
|
-
|
67
|
-
# form parameters
|
68
|
-
form_params = {}
|
69
|
-
|
70
|
-
# http body (model)
|
71
|
-
post_body = nil
|
72
|
-
|
73
|
-
auth_names = ['PureCloud Auth']
|
74
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
75
|
-
:header_params => header_params,
|
76
|
-
:query_params => query_params,
|
77
|
-
:form_params => form_params,
|
78
|
-
:body => post_body,
|
79
|
-
:auth_names => auth_names,
|
80
|
-
:return_type => 'AuthzObject')
|
81
|
-
if @api_client.config.debugging
|
82
|
-
@api_client.config.logger.debug "API called: ObjectsApi#get_objects_object_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
83
|
-
end
|
84
|
-
return data, status_code, headers
|
85
|
-
end
|
86
|
-
end
|
87
|
-
end
|