smooch-api 5.26.0 → 5.34.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +176 -0
  3. data/README.md +14 -1
  4. data/docs/AppApi.md +60 -0
  5. data/docs/AppUserLink.md +1 -0
  6. data/docs/GetSdkIdsResponse.md +10 -0
  7. data/docs/Integration.md +12 -7
  8. data/docs/IntegrationCreate.md +12 -5
  9. data/docs/IntegrationUpdate.md +1 -1
  10. data/docs/Message.md +1 -0
  11. data/docs/MessageItem.md +1 -0
  12. data/docs/MessagePost.md +1 -0
  13. data/lib/smooch-api.rb +2 -1
  14. data/lib/smooch-api/api/app_api.rb +56 -1
  15. data/lib/smooch-api/api/app_user_api.rb +1 -1
  16. data/lib/smooch-api/api/attachments_api.rb +1 -1
  17. data/lib/smooch-api/api/conversation_api.rb +1 -1
  18. data/lib/smooch-api/api/deployment_api.rb +1 -1
  19. data/lib/smooch-api/api/integration_api.rb +1 -1
  20. data/lib/smooch-api/api/menu_api.rb +1 -1
  21. data/lib/smooch-api/api/notification_api.rb +1 -1
  22. data/lib/smooch-api/api/service_account_api.rb +1 -1
  23. data/lib/smooch-api/api/template_api.rb +1 -1
  24. data/lib/smooch-api/api/webhook_api.rb +1 -1
  25. data/lib/smooch-api/api_client.rb +1 -1
  26. data/lib/smooch-api/api_error.rb +1 -1
  27. data/lib/smooch-api/configuration.rb +1 -1
  28. data/lib/smooch-api/models/action.rb +1 -1
  29. data/lib/smooch-api/models/activity_response.rb +1 -1
  30. data/lib/smooch-api/models/app.rb +1 -1
  31. data/lib/smooch-api/models/app_create.rb +1 -1
  32. data/lib/smooch-api/models/app_response.rb +1 -1
  33. data/lib/smooch-api/models/app_settings.rb +1 -1
  34. data/lib/smooch-api/models/app_update.rb +1 -1
  35. data/lib/smooch-api/models/app_user.rb +1 -1
  36. data/lib/smooch-api/models/app_user_business_systems_response.rb +1 -1
  37. data/lib/smooch-api/models/app_user_channels_response.rb +1 -1
  38. data/lib/smooch-api/models/app_user_link.rb +12 -2
  39. data/lib/smooch-api/models/app_user_merge.rb +1 -1
  40. data/lib/smooch-api/models/app_user_pre_create.rb +1 -1
  41. data/lib/smooch-api/models/app_user_response.rb +1 -1
  42. data/lib/smooch-api/models/app_user_update.rb +1 -1
  43. data/lib/smooch-api/models/attachment_remove.rb +1 -1
  44. data/lib/smooch-api/models/attachment_response.rb +1 -1
  45. data/lib/smooch-api/models/auth_code_response.rb +1 -1
  46. data/lib/smooch-api/models/author.rb +1 -1
  47. data/lib/smooch-api/models/business_system_item.rb +1 -1
  48. data/lib/smooch-api/models/channel_entity_item.rb +1 -1
  49. data/lib/smooch-api/models/client.rb +1 -1
  50. data/lib/smooch-api/models/client_info.rb +1 -1
  51. data/lib/smooch-api/models/confirmation.rb +1 -1
  52. data/lib/smooch-api/models/conversation.rb +1 -1
  53. data/lib/smooch-api/models/conversation_activity.rb +1 -1
  54. data/lib/smooch-api/models/coordinates.rb +1 -1
  55. data/lib/smooch-api/models/deployment.rb +1 -1
  56. data/lib/smooch-api/models/deployment_activate_phone_number.rb +1 -1
  57. data/lib/smooch-api/models/deployment_confirm_code.rb +1 -1
  58. data/lib/smooch-api/models/deployment_create.rb +1 -1
  59. data/lib/smooch-api/models/deployment_response.rb +1 -1
  60. data/lib/smooch-api/models/destination.rb +1 -1
  61. data/lib/smooch-api/models/display_settings.rb +1 -1
  62. data/lib/smooch-api/models/enums.rb +1 -1
  63. data/lib/smooch-api/models/field.rb +1 -1
  64. data/lib/smooch-api/models/field_post.rb +1 -1
  65. data/lib/smooch-api/models/get_integration_profile_response.rb +1 -1
  66. data/lib/smooch-api/models/get_messages_response.rb +1 -1
  67. data/lib/smooch-api/models/get_sdk_ids_response.rb +224 -0
  68. data/lib/smooch-api/models/integration.rb +62 -12
  69. data/lib/smooch-api/models/integration_create.rb +80 -10
  70. data/lib/smooch-api/models/integration_profile_update.rb +1 -1
  71. data/lib/smooch-api/models/integration_response.rb +1 -1
  72. data/lib/smooch-api/models/integration_update.rb +2 -2
  73. data/lib/smooch-api/models/jwt_response.rb +1 -1
  74. data/lib/smooch-api/models/link_request_response.rb +1 -1
  75. data/lib/smooch-api/models/link_request_response_link_requests.rb +1 -1
  76. data/lib/smooch-api/models/list_apps_response.rb +1 -1
  77. data/lib/smooch-api/models/list_deployments_response.rb +1 -1
  78. data/lib/smooch-api/models/list_integrations_response.rb +1 -1
  79. data/lib/smooch-api/models/list_secret_keys_response.rb +1 -1
  80. data/lib/smooch-api/models/list_service_accounts_response.rb +1 -1
  81. data/lib/smooch-api/models/list_templates_response.rb +1 -1
  82. data/lib/smooch-api/models/list_webhooks_response.rb +1 -1
  83. data/lib/smooch-api/models/location.rb +1 -1
  84. data/lib/smooch-api/models/menu.rb +1 -1
  85. data/lib/smooch-api/models/menu_item.rb +1 -1
  86. data/lib/smooch-api/models/menu_response.rb +1 -1
  87. data/lib/smooch-api/models/merged_user.rb +1 -1
  88. data/lib/smooch-api/models/message.rb +12 -2
  89. data/lib/smooch-api/models/message_item.rb +12 -2
  90. data/lib/smooch-api/models/message_override.rb +1 -1
  91. data/lib/smooch-api/models/message_override_line.rb +1 -1
  92. data/lib/smooch-api/models/message_override_messenger.rb +1 -1
  93. data/lib/smooch-api/models/message_override_whatsapp.rb +1 -1
  94. data/lib/smooch-api/models/message_post.rb +12 -2
  95. data/lib/smooch-api/models/message_response.rb +1 -1
  96. data/lib/smooch-api/models/notification_post.rb +1 -1
  97. data/lib/smooch-api/models/notification_post_destination.rb +1 -1
  98. data/lib/smooch-api/models/notification_response.rb +1 -1
  99. data/lib/smooch-api/models/notification_response_notification.rb +1 -1
  100. data/lib/smooch-api/models/option.rb +1 -1
  101. data/lib/smooch-api/models/quoted_message.rb +1 -1
  102. data/lib/smooch-api/models/secret_key.rb +1 -1
  103. data/lib/smooch-api/models/secret_key_create.rb +1 -1
  104. data/lib/smooch-api/models/secret_key_response.rb +1 -1
  105. data/lib/smooch-api/models/select.rb +1 -1
  106. data/lib/smooch-api/models/service_account.rb +1 -1
  107. data/lib/smooch-api/models/service_account_create.rb +1 -1
  108. data/lib/smooch-api/models/service_account_response.rb +1 -1
  109. data/lib/smooch-api/models/service_account_update.rb +1 -1
  110. data/lib/smooch-api/models/source.rb +1 -1
  111. data/lib/smooch-api/models/sub_menu_item.rb +1 -1
  112. data/lib/smooch-api/models/template.rb +1 -1
  113. data/lib/smooch-api/models/template_create.rb +1 -1
  114. data/lib/smooch-api/models/template_response.rb +1 -1
  115. data/lib/smooch-api/models/template_update.rb +1 -1
  116. data/lib/smooch-api/models/upload_integration_profile_photo_response.rb +1 -1
  117. data/lib/smooch-api/models/webhook.rb +1 -1
  118. data/lib/smooch-api/models/webhook_create.rb +1 -1
  119. data/lib/smooch-api/models/webhook_response.rb +1 -1
  120. data/lib/smooch-api/models/webhook_update.rb +1 -1
  121. data/lib/smooch-api/version.rb +2 -2
  122. data/smooch-api.gemspec +4 -4
  123. data/spec/api_client_spec.rb +1 -1
  124. data/spec/configuration_spec.rb +1 -1
  125. data/spec/spec_helper.rb +1 -1
  126. metadata +12 -9
@@ -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: 5.25
6
+ OpenAPI spec version: 5.34
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: 5.25
6
+ OpenAPI spec version: 5.34
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: 5.25
6
+ OpenAPI spec version: 5.34
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: 5.25
6
+ OpenAPI spec version: 5.34
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: 5.25
6
+ OpenAPI spec version: 5.34
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: 5.25
6
+ OpenAPI spec version: 5.34
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: 5.25
6
+ OpenAPI spec version: 5.34
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: 5.25
6
+ OpenAPI spec version: 5.34
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: 5.25
6
+ OpenAPI spec version: 5.34
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: 5.25
6
+ OpenAPI spec version: 5.34
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: 5.25
6
+ OpenAPI spec version: 5.34
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT
@@ -51,6 +51,9 @@ module SmoochApi
51
51
  # The mediaType for the message. Required for image/file messages.
52
52
  attr_accessor :mediaType
53
53
 
54
+ # An optional description of the image or the file for accessibility purposes. The field will be saved by default with the file name as the value.
55
+ attr_accessor :altText
56
+
54
57
  # Flat JSON object containing any custom properties associated with the message.
55
58
  attr_accessor :metadata
56
59
 
@@ -103,6 +106,7 @@ module SmoochApi
103
106
  :'received' => :'received',
104
107
  :'mediaUrl' => :'mediaUrl',
105
108
  :'mediaType' => :'mediaType',
109
+ :'altText' => :'altText',
106
110
  :'metadata' => :'metadata',
107
111
  :'items' => :'items',
108
112
  :'actions' => :'actions',
@@ -133,6 +137,7 @@ module SmoochApi
133
137
  :'received' => :'Float',
134
138
  :'mediaUrl' => :'String',
135
139
  :'mediaType' => :'String',
140
+ :'altText' => :'String',
136
141
  :'metadata' => :'Object',
137
142
  :'items' => :'Array<MessageItem>',
138
143
  :'actions' => :'Array<Action>',
@@ -204,6 +209,10 @@ module SmoochApi
204
209
  self.mediaType = attributes[:'mediaType']
205
210
  end
206
211
 
212
+ if attributes.has_key?(:'altText')
213
+ self.altText = attributes[:'altText']
214
+ end
215
+
207
216
  if attributes.has_key?(:'metadata')
208
217
  self.metadata = attributes[:'metadata']
209
218
  end
@@ -330,6 +339,7 @@ module SmoochApi
330
339
  received == o.received &&
331
340
  mediaUrl == o.mediaUrl &&
332
341
  mediaType == o.mediaType &&
342
+ altText == o.altText &&
333
343
  metadata == o.metadata &&
334
344
  items == o.items &&
335
345
  actions == o.actions &&
@@ -353,7 +363,7 @@ module SmoochApi
353
363
  # Calculates hash code according to all attributes.
354
364
  # @return [Fixnum] Hash code
355
365
  def hash
356
- [id, authorId, role, type, source, name, text, email, avatarUrl, received, mediaUrl, mediaType, metadata, items, actions, payload, displaySettings, blockChatInput, fields, submitted, quotedMessage, textFallback, coordinates, location].hash
366
+ [id, authorId, role, type, source, name, text, email, avatarUrl, received, mediaUrl, mediaType, altText, metadata, items, actions, payload, displaySettings, blockChatInput, fields, submitted, quotedMessage, textFallback, coordinates, location].hash
357
367
  end
358
368
 
359
369
  # 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: 5.25
6
+ OpenAPI spec version: 5.34
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT
@@ -24,6 +24,9 @@ module SmoochApi
24
24
  # The image URL to be shown in the carousel/list item.
25
25
  attr_accessor :mediaUrl
26
26
 
27
+ # An optional description of the media for accessibility purposes. The field will be saved by default with the file name as the value.
28
+ attr_accessor :altText
29
+
27
30
  # The size of the image to be shown in the carousel/list item. Only top item of Facebook Messenger carousel supported. See [**MessageItemSizeEnum**](Enums.md#MessageItemSizeEnum) for available values.
28
31
  attr_accessor :size
29
32
 
@@ -40,6 +43,7 @@ module SmoochApi
40
43
  :'title' => :'title',
41
44
  :'description' => :'description',
42
45
  :'mediaUrl' => :'mediaUrl',
46
+ :'altText' => :'altText',
43
47
  :'size' => :'size',
44
48
  :'mediaType' => :'mediaType',
45
49
  :'actions' => :'actions'
@@ -52,6 +56,7 @@ module SmoochApi
52
56
  :'title' => :'String',
53
57
  :'description' => :'String',
54
58
  :'mediaUrl' => :'String',
59
+ :'altText' => :'String',
55
60
  :'size' => :'String',
56
61
  :'mediaType' => :'String',
57
62
  :'actions' => :'Array<Action>'
@@ -78,6 +83,10 @@ module SmoochApi
78
83
  self.mediaUrl = attributes[:'mediaUrl']
79
84
  end
80
85
 
86
+ if attributes.has_key?(:'altText')
87
+ self.altText = attributes[:'altText']
88
+ end
89
+
81
90
  if attributes.has_key?(:'size')
82
91
  self.size = attributes[:'size']
83
92
  end
@@ -125,6 +134,7 @@ module SmoochApi
125
134
  title == o.title &&
126
135
  description == o.description &&
127
136
  mediaUrl == o.mediaUrl &&
137
+ altText == o.altText &&
128
138
  size == o.size &&
129
139
  mediaType == o.mediaType &&
130
140
  actions == o.actions
@@ -139,7 +149,7 @@ module SmoochApi
139
149
  # Calculates hash code according to all attributes.
140
150
  # @return [Fixnum] Hash code
141
151
  def hash
142
- [title, description, mediaUrl, size, mediaType, actions].hash
152
+ [title, description, mediaUrl, altText, size, mediaType, actions].hash
143
153
  end
144
154
 
145
155
  # 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: 5.25
6
+ OpenAPI spec version: 5.34
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: 5.25
6
+ OpenAPI spec version: 5.34
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: 5.25
6
+ OpenAPI spec version: 5.34
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: 5.25
6
+ OpenAPI spec version: 5.34
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: 5.25
6
+ OpenAPI spec version: 5.34
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT
@@ -45,6 +45,9 @@ module SmoochApi
45
45
  # The mediaType for the message. Required for image/file messages.
46
46
  attr_accessor :mediaType
47
47
 
48
+ # An optional description of the image or the file for accessibility purposes. The field will be saved by default with the file name as the value.
49
+ attr_accessor :altText
50
+
48
51
  # The items in the message list. Required for carousel and list messages.
49
52
  attr_accessor :items
50
53
 
@@ -86,6 +89,7 @@ module SmoochApi
86
89
  :'text' => :'text',
87
90
  :'mediaUrl' => :'mediaUrl',
88
91
  :'mediaType' => :'mediaType',
92
+ :'altText' => :'altText',
89
93
  :'items' => :'items',
90
94
  :'actions' => :'actions',
91
95
  :'blockChatInput' => :'blockChatInput',
@@ -111,6 +115,7 @@ module SmoochApi
111
115
  :'text' => :'String',
112
116
  :'mediaUrl' => :'String',
113
117
  :'mediaType' => :'String',
118
+ :'altText' => :'String',
114
119
  :'items' => :'Array<MessageItem>',
115
120
  :'actions' => :'Array<Action>',
116
121
  :'blockChatInput' => :'BOOLEAN',
@@ -171,6 +176,10 @@ module SmoochApi
171
176
  self.mediaType = attributes[:'mediaType']
172
177
  end
173
178
 
179
+ if attributes.has_key?(:'altText')
180
+ self.altText = attributes[:'altText']
181
+ end
182
+
174
183
  if attributes.has_key?(:'items')
175
184
  if (value = attributes[:'items']).is_a?(Array)
176
185
  self.items = value
@@ -253,6 +262,7 @@ module SmoochApi
253
262
  text == o.text &&
254
263
  mediaUrl == o.mediaUrl &&
255
264
  mediaType == o.mediaType &&
265
+ altText == o.altText &&
256
266
  items == o.items &&
257
267
  actions == o.actions &&
258
268
  blockChatInput == o.blockChatInput &&
@@ -273,7 +283,7 @@ module SmoochApi
273
283
  # Calculates hash code according to all attributes.
274
284
  # @return [Fixnum] Hash code
275
285
  def hash
276
- [role, type, name, email, avatarUrl, metadata, payload, text, mediaUrl, mediaType, items, actions, blockChatInput, displaySettings, fields, destination, override, coordinates, location].hash
286
+ [role, type, name, email, avatarUrl, metadata, payload, text, mediaUrl, mediaType, altText, items, actions, blockChatInput, displaySettings, fields, destination, override, coordinates, location].hash
277
287
  end
278
288
 
279
289
  # 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: 5.25
6
+ OpenAPI spec version: 5.34
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: 5.25
6
+ OpenAPI spec version: 5.34
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: 5.25
6
+ OpenAPI spec version: 5.34
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: 5.25
6
+ OpenAPI spec version: 5.34
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: 5.25
6
+ OpenAPI spec version: 5.34
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: 5.25
6
+ OpenAPI spec version: 5.34
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: 5.25
6
+ OpenAPI spec version: 5.34
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: 5.25
6
+ OpenAPI spec version: 5.34
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: 5.25
6
+ OpenAPI spec version: 5.34
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: 5.25
6
+ OpenAPI spec version: 5.34
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: 5.25
6
+ OpenAPI spec version: 5.34
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: 5.25
6
+ OpenAPI spec version: 5.34
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT