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
@@ -886,11 +886,11 @@ Name | Type | Description | Notes
886
886
 
887
887
  ## [**DivsPermittedEntityListing**](DivsPermittedEntityListing.html) get_authorization_divisionspermitted_paged_subject_id(subject_id, permission, opts)
888
888
 
889
-
889
+ <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>
890
890
 
891
891
  Returns which divisions the specified user has the given permission in.
892
892
 
893
-
893
+ This route is deprecated, use authorization/divisionspermitted/paged/me instead.
894
894
 
895
895
  Wraps GET /api/v2/authorization/divisionspermitted/paged/{subjectId}
896
896
 
@@ -43,6 +43,7 @@ title: ViewFilter
43
43
  | **evaluator_ids** | **Array&lt;String&gt;** | The evaluator ids are used to filter the view | [optional] |
44
44
  | **transferred** | **BOOLEAN** | Indicates filtering for transfers | [optional] |
45
45
  | **abandoned** | **BOOLEAN** | Indicates filtering for abandons | [optional] |
46
+ | **answered** | **BOOLEAN** | Indicates filtering for answered interactions | [optional] |
46
47
  | **message_types** | **Array&lt;String&gt;** | The message media types used to filter the view | [optional] |
47
48
  | **division_ids** | **Array&lt;String&gt;** | The divison Ids used to filter the view | [optional] |
48
49
  | **survey_form_ids** | **Array&lt;String&gt;** | The survey form ids used to filter the view | [optional] |
@@ -82,6 +83,8 @@ title: ViewFilter
82
83
  | **role_ids** | **Array&lt;String&gt;** | The role Ids used to filter the view | [optional] |
83
84
  | **reports_tos** | **Array&lt;String&gt;** | The report to user IDs used to filter the view | [optional] |
84
85
  | **location_ids** | **Array&lt;String&gt;** | The location Ids used to filter the view | [optional] |
86
+ | **flow_out_types** | **Array&lt;String&gt;** | A list of flow out types | [optional] |
87
+ | **provider_list** | **Array&lt;String&gt;** | A list of providers | [optional] |
85
88
  {: class="table table-striped"}
86
89
 
87
90
 
@@ -0,0 +1,15 @@
1
+ ---
2
+ title: WhatsAppDefinition
3
+ ---
4
+ ## PureCloud::WhatsAppDefinition
5
+
6
+ ## Properties
7
+
8
+ |Name | Type | Description | Notes|
9
+ |------------ | ------------- | ------------- | -------------|
10
+ | **name** | **String** | The messaging template name. | |
11
+ | **namespace** | **String** | The messaging template namespace. | |
12
+ | **language** | **String** | The messaging template language configured for this template. This is a WhatsApp specific value. For example, &#39;en_US&#39; | |
13
+ {: class="table table-striped"}
14
+
15
+
@@ -1852,6 +1852,7 @@ require 'purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_to
1852
1852
  require 'purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_topic_user_reference'
1853
1853
  require 'purecloudplatformclientv2/models/wfm_user_schedule_adherence_updated_topic_user_schedule_adherence_update'
1854
1854
  require 'purecloudplatformclientv2/models/wfm_versioned_entity_metadata'
1855
+ require 'purecloudplatformclientv2/models/whats_app_definition'
1855
1856
  require 'purecloudplatformclientv2/models/whats_app_id'
1856
1857
  require 'purecloudplatformclientv2/models/whats_app_integration'
1857
1858
  require 'purecloudplatformclientv2/models/whats_app_integration_entity_listing'
@@ -1906,7 +1907,6 @@ require 'purecloudplatformclientv2/api/integrations_api'
1906
1907
  require 'purecloudplatformclientv2/api/languages_api'
1907
1908
  require 'purecloudplatformclientv2/api/license_api'
1908
1909
  require 'purecloudplatformclientv2/api/locations_api'
1909
- require 'purecloudplatformclientv2/api/messaging_api'
1910
1910
  require 'purecloudplatformclientv2/api/mobile_devices_api'
1911
1911
  require 'purecloudplatformclientv2/api/notifications_api'
1912
1912
  require 'purecloudplatformclientv2/api/o_auth_api'
@@ -1153,8 +1153,8 @@ module PureCloud
1153
1153
  fail ArgumentError, "Missing the required parameter 'object_type' when calling ArchitectApi.get_architect_dependencytracking_consumedresources" if object_type.nil?
1154
1154
 
1155
1155
  # verify enum value
1156
- unless ['ACDLANGUAGE', 'ACDSKILL', 'ACDWRAPUPCODE', 'BRIDGEACTION', 'COMMONMODULEFLOW', 'COMPOSERSCRIPT', 'CONTACTLIST', 'DATAACTION', 'DATATABLE', 'DIALOGENGINEBOT', 'DIALOGENGINEBOTVERSION', 'DIALOGFLOWAGENT', 'EMAILROUTE', 'EMERGENCYGROUP', 'FLOWOUTCOME', 'GROUP', 'INBOUNDCALLFLOW', 'INBOUNDCHATFLOW', 'INBOUNDEMAILFLOW', 'INBOUNDSHORTMESSAGEFLOW', 'INQUEUECALLFLOW', 'IVRCONFIGURATION', 'LANGUAGE', 'LEXBOT', 'LEXBOTALIAS', 'OUTBOUNDCALLFLOW', 'QUEUE', 'RECORDINGPOLICY', 'RESPONSE', 'SCHEDULE', 'SCHEDULEGROUP', 'SECUREACTION', 'SECURECALLFLOW', 'SURVEYINVITEFLOW', 'SYSTEMPROMPT', 'TTSENGINE', 'TTSVOICE', 'USER', 'USERPROMPT', 'WIDGET', 'WORKFLOW'].include?(object_type)
1157
- fail ArgumentError, "invalid value for 'object_type', must be one of ACDLANGUAGE, ACDSKILL, ACDWRAPUPCODE, BRIDGEACTION, COMMONMODULEFLOW, COMPOSERSCRIPT, CONTACTLIST, DATAACTION, DATATABLE, DIALOGENGINEBOT, DIALOGENGINEBOTVERSION, DIALOGFLOWAGENT, EMAILROUTE, EMERGENCYGROUP, FLOWOUTCOME, GROUP, INBOUNDCALLFLOW, INBOUNDCHATFLOW, INBOUNDEMAILFLOW, INBOUNDSHORTMESSAGEFLOW, INQUEUECALLFLOW, IVRCONFIGURATION, LANGUAGE, LEXBOT, LEXBOTALIAS, OUTBOUNDCALLFLOW, QUEUE, RECORDINGPOLICY, RESPONSE, SCHEDULE, SCHEDULEGROUP, SECUREACTION, SECURECALLFLOW, SURVEYINVITEFLOW, SYSTEMPROMPT, TTSENGINE, TTSVOICE, USER, USERPROMPT, WIDGET, WORKFLOW"
1156
+ unless ['ACDLANGUAGE', 'ACDSKILL', 'ACDWRAPUPCODE', 'BOTFLOW', 'BRIDGEACTION', 'COMMONMODULEFLOW', 'COMPOSERSCRIPT', 'CONTACTLIST', 'DATAACTION', 'DATATABLE', 'DIALOGENGINEBOT', 'DIALOGENGINEBOTVERSION', 'DIALOGFLOWAGENT', 'EMAILROUTE', 'EMERGENCYGROUP', 'FLOWACTION', 'FLOWDATATYPE', 'FLOWOUTCOME', 'GROUP', 'INBOUNDCALLFLOW', 'INBOUNDCHATFLOW', 'INBOUNDEMAILFLOW', 'INBOUNDSHORTMESSAGEFLOW', 'INQUEUECALLFLOW', 'IVRCONFIGURATION', 'LANGUAGE', 'LEXBOT', 'LEXBOTALIAS', 'OUTBOUNDCALLFLOW', 'QUEUE', 'RECORDINGPOLICY', 'RESPONSE', 'SCHEDULE', 'SCHEDULEGROUP', 'SECUREACTION', 'SECURECALLFLOW', 'SURVEYINVITEFLOW', 'SYSTEMPROMPT', 'TTSENGINE', 'TTSVOICE', 'USER', 'USERPROMPT', 'WIDGET', 'WORKFLOW'].include?(object_type)
1157
+ fail ArgumentError, "invalid value for 'object_type', must be one of ACDLANGUAGE, ACDSKILL, ACDWRAPUPCODE, BOTFLOW, BRIDGEACTION, COMMONMODULEFLOW, COMPOSERSCRIPT, CONTACTLIST, DATAACTION, DATATABLE, DIALOGENGINEBOT, DIALOGENGINEBOTVERSION, DIALOGFLOWAGENT, EMAILROUTE, EMERGENCYGROUP, FLOWACTION, FLOWDATATYPE, FLOWOUTCOME, GROUP, INBOUNDCALLFLOW, INBOUNDCHATFLOW, INBOUNDEMAILFLOW, INBOUNDSHORTMESSAGEFLOW, INQUEUECALLFLOW, IVRCONFIGURATION, LANGUAGE, LEXBOT, LEXBOTALIAS, OUTBOUNDCALLFLOW, QUEUE, RECORDINGPOLICY, RESPONSE, SCHEDULE, SCHEDULEGROUP, SECUREACTION, SECURECALLFLOW, SURVEYINVITEFLOW, SYSTEMPROMPT, TTSENGINE, TTSVOICE, USER, USERPROMPT, WIDGET, WORKFLOW"
1158
1158
  end
1159
1159
 
1160
1160
 
@@ -1265,8 +1265,8 @@ module PureCloud
1265
1265
  fail ArgumentError, "Missing the required parameter 'object_type' when calling ArchitectApi.get_architect_dependencytracking_consumingresources" if object_type.nil?
1266
1266
 
1267
1267
  # verify enum value
1268
- unless ['ACDLANGUAGE', 'ACDSKILL', 'ACDWRAPUPCODE', 'BRIDGEACTION', 'COMMONMODULEFLOW', 'COMPOSERSCRIPT', 'CONTACTLIST', 'DATAACTION', 'DATATABLE', 'DIALOGENGINEBOT', 'DIALOGENGINEBOTVERSION', 'DIALOGFLOWAGENT', 'EMAILROUTE', 'EMERGENCYGROUP', 'FLOWOUTCOME', 'GROUP', 'INBOUNDCALLFLOW', 'INBOUNDCHATFLOW', 'INBOUNDEMAILFLOW', 'INBOUNDSHORTMESSAGEFLOW', 'INQUEUECALLFLOW', 'IVRCONFIGURATION', 'LANGUAGE', 'LEXBOT', 'LEXBOTALIAS', 'OUTBOUNDCALLFLOW', 'QUEUE', 'RECORDINGPOLICY', 'RESPONSE', 'SCHEDULE', 'SCHEDULEGROUP', 'SECUREACTION', 'SECURECALLFLOW', 'SURVEYINVITEFLOW', 'SYSTEMPROMPT', 'TTSENGINE', 'TTSVOICE', 'USER', 'USERPROMPT', 'WIDGET', 'WORKFLOW'].include?(object_type)
1269
- fail ArgumentError, "invalid value for 'object_type', must be one of ACDLANGUAGE, ACDSKILL, ACDWRAPUPCODE, BRIDGEACTION, COMMONMODULEFLOW, COMPOSERSCRIPT, CONTACTLIST, DATAACTION, DATATABLE, DIALOGENGINEBOT, DIALOGENGINEBOTVERSION, DIALOGFLOWAGENT, EMAILROUTE, EMERGENCYGROUP, FLOWOUTCOME, GROUP, INBOUNDCALLFLOW, INBOUNDCHATFLOW, INBOUNDEMAILFLOW, INBOUNDSHORTMESSAGEFLOW, INQUEUECALLFLOW, IVRCONFIGURATION, LANGUAGE, LEXBOT, LEXBOTALIAS, OUTBOUNDCALLFLOW, QUEUE, RECORDINGPOLICY, RESPONSE, SCHEDULE, SCHEDULEGROUP, SECUREACTION, SECURECALLFLOW, SURVEYINVITEFLOW, SYSTEMPROMPT, TTSENGINE, TTSVOICE, USER, USERPROMPT, WIDGET, WORKFLOW"
1268
+ unless ['ACDLANGUAGE', 'ACDSKILL', 'ACDWRAPUPCODE', 'BOTFLOW', 'BRIDGEACTION', 'COMMONMODULEFLOW', 'COMPOSERSCRIPT', 'CONTACTLIST', 'DATAACTION', 'DATATABLE', 'DIALOGENGINEBOT', 'DIALOGENGINEBOTVERSION', 'DIALOGFLOWAGENT', 'EMAILROUTE', 'EMERGENCYGROUP', 'FLOWACTION', 'FLOWDATATYPE', 'FLOWOUTCOME', 'GROUP', 'INBOUNDCALLFLOW', 'INBOUNDCHATFLOW', 'INBOUNDEMAILFLOW', 'INBOUNDSHORTMESSAGEFLOW', 'INQUEUECALLFLOW', 'IVRCONFIGURATION', 'LANGUAGE', 'LEXBOT', 'LEXBOTALIAS', 'OUTBOUNDCALLFLOW', 'QUEUE', 'RECORDINGPOLICY', 'RESPONSE', 'SCHEDULE', 'SCHEDULEGROUP', 'SECUREACTION', 'SECURECALLFLOW', 'SURVEYINVITEFLOW', 'SYSTEMPROMPT', 'TTSENGINE', 'TTSVOICE', 'USER', 'USERPROMPT', 'WIDGET', 'WORKFLOW'].include?(object_type)
1269
+ fail ArgumentError, "invalid value for 'object_type', must be one of ACDLANGUAGE, ACDSKILL, ACDWRAPUPCODE, BOTFLOW, BRIDGEACTION, COMMONMODULEFLOW, COMPOSERSCRIPT, CONTACTLIST, DATAACTION, DATATABLE, DIALOGENGINEBOT, DIALOGENGINEBOTVERSION, DIALOGFLOWAGENT, EMAILROUTE, EMERGENCYGROUP, FLOWACTION, FLOWDATATYPE, FLOWOUTCOME, GROUP, INBOUNDCALLFLOW, INBOUNDCHATFLOW, INBOUNDEMAILFLOW, INBOUNDSHORTMESSAGEFLOW, INQUEUECALLFLOW, IVRCONFIGURATION, LANGUAGE, LEXBOT, LEXBOTALIAS, OUTBOUNDCALLFLOW, QUEUE, RECORDINGPOLICY, RESPONSE, SCHEDULE, SCHEDULEGROUP, SECUREACTION, SECURECALLFLOW, SURVEYINVITEFLOW, SYSTEMPROMPT, TTSENGINE, TTSVOICE, USER, USERPROMPT, WIDGET, WORKFLOW"
1270
1270
  end
1271
1271
 
1272
1272
 
@@ -1515,8 +1515,8 @@ module PureCloud
1515
1515
 
1516
1516
 
1517
1517
 
1518
- if opts[:'object_type'] && !['ACDLANGUAGE', 'ACDSKILL', 'ACDWRAPUPCODE', 'BRIDGEACTION', 'COMMONMODULEFLOW', 'COMPOSERSCRIPT', 'CONTACTLIST', 'DATAACTION', 'DATATABLE', 'DIALOGENGINEBOT', 'DIALOGENGINEBOTVERSION', 'DIALOGFLOWAGENT', 'EMAILROUTE', 'EMERGENCYGROUP', 'FLOWOUTCOME', 'GROUP', 'INBOUNDCALLFLOW', 'INBOUNDCHATFLOW', 'INBOUNDEMAILFLOW', 'INBOUNDSHORTMESSAGEFLOW', 'INQUEUECALLFLOW', 'IVRCONFIGURATION', 'LANGUAGE', 'LEXBOT', 'LEXBOTALIAS', 'OUTBOUNDCALLFLOW', 'QUEUE', 'RECORDINGPOLICY', 'RESPONSE', 'SCHEDULE', 'SCHEDULEGROUP', 'SECUREACTION', 'SECURECALLFLOW', 'SURVEYINVITEFLOW', 'SYSTEMPROMPT', 'TTSENGINE', 'TTSVOICE', 'USER', 'USERPROMPT', 'WIDGET', 'WORKFLOW'].include?(opts[:'object_type'])
1519
- fail ArgumentError, 'invalid value for "object_type", must be one of ACDLANGUAGE, ACDSKILL, ACDWRAPUPCODE, BRIDGEACTION, COMMONMODULEFLOW, COMPOSERSCRIPT, CONTACTLIST, DATAACTION, DATATABLE, DIALOGENGINEBOT, DIALOGENGINEBOTVERSION, DIALOGFLOWAGENT, EMAILROUTE, EMERGENCYGROUP, FLOWOUTCOME, GROUP, INBOUNDCALLFLOW, INBOUNDCHATFLOW, INBOUNDEMAILFLOW, INBOUNDSHORTMESSAGEFLOW, INQUEUECALLFLOW, IVRCONFIGURATION, LANGUAGE, LEXBOT, LEXBOTALIAS, OUTBOUNDCALLFLOW, QUEUE, RECORDINGPOLICY, RESPONSE, SCHEDULE, SCHEDULEGROUP, SECUREACTION, SECURECALLFLOW, SURVEYINVITEFLOW, SYSTEMPROMPT, TTSENGINE, TTSVOICE, USER, USERPROMPT, WIDGET, WORKFLOW'
1518
+ if opts[:'object_type'] && !['ACDLANGUAGE', 'ACDSKILL', 'ACDWRAPUPCODE', 'BOTFLOW', 'BRIDGEACTION', 'COMMONMODULEFLOW', 'COMPOSERSCRIPT', 'CONTACTLIST', 'DATAACTION', 'DATATABLE', 'DIALOGENGINEBOT', 'DIALOGENGINEBOTVERSION', 'DIALOGFLOWAGENT', 'EMAILROUTE', 'EMERGENCYGROUP', 'FLOWACTION', 'FLOWDATATYPE', 'FLOWOUTCOME', 'GROUP', 'INBOUNDCALLFLOW', 'INBOUNDCHATFLOW', 'INBOUNDEMAILFLOW', 'INBOUNDSHORTMESSAGEFLOW', 'INQUEUECALLFLOW', 'IVRCONFIGURATION', 'LANGUAGE', 'LEXBOT', 'LEXBOTALIAS', 'OUTBOUNDCALLFLOW', 'QUEUE', 'RECORDINGPOLICY', 'RESPONSE', 'SCHEDULE', 'SCHEDULEGROUP', 'SECUREACTION', 'SECURECALLFLOW', 'SURVEYINVITEFLOW', 'SYSTEMPROMPT', 'TTSENGINE', 'TTSVOICE', 'USER', 'USERPROMPT', 'WIDGET', 'WORKFLOW'].include?(opts[:'object_type'])
1519
+ fail ArgumentError, 'invalid value for "object_type", must be one of ACDLANGUAGE, ACDSKILL, ACDWRAPUPCODE, BOTFLOW, BRIDGEACTION, COMMONMODULEFLOW, COMPOSERSCRIPT, CONTACTLIST, DATAACTION, DATATABLE, DIALOGENGINEBOT, DIALOGENGINEBOTVERSION, DIALOGFLOWAGENT, EMAILROUTE, EMERGENCYGROUP, FLOWACTION, FLOWDATATYPE, FLOWOUTCOME, GROUP, INBOUNDCALLFLOW, INBOUNDCHATFLOW, INBOUNDEMAILFLOW, INBOUNDSHORTMESSAGEFLOW, INQUEUECALLFLOW, IVRCONFIGURATION, LANGUAGE, LEXBOT, LEXBOTALIAS, OUTBOUNDCALLFLOW, QUEUE, RECORDINGPOLICY, RESPONSE, SCHEDULE, SCHEDULEGROUP, SECUREACTION, SECURECALLFLOW, SURVEYINVITEFLOW, SYSTEMPROMPT, TTSENGINE, TTSVOICE, USER, USERPROMPT, WIDGET, WORKFLOW'
1520
1520
  end
1521
1521
 
1522
1522
 
@@ -725,7 +725,7 @@ module PureCloud
725
725
  end
726
726
 
727
727
  # Returns which divisions the specified user has the given permission in.
728
- #
728
+ # This route is deprecated, use authorization/divisionspermitted/paged/me instead.
729
729
  # @param subject_id Subject ID (user or group)
730
730
  # @param permission The permission string, including the object to access, e.g. routing:queue:view
731
731
  # @param [Hash] opts the optional parameters
@@ -738,7 +738,7 @@ module PureCloud
738
738
  end
739
739
 
740
740
  # Returns which divisions the specified user has the given permission in.
741
- #
741
+ # This route is deprecated, use authorization/divisionspermitted/paged/me instead.
742
742
  # @param subject_id Subject ID (user or group)
743
743
  # @param permission The permission string, including the object to access, e.g. routing:queue:view
744
744
  # @param [Hash] opts the optional parameters
@@ -28,17 +28,17 @@ module PureCloud
28
28
  #
29
29
  # @param contact_id ExternalContact ID
30
30
  # @param [Hash] opts the optional parameters
31
- # @return [nil]
31
+ # @return [Empty]
32
32
  def delete_externalcontacts_contact(contact_id, opts = {})
33
- delete_externalcontacts_contact_with_http_info(contact_id, opts)
34
- return nil
33
+ data, _status_code, _headers = delete_externalcontacts_contact_with_http_info(contact_id, opts)
34
+ return data
35
35
  end
36
36
 
37
37
  # Delete an external contact
38
38
  #
39
39
  # @param contact_id ExternalContact ID
40
40
  # @param [Hash] opts the optional parameters
41
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
41
+ # @return [Array<(Empty, Fixnum, Hash)>] Empty data, response status code and response headers
42
42
  def delete_externalcontacts_contact_with_http_info(contact_id, opts = {})
43
43
  if @api_client.config.debugging
44
44
  @api_client.config.logger.debug "Calling API: ExternalContactsApi.delete_externalcontacts_contact ..."
@@ -81,7 +81,8 @@ module PureCloud
81
81
  :query_params => query_params,
82
82
  :form_params => form_params,
83
83
  :body => post_body,
84
- :auth_names => auth_names)
84
+ :auth_names => auth_names,
85
+ :return_type => 'Empty')
85
86
  if @api_client.config.debugging
86
87
  @api_client.config.logger.debug "API called: ExternalContactsApi#delete_externalcontacts_contact\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
87
88
  end
@@ -93,10 +94,10 @@ module PureCloud
93
94
  # @param contact_id ExternalContact Id
94
95
  # @param note_id Note Id
95
96
  # @param [Hash] opts the optional parameters
96
- # @return [nil]
97
+ # @return [Empty]
97
98
  def delete_externalcontacts_contact_note(contact_id, note_id, opts = {})
98
- delete_externalcontacts_contact_note_with_http_info(contact_id, note_id, opts)
99
- return nil
99
+ data, _status_code, _headers = delete_externalcontacts_contact_note_with_http_info(contact_id, note_id, opts)
100
+ return data
100
101
  end
101
102
 
102
103
  # Delete a note for an external contact
@@ -104,7 +105,7 @@ module PureCloud
104
105
  # @param contact_id ExternalContact Id
105
106
  # @param note_id Note Id
106
107
  # @param [Hash] opts the optional parameters
107
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
108
+ # @return [Array<(Empty, Fixnum, Hash)>] Empty data, response status code and response headers
108
109
  def delete_externalcontacts_contact_note_with_http_info(contact_id, note_id, opts = {})
109
110
  if @api_client.config.debugging
110
111
  @api_client.config.logger.debug "Calling API: ExternalContactsApi.delete_externalcontacts_contact_note ..."
@@ -155,7 +156,8 @@ module PureCloud
155
156
  :query_params => query_params,
156
157
  :form_params => form_params,
157
158
  :body => post_body,
158
- :auth_names => auth_names)
159
+ :auth_names => auth_names,
160
+ :return_type => 'Empty')
159
161
  if @api_client.config.debugging
160
162
  @api_client.config.logger.debug "API called: ExternalContactsApi#delete_externalcontacts_contact_note\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
161
163
  end
@@ -166,17 +168,17 @@ module PureCloud
166
168
  #
167
169
  # @param external_organization_id External Organization ID
168
170
  # @param [Hash] opts the optional parameters
169
- # @return [nil]
171
+ # @return [Empty]
170
172
  def delete_externalcontacts_organization(external_organization_id, opts = {})
171
- delete_externalcontacts_organization_with_http_info(external_organization_id, opts)
172
- return nil
173
+ data, _status_code, _headers = delete_externalcontacts_organization_with_http_info(external_organization_id, opts)
174
+ return data
173
175
  end
174
176
 
175
177
  # Delete an external organization
176
178
  #
177
179
  # @param external_organization_id External Organization ID
178
180
  # @param [Hash] opts the optional parameters
179
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
181
+ # @return [Array<(Empty, Fixnum, Hash)>] Empty data, response status code and response headers
180
182
  def delete_externalcontacts_organization_with_http_info(external_organization_id, opts = {})
181
183
  if @api_client.config.debugging
182
184
  @api_client.config.logger.debug "Calling API: ExternalContactsApi.delete_externalcontacts_organization ..."
@@ -219,7 +221,8 @@ module PureCloud
219
221
  :query_params => query_params,
220
222
  :form_params => form_params,
221
223
  :body => post_body,
222
- :auth_names => auth_names)
224
+ :auth_names => auth_names,
225
+ :return_type => 'Empty')
223
226
  if @api_client.config.debugging
224
227
  @api_client.config.logger.debug "API called: ExternalContactsApi#delete_externalcontacts_organization\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
225
228
  end
@@ -231,10 +234,10 @@ module PureCloud
231
234
  # @param external_organization_id External Organization Id
232
235
  # @param note_id Note Id
233
236
  # @param [Hash] opts the optional parameters
234
- # @return [nil]
237
+ # @return [Empty]
235
238
  def delete_externalcontacts_organization_note(external_organization_id, note_id, opts = {})
236
- delete_externalcontacts_organization_note_with_http_info(external_organization_id, note_id, opts)
237
- return nil
239
+ data, _status_code, _headers = delete_externalcontacts_organization_note_with_http_info(external_organization_id, note_id, opts)
240
+ return data
238
241
  end
239
242
 
240
243
  # Delete a note for an external organization
@@ -242,7 +245,7 @@ module PureCloud
242
245
  # @param external_organization_id External Organization Id
243
246
  # @param note_id Note Id
244
247
  # @param [Hash] opts the optional parameters
245
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
248
+ # @return [Array<(Empty, Fixnum, Hash)>] Empty data, response status code and response headers
246
249
  def delete_externalcontacts_organization_note_with_http_info(external_organization_id, note_id, opts = {})
247
250
  if @api_client.config.debugging
248
251
  @api_client.config.logger.debug "Calling API: ExternalContactsApi.delete_externalcontacts_organization_note ..."
@@ -293,7 +296,8 @@ module PureCloud
293
296
  :query_params => query_params,
294
297
  :form_params => form_params,
295
298
  :body => post_body,
296
- :auth_names => auth_names)
299
+ :auth_names => auth_names,
300
+ :return_type => 'Empty')
297
301
  if @api_client.config.debugging
298
302
  @api_client.config.logger.debug "API called: ExternalContactsApi#delete_externalcontacts_organization_note\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
299
303
  end
@@ -368,17 +372,17 @@ module PureCloud
368
372
  #
369
373
  # @param relationship_id Relationship Id
370
374
  # @param [Hash] opts the optional parameters
371
- # @return [nil]
375
+ # @return [Empty]
372
376
  def delete_externalcontacts_relationship(relationship_id, opts = {})
373
- delete_externalcontacts_relationship_with_http_info(relationship_id, opts)
374
- return nil
377
+ data, _status_code, _headers = delete_externalcontacts_relationship_with_http_info(relationship_id, opts)
378
+ return data
375
379
  end
376
380
 
377
381
  # Delete a relationship
378
382
  #
379
383
  # @param relationship_id Relationship Id
380
384
  # @param [Hash] opts the optional parameters
381
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
385
+ # @return [Array<(Empty, Fixnum, Hash)>] Empty data, response status code and response headers
382
386
  def delete_externalcontacts_relationship_with_http_info(relationship_id, opts = {})
383
387
  if @api_client.config.debugging
384
388
  @api_client.config.logger.debug "Calling API: ExternalContactsApi.delete_externalcontacts_relationship ..."
@@ -421,7 +425,8 @@ module PureCloud
421
425
  :query_params => query_params,
422
426
  :form_params => form_params,
423
427
  :body => post_body,
424
- :auth_names => auth_names)
428
+ :auth_names => auth_names,
429
+ :return_type => 'Empty')
425
430
  if @api_client.config.debugging
426
431
  @api_client.config.logger.debug "API called: ExternalContactsApi#delete_externalcontacts_relationship\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
427
432
  end
@@ -157,6 +157,7 @@ module PureCloud
157
157
  # @param [Hash] opts the optional parameters
158
158
  # @option opts [Integer] :page_number Page number (default to 1)
159
159
  # @option opts [Integer] :page_size Page size (default to 25)
160
+ # @option opts [String] :messaging_template_filter Returns a list of libraries that contain responses with at least one messaging template defined for a specific message channel
160
161
  # @return [LibraryEntityListing]
161
162
  def get_responsemanagement_libraries(opts = {})
162
163
  data, _status_code, _headers = get_responsemanagement_libraries_with_http_info(opts)
@@ -168,6 +169,7 @@ module PureCloud
168
169
  # @param [Hash] opts the optional parameters
169
170
  # @option opts [Integer] :page_number Page number
170
171
  # @option opts [Integer] :page_size Page size
172
+ # @option opts [String] :messaging_template_filter Returns a list of libraries that contain responses with at least one messaging template defined for a specific message channel
171
173
  # @return [Array<(LibraryEntityListing, Fixnum, Hash)>] LibraryEntityListing data, response status code and response headers
172
174
  def get_responsemanagement_libraries_with_http_info(opts = {})
173
175
  if @api_client.config.debugging
@@ -186,6 +188,16 @@ module PureCloud
186
188
 
187
189
 
188
190
 
191
+
192
+
193
+
194
+ if opts[:'messaging_template_filter'] && !['whatsapp'].include?(opts[:'messaging_template_filter'])
195
+ fail ArgumentError, 'invalid value for "messaging_template_filter", must be one of whatsapp'
196
+ end
197
+
198
+
199
+
200
+
189
201
  # resource path
190
202
  local_var_path = "/api/v2/responsemanagement/libraries".sub('{format}','json')
191
203
 
@@ -193,6 +205,7 @@ module PureCloud
193
205
  query_params = {}
194
206
  query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
195
207
  query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
208
+ query_params[:'messagingTemplateFilter'] = opts[:'messaging_template_filter'] if opts[:'messaging_template_filter']
196
209
 
197
210
  # header parameters
198
211
  header_params = {}
@@ -885,7 +885,7 @@ module PureCloud
885
885
  end
886
886
 
887
887
  # Returns which divisions the specified user has the given permission in.
888
- #
888
+ # This route is deprecated, use authorization/divisionspermitted/paged/me instead.
889
889
  # @param subject_id Subject ID (user or group)
890
890
  # @param permission The permission string, including the object to access, e.g. routing:queue:view
891
891
  # @param [Hash] opts the optional parameters
@@ -898,7 +898,7 @@ module PureCloud
898
898
  end
899
899
 
900
900
  # Returns which divisions the specified user has the given permission in.
901
- #
901
+ # This route is deprecated, use authorization/divisionspermitted/paged/me instead.
902
902
  # @param subject_id Subject ID (user or group)
903
903
  # @param permission The permission string, including the object to access, e.g. routing:queue:view
904
904
  # @param [Hash] opts the optional parameters
@@ -76,7 +76,7 @@ module PureCloud
76
76
  http_method = http_method.to_sym.downcase
77
77
 
78
78
  header_params = @default_headers.merge(opts[:header_params] || {})
79
- header_params['purecloud-sdk'] = '82.0.0'
79
+ header_params['purecloud-sdk'] = '83.0.0'
80
80
  query_params = opts[:query_params] || {}
81
81
  form_params = opts[:form_params] || {}
82
82
 
@@ -27,10 +27,10 @@ module PureCloud
27
27
 
28
28
  attr_accessor :certificate
29
29
 
30
- attr_accessor :issuer_uri
31
-
32
30
  attr_accessor :sso_target_uri
33
31
 
32
+ attr_accessor :issuer_uri
33
+
34
34
  attr_accessor :disabled
35
35
 
36
36
  # The URI for this object
@@ -48,10 +48,10 @@ module PureCloud
48
48
 
49
49
  :'certificate' => :'certificate',
50
50
 
51
- :'issuer_uri' => :'issuerURI',
52
-
53
51
  :'sso_target_uri' => :'ssoTargetURI',
54
52
 
53
+ :'issuer_uri' => :'issuerURI',
54
+
55
55
  :'disabled' => :'disabled',
56
56
 
57
57
  :'self_uri' => :'selfUri'
@@ -71,10 +71,10 @@ module PureCloud
71
71
 
72
72
  :'certificate' => :'String',
73
73
 
74
- :'issuer_uri' => :'String',
75
-
76
74
  :'sso_target_uri' => :'String',
77
75
 
76
+ :'issuer_uri' => :'String',
77
+
78
78
  :'disabled' => :'BOOLEAN',
79
79
 
80
80
  :'self_uri' => :'String'
@@ -127,19 +127,19 @@ module PureCloud
127
127
  end
128
128
 
129
129
 
130
- if attributes.has_key?(:'issuerURI')
130
+ if attributes.has_key?(:'ssoTargetURI')
131
131
 
132
132
 
133
- self.issuer_uri = attributes[:'issuerURI']
133
+ self.sso_target_uri = attributes[:'ssoTargetURI']
134
134
 
135
135
 
136
136
  end
137
137
 
138
138
 
139
- if attributes.has_key?(:'ssoTargetURI')
139
+ if attributes.has_key?(:'issuerURI')
140
140
 
141
141
 
142
- self.sso_target_uri = attributes[:'ssoTargetURI']
142
+ self.issuer_uri = attributes[:'issuerURI']
143
143
 
144
144
 
145
145
  end
@@ -262,8 +262,8 @@ module PureCloud
262
262
  name == o.name &&
263
263
  relying_party_identifier == o.relying_party_identifier &&
264
264
  certificate == o.certificate &&
265
- issuer_uri == o.issuer_uri &&
266
265
  sso_target_uri == o.sso_target_uri &&
266
+ issuer_uri == o.issuer_uri &&
267
267
  disabled == o.disabled &&
268
268
  self_uri == o.self_uri
269
269
  end
@@ -277,7 +277,7 @@ module PureCloud
277
277
  # Calculates hash code according to all attributes.
278
278
  # @return [Fixnum] Hash code
279
279
  def hash
280
- [id, name, relying_party_identifier, certificate, issuer_uri, sso_target_uri, disabled, self_uri].hash
280
+ [id, name, relying_party_identifier, certificate, sso_target_uri, issuer_uri, disabled, self_uri].hash
281
281
  end
282
282
 
283
283
  # build the object from hash
@@ -51,10 +51,10 @@ module PureCloud
51
51
  # Whether this evaluation has been deleted
52
52
  attr_accessor :deleted
53
53
 
54
- attr_accessor :o_total_score
55
-
56
54
  attr_accessor :o_total_critical_score
57
55
 
56
+ attr_accessor :o_total_score
57
+
58
58
  # Attribute mapping from ruby-style variable name to JSON key.
59
59
  def self.attribute_map
60
60
  {
@@ -81,9 +81,9 @@ module PureCloud
81
81
 
82
82
  :'deleted' => :'deleted',
83
83
 
84
- :'o_total_score' => :'oTotalScore',
84
+ :'o_total_critical_score' => :'oTotalCriticalScore',
85
85
 
86
- :'o_total_critical_score' => :'oTotalCriticalScore'
86
+ :'o_total_score' => :'oTotalScore'
87
87
 
88
88
  }
89
89
  end
@@ -114,9 +114,9 @@ module PureCloud
114
114
 
115
115
  :'deleted' => :'BOOLEAN',
116
116
 
117
- :'o_total_score' => :'Integer',
117
+ :'o_total_critical_score' => :'Integer',
118
118
 
119
- :'o_total_critical_score' => :'Integer'
119
+ :'o_total_score' => :'Integer'
120
120
 
121
121
  }
122
122
  end
@@ -229,19 +229,19 @@ module PureCloud
229
229
  end
230
230
 
231
231
 
232
- if attributes.has_key?(:'oTotalScore')
232
+ if attributes.has_key?(:'oTotalCriticalScore')
233
233
 
234
234
 
235
- self.o_total_score = attributes[:'oTotalScore']
235
+ self.o_total_critical_score = attributes[:'oTotalCriticalScore']
236
236
 
237
237
 
238
238
  end
239
239
 
240
240
 
241
- if attributes.has_key?(:'oTotalCriticalScore')
241
+ if attributes.has_key?(:'oTotalScore')
242
242
 
243
243
 
244
- self.o_total_critical_score = attributes[:'oTotalCriticalScore']
244
+ self.o_total_score = attributes[:'oTotalScore']
245
245
 
246
246
 
247
247
  end
@@ -398,8 +398,8 @@ module PureCloud
398
398
  calibration_id == o.calibration_id &&
399
399
  rescored == o.rescored &&
400
400
  deleted == o.deleted &&
401
- o_total_score == o.o_total_score &&
402
- o_total_critical_score == o.o_total_critical_score
401
+ o_total_critical_score == o.o_total_critical_score &&
402
+ o_total_score == o.o_total_score
403
403
  end
404
404
 
405
405
  # @see the `==` method
@@ -411,7 +411,7 @@ module PureCloud
411
411
  # Calculates hash code according to all attributes.
412
412
  # @return [Fixnum] Hash code
413
413
  def hash
414
- [evaluation_id, evaluator_id, user_id, event_time, queue_id, form_id, context_id, form_name, calibration_id, rescored, deleted, o_total_score, o_total_critical_score].hash
414
+ [evaluation_id, evaluator_id, user_id, event_time, queue_id, form_id, context_id, form_name, calibration_id, rescored, deleted, o_total_critical_score, o_total_score].hash
415
415
  end
416
416
 
417
417
  # build the object from hash