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
@@ -28,7 +28,7 @@ module SmoochApi
28
28
  attr_accessor :email
29
29
 
30
30
  # URL where the business' profile photo is hosted. WhatsApp recommends an image with dimensions of 640x640 and max size of 63KB.
31
- attr_accessor :photo_url
31
+ attr_accessor :photoUrl
32
32
 
33
33
  # Industry of the business. Maximum of 128 characters.
34
34
  attr_accessor :vertical
@@ -44,7 +44,7 @@ module SmoochApi
44
44
  :'address' => :'address',
45
45
  :'description' => :'description',
46
46
  :'email' => :'email',
47
- :'photo_url' => :'photoUrl',
47
+ :'photoUrl' => :'photoUrl',
48
48
  :'vertical' => :'vertical',
49
49
  :'websites' => :'websites'
50
50
  }
@@ -57,7 +57,7 @@ module SmoochApi
57
57
  :'address' => :'String',
58
58
  :'description' => :'String',
59
59
  :'email' => :'String',
60
- :'photo_url' => :'String',
60
+ :'photoUrl' => :'String',
61
61
  :'vertical' => :'String',
62
62
  :'websites' => :'Array<String>'
63
63
  }
@@ -88,7 +88,7 @@ module SmoochApi
88
88
  end
89
89
 
90
90
  if attributes.has_key?(:'photoUrl')
91
- self.photo_url = attributes[:'photoUrl']
91
+ self.photoUrl = attributes[:'photoUrl']
92
92
  end
93
93
 
94
94
  if attributes.has_key?(:'vertical')
@@ -125,7 +125,7 @@ module SmoochApi
125
125
  address == o.address &&
126
126
  description == o.description &&
127
127
  email == o.email &&
128
- photo_url == o.photo_url &&
128
+ photoUrl == o.photoUrl &&
129
129
  vertical == o.vertical &&
130
130
  websites == o.websites
131
131
  end
@@ -139,7 +139,7 @@ module SmoochApi
139
139
  # Calculates hash code according to all attributes.
140
140
  # @return [Fixnum] Hash code
141
141
  def hash
142
- [about, address, description, email, photo_url, vertical, websites].hash
142
+ [about, address, description, email, photoUrl, vertical, websites].hash
143
143
  end
144
144
 
145
145
  # 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.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
@@ -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
@@ -16,95 +16,95 @@ module SmoochApi
16
16
 
17
17
  class IntegrationUpdate
18
18
  # This color will be used in the messenger header and the button or tab in idle state. (Optional) Used for *Web Messenger* integrations.
19
- attr_accessor :brand_color
19
+ attr_accessor :brandColor
20
20
 
21
21
  # 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.
22
- attr_accessor :fixed_intro_pane
22
+ attr_accessor :fixedIntroPane
23
23
 
24
24
  # This color will be used for customer messages, quick replies and actions in the footer. (Optional) Used for *Web Messenger* integrations.
25
- attr_accessor :conversation_color
25
+ attr_accessor :conversationColor
26
26
 
27
27
  # This color will be used for call-to-actions inside your messages. (Optional) Used for *Web Messenger* integrations.
28
- attr_accessor :action_color
28
+ attr_accessor :actionColor
29
29
 
30
30
  # Choose how the messenger will appear on your website. Must be either button or tab. (Optional) Used for *Web Messenger* integrations.
31
- attr_accessor :display_style
31
+ attr_accessor :displayStyle
32
32
 
33
33
  # With the button style Web Messenger, you have the option of selecting your own button icon. (Optional) Used for *Web Messenger* integrations.
34
- attr_accessor :button_icon_url
34
+ attr_accessor :buttonIconUrl
35
35
 
36
36
  # With the button style Web Messenger, you have the option of specifying its width. (Optional) Used for *Web Messenger* integrations.
37
- attr_accessor :button_width
37
+ attr_accessor :buttonWidth
38
38
 
39
39
  # With the button style Web Messenger, you have the option of specifying its height. (Optional) Used for *Web Messenger* integrations.
40
- attr_accessor :button_height
40
+ attr_accessor :buttonHeight
41
41
 
42
42
  # 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.
43
- attr_accessor :integration_order
43
+ attr_accessor :integrationOrder
44
44
 
45
45
  # A custom business name for the Web Messenger. (Optional) Used for *Web Messenger* integrations.
46
- attr_accessor :business_name
46
+ attr_accessor :businessName
47
47
 
48
48
  # A custom business icon url for the Web Messenger. (Optional) Used for *Web Messenger* integrations.
49
- attr_accessor :business_icon_url
49
+ attr_accessor :businessIconUrl
50
50
 
51
51
  # A custom background url for the Web Messenger. (Optional) Used for *Web Messenger* integrations.
52
- attr_accessor :background_image_url
52
+ attr_accessor :backgroundImageUrl
53
53
 
54
54
  # 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.
55
- attr_accessor :origin_whitelist
55
+ attr_accessor :originWhitelist
56
56
 
57
57
  # LINE Channel ID. Required for *line* integrations.
58
- attr_accessor :channel_id
58
+ attr_accessor :channelId
59
59
 
60
60
  # LINE Channel Secret. Required for *line* integrations.
61
- attr_accessor :channel_secret
61
+ attr_accessor :channelSecret
62
62
 
63
63
  # Specification of a fallback language. (Optional) Used for *WhatsApp* integrations.
64
- attr_accessor :hsm_fallback_language
64
+ attr_accessor :hsmFallbackLanguage
65
65
 
66
66
 
67
67
  # Attribute mapping from ruby-style variable name to JSON key.
68
68
  def self.attribute_map
69
69
  {
70
- :'brand_color' => :'brandColor',
71
- :'fixed_intro_pane' => :'fixedIntroPane',
72
- :'conversation_color' => :'conversationColor',
73
- :'action_color' => :'actionColor',
74
- :'display_style' => :'displayStyle',
75
- :'button_icon_url' => :'buttonIconUrl',
76
- :'button_width' => :'buttonWidth',
77
- :'button_height' => :'buttonHeight',
78
- :'integration_order' => :'integrationOrder',
79
- :'business_name' => :'businessName',
80
- :'business_icon_url' => :'businessIconUrl',
81
- :'background_image_url' => :'backgroundImageUrl',
82
- :'origin_whitelist' => :'originWhitelist',
83
- :'channel_id' => :'channelId',
84
- :'channel_secret' => :'channelSecret',
85
- :'hsm_fallback_language' => :'hsmFallbackLanguage'
70
+ :'brandColor' => :'brandColor',
71
+ :'fixedIntroPane' => :'fixedIntroPane',
72
+ :'conversationColor' => :'conversationColor',
73
+ :'actionColor' => :'actionColor',
74
+ :'displayStyle' => :'displayStyle',
75
+ :'buttonIconUrl' => :'buttonIconUrl',
76
+ :'buttonWidth' => :'buttonWidth',
77
+ :'buttonHeight' => :'buttonHeight',
78
+ :'integrationOrder' => :'integrationOrder',
79
+ :'businessName' => :'businessName',
80
+ :'businessIconUrl' => :'businessIconUrl',
81
+ :'backgroundImageUrl' => :'backgroundImageUrl',
82
+ :'originWhitelist' => :'originWhitelist',
83
+ :'channelId' => :'channelId',
84
+ :'channelSecret' => :'channelSecret',
85
+ :'hsmFallbackLanguage' => :'hsmFallbackLanguage'
86
86
  }
87
87
  end
88
88
 
89
89
  # Attribute type mapping.
90
90
  def self.swagger_types
91
91
  {
92
- :'brand_color' => :'String',
93
- :'fixed_intro_pane' => :'BOOLEAN',
94
- :'conversation_color' => :'String',
95
- :'action_color' => :'String',
96
- :'display_style' => :'String',
97
- :'button_icon_url' => :'String',
98
- :'button_width' => :'String',
99
- :'button_height' => :'String',
100
- :'integration_order' => :'Array<String>',
101
- :'business_name' => :'String',
102
- :'business_icon_url' => :'String',
103
- :'background_image_url' => :'String',
104
- :'origin_whitelist' => :'Array<String>',
105
- :'channel_id' => :'String',
106
- :'channel_secret' => :'String',
107
- :'hsm_fallback_language' => :'String'
92
+ :'brandColor' => :'String',
93
+ :'fixedIntroPane' => :'BOOLEAN',
94
+ :'conversationColor' => :'String',
95
+ :'actionColor' => :'String',
96
+ :'displayStyle' => :'String',
97
+ :'buttonIconUrl' => :'String',
98
+ :'buttonWidth' => :'String',
99
+ :'buttonHeight' => :'String',
100
+ :'integrationOrder' => :'Array<String>',
101
+ :'businessName' => :'String',
102
+ :'businessIconUrl' => :'String',
103
+ :'backgroundImageUrl' => :'String',
104
+ :'originWhitelist' => :'Array<String>',
105
+ :'channelId' => :'String',
106
+ :'channelSecret' => :'String',
107
+ :'hsmFallbackLanguage' => :'String'
108
108
  }
109
109
  end
110
110
 
@@ -117,71 +117,71 @@ module SmoochApi
117
117
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
118
118
 
119
119
  if attributes.has_key?(:'brandColor')
120
- self.brand_color = attributes[:'brandColor']
120
+ self.brandColor = attributes[:'brandColor']
121
121
  end
122
122
 
123
123
  if attributes.has_key?(:'fixedIntroPane')
124
- self.fixed_intro_pane = attributes[:'fixedIntroPane']
124
+ self.fixedIntroPane = attributes[:'fixedIntroPane']
125
125
  end
126
126
 
127
127
  if attributes.has_key?(:'conversationColor')
128
- self.conversation_color = attributes[:'conversationColor']
128
+ self.conversationColor = attributes[:'conversationColor']
129
129
  end
130
130
 
131
131
  if attributes.has_key?(:'actionColor')
132
- self.action_color = attributes[:'actionColor']
132
+ self.actionColor = attributes[:'actionColor']
133
133
  end
134
134
 
135
135
  if attributes.has_key?(:'displayStyle')
136
- self.display_style = attributes[:'displayStyle']
136
+ self.displayStyle = attributes[:'displayStyle']
137
137
  end
138
138
 
139
139
  if attributes.has_key?(:'buttonIconUrl')
140
- self.button_icon_url = attributes[:'buttonIconUrl']
140
+ self.buttonIconUrl = attributes[:'buttonIconUrl']
141
141
  end
142
142
 
143
143
  if attributes.has_key?(:'buttonWidth')
144
- self.button_width = attributes[:'buttonWidth']
144
+ self.buttonWidth = attributes[:'buttonWidth']
145
145
  end
146
146
 
147
147
  if attributes.has_key?(:'buttonHeight')
148
- self.button_height = attributes[:'buttonHeight']
148
+ self.buttonHeight = attributes[:'buttonHeight']
149
149
  end
150
150
 
151
151
  if attributes.has_key?(:'integrationOrder')
152
152
  if (value = attributes[:'integrationOrder']).is_a?(Array)
153
- self.integration_order = value
153
+ self.integrationOrder = value
154
154
  end
155
155
  end
156
156
 
157
157
  if attributes.has_key?(:'businessName')
158
- self.business_name = attributes[:'businessName']
158
+ self.businessName = attributes[:'businessName']
159
159
  end
160
160
 
161
161
  if attributes.has_key?(:'businessIconUrl')
162
- self.business_icon_url = attributes[:'businessIconUrl']
162
+ self.businessIconUrl = attributes[:'businessIconUrl']
163
163
  end
164
164
 
165
165
  if attributes.has_key?(:'backgroundImageUrl')
166
- self.background_image_url = attributes[:'backgroundImageUrl']
166
+ self.backgroundImageUrl = attributes[:'backgroundImageUrl']
167
167
  end
168
168
 
169
169
  if attributes.has_key?(:'originWhitelist')
170
170
  if (value = attributes[:'originWhitelist']).is_a?(Array)
171
- self.origin_whitelist = value
171
+ self.originWhitelist = value
172
172
  end
173
173
  end
174
174
 
175
175
  if attributes.has_key?(:'channelId')
176
- self.channel_id = attributes[:'channelId']
176
+ self.channelId = attributes[:'channelId']
177
177
  end
178
178
 
179
179
  if attributes.has_key?(:'channelSecret')
180
- self.channel_secret = attributes[:'channelSecret']
180
+ self.channelSecret = attributes[:'channelSecret']
181
181
  end
182
182
 
183
183
  if attributes.has_key?(:'hsmFallbackLanguage')
184
- self.hsm_fallback_language = attributes[:'hsmFallbackLanguage']
184
+ self.hsmFallbackLanguage = attributes[:'hsmFallbackLanguage']
185
185
  end
186
186
 
187
187
  end
@@ -204,22 +204,22 @@ module SmoochApi
204
204
  def ==(o)
205
205
  return true if self.equal?(o)
206
206
  self.class == o.class &&
207
- brand_color == o.brand_color &&
208
- fixed_intro_pane == o.fixed_intro_pane &&
209
- conversation_color == o.conversation_color &&
210
- action_color == o.action_color &&
211
- display_style == o.display_style &&
212
- button_icon_url == o.button_icon_url &&
213
- button_width == o.button_width &&
214
- button_height == o.button_height &&
215
- integration_order == o.integration_order &&
216
- business_name == o.business_name &&
217
- business_icon_url == o.business_icon_url &&
218
- background_image_url == o.background_image_url &&
219
- origin_whitelist == o.origin_whitelist &&
220
- channel_id == o.channel_id &&
221
- channel_secret == o.channel_secret &&
222
- hsm_fallback_language == o.hsm_fallback_language
207
+ brandColor == o.brandColor &&
208
+ fixedIntroPane == o.fixedIntroPane &&
209
+ conversationColor == o.conversationColor &&
210
+ actionColor == o.actionColor &&
211
+ displayStyle == o.displayStyle &&
212
+ buttonIconUrl == o.buttonIconUrl &&
213
+ buttonWidth == o.buttonWidth &&
214
+ buttonHeight == o.buttonHeight &&
215
+ integrationOrder == o.integrationOrder &&
216
+ businessName == o.businessName &&
217
+ businessIconUrl == o.businessIconUrl &&
218
+ backgroundImageUrl == o.backgroundImageUrl &&
219
+ originWhitelist == o.originWhitelist &&
220
+ channelId == o.channelId &&
221
+ channelSecret == o.channelSecret &&
222
+ hsmFallbackLanguage == o.hsmFallbackLanguage
223
223
  end
224
224
 
225
225
  # @see the `==` method
@@ -231,7 +231,7 @@ module SmoochApi
231
231
  # Calculates hash code according to all attributes.
232
232
  # @return [Fixnum] Hash code
233
233
  def hash
234
- [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, channel_id, channel_secret, hsm_fallback_language].hash
234
+ [brandColor, fixedIntroPane, conversationColor, actionColor, displayStyle, buttonIconUrl, buttonWidth, buttonHeight, integrationOrder, businessName, businessIconUrl, backgroundImageUrl, originWhitelist, channelId, channelSecret, hsmFallbackLanguage].hash
235
235
  end
236
236
 
237
237
  # 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.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
@@ -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
@@ -16,20 +16,20 @@ module SmoochApi
16
16
 
17
17
  class LinkRequestResponse
18
18
  # The list of link requests.
19
- attr_accessor :link_requests
19
+ attr_accessor :linkRequests
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
- :'link_requests' => :'linkRequests'
25
+ :'linkRequests' => :'linkRequests'
26
26
  }
27
27
  end
28
28
 
29
29
  # Attribute type mapping.
30
30
  def self.swagger_types
31
31
  {
32
- :'link_requests' => :'Array<LinkRequestResponseLinkRequests>'
32
+ :'linkRequests' => :'Array<LinkRequestResponseLinkRequests>'
33
33
  }
34
34
  end
35
35
 
@@ -43,7 +43,7 @@ module SmoochApi
43
43
 
44
44
  if attributes.has_key?(:'linkRequests')
45
45
  if (value = attributes[:'linkRequests']).is_a?(Array)
46
- self.link_requests = value
46
+ self.linkRequests = value
47
47
  end
48
48
  end
49
49
 
@@ -67,7 +67,7 @@ module SmoochApi
67
67
  def ==(o)
68
68
  return true if self.equal?(o)
69
69
  self.class == o.class &&
70
- link_requests == o.link_requests
70
+ linkRequests == o.linkRequests
71
71
  end
72
72
 
73
73
  # @see the `==` method
@@ -79,7 +79,7 @@ module SmoochApi
79
79
  # Calculates hash code according to all attributes.
80
80
  # @return [Fixnum] Hash code
81
81
  def hash
82
- [link_requests].hash
82
+ [linkRequests].hash
83
83
  end
84
84
 
85
85
  # 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.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
@@ -16,7 +16,7 @@ module SmoochApi
16
16
 
17
17
  class LinkRequestResponseLinkRequests
18
18
  # The integration ID.
19
- attr_accessor :integration_id
19
+ attr_accessor :integrationId
20
20
 
21
21
  # The integration type.
22
22
  attr_accessor :type
@@ -31,7 +31,7 @@ module SmoochApi
31
31
  # Attribute mapping from ruby-style variable name to JSON key.
32
32
  def self.attribute_map
33
33
  {
34
- :'integration_id' => :'integrationId',
34
+ :'integrationId' => :'integrationId',
35
35
  :'type' => :'type',
36
36
  :'code' => :'code',
37
37
  :'url' => :'url'
@@ -41,7 +41,7 @@ module SmoochApi
41
41
  # Attribute type mapping.
42
42
  def self.swagger_types
43
43
  {
44
- :'integration_id' => :'String',
44
+ :'integrationId' => :'String',
45
45
  :'type' => :'String',
46
46
  :'code' => :'String',
47
47
  :'url' => :'String'
@@ -57,7 +57,7 @@ module SmoochApi
57
57
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
58
58
 
59
59
  if attributes.has_key?(:'integrationId')
60
- self.integration_id = attributes[:'integrationId']
60
+ self.integrationId = attributes[:'integrationId']
61
61
  end
62
62
 
63
63
  if attributes.has_key?(:'type')
@@ -78,8 +78,8 @@ module SmoochApi
78
78
  # @return Array for valid properies with the reasons
79
79
  def list_invalid_properties
80
80
  invalid_properties = Array.new
81
- if @integration_id.nil?
82
- invalid_properties.push("invalid value for 'integration_id', integration_id cannot be nil.")
81
+ if @integrationId.nil?
82
+ invalid_properties.push("invalid value for 'integrationId', integrationId cannot be nil.")
83
83
  end
84
84
 
85
85
  if @type.nil?
@@ -100,7 +100,7 @@ module SmoochApi
100
100
  # Check to see if the all the properties in the model are valid
101
101
  # @return true if the model is valid
102
102
  def valid?
103
- return false if @integration_id.nil?
103
+ return false if @integrationId.nil?
104
104
  return false if @type.nil?
105
105
  return false if @code.nil?
106
106
  return false if @url.nil?
@@ -112,7 +112,7 @@ module SmoochApi
112
112
  def ==(o)
113
113
  return true if self.equal?(o)
114
114
  self.class == o.class &&
115
- integration_id == o.integration_id &&
115
+ integrationId == o.integrationId &&
116
116
  type == o.type &&
117
117
  code == o.code &&
118
118
  url == o.url
@@ -127,7 +127,7 @@ module SmoochApi
127
127
  # Calculates hash code according to all attributes.
128
128
  # @return [Fixnum] Hash code
129
129
  def hash
130
- [integration_id, type, code, url].hash
130
+ [integrationId, type, code, url].hash
131
131
  end
132
132
 
133
133
  # Builds the object from hash