purecloudplatformclientv2 82.0.0 → 83.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/ADFS.md +1 -1
  4. data/docs/AnalyticsEvaluation.md +1 -1
  5. data/docs/ArchitectApi.md +16 -16
  6. data/docs/AuthorizationApi.md +2 -2
  7. data/docs/CustomerInteractionCenter.md +1 -1
  8. data/docs/EntityListing.md +1 -5
  9. data/docs/ExternalContactsApi.md +20 -15
  10. data/docs/GSuite.md +1 -1
  11. data/docs/IdentityNow.md +1 -1
  12. data/docs/Library.md +1 -1
  13. data/docs/ManagementUnit.md +1 -1
  14. data/docs/MessagingTemplate.md +1 -3
  15. data/docs/Okta.md +1 -1
  16. data/docs/OneLogin.md +1 -1
  17. data/docs/PingIdentity.md +1 -1
  18. data/docs/PureEngage.md +1 -1
  19. data/docs/Response.md +2 -2
  20. data/docs/ResponseManagementApi.md +3 -1
  21. data/docs/Salesforce.md +1 -1
  22. data/docs/UsersApi.md +2 -2
  23. data/docs/ViewFilter.md +3 -0
  24. data/docs/WhatsAppDefinition.md +15 -0
  25. data/lib/purecloudplatformclientv2.rb +1 -1
  26. data/lib/purecloudplatformclientv2/api/architect_api.rb +6 -6
  27. data/lib/purecloudplatformclientv2/api/authorization_api.rb +2 -2
  28. data/lib/purecloudplatformclientv2/api/external_contacts_api.rb +30 -25
  29. data/lib/purecloudplatformclientv2/api/response_management_api.rb +13 -0
  30. data/lib/purecloudplatformclientv2/api/users_api.rb +2 -2
  31. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  32. data/lib/purecloudplatformclientv2/models/adfs.rb +12 -12
  33. data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +13 -13
  34. data/lib/purecloudplatformclientv2/models/analytics_flow.rb +2 -2
  35. data/lib/purecloudplatformclientv2/models/audit_log_message.rb +6 -6
  36. data/lib/purecloudplatformclientv2/models/audit_query_execution_status_response.rb +2 -2
  37. data/lib/purecloudplatformclientv2/models/audit_query_request.rb +2 -2
  38. data/lib/purecloudplatformclientv2/models/customer_interaction_center.rb +12 -12
  39. data/lib/purecloudplatformclientv2/models/dependency.rb +2 -2
  40. data/lib/purecloudplatformclientv2/models/dependency_object.rb +2 -2
  41. data/lib/purecloudplatformclientv2/models/dialer_campaign_config_change_campaign.rb +2 -2
  42. data/lib/purecloudplatformclientv2/models/entity_listing.rb +4 -104
  43. data/lib/purecloudplatformclientv2/models/flow.rb +2 -2
  44. data/lib/purecloudplatformclientv2/models/flow_division_view.rb +2 -2
  45. data/lib/purecloudplatformclientv2/models/g_suite.rb +12 -12
  46. data/lib/purecloudplatformclientv2/models/identity_now.rb +12 -12
  47. data/lib/purecloudplatformclientv2/models/library.rb +1 -1
  48. data/lib/purecloudplatformclientv2/models/management_unit.rb +13 -13
  49. data/lib/purecloudplatformclientv2/models/messaging_template.rb +9 -76
  50. data/lib/purecloudplatformclientv2/models/okta.rb +12 -12
  51. data/lib/purecloudplatformclientv2/models/one_login.rb +12 -12
  52. data/lib/purecloudplatformclientv2/models/ping_identity.rb +12 -12
  53. data/lib/purecloudplatformclientv2/models/pure_engage.rb +12 -12
  54. data/lib/purecloudplatformclientv2/models/response.rb +2 -2
  55. data/lib/purecloudplatformclientv2/models/salesforce.rb +12 -12
  56. data/lib/purecloudplatformclientv2/models/view_filter.rb +86 -4
  57. data/lib/purecloudplatformclientv2/models/whats_app_definition.rb +270 -0
  58. data/lib/purecloudplatformclientv2/version.rb +1 -1
  59. metadata +4 -4
  60. data/docs/MessagingApi.md +0 -84
  61. data/lib/purecloudplatformclientv2/api/messaging_api.rb +0 -110
@@ -15,5 +15,5 @@ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
15
15
  =end
16
16
 
17
17
  module PureCloud
18
- VERSION = "82.0.0"
18
+ VERSION = "83.0.0"
19
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: purecloudplatformclientv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 82.0.0
4
+ version: 83.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genesys Developer Evangelists
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-01 00:00:00.000000000 Z
11
+ date: 2020-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -1215,7 +1215,6 @@ files:
1215
1215
  - docs/MessageMediaPolicyConditions.md
1216
1216
  - docs/MessageSticker.md
1217
1217
  - docs/MessageStickerAttachment.md
1218
- - docs/MessagingApi.md
1219
1218
  - docs/MessagingIntegration.md
1220
1219
  - docs/MessagingIntegrationEntityListing.md
1221
1220
  - docs/MessagingSticker.md
@@ -2096,6 +2095,7 @@ files:
2096
2095
  - docs/WfmUserScheduleAdherenceUpdatedTopicUserReference.md
2097
2096
  - docs/WfmUserScheduleAdherenceUpdatedTopicUserScheduleAdherenceUpdate.md
2098
2097
  - docs/WfmVersionedEntityMetadata.md
2098
+ - docs/WhatsAppDefinition.md
2099
2099
  - docs/WhatsAppId.md
2100
2100
  - docs/WhatsAppIntegration.md
2101
2101
  - docs/WhatsAppIntegrationEntityListing.md
@@ -2152,7 +2152,6 @@ files:
2152
2152
  - lib/purecloudplatformclientv2/api/languages_api.rb
2153
2153
  - lib/purecloudplatformclientv2/api/license_api.rb
2154
2154
  - lib/purecloudplatformclientv2/api/locations_api.rb
2155
- - lib/purecloudplatformclientv2/api/messaging_api.rb
2156
2155
  - lib/purecloudplatformclientv2/api/mobile_devices_api.rb
2157
2156
  - lib/purecloudplatformclientv2/api/notifications_api.rb
2158
2157
  - lib/purecloudplatformclientv2/api/o_auth_api.rb
@@ -4015,6 +4014,7 @@ files:
4015
4014
  - lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_topic_user_reference.rb
4016
4015
  - lib/purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_topic_user_schedule_adherence_update.rb
4017
4016
  - lib/purecloudplatformclientv2/models/wfm_versioned_entity_metadata.rb
4017
+ - lib/purecloudplatformclientv2/models/whats_app_definition.rb
4018
4018
  - lib/purecloudplatformclientv2/models/whats_app_id.rb
4019
4019
  - lib/purecloudplatformclientv2/models/whats_app_integration.rb
4020
4020
  - lib/purecloudplatformclientv2/models/whats_app_integration_entity_listing.rb
@@ -1,84 +0,0 @@
1
- ---
2
- title: MessagingApi
3
- ---
4
-
5
- ## PureCloud::MessagingApi
6
-
7
- All URIs are relative to *https://api.mypurecloud.com*
8
-
9
- Method | Description
10
- ------------- | ------------- | -------------
11
- [**get_messaging_sticker**](MessagingApi.html#get_messaging_sticker) | Get a list of Messaging Stickers
12
- {: class="table table-striped"}
13
-
14
- <a name="get_messaging_sticker"></a>
15
-
16
- ## [**MessagingStickerEntityListing**](MessagingStickerEntityListing.html) get_messaging_sticker(messenger_type, opts)
17
-
18
- <span style="background-color: #f0ad4e;display: inline-block;padding: 7px;font-weight: bold;line-height: 1;color: #ffffff;text-align: center;white-space: nowrap;vertical-align: baseline;border-radius: .25em;margin: 10px 0;">DEPRECATED</span>
19
-
20
- Get a list of Messaging Stickers
21
-
22
-
23
-
24
- Wraps GET /api/v2/messaging/stickers/{messengerType}
25
-
26
- Requires ANY permissions:
27
-
28
- * conversation:message:create
29
-
30
-
31
- ### Example
32
- ```{"language":"ruby"}
33
- # load the gem
34
- require 'purecloudplatformclientv2'
35
- # setup authorization
36
- @secret = ENV['PURECLOUD_SECRET']
37
- @id = ENV['PURECLOUD_CLIENT_ID']
38
- environment = "mypurecloud.com"
39
-
40
- @authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
41
-
42
- PureCloud.configure do |config|
43
- config.access_token = @authToken
44
- end
45
-
46
- api_instance = PureCloud::MessagingApi.new
47
-
48
- messenger_type = "messenger_type_example" # String | Messenger Type
49
-
50
- opts = {
51
- page_size: 25, # Integer | Page size
52
- page_number: 1 # Integer | Page number
53
- }
54
-
55
- begin
56
- #Get a list of Messaging Stickers
57
- result = api_instance.get_messaging_sticker(messenger_type, opts)
58
- p result
59
- rescue PureCloud::ApiError => e
60
- puts "Exception when calling MessagingApi->get_messaging_sticker: #{e}"
61
- end
62
- ```
63
-
64
- ### Parameters
65
-
66
- Name | Type | Description | Notes
67
- ------------- | ------------- | ------------- | -------------
68
- **messenger_type** | **String**| Messenger Type | |
69
- **page_size** | **Integer**| Page size | [optional] [default to 25] |
70
- **page_number** | **Integer**| Page number | [optional] [default to 1] |
71
- {: class="table table-striped"}
72
-
73
-
74
- ### Return type
75
-
76
- [**MessagingStickerEntityListing**](MessagingStickerEntityListing.html)
77
-
78
- ### HTTP request headers
79
-
80
- - **Content-Type**: application/json
81
- - **Accept**: application/json
82
-
83
-
84
-
@@ -1,110 +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@genesys.com
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
-
10
- License: UNLICENSED
11
- https://help.mypurecloud.com/articles/terms-and-conditions/
12
-
13
- Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
14
-
15
- =end
16
-
17
- require "uri"
18
-
19
- module PureCloud
20
- class MessagingApi
21
- attr_accessor :api_client
22
-
23
- def initialize(api_client = ApiClient.default)
24
- @api_client = api_client
25
- end
26
-
27
- # Get a list of Messaging Stickers
28
- #
29
- # @param messenger_type Messenger Type
30
- # @param [Hash] opts the optional parameters
31
- # @option opts [Integer] :page_size Page size (default to 25)
32
- # @option opts [Integer] :page_number Page number (default to 1)
33
- # @return [MessagingStickerEntityListing]
34
- def get_messaging_sticker(messenger_type, opts = {})
35
- data, _status_code, _headers = get_messaging_sticker_with_http_info(messenger_type, opts)
36
- return data
37
- end
38
-
39
- # Get a list of Messaging Stickers
40
- #
41
- # @param messenger_type Messenger Type
42
- # @param [Hash] opts the optional parameters
43
- # @option opts [Integer] :page_size Page size
44
- # @option opts [Integer] :page_number Page number
45
- # @return [Array<(MessagingStickerEntityListing, Fixnum, Hash)>] MessagingStickerEntityListing data, response status code and response headers
46
- def get_messaging_sticker_with_http_info(messenger_type, opts = {})
47
- if @api_client.config.debugging
48
- @api_client.config.logger.debug "Calling API: MessagingApi.get_messaging_sticker ..."
49
- end
50
-
51
-
52
- # verify the required parameter 'messenger_type' is set
53
- fail ArgumentError, "Missing the required parameter 'messenger_type' when calling MessagingApi.get_messaging_sticker" if messenger_type.nil?
54
-
55
-
56
-
57
-
58
-
59
-
60
-
61
-
62
-
63
-
64
-
65
-
66
-
67
-
68
-
69
-
70
-
71
- # resource path
72
- local_var_path = "/api/v2/messaging/stickers/{messengerType}".sub('{format}','json').sub('{' + 'messengerType' + '}', messenger_type.to_s)
73
-
74
- # query parameters
75
- query_params = {}
76
- query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
77
- query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
78
-
79
- # header parameters
80
- header_params = {}
81
-
82
- # HTTP header 'Accept' (if needed)
83
- local_header_accept = ['application/json']
84
- local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
85
-
86
- # HTTP header 'Content-Type'
87
- local_header_content_type = ['application/json']
88
- header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
89
-
90
- # form parameters
91
- form_params = {}
92
-
93
- # http body (model)
94
- post_body = nil
95
-
96
- auth_names = ['PureCloud OAuth']
97
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
98
- :header_params => header_params,
99
- :query_params => query_params,
100
- :form_params => form_params,
101
- :body => post_body,
102
- :auth_names => auth_names,
103
- :return_type => 'MessagingStickerEntityListing')
104
- if @api_client.config.debugging
105
- @api_client.config.logger.debug "API called: MessagingApi#get_messaging_sticker\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
106
- end
107
- return data, status_code, headers
108
- end
109
- end
110
- end