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.
Files changed (137) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -3
  3. data/docs/Action.md +2 -2
  4. data/docs/App.md +2 -2
  5. data/docs/AppApi.md +48 -48
  6. data/docs/AppSettings.md +2 -2
  7. data/docs/AppUser.md +6 -6
  8. data/docs/AppUserApi.md +78 -78
  9. data/docs/AppUserBusinessSystemsResponse.md +1 -1
  10. data/docs/AppUserLink.md +2 -2
  11. data/docs/AppUserPreCreate.md +3 -3
  12. data/docs/AppUserResponse.md +1 -1
  13. data/docs/AppUserUpdate.md +2 -2
  14. data/docs/AttachmentRemove.md +1 -1
  15. data/docs/AttachmentResponse.md +2 -2
  16. data/docs/AttachmentsApi.md +16 -16
  17. data/docs/AuthCodeResponse.md +1 -1
  18. data/docs/BusinessSystemItem.md +4 -4
  19. data/docs/ChannelEntityItem.md +3 -3
  20. data/docs/Client.md +4 -4
  21. data/docs/ClientInfo.md +8 -8
  22. data/docs/Conversation.md +2 -2
  23. data/docs/ConversationApi.md +42 -42
  24. data/docs/Destination.md +2 -2
  25. data/docs/DisplaySettings.md +1 -1
  26. data/docs/GetMessagesResponse.md +1 -1
  27. data/docs/Integration.md +44 -44
  28. data/docs/IntegrationApi.md +66 -66
  29. data/docs/IntegrationCreate.md +36 -36
  30. data/docs/IntegrationProfileUpdate.md +1 -1
  31. data/docs/IntegrationUpdate.md +16 -16
  32. data/docs/LinkRequestResponse.md +1 -1
  33. data/docs/LinkRequestResponseLinkRequests.md +1 -1
  34. data/docs/ListAppsResponse.md +1 -1
  35. data/docs/ListServiceAccountsResponse.md +2 -2
  36. data/docs/ListTemplatesResponse.md +1 -1
  37. data/docs/MenuApi.md +14 -14
  38. data/docs/Message.md +6 -6
  39. data/docs/MessageItem.md +2 -2
  40. data/docs/MessageOverride.md +8 -0
  41. data/docs/MessageOverrideWhatsapp.md +8 -0
  42. data/docs/MessagePost.md +4 -3
  43. data/docs/MessageResponse.md +1 -1
  44. data/docs/SecretKey.md +1 -1
  45. data/docs/ServiceAccount.md +1 -1
  46. data/docs/ServiceAccountApi.md +46 -46
  47. data/docs/ServiceAccountResponse.md +1 -1
  48. data/docs/Template.md +1 -1
  49. data/docs/TemplateApi.md +30 -30
  50. data/docs/TypingActivityTrigger.md +1 -1
  51. data/docs/Webhook.md +1 -1
  52. data/docs/WebhookApi.md +30 -30
  53. data/lib/smooch-api.rb +3 -1
  54. data/lib/smooch-api/api/app_api.rb +112 -112
  55. data/lib/smooch-api/api/app_user_api.rb +190 -190
  56. data/lib/smooch-api/api/attachments_api.rb +34 -34
  57. data/lib/smooch-api/api/conversation_api.rb +102 -102
  58. data/lib/smooch-api/api/integration_api.rb +161 -161
  59. data/lib/smooch-api/api/menu_api.rb +34 -34
  60. data/lib/smooch-api/api/service_account_api.rb +109 -109
  61. data/lib/smooch-api/api/template_api.rb +73 -73
  62. data/lib/smooch-api/api/webhook_api.rb +73 -73
  63. data/lib/smooch-api/api_client.rb +1 -1
  64. data/lib/smooch-api/api_error.rb +1 -1
  65. data/lib/smooch-api/configuration.rb +1 -1
  66. data/lib/smooch-api/models/action.rb +12 -12
  67. data/lib/smooch-api/models/app.rb +18 -18
  68. data/lib/smooch-api/models/app_create.rb +1 -1
  69. data/lib/smooch-api/models/app_response.rb +1 -1
  70. data/lib/smooch-api/models/app_settings.rb +12 -12
  71. data/lib/smooch-api/models/app_update.rb +1 -1
  72. data/lib/smooch-api/models/app_user.rb +38 -38
  73. data/lib/smooch-api/models/app_user_business_systems_response.rb +10 -10
  74. data/lib/smooch-api/models/app_user_channels_response.rb +1 -1
  75. data/lib/smooch-api/models/app_user_link.rb +12 -12
  76. data/lib/smooch-api/models/app_user_pre_create.rb +20 -20
  77. data/lib/smooch-api/models/app_user_response.rb +10 -10
  78. data/lib/smooch-api/models/app_user_update.rb +12 -12
  79. data/lib/smooch-api/models/attachment_remove.rb +10 -10
  80. data/lib/smooch-api/models/attachment_response.rb +18 -18
  81. data/lib/smooch-api/models/auth_code_response.rb +10 -10
  82. data/lib/smooch-api/models/business_system_item.rb +22 -22
  83. data/lib/smooch-api/models/channel_entity_item.rb +17 -17
  84. data/lib/smooch-api/models/client.rb +22 -22
  85. data/lib/smooch-api/models/client_info.rb +42 -42
  86. data/lib/smooch-api/models/confirmation.rb +1 -1
  87. data/lib/smooch-api/models/conversation.rb +18 -18
  88. data/lib/smooch-api/models/destination.rb +18 -18
  89. data/lib/smooch-api/models/display_settings.rb +7 -7
  90. data/lib/smooch-api/models/get_messages_response.rb +7 -7
  91. data/lib/smooch-api/models/integration.rb +225 -225
  92. data/lib/smooch-api/models/integration_create.rb +182 -182
  93. data/lib/smooch-api/models/integration_profile_update.rb +7 -7
  94. data/lib/smooch-api/models/integration_response.rb +1 -1
  95. data/lib/smooch-api/models/integration_update.rb +82 -82
  96. data/lib/smooch-api/models/jwt_response.rb +1 -1
  97. data/lib/smooch-api/models/link_request_response.rb +7 -7
  98. data/lib/smooch-api/models/link_request_response_link_requests.rb +10 -10
  99. data/lib/smooch-api/models/list_apps_response.rb +7 -7
  100. data/lib/smooch-api/models/list_integrations_response.rb +1 -1
  101. data/lib/smooch-api/models/list_secret_keys_response.rb +1 -1
  102. data/lib/smooch-api/models/list_service_accounts_response.rb +12 -12
  103. data/lib/smooch-api/models/list_templates_response.rb +7 -7
  104. data/lib/smooch-api/models/list_webhooks_response.rb +1 -1
  105. data/lib/smooch-api/models/menu.rb +1 -1
  106. data/lib/smooch-api/models/menu_item.rb +1 -1
  107. data/lib/smooch-api/models/menu_response.rb +1 -1
  108. data/lib/smooch-api/models/message.rb +41 -41
  109. data/lib/smooch-api/models/message_item.rb +12 -12
  110. data/lib/smooch-api/models/message_override.rb +188 -0
  111. data/lib/smooch-api/models/message_override_whatsapp.rb +189 -0
  112. data/lib/smooch-api/models/message_post.rb +30 -20
  113. data/lib/smooch-api/models/message_response.rb +7 -7
  114. data/lib/smooch-api/models/secret_key.rb +10 -10
  115. data/lib/smooch-api/models/secret_key_create.rb +1 -1
  116. data/lib/smooch-api/models/secret_key_response.rb +1 -1
  117. data/lib/smooch-api/models/service_account.rb +10 -10
  118. data/lib/smooch-api/models/service_account_create.rb +1 -1
  119. data/lib/smooch-api/models/service_account_response.rb +7 -7
  120. data/lib/smooch-api/models/service_account_update.rb +1 -1
  121. data/lib/smooch-api/models/source.rb +1 -1
  122. data/lib/smooch-api/models/sub_menu_item.rb +1 -1
  123. data/lib/smooch-api/models/template.rb +10 -10
  124. data/lib/smooch-api/models/template_create.rb +1 -1
  125. data/lib/smooch-api/models/template_response.rb +1 -1
  126. data/lib/smooch-api/models/template_update.rb +1 -1
  127. data/lib/smooch-api/models/typing_activity_trigger.rb +7 -7
  128. data/lib/smooch-api/models/webhook.rb +10 -10
  129. data/lib/smooch-api/models/webhook_create.rb +1 -1
  130. data/lib/smooch-api/models/webhook_response.rb +1 -1
  131. data/lib/smooch-api/models/webhook_update.rb +1 -1
  132. data/lib/smooch-api/version.rb +2 -2
  133. data/smooch-api.gemspec +1 -1
  134. data/spec/api_client_spec.rb +1 -1
  135. data/spec/configuration_spec.rb +1 -1
  136. data/spec/spec_helper.rb +1 -1
  137. 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.1
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
@@ -19,46 +19,46 @@ module SmoochApi
19
19
  attr_accessor :type
20
20
 
21
21
  # Facebook Page Access Token. Required for *messenger* integrations.
22
- attr_accessor :page_access_token
22
+ attr_accessor :pageAccessToken
23
23
 
24
24
  # Facebook App ID OR WeChat App ID. Required for *messenger* and *wechat* integrations.
25
- attr_accessor :app_id
25
+ attr_accessor :appId
26
26
 
27
27
  # Facebook Page App Secret OR WeChat App Secret. Required for *messenger* and *wechat* integrations.
28
- attr_accessor :app_secret
28
+ attr_accessor :appSecret
29
29
 
30
30
  # Twilio Account SID. Required for *twilio* integrations.
31
- attr_accessor :account_sid
31
+ attr_accessor :accountSid
32
32
 
33
33
  # Twilio Auth Token. Required for *twilio* integrations.
34
- attr_accessor :auth_token
34
+ attr_accessor :authToken
35
35
 
36
36
  # Your WhatsApp API client's URL. Required for *WhatsApp* integrations.
37
- attr_accessor :base_url
37
+ attr_accessor :baseUrl
38
38
 
39
39
  # Specification of a fallback language. (Optional) Used for *WhatsApp* integrations.
40
- attr_accessor :hsm_fallback_language
40
+ attr_accessor :hsmFallbackLanguage
41
41
 
42
42
  # SID for specific phone number. Required for *twilio* integrations.
43
- attr_accessor :phone_number_sid
43
+ attr_accessor :phoneNumberSid
44
44
 
45
45
  # Telegram Bot Token OR Viber Public Account token. Required for *twilio* and *viber* integrations.
46
46
  attr_accessor :token
47
47
 
48
48
  # LINE Channel ID. Required for *line* integrations.
49
- attr_accessor :channel_id
49
+ attr_accessor :channelId
50
50
 
51
51
  # LINE Channel Secret. Required for *line* integrations.
52
- attr_accessor :channel_secret
52
+ attr_accessor :channelSecret
53
53
 
54
54
  # LINE Channel Access Token. Required for *line* integrations.
55
- attr_accessor :channel_access_token
55
+ attr_accessor :channelAccessToken
56
56
 
57
57
  # AES Encoding Key. (Optional) Used for *wechat* integrations.
58
- attr_accessor :encoding_aes_key
58
+ attr_accessor :encodingAesKey
59
59
 
60
60
  # Email will display as coming from this address. (Optional) Used for *frontendEmail* integrations.
61
- attr_accessor :from_address
61
+ attr_accessor :fromAddress
62
62
 
63
63
  # The binary of your APN certificate base64 encoded. Required for *apn* integrations.
64
64
  attr_accessor :certificate
@@ -70,127 +70,127 @@ module SmoochApi
70
70
  attr_accessor :username
71
71
 
72
72
  # Use the unread count of the conversation as the application badge. (Optional) Used for *apn* integrations.
73
- attr_accessor :auto_update_badge
73
+ attr_accessor :autoUpdateBadge
74
74
 
75
75
  # Your server key from the fcm console. Required for *fcm* integrations.
76
- attr_accessor :server_key
76
+ attr_accessor :serverKey
77
77
 
78
78
  # Your sender id from the fcm console. Required for *fcm* integrations.
79
- attr_accessor :sender_id
79
+ attr_accessor :senderId
80
80
 
81
81
  # Your Twitter app’s tier. Accepted values are enterprise or premium.
82
82
  attr_accessor :tier
83
83
 
84
84
  # The Twitter environment name, e.g.: env-beta. Required for *twitter* integrations with *premium* tier.
85
- attr_accessor :env_name
85
+ attr_accessor :envName
86
86
 
87
87
  # The consumer key for your Twitter app. Required for *twitter* integrations.
88
- attr_accessor :consumer_key
88
+ attr_accessor :consumerKey
89
89
 
90
90
  # The consumer secret for your Twitter app. Required for *twitter* integrations.
91
- attr_accessor :consumer_secret
91
+ attr_accessor :consumerSecret
92
92
 
93
93
  # The access token key obtained from your user via oauth. Required for *twitter* integrations.
94
- attr_accessor :access_token_key
94
+ attr_accessor :accessTokenKey
95
95
 
96
96
  # The access token secret obtained from your user via oauth. Required for *twitter* integrations.
97
- attr_accessor :access_token_secret
97
+ attr_accessor :accessTokenSecret
98
98
 
99
99
  # Optional endpoint to generate access tokens for WeChat. Used to coordinate API access with third party systems.
100
- attr_accessor :access_token_url
100
+ attr_accessor :accessTokenUrl
101
101
 
102
102
  # The public API key of your MessageBird account. Required for *messagebird* integrations.
103
- attr_accessor :access_key
103
+ attr_accessor :accessKey
104
104
 
105
105
  # Smooch will receive all messages sent to this phone number. Required for *messagebird* integrations.
106
106
  attr_accessor :originator
107
107
 
108
108
  # This color will be used in the messenger header and the button or tab in idle state. (Optional) Used for *Web Messenger* integrations.
109
- attr_accessor :brand_color
109
+ attr_accessor :brandColor
110
110
 
111
111
  # 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.
112
- attr_accessor :fixed_intro_pane
112
+ attr_accessor :fixedIntroPane
113
113
 
114
114
  # This color will be used for customer messages, quick replies and actions in the footer. (Optional) Used for *Web Messenger* integrations.
115
- attr_accessor :conversation_color
115
+ attr_accessor :conversationColor
116
116
 
117
117
  # This color will be used for call-to-actions inside your messages. (Optional) Used for *Web Messenger* integrations.
118
- attr_accessor :action_color
118
+ attr_accessor :actionColor
119
119
 
120
120
  # Choose how the messenger will appear on your website. Must be either button or tab. (Optional) Used for *Web Messenger* integrations.
121
- attr_accessor :display_style
121
+ attr_accessor :displayStyle
122
122
 
123
123
  # With the button style Web Messenger, you have the option of selecting your own button icon. (Optional) Used for *Web Messenger* integrations.
124
- attr_accessor :button_icon_url
124
+ attr_accessor :buttonIconUrl
125
125
 
126
126
  # With the button style Web Messenger, you have the option of specifying its width. (Optional) Used for *Web Messenger* integrations.
127
- attr_accessor :button_width
127
+ attr_accessor :buttonWidth
128
128
 
129
129
  # With the button style Web Messenger, you have the option of specifying its height. (Optional) Used for *Web Messenger* integrations.
130
- attr_accessor :button_height
130
+ attr_accessor :buttonHeight
131
131
 
132
132
  # 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.
133
- attr_accessor :integration_order
133
+ attr_accessor :integrationOrder
134
134
 
135
135
  # A custom business name for the Web Messenger. (Optional) Used for *Web Messenger* integrations.
136
- attr_accessor :business_name
136
+ attr_accessor :businessName
137
137
 
138
138
  # A custom business icon url for the Web Messenger. (Optional) Used for *Web Messenger* integrations.
139
- attr_accessor :business_icon_url
139
+ attr_accessor :businessIconUrl
140
140
 
141
141
  # A custom background url for the Web Messenger. (Optional) Used for *Web Messenger* integrations.
142
- attr_accessor :background_image_url
142
+ attr_accessor :backgroundImageUrl
143
143
 
144
144
  # 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.
145
- attr_accessor :origin_whitelist
145
+ attr_accessor :originWhitelist
146
146
 
147
147
 
148
148
  # Attribute mapping from ruby-style variable name to JSON key.
149
149
  def self.attribute_map
150
150
  {
151
151
  :'type' => :'type',
152
- :'page_access_token' => :'pageAccessToken',
153
- :'app_id' => :'appId',
154
- :'app_secret' => :'appSecret',
155
- :'account_sid' => :'accountSid',
156
- :'auth_token' => :'authToken',
157
- :'base_url' => :'baseUrl',
158
- :'hsm_fallback_language' => :'hsmFallbackLanguage',
159
- :'phone_number_sid' => :'phoneNumberSid',
152
+ :'pageAccessToken' => :'pageAccessToken',
153
+ :'appId' => :'appId',
154
+ :'appSecret' => :'appSecret',
155
+ :'accountSid' => :'accountSid',
156
+ :'authToken' => :'authToken',
157
+ :'baseUrl' => :'baseUrl',
158
+ :'hsmFallbackLanguage' => :'hsmFallbackLanguage',
159
+ :'phoneNumberSid' => :'phoneNumberSid',
160
160
  :'token' => :'token',
161
- :'channel_id' => :'channelId',
162
- :'channel_secret' => :'channelSecret',
163
- :'channel_access_token' => :'channelAccessToken',
164
- :'encoding_aes_key' => :'encodingAesKey',
165
- :'from_address' => :'fromAddress',
161
+ :'channelId' => :'channelId',
162
+ :'channelSecret' => :'channelSecret',
163
+ :'channelAccessToken' => :'channelAccessToken',
164
+ :'encodingAesKey' => :'encodingAesKey',
165
+ :'fromAddress' => :'fromAddress',
166
166
  :'certificate' => :'certificate',
167
167
  :'password' => :'password',
168
168
  :'username' => :'username',
169
- :'auto_update_badge' => :'autoUpdateBadge',
170
- :'server_key' => :'serverKey',
171
- :'sender_id' => :'senderId',
169
+ :'autoUpdateBadge' => :'autoUpdateBadge',
170
+ :'serverKey' => :'serverKey',
171
+ :'senderId' => :'senderId',
172
172
  :'tier' => :'tier',
173
- :'env_name' => :'envName',
174
- :'consumer_key' => :'consumerKey',
175
- :'consumer_secret' => :'consumerSecret',
176
- :'access_token_key' => :'accessTokenKey',
177
- :'access_token_secret' => :'accessTokenSecret',
178
- :'access_token_url' => :'accessTokenUrl',
179
- :'access_key' => :'accessKey',
173
+ :'envName' => :'envName',
174
+ :'consumerKey' => :'consumerKey',
175
+ :'consumerSecret' => :'consumerSecret',
176
+ :'accessTokenKey' => :'accessTokenKey',
177
+ :'accessTokenSecret' => :'accessTokenSecret',
178
+ :'accessTokenUrl' => :'accessTokenUrl',
179
+ :'accessKey' => :'accessKey',
180
180
  :'originator' => :'originator',
181
- :'brand_color' => :'brandColor',
182
- :'fixed_intro_pane' => :'fixedIntroPane',
183
- :'conversation_color' => :'conversationColor',
184
- :'action_color' => :'actionColor',
185
- :'display_style' => :'displayStyle',
186
- :'button_icon_url' => :'buttonIconUrl',
187
- :'button_width' => :'buttonWidth',
188
- :'button_height' => :'buttonHeight',
189
- :'integration_order' => :'integrationOrder',
190
- :'business_name' => :'businessName',
191
- :'business_icon_url' => :'businessIconUrl',
192
- :'background_image_url' => :'backgroundImageUrl',
193
- :'origin_whitelist' => :'originWhitelist'
181
+ :'brandColor' => :'brandColor',
182
+ :'fixedIntroPane' => :'fixedIntroPane',
183
+ :'conversationColor' => :'conversationColor',
184
+ :'actionColor' => :'actionColor',
185
+ :'displayStyle' => :'displayStyle',
186
+ :'buttonIconUrl' => :'buttonIconUrl',
187
+ :'buttonWidth' => :'buttonWidth',
188
+ :'buttonHeight' => :'buttonHeight',
189
+ :'integrationOrder' => :'integrationOrder',
190
+ :'businessName' => :'businessName',
191
+ :'businessIconUrl' => :'businessIconUrl',
192
+ :'backgroundImageUrl' => :'backgroundImageUrl',
193
+ :'originWhitelist' => :'originWhitelist'
194
194
  }
195
195
  end
196
196
 
@@ -198,48 +198,48 @@ module SmoochApi
198
198
  def self.swagger_types
199
199
  {
200
200
  :'type' => :'String',
201
- :'page_access_token' => :'String',
202
- :'app_id' => :'String',
203
- :'app_secret' => :'String',
204
- :'account_sid' => :'String',
205
- :'auth_token' => :'String',
206
- :'base_url' => :'String',
207
- :'hsm_fallback_language' => :'String',
208
- :'phone_number_sid' => :'String',
201
+ :'pageAccessToken' => :'String',
202
+ :'appId' => :'String',
203
+ :'appSecret' => :'String',
204
+ :'accountSid' => :'String',
205
+ :'authToken' => :'String',
206
+ :'baseUrl' => :'String',
207
+ :'hsmFallbackLanguage' => :'String',
208
+ :'phoneNumberSid' => :'String',
209
209
  :'token' => :'String',
210
- :'channel_id' => :'String',
211
- :'channel_secret' => :'String',
212
- :'channel_access_token' => :'String',
213
- :'encoding_aes_key' => :'String',
214
- :'from_address' => :'String',
210
+ :'channelId' => :'String',
211
+ :'channelSecret' => :'String',
212
+ :'channelAccessToken' => :'String',
213
+ :'encodingAesKey' => :'String',
214
+ :'fromAddress' => :'String',
215
215
  :'certificate' => :'String',
216
216
  :'password' => :'String',
217
217
  :'username' => :'String',
218
- :'auto_update_badge' => :'BOOLEAN',
219
- :'server_key' => :'String',
220
- :'sender_id' => :'String',
218
+ :'autoUpdateBadge' => :'BOOLEAN',
219
+ :'serverKey' => :'String',
220
+ :'senderId' => :'String',
221
221
  :'tier' => :'String',
222
- :'env_name' => :'String',
223
- :'consumer_key' => :'String',
224
- :'consumer_secret' => :'String',
225
- :'access_token_key' => :'String',
226
- :'access_token_secret' => :'String',
227
- :'access_token_url' => :'String',
228
- :'access_key' => :'String',
222
+ :'envName' => :'String',
223
+ :'consumerKey' => :'String',
224
+ :'consumerSecret' => :'String',
225
+ :'accessTokenKey' => :'String',
226
+ :'accessTokenSecret' => :'String',
227
+ :'accessTokenUrl' => :'String',
228
+ :'accessKey' => :'String',
229
229
  :'originator' => :'String',
230
- :'brand_color' => :'String',
231
- :'fixed_intro_pane' => :'BOOLEAN',
232
- :'conversation_color' => :'String',
233
- :'action_color' => :'String',
234
- :'display_style' => :'String',
235
- :'button_icon_url' => :'String',
236
- :'button_width' => :'String',
237
- :'button_height' => :'String',
238
- :'integration_order' => :'Array<String>',
239
- :'business_name' => :'String',
240
- :'business_icon_url' => :'String',
241
- :'background_image_url' => :'String',
242
- :'origin_whitelist' => :'Array<String>'
230
+ :'brandColor' => :'String',
231
+ :'fixedIntroPane' => :'BOOLEAN',
232
+ :'conversationColor' => :'String',
233
+ :'actionColor' => :'String',
234
+ :'displayStyle' => :'String',
235
+ :'buttonIconUrl' => :'String',
236
+ :'buttonWidth' => :'String',
237
+ :'buttonHeight' => :'String',
238
+ :'integrationOrder' => :'Array<String>',
239
+ :'businessName' => :'String',
240
+ :'businessIconUrl' => :'String',
241
+ :'backgroundImageUrl' => :'String',
242
+ :'originWhitelist' => :'Array<String>'
243
243
  }
244
244
  end
245
245
 
@@ -256,35 +256,35 @@ module SmoochApi
256
256
  end
257
257
 
258
258
  if attributes.has_key?(:'pageAccessToken')
259
- self.page_access_token = attributes[:'pageAccessToken']
259
+ self.pageAccessToken = attributes[:'pageAccessToken']
260
260
  end
261
261
 
262
262
  if attributes.has_key?(:'appId')
263
- self.app_id = attributes[:'appId']
263
+ self.appId = attributes[:'appId']
264
264
  end
265
265
 
266
266
  if attributes.has_key?(:'appSecret')
267
- self.app_secret = attributes[:'appSecret']
267
+ self.appSecret = attributes[:'appSecret']
268
268
  end
269
269
 
270
270
  if attributes.has_key?(:'accountSid')
271
- self.account_sid = attributes[:'accountSid']
271
+ self.accountSid = attributes[:'accountSid']
272
272
  end
273
273
 
274
274
  if attributes.has_key?(:'authToken')
275
- self.auth_token = attributes[:'authToken']
275
+ self.authToken = attributes[:'authToken']
276
276
  end
277
277
 
278
278
  if attributes.has_key?(:'baseUrl')
279
- self.base_url = attributes[:'baseUrl']
279
+ self.baseUrl = attributes[:'baseUrl']
280
280
  end
281
281
 
282
282
  if attributes.has_key?(:'hsmFallbackLanguage')
283
- self.hsm_fallback_language = attributes[:'hsmFallbackLanguage']
283
+ self.hsmFallbackLanguage = attributes[:'hsmFallbackLanguage']
284
284
  end
285
285
 
286
286
  if attributes.has_key?(:'phoneNumberSid')
287
- self.phone_number_sid = attributes[:'phoneNumberSid']
287
+ self.phoneNumberSid = attributes[:'phoneNumberSid']
288
288
  end
289
289
 
290
290
  if attributes.has_key?(:'token')
@@ -292,23 +292,23 @@ module SmoochApi
292
292
  end
293
293
 
294
294
  if attributes.has_key?(:'channelId')
295
- self.channel_id = attributes[:'channelId']
295
+ self.channelId = attributes[:'channelId']
296
296
  end
297
297
 
298
298
  if attributes.has_key?(:'channelSecret')
299
- self.channel_secret = attributes[:'channelSecret']
299
+ self.channelSecret = attributes[:'channelSecret']
300
300
  end
301
301
 
302
302
  if attributes.has_key?(:'channelAccessToken')
303
- self.channel_access_token = attributes[:'channelAccessToken']
303
+ self.channelAccessToken = attributes[:'channelAccessToken']
304
304
  end
305
305
 
306
306
  if attributes.has_key?(:'encodingAesKey')
307
- self.encoding_aes_key = attributes[:'encodingAesKey']
307
+ self.encodingAesKey = attributes[:'encodingAesKey']
308
308
  end
309
309
 
310
310
  if attributes.has_key?(:'fromAddress')
311
- self.from_address = attributes[:'fromAddress']
311
+ self.fromAddress = attributes[:'fromAddress']
312
312
  end
313
313
 
314
314
  if attributes.has_key?(:'certificate')
@@ -324,15 +324,15 @@ module SmoochApi
324
324
  end
325
325
 
326
326
  if attributes.has_key?(:'autoUpdateBadge')
327
- self.auto_update_badge = attributes[:'autoUpdateBadge']
327
+ self.autoUpdateBadge = attributes[:'autoUpdateBadge']
328
328
  end
329
329
 
330
330
  if attributes.has_key?(:'serverKey')
331
- self.server_key = attributes[:'serverKey']
331
+ self.serverKey = attributes[:'serverKey']
332
332
  end
333
333
 
334
334
  if attributes.has_key?(:'senderId')
335
- self.sender_id = attributes[:'senderId']
335
+ self.senderId = attributes[:'senderId']
336
336
  end
337
337
 
338
338
  if attributes.has_key?(:'tier')
@@ -340,31 +340,31 @@ module SmoochApi
340
340
  end
341
341
 
342
342
  if attributes.has_key?(:'envName')
343
- self.env_name = attributes[:'envName']
343
+ self.envName = attributes[:'envName']
344
344
  end
345
345
 
346
346
  if attributes.has_key?(:'consumerKey')
347
- self.consumer_key = attributes[:'consumerKey']
347
+ self.consumerKey = attributes[:'consumerKey']
348
348
  end
349
349
 
350
350
  if attributes.has_key?(:'consumerSecret')
351
- self.consumer_secret = attributes[:'consumerSecret']
351
+ self.consumerSecret = attributes[:'consumerSecret']
352
352
  end
353
353
 
354
354
  if attributes.has_key?(:'accessTokenKey')
355
- self.access_token_key = attributes[:'accessTokenKey']
355
+ self.accessTokenKey = attributes[:'accessTokenKey']
356
356
  end
357
357
 
358
358
  if attributes.has_key?(:'accessTokenSecret')
359
- self.access_token_secret = attributes[:'accessTokenSecret']
359
+ self.accessTokenSecret = attributes[:'accessTokenSecret']
360
360
  end
361
361
 
362
362
  if attributes.has_key?(:'accessTokenUrl')
363
- self.access_token_url = attributes[:'accessTokenUrl']
363
+ self.accessTokenUrl = attributes[:'accessTokenUrl']
364
364
  end
365
365
 
366
366
  if attributes.has_key?(:'accessKey')
367
- self.access_key = attributes[:'accessKey']
367
+ self.accessKey = attributes[:'accessKey']
368
368
  end
369
369
 
370
370
  if attributes.has_key?(:'originator')
@@ -372,58 +372,58 @@ module SmoochApi
372
372
  end
373
373
 
374
374
  if attributes.has_key?(:'brandColor')
375
- self.brand_color = attributes[:'brandColor']
375
+ self.brandColor = attributes[:'brandColor']
376
376
  end
377
377
 
378
378
  if attributes.has_key?(:'fixedIntroPane')
379
- self.fixed_intro_pane = attributes[:'fixedIntroPane']
379
+ self.fixedIntroPane = attributes[:'fixedIntroPane']
380
380
  end
381
381
 
382
382
  if attributes.has_key?(:'conversationColor')
383
- self.conversation_color = attributes[:'conversationColor']
383
+ self.conversationColor = attributes[:'conversationColor']
384
384
  end
385
385
 
386
386
  if attributes.has_key?(:'actionColor')
387
- self.action_color = attributes[:'actionColor']
387
+ self.actionColor = attributes[:'actionColor']
388
388
  end
389
389
 
390
390
  if attributes.has_key?(:'displayStyle')
391
- self.display_style = attributes[:'displayStyle']
391
+ self.displayStyle = attributes[:'displayStyle']
392
392
  end
393
393
 
394
394
  if attributes.has_key?(:'buttonIconUrl')
395
- self.button_icon_url = attributes[:'buttonIconUrl']
395
+ self.buttonIconUrl = attributes[:'buttonIconUrl']
396
396
  end
397
397
 
398
398
  if attributes.has_key?(:'buttonWidth')
399
- self.button_width = attributes[:'buttonWidth']
399
+ self.buttonWidth = attributes[:'buttonWidth']
400
400
  end
401
401
 
402
402
  if attributes.has_key?(:'buttonHeight')
403
- self.button_height = attributes[:'buttonHeight']
403
+ self.buttonHeight = attributes[:'buttonHeight']
404
404
  end
405
405
 
406
406
  if attributes.has_key?(:'integrationOrder')
407
407
  if (value = attributes[:'integrationOrder']).is_a?(Array)
408
- self.integration_order = value
408
+ self.integrationOrder = value
409
409
  end
410
410
  end
411
411
 
412
412
  if attributes.has_key?(:'businessName')
413
- self.business_name = attributes[:'businessName']
413
+ self.businessName = attributes[:'businessName']
414
414
  end
415
415
 
416
416
  if attributes.has_key?(:'businessIconUrl')
417
- self.business_icon_url = attributes[:'businessIconUrl']
417
+ self.businessIconUrl = attributes[:'businessIconUrl']
418
418
  end
419
419
 
420
420
  if attributes.has_key?(:'backgroundImageUrl')
421
- self.background_image_url = attributes[:'backgroundImageUrl']
421
+ self.backgroundImageUrl = attributes[:'backgroundImageUrl']
422
422
  end
423
423
 
424
424
  if attributes.has_key?(:'originWhitelist')
425
425
  if (value = attributes[:'originWhitelist']).is_a?(Array)
426
- self.origin_whitelist = value
426
+ self.originWhitelist = value
427
427
  end
428
428
  end
429
429
 
@@ -453,48 +453,48 @@ module SmoochApi
453
453
  return true if self.equal?(o)
454
454
  self.class == o.class &&
455
455
  type == o.type &&
456
- page_access_token == o.page_access_token &&
457
- app_id == o.app_id &&
458
- app_secret == o.app_secret &&
459
- account_sid == o.account_sid &&
460
- auth_token == o.auth_token &&
461
- base_url == o.base_url &&
462
- hsm_fallback_language == o.hsm_fallback_language &&
463
- phone_number_sid == o.phone_number_sid &&
456
+ pageAccessToken == o.pageAccessToken &&
457
+ appId == o.appId &&
458
+ appSecret == o.appSecret &&
459
+ accountSid == o.accountSid &&
460
+ authToken == o.authToken &&
461
+ baseUrl == o.baseUrl &&
462
+ hsmFallbackLanguage == o.hsmFallbackLanguage &&
463
+ phoneNumberSid == o.phoneNumberSid &&
464
464
  token == o.token &&
465
- channel_id == o.channel_id &&
466
- channel_secret == o.channel_secret &&
467
- channel_access_token == o.channel_access_token &&
468
- encoding_aes_key == o.encoding_aes_key &&
469
- from_address == o.from_address &&
465
+ channelId == o.channelId &&
466
+ channelSecret == o.channelSecret &&
467
+ channelAccessToken == o.channelAccessToken &&
468
+ encodingAesKey == o.encodingAesKey &&
469
+ fromAddress == o.fromAddress &&
470
470
  certificate == o.certificate &&
471
471
  password == o.password &&
472
472
  username == o.username &&
473
- auto_update_badge == o.auto_update_badge &&
474
- server_key == o.server_key &&
475
- sender_id == o.sender_id &&
473
+ autoUpdateBadge == o.autoUpdateBadge &&
474
+ serverKey == o.serverKey &&
475
+ senderId == o.senderId &&
476
476
  tier == o.tier &&
477
- env_name == o.env_name &&
478
- consumer_key == o.consumer_key &&
479
- consumer_secret == o.consumer_secret &&
480
- access_token_key == o.access_token_key &&
481
- access_token_secret == o.access_token_secret &&
482
- access_token_url == o.access_token_url &&
483
- access_key == o.access_key &&
477
+ envName == o.envName &&
478
+ consumerKey == o.consumerKey &&
479
+ consumerSecret == o.consumerSecret &&
480
+ accessTokenKey == o.accessTokenKey &&
481
+ accessTokenSecret == o.accessTokenSecret &&
482
+ accessTokenUrl == o.accessTokenUrl &&
483
+ accessKey == o.accessKey &&
484
484
  originator == o.originator &&
485
- brand_color == o.brand_color &&
486
- fixed_intro_pane == o.fixed_intro_pane &&
487
- conversation_color == o.conversation_color &&
488
- action_color == o.action_color &&
489
- display_style == o.display_style &&
490
- button_icon_url == o.button_icon_url &&
491
- button_width == o.button_width &&
492
- button_height == o.button_height &&
493
- integration_order == o.integration_order &&
494
- business_name == o.business_name &&
495
- business_icon_url == o.business_icon_url &&
496
- background_image_url == o.background_image_url &&
497
- origin_whitelist == o.origin_whitelist
485
+ brandColor == o.brandColor &&
486
+ fixedIntroPane == o.fixedIntroPane &&
487
+ conversationColor == o.conversationColor &&
488
+ actionColor == o.actionColor &&
489
+ displayStyle == o.displayStyle &&
490
+ buttonIconUrl == o.buttonIconUrl &&
491
+ buttonWidth == o.buttonWidth &&
492
+ buttonHeight == o.buttonHeight &&
493
+ integrationOrder == o.integrationOrder &&
494
+ businessName == o.businessName &&
495
+ businessIconUrl == o.businessIconUrl &&
496
+ backgroundImageUrl == o.backgroundImageUrl &&
497
+ originWhitelist == o.originWhitelist
498
498
  end
499
499
 
500
500
  # @see the `==` method
@@ -506,7 +506,7 @@ module SmoochApi
506
506
  # Calculates hash code according to all attributes.
507
507
  # @return [Fixnum] Hash code
508
508
  def hash
509
- [type, page_access_token, app_id, app_secret, account_sid, auth_token, base_url, hsm_fallback_language, phone_number_sid, token, channel_id, channel_secret, channel_access_token, encoding_aes_key, from_address, certificate, password, username, auto_update_badge, server_key, sender_id, tier, env_name, consumer_key, consumer_secret, access_token_key, access_token_secret, access_token_url, access_key, originator, brand_color, fixed_intro_pane, conversation_color, action_color, display_style, button_icon_url, button_width, button_height, integration_order, business_name, business_icon_url, background_image_url, origin_whitelist].hash
509
+ [type, pageAccessToken, appId, appSecret, accountSid, authToken, baseUrl, hsmFallbackLanguage, phoneNumberSid, token, channelId, channelSecret, channelAccessToken, encodingAesKey, fromAddress, certificate, password, username, autoUpdateBadge, serverKey, senderId, tier, envName, consumerKey, consumerSecret, accessTokenKey, accessTokenSecret, accessTokenUrl, accessKey, originator, brandColor, fixedIntroPane, conversationColor, actionColor, displayStyle, buttonIconUrl, buttonWidth, buttonHeight, integrationOrder, businessName, businessIconUrl, backgroundImageUrl, originWhitelist].hash
510
510
  end
511
511
 
512
512
  # Builds the object from hash