purecloud 0.55.1 → 0.56.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/AgentActivityEntityListing.html.md +1 -1
- data/doc_out/AttemptLimitsEntityListing.html.md +1 -1
- data/doc_out/AttributeEntityListing.html.md +1 -1
- data/doc_out/AvailableTranslations.html.md +14 -0
- data/doc_out/CalibrationEntityListing.html.md +1 -1
- data/doc_out/CallConversationEntityListing.html.md +1 -1
- data/doc_out/CallableTimeSetEntityListing.html.md +1 -1
- data/doc_out/CallbackConversationEntityListing.html.md +1 -1
- data/doc_out/CampaignEntityListing.html.md +1 -1
- data/doc_out/CampaignSequenceEntityListing.html.md +1 -1
- data/doc_out/CertificateAuthorityEntityListing.html.md +1 -1
- data/doc_out/ChannelEntityListing.html.md +1 -1
- data/doc_out/ChatConversationEntityListing.html.md +1 -1
- data/doc_out/CobrowseConversationEntityListing.html.md +1 -1
- data/doc_out/CommandStatusEntityListing.html.md +1 -1
- data/doc_out/ContactListEntityListing.html.md +1 -1
- data/doc_out/ConversationEntityListing.html.md +1 -1
- data/doc_out/DIDEntityListing.html.md +1 -1
- data/doc_out/DIDPoolEntityListing.html.md +1 -1
- data/doc_out/DncListEntityListing.html.md +1 -1
- data/doc_out/DocumentAuditEntityListing.html.md +1 -1
- data/doc_out/DocumentEntityListing.html.md +1 -1
- data/doc_out/DomainEdgeSoftwareVersionDtoEntityListing.html.md +1 -1
- data/doc_out/DomainEntityListing.html.md +1 -1
- data/doc_out/DomainEntityListingEvaluationForm.html.md +1 -1
- data/doc_out/DomainEntityListingQueryResult.html.md +1 -1
- data/doc_out/DomainOrganizationRole.html.md +1 -1
- data/doc_out/DomainOrganizationRoleCreate.html.md +1 -1
- data/doc_out/DomainOrganizationRoleUpdate.html.md +1 -1
- data/doc_out/EdgeEntityListing.html.md +1 -1
- data/doc_out/EdgeGroupEntityListing.html.md +1 -1
- data/doc_out/EdgeLineEntityListing.html.md +1 -1
- data/doc_out/EmailConversationEntityListing.html.md +1 -1
- data/doc_out/EmailMessageListing.html.md +1 -1
- data/doc_out/EncryptionKeyEntityListing.html.md +1 -1
- data/doc_out/EndpointEntityListing.html.md +1 -1
- data/doc_out/EvaluationEntityListing.html.md +1 -1
- data/doc_out/EvaluationFormEntityListing.html.md +1 -1
- data/doc_out/EvaluatorActivityEntityListing.html.md +1 -1
- data/doc_out/ExtensionEntityListing.html.md +1 -1
- data/doc_out/ExtensionPoolEntityListing.html.md +1 -1
- data/doc_out/FaxDocumentEntityListing.html.md +1 -1
- data/doc_out/ForecastMetadataEntityListing.html.md +1 -1
- data/doc_out/GeolocationSettings.html.md +1 -0
- data/doc_out/GroupEntityListing.html.md +1 -1
- data/doc_out/HeartBeatAlertContainer.html.md +1 -1
- data/doc_out/HeartBeatRuleContainer.html.md +1 -1
- data/doc_out/InboundDomainEntityListing.html.md +1 -1
- data/doc_out/InboundRoute.html.md +1 -0
- data/doc_out/InboundRouteEntityListing.html.md +1 -1
- data/doc_out/InteractionStatsAlertContainer.html.md +1 -1
- data/doc_out/InteractionStatsRuleContainer.html.md +1 -1
- data/doc_out/JsonNode.html.md +5 -5
- data/doc_out/KeywordSetEntityListing.html.md +1 -1
- data/doc_out/LanguageEntityListing.html.md +1 -1
- data/doc_out/LanguagesApi.html.md +222 -0
- data/doc_out/LibraryEntityListing.html.md +1 -1
- data/doc_out/LineBaseEntityListing.html.md +1 -1
- data/doc_out/LineEntityListing.html.md +1 -1
- data/doc_out/LogicalInterfaceEntityListing.html.md +1 -1
- data/doc_out/OAuthClientEntityListing.html.md +1 -1
- data/doc_out/OAuthProviderEntityListing.html.md +1 -1
- data/doc_out/OrganizationPresenceEntityListing.html.md +1 -1
- data/doc_out/OrganizationRoleEntityListing.html.md +1 -1
- data/doc_out/OrphanRecordingListing.html.md +1 -1
- data/doc_out/OutboundApi.html.md +4 -4
- data/doc_out/OutboundRouteEntityListing.html.md +1 -1
- data/doc_out/PermissionCollectionEntityListing.html.md +1 -1
- data/doc_out/PhoneBaseEntityListing.html.md +1 -1
- data/doc_out/PhoneEntityListing.html.md +1 -1
- data/doc_out/PhoneMetaBaseEntityListing.html.md +1 -1
- data/doc_out/PhysicalInterfaceEntityListing.html.md +1 -1
- data/doc_out/PolicyEntityListing.html.md +1 -1
- data/doc_out/QualityAuditPage.html.md +1 -1
- data/doc_out/QueueEntityListing.html.md +1 -1
- data/doc_out/QueueMemberEntityListing.html.md +1 -1
- data/doc_out/ReportMetaDataEntityListing.html.md +1 -1
- data/doc_out/ReportRunEntryEntityDomainListing.html.md +1 -1
- data/doc_out/ReportScheduleEntityListing.html.md +1 -1
- data/doc_out/ResponseEntityList.html.md +1 -1
- data/doc_out/ResponseEntityListing.html.md +1 -1
- data/doc_out/ResponseSetEntityListing.html.md +1 -1
- data/doc_out/RuleSetEntityListing.html.md +1 -1
- data/doc_out/SchemaCategoryEntityListing.html.md +1 -1
- data/doc_out/SchemaReferenceEntityListing.html.md +1 -1
- data/doc_out/ScreenRecordingSessionListing.html.md +1 -1
- data/doc_out/SecurityProfileEntityListing.html.md +1 -1
- data/doc_out/ShareEntityListing.html.md +1 -1
- data/doc_out/SiteEntityListing.html.md +1 -1
- data/doc_out/SkillEntityListing.html.md +1 -1
- data/doc_out/StationEntityListing.html.md +1 -1
- data/doc_out/TagValueEntityListing.html.md +1 -1
- data/doc_out/TimeZoneEntityListing.html.md +1 -1
- data/doc_out/TrunkBaseEntityListing.html.md +1 -1
- data/doc_out/TrunkEntityListing.html.md +1 -1
- data/doc_out/TrunkMetabaseEntityListing.html.md +1 -1
- data/doc_out/UserEntityListing.html.md +1 -1
- data/doc_out/UserQueueEntityListing.html.md +1 -1
- data/doc_out/UserRecordingEntityListing.html.md +1 -1
- data/doc_out/UserSkillEntityListing.html.md +1 -1
- data/doc_out/UserStation.html.md +2 -0
- data/doc_out/UsersEntityListing.html.md +1 -1
- data/doc_out/WorkspaceEntityListing.html.md +1 -1
- data/doc_out/WorkspaceMemberEntityListing.html.md +1 -1
- data/doc_out/WrapupCodeEntityListing.html.md +1 -1
- data/doc_out/index.html.md +3 -3
- data/lib/purecloud.rb +1 -0
- data/lib/purecloud/api/languages_api.rb +237 -0
- data/lib/purecloud/api/outbound_api.rb +4 -4
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/agent_activity_entity_listing.rb +11 -11
- data/lib/purecloud/models/analytics_session.rb +1 -1
- data/lib/purecloud/models/attempt_limits_entity_listing.rb +11 -11
- data/lib/purecloud/models/attribute_entity_listing.rb +11 -11
- data/lib/purecloud/models/available_translations.rb +179 -0
- data/lib/purecloud/models/calibration_entity_listing.rb +11 -11
- data/lib/purecloud/models/call_conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/callable_time_set_entity_listing.rb +11 -11
- data/lib/purecloud/models/callback_conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/campaign_entity_listing.rb +11 -11
- data/lib/purecloud/models/campaign_sequence_entity_listing.rb +11 -11
- data/lib/purecloud/models/certificate_authority_entity_listing.rb +11 -11
- data/lib/purecloud/models/channel_entity_listing.rb +11 -11
- data/lib/purecloud/models/chat_conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/cobrowse_conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/command_status_entity_listing.rb +11 -11
- data/lib/purecloud/models/contact_list_entity_listing.rb +11 -11
- data/lib/purecloud/models/conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/did_entity_listing.rb +11 -11
- data/lib/purecloud/models/did_pool_entity_listing.rb +11 -11
- data/lib/purecloud/models/dnc_list_entity_listing.rb +11 -11
- data/lib/purecloud/models/document_audit_entity_listing.rb +11 -11
- data/lib/purecloud/models/document_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_edge_software_version_dto_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +11 -11
- data/lib/purecloud/models/domain_entity_listing_query_result.rb +11 -11
- data/lib/purecloud/models/domain_organization_role.rb +13 -13
- data/lib/purecloud/models/domain_organization_role_create.rb +13 -13
- data/lib/purecloud/models/domain_organization_role_update.rb +13 -13
- data/lib/purecloud/models/edge_entity_listing.rb +11 -11
- data/lib/purecloud/models/edge_group_entity_listing.rb +11 -11
- data/lib/purecloud/models/edge_line_entity_listing.rb +11 -11
- data/lib/purecloud/models/email_conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/email_message_listing.rb +11 -11
- data/lib/purecloud/models/encryption_key_entity_listing.rb +11 -11
- data/lib/purecloud/models/endpoint_entity_listing.rb +11 -11
- data/lib/purecloud/models/evaluation_entity_listing.rb +11 -11
- data/lib/purecloud/models/evaluation_form_entity_listing.rb +11 -11
- data/lib/purecloud/models/evaluator_activity_entity_listing.rb +11 -11
- data/lib/purecloud/models/extension_entity_listing.rb +11 -11
- data/lib/purecloud/models/extension_pool_entity_listing.rb +11 -11
- data/lib/purecloud/models/fax_document_entity_listing.rb +11 -11
- data/lib/purecloud/models/forecast_metadata_entity_listing.rb +11 -11
- data/lib/purecloud/models/geolocation_settings.rb +11 -1
- data/lib/purecloud/models/group_entity_listing.rb +11 -11
- data/lib/purecloud/models/heart_beat_alert_container.rb +11 -11
- data/lib/purecloud/models/heart_beat_rule_container.rb +11 -11
- data/lib/purecloud/models/inbound_domain_entity_listing.rb +11 -11
- data/lib/purecloud/models/inbound_route.rb +12 -1
- data/lib/purecloud/models/inbound_route_entity_listing.rb +11 -11
- data/lib/purecloud/models/interaction_stats_alert_container.rb +11 -11
- data/lib/purecloud/models/interaction_stats_rule_container.rb +11 -11
- data/lib/purecloud/models/json_node.rb +51 -51
- data/lib/purecloud/models/keyword_set_entity_listing.rb +11 -11
- data/lib/purecloud/models/language_entity_listing.rb +11 -11
- data/lib/purecloud/models/library_entity_listing.rb +11 -11
- data/lib/purecloud/models/line_base_entity_listing.rb +11 -11
- data/lib/purecloud/models/line_entity_listing.rb +11 -11
- data/lib/purecloud/models/logical_interface_entity_listing.rb +11 -11
- data/lib/purecloud/models/o_auth_client_entity_listing.rb +11 -11
- data/lib/purecloud/models/o_auth_provider_entity_listing.rb +11 -11
- data/lib/purecloud/models/organization_presence_entity_listing.rb +11 -11
- data/lib/purecloud/models/organization_role_entity_listing.rb +11 -11
- data/lib/purecloud/models/orphan_recording_listing.rb +11 -11
- data/lib/purecloud/models/outbound_route_entity_listing.rb +11 -11
- data/lib/purecloud/models/permission_collection_entity_listing.rb +11 -11
- data/lib/purecloud/models/phone_base_entity_listing.rb +11 -11
- data/lib/purecloud/models/phone_entity_listing.rb +11 -11
- data/lib/purecloud/models/phone_meta_base_entity_listing.rb +11 -11
- data/lib/purecloud/models/physical_interface_entity_listing.rb +11 -11
- data/lib/purecloud/models/policy_entity_listing.rb +11 -11
- data/lib/purecloud/models/quality_audit_page.rb +11 -11
- data/lib/purecloud/models/queue_entity_listing.rb +11 -11
- data/lib/purecloud/models/queue_member_entity_listing.rb +11 -11
- data/lib/purecloud/models/report_meta_data_entity_listing.rb +11 -11
- data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +11 -11
- data/lib/purecloud/models/report_schedule_entity_listing.rb +11 -11
- data/lib/purecloud/models/response_entity_list.rb +11 -11
- data/lib/purecloud/models/response_entity_listing.rb +11 -11
- data/lib/purecloud/models/response_set_entity_listing.rb +11 -11
- data/lib/purecloud/models/rule_set_entity_listing.rb +11 -11
- data/lib/purecloud/models/schema_category_entity_listing.rb +11 -11
- data/lib/purecloud/models/schema_reference_entity_listing.rb +11 -11
- data/lib/purecloud/models/screen_recording_session_listing.rb +11 -11
- data/lib/purecloud/models/security_profile_entity_listing.rb +11 -11
- data/lib/purecloud/models/share_entity_listing.rb +11 -11
- data/lib/purecloud/models/site_entity_listing.rb +11 -11
- data/lib/purecloud/models/skill_entity_listing.rb +11 -11
- data/lib/purecloud/models/station_entity_listing.rb +11 -11
- data/lib/purecloud/models/tag_value_entity_listing.rb +11 -11
- data/lib/purecloud/models/time_zone_entity_listing.rb +11 -11
- data/lib/purecloud/models/trunk_base_entity_listing.rb +11 -11
- data/lib/purecloud/models/trunk_entity_listing.rb +11 -11
- data/lib/purecloud/models/trunk_metabase_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_queue_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_recording_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_skill_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_station.rb +21 -1
- data/lib/purecloud/models/users_entity_listing.rb +11 -11
- data/lib/purecloud/models/workspace_entity_listing.rb +11 -11
- data/lib/purecloud/models/workspace_member_entity_listing.rb +11 -11
- data/lib/purecloud/models/wrapup_code_entity_listing.rb +11 -11
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +4 -2
@@ -13,8 +13,8 @@ title: UserRecordingEntityListing
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
16
|
-
| **previous_uri** | **String** | | [optional] |
|
17
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
+
| **previous_uri** | **String** | | [optional] |
|
18
18
|
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
@@ -13,8 +13,8 @@ title: UserSkillEntityListing
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
16
|
-
| **previous_uri** | **String** | | [optional] |
|
17
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
+
| **previous_uri** | **String** | | [optional] |
|
18
18
|
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
data/doc_out/UserStation.html.md
CHANGED
@@ -8,6 +8,8 @@ title: UserStation
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
10
|
| **id** | **String** | A globally unique identifier for this station | [optional] |
|
11
|
+
| **name** | **String** | | [optional] |
|
12
|
+
| **type** | **String** | | [optional] |
|
11
13
|
| **associated_user** | [**User**](User.html) | | [optional] |
|
12
14
|
| **associated_date** | **DateTime** | Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
13
15
|
| **default_user** | [**User**](User.html) | | [optional] |
|
@@ -13,8 +13,8 @@ title: UsersEntityListing
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
16
|
-
| **previous_uri** | **String** | | [optional] |
|
17
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
+
| **previous_uri** | **String** | | [optional] |
|
18
18
|
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
@@ -13,8 +13,8 @@ title: WorkspaceEntityListing
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
16
|
-
| **previous_uri** | **String** | | [optional] |
|
17
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
+
| **previous_uri** | **String** | | [optional] |
|
18
18
|
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
@@ -13,8 +13,8 @@ title: WorkspaceMemberEntityListing
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
16
|
-
| **previous_uri** | **String** | | [optional] |
|
17
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
+
| **previous_uri** | **String** | | [optional] |
|
18
18
|
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
@@ -13,8 +13,8 @@ title: WrapupCodeEntityListing
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
16
|
-
| **previous_uri** | **String** | | [optional] |
|
17
16
|
| **next_uri** | **String** | | [optional] |
|
17
|
+
| **previous_uri** | **String** | | [optional] |
|
18
18
|
| **last_uri** | **String** | | [optional] |
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
20
20
|
{: class="table table-striped"}
|
data/doc_out/index.html.md
CHANGED
@@ -9,8 +9,8 @@ With the PureCloud Platform API, you can control all aspects of your PureCloud e
|
|
9
9
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
10
10
|
|
11
11
|
- API version: v2
|
12
|
-
- Package version: 0.
|
13
|
-
- Build date: 2016-10-
|
12
|
+
- Package version: 0.56.1
|
13
|
+
- Build date: 2016-10-31T18:49:21.498Z
|
14
14
|
|
15
15
|
For more information, please visit [https://developer.mypurecloud.com](https://developer.mypurecloud.com)
|
16
16
|
|
@@ -18,7 +18,7 @@ For more information, please visit [https://developer.mypurecloud.com](https://d
|
|
18
18
|
|
19
19
|
### from rubygems.org
|
20
20
|
|
21
|
-
gem 'purecloud', '~> 0.
|
21
|
+
gem 'purecloud', '~> 0.56.1'
|
22
22
|
|
23
23
|
### Install from Git
|
24
24
|
|
data/lib/purecloud.rb
CHANGED
@@ -68,6 +68,7 @@ require 'purecloud/models/audit_user'
|
|
68
68
|
require 'purecloud/models/available_language_list'
|
69
69
|
require 'purecloud/models/available_topic'
|
70
70
|
require 'purecloud/models/available_topic_entity_listing'
|
71
|
+
require 'purecloud/models/available_translations'
|
71
72
|
require 'purecloud/models/bullseye'
|
72
73
|
require 'purecloud/models/calibration'
|
73
74
|
require 'purecloud/models/calibration_assignment'
|
@@ -214,6 +214,243 @@ module PureCloud
|
|
214
214
|
return data, status_code, headers
|
215
215
|
end
|
216
216
|
|
217
|
+
# Get all available languages for translation
|
218
|
+
#
|
219
|
+
# @param [Hash] opts the optional parameters
|
220
|
+
# @return [AvailableTranslations]
|
221
|
+
def get_translations(opts = {})
|
222
|
+
data, status_code, headers = get_translations_with_http_info(opts)
|
223
|
+
return data
|
224
|
+
end
|
225
|
+
|
226
|
+
# Get all available languages for translation
|
227
|
+
#
|
228
|
+
# @param [Hash] opts the optional parameters
|
229
|
+
# @return [Array<(AvailableTranslations, Fixnum, Hash)>] AvailableTranslations data, response status code and response headers
|
230
|
+
def get_translations_with_http_info(opts = {})
|
231
|
+
if @api_client.config.debugging
|
232
|
+
@api_client.config.logger.debug "Calling API: LanguagesApi#get_translations ..."
|
233
|
+
end
|
234
|
+
|
235
|
+
# resource path
|
236
|
+
local_var_path = "/api/v2/languages/translations".sub('{format}','json')
|
237
|
+
|
238
|
+
# query parameters
|
239
|
+
query_params = {}
|
240
|
+
|
241
|
+
# header parameters
|
242
|
+
header_params = {}
|
243
|
+
|
244
|
+
# HTTP header 'Accept' (if needed)
|
245
|
+
_header_accept = ['application/json']
|
246
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
247
|
+
|
248
|
+
# HTTP header 'Content-Type'
|
249
|
+
_header_content_type = ['application/json']
|
250
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
251
|
+
|
252
|
+
# form parameters
|
253
|
+
form_params = {}
|
254
|
+
|
255
|
+
# http body (model)
|
256
|
+
post_body = nil
|
257
|
+
|
258
|
+
auth_names = ['PureCloud Auth']
|
259
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
260
|
+
:header_params => header_params,
|
261
|
+
:query_params => query_params,
|
262
|
+
:form_params => form_params,
|
263
|
+
:body => post_body,
|
264
|
+
:auth_names => auth_names,
|
265
|
+
:return_type => 'AvailableTranslations')
|
266
|
+
if @api_client.config.debugging
|
267
|
+
@api_client.config.logger.debug "API called: LanguagesApi#get_translations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
268
|
+
end
|
269
|
+
return data, status_code, headers
|
270
|
+
end
|
271
|
+
|
272
|
+
# Get the builtin translation for a language
|
273
|
+
#
|
274
|
+
# @param language The language of the builtin translation to retrieve
|
275
|
+
# @param [Hash] opts the optional parameters
|
276
|
+
# @return [Hash<String, Object>]
|
277
|
+
def get_translations_builtin(language, opts = {})
|
278
|
+
data, status_code, headers = get_translations_builtin_with_http_info(language, opts)
|
279
|
+
return data
|
280
|
+
end
|
281
|
+
|
282
|
+
# Get the builtin translation for a language
|
283
|
+
#
|
284
|
+
# @param language The language of the builtin translation to retrieve
|
285
|
+
# @param [Hash] opts the optional parameters
|
286
|
+
# @return [Array<(Hash<String, Object>, Fixnum, Hash)>] Hash<String, Object> data, response status code and response headers
|
287
|
+
def get_translations_builtin_with_http_info(language, opts = {})
|
288
|
+
if @api_client.config.debugging
|
289
|
+
@api_client.config.logger.debug "Calling API: LanguagesApi#get_translations_builtin ..."
|
290
|
+
end
|
291
|
+
|
292
|
+
# verify the required parameter 'language' is set
|
293
|
+
fail "Missing the required parameter 'language' when calling get_translations_builtin" if language.nil?
|
294
|
+
|
295
|
+
# resource path
|
296
|
+
local_var_path = "/api/v2/languages/translations/builtin".sub('{format}','json')
|
297
|
+
|
298
|
+
# query parameters
|
299
|
+
query_params = {}
|
300
|
+
query_params[:'language'] = language
|
301
|
+
|
302
|
+
# header parameters
|
303
|
+
header_params = {}
|
304
|
+
|
305
|
+
# HTTP header 'Accept' (if needed)
|
306
|
+
_header_accept = ['application/json']
|
307
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
308
|
+
|
309
|
+
# HTTP header 'Content-Type'
|
310
|
+
_header_content_type = ['application/json']
|
311
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
312
|
+
|
313
|
+
# form parameters
|
314
|
+
form_params = {}
|
315
|
+
|
316
|
+
# http body (model)
|
317
|
+
post_body = nil
|
318
|
+
|
319
|
+
auth_names = ['PureCloud Auth']
|
320
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
321
|
+
:header_params => header_params,
|
322
|
+
:query_params => query_params,
|
323
|
+
:form_params => form_params,
|
324
|
+
:body => post_body,
|
325
|
+
:auth_names => auth_names,
|
326
|
+
:return_type => 'Hash<String, Object>')
|
327
|
+
if @api_client.config.debugging
|
328
|
+
@api_client.config.logger.debug "API called: LanguagesApi#get_translations_builtin\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
329
|
+
end
|
330
|
+
return data, status_code, headers
|
331
|
+
end
|
332
|
+
|
333
|
+
# Get effective translation for an organization by language
|
334
|
+
#
|
335
|
+
# @param language The language of the translation to retrieve for the organization
|
336
|
+
# @param [Hash] opts the optional parameters
|
337
|
+
# @return [Hash<String, Object>]
|
338
|
+
def get_translations_organization(language, opts = {})
|
339
|
+
data, status_code, headers = get_translations_organization_with_http_info(language, opts)
|
340
|
+
return data
|
341
|
+
end
|
342
|
+
|
343
|
+
# Get effective translation for an organization by language
|
344
|
+
#
|
345
|
+
# @param language The language of the translation to retrieve for the organization
|
346
|
+
# @param [Hash] opts the optional parameters
|
347
|
+
# @return [Array<(Hash<String, Object>, Fixnum, Hash)>] Hash<String, Object> data, response status code and response headers
|
348
|
+
def get_translations_organization_with_http_info(language, opts = {})
|
349
|
+
if @api_client.config.debugging
|
350
|
+
@api_client.config.logger.debug "Calling API: LanguagesApi#get_translations_organization ..."
|
351
|
+
end
|
352
|
+
|
353
|
+
# verify the required parameter 'language' is set
|
354
|
+
fail "Missing the required parameter 'language' when calling get_translations_organization" if language.nil?
|
355
|
+
|
356
|
+
# resource path
|
357
|
+
local_var_path = "/api/v2/languages/translations/organization".sub('{format}','json')
|
358
|
+
|
359
|
+
# query parameters
|
360
|
+
query_params = {}
|
361
|
+
query_params[:'language'] = language
|
362
|
+
|
363
|
+
# header parameters
|
364
|
+
header_params = {}
|
365
|
+
|
366
|
+
# HTTP header 'Accept' (if needed)
|
367
|
+
_header_accept = ['application/json']
|
368
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
369
|
+
|
370
|
+
# HTTP header 'Content-Type'
|
371
|
+
_header_content_type = ['application/json']
|
372
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
373
|
+
|
374
|
+
# form parameters
|
375
|
+
form_params = {}
|
376
|
+
|
377
|
+
# http body (model)
|
378
|
+
post_body = nil
|
379
|
+
|
380
|
+
auth_names = ['PureCloud Auth']
|
381
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
382
|
+
:header_params => header_params,
|
383
|
+
:query_params => query_params,
|
384
|
+
:form_params => form_params,
|
385
|
+
:body => post_body,
|
386
|
+
:auth_names => auth_names,
|
387
|
+
:return_type => 'Hash<String, Object>')
|
388
|
+
if @api_client.config.debugging
|
389
|
+
@api_client.config.logger.debug "API called: LanguagesApi#get_translations_organization\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
390
|
+
end
|
391
|
+
return data, status_code, headers
|
392
|
+
end
|
393
|
+
|
394
|
+
# Get effective language translation for a user
|
395
|
+
#
|
396
|
+
# @param user_id The user id
|
397
|
+
# @param [Hash] opts the optional parameters
|
398
|
+
# @return [Hash<String, Object>]
|
399
|
+
def get_translations_users_user_id(user_id, opts = {})
|
400
|
+
data, status_code, headers = get_translations_users_user_id_with_http_info(user_id, opts)
|
401
|
+
return data
|
402
|
+
end
|
403
|
+
|
404
|
+
# Get effective language translation for a user
|
405
|
+
#
|
406
|
+
# @param user_id The user id
|
407
|
+
# @param [Hash] opts the optional parameters
|
408
|
+
# @return [Array<(Hash<String, Object>, Fixnum, Hash)>] Hash<String, Object> data, response status code and response headers
|
409
|
+
def get_translations_users_user_id_with_http_info(user_id, opts = {})
|
410
|
+
if @api_client.config.debugging
|
411
|
+
@api_client.config.logger.debug "Calling API: LanguagesApi#get_translations_users_user_id ..."
|
412
|
+
end
|
413
|
+
|
414
|
+
# verify the required parameter 'user_id' is set
|
415
|
+
fail "Missing the required parameter 'user_id' when calling get_translations_users_user_id" if user_id.nil?
|
416
|
+
|
417
|
+
# resource path
|
418
|
+
local_var_path = "/api/v2/languages/translations/users/{userId}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
419
|
+
|
420
|
+
# query parameters
|
421
|
+
query_params = {}
|
422
|
+
|
423
|
+
# header parameters
|
424
|
+
header_params = {}
|
425
|
+
|
426
|
+
# HTTP header 'Accept' (if needed)
|
427
|
+
_header_accept = ['application/json']
|
428
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
429
|
+
|
430
|
+
# HTTP header 'Content-Type'
|
431
|
+
_header_content_type = ['application/json']
|
432
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
433
|
+
|
434
|
+
# form parameters
|
435
|
+
form_params = {}
|
436
|
+
|
437
|
+
# http body (model)
|
438
|
+
post_body = nil
|
439
|
+
|
440
|
+
auth_names = ['PureCloud Auth']
|
441
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
442
|
+
:header_params => header_params,
|
443
|
+
:query_params => query_params,
|
444
|
+
:form_params => form_params,
|
445
|
+
:body => post_body,
|
446
|
+
:auth_names => auth_names,
|
447
|
+
:return_type => 'Hash<String, Object>')
|
448
|
+
if @api_client.config.debugging
|
449
|
+
@api_client.config.logger.debug "API called: LanguagesApi#get_translations_users_user_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
450
|
+
end
|
451
|
+
return data, status_code, headers
|
452
|
+
end
|
453
|
+
|
217
454
|
# Create Language
|
218
455
|
#
|
219
456
|
# @param body Language
|
@@ -3067,8 +3067,8 @@ module PureCloud
|
|
3067
3067
|
return data, status_code, headers
|
3068
3068
|
end
|
3069
3069
|
|
3070
|
-
# Schedule a Callback for a Dialer Campaign
|
3071
|
-
#
|
3070
|
+
# Schedule a Callback for a Dialer Campaign (Deprecated)
|
3071
|
+
# This endpoint is deprecated and may have unexpected results. Please use \"/conversations/{conversationId}/participants/{participantId}/callbacks instead.\"
|
3072
3072
|
# @param campaign_id Campaign ID
|
3073
3073
|
# @param body ContactCallbackRequest
|
3074
3074
|
# @param [Hash] opts the optional parameters
|
@@ -3078,8 +3078,8 @@ module PureCloud
|
|
3078
3078
|
return data
|
3079
3079
|
end
|
3080
3080
|
|
3081
|
-
# Schedule a Callback for a Dialer Campaign
|
3082
|
-
#
|
3081
|
+
# Schedule a Callback for a Dialer Campaign (Deprecated)
|
3082
|
+
# This endpoint is deprecated and may have unexpected results. Please use \"/conversations/{conversationId}/participants/{participantId}/callbacks instead.\"
|
3083
3083
|
# @param campaign_id Campaign ID
|
3084
3084
|
# @param body ContactCallbackRequest
|
3085
3085
|
# @param [Hash] opts the optional parameters
|
data/lib/purecloud/api_client.rb
CHANGED
@@ -33,7 +33,7 @@ module PureCloud
|
|
33
33
|
|
34
34
|
def initialize(config = Configuration.default)
|
35
35
|
@config = config
|
36
|
-
@user_agent = "PureCloud SDK/Ruby 0.
|
36
|
+
@user_agent = "PureCloud SDK/Ruby 0.56.1"
|
37
37
|
@default_headers = {
|
38
38
|
'Content-Type' => "application/json",
|
39
39
|
'User-Agent' => @user_agent
|
@@ -30,10 +30,10 @@ module PureCloud
|
|
30
30
|
|
31
31
|
attr_accessor :first_uri
|
32
32
|
|
33
|
-
attr_accessor :previous_uri
|
34
|
-
|
35
33
|
attr_accessor :next_uri
|
36
34
|
|
35
|
+
attr_accessor :previous_uri
|
36
|
+
|
37
37
|
attr_accessor :last_uri
|
38
38
|
|
39
39
|
attr_accessor :page_count
|
@@ -54,10 +54,10 @@ module PureCloud
|
|
54
54
|
|
55
55
|
:'first_uri' => :'firstUri',
|
56
56
|
|
57
|
-
:'previous_uri' => :'previousUri',
|
58
|
-
|
59
57
|
:'next_uri' => :'nextUri',
|
60
58
|
|
59
|
+
:'previous_uri' => :'previousUri',
|
60
|
+
|
61
61
|
:'last_uri' => :'lastUri',
|
62
62
|
|
63
63
|
:'page_count' => :'pageCount'
|
@@ -74,8 +74,8 @@ module PureCloud
|
|
74
74
|
:'total' => :'Integer',
|
75
75
|
:'self_uri' => :'String',
|
76
76
|
:'first_uri' => :'String',
|
77
|
-
:'previous_uri' => :'String',
|
78
77
|
:'next_uri' => :'String',
|
78
|
+
:'previous_uri' => :'String',
|
79
79
|
:'last_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
@@ -115,14 +115,14 @@ module PureCloud
|
|
115
115
|
self.first_uri = attributes[:'firstUri']
|
116
116
|
end
|
117
117
|
|
118
|
-
if attributes[:'previousUri']
|
119
|
-
self.previous_uri = attributes[:'previousUri']
|
120
|
-
end
|
121
|
-
|
122
118
|
if attributes[:'nextUri']
|
123
119
|
self.next_uri = attributes[:'nextUri']
|
124
120
|
end
|
125
121
|
|
122
|
+
if attributes[:'previousUri']
|
123
|
+
self.previous_uri = attributes[:'previousUri']
|
124
|
+
end
|
125
|
+
|
126
126
|
if attributes[:'lastUri']
|
127
127
|
self.last_uri = attributes[:'lastUri']
|
128
128
|
end
|
@@ -143,8 +143,8 @@ module PureCloud
|
|
143
143
|
total == o.total &&
|
144
144
|
self_uri == o.self_uri &&
|
145
145
|
first_uri == o.first_uri &&
|
146
|
-
previous_uri == o.previous_uri &&
|
147
146
|
next_uri == o.next_uri &&
|
147
|
+
previous_uri == o.previous_uri &&
|
148
148
|
last_uri == o.last_uri &&
|
149
149
|
page_count == o.page_count
|
150
150
|
end
|
@@ -156,7 +156,7 @@ module PureCloud
|
|
156
156
|
|
157
157
|
# Calculate hash code according to all attributes.
|
158
158
|
def hash
|
159
|
-
[entities, page_size, page_number, total, self_uri, first_uri,
|
159
|
+
[entities, page_size, page_number, total, self_uri, first_uri, next_uri, previous_uri, last_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|