purecloud 0.41.1 → 0.42.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/config-ruby.json +1 -1
  4. data/doc_out/ADFS.html.md +20 -0
  5. data/doc_out/CodesRequest.html.md +14 -0
  6. data/doc_out/ContactSort.html.md +1 -0
  7. data/doc_out/ContentQueryRequest.html.md +1 -0
  8. data/doc_out/ConversationAssociation.html.md +15 -0
  9. data/doc_out/CreateCallbackCommand.html.md +9 -9
  10. data/doc_out/CreateIntegrationRequest.html.md +16 -0
  11. data/doc_out/CustomerInteractionCenter.html.md +1 -0
  12. data/doc_out/DocusignTemplateMapping.html.md +16 -0
  13. data/doc_out/DomainEdgeSoftwareVersionDto.html.md +1 -1
  14. data/doc_out/EmbeddedSignatureView.html.md +1 -0
  15. data/doc_out/IdentityProviderApi.html.md +158 -0
  16. data/doc_out/Integration.html.md +4 -4
  17. data/doc_out/IntegrationConfiguration.html.md +3 -3
  18. data/doc_out/IntegrationStatusInfo.html.md +3 -3
  19. data/doc_out/IntegrationType.html.md +4 -4
  20. data/doc_out/JsonNode.html.md +4 -4
  21. data/doc_out/NumberOrder.html.md +2 -0
  22. data/doc_out/OAuthProvider.html.md +1 -0
  23. data/doc_out/Okta.html.md +1 -0
  24. data/doc_out/OneLogin.html.md +1 -0
  25. data/doc_out/PolicyActions.html.md +3 -2
  26. data/doc_out/PureCloud.html.md +1 -0
  27. data/doc_out/QueryRequest.html.md +1 -0
  28. data/doc_out/Response.html.md +1 -0
  29. data/doc_out/RoutingData.html.md +5 -5
  30. data/doc_out/Salesforce.html.md +1 -0
  31. data/doc_out/Script.html.md +1 -0
  32. data/doc_out/SignatureDocumentInfo.html.md +1 -0
  33. data/doc_out/TelephonyProvidersEdgeApi.html.md +15 -15
  34. data/doc_out/index.html.md +3 -3
  35. data/lib/purecloud.rb +5 -0
  36. data/lib/purecloud/api/identity_provider_api.rb +165 -0
  37. data/lib/purecloud/api/telephony_providers_edge_api.rb +10 -10
  38. data/lib/purecloud/api_client.rb +1 -1
  39. data/lib/purecloud/models/adfs.rb +239 -0
  40. data/lib/purecloud/models/codes_request.rb +175 -0
  41. data/lib/purecloud/models/contact_sort.rb +16 -4
  42. data/lib/purecloud/models/content_query_request.rb +16 -4
  43. data/lib/purecloud/models/conversation_association.rb +197 -0
  44. data/lib/purecloud/models/create_callback_command.rb +18 -8
  45. data/lib/purecloud/models/create_integration_request.rb +200 -0
  46. data/lib/purecloud/models/customer_interaction_center.rb +13 -1
  47. data/lib/purecloud/models/dependency.rb +1 -1
  48. data/lib/purecloud/models/dependency_object.rb +1 -1
  49. data/lib/purecloud/models/docusign_template_mapping.rb +197 -0
  50. data/lib/purecloud/models/domain_edge_software_version_dto.rb +13 -13
  51. data/lib/purecloud/models/embedded_signature_view.rb +15 -4
  52. data/lib/purecloud/models/flow.rb +1 -1
  53. data/lib/purecloud/models/integration.rb +2 -1
  54. data/lib/purecloud/models/integration_type.rb +1 -10
  55. data/lib/purecloud/models/json_node.rb +49 -49
  56. data/lib/purecloud/models/number_order.rb +23 -1
  57. data/lib/purecloud/models/o_auth_provider.rb +13 -1
  58. data/lib/purecloud/models/okta.rb +13 -1
  59. data/lib/purecloud/models/one_login.rb +13 -1
  60. data/lib/purecloud/models/policy_actions.rb +16 -1
  61. data/lib/purecloud/models/pure_cloud.rb +13 -1
  62. data/lib/purecloud/models/query_request.rb +16 -4
  63. data/lib/purecloud/models/response.rb +21 -1
  64. data/lib/purecloud/models/response_text.rb +9 -0
  65. data/lib/purecloud/models/routing_data.rb +5 -0
  66. data/lib/purecloud/models/salesforce.rb +13 -1
  67. data/lib/purecloud/models/script.rb +13 -1
  68. data/lib/purecloud/models/signature_document_info.rb +15 -4
  69. data/lib/purecloud/version.rb +1 -1
  70. data/newVersion.md +1 -1
  71. data/swagger.json +1 -1
  72. data/version.json +1 -1
  73. metadata +12 -2
@@ -18,10 +18,15 @@ require 'date'
18
18
 
19
19
  module PureCloud
20
20
  class PolicyActions
21
+ # true to retain the recording associated with the conversation. Default = true
21
22
  attr_accessor :retain_recording
22
23
 
24
+ # true to delete the recording associated with the conversation. If retainRecording = true, this will be ignored. Default = false
23
25
  attr_accessor :delete_recording
24
26
 
27
+ # true to delete the recording associated with the conversation regardless of the values of retainRecording or deleteRecording. Default = false
28
+ attr_accessor :always_delete
29
+
25
30
  attr_accessor :assign_evaluations
26
31
 
27
32
  attr_accessor :assign_metered_evaluations
@@ -40,6 +45,8 @@ module PureCloud
40
45
 
41
46
  :'delete_recording' => :'deleteRecording',
42
47
 
48
+ :'always_delete' => :'alwaysDelete',
49
+
43
50
  :'assign_evaluations' => :'assignEvaluations',
44
51
 
45
52
  :'assign_metered_evaluations' => :'assignMeteredEvaluations',
@@ -58,6 +65,7 @@ module PureCloud
58
65
  {
59
66
  :'retain_recording' => :'BOOLEAN',
60
67
  :'delete_recording' => :'BOOLEAN',
68
+ :'always_delete' => :'BOOLEAN',
61
69
  :'assign_evaluations' => :'Array<EvaluationAssignment>',
62
70
  :'assign_metered_evaluations' => :'Array<MeteredEvaluationAssignment>',
63
71
  :'assign_calibrations' => :'Array<CalibrationAssignment>',
@@ -86,6 +94,12 @@ module PureCloud
86
94
  self.delete_recording = false
87
95
  end
88
96
 
97
+ if attributes[:'alwaysDelete']
98
+ self.always_delete = attributes[:'alwaysDelete']
99
+ else
100
+ self.always_delete = false
101
+ end
102
+
89
103
  if attributes[:'assignEvaluations']
90
104
  if (value = attributes[:'assignEvaluations']).is_a?(Array)
91
105
  self.assign_evaluations = value
@@ -120,6 +134,7 @@ module PureCloud
120
134
  self.class == o.class &&
121
135
  retain_recording == o.retain_recording &&
122
136
  delete_recording == o.delete_recording &&
137
+ always_delete == o.always_delete &&
123
138
  assign_evaluations == o.assign_evaluations &&
124
139
  assign_metered_evaluations == o.assign_metered_evaluations &&
125
140
  assign_calibrations == o.assign_calibrations &&
@@ -134,7 +149,7 @@ module PureCloud
134
149
 
135
150
  # Calculate hash code according to all attributes.
136
151
  def hash
137
- [retain_recording, delete_recording, assign_evaluations, assign_metered_evaluations, assign_calibrations, retention_duration, initiate_screen_recording].hash
152
+ [retain_recording, delete_recording, always_delete, assign_evaluations, assign_metered_evaluations, assign_calibrations, retention_duration, initiate_screen_recording].hash
138
153
  end
139
154
 
140
155
  # build the object from hash
@@ -23,6 +23,8 @@ module PureCloud
23
23
 
24
24
  attr_accessor :name
25
25
 
26
+ attr_accessor :disabled
27
+
26
28
  # The URI for this object
27
29
  attr_accessor :self_uri
28
30
 
@@ -34,6 +36,8 @@ module PureCloud
34
36
 
35
37
  :'name' => :'name',
36
38
 
39
+ :'disabled' => :'disabled',
40
+
37
41
  :'self_uri' => :'selfUri'
38
42
 
39
43
  }
@@ -44,6 +48,7 @@ module PureCloud
44
48
  {
45
49
  :'id' => :'String',
46
50
  :'name' => :'String',
51
+ :'disabled' => :'BOOLEAN',
47
52
  :'self_uri' => :'String'
48
53
 
49
54
  }
@@ -64,6 +69,12 @@ module PureCloud
64
69
  self.name = attributes[:'name']
65
70
  end
66
71
 
72
+ if attributes[:'disabled']
73
+ self.disabled = attributes[:'disabled']
74
+ else
75
+ self.disabled = false
76
+ end
77
+
67
78
  if attributes[:'selfUri']
68
79
  self.self_uri = attributes[:'selfUri']
69
80
  end
@@ -76,6 +87,7 @@ module PureCloud
76
87
  self.class == o.class &&
77
88
  id == o.id &&
78
89
  name == o.name &&
90
+ disabled == o.disabled &&
79
91
  self_uri == o.self_uri
80
92
  end
81
93
 
@@ -86,7 +98,7 @@ module PureCloud
86
98
 
87
99
  # Calculate hash code according to all attributes.
88
100
  def hash
89
- [id, name, self_uri].hash
101
+ [id, name, disabled, self_uri].hash
90
102
  end
91
103
 
92
104
  # build the object from hash
@@ -32,6 +32,8 @@ module PureCloud
32
32
 
33
33
  attr_accessor :attribute_filters
34
34
 
35
+ attr_accessor :include_shares
36
+
35
37
  # Attribute mapping from ruby-style variable name to JSON key.
36
38
  def self.attribute_map
37
39
  {
@@ -48,7 +50,9 @@ module PureCloud
48
50
 
49
51
  :'filters' => :'filters',
50
52
 
51
- :'attribute_filters' => :'attributeFilters'
53
+ :'attribute_filters' => :'attributeFilters',
54
+
55
+ :'include_shares' => :'includeShares'
52
56
 
53
57
  }
54
58
  end
@@ -62,7 +66,8 @@ module PureCloud
62
66
  :'facet_name_requests' => :'Array<String>',
63
67
  :'sort' => :'Array<SortItem>',
64
68
  :'filters' => :'Array<ContentFilterItem>',
65
- :'attribute_filters' => :'Array<AttributeFilterItem>'
69
+ :'attribute_filters' => :'Array<AttributeFilterItem>',
70
+ :'include_shares' => :'BOOLEAN'
66
71
 
67
72
  }
68
73
  end
@@ -110,6 +115,12 @@ module PureCloud
110
115
  end
111
116
  end
112
117
 
118
+ if attributes[:'includeShares']
119
+ self.include_shares = attributes[:'includeShares']
120
+ else
121
+ self.include_shares = false
122
+ end
123
+
113
124
  end
114
125
 
115
126
  # Check equality by comparing each attribute.
@@ -122,7 +133,8 @@ module PureCloud
122
133
  facet_name_requests == o.facet_name_requests &&
123
134
  sort == o.sort &&
124
135
  filters == o.filters &&
125
- attribute_filters == o.attribute_filters
136
+ attribute_filters == o.attribute_filters &&
137
+ include_shares == o.include_shares
126
138
  end
127
139
 
128
140
  # @see the `==` method
@@ -132,7 +144,7 @@ module PureCloud
132
144
 
133
145
  # Calculate hash code according to all attributes.
134
146
  def hash
135
- [query_phrase, page_number, page_size, facet_name_requests, sort, filters, attribute_filters].hash
147
+ [query_phrase, page_number, page_size, facet_name_requests, sort, filters, attribute_filters, include_shares].hash
136
148
  end
137
149
 
138
150
  # build the object from hash
@@ -39,6 +39,9 @@ module PureCloud
39
39
  # The date and time the response was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
40
40
  attr_accessor :date_created
41
41
 
42
+ # The interaction type for this response.
43
+ attr_accessor :interaction_type
44
+
42
45
  # The URI for this object
43
46
  attr_accessor :self_uri
44
47
 
@@ -60,6 +63,8 @@ module PureCloud
60
63
 
61
64
  :'date_created' => :'dateCreated',
62
65
 
66
+ :'interaction_type' => :'interactionType',
67
+
63
68
  :'self_uri' => :'selfUri'
64
69
 
65
70
  }
@@ -75,6 +80,7 @@ module PureCloud
75
80
  :'texts' => :'Array<ResponseText>',
76
81
  :'created_by' => :'User',
77
82
  :'date_created' => :'DateTime',
83
+ :'interaction_type' => :'String',
78
84
  :'self_uri' => :'String'
79
85
 
80
86
  }
@@ -119,12 +125,25 @@ module PureCloud
119
125
  self.date_created = attributes[:'dateCreated']
120
126
  end
121
127
 
128
+ if attributes[:'interactionType']
129
+ self.interaction_type = attributes[:'interactionType']
130
+ end
131
+
122
132
  if attributes[:'selfUri']
123
133
  self.self_uri = attributes[:'selfUri']
124
134
  end
125
135
 
126
136
  end
127
137
 
138
+ # Custom attribute writer method checking allowed values (enum).
139
+ def interaction_type=(interaction_type)
140
+ allowed_values = ["chat", "email", "twitter"]
141
+ if interaction_type && !allowed_values.include?(interaction_type)
142
+ fail "invalid value for 'interaction_type', must be one of #{allowed_values}"
143
+ end
144
+ @interaction_type = interaction_type
145
+ end
146
+
128
147
  # Check equality by comparing each attribute.
129
148
  def ==(o)
130
149
  return true if self.equal?(o)
@@ -136,6 +155,7 @@ module PureCloud
136
155
  texts == o.texts &&
137
156
  created_by == o.created_by &&
138
157
  date_created == o.date_created &&
158
+ interaction_type == o.interaction_type &&
139
159
  self_uri == o.self_uri
140
160
  end
141
161
 
@@ -146,7 +166,7 @@ module PureCloud
146
166
 
147
167
  # Calculate hash code according to all attributes.
148
168
  def hash
149
- [id, name, version, libraries, texts, created_by, date_created, self_uri].hash
169
+ [id, name, version, libraries, texts, created_by, date_created, interaction_type, self_uri].hash
150
170
  end
151
171
 
152
172
  # build the object from hash
@@ -62,6 +62,15 @@ module PureCloud
62
62
 
63
63
  end
64
64
 
65
+ # Custom attribute writer method checking allowed values (enum).
66
+ def content_type=(content_type)
67
+ allowed_values = ["text/plain", "text/html"]
68
+ if content_type && !allowed_values.include?(content_type)
69
+ fail "invalid value for 'content_type', must be one of #{allowed_values}"
70
+ end
71
+ @content_type = content_type
72
+ end
73
+
65
74
  # Check equality by comparing each attribute.
66
75
  def ==(o)
67
76
  return true if self.equal?(o)
@@ -18,14 +18,19 @@ require 'date'
18
18
 
19
19
  module PureCloud
20
20
  class RoutingData
21
+ # The identifier of the routing queue
21
22
  attr_accessor :queue_id
22
23
 
24
+ # The identifier of a language to be considered in routing
23
25
  attr_accessor :language_id
24
26
 
27
+ # The priority for routing
25
28
  attr_accessor :priority
26
29
 
30
+ # A list of skill identifiers to be considered in routing
27
31
  attr_accessor :skill_ids
28
32
 
33
+ # A list of agents to be preferred in routing
29
34
  attr_accessor :preferred_agent_ids
30
35
 
31
36
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -29,6 +29,8 @@ module PureCloud
29
29
 
30
30
  attr_accessor :sso_target_uri
31
31
 
32
+ attr_accessor :disabled
33
+
32
34
  # The URI for this object
33
35
  attr_accessor :self_uri
34
36
 
@@ -46,6 +48,8 @@ module PureCloud
46
48
 
47
49
  :'sso_target_uri' => :'ssoTargetURI',
48
50
 
51
+ :'disabled' => :'disabled',
52
+
49
53
  :'self_uri' => :'selfUri'
50
54
 
51
55
  }
@@ -59,6 +63,7 @@ module PureCloud
59
63
  :'certificate' => :'String',
60
64
  :'issuer_uri' => :'String',
61
65
  :'sso_target_uri' => :'String',
66
+ :'disabled' => :'BOOLEAN',
62
67
  :'self_uri' => :'String'
63
68
 
64
69
  }
@@ -91,6 +96,12 @@ module PureCloud
91
96
  self.sso_target_uri = attributes[:'ssoTargetURI']
92
97
  end
93
98
 
99
+ if attributes[:'disabled']
100
+ self.disabled = attributes[:'disabled']
101
+ else
102
+ self.disabled = false
103
+ end
104
+
94
105
  if attributes[:'selfUri']
95
106
  self.self_uri = attributes[:'selfUri']
96
107
  end
@@ -106,6 +117,7 @@ module PureCloud
106
117
  certificate == o.certificate &&
107
118
  issuer_uri == o.issuer_uri &&
108
119
  sso_target_uri == o.sso_target_uri &&
120
+ disabled == o.disabled &&
109
121
  self_uri == o.self_uri
110
122
  end
111
123
 
@@ -116,7 +128,7 @@ module PureCloud
116
128
 
117
129
  # Calculate hash code according to all attributes.
118
130
  def hash
119
- [id, name, certificate, issuer_uri, sso_target_uri, self_uri].hash
131
+ [id, name, certificate, issuer_uri, sso_target_uri, disabled, self_uri].hash
120
132
  end
121
133
 
122
134
  # build the object from hash
@@ -47,6 +47,8 @@ module PureCloud
47
47
 
48
48
  attr_accessor :custom_actions
49
49
 
50
+ attr_accessor :pages
51
+
50
52
  # The URI for this object
51
53
  attr_accessor :self_uri
52
54
 
@@ -78,6 +80,8 @@ module PureCloud
78
80
 
79
81
  :'custom_actions' => :'customActions',
80
82
 
83
+ :'pages' => :'pages',
84
+
81
85
  :'self_uri' => :'selfUri'
82
86
 
83
87
  }
@@ -98,6 +102,7 @@ module PureCloud
98
102
  :'features' => :'Object',
99
103
  :'variables' => :'Object',
100
104
  :'custom_actions' => :'Object',
105
+ :'pages' => :'Array<Page>',
101
106
  :'self_uri' => :'String'
102
107
 
103
108
  }
@@ -158,6 +163,12 @@ module PureCloud
158
163
  self.custom_actions = attributes[:'customActions']
159
164
  end
160
165
 
166
+ if attributes[:'pages']
167
+ if (value = attributes[:'pages']).is_a?(Array)
168
+ self.pages = value
169
+ end
170
+ end
171
+
161
172
  if attributes[:'selfUri']
162
173
  self.self_uri = attributes[:'selfUri']
163
174
  end
@@ -180,6 +191,7 @@ module PureCloud
180
191
  features == o.features &&
181
192
  variables == o.variables &&
182
193
  custom_actions == o.custom_actions &&
194
+ pages == o.pages &&
183
195
  self_uri == o.self_uri
184
196
  end
185
197
 
@@ -190,7 +202,7 @@ module PureCloud
190
202
 
191
203
  # Calculate hash code according to all attributes.
192
204
  def hash
193
- [id, name, version_id, created_date, modified_date, published_date, version_date, start_page_id, start_page_name, features, variables, custom_actions, self_uri].hash
205
+ [id, name, version_id, created_date, modified_date, published_date, version_date, start_page_id, start_page_name, features, variables, custom_actions, pages, self_uri].hash
194
206
  end
195
207
 
196
208
  # build the object from hash
@@ -24,6 +24,9 @@ module PureCloud
24
24
 
25
25
  attr_accessor :return_url
26
26
 
27
+ # Template ID alias for the ESignature template you would like to retrieve.
28
+ attr_accessor :template
29
+
27
30
  # Attribute mapping from ruby-style variable name to JSON key.
28
31
  def self.attribute_map
29
32
  {
@@ -32,7 +35,9 @@ module PureCloud
32
35
 
33
36
  :'user' => :'user',
34
37
 
35
- :'return_url' => :'returnUrl'
38
+ :'return_url' => :'returnUrl',
39
+
40
+ :'template' => :'template'
36
41
 
37
42
  }
38
43
  end
@@ -42,7 +47,8 @@ module PureCloud
42
47
  {
43
48
  :'org' => :'Organization',
44
49
  :'user' => :'User',
45
- :'return_url' => :'String'
50
+ :'return_url' => :'String',
51
+ :'template' => :'DocusignTemplateMapping'
46
52
 
47
53
  }
48
54
  end
@@ -66,6 +72,10 @@ module PureCloud
66
72
  self.return_url = attributes[:'returnUrl']
67
73
  end
68
74
 
75
+ if attributes[:'template']
76
+ self.template = attributes[:'template']
77
+ end
78
+
69
79
  end
70
80
 
71
81
  # Check equality by comparing each attribute.
@@ -74,7 +84,8 @@ module PureCloud
74
84
  self.class == o.class &&
75
85
  org == o.org &&
76
86
  user == o.user &&
77
- return_url == o.return_url
87
+ return_url == o.return_url &&
88
+ template == o.template
78
89
  end
79
90
 
80
91
  # @see the `==` method
@@ -84,7 +95,7 @@ module PureCloud
84
95
 
85
96
  # Calculate hash code according to all attributes.
86
97
  def hash
87
- [org, user, return_url].hash
98
+ [org, user, return_url, template].hash
88
99
  end
89
100
 
90
101
  # build the object from hash
@@ -15,5 +15,5 @@ Terms of Service: https://developer.mypurecloud.com/tos
15
15
  =end
16
16
 
17
17
  module PureCloud
18
- VERSION = "0.41.1"
18
+ VERSION = "0.42.1"
19
19
  end