purecloud 0.41.1 → 0.42.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/ADFS.html.md +20 -0
- data/doc_out/CodesRequest.html.md +14 -0
- data/doc_out/ContactSort.html.md +1 -0
- data/doc_out/ContentQueryRequest.html.md +1 -0
- data/doc_out/ConversationAssociation.html.md +15 -0
- data/doc_out/CreateCallbackCommand.html.md +9 -9
- data/doc_out/CreateIntegrationRequest.html.md +16 -0
- data/doc_out/CustomerInteractionCenter.html.md +1 -0
- data/doc_out/DocusignTemplateMapping.html.md +16 -0
- data/doc_out/DomainEdgeSoftwareVersionDto.html.md +1 -1
- data/doc_out/EmbeddedSignatureView.html.md +1 -0
- data/doc_out/IdentityProviderApi.html.md +158 -0
- data/doc_out/Integration.html.md +4 -4
- data/doc_out/IntegrationConfiguration.html.md +3 -3
- data/doc_out/IntegrationStatusInfo.html.md +3 -3
- data/doc_out/IntegrationType.html.md +4 -4
- data/doc_out/JsonNode.html.md +4 -4
- data/doc_out/NumberOrder.html.md +2 -0
- data/doc_out/OAuthProvider.html.md +1 -0
- data/doc_out/Okta.html.md +1 -0
- data/doc_out/OneLogin.html.md +1 -0
- data/doc_out/PolicyActions.html.md +3 -2
- data/doc_out/PureCloud.html.md +1 -0
- data/doc_out/QueryRequest.html.md +1 -0
- data/doc_out/Response.html.md +1 -0
- data/doc_out/RoutingData.html.md +5 -5
- data/doc_out/Salesforce.html.md +1 -0
- data/doc_out/Script.html.md +1 -0
- data/doc_out/SignatureDocumentInfo.html.md +1 -0
- data/doc_out/TelephonyProvidersEdgeApi.html.md +15 -15
- data/doc_out/index.html.md +3 -3
- data/lib/purecloud.rb +5 -0
- data/lib/purecloud/api/identity_provider_api.rb +165 -0
- data/lib/purecloud/api/telephony_providers_edge_api.rb +10 -10
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/adfs.rb +239 -0
- data/lib/purecloud/models/codes_request.rb +175 -0
- data/lib/purecloud/models/contact_sort.rb +16 -4
- data/lib/purecloud/models/content_query_request.rb +16 -4
- data/lib/purecloud/models/conversation_association.rb +197 -0
- data/lib/purecloud/models/create_callback_command.rb +18 -8
- data/lib/purecloud/models/create_integration_request.rb +200 -0
- data/lib/purecloud/models/customer_interaction_center.rb +13 -1
- data/lib/purecloud/models/dependency.rb +1 -1
- data/lib/purecloud/models/dependency_object.rb +1 -1
- data/lib/purecloud/models/docusign_template_mapping.rb +197 -0
- data/lib/purecloud/models/domain_edge_software_version_dto.rb +13 -13
- data/lib/purecloud/models/embedded_signature_view.rb +15 -4
- data/lib/purecloud/models/flow.rb +1 -1
- data/lib/purecloud/models/integration.rb +2 -1
- data/lib/purecloud/models/integration_type.rb +1 -10
- data/lib/purecloud/models/json_node.rb +49 -49
- data/lib/purecloud/models/number_order.rb +23 -1
- data/lib/purecloud/models/o_auth_provider.rb +13 -1
- data/lib/purecloud/models/okta.rb +13 -1
- data/lib/purecloud/models/one_login.rb +13 -1
- data/lib/purecloud/models/policy_actions.rb +16 -1
- data/lib/purecloud/models/pure_cloud.rb +13 -1
- data/lib/purecloud/models/query_request.rb +16 -4
- data/lib/purecloud/models/response.rb +21 -1
- data/lib/purecloud/models/response_text.rb +9 -0
- data/lib/purecloud/models/routing_data.rb +5 -0
- data/lib/purecloud/models/salesforce.rb +13 -1
- data/lib/purecloud/models/script.rb +13 -1
- data/lib/purecloud/models/signature_document_info.rb +15 -4
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +12 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6661827bdb19af4bbff03a111d405443b0839aa3
|
4
|
+
data.tar.gz: bb2b9eb2d60981ff80847a9ea76adefaa70cd3da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59519b1aead7fa69c78bbb2d09abdcc66109de36c43a6f7dc9f4ac2b7a6c722e3d33aa7fda6353d41d85e8058b2f330396c04fb1d0454395de12ce935b5c2802
|
7
|
+
data.tar.gz: 4be24251d6ac6ea5869d9471866f35c2290ec3c95862ccea60d45dc33d8501bc5828fd5ae873dcdf2625f5a4b10b3c5f5c3760f71d704b759011e5afcb947219
|
data/README.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-
|
12
|
+
- Package version: 0.42.1
|
13
|
+
- Build date: 2016-06-05T03:13:29.878Z
|
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.42.1'
|
22
22
|
|
23
23
|
### Install from Git
|
24
24
|
|
data/config-ruby.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"gemVersion":"0.
|
1
|
+
{"gemVersion":"0.42.1","gemName":"purecloud","moduleName":"PureCloud","gemLicense":"MIT","gemSummary":"PureCloud Platform API Library","gemDescription":"A Ruby library to interface with the PureCloud Platform API","gemHomepage":"https://developer.mypurecloud.com","gemAuthor":"Kevin Glinski","gemAuthorEmail":"Kevin.Glinski@inin.com","httpUserAgent":"PureCloud SDK/Ruby 0.42.1","gitUserId":"mypurecloud","gitRepoId":"purecloud_api_sdk_ruby"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
---
|
2
|
+
title: ADFS
|
3
|
+
---
|
4
|
+
## PureCloud::ADFS
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **id** | **String** | The globally unique identifier for the object. | [optional] |
|
11
|
+
| **name** | **String** | | [optional] |
|
12
|
+
| **relying_party_identifier** | **String** | | [optional] |
|
13
|
+
| **certificate** | **String** | | [optional] |
|
14
|
+
| **issuer_uri** | **String** | | [optional] |
|
15
|
+
| **sso_target_uri** | **String** | | [optional] |
|
16
|
+
| **disabled** | **BOOLEAN** | | [optional] [default to false]|
|
17
|
+
| **self_uri** | **String** | The URI for this object | [optional] |
|
18
|
+
{: class="table table-striped"}
|
19
|
+
|
20
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
---
|
2
|
+
title: CodesRequest
|
3
|
+
---
|
4
|
+
## PureCloud::CodesRequest
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **organization_id** | **String** | | [optional] |
|
11
|
+
| **add_communication_code** | **String** | | [optional] |
|
12
|
+
{: class="table table-striped"}
|
13
|
+
|
14
|
+
|
data/doc_out/ContactSort.html.md
CHANGED
@@ -9,6 +9,7 @@ title: ContactSort
|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
10
|
| **field_name** | **String** | | [optional] |
|
11
11
|
| **direction** | **String** | | [optional] |
|
12
|
+
| **numeric** | **BOOLEAN** | | [optional] [default to false]|
|
12
13
|
{: class="table table-striped"}
|
13
14
|
|
14
15
|
|
@@ -14,6 +14,7 @@ title: ContentQueryRequest
|
|
14
14
|
| **sort** | [**Array<ContentSortItem>**](ContentSortItem.html) | | [optional] |
|
15
15
|
| **filters** | [**Array<ContentFacetFilterItem>**](ContentFacetFilterItem.html) | | [optional] |
|
16
16
|
| **attribute_filters** | [**Array<ContentAttributeFilterItem>**](ContentAttributeFilterItem.html) | | [optional] |
|
17
|
+
| **include_shares** | **BOOLEAN** | | [optional] [default to false]|
|
17
18
|
{: class="table table-striped"}
|
18
19
|
|
19
20
|
|
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
title: ConversationAssociation
|
3
|
+
---
|
4
|
+
## PureCloud::ConversationAssociation
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **conversation_id** | **String** | Conversation ID | |
|
11
|
+
| **communication_id** | **String** | Communication ID | |
|
12
|
+
| **media_type** | **String** | Media type | |
|
13
|
+
{: class="table table-striped"}
|
14
|
+
|
15
|
+
|
@@ -7,15 +7,15 @@ title: CreateCallbackCommand
|
|
7
7
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
|
-
| **script_id** | **String** |
|
11
|
-
| **queue_id** | **String** |
|
12
|
-
| **routing_data** | [**RoutingData**](RoutingData.html) |
|
13
|
-
| **callback_user_name** | **String** |
|
14
|
-
| **callback_numbers** | **Array<String>** |
|
15
|
-
| **callback_scheduled_time** | **DateTime** |
|
16
|
-
| **country_code** | **String** |
|
17
|
-
| **skip_enabled** | **BOOLEAN** |
|
18
|
-
| **
|
10
|
+
| **script_id** | **String** | The identifier of the script to be used for the callback | [optional] |
|
11
|
+
| **queue_id** | **String** | The identifier of the queue to be used for the callback. Either queueId or routingData is required. | [optional] |
|
12
|
+
| **routing_data** | [**RoutingData**](RoutingData.html) | The routing data to be used for the callback. Either queueId or routingData is required. | [optional] |
|
13
|
+
| **callback_user_name** | **String** | The name of the party to be called back. | [optional] |
|
14
|
+
| **callback_numbers** | **Array<String>** | A list of phone numbers for the callback. | |
|
15
|
+
| **callback_scheduled_time** | **DateTime** | The scheduled date-time for the callback as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
16
|
+
| **country_code** | **String** | The country code to be associated with the callback numbers. | [optional] |
|
17
|
+
| **skip_enabled** | **BOOLEAN** | Indicates if the agent is allowed to skip the callback. | [optional] [default to false]|
|
18
|
+
| **data** | **Hash<String, String>** | A map of key-value pairs containing additional data that can be associated to the callback. These could be set up for instance to be used in a customized script shown during the call. Example: { \"notes\": \"ready to close the deal!\", \"customerPreferredName\": \"Doc\" } | [optional] |
|
19
19
|
{: class="table table-striped"}
|
20
20
|
|
21
21
|
|
@@ -0,0 +1,16 @@
|
|
1
|
+
---
|
2
|
+
title: CreateIntegrationRequest
|
3
|
+
---
|
4
|
+
## PureCloud::CreateIntegrationRequest
|
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 integration, used to distinguish this integration from others of the same type. | |
|
12
|
+
| **integration_type** | [**IntegrationType**](IntegrationType.html) | Type of the integration to create. | |
|
13
|
+
| **self_uri** | **String** | The URI for this object | [optional] |
|
14
|
+
{: class="table table-striped"}
|
15
|
+
|
16
|
+
|
@@ -12,6 +12,7 @@ title: CustomerInteractionCenter
|
|
12
12
|
| **certificate** | **String** | | [optional] |
|
13
13
|
| **issuer_uri** | **String** | | [optional] |
|
14
14
|
| **sso_target_uri** | **String** | | [optional] |
|
15
|
+
| **disabled** | **BOOLEAN** | | [optional] [default to false]|
|
15
16
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
16
17
|
{: class="table table-striped"}
|
17
18
|
|
@@ -0,0 +1,16 @@
|
|
1
|
+
---
|
2
|
+
title: DocusignTemplateMapping
|
3
|
+
---
|
4
|
+
## PureCloud::DocusignTemplateMapping
|
5
|
+
|
6
|
+
## Properties
|
7
|
+
|
8
|
+
|Name | Type | Description | Notes|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
10
|
+
| **id** | **String** | The globally unique identifier for the object. | [optional] |
|
11
|
+
| **name** | **String** | | [optional] |
|
12
|
+
| **docusign_template_id** | **String** | | [optional] |
|
13
|
+
| **self_uri** | **String** | The URI for this object | [optional] |
|
14
|
+
{: class="table table-striped"}
|
15
|
+
|
16
|
+
|
@@ -12,8 +12,8 @@ title: DomainEdgeSoftwareVersionDto
|
|
12
12
|
| **edge_version** | **String** | | [optional] |
|
13
13
|
| **publish_date** | **DateTime** | Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
14
14
|
| **edge_uri** | **String** | | [optional] |
|
15
|
-
| **latest_release** | **BOOLEAN** | | [optional] [default to false]|
|
16
15
|
| **current** | **BOOLEAN** | | [optional] [default to false]|
|
16
|
+
| **latest_release** | **BOOLEAN** | | [optional] [default to false]|
|
17
17
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
18
18
|
{: class="table table-striped"}
|
19
19
|
|
@@ -8,6 +8,7 @@ title: EmbeddedSignatureView
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
10
|
| **view** | [**View**](View.html) | | [optional] |
|
11
|
+
| **envelope_id** | **String** | Envelope id for the terms and conditions associated with this request. | [optional] |
|
11
12
|
{: class="table table-striped"}
|
12
13
|
|
13
14
|
|
@@ -8,12 +8,14 @@ All URIs are relative to *https://api.mypurecloud.com*
|
|
8
8
|
|
9
9
|
Method | HTTP request | Description
|
10
10
|
------------- | ------------- | -------------
|
11
|
+
|[**delete_adfs**](IdentityProviderApi.html#delete_adfs) | **DELETE** /api/v2/identityproviders/adfs | Delete ADFS Identity Provider|
|
11
12
|
|[**delete_cic**](IdentityProviderApi.html#delete_cic) | **DELETE** /api/v2/identityproviders/cic | Delete Customer Interaction Center (CIC) Identity Provider|
|
12
13
|
|[**delete_okta**](IdentityProviderApi.html#delete_okta) | **DELETE** /api/v2/identityproviders/okta | Delete Okta Identity Provider|
|
13
14
|
|[**delete_onelogin**](IdentityProviderApi.html#delete_onelogin) | **DELETE** /api/v2/identityproviders/onelogin | Delete OneLogin Identity Provider|
|
14
15
|
|[**delete_provider_id**](IdentityProviderApi.html#delete_provider_id) | **DELETE** /api/v2/identityproviders/{providerId} | Delete an identity provider|
|
15
16
|
|[**delete_purecloud**](IdentityProviderApi.html#delete_purecloud) | **DELETE** /api/v2/identityproviders/purecloud | Delete PureCloud Identity Provider|
|
16
17
|
|[**delete_salesforce**](IdentityProviderApi.html#delete_salesforce) | **DELETE** /api/v2/identityproviders/salesforce | Delete Salesforce Identity Provider|
|
18
|
+
|[**get_adfs**](IdentityProviderApi.html#get_adfs) | **GET** /api/v2/identityproviders/adfs | Get ADFS Identity Provider|
|
17
19
|
|[**get_cic**](IdentityProviderApi.html#get_cic) | **GET** /api/v2/identityproviders/cic | Get Customer Interaction Center (CIC) Identity Provider|
|
18
20
|
|[**get_identityproviders**](IdentityProviderApi.html#get_identityproviders) | **GET** /api/v2/identityproviders | The list of identity providers|
|
19
21
|
|[**get_okta**](IdentityProviderApi.html#get_okta) | **GET** /api/v2/identityproviders/okta | Get Okta Identity Provider|
|
@@ -21,6 +23,7 @@ Method | HTTP request | Description
|
|
21
23
|
|[**get_provider_id**](IdentityProviderApi.html#get_provider_id) | **GET** /api/v2/identityproviders/{providerId} | Get an identity provider|
|
22
24
|
|[**get_purecloud**](IdentityProviderApi.html#get_purecloud) | **GET** /api/v2/identityproviders/purecloud | Get PureCloud Identity Provider|
|
23
25
|
|[**get_salesforce**](IdentityProviderApi.html#get_salesforce) | **GET** /api/v2/identityproviders/salesforce | Get Salesforce Identity Provider|
|
26
|
+
|[**put_adfs**](IdentityProviderApi.html#put_adfs) | **PUT** /api/v2/identityproviders/adfs | Update/Create ADFS Identity Provider|
|
24
27
|
|[**put_cic**](IdentityProviderApi.html#put_cic) | **PUT** /api/v2/identityproviders/cic | Update/Create Customer Interaction Center (CIC) Identity Provider|
|
25
28
|
|[**put_okta**](IdentityProviderApi.html#put_okta) | **PUT** /api/v2/identityproviders/okta | Update/Create Okta Identity Provider|
|
26
29
|
|[**put_onelogin**](IdentityProviderApi.html#put_onelogin) | **PUT** /api/v2/identityproviders/onelogin | Update/Create OneLogin Identity Provider|
|
@@ -29,6 +32,55 @@ Method | HTTP request | Description
|
|
29
32
|
|[**put_salesforce**](IdentityProviderApi.html#put_salesforce) | **PUT** /api/v2/identityproviders/salesforce | Update/Create Salesforce Identity Provider|
|
30
33
|
{: class="table table-striped"}
|
31
34
|
|
35
|
+
<a name="delete_adfs"></a>
|
36
|
+
|
37
|
+
## - delete_adfs
|
38
|
+
|
39
|
+
Delete ADFS Identity Provider
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
### Example
|
44
|
+
~~~ruby
|
45
|
+
# load the gem
|
46
|
+
require 'purecloud'
|
47
|
+
# setup authorization
|
48
|
+
@secret = ENV['PURECLOUD_SECRET']
|
49
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
50
|
+
environment = "mypurecloud.com"
|
51
|
+
|
52
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
53
|
+
|
54
|
+
PureCloud.configure do |config|
|
55
|
+
config.access_token = @authToken
|
56
|
+
end
|
57
|
+
|
58
|
+
api_instance = PureCloud::IdentityProviderApi.new
|
59
|
+
|
60
|
+
begin
|
61
|
+
#Delete ADFS Identity Provider
|
62
|
+
api_instance.delete_adfs
|
63
|
+
rescue PureCloud::ApiError => e
|
64
|
+
puts "Exception when calling IdentityProviderApi->delete_adfs: #{e}"
|
65
|
+
end
|
66
|
+
~~~
|
67
|
+
|
68
|
+
### Parameters
|
69
|
+
This endpoint does not need any parameter.
|
70
|
+
{: class="table table-striped"}
|
71
|
+
|
72
|
+
|
73
|
+
### Return type
|
74
|
+
|
75
|
+
nil (empty response body)
|
76
|
+
|
77
|
+
### HTTP request headers
|
78
|
+
|
79
|
+
- **Content-Type**: application/json
|
80
|
+
- **Accept**: application/json
|
81
|
+
|
82
|
+
|
83
|
+
|
32
84
|
<a name="delete_cic"></a>
|
33
85
|
|
34
86
|
## - delete_cic
|
@@ -323,6 +375,56 @@ nil (empty response body)
|
|
323
375
|
|
324
376
|
|
325
377
|
|
378
|
+
<a name="get_adfs"></a>
|
379
|
+
|
380
|
+
## -[**ADFS**](ADFS.html) get_adfs
|
381
|
+
|
382
|
+
Get ADFS Identity Provider
|
383
|
+
|
384
|
+
|
385
|
+
|
386
|
+
### Example
|
387
|
+
~~~ruby
|
388
|
+
# load the gem
|
389
|
+
require 'purecloud'
|
390
|
+
# setup authorization
|
391
|
+
@secret = ENV['PURECLOUD_SECRET']
|
392
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
393
|
+
environment = "mypurecloud.com"
|
394
|
+
|
395
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
396
|
+
|
397
|
+
PureCloud.configure do |config|
|
398
|
+
config.access_token = @authToken
|
399
|
+
end
|
400
|
+
|
401
|
+
api_instance = PureCloud::IdentityProviderApi.new
|
402
|
+
|
403
|
+
begin
|
404
|
+
#Get ADFS Identity Provider
|
405
|
+
result = api_instance.get_adfs
|
406
|
+
p result
|
407
|
+
rescue PureCloud::ApiError => e
|
408
|
+
puts "Exception when calling IdentityProviderApi->get_adfs: #{e}"
|
409
|
+
end
|
410
|
+
~~~
|
411
|
+
|
412
|
+
### Parameters
|
413
|
+
This endpoint does not need any parameter.
|
414
|
+
{: class="table table-striped"}
|
415
|
+
|
416
|
+
|
417
|
+
### Return type
|
418
|
+
|
419
|
+
[**ADFS**](ADFS.html)
|
420
|
+
|
421
|
+
### HTTP request headers
|
422
|
+
|
423
|
+
- **Content-Type**: application/json
|
424
|
+
- **Accept**: application/json
|
425
|
+
|
426
|
+
|
427
|
+
|
326
428
|
<a name="get_cic"></a>
|
327
429
|
|
328
430
|
## -[**CustomerInteractionCenter**](CustomerInteractionCenter.html) get_cic
|
@@ -673,6 +775,62 @@ This endpoint does not need any parameter.
|
|
673
775
|
|
674
776
|
|
675
777
|
|
778
|
+
<a name="put_adfs"></a>
|
779
|
+
|
780
|
+
## - put_adfs(opts)
|
781
|
+
|
782
|
+
Update/Create ADFS Identity Provider
|
783
|
+
|
784
|
+
|
785
|
+
|
786
|
+
### Example
|
787
|
+
~~~ruby
|
788
|
+
# load the gem
|
789
|
+
require 'purecloud'
|
790
|
+
# setup authorization
|
791
|
+
@secret = ENV['PURECLOUD_SECRET']
|
792
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
793
|
+
environment = "mypurecloud.com"
|
794
|
+
|
795
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
796
|
+
|
797
|
+
PureCloud.configure do |config|
|
798
|
+
config.access_token = @authToken
|
799
|
+
end
|
800
|
+
|
801
|
+
api_instance = PureCloud::IdentityProviderApi.new
|
802
|
+
|
803
|
+
opts = {
|
804
|
+
body: PureCloud::ADFS.new # ADFS | Provider
|
805
|
+
}
|
806
|
+
|
807
|
+
begin
|
808
|
+
#Update/Create ADFS Identity Provider
|
809
|
+
api_instance.put_adfs(opts)
|
810
|
+
rescue PureCloud::ApiError => e
|
811
|
+
puts "Exception when calling IdentityProviderApi->put_adfs: #{e}"
|
812
|
+
end
|
813
|
+
~~~
|
814
|
+
|
815
|
+
### Parameters
|
816
|
+
|
817
|
+
Name | Type | Description | Notes
|
818
|
+
------------- | ------------- | ------------- | -------------
|
819
|
+
**body** | [**ADFS**](ADFS.html)| Provider | [optional]
|
820
|
+
{: class="table table-striped"}
|
821
|
+
|
822
|
+
|
823
|
+
### Return type
|
824
|
+
|
825
|
+
nil (empty response body)
|
826
|
+
|
827
|
+
### HTTP request headers
|
828
|
+
|
829
|
+
- **Content-Type**: application/json
|
830
|
+
- **Accept**: application/json
|
831
|
+
|
832
|
+
|
833
|
+
|
676
834
|
<a name="put_cic"></a>
|
677
835
|
|
678
836
|
## - put_cic(opts)
|
data/doc_out/Integration.html.md
CHANGED
@@ -8,12 +8,12 @@ title: Integration
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
10
|
| **id** | **String** | The globally unique identifier for the object. | [optional] |
|
11
|
-
| **name** | **String** |
|
12
|
-
| **integration_type** | [**IntegrationType**](IntegrationType.html) | Type of the integration
|
13
|
-
| **state** | **String** | Configured state of the integration. |
|
11
|
+
| **name** | **String** | The name of the integration, used to distinguish this integration from others of the same type. | |
|
12
|
+
| **integration_type** | [**IntegrationType**](IntegrationType.html) | Type of the integration | [optional] |
|
13
|
+
| **state** | **String** | Configured state of the integration. | |
|
14
14
|
| **config** | [**IntegrationConfiguration**](IntegrationConfiguration.html) | Configuration for the integration. | [optional] |
|
15
15
|
| **last_status** | [**IntegrationStatusInfo**](IntegrationStatusInfo.html) | Last reported status of the integration. | [optional] |
|
16
|
-
| **version** | **Integer** | Version number required for updates. |
|
16
|
+
| **version** | **Integer** | Version number required for updates. | |
|
17
17
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
18
18
|
{: class="table table-striped"}
|
19
19
|
|
@@ -9,11 +9,11 @@ title: IntegrationConfiguration
|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
10
|
| **id** | **String** | The globally unique identifier for the object. | [optional] |
|
11
11
|
| **name** | **String** | | [optional] |
|
12
|
-
| **version** | **Integer** | Version number required for updates. |
|
12
|
+
| **version** | **Integer** | Version number required for updates. | |
|
13
13
|
| **properties_schema_uri** | **String** | URI for the JSON Schema describing the configuration properties in the properties field. | [optional] |
|
14
14
|
| **advanced_schema_uri** | **String** | URI for the JSON Schema describing the advanced configuration | [optional] |
|
15
|
-
| **properties** | **Object** | Key-value configuration settings described by the schema in the propertiesSchemaUri field. |
|
16
|
-
| **advanced** | **Object** | Advanced configuration described by the schema in the advancedSchemaUri field. |
|
15
|
+
| **properties** | **Object** | Key-value configuration settings described by the schema in the propertiesSchemaUri field. | |
|
16
|
+
| **advanced** | **Object** | Advanced configuration described by the schema in the advancedSchemaUri field. | |
|
17
17
|
| **self_uri** | **String** | The URI for this object | [optional] |
|
18
18
|
{: class="table table-striped"}
|
19
19
|
|
@@ -7,10 +7,10 @@ title: IntegrationStatusInfo
|
|
7
7
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
|
-
| **internal** | **String** | Machine-readable status as reported by the integration. | |
|
11
|
-
| **effective** | **String** | Localized, human-readable, effective status of the integration. | |
|
10
|
+
| **internal** | **String** | Machine-readable status as reported by the integration. | [optional] |
|
11
|
+
| **effective** | **String** | Localized, human-readable, effective status of the integration. | [optional] |
|
12
12
|
| **detail** | **String** | Localized status details for the integration. | [optional] |
|
13
|
-
| **last_updated** | **DateTime** | Date and time (in UTC) when the integration status (i.e. the internal field) was last updated. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | |
|
13
|
+
| **last_updated** | **DateTime** | Date and time (in UTC) when the integration status (i.e. the internal field) was last updated. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
14
14
|
{: class="table table-striped"}
|
15
15
|
|
16
16
|
|
@@ -7,11 +7,11 @@ title: IntegrationType
|
|
7
7
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
|
-
| **id** | **String** | The
|
10
|
+
| **id** | **String** | The ID of the integration type. | |
|
11
11
|
| **name** | **String** | | [optional] |
|
12
|
-
| **description** | **String** | Localized description of the integration type. | |
|
13
|
-
| **provider** | **String** | PureCloud provider of the integration type. | |
|
14
|
-
| **images** | [**Array<UserImage>**](UserImage.html) | Collection of logos. | |
|
12
|
+
| **description** | **String** | Localized description of the integration type. | [optional] |
|
13
|
+
| **provider** | **String** | PureCloud provider of the integration type. | [optional] |
|
14
|
+
| **images** | [**Array<UserImage>**](UserImage.html) | Collection of logos. | [optional] |
|
15
15
|
| **config_properties_schema_uri** | **String** | URI of the schema describing the key-value properties needed to configure an integration of this type. | [optional] |
|
16
16
|
| **config_advanced_schema_uri** | **String** | URI of the schema describing the advanced JSON document needed to configure an integration of this type. | [optional] |
|
17
17
|
| **self_uri** | **String** | The URI for this object | [optional] |
|