smooch-api 4.1.0 → 4.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -3
- data/docs/Action.md +2 -2
- data/docs/App.md +2 -2
- data/docs/AppApi.md +48 -48
- data/docs/AppSettings.md +2 -2
- data/docs/AppUser.md +6 -6
- data/docs/AppUserApi.md +78 -78
- data/docs/AppUserBusinessSystemsResponse.md +1 -1
- data/docs/AppUserLink.md +2 -2
- data/docs/AppUserPreCreate.md +3 -3
- data/docs/AppUserResponse.md +1 -1
- data/docs/AppUserUpdate.md +2 -2
- data/docs/AttachmentRemove.md +1 -1
- data/docs/AttachmentResponse.md +2 -2
- data/docs/AttachmentsApi.md +16 -16
- data/docs/AuthCodeResponse.md +1 -1
- data/docs/BusinessSystemItem.md +4 -4
- data/docs/ChannelEntityItem.md +3 -3
- data/docs/Client.md +4 -4
- data/docs/ClientInfo.md +8 -8
- data/docs/Conversation.md +2 -2
- data/docs/ConversationApi.md +42 -42
- data/docs/Destination.md +2 -2
- data/docs/DisplaySettings.md +1 -1
- data/docs/GetMessagesResponse.md +1 -1
- data/docs/Integration.md +44 -44
- data/docs/IntegrationApi.md +66 -66
- data/docs/IntegrationCreate.md +36 -36
- data/docs/IntegrationProfileUpdate.md +1 -1
- data/docs/IntegrationUpdate.md +16 -16
- data/docs/LinkRequestResponse.md +1 -1
- data/docs/LinkRequestResponseLinkRequests.md +1 -1
- data/docs/ListAppsResponse.md +1 -1
- data/docs/ListServiceAccountsResponse.md +2 -2
- data/docs/ListTemplatesResponse.md +1 -1
- data/docs/MenuApi.md +14 -14
- data/docs/Message.md +6 -6
- data/docs/MessageItem.md +2 -2
- data/docs/MessageOverride.md +8 -0
- data/docs/MessageOverrideWhatsapp.md +8 -0
- data/docs/MessagePost.md +4 -3
- data/docs/MessageResponse.md +1 -1
- data/docs/SecretKey.md +1 -1
- data/docs/ServiceAccount.md +1 -1
- data/docs/ServiceAccountApi.md +46 -46
- data/docs/ServiceAccountResponse.md +1 -1
- data/docs/Template.md +1 -1
- data/docs/TemplateApi.md +30 -30
- data/docs/TypingActivityTrigger.md +1 -1
- data/docs/Webhook.md +1 -1
- data/docs/WebhookApi.md +30 -30
- data/lib/smooch-api.rb +3 -1
- data/lib/smooch-api/api/app_api.rb +112 -112
- data/lib/smooch-api/api/app_user_api.rb +190 -190
- data/lib/smooch-api/api/attachments_api.rb +34 -34
- data/lib/smooch-api/api/conversation_api.rb +102 -102
- data/lib/smooch-api/api/integration_api.rb +161 -161
- data/lib/smooch-api/api/menu_api.rb +34 -34
- data/lib/smooch-api/api/service_account_api.rb +109 -109
- data/lib/smooch-api/api/template_api.rb +73 -73
- data/lib/smooch-api/api/webhook_api.rb +73 -73
- data/lib/smooch-api/api_client.rb +1 -1
- data/lib/smooch-api/api_error.rb +1 -1
- data/lib/smooch-api/configuration.rb +1 -1
- data/lib/smooch-api/models/action.rb +12 -12
- data/lib/smooch-api/models/app.rb +18 -18
- data/lib/smooch-api/models/app_create.rb +1 -1
- data/lib/smooch-api/models/app_response.rb +1 -1
- data/lib/smooch-api/models/app_settings.rb +12 -12
- data/lib/smooch-api/models/app_update.rb +1 -1
- data/lib/smooch-api/models/app_user.rb +38 -38
- data/lib/smooch-api/models/app_user_business_systems_response.rb +10 -10
- data/lib/smooch-api/models/app_user_channels_response.rb +1 -1
- data/lib/smooch-api/models/app_user_link.rb +12 -12
- data/lib/smooch-api/models/app_user_pre_create.rb +20 -20
- data/lib/smooch-api/models/app_user_response.rb +10 -10
- data/lib/smooch-api/models/app_user_update.rb +12 -12
- data/lib/smooch-api/models/attachment_remove.rb +10 -10
- data/lib/smooch-api/models/attachment_response.rb +18 -18
- data/lib/smooch-api/models/auth_code_response.rb +10 -10
- data/lib/smooch-api/models/business_system_item.rb +22 -22
- data/lib/smooch-api/models/channel_entity_item.rb +17 -17
- data/lib/smooch-api/models/client.rb +22 -22
- data/lib/smooch-api/models/client_info.rb +42 -42
- data/lib/smooch-api/models/confirmation.rb +1 -1
- data/lib/smooch-api/models/conversation.rb +18 -18
- data/lib/smooch-api/models/destination.rb +18 -18
- data/lib/smooch-api/models/display_settings.rb +7 -7
- data/lib/smooch-api/models/get_messages_response.rb +7 -7
- data/lib/smooch-api/models/integration.rb +225 -225
- data/lib/smooch-api/models/integration_create.rb +182 -182
- data/lib/smooch-api/models/integration_profile_update.rb +7 -7
- data/lib/smooch-api/models/integration_response.rb +1 -1
- data/lib/smooch-api/models/integration_update.rb +82 -82
- data/lib/smooch-api/models/jwt_response.rb +1 -1
- data/lib/smooch-api/models/link_request_response.rb +7 -7
- data/lib/smooch-api/models/link_request_response_link_requests.rb +10 -10
- data/lib/smooch-api/models/list_apps_response.rb +7 -7
- data/lib/smooch-api/models/list_integrations_response.rb +1 -1
- data/lib/smooch-api/models/list_secret_keys_response.rb +1 -1
- data/lib/smooch-api/models/list_service_accounts_response.rb +12 -12
- data/lib/smooch-api/models/list_templates_response.rb +7 -7
- data/lib/smooch-api/models/list_webhooks_response.rb +1 -1
- data/lib/smooch-api/models/menu.rb +1 -1
- data/lib/smooch-api/models/menu_item.rb +1 -1
- data/lib/smooch-api/models/menu_response.rb +1 -1
- data/lib/smooch-api/models/message.rb +41 -41
- data/lib/smooch-api/models/message_item.rb +12 -12
- data/lib/smooch-api/models/message_override.rb +188 -0
- data/lib/smooch-api/models/message_override_whatsapp.rb +189 -0
- data/lib/smooch-api/models/message_post.rb +30 -20
- data/lib/smooch-api/models/message_response.rb +7 -7
- data/lib/smooch-api/models/secret_key.rb +10 -10
- data/lib/smooch-api/models/secret_key_create.rb +1 -1
- data/lib/smooch-api/models/secret_key_response.rb +1 -1
- data/lib/smooch-api/models/service_account.rb +10 -10
- data/lib/smooch-api/models/service_account_create.rb +1 -1
- data/lib/smooch-api/models/service_account_response.rb +7 -7
- data/lib/smooch-api/models/service_account_update.rb +1 -1
- data/lib/smooch-api/models/source.rb +1 -1
- data/lib/smooch-api/models/sub_menu_item.rb +1 -1
- data/lib/smooch-api/models/template.rb +10 -10
- data/lib/smooch-api/models/template_create.rb +1 -1
- data/lib/smooch-api/models/template_response.rb +1 -1
- data/lib/smooch-api/models/template_update.rb +1 -1
- data/lib/smooch-api/models/typing_activity_trigger.rb +7 -7
- data/lib/smooch-api/models/webhook.rb +10 -10
- data/lib/smooch-api/models/webhook_create.rb +1 -1
- data/lib/smooch-api/models/webhook_response.rb +1 -1
- data/lib/smooch-api/models/webhook_update.rb +1 -1
- data/lib/smooch-api/version.rb +2 -2
- data/smooch-api.gemspec +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +6 -2
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 4.
|
6
|
+
OpenAPI spec version: 4.2
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -16,20 +16,20 @@ module SmoochApi
|
|
16
16
|
|
17
17
|
class DisplaySettings
|
18
18
|
# Specifies how to display all carousel images. Valid values are *horizontal* (default) and *square*.
|
19
|
-
attr_accessor :
|
19
|
+
attr_accessor :imageAspectRatio
|
20
20
|
|
21
21
|
|
22
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
23
23
|
def self.attribute_map
|
24
24
|
{
|
25
|
-
:'
|
25
|
+
:'imageAspectRatio' => :'imageAspectRatio'
|
26
26
|
}
|
27
27
|
end
|
28
28
|
|
29
29
|
# Attribute type mapping.
|
30
30
|
def self.swagger_types
|
31
31
|
{
|
32
|
-
:'
|
32
|
+
:'imageAspectRatio' => :'String'
|
33
33
|
}
|
34
34
|
end
|
35
35
|
|
@@ -42,7 +42,7 @@ module SmoochApi
|
|
42
42
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
43
43
|
|
44
44
|
if attributes.has_key?(:'imageAspectRatio')
|
45
|
-
self.
|
45
|
+
self.imageAspectRatio = attributes[:'imageAspectRatio']
|
46
46
|
end
|
47
47
|
|
48
48
|
end
|
@@ -65,7 +65,7 @@ module SmoochApi
|
|
65
65
|
def ==(o)
|
66
66
|
return true if self.equal?(o)
|
67
67
|
self.class == o.class &&
|
68
|
-
|
68
|
+
imageAspectRatio == o.imageAspectRatio
|
69
69
|
end
|
70
70
|
|
71
71
|
# @see the `==` method
|
@@ -77,7 +77,7 @@ module SmoochApi
|
|
77
77
|
# Calculates hash code according to all attributes.
|
78
78
|
# @return [Fixnum] Hash code
|
79
79
|
def hash
|
80
|
-
[
|
80
|
+
[imageAspectRatio].hash
|
81
81
|
end
|
82
82
|
|
83
83
|
# Builds the object from hash
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 4.
|
6
|
+
OpenAPI spec version: 4.2
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -22,7 +22,7 @@ module SmoochApi
|
|
22
22
|
attr_accessor :messages
|
23
23
|
|
24
24
|
# The URI for the next set of messages in the conversation.
|
25
|
-
attr_accessor :
|
25
|
+
attr_accessor :next
|
26
26
|
|
27
27
|
|
28
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -30,7 +30,7 @@ module SmoochApi
|
|
30
30
|
{
|
31
31
|
:'conversation' => :'conversation',
|
32
32
|
:'messages' => :'messages',
|
33
|
-
:'
|
33
|
+
:'next' => :'next'
|
34
34
|
}
|
35
35
|
end
|
36
36
|
|
@@ -39,7 +39,7 @@ module SmoochApi
|
|
39
39
|
{
|
40
40
|
:'conversation' => :'Conversation',
|
41
41
|
:'messages' => :'Array<Message>',
|
42
|
-
:'
|
42
|
+
:'next' => :'String'
|
43
43
|
}
|
44
44
|
end
|
45
45
|
|
@@ -62,7 +62,7 @@ module SmoochApi
|
|
62
62
|
end
|
63
63
|
|
64
64
|
if attributes.has_key?(:'next')
|
65
|
-
self.
|
65
|
+
self.next = attributes[:'next']
|
66
66
|
end
|
67
67
|
|
68
68
|
end
|
@@ -87,7 +87,7 @@ module SmoochApi
|
|
87
87
|
self.class == o.class &&
|
88
88
|
conversation == o.conversation &&
|
89
89
|
messages == o.messages &&
|
90
|
-
|
90
|
+
next == o.next
|
91
91
|
end
|
92
92
|
|
93
93
|
# @see the `==` method
|
@@ -99,7 +99,7 @@ module SmoochApi
|
|
99
99
|
# Calculates hash code according to all attributes.
|
100
100
|
# @return [Fixnum] Hash code
|
101
101
|
def hash
|
102
|
-
[conversation, messages,
|
102
|
+
[conversation, messages, next].hash
|
103
103
|
end
|
104
104
|
|
105
105
|
# Builds the object from hash
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
|
5
5
|
|
6
|
-
OpenAPI spec version: 4.
|
6
|
+
OpenAPI spec version: 4.2
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3-SNAPSHOT
|
@@ -16,40 +16,40 @@ module SmoochApi
|
|
16
16
|
|
17
17
|
class Integration
|
18
18
|
# The integration ID, generated automatically.
|
19
|
-
attr_accessor :
|
19
|
+
attr_accessor :id
|
20
20
|
|
21
21
|
# The integration type.
|
22
22
|
attr_accessor :type
|
23
23
|
|
24
24
|
# Facebook Page Access Token. Required for *messenger* integrations.
|
25
|
-
attr_accessor :
|
25
|
+
attr_accessor :pageAccessToken
|
26
26
|
|
27
27
|
# Facebook App ID OR WeChat App ID. Required for *messenger* and *wechat* integrations.
|
28
|
-
attr_accessor :
|
28
|
+
attr_accessor :appId
|
29
29
|
|
30
30
|
# Facebook Page App Secret OR WeChat App Secret. Required for *messenger* and *wechat* integrations.
|
31
|
-
attr_accessor :
|
31
|
+
attr_accessor :appSecret
|
32
32
|
|
33
33
|
# Optional endpoint to generate access tokens for WeChat. Used to coordinate API access with third party systems.
|
34
|
-
attr_accessor :
|
34
|
+
attr_accessor :accessTokenUrl
|
35
35
|
|
36
36
|
# Secret to verify webhooks. Returned on successful *wechat* and *messagebird* integrations.
|
37
|
-
attr_accessor :
|
37
|
+
attr_accessor :webhookSecret
|
38
38
|
|
39
39
|
# Facebook Page App ID. Returned on successful *messenger* integrations.
|
40
|
-
attr_accessor :
|
40
|
+
attr_accessor :pageId
|
41
41
|
|
42
42
|
# Twilio Account SID. Required for *twilio* integrations.
|
43
|
-
attr_accessor :
|
43
|
+
attr_accessor :accountSid
|
44
44
|
|
45
45
|
# Twilio Auth Token. Required for *twilio* integrations.
|
46
|
-
attr_accessor :
|
46
|
+
attr_accessor :authToken
|
47
47
|
|
48
48
|
# SID for specific phone number. Required for *twilio* integrations.
|
49
|
-
attr_accessor :
|
49
|
+
attr_accessor :phoneNumberSid
|
50
50
|
|
51
51
|
# Smooch will receive all messages sent to this phone number. Returned on successful *twilio* integrations.
|
52
|
-
attr_accessor :
|
52
|
+
attr_accessor :phoneNumber
|
53
53
|
|
54
54
|
# Name on the account. Returned on successful *twilio* integrations.
|
55
55
|
attr_accessor :name
|
@@ -61,124 +61,124 @@ module SmoochApi
|
|
61
61
|
attr_accessor :uri
|
62
62
|
|
63
63
|
# LINE Channel ID. Required for *line* integrations.
|
64
|
-
attr_accessor :
|
64
|
+
attr_accessor :channelId
|
65
65
|
|
66
66
|
# LINE Channel Secret. Required for *line* integrations.
|
67
|
-
attr_accessor :
|
67
|
+
attr_accessor :channelSecret
|
68
68
|
|
69
69
|
# LINE Channel Access Token. Required for *line* integrations.
|
70
|
-
attr_accessor :
|
70
|
+
attr_accessor :channelAccessToken
|
71
71
|
|
72
72
|
# The bot's name. Returned on successful *line* integrations.
|
73
|
-
attr_accessor :
|
73
|
+
attr_accessor :botName
|
74
74
|
|
75
75
|
# AES Encoding Key. (Optional) Used for *wechat* integrations.
|
76
|
-
attr_accessor :
|
76
|
+
attr_accessor :encodingAesKey
|
77
77
|
|
78
78
|
# Email will display as coming from this address. (Optional) Used for *frontendEmail* integrations.
|
79
|
-
attr_accessor :
|
79
|
+
attr_accessor :fromAddress
|
80
80
|
|
81
81
|
# The binary of your APN certificate base64 encoded. Required for *apn* integrations.
|
82
82
|
attr_accessor :certificate
|
83
83
|
|
84
84
|
# Your WhatsApp API client's URL. Required for *WhatsApp* integrations.
|
85
|
-
attr_accessor :
|
85
|
+
attr_accessor :baseUrl
|
86
86
|
|
87
87
|
# Specification of a fallback language. (Optional) Used for *WhatsApp* integrations.
|
88
|
-
attr_accessor :
|
88
|
+
attr_accessor :hsmFallbackLanguage
|
89
89
|
|
90
90
|
# The password for your APN certificate or WhatsApp API client. Required for *WhatsApp* integrations. (Optional) Used for *apn* integrations.
|
91
91
|
attr_accessor :password
|
92
92
|
|
93
93
|
# Use the unread count of the conversation as the application badge. (Optional) Used for *apn* integrations.
|
94
|
-
attr_accessor :
|
94
|
+
attr_accessor :autoUpdateBadge
|
95
95
|
|
96
96
|
# Flag specifying whether the certificate is production. Returned on successful *apn* integrations.
|
97
97
|
attr_accessor :production
|
98
98
|
|
99
99
|
# Your server key from the fcm console. Required for *fcm* integrations.
|
100
|
-
attr_accessor :
|
100
|
+
attr_accessor :serverKey
|
101
101
|
|
102
102
|
# Your sender id from the fcm console. Required for *fcm* integrations.
|
103
|
-
attr_accessor :
|
103
|
+
attr_accessor :senderId
|
104
104
|
|
105
105
|
# Your Twitter app’s tier. Accepted values are enterprise or premium.
|
106
106
|
attr_accessor :tier
|
107
107
|
|
108
108
|
# The Twitter environment name, e.g.: env-beta. Required for *twitter* integrations with *premium* tier.
|
109
|
-
attr_accessor :
|
109
|
+
attr_accessor :envName
|
110
110
|
|
111
111
|
# The consumer key for your Twitter app. Required for *twitter* integrations.
|
112
|
-
attr_accessor :
|
112
|
+
attr_accessor :consumerKey
|
113
113
|
|
114
114
|
# The consumer secret for your Twitter app. Required for *twitter* integrations.
|
115
|
-
attr_accessor :
|
115
|
+
attr_accessor :consumerSecret
|
116
116
|
|
117
117
|
# The access token key obtained from your user via oauth. Required for *twitter* integrations.
|
118
|
-
attr_accessor :
|
118
|
+
attr_accessor :accessTokenKey
|
119
119
|
|
120
120
|
# The access token secret obtained from your user via oauth. Required for *twitter* integrations.
|
121
|
-
attr_accessor :
|
121
|
+
attr_accessor :accessTokenSecret
|
122
122
|
|
123
123
|
# The twitter userId. Returned on successful *twitter* integrations.
|
124
|
-
attr_accessor :
|
124
|
+
attr_accessor :userId
|
125
125
|
|
126
126
|
# The username for the account. Required for *WhatsApp* integrations. Returned on successful *twitter* and *telegram* integrations.
|
127
127
|
attr_accessor :username
|
128
128
|
|
129
129
|
# The public API key of your Mailgun account. Required for *mailgun* integrations.
|
130
|
-
attr_accessor :
|
130
|
+
attr_accessor :apiKey
|
131
131
|
|
132
132
|
# The domain used to relay email. Required for *mailgun* integrations.
|
133
133
|
attr_accessor :domain
|
134
134
|
|
135
135
|
# Smooch will receive all emails sent to this address. Required for *mailgun* integrations.
|
136
|
-
attr_accessor :
|
136
|
+
attr_accessor :incomingAddress
|
137
137
|
|
138
138
|
# The public API key of your MessageBird account. Required for *messagebird* integrations.
|
139
|
-
attr_accessor :
|
139
|
+
attr_accessor :accessKey
|
140
140
|
|
141
141
|
# Smooch will receive all messages sent to this phone number. Required for *messagebird* integrations.
|
142
142
|
attr_accessor :originator
|
143
143
|
|
144
144
|
# This color will be used in the messenger header and the button or tab in idle state. (Optional) Used for *Web Messenger* integrations.
|
145
|
-
attr_accessor :
|
145
|
+
attr_accessor :brandColor
|
146
146
|
|
147
147
|
# When `true`, the introduction pane will be pinned at the top of the conversation instead of scrolling with it. The default value is `false`. (Optional) Used for *Web Messenger* integrations.
|
148
|
-
attr_accessor :
|
148
|
+
attr_accessor :fixedIntroPane
|
149
149
|
|
150
150
|
# This color will be used for customer messages, quick replies and actions in the footer. (Optional) Used for *Web Messenger* integrations.
|
151
|
-
attr_accessor :
|
151
|
+
attr_accessor :conversationColor
|
152
152
|
|
153
153
|
# This color will be used for call-to-actions inside your messages. (Optional) Used for *Web Messenger* integrations.
|
154
|
-
attr_accessor :
|
154
|
+
attr_accessor :actionColor
|
155
155
|
|
156
156
|
# Choose how the messenger will appear on your website. Must be either button or tab. (Optional) Used for *Web Messenger* integrations.
|
157
|
-
attr_accessor :
|
157
|
+
attr_accessor :displayStyle
|
158
158
|
|
159
159
|
# With the button style Web Messenger, you have the option of selecting your own button icon. (Optional) Used for *Web Messenger* integrations.
|
160
|
-
attr_accessor :
|
160
|
+
attr_accessor :buttonIconUrl
|
161
161
|
|
162
162
|
# With the button style Web Messenger, you have the option of specifying its width. (Optional) Used for *Web Messenger* integrations.
|
163
|
-
attr_accessor :
|
163
|
+
attr_accessor :buttonWidth
|
164
164
|
|
165
165
|
# With the button style Web Messenger, you have the option of specifying its height. (Optional) Used for *Web Messenger* integrations.
|
166
|
-
attr_accessor :
|
166
|
+
attr_accessor :buttonHeight
|
167
167
|
|
168
168
|
# Array of integration IDs, order will be reflected in the Web Messenger. When set, only integrations from this list will be displayed in the Web Messenger. If unset, all integrations will be displayed (Optional) Used for *Web Messenger* integrations.
|
169
|
-
attr_accessor :
|
169
|
+
attr_accessor :integrationOrder
|
170
170
|
|
171
171
|
# A custom business name for the Web Messenger. (Optional) Used for *Web Messenger* integrations.
|
172
|
-
attr_accessor :
|
172
|
+
attr_accessor :businessName
|
173
173
|
|
174
174
|
# A custom business icon url for the Web Messenger. (Optional) Used for *Web Messenger* integrations.
|
175
|
-
attr_accessor :
|
175
|
+
attr_accessor :businessIconUrl
|
176
176
|
|
177
177
|
# A custom background url for the Web Messenger. (Optional) Used for *Web Messenger* integrations.
|
178
|
-
attr_accessor :
|
178
|
+
attr_accessor :backgroundImageUrl
|
179
179
|
|
180
180
|
# A list of origins to whitelist. When set, only the origins from this list will be able to initialize the Web Messenger. If unset, all origins are whitelisted. The elements in the list should follow the serialized-origin format from RFC 6454 `scheme \"://\" host [ \":\" port ]`, where scheme is `http` or `https`. (Optional) Used for *Web Messenger* integrations.
|
181
|
-
attr_accessor :
|
181
|
+
attr_accessor :originWhitelist
|
182
182
|
|
183
183
|
# The integration status. Possible values are active, inactive or error. [More info](https://docs.smooch.io/#integration-status).
|
184
184
|
attr_accessor :status
|
@@ -190,61 +190,61 @@ module SmoochApi
|
|
190
190
|
# Attribute mapping from ruby-style variable name to JSON key.
|
191
191
|
def self.attribute_map
|
192
192
|
{
|
193
|
-
:'
|
193
|
+
:'id' => :'_id',
|
194
194
|
:'type' => :'type',
|
195
|
-
:'
|
196
|
-
:'
|
197
|
-
:'
|
198
|
-
:'
|
199
|
-
:'
|
200
|
-
:'
|
201
|
-
:'
|
202
|
-
:'
|
203
|
-
:'
|
204
|
-
:'
|
195
|
+
:'pageAccessToken' => :'pageAccessToken',
|
196
|
+
:'appId' => :'appId',
|
197
|
+
:'appSecret' => :'appSecret',
|
198
|
+
:'accessTokenUrl' => :'accessTokenUrl',
|
199
|
+
:'webhookSecret' => :'webhookSecret',
|
200
|
+
:'pageId' => :'pageId',
|
201
|
+
:'accountSid' => :'accountSid',
|
202
|
+
:'authToken' => :'authToken',
|
203
|
+
:'phoneNumberSid' => :'phoneNumberSid',
|
204
|
+
:'phoneNumber' => :'phoneNumber',
|
205
205
|
:'name' => :'name',
|
206
206
|
:'token' => :'token',
|
207
207
|
:'uri' => :'uri',
|
208
|
-
:'
|
209
|
-
:'
|
210
|
-
:'
|
211
|
-
:'
|
212
|
-
:'
|
213
|
-
:'
|
208
|
+
:'channelId' => :'channelId',
|
209
|
+
:'channelSecret' => :'channelSecret',
|
210
|
+
:'channelAccessToken' => :'channelAccessToken',
|
211
|
+
:'botName' => :'botName',
|
212
|
+
:'encodingAesKey' => :'encodingAesKey',
|
213
|
+
:'fromAddress' => :'fromAddress',
|
214
214
|
:'certificate' => :'certificate',
|
215
|
-
:'
|
216
|
-
:'
|
215
|
+
:'baseUrl' => :'baseUrl',
|
216
|
+
:'hsmFallbackLanguage' => :'hsmFallbackLanguage',
|
217
217
|
:'password' => :'password',
|
218
|
-
:'
|
218
|
+
:'autoUpdateBadge' => :'autoUpdateBadge',
|
219
219
|
:'production' => :'production',
|
220
|
-
:'
|
221
|
-
:'
|
220
|
+
:'serverKey' => :'serverKey',
|
221
|
+
:'senderId' => :'senderId',
|
222
222
|
:'tier' => :'tier',
|
223
|
-
:'
|
224
|
-
:'
|
225
|
-
:'
|
226
|
-
:'
|
227
|
-
:'
|
228
|
-
:'
|
223
|
+
:'envName' => :'envName',
|
224
|
+
:'consumerKey' => :'consumerKey',
|
225
|
+
:'consumerSecret' => :'consumerSecret',
|
226
|
+
:'accessTokenKey' => :'accessTokenKey',
|
227
|
+
:'accessTokenSecret' => :'accessTokenSecret',
|
228
|
+
:'userId' => :'userId',
|
229
229
|
:'username' => :'username',
|
230
|
-
:'
|
230
|
+
:'apiKey' => :'apiKey',
|
231
231
|
:'domain' => :'domain',
|
232
|
-
:'
|
233
|
-
:'
|
232
|
+
:'incomingAddress' => :'incomingAddress',
|
233
|
+
:'accessKey' => :'accessKey',
|
234
234
|
:'originator' => :'originator',
|
235
|
-
:'
|
236
|
-
:'
|
237
|
-
:'
|
238
|
-
:'
|
239
|
-
:'
|
240
|
-
:'
|
241
|
-
:'
|
242
|
-
:'
|
243
|
-
:'
|
244
|
-
:'
|
245
|
-
:'
|
246
|
-
:'
|
247
|
-
:'
|
235
|
+
:'brandColor' => :'brandColor',
|
236
|
+
:'fixedIntroPane' => :'fixedIntroPane',
|
237
|
+
:'conversationColor' => :'conversationColor',
|
238
|
+
:'actionColor' => :'actionColor',
|
239
|
+
:'displayStyle' => :'displayStyle',
|
240
|
+
:'buttonIconUrl' => :'buttonIconUrl',
|
241
|
+
:'buttonWidth' => :'buttonWidth',
|
242
|
+
:'buttonHeight' => :'buttonHeight',
|
243
|
+
:'integrationOrder' => :'integrationOrder',
|
244
|
+
:'businessName' => :'businessName',
|
245
|
+
:'businessIconUrl' => :'businessIconUrl',
|
246
|
+
:'backgroundImageUrl' => :'backgroundImageUrl',
|
247
|
+
:'originWhitelist' => :'originWhitelist',
|
248
248
|
:'status' => :'status',
|
249
249
|
:'error' => :'error'
|
250
250
|
}
|
@@ -253,61 +253,61 @@ module SmoochApi
|
|
253
253
|
# Attribute type mapping.
|
254
254
|
def self.swagger_types
|
255
255
|
{
|
256
|
-
:'
|
256
|
+
:'id' => :'String',
|
257
257
|
:'type' => :'String',
|
258
|
-
:'
|
259
|
-
:'
|
260
|
-
:'
|
261
|
-
:'
|
262
|
-
:'
|
263
|
-
:'
|
264
|
-
:'
|
265
|
-
:'
|
266
|
-
:'
|
267
|
-
:'
|
258
|
+
:'pageAccessToken' => :'String',
|
259
|
+
:'appId' => :'String',
|
260
|
+
:'appSecret' => :'String',
|
261
|
+
:'accessTokenUrl' => :'String',
|
262
|
+
:'webhookSecret' => :'String',
|
263
|
+
:'pageId' => :'String',
|
264
|
+
:'accountSid' => :'String',
|
265
|
+
:'authToken' => :'String',
|
266
|
+
:'phoneNumberSid' => :'String',
|
267
|
+
:'phoneNumber' => :'String',
|
268
268
|
:'name' => :'String',
|
269
269
|
:'token' => :'String',
|
270
270
|
:'uri' => :'String',
|
271
|
-
:'
|
272
|
-
:'
|
273
|
-
:'
|
274
|
-
:'
|
275
|
-
:'
|
276
|
-
:'
|
271
|
+
:'channelId' => :'String',
|
272
|
+
:'channelSecret' => :'String',
|
273
|
+
:'channelAccessToken' => :'String',
|
274
|
+
:'botName' => :'String',
|
275
|
+
:'encodingAesKey' => :'String',
|
276
|
+
:'fromAddress' => :'String',
|
277
277
|
:'certificate' => :'String',
|
278
|
-
:'
|
279
|
-
:'
|
278
|
+
:'baseUrl' => :'String',
|
279
|
+
:'hsmFallbackLanguage' => :'String',
|
280
280
|
:'password' => :'String',
|
281
|
-
:'
|
281
|
+
:'autoUpdateBadge' => :'BOOLEAN',
|
282
282
|
:'production' => :'BOOLEAN',
|
283
|
-
:'
|
284
|
-
:'
|
283
|
+
:'serverKey' => :'String',
|
284
|
+
:'senderId' => :'String',
|
285
285
|
:'tier' => :'String',
|
286
|
-
:'
|
287
|
-
:'
|
288
|
-
:'
|
289
|
-
:'
|
290
|
-
:'
|
291
|
-
:'
|
286
|
+
:'envName' => :'String',
|
287
|
+
:'consumerKey' => :'String',
|
288
|
+
:'consumerSecret' => :'String',
|
289
|
+
:'accessTokenKey' => :'String',
|
290
|
+
:'accessTokenSecret' => :'String',
|
291
|
+
:'userId' => :'String',
|
292
292
|
:'username' => :'String',
|
293
|
-
:'
|
293
|
+
:'apiKey' => :'String',
|
294
294
|
:'domain' => :'String',
|
295
|
-
:'
|
296
|
-
:'
|
295
|
+
:'incomingAddress' => :'String',
|
296
|
+
:'accessKey' => :'String',
|
297
297
|
:'originator' => :'String',
|
298
|
-
:'
|
299
|
-
:'
|
300
|
-
:'
|
301
|
-
:'
|
302
|
-
:'
|
303
|
-
:'
|
304
|
-
:'
|
305
|
-
:'
|
306
|
-
:'
|
307
|
-
:'
|
308
|
-
:'
|
309
|
-
:'
|
310
|
-
:'
|
298
|
+
:'brandColor' => :'String',
|
299
|
+
:'fixedIntroPane' => :'BOOLEAN',
|
300
|
+
:'conversationColor' => :'String',
|
301
|
+
:'actionColor' => :'String',
|
302
|
+
:'displayStyle' => :'String',
|
303
|
+
:'buttonIconUrl' => :'String',
|
304
|
+
:'buttonWidth' => :'String',
|
305
|
+
:'buttonHeight' => :'String',
|
306
|
+
:'integrationOrder' => :'Array<String>',
|
307
|
+
:'businessName' => :'String',
|
308
|
+
:'businessIconUrl' => :'String',
|
309
|
+
:'backgroundImageUrl' => :'String',
|
310
|
+
:'originWhitelist' => :'Array<String>',
|
311
311
|
:'status' => :'String',
|
312
312
|
:'error' => :'String'
|
313
313
|
}
|
@@ -322,7 +322,7 @@ module SmoochApi
|
|
322
322
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
323
323
|
|
324
324
|
if attributes.has_key?(:'_id')
|
325
|
-
self.
|
325
|
+
self.id = attributes[:'_id']
|
326
326
|
end
|
327
327
|
|
328
328
|
if attributes.has_key?(:'type')
|
@@ -330,43 +330,43 @@ module SmoochApi
|
|
330
330
|
end
|
331
331
|
|
332
332
|
if attributes.has_key?(:'pageAccessToken')
|
333
|
-
self.
|
333
|
+
self.pageAccessToken = attributes[:'pageAccessToken']
|
334
334
|
end
|
335
335
|
|
336
336
|
if attributes.has_key?(:'appId')
|
337
|
-
self.
|
337
|
+
self.appId = attributes[:'appId']
|
338
338
|
end
|
339
339
|
|
340
340
|
if attributes.has_key?(:'appSecret')
|
341
|
-
self.
|
341
|
+
self.appSecret = attributes[:'appSecret']
|
342
342
|
end
|
343
343
|
|
344
344
|
if attributes.has_key?(:'accessTokenUrl')
|
345
|
-
self.
|
345
|
+
self.accessTokenUrl = attributes[:'accessTokenUrl']
|
346
346
|
end
|
347
347
|
|
348
348
|
if attributes.has_key?(:'webhookSecret')
|
349
|
-
self.
|
349
|
+
self.webhookSecret = attributes[:'webhookSecret']
|
350
350
|
end
|
351
351
|
|
352
352
|
if attributes.has_key?(:'pageId')
|
353
|
-
self.
|
353
|
+
self.pageId = attributes[:'pageId']
|
354
354
|
end
|
355
355
|
|
356
356
|
if attributes.has_key?(:'accountSid')
|
357
|
-
self.
|
357
|
+
self.accountSid = attributes[:'accountSid']
|
358
358
|
end
|
359
359
|
|
360
360
|
if attributes.has_key?(:'authToken')
|
361
|
-
self.
|
361
|
+
self.authToken = attributes[:'authToken']
|
362
362
|
end
|
363
363
|
|
364
364
|
if attributes.has_key?(:'phoneNumberSid')
|
365
|
-
self.
|
365
|
+
self.phoneNumberSid = attributes[:'phoneNumberSid']
|
366
366
|
end
|
367
367
|
|
368
368
|
if attributes.has_key?(:'phoneNumber')
|
369
|
-
self.
|
369
|
+
self.phoneNumber = attributes[:'phoneNumber']
|
370
370
|
end
|
371
371
|
|
372
372
|
if attributes.has_key?(:'name')
|
@@ -382,27 +382,27 @@ module SmoochApi
|
|
382
382
|
end
|
383
383
|
|
384
384
|
if attributes.has_key?(:'channelId')
|
385
|
-
self.
|
385
|
+
self.channelId = attributes[:'channelId']
|
386
386
|
end
|
387
387
|
|
388
388
|
if attributes.has_key?(:'channelSecret')
|
389
|
-
self.
|
389
|
+
self.channelSecret = attributes[:'channelSecret']
|
390
390
|
end
|
391
391
|
|
392
392
|
if attributes.has_key?(:'channelAccessToken')
|
393
|
-
self.
|
393
|
+
self.channelAccessToken = attributes[:'channelAccessToken']
|
394
394
|
end
|
395
395
|
|
396
396
|
if attributes.has_key?(:'botName')
|
397
|
-
self.
|
397
|
+
self.botName = attributes[:'botName']
|
398
398
|
end
|
399
399
|
|
400
400
|
if attributes.has_key?(:'encodingAesKey')
|
401
|
-
self.
|
401
|
+
self.encodingAesKey = attributes[:'encodingAesKey']
|
402
402
|
end
|
403
403
|
|
404
404
|
if attributes.has_key?(:'fromAddress')
|
405
|
-
self.
|
405
|
+
self.fromAddress = attributes[:'fromAddress']
|
406
406
|
end
|
407
407
|
|
408
408
|
if attributes.has_key?(:'certificate')
|
@@ -410,11 +410,11 @@ module SmoochApi
|
|
410
410
|
end
|
411
411
|
|
412
412
|
if attributes.has_key?(:'baseUrl')
|
413
|
-
self.
|
413
|
+
self.baseUrl = attributes[:'baseUrl']
|
414
414
|
end
|
415
415
|
|
416
416
|
if attributes.has_key?(:'hsmFallbackLanguage')
|
417
|
-
self.
|
417
|
+
self.hsmFallbackLanguage = attributes[:'hsmFallbackLanguage']
|
418
418
|
end
|
419
419
|
|
420
420
|
if attributes.has_key?(:'password')
|
@@ -422,7 +422,7 @@ module SmoochApi
|
|
422
422
|
end
|
423
423
|
|
424
424
|
if attributes.has_key?(:'autoUpdateBadge')
|
425
|
-
self.
|
425
|
+
self.autoUpdateBadge = attributes[:'autoUpdateBadge']
|
426
426
|
end
|
427
427
|
|
428
428
|
if attributes.has_key?(:'production')
|
@@ -430,11 +430,11 @@ module SmoochApi
|
|
430
430
|
end
|
431
431
|
|
432
432
|
if attributes.has_key?(:'serverKey')
|
433
|
-
self.
|
433
|
+
self.serverKey = attributes[:'serverKey']
|
434
434
|
end
|
435
435
|
|
436
436
|
if attributes.has_key?(:'senderId')
|
437
|
-
self.
|
437
|
+
self.senderId = attributes[:'senderId']
|
438
438
|
end
|
439
439
|
|
440
440
|
if attributes.has_key?(:'tier')
|
@@ -442,27 +442,27 @@ module SmoochApi
|
|
442
442
|
end
|
443
443
|
|
444
444
|
if attributes.has_key?(:'envName')
|
445
|
-
self.
|
445
|
+
self.envName = attributes[:'envName']
|
446
446
|
end
|
447
447
|
|
448
448
|
if attributes.has_key?(:'consumerKey')
|
449
|
-
self.
|
449
|
+
self.consumerKey = attributes[:'consumerKey']
|
450
450
|
end
|
451
451
|
|
452
452
|
if attributes.has_key?(:'consumerSecret')
|
453
|
-
self.
|
453
|
+
self.consumerSecret = attributes[:'consumerSecret']
|
454
454
|
end
|
455
455
|
|
456
456
|
if attributes.has_key?(:'accessTokenKey')
|
457
|
-
self.
|
457
|
+
self.accessTokenKey = attributes[:'accessTokenKey']
|
458
458
|
end
|
459
459
|
|
460
460
|
if attributes.has_key?(:'accessTokenSecret')
|
461
|
-
self.
|
461
|
+
self.accessTokenSecret = attributes[:'accessTokenSecret']
|
462
462
|
end
|
463
463
|
|
464
464
|
if attributes.has_key?(:'userId')
|
465
|
-
self.
|
465
|
+
self.userId = attributes[:'userId']
|
466
466
|
end
|
467
467
|
|
468
468
|
if attributes.has_key?(:'username')
|
@@ -470,7 +470,7 @@ module SmoochApi
|
|
470
470
|
end
|
471
471
|
|
472
472
|
if attributes.has_key?(:'apiKey')
|
473
|
-
self.
|
473
|
+
self.apiKey = attributes[:'apiKey']
|
474
474
|
end
|
475
475
|
|
476
476
|
if attributes.has_key?(:'domain')
|
@@ -478,11 +478,11 @@ module SmoochApi
|
|
478
478
|
end
|
479
479
|
|
480
480
|
if attributes.has_key?(:'incomingAddress')
|
481
|
-
self.
|
481
|
+
self.incomingAddress = attributes[:'incomingAddress']
|
482
482
|
end
|
483
483
|
|
484
484
|
if attributes.has_key?(:'accessKey')
|
485
|
-
self.
|
485
|
+
self.accessKey = attributes[:'accessKey']
|
486
486
|
end
|
487
487
|
|
488
488
|
if attributes.has_key?(:'originator')
|
@@ -490,58 +490,58 @@ module SmoochApi
|
|
490
490
|
end
|
491
491
|
|
492
492
|
if attributes.has_key?(:'brandColor')
|
493
|
-
self.
|
493
|
+
self.brandColor = attributes[:'brandColor']
|
494
494
|
end
|
495
495
|
|
496
496
|
if attributes.has_key?(:'fixedIntroPane')
|
497
|
-
self.
|
497
|
+
self.fixedIntroPane = attributes[:'fixedIntroPane']
|
498
498
|
end
|
499
499
|
|
500
500
|
if attributes.has_key?(:'conversationColor')
|
501
|
-
self.
|
501
|
+
self.conversationColor = attributes[:'conversationColor']
|
502
502
|
end
|
503
503
|
|
504
504
|
if attributes.has_key?(:'actionColor')
|
505
|
-
self.
|
505
|
+
self.actionColor = attributes[:'actionColor']
|
506
506
|
end
|
507
507
|
|
508
508
|
if attributes.has_key?(:'displayStyle')
|
509
|
-
self.
|
509
|
+
self.displayStyle = attributes[:'displayStyle']
|
510
510
|
end
|
511
511
|
|
512
512
|
if attributes.has_key?(:'buttonIconUrl')
|
513
|
-
self.
|
513
|
+
self.buttonIconUrl = attributes[:'buttonIconUrl']
|
514
514
|
end
|
515
515
|
|
516
516
|
if attributes.has_key?(:'buttonWidth')
|
517
|
-
self.
|
517
|
+
self.buttonWidth = attributes[:'buttonWidth']
|
518
518
|
end
|
519
519
|
|
520
520
|
if attributes.has_key?(:'buttonHeight')
|
521
|
-
self.
|
521
|
+
self.buttonHeight = attributes[:'buttonHeight']
|
522
522
|
end
|
523
523
|
|
524
524
|
if attributes.has_key?(:'integrationOrder')
|
525
525
|
if (value = attributes[:'integrationOrder']).is_a?(Array)
|
526
|
-
self.
|
526
|
+
self.integrationOrder = value
|
527
527
|
end
|
528
528
|
end
|
529
529
|
|
530
530
|
if attributes.has_key?(:'businessName')
|
531
|
-
self.
|
531
|
+
self.businessName = attributes[:'businessName']
|
532
532
|
end
|
533
533
|
|
534
534
|
if attributes.has_key?(:'businessIconUrl')
|
535
|
-
self.
|
535
|
+
self.businessIconUrl = attributes[:'businessIconUrl']
|
536
536
|
end
|
537
537
|
|
538
538
|
if attributes.has_key?(:'backgroundImageUrl')
|
539
|
-
self.
|
539
|
+
self.backgroundImageUrl = attributes[:'backgroundImageUrl']
|
540
540
|
end
|
541
541
|
|
542
542
|
if attributes.has_key?(:'originWhitelist')
|
543
543
|
if (value = attributes[:'originWhitelist']).is_a?(Array)
|
544
|
-
self.
|
544
|
+
self.originWhitelist = value
|
545
545
|
end
|
546
546
|
end
|
547
547
|
|
@@ -559,8 +559,8 @@ module SmoochApi
|
|
559
559
|
# @return Array for valid properies with the reasons
|
560
560
|
def list_invalid_properties
|
561
561
|
invalid_properties = Array.new
|
562
|
-
if @
|
563
|
-
invalid_properties.push("invalid value for '
|
562
|
+
if @id.nil?
|
563
|
+
invalid_properties.push("invalid value for 'id', id cannot be nil.")
|
564
564
|
end
|
565
565
|
|
566
566
|
if @type.nil?
|
@@ -573,7 +573,7 @@ module SmoochApi
|
|
573
573
|
# Check to see if the all the properties in the model are valid
|
574
574
|
# @return true if the model is valid
|
575
575
|
def valid?
|
576
|
-
return false if @
|
576
|
+
return false if @id.nil?
|
577
577
|
return false if @type.nil?
|
578
578
|
return true
|
579
579
|
end
|
@@ -583,61 +583,61 @@ module SmoochApi
|
|
583
583
|
def ==(o)
|
584
584
|
return true if self.equal?(o)
|
585
585
|
self.class == o.class &&
|
586
|
-
|
586
|
+
id == o.id &&
|
587
587
|
type == o.type &&
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
588
|
+
pageAccessToken == o.pageAccessToken &&
|
589
|
+
appId == o.appId &&
|
590
|
+
appSecret == o.appSecret &&
|
591
|
+
accessTokenUrl == o.accessTokenUrl &&
|
592
|
+
webhookSecret == o.webhookSecret &&
|
593
|
+
pageId == o.pageId &&
|
594
|
+
accountSid == o.accountSid &&
|
595
|
+
authToken == o.authToken &&
|
596
|
+
phoneNumberSid == o.phoneNumberSid &&
|
597
|
+
phoneNumber == o.phoneNumber &&
|
598
598
|
name == o.name &&
|
599
599
|
token == o.token &&
|
600
600
|
uri == o.uri &&
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
601
|
+
channelId == o.channelId &&
|
602
|
+
channelSecret == o.channelSecret &&
|
603
|
+
channelAccessToken == o.channelAccessToken &&
|
604
|
+
botName == o.botName &&
|
605
|
+
encodingAesKey == o.encodingAesKey &&
|
606
|
+
fromAddress == o.fromAddress &&
|
607
607
|
certificate == o.certificate &&
|
608
|
-
|
609
|
-
|
608
|
+
baseUrl == o.baseUrl &&
|
609
|
+
hsmFallbackLanguage == o.hsmFallbackLanguage &&
|
610
610
|
password == o.password &&
|
611
|
-
|
611
|
+
autoUpdateBadge == o.autoUpdateBadge &&
|
612
612
|
production == o.production &&
|
613
|
-
|
614
|
-
|
613
|
+
serverKey == o.serverKey &&
|
614
|
+
senderId == o.senderId &&
|
615
615
|
tier == o.tier &&
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
616
|
+
envName == o.envName &&
|
617
|
+
consumerKey == o.consumerKey &&
|
618
|
+
consumerSecret == o.consumerSecret &&
|
619
|
+
accessTokenKey == o.accessTokenKey &&
|
620
|
+
accessTokenSecret == o.accessTokenSecret &&
|
621
|
+
userId == o.userId &&
|
622
622
|
username == o.username &&
|
623
|
-
|
623
|
+
apiKey == o.apiKey &&
|
624
624
|
domain == o.domain &&
|
625
|
-
|
626
|
-
|
625
|
+
incomingAddress == o.incomingAddress &&
|
626
|
+
accessKey == o.accessKey &&
|
627
627
|
originator == o.originator &&
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
628
|
+
brandColor == o.brandColor &&
|
629
|
+
fixedIntroPane == o.fixedIntroPane &&
|
630
|
+
conversationColor == o.conversationColor &&
|
631
|
+
actionColor == o.actionColor &&
|
632
|
+
displayStyle == o.displayStyle &&
|
633
|
+
buttonIconUrl == o.buttonIconUrl &&
|
634
|
+
buttonWidth == o.buttonWidth &&
|
635
|
+
buttonHeight == o.buttonHeight &&
|
636
|
+
integrationOrder == o.integrationOrder &&
|
637
|
+
businessName == o.businessName &&
|
638
|
+
businessIconUrl == o.businessIconUrl &&
|
639
|
+
backgroundImageUrl == o.backgroundImageUrl &&
|
640
|
+
originWhitelist == o.originWhitelist &&
|
641
641
|
status == o.status &&
|
642
642
|
error == o.error
|
643
643
|
end
|
@@ -651,7 +651,7 @@ module SmoochApi
|
|
651
651
|
# Calculates hash code according to all attributes.
|
652
652
|
# @return [Fixnum] Hash code
|
653
653
|
def hash
|
654
|
-
[
|
654
|
+
[id, type, pageAccessToken, appId, appSecret, accessTokenUrl, webhookSecret, pageId, accountSid, authToken, phoneNumberSid, phoneNumber, name, token, uri, channelId, channelSecret, channelAccessToken, botName, encodingAesKey, fromAddress, certificate, baseUrl, hsmFallbackLanguage, password, autoUpdateBadge, production, serverKey, senderId, tier, envName, consumerKey, consumerSecret, accessTokenKey, accessTokenSecret, userId, username, apiKey, domain, incomingAddress, accessKey, originator, brandColor, fixedIntroPane, conversationColor, actionColor, displayStyle, buttonIconUrl, buttonWidth, buttonHeight, integrationOrder, businessName, businessIconUrl, backgroundImageUrl, originWhitelist, status, error].hash
|
655
655
|
end
|
656
656
|
|
657
657
|
# Builds the object from hash
|