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,26 +18,28 @@ require 'date'
18
18
 
19
19
  module PureCloud
20
20
  class JsonNode
21
+ attr_accessor :floating_point_number
22
+
23
+ attr_accessor :missing_node
24
+
21
25
  attr_accessor :node_type
22
26
 
23
27
  attr_accessor :float
24
28
 
29
+ attr_accessor :value_node
30
+
31
+ attr_accessor :container_node
32
+
25
33
  attr_accessor :object
26
34
 
27
35
  attr_accessor :boolean
28
36
 
29
37
  attr_accessor :number
30
38
 
31
- attr_accessor :container_node
32
-
33
- attr_accessor :missing_node
34
-
35
39
  attr_accessor :pojo
36
40
 
37
41
  attr_accessor :integral_number
38
42
 
39
- attr_accessor :floating_point_number
40
-
41
43
  attr_accessor :short
42
44
 
43
45
  attr_accessor :int
@@ -54,8 +56,6 @@ module PureCloud
54
56
 
55
57
  attr_accessor :binary
56
58
 
57
- attr_accessor :value_node
58
-
59
59
  attr_accessor :array
60
60
 
61
61
  attr_accessor :null
@@ -64,26 +64,28 @@ module PureCloud
64
64
  def self.attribute_map
65
65
  {
66
66
 
67
+ :'floating_point_number' => :'floatingPointNumber',
68
+
69
+ :'missing_node' => :'missingNode',
70
+
67
71
  :'node_type' => :'nodeType',
68
72
 
69
73
  :'float' => :'float',
70
74
 
75
+ :'value_node' => :'valueNode',
76
+
77
+ :'container_node' => :'containerNode',
78
+
71
79
  :'object' => :'object',
72
80
 
73
81
  :'boolean' => :'boolean',
74
82
 
75
83
  :'number' => :'number',
76
84
 
77
- :'container_node' => :'containerNode',
78
-
79
- :'missing_node' => :'missingNode',
80
-
81
85
  :'pojo' => :'pojo',
82
86
 
83
87
  :'integral_number' => :'integralNumber',
84
88
 
85
- :'floating_point_number' => :'floatingPointNumber',
86
-
87
89
  :'short' => :'short',
88
90
 
89
91
  :'int' => :'int',
@@ -100,8 +102,6 @@ module PureCloud
100
102
 
101
103
  :'binary' => :'binary',
102
104
 
103
- :'value_node' => :'valueNode',
104
-
105
105
  :'array' => :'array',
106
106
 
107
107
  :'null' => :'null'
@@ -112,16 +112,17 @@ module PureCloud
112
112
  # Attribute type mapping.
113
113
  def self.swagger_types
114
114
  {
115
+ :'floating_point_number' => :'BOOLEAN',
116
+ :'missing_node' => :'BOOLEAN',
115
117
  :'node_type' => :'String',
116
118
  :'float' => :'BOOLEAN',
119
+ :'value_node' => :'BOOLEAN',
120
+ :'container_node' => :'BOOLEAN',
117
121
  :'object' => :'BOOLEAN',
118
122
  :'boolean' => :'BOOLEAN',
119
123
  :'number' => :'BOOLEAN',
120
- :'container_node' => :'BOOLEAN',
121
- :'missing_node' => :'BOOLEAN',
122
124
  :'pojo' => :'BOOLEAN',
123
125
  :'integral_number' => :'BOOLEAN',
124
- :'floating_point_number' => :'BOOLEAN',
125
126
  :'short' => :'BOOLEAN',
126
127
  :'int' => :'BOOLEAN',
127
128
  :'long' => :'BOOLEAN',
@@ -130,7 +131,6 @@ module PureCloud
130
131
  :'big_integer' => :'BOOLEAN',
131
132
  :'textual' => :'BOOLEAN',
132
133
  :'binary' => :'BOOLEAN',
133
- :'value_node' => :'BOOLEAN',
134
134
  :'array' => :'BOOLEAN',
135
135
  :'null' => :'BOOLEAN'
136
136
 
@@ -144,6 +144,18 @@ module PureCloud
144
144
  attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
145
145
 
146
146
 
147
+ if attributes[:'floatingPointNumber']
148
+ self.floating_point_number = attributes[:'floatingPointNumber']
149
+ else
150
+ self.floating_point_number = false
151
+ end
152
+
153
+ if attributes[:'missingNode']
154
+ self.missing_node = attributes[:'missingNode']
155
+ else
156
+ self.missing_node = false
157
+ end
158
+
147
159
  if attributes[:'nodeType']
148
160
  self.node_type = attributes[:'nodeType']
149
161
  end
@@ -154,6 +166,18 @@ module PureCloud
154
166
  self.float = false
155
167
  end
156
168
 
169
+ if attributes[:'valueNode']
170
+ self.value_node = attributes[:'valueNode']
171
+ else
172
+ self.value_node = false
173
+ end
174
+
175
+ if attributes[:'containerNode']
176
+ self.container_node = attributes[:'containerNode']
177
+ else
178
+ self.container_node = false
179
+ end
180
+
157
181
  if attributes[:'object']
158
182
  self.object = attributes[:'object']
159
183
  else
@@ -172,18 +196,6 @@ module PureCloud
172
196
  self.number = false
173
197
  end
174
198
 
175
- if attributes[:'containerNode']
176
- self.container_node = attributes[:'containerNode']
177
- else
178
- self.container_node = false
179
- end
180
-
181
- if attributes[:'missingNode']
182
- self.missing_node = attributes[:'missingNode']
183
- else
184
- self.missing_node = false
185
- end
186
-
187
199
  if attributes[:'pojo']
188
200
  self.pojo = attributes[:'pojo']
189
201
  else
@@ -196,12 +208,6 @@ module PureCloud
196
208
  self.integral_number = false
197
209
  end
198
210
 
199
- if attributes[:'floatingPointNumber']
200
- self.floating_point_number = attributes[:'floatingPointNumber']
201
- else
202
- self.floating_point_number = false
203
- end
204
-
205
211
  if attributes[:'short']
206
212
  self.short = attributes[:'short']
207
213
  else
@@ -250,12 +256,6 @@ module PureCloud
250
256
  self.binary = false
251
257
  end
252
258
 
253
- if attributes[:'valueNode']
254
- self.value_node = attributes[:'valueNode']
255
- else
256
- self.value_node = false
257
- end
258
-
259
259
  if attributes[:'array']
260
260
  self.array = attributes[:'array']
261
261
  else
@@ -283,16 +283,17 @@ module PureCloud
283
283
  def ==(o)
284
284
  return true if self.equal?(o)
285
285
  self.class == o.class &&
286
+ floating_point_number == o.floating_point_number &&
287
+ missing_node == o.missing_node &&
286
288
  node_type == o.node_type &&
287
289
  float == o.float &&
290
+ value_node == o.value_node &&
291
+ container_node == o.container_node &&
288
292
  object == o.object &&
289
293
  boolean == o.boolean &&
290
294
  number == o.number &&
291
- container_node == o.container_node &&
292
- missing_node == o.missing_node &&
293
295
  pojo == o.pojo &&
294
296
  integral_number == o.integral_number &&
295
- floating_point_number == o.floating_point_number &&
296
297
  short == o.short &&
297
298
  int == o.int &&
298
299
  long == o.long &&
@@ -301,7 +302,6 @@ module PureCloud
301
302
  big_integer == o.big_integer &&
302
303
  textual == o.textual &&
303
304
  binary == o.binary &&
304
- value_node == o.value_node &&
305
305
  array == o.array &&
306
306
  null == o.null
307
307
  end
@@ -313,7 +313,7 @@ module PureCloud
313
313
 
314
314
  # Calculate hash code according to all attributes.
315
315
  def hash
316
- [node_type, float, object, boolean, number, container_node, missing_node, pojo, integral_number, floating_point_number, short, int, long, double, big_decimal, big_integer, textual, binary, value_node, array, null].hash
316
+ [floating_point_number, missing_node, node_type, float, value_node, container_node, object, boolean, number, pojo, integral_number, short, int, long, double, big_decimal, big_integer, textual, binary, array, null].hash
317
317
  end
318
318
 
319
319
  # build the object from hash
@@ -59,6 +59,12 @@ module PureCloud
59
59
  # Company name for a number port
60
60
  attr_accessor :company_name
61
61
 
62
+ # Country dial in codes (telephone dialing prefixes)
63
+ attr_accessor :country_code
64
+
65
+ # Id of the terms and conditions envelope for the order.
66
+ attr_accessor :envelope_id
67
+
62
68
  # The URI for this object
63
69
  attr_accessor :self_uri
64
70
 
@@ -94,6 +100,10 @@ module PureCloud
94
100
 
95
101
  :'company_name' => :'companyName',
96
102
 
103
+ :'country_code' => :'countryCode',
104
+
105
+ :'envelope_id' => :'envelopeId',
106
+
97
107
  :'self_uri' => :'selfUri'
98
108
 
99
109
  }
@@ -116,6 +126,8 @@ module PureCloud
116
126
  :'billing_address' => :'PortBillingAddress',
117
127
  :'responsible_contact' => :'PortContact',
118
128
  :'company_name' => :'String',
129
+ :'country_code' => :'String',
130
+ :'envelope_id' => :'String',
119
131
  :'self_uri' => :'String'
120
132
 
121
133
  }
@@ -186,6 +198,14 @@ module PureCloud
186
198
  self.company_name = attributes[:'companyName']
187
199
  end
188
200
 
201
+ if attributes[:'countryCode']
202
+ self.country_code = attributes[:'countryCode']
203
+ end
204
+
205
+ if attributes[:'envelopeId']
206
+ self.envelope_id = attributes[:'envelopeId']
207
+ end
208
+
189
209
  if attributes[:'selfUri']
190
210
  self.self_uri = attributes[:'selfUri']
191
211
  end
@@ -228,6 +248,8 @@ module PureCloud
228
248
  billing_address == o.billing_address &&
229
249
  responsible_contact == o.responsible_contact &&
230
250
  company_name == o.company_name &&
251
+ country_code == o.country_code &&
252
+ envelope_id == o.envelope_id &&
231
253
  self_uri == o.self_uri
232
254
  end
233
255
 
@@ -238,7 +260,7 @@ module PureCloud
238
260
 
239
261
  # Calculate hash code according to all attributes.
240
262
  def hash
241
- [id, name, did, effective_start_date, effective_end_date, last_updated, start_auth_user_id, end_auth_user_id, status, phone_number_type, porting, billing_address, responsible_contact, company_name, self_uri].hash
263
+ [id, name, did, effective_start_date, effective_end_date, last_updated, start_auth_user_id, end_auth_user_id, status, phone_number_type, porting, billing_address, responsible_contact, company_name, country_code, envelope_id, self_uri].hash
242
264
  end
243
265
 
244
266
  # 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
@@ -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
@@ -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