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
@@ -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
@@ -33,7 +33,7 @@ module PureCloud
33
33
  # 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
34
34
  attr_accessor :date_created
35
35
 
36
- # The response type for the library. If set, only response's of this type may be added to this library.
36
+ # This value is deprecated. Responses representing message templates may be added to any library.
37
37
  attr_accessor :response_type
38
38
 
39
39
  # The URI for this object
@@ -42,12 +42,12 @@ module PureCloud
42
42
  # The version of the underlying entity. Deprecated, use field from settings.metadata instead
43
43
  attr_accessor :version
44
44
 
45
- # The date and time at which this entity was last modified. Deprecated, use field from settings.metadata instead. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
46
- attr_accessor :date_modified
47
-
48
45
  # The user who last modified this entity. Deprecated, use field from settings.metadata instead
49
46
  attr_accessor :modified_by
50
47
 
48
+ # The date and time at which this entity was last modified. Deprecated, use field from settings.metadata instead. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
49
+ attr_accessor :date_modified
50
+
51
51
  # The URI for this object
52
52
  attr_accessor :self_uri
53
53
 
@@ -71,10 +71,10 @@ module PureCloud
71
71
 
72
72
  :'version' => :'version',
73
73
 
74
- :'date_modified' => :'dateModified',
75
-
76
74
  :'modified_by' => :'modifiedBy',
77
75
 
76
+ :'date_modified' => :'dateModified',
77
+
78
78
  :'self_uri' => :'selfUri'
79
79
 
80
80
  }
@@ -100,10 +100,10 @@ module PureCloud
100
100
 
101
101
  :'version' => :'Integer',
102
102
 
103
- :'date_modified' => :'DateTime',
104
-
105
103
  :'modified_by' => :'UserReference',
106
104
 
105
+ :'date_modified' => :'DateTime',
106
+
107
107
  :'self_uri' => :'String'
108
108
 
109
109
  }
@@ -190,19 +190,19 @@ module PureCloud
190
190
  end
191
191
 
192
192
 
193
- if attributes.has_key?(:'dateModified')
193
+ if attributes.has_key?(:'modifiedBy')
194
194
 
195
195
 
196
- self.date_modified = attributes[:'dateModified']
196
+ self.modified_by = attributes[:'modifiedBy']
197
197
 
198
198
 
199
199
  end
200
200
 
201
201
 
202
- if attributes.has_key?(:'modifiedBy')
202
+ if attributes.has_key?(:'dateModified')
203
203
 
204
204
 
205
- self.modified_by = attributes[:'modifiedBy']
205
+ self.date_modified = attributes[:'dateModified']
206
206
 
207
207
 
208
208
  end
@@ -361,8 +361,8 @@ module PureCloud
361
361
  settings == o.settings &&
362
362
  metadata == o.metadata &&
363
363
  version == o.version &&
364
- date_modified == o.date_modified &&
365
364
  modified_by == o.modified_by &&
365
+ date_modified == o.date_modified &&
366
366
  self_uri == o.self_uri
367
367
  end
368
368
 
@@ -375,7 +375,7 @@ module PureCloud
375
375
  # Calculates hash code according to all attributes.
376
376
  # @return [Fixnum] Hash code
377
377
  def hash
378
- [id, name, division, start_day_of_week, time_zone, settings, metadata, version, date_modified, modified_by, self_uri].hash
378
+ [id, name, division, start_day_of_week, time_zone, settings, metadata, version, modified_by, date_modified, self_uri].hash
379
379
  end
380
380
 
381
381
  # build the object from hash
@@ -17,26 +17,16 @@ Terms of Service: https://help.mypurecloud.com/articles/terms-and-conditions/
17
17
  require 'date'
18
18
 
19
19
  module PureCloud
20
- # The messaging template identifies a structured message templates supported by a messaging channel. For example, WhatsApp
20
+ # The messaging template identifies a structured message templates supported by a messaging channel.
21
21
  class MessagingTemplate
22
- # The messaging template name.
23
- attr_accessor :name
24
-
25
- # The messaging template namespace.
26
- attr_accessor :namespace
27
-
28
- # The messaging template language. For example, 'en-US'
29
- attr_accessor :language
22
+ # Defines a messaging template for a WhatsApp messaging channel
23
+ attr_accessor :whats_app
30
24
 
31
25
  # Attribute mapping from ruby-style variable name to JSON key.
32
26
  def self.attribute_map
33
27
  {
34
28
 
35
- :'name' => :'name',
36
-
37
- :'namespace' => :'namespace',
38
-
39
- :'language' => :'language'
29
+ :'whats_app' => :'whatsApp'
40
30
 
41
31
  }
42
32
  end
@@ -45,11 +35,7 @@ module PureCloud
45
35
  def self.swagger_types
46
36
  {
47
37
 
48
- :'name' => :'String',
49
-
50
- :'namespace' => :'String',
51
-
52
- :'language' => :'String'
38
+ :'whats_app' => :'WhatsAppDefinition'
53
39
 
54
40
  }
55
41
  end
@@ -63,28 +49,10 @@ module PureCloud
63
49
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
64
50
 
65
51
 
66
- if attributes.has_key?(:'name')
67
-
68
-
69
- self.name = attributes[:'name']
70
-
71
-
72
- end
73
-
74
-
75
- if attributes.has_key?(:'namespace')
76
-
77
-
78
- self.namespace = attributes[:'namespace']
79
-
80
-
81
- end
82
-
83
-
84
- if attributes.has_key?(:'language')
52
+ if attributes.has_key?(:'whatsApp')
85
53
 
86
54
 
87
- self.language = attributes[:'language']
55
+ self.whats_app = attributes[:'whatsApp']
88
56
 
89
57
 
90
58
  end
@@ -106,29 +74,6 @@ module PureCloud
106
74
  def valid?
107
75
 
108
76
 
109
- if @name.nil?
110
- return false
111
- end
112
-
113
-
114
-
115
-
116
-
117
-
118
- if @namespace.nil?
119
- return false
120
- end
121
-
122
-
123
-
124
-
125
-
126
-
127
- if @language.nil?
128
- return false
129
- end
130
-
131
-
132
77
 
133
78
 
134
79
 
@@ -140,24 +85,12 @@ module PureCloud
140
85
 
141
86
 
142
87
 
143
-
144
-
145
-
146
-
147
-
148
-
149
-
150
-
151
-
152
-
153
88
  # Checks equality by comparing each attribute.
154
89
  # @param [Object] Object to be compared
155
90
  def ==(o)
156
91
  return true if self.equal?(o)
157
92
  self.class == o.class &&
158
- name == o.name &&
159
- namespace == o.namespace &&
160
- language == o.language
93
+ whats_app == o.whats_app
161
94
  end
162
95
 
163
96
  # @see the `==` method
@@ -169,7 +102,7 @@ module PureCloud
169
102
  # Calculates hash code according to all attributes.
170
103
  # @return [Fixnum] Hash code
171
104
  def hash
172
- [name, namespace, language].hash
105
+ [whats_app].hash
173
106
  end
174
107
 
175
108
  # build the object from hash
@@ -25,10 +25,10 @@ module PureCloud
25
25
 
26
26
  attr_accessor :certificate
27
27
 
28
- attr_accessor :issuer_uri
29
-
30
28
  attr_accessor :sso_target_uri
31
29
 
30
+ attr_accessor :issuer_uri
31
+
32
32
  attr_accessor :disabled
33
33
 
34
34
  # The URI for this object
@@ -44,10 +44,10 @@ module PureCloud
44
44
 
45
45
  :'certificate' => :'certificate',
46
46
 
47
- :'issuer_uri' => :'issuerURI',
48
-
49
47
  :'sso_target_uri' => :'ssoTargetURI',
50
48
 
49
+ :'issuer_uri' => :'issuerURI',
50
+
51
51
  :'disabled' => :'disabled',
52
52
 
53
53
  :'self_uri' => :'selfUri'
@@ -65,10 +65,10 @@ module PureCloud
65
65
 
66
66
  :'certificate' => :'String',
67
67
 
68
- :'issuer_uri' => :'String',
69
-
70
68
  :'sso_target_uri' => :'String',
71
69
 
70
+ :'issuer_uri' => :'String',
71
+
72
72
  :'disabled' => :'BOOLEAN',
73
73
 
74
74
  :'self_uri' => :'String'
@@ -112,19 +112,19 @@ module PureCloud
112
112
  end
113
113
 
114
114
 
115
- if attributes.has_key?(:'issuerURI')
115
+ if attributes.has_key?(:'ssoTargetURI')
116
116
 
117
117
 
118
- self.issuer_uri = attributes[:'issuerURI']
118
+ self.sso_target_uri = attributes[:'ssoTargetURI']
119
119
 
120
120
 
121
121
  end
122
122
 
123
123
 
124
- if attributes.has_key?(:'ssoTargetURI')
124
+ if attributes.has_key?(:'issuerURI')
125
125
 
126
126
 
127
- self.sso_target_uri = attributes[:'ssoTargetURI']
127
+ self.issuer_uri = attributes[:'issuerURI']
128
128
 
129
129
 
130
130
  end
@@ -237,8 +237,8 @@ module PureCloud
237
237
  id == o.id &&
238
238
  name == o.name &&
239
239
  certificate == o.certificate &&
240
- issuer_uri == o.issuer_uri &&
241
240
  sso_target_uri == o.sso_target_uri &&
241
+ issuer_uri == o.issuer_uri &&
242
242
  disabled == o.disabled &&
243
243
  self_uri == o.self_uri
244
244
  end
@@ -252,7 +252,7 @@ module PureCloud
252
252
  # Calculates hash code according to all attributes.
253
253
  # @return [Fixnum] Hash code
254
254
  def hash
255
- [id, name, certificate, issuer_uri, sso_target_uri, disabled, self_uri].hash
255
+ [id, name, certificate, sso_target_uri, issuer_uri, disabled, self_uri].hash
256
256
  end
257
257
 
258
258
  # build the object from hash
@@ -25,10 +25,10 @@ module PureCloud
25
25
 
26
26
  attr_accessor :certificate
27
27
 
28
- attr_accessor :issuer_uri
29
-
30
28
  attr_accessor :sso_target_uri
31
29
 
30
+ attr_accessor :issuer_uri
31
+
32
32
  attr_accessor :disabled
33
33
 
34
34
  # The URI for this object
@@ -44,10 +44,10 @@ module PureCloud
44
44
 
45
45
  :'certificate' => :'certificate',
46
46
 
47
- :'issuer_uri' => :'issuerURI',
48
-
49
47
  :'sso_target_uri' => :'ssoTargetURI',
50
48
 
49
+ :'issuer_uri' => :'issuerURI',
50
+
51
51
  :'disabled' => :'disabled',
52
52
 
53
53
  :'self_uri' => :'selfUri'
@@ -65,10 +65,10 @@ module PureCloud
65
65
 
66
66
  :'certificate' => :'String',
67
67
 
68
- :'issuer_uri' => :'String',
69
-
70
68
  :'sso_target_uri' => :'String',
71
69
 
70
+ :'issuer_uri' => :'String',
71
+
72
72
  :'disabled' => :'BOOLEAN',
73
73
 
74
74
  :'self_uri' => :'String'
@@ -112,19 +112,19 @@ module PureCloud
112
112
  end
113
113
 
114
114
 
115
- if attributes.has_key?(:'issuerURI')
115
+ if attributes.has_key?(:'ssoTargetURI')
116
116
 
117
117
 
118
- self.issuer_uri = attributes[:'issuerURI']
118
+ self.sso_target_uri = attributes[:'ssoTargetURI']
119
119
 
120
120
 
121
121
  end
122
122
 
123
123
 
124
- if attributes.has_key?(:'ssoTargetURI')
124
+ if attributes.has_key?(:'issuerURI')
125
125
 
126
126
 
127
- self.sso_target_uri = attributes[:'ssoTargetURI']
127
+ self.issuer_uri = attributes[:'issuerURI']
128
128
 
129
129
 
130
130
  end
@@ -237,8 +237,8 @@ module PureCloud
237
237
  id == o.id &&
238
238
  name == o.name &&
239
239
  certificate == o.certificate &&
240
- issuer_uri == o.issuer_uri &&
241
240
  sso_target_uri == o.sso_target_uri &&
241
+ issuer_uri == o.issuer_uri &&
242
242
  disabled == o.disabled &&
243
243
  self_uri == o.self_uri
244
244
  end
@@ -252,7 +252,7 @@ module PureCloud
252
252
  # Calculates hash code according to all attributes.
253
253
  # @return [Fixnum] Hash code
254
254
  def hash
255
- [id, name, certificate, issuer_uri, sso_target_uri, disabled, self_uri].hash
255
+ [id, name, certificate, sso_target_uri, issuer_uri, disabled, self_uri].hash
256
256
  end
257
257
 
258
258
  # build the object from hash