purecloud 0.49.1 → 0.50.1

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 (65) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/config-ruby.json +1 -1
  4. data/doc_out/AuthorizationApi.html.md +4 -4
  5. data/doc_out/CallbackMediaParticipant.html.md +5 -5
  6. data/doc_out/CampaignDiagnostics.html.md +1 -0
  7. data/doc_out/ConversationsApi.html.md +10 -10
  8. data/doc_out/Document.html.md +1 -1
  9. data/doc_out/DomainLogicalInterface.html.md +0 -1
  10. data/doc_out/EdgeGroup.html.md +1 -2
  11. data/doc_out/FaxDocument.html.md +1 -1
  12. data/doc_out/GroupsSearchResponse.html.md +0 -1
  13. data/doc_out/JsonNode.html.md +2 -2
  14. data/doc_out/Keyword.html.md +5 -5
  15. data/doc_out/KeywordSet.html.md +3 -3
  16. data/doc_out/Line.html.md +1 -0
  17. data/doc_out/LocationsSearchResponse.html.md +0 -1
  18. data/doc_out/OutboundApi.html.md +2 -2
  19. data/doc_out/PresenceApi.html.md +2 -2
  20. data/doc_out/QualityApi.html.md +18 -18
  21. data/doc_out/QualityAudit.html.md +1 -1
  22. data/doc_out/RecordingApi.html.md +4 -4
  23. data/doc_out/RoutingApi.html.md +315 -0
  24. data/doc_out/RuleSetDiagnostic.html.md +14 -0
  25. data/doc_out/ScreenRecordingSession.html.md +1 -1
  26. data/doc_out/TelephonyProvidersEdgeApi.html.md +20 -6
  27. data/doc_out/TrunkBaseAssignment.html.md +1 -1
  28. data/doc_out/UsersApi.html.md +3 -1
  29. data/doc_out/UsersSearchResponse.html.md +0 -1
  30. data/doc_out/index.html.md +3 -3
  31. data/lib/purecloud.rb +1 -1
  32. data/lib/purecloud/api/authorization_api.rb +4 -4
  33. data/lib/purecloud/api/conversations_api.rb +15 -15
  34. data/lib/purecloud/api/outbound_api.rb +3 -3
  35. data/lib/purecloud/api/presence_api.rb +3 -3
  36. data/lib/purecloud/api/quality_api.rb +18 -18
  37. data/lib/purecloud/api/recording_api.rb +4 -4
  38. data/lib/purecloud/api/routing_api.rb +330 -0
  39. data/lib/purecloud/api/telephony_providers_edge_api.rb +12 -0
  40. data/lib/purecloud/api/users_api.rb +3 -0
  41. data/lib/purecloud/api_client.rb +1 -1
  42. data/lib/purecloud/models/analytics_query_predicate.rb +1 -1
  43. data/lib/purecloud/models/callback_media_participant.rb +5 -0
  44. data/lib/purecloud/models/campaign_diagnostics.rb +14 -1
  45. data/lib/purecloud/models/document.rb +11 -11
  46. data/lib/purecloud/models/domain_logical_interface.rb +1 -14
  47. data/lib/purecloud/models/edge_group.rb +2 -15
  48. data/lib/purecloud/models/fax_document.rb +11 -11
  49. data/lib/purecloud/models/groups_search_response.rb +4 -16
  50. data/lib/purecloud/models/json_node.rb +20 -20
  51. data/lib/purecloud/models/keyword.rb +5 -0
  52. data/lib/purecloud/models/keyword_set.rb +2 -0
  53. data/lib/purecloud/models/line.rb +11 -1
  54. data/lib/purecloud/models/locations_search_response.rb +4 -16
  55. data/lib/purecloud/models/quality_audit.rb +11 -11
  56. data/lib/purecloud/models/{dialer_contact_entity_listing.rb → rule_set_diagnostic.rb} +17 -95
  57. data/lib/purecloud/models/screen_recording_session.rb +1 -0
  58. data/lib/purecloud/models/trunk_base_assignment.rb +1 -1
  59. data/lib/purecloud/models/users_search_response.rb +4 -16
  60. data/lib/purecloud/version.rb +1 -1
  61. data/newVersion.md +1 -1
  62. data/swagger.json +1 -1
  63. data/version.json +1 -1
  64. metadata +4 -4
  65. data/doc_out/DialerContactEntityListing.html.md +0 -22
@@ -22,16 +22,21 @@ module PureCloud
22
22
 
23
23
  attr_accessor :name
24
24
 
25
+ # The word or phrase which is being looked for with speech recognition.
25
26
  attr_accessor :phrase
26
27
 
28
+ # A sensitivity threshold that can be increased to lower false positives or decreased to reduce false negatives.
27
29
  attr_accessor :confidence
28
30
 
31
+ # A modifier to the evaluation score when the phrase is spotted in the agent channel
29
32
  attr_accessor :agent_score_modifier
30
33
 
34
+ # A modifier to the evaluation score when the phrase is spotted in the customer channel
31
35
  attr_accessor :customer_score_modifier
32
36
 
33
37
  attr_accessor :alternate_spellings
34
38
 
39
+ # A prediction of how easy it is to unambiguously spot the keyword within its language based on spelling.
35
40
  attr_accessor :spotability_index
36
41
 
37
42
  attr_accessor :margin_of_error
@@ -29,10 +29,12 @@ module PureCloud
29
29
 
30
30
  attr_accessor :queues
31
31
 
32
+ # Language code, such as 'en-US'
32
33
  attr_accessor :language
33
34
 
34
35
  attr_accessor :agents
35
36
 
37
+ # The list of keywords to be used for keyword spotting.
36
38
  attr_accessor :keywords
37
39
 
38
40
  attr_accessor :participant_purposes
@@ -60,6 +60,8 @@ module PureCloud
60
60
 
61
61
  attr_accessor :logged_in_user
62
62
 
63
+ attr_accessor :default_for_user
64
+
63
65
  # The URI for this object
64
66
  attr_accessor :self_uri
65
67
 
@@ -105,6 +107,8 @@ module PureCloud
105
107
 
106
108
  :'logged_in_user' => :'loggedInUser',
107
109
 
110
+ :'default_for_user' => :'defaultForUser',
111
+
108
112
  :'self_uri' => :'selfUri'
109
113
 
110
114
  }
@@ -132,6 +136,7 @@ module PureCloud
132
136
  :'primary_edge' => :'Edge',
133
137
  :'secondary_edge' => :'Edge',
134
138
  :'logged_in_user' => :'UriReference',
139
+ :'default_for_user' => :'UriReference',
135
140
  :'self_uri' => :'String'
136
141
 
137
142
  }
@@ -222,6 +227,10 @@ module PureCloud
222
227
  self.logged_in_user = attributes[:'loggedInUser']
223
228
  end
224
229
 
230
+ if attributes[:'defaultForUser']
231
+ self.default_for_user = attributes[:'defaultForUser']
232
+ end
233
+
225
234
  if attributes[:'selfUri']
226
235
  self.self_uri = attributes[:'selfUri']
227
236
  end
@@ -260,6 +269,7 @@ module PureCloud
260
269
  primary_edge == o.primary_edge &&
261
270
  secondary_edge == o.secondary_edge &&
262
271
  logged_in_user == o.logged_in_user &&
272
+ default_for_user == o.default_for_user &&
263
273
  self_uri == o.self_uri
264
274
  end
265
275
 
@@ -270,7 +280,7 @@ module PureCloud
270
280
 
271
281
  # Calculate hash code according to all attributes.
272
282
  def hash
273
- [id, name, description, version, date_created, date_modified, modified_by, created_by, state, modified_by_app, created_by_app, properties, edge_group, template, site, line_base_settings, primary_edge, secondary_edge, logged_in_user, self_uri].hash
283
+ [id, name, description, version, date_created, date_modified, modified_by, created_by, state, modified_by_app, created_by_app, properties, edge_group, template, site, line_base_settings, primary_edge, secondary_edge, logged_in_user, default_for_user, self_uri].hash
274
284
  end
275
285
 
276
286
  # build the object from hash
@@ -36,8 +36,6 @@ module PureCloud
36
36
 
37
37
  attr_accessor :results
38
38
 
39
- attr_accessor :aggregations
40
-
41
39
  # Attribute mapping from ruby-style variable name to JSON key.
42
40
  def self.attribute_map
43
41
  {
@@ -58,9 +56,7 @@ module PureCloud
58
56
 
59
57
  :'types' => :'types',
60
58
 
61
- :'results' => :'results',
62
-
63
- :'aggregations' => :'aggregations'
59
+ :'results' => :'results'
64
60
 
65
61
  }
66
62
  end
@@ -76,8 +72,7 @@ module PureCloud
76
72
  :'current_page' => :'String',
77
73
  :'next_page' => :'String',
78
74
  :'types' => :'Array<String>',
79
- :'results' => :'Array<Location>',
80
- :'aggregations' => :'Array<Location>'
75
+ :'results' => :'Array<Location>'
81
76
 
82
77
  }
83
78
  end
@@ -129,12 +124,6 @@ module PureCloud
129
124
  end
130
125
  end
131
126
 
132
- if attributes[:'aggregations']
133
- if (value = attributes[:'aggregations']).is_a?(Array)
134
- self.aggregations = value
135
- end
136
- end
137
-
138
127
  end
139
128
 
140
129
  # Check equality by comparing each attribute.
@@ -149,8 +138,7 @@ module PureCloud
149
138
  current_page == o.current_page &&
150
139
  next_page == o.next_page &&
151
140
  types == o.types &&
152
- results == o.results &&
153
- aggregations == o.aggregations
141
+ results == o.results
154
142
  end
155
143
 
156
144
  # @see the `==` method
@@ -160,7 +148,7 @@ module PureCloud
160
148
 
161
149
  # Calculate hash code according to all attributes.
162
150
  def hash
163
- [total, page_count, page_size, page_number, previous_page, current_page, next_page, types, results, aggregations].hash
151
+ [total, page_count, page_size, page_number, previous_page, current_page, next_page, types, results].hash
164
152
  end
165
153
 
166
154
  # build the object from hash
@@ -27,10 +27,10 @@ module PureCloud
27
27
 
28
28
  attr_accessor :timestamp
29
29
 
30
- attr_accessor :entity
31
-
32
30
  attr_accessor :level
33
31
 
32
+ attr_accessor :entity
33
+
34
34
  attr_accessor :action
35
35
 
36
36
  attr_accessor :status
@@ -54,10 +54,10 @@ module PureCloud
54
54
 
55
55
  :'timestamp' => :'timestamp',
56
56
 
57
- :'entity' => :'entity',
58
-
59
57
  :'level' => :'level',
60
58
 
59
+ :'entity' => :'entity',
60
+
61
61
  :'action' => :'action',
62
62
 
63
63
  :'status' => :'status',
@@ -78,8 +78,8 @@ module PureCloud
78
78
  :'name' => :'String',
79
79
  :'user' => :'User',
80
80
  :'timestamp' => :'String',
81
- :'entity' => :'AuditEntity',
82
81
  :'level' => :'String',
82
+ :'entity' => :'AuditEntity',
83
83
  :'action' => :'String',
84
84
  :'status' => :'String',
85
85
  :'changes' => :'Array<Change>',
@@ -112,14 +112,14 @@ module PureCloud
112
112
  self.timestamp = attributes[:'timestamp']
113
113
  end
114
114
 
115
- if attributes[:'entity']
116
- self.entity = attributes[:'entity']
117
- end
118
-
119
115
  if attributes[:'level']
120
116
  self.level = attributes[:'level']
121
117
  end
122
118
 
119
+ if attributes[:'entity']
120
+ self.entity = attributes[:'entity']
121
+ end
122
+
123
123
  if attributes[:'action']
124
124
  self.action = attributes[:'action']
125
125
  end
@@ -152,8 +152,8 @@ module PureCloud
152
152
  name == o.name &&
153
153
  user == o.user &&
154
154
  timestamp == o.timestamp &&
155
- entity == o.entity &&
156
155
  level == o.level &&
156
+ entity == o.entity &&
157
157
  action == o.action &&
158
158
  status == o.status &&
159
159
  changes == o.changes &&
@@ -168,7 +168,7 @@ module PureCloud
168
168
 
169
169
  # Calculate hash code according to all attributes.
170
170
  def hash
171
- [id, name, user, timestamp, entity, level, action, status, changes, entity_type, self_uri].hash
171
+ [id, name, user, timestamp, level, entity, action, status, changes, entity_type, self_uri].hash
172
172
  end
173
173
 
174
174
  # build the object from hash
@@ -17,50 +17,20 @@ Terms of Service: https://developer.mypurecloud.com/tos
17
17
  require 'date'
18
18
 
19
19
  module PureCloud
20
- class DialerContactEntityListing
21
- attr_accessor :page_size
20
+ class RuleSetDiagnostic
21
+ # A campaign rule set
22
+ attr_accessor :rule_set
22
23
 
23
- attr_accessor :page_number
24
-
25
- attr_accessor :total
26
-
27
- attr_accessor :entities
28
-
29
- attr_accessor :self_uri
30
-
31
- attr_accessor :first_uri
32
-
33
- attr_accessor :previous_uri
34
-
35
- attr_accessor :next_uri
36
-
37
- attr_accessor :last_uri
38
-
39
- attr_accessor :page_count
24
+ # Diagnostic warnings for the rule set
25
+ attr_accessor :warnings
40
26
 
41
27
  # Attribute mapping from ruby-style variable name to JSON key.
42
28
  def self.attribute_map
43
29
  {
44
30
 
45
- :'page_size' => :'pageSize',
46
-
47
- :'page_number' => :'pageNumber',
48
-
49
- :'total' => :'total',
50
-
51
- :'entities' => :'entities',
52
-
53
- :'self_uri' => :'selfUri',
54
-
55
- :'first_uri' => :'firstUri',
56
-
57
- :'previous_uri' => :'previousUri',
58
-
59
- :'next_uri' => :'nextUri',
60
-
61
- :'last_uri' => :'lastUri',
31
+ :'rule_set' => :'ruleSet',
62
32
 
63
- :'page_count' => :'pageCount'
33
+ :'warnings' => :'warnings'
64
34
 
65
35
  }
66
36
  end
@@ -68,16 +38,8 @@ module PureCloud
68
38
  # Attribute type mapping.
69
39
  def self.swagger_types
70
40
  {
71
- :'page_size' => :'Integer',
72
- :'page_number' => :'Integer',
73
- :'total' => :'Integer',
74
- :'entities' => :'Array<DialerContact>',
75
- :'self_uri' => :'String',
76
- :'first_uri' => :'String',
77
- :'previous_uri' => :'String',
78
- :'next_uri' => :'String',
79
- :'last_uri' => :'String',
80
- :'page_count' => :'Integer'
41
+ :'rule_set' => :'UriReference',
42
+ :'warnings' => :'Array<String>'
81
43
 
82
44
  }
83
45
  end
@@ -89,64 +51,24 @@ module PureCloud
89
51
  attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
90
52
 
91
53
 
92
- if attributes[:'pageSize']
93
- self.page_size = attributes[:'pageSize']
54
+ if attributes[:'ruleSet']
55
+ self.rule_set = attributes[:'ruleSet']
94
56
  end
95
57
 
96
- if attributes[:'pageNumber']
97
- self.page_number = attributes[:'pageNumber']
98
- end
99
-
100
- if attributes[:'total']
101
- self.total = attributes[:'total']
102
- end
103
-
104
- if attributes[:'entities']
105
- if (value = attributes[:'entities']).is_a?(Array)
106
- self.entities = value
58
+ if attributes[:'warnings']
59
+ if (value = attributes[:'warnings']).is_a?(Array)
60
+ self.warnings = value
107
61
  end
108
62
  end
109
63
 
110
- if attributes[:'selfUri']
111
- self.self_uri = attributes[:'selfUri']
112
- end
113
-
114
- if attributes[:'firstUri']
115
- self.first_uri = attributes[:'firstUri']
116
- end
117
-
118
- if attributes[:'previousUri']
119
- self.previous_uri = attributes[:'previousUri']
120
- end
121
-
122
- if attributes[:'nextUri']
123
- self.next_uri = attributes[:'nextUri']
124
- end
125
-
126
- if attributes[:'lastUri']
127
- self.last_uri = attributes[:'lastUri']
128
- end
129
-
130
- if attributes[:'pageCount']
131
- self.page_count = attributes[:'pageCount']
132
- end
133
-
134
64
  end
135
65
 
136
66
  # Check equality by comparing each attribute.
137
67
  def ==(o)
138
68
  return true if self.equal?(o)
139
69
  self.class == o.class &&
140
- page_size == o.page_size &&
141
- page_number == o.page_number &&
142
- total == o.total &&
143
- entities == o.entities &&
144
- self_uri == o.self_uri &&
145
- first_uri == o.first_uri &&
146
- previous_uri == o.previous_uri &&
147
- next_uri == o.next_uri &&
148
- last_uri == o.last_uri &&
149
- page_count == o.page_count
70
+ rule_set == o.rule_set &&
71
+ warnings == o.warnings
150
72
  end
151
73
 
152
74
  # @see the `==` method
@@ -156,7 +78,7 @@ module PureCloud
156
78
 
157
79
  # Calculate hash code according to all attributes.
158
80
  def hash
159
- [page_size, page_number, total, entities, self_uri, first_uri, previous_uri, next_uri, last_uri, page_count].hash
81
+ [rule_set, warnings].hash
160
82
  end
161
83
 
162
84
  # build the object from hash
@@ -20,6 +20,7 @@ module PureCloud
20
20
  class ScreenRecordingSession
21
21
  attr_accessor :user
22
22
 
23
+ # The id of the participant whose screen is being recorded on the conversation
23
24
  attr_accessor :participant_id
24
25
 
25
26
  attr_accessor :conversation
@@ -39,7 +39,7 @@ module PureCloud
39
39
  def self.swagger_types
40
40
  {
41
41
  :'family' => :'Integer',
42
- :'trunk_base' => :'UriReference'
42
+ :'trunk_base' => :'TrunkBase'
43
43
 
44
44
  }
45
45
  end
@@ -36,8 +36,6 @@ module PureCloud
36
36
 
37
37
  attr_accessor :results
38
38
 
39
- attr_accessor :aggregations
40
-
41
39
  # Attribute mapping from ruby-style variable name to JSON key.
42
40
  def self.attribute_map
43
41
  {
@@ -58,9 +56,7 @@ module PureCloud
58
56
 
59
57
  :'types' => :'types',
60
58
 
61
- :'results' => :'results',
62
-
63
- :'aggregations' => :'aggregations'
59
+ :'results' => :'results'
64
60
 
65
61
  }
66
62
  end
@@ -76,8 +72,7 @@ module PureCloud
76
72
  :'current_page' => :'String',
77
73
  :'next_page' => :'String',
78
74
  :'types' => :'Array<String>',
79
- :'results' => :'Array<User>',
80
- :'aggregations' => :'Array<User>'
75
+ :'results' => :'Array<User>'
81
76
 
82
77
  }
83
78
  end
@@ -129,12 +124,6 @@ module PureCloud
129
124
  end
130
125
  end
131
126
 
132
- if attributes[:'aggregations']
133
- if (value = attributes[:'aggregations']).is_a?(Array)
134
- self.aggregations = value
135
- end
136
- end
137
-
138
127
  end
139
128
 
140
129
  # Check equality by comparing each attribute.
@@ -149,8 +138,7 @@ module PureCloud
149
138
  current_page == o.current_page &&
150
139
  next_page == o.next_page &&
151
140
  types == o.types &&
152
- results == o.results &&
153
- aggregations == o.aggregations
141
+ results == o.results
154
142
  end
155
143
 
156
144
  # @see the `==` method
@@ -160,7 +148,7 @@ module PureCloud
160
148
 
161
149
  # Calculate hash code according to all attributes.
162
150
  def hash
163
- [total, page_count, page_size, page_number, previous_page, current_page, next_page, types, results, aggregations].hash
151
+ [total, page_count, page_size, page_number, previous_page, current_page, next_page, types, results].hash
164
152
  end
165
153
 
166
154
  # build the object from hash