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.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/ADFS.md +1 -1
- data/docs/AnalyticsEvaluation.md +1 -1
- data/docs/ArchitectApi.md +16 -16
- data/docs/AuthorizationApi.md +2 -2
- data/docs/CustomerInteractionCenter.md +1 -1
- data/docs/EntityListing.md +1 -5
- data/docs/ExternalContactsApi.md +20 -15
- data/docs/GSuite.md +1 -1
- data/docs/IdentityNow.md +1 -1
- data/docs/Library.md +1 -1
- data/docs/ManagementUnit.md +1 -1
- data/docs/MessagingTemplate.md +1 -3
- data/docs/Okta.md +1 -1
- data/docs/OneLogin.md +1 -1
- data/docs/PingIdentity.md +1 -1
- data/docs/PureEngage.md +1 -1
- data/docs/Response.md +2 -2
- data/docs/ResponseManagementApi.md +3 -1
- data/docs/Salesforce.md +1 -1
- data/docs/UsersApi.md +2 -2
- data/docs/ViewFilter.md +3 -0
- data/docs/WhatsAppDefinition.md +15 -0
- data/lib/purecloudplatformclientv2.rb +1 -1
- data/lib/purecloudplatformclientv2/api/architect_api.rb +6 -6
- data/lib/purecloudplatformclientv2/api/authorization_api.rb +2 -2
- data/lib/purecloudplatformclientv2/api/external_contacts_api.rb +30 -25
- data/lib/purecloudplatformclientv2/api/response_management_api.rb +13 -0
- data/lib/purecloudplatformclientv2/api/users_api.rb +2 -2
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/adfs.rb +12 -12
- data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +13 -13
- data/lib/purecloudplatformclientv2/models/analytics_flow.rb +2 -2
- data/lib/purecloudplatformclientv2/models/audit_log_message.rb +6 -6
- data/lib/purecloudplatformclientv2/models/audit_query_execution_status_response.rb +2 -2
- data/lib/purecloudplatformclientv2/models/audit_query_request.rb +2 -2
- data/lib/purecloudplatformclientv2/models/customer_interaction_center.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dependency.rb +2 -2
- data/lib/purecloudplatformclientv2/models/dependency_object.rb +2 -2
- data/lib/purecloudplatformclientv2/models/dialer_campaign_config_change_campaign.rb +2 -2
- data/lib/purecloudplatformclientv2/models/entity_listing.rb +4 -104
- data/lib/purecloudplatformclientv2/models/flow.rb +2 -2
- data/lib/purecloudplatformclientv2/models/flow_division_view.rb +2 -2
- data/lib/purecloudplatformclientv2/models/g_suite.rb +12 -12
- data/lib/purecloudplatformclientv2/models/identity_now.rb +12 -12
- data/lib/purecloudplatformclientv2/models/library.rb +1 -1
- data/lib/purecloudplatformclientv2/models/management_unit.rb +13 -13
- data/lib/purecloudplatformclientv2/models/messaging_template.rb +9 -76
- data/lib/purecloudplatformclientv2/models/okta.rb +12 -12
- data/lib/purecloudplatformclientv2/models/one_login.rb +12 -12
- data/lib/purecloudplatformclientv2/models/ping_identity.rb +12 -12
- data/lib/purecloudplatformclientv2/models/pure_engage.rb +12 -12
- data/lib/purecloudplatformclientv2/models/response.rb +2 -2
- data/lib/purecloudplatformclientv2/models/salesforce.rb +12 -12
- data/lib/purecloudplatformclientv2/models/view_filter.rb +86 -4
- data/lib/purecloudplatformclientv2/models/whats_app_definition.rb +270 -0
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +4 -4
- data/docs/MessagingApi.md +0 -84
- 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?(:'
|
130
|
+
if attributes.has_key?(:'ssoTargetURI')
|
131
131
|
|
132
132
|
|
133
|
-
self.
|
133
|
+
self.sso_target_uri = attributes[:'ssoTargetURI']
|
134
134
|
|
135
135
|
|
136
136
|
end
|
137
137
|
|
138
138
|
|
139
|
-
if attributes.has_key?(:'
|
139
|
+
if attributes.has_key?(:'issuerURI')
|
140
140
|
|
141
141
|
|
142
|
-
self.
|
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,
|
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
|
-
#
|
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?(:'
|
193
|
+
if attributes.has_key?(:'modifiedBy')
|
194
194
|
|
195
195
|
|
196
|
-
self.
|
196
|
+
self.modified_by = attributes[:'modifiedBy']
|
197
197
|
|
198
198
|
|
199
199
|
end
|
200
200
|
|
201
201
|
|
202
|
-
if attributes.has_key?(:'
|
202
|
+
if attributes.has_key?(:'dateModified')
|
203
203
|
|
204
204
|
|
205
|
-
self.
|
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,
|
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.
|
20
|
+
# The messaging template identifies a structured message templates supported by a messaging channel.
|
21
21
|
class MessagingTemplate
|
22
|
-
#
|
23
|
-
attr_accessor :
|
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
|
-
:'
|
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
|
-
:'
|
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?(:'
|
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.
|
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
|
-
|
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
|
-
[
|
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?(:'
|
115
|
+
if attributes.has_key?(:'ssoTargetURI')
|
116
116
|
|
117
117
|
|
118
|
-
self.
|
118
|
+
self.sso_target_uri = attributes[:'ssoTargetURI']
|
119
119
|
|
120
120
|
|
121
121
|
end
|
122
122
|
|
123
123
|
|
124
|
-
if attributes.has_key?(:'
|
124
|
+
if attributes.has_key?(:'issuerURI')
|
125
125
|
|
126
126
|
|
127
|
-
self.
|
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,
|
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?(:'
|
115
|
+
if attributes.has_key?(:'ssoTargetURI')
|
116
116
|
|
117
117
|
|
118
|
-
self.
|
118
|
+
self.sso_target_uri = attributes[:'ssoTargetURI']
|
119
119
|
|
120
120
|
|
121
121
|
end
|
122
122
|
|
123
123
|
|
124
|
-
if attributes.has_key?(:'
|
124
|
+
if attributes.has_key?(:'issuerURI')
|
125
125
|
|
126
126
|
|
127
|
-
self.
|
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,
|
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
|