smooch-api 5.29.1 → 5.34.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/docs/Integration.md +9 -8
  4. data/docs/IntegrationCreate.md +6 -6
  5. data/docs/IntegrationUpdate.md +1 -1
  6. data/docs/Message.md +1 -0
  7. data/docs/MessageItem.md +1 -0
  8. data/docs/MessagePost.md +1 -0
  9. data/lib/smooch-api.rb +1 -1
  10. data/lib/smooch-api/api/app_api.rb +1 -1
  11. data/lib/smooch-api/api/app_user_api.rb +1 -1
  12. data/lib/smooch-api/api/attachments_api.rb +1 -1
  13. data/lib/smooch-api/api/conversation_api.rb +1 -1
  14. data/lib/smooch-api/api/deployment_api.rb +1 -1
  15. data/lib/smooch-api/api/integration_api.rb +1 -1
  16. data/lib/smooch-api/api/menu_api.rb +1 -1
  17. data/lib/smooch-api/api/notification_api.rb +1 -1
  18. data/lib/smooch-api/api/service_account_api.rb +1 -1
  19. data/lib/smooch-api/api/template_api.rb +1 -1
  20. data/lib/smooch-api/api/webhook_api.rb +1 -1
  21. data/lib/smooch-api/api_client.rb +1 -1
  22. data/lib/smooch-api/api_error.rb +1 -1
  23. data/lib/smooch-api/configuration.rb +1 -1
  24. data/lib/smooch-api/models/action.rb +1 -1
  25. data/lib/smooch-api/models/activity_response.rb +1 -1
  26. data/lib/smooch-api/models/app.rb +1 -1
  27. data/lib/smooch-api/models/app_create.rb +1 -1
  28. data/lib/smooch-api/models/app_response.rb +1 -1
  29. data/lib/smooch-api/models/app_settings.rb +1 -1
  30. data/lib/smooch-api/models/app_update.rb +1 -1
  31. data/lib/smooch-api/models/app_user.rb +1 -1
  32. data/lib/smooch-api/models/app_user_business_systems_response.rb +1 -1
  33. data/lib/smooch-api/models/app_user_channels_response.rb +1 -1
  34. data/lib/smooch-api/models/app_user_link.rb +1 -1
  35. data/lib/smooch-api/models/app_user_merge.rb +1 -1
  36. data/lib/smooch-api/models/app_user_pre_create.rb +1 -1
  37. data/lib/smooch-api/models/app_user_response.rb +1 -1
  38. data/lib/smooch-api/models/app_user_update.rb +1 -1
  39. data/lib/smooch-api/models/attachment_remove.rb +1 -1
  40. data/lib/smooch-api/models/attachment_response.rb +1 -1
  41. data/lib/smooch-api/models/auth_code_response.rb +1 -1
  42. data/lib/smooch-api/models/author.rb +1 -1
  43. data/lib/smooch-api/models/business_system_item.rb +1 -1
  44. data/lib/smooch-api/models/channel_entity_item.rb +1 -1
  45. data/lib/smooch-api/models/client.rb +1 -1
  46. data/lib/smooch-api/models/client_info.rb +1 -1
  47. data/lib/smooch-api/models/confirmation.rb +1 -1
  48. data/lib/smooch-api/models/conversation.rb +1 -1
  49. data/lib/smooch-api/models/conversation_activity.rb +1 -1
  50. data/lib/smooch-api/models/coordinates.rb +1 -1
  51. data/lib/smooch-api/models/deployment.rb +1 -1
  52. data/lib/smooch-api/models/deployment_activate_phone_number.rb +1 -1
  53. data/lib/smooch-api/models/deployment_confirm_code.rb +1 -1
  54. data/lib/smooch-api/models/deployment_create.rb +1 -1
  55. data/lib/smooch-api/models/deployment_response.rb +1 -1
  56. data/lib/smooch-api/models/destination.rb +1 -1
  57. data/lib/smooch-api/models/display_settings.rb +1 -1
  58. data/lib/smooch-api/models/enums.rb +1 -1
  59. data/lib/smooch-api/models/field.rb +1 -1
  60. data/lib/smooch-api/models/field_post.rb +1 -1
  61. data/lib/smooch-api/models/get_integration_profile_response.rb +1 -1
  62. data/lib/smooch-api/models/get_messages_response.rb +1 -1
  63. data/lib/smooch-api/models/get_sdk_ids_response.rb +1 -1
  64. data/lib/smooch-api/models/integration.rb +20 -10
  65. data/lib/smooch-api/models/integration_create.rb +7 -7
  66. data/lib/smooch-api/models/integration_profile_update.rb +1 -1
  67. data/lib/smooch-api/models/integration_response.rb +1 -1
  68. data/lib/smooch-api/models/integration_update.rb +2 -2
  69. data/lib/smooch-api/models/jwt_response.rb +1 -1
  70. data/lib/smooch-api/models/link_request_response.rb +1 -1
  71. data/lib/smooch-api/models/link_request_response_link_requests.rb +1 -1
  72. data/lib/smooch-api/models/list_apps_response.rb +1 -1
  73. data/lib/smooch-api/models/list_deployments_response.rb +1 -1
  74. data/lib/smooch-api/models/list_integrations_response.rb +1 -1
  75. data/lib/smooch-api/models/list_secret_keys_response.rb +1 -1
  76. data/lib/smooch-api/models/list_service_accounts_response.rb +1 -1
  77. data/lib/smooch-api/models/list_templates_response.rb +1 -1
  78. data/lib/smooch-api/models/list_webhooks_response.rb +1 -1
  79. data/lib/smooch-api/models/location.rb +1 -1
  80. data/lib/smooch-api/models/menu.rb +1 -1
  81. data/lib/smooch-api/models/menu_item.rb +1 -1
  82. data/lib/smooch-api/models/menu_response.rb +1 -1
  83. data/lib/smooch-api/models/merged_user.rb +1 -1
  84. data/lib/smooch-api/models/message.rb +12 -2
  85. data/lib/smooch-api/models/message_item.rb +12 -2
  86. data/lib/smooch-api/models/message_override.rb +1 -1
  87. data/lib/smooch-api/models/message_override_line.rb +1 -1
  88. data/lib/smooch-api/models/message_override_messenger.rb +1 -1
  89. data/lib/smooch-api/models/message_override_whatsapp.rb +1 -1
  90. data/lib/smooch-api/models/message_post.rb +12 -2
  91. data/lib/smooch-api/models/message_response.rb +1 -1
  92. data/lib/smooch-api/models/notification_post.rb +1 -1
  93. data/lib/smooch-api/models/notification_post_destination.rb +1 -1
  94. data/lib/smooch-api/models/notification_response.rb +1 -1
  95. data/lib/smooch-api/models/notification_response_notification.rb +1 -1
  96. data/lib/smooch-api/models/option.rb +1 -1
  97. data/lib/smooch-api/models/quoted_message.rb +1 -1
  98. data/lib/smooch-api/models/secret_key.rb +1 -1
  99. data/lib/smooch-api/models/secret_key_create.rb +1 -1
  100. data/lib/smooch-api/models/secret_key_response.rb +1 -1
  101. data/lib/smooch-api/models/select.rb +1 -1
  102. data/lib/smooch-api/models/service_account.rb +1 -1
  103. data/lib/smooch-api/models/service_account_create.rb +1 -1
  104. data/lib/smooch-api/models/service_account_response.rb +1 -1
  105. data/lib/smooch-api/models/service_account_update.rb +1 -1
  106. data/lib/smooch-api/models/source.rb +1 -1
  107. data/lib/smooch-api/models/sub_menu_item.rb +1 -1
  108. data/lib/smooch-api/models/template.rb +1 -1
  109. data/lib/smooch-api/models/template_create.rb +1 -1
  110. data/lib/smooch-api/models/template_response.rb +1 -1
  111. data/lib/smooch-api/models/template_update.rb +1 -1
  112. data/lib/smooch-api/models/upload_integration_profile_photo_response.rb +1 -1
  113. data/lib/smooch-api/models/webhook.rb +1 -1
  114. data/lib/smooch-api/models/webhook_create.rb +1 -1
  115. data/lib/smooch-api/models/webhook_response.rb +1 -1
  116. data/lib/smooch-api/models/webhook_update.rb +1 -1
  117. data/lib/smooch-api/version.rb +2 -2
  118. data/smooch-api.gemspec +1 -1
  119. data/spec/api_client_spec.rb +1 -1
  120. data/spec/configuration_spec.rb +1 -1
  121. data/spec/spec_helper.rb +1 -1
  122. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4b248d59fcf907c9d9610faa94d4f86b35edd0f1
4
- data.tar.gz: 02bf5b8b8336dd08d4c77a3b1591cc048054beb8
3
+ metadata.gz: 90d0d302fd9a6eafb34e7aff8d955eb17c745f59
4
+ data.tar.gz: 739432170aa2c2872700a9818a42bf5bc18ddfc2
5
5
  SHA512:
6
- metadata.gz: 9709e9be080d015d96b2b79b084bf80575f3dfc725d24e5121c85b7c4f83236135b968eabf0fc8e5bc35b612fffce55030393e2d08126b387516bd38875b4aea
7
- data.tar.gz: 92759b645fc965fafb474e4d6d0ada872cd6711d410bd938aae44e18032a945880071a4806d777da9e3c716544fd2707fe64813e6c6073c6b084c288a2d0f777
6
+ metadata.gz: 1b5ce4afbaf6f19262135f339ea6f3200310640b69be4b8383af900f39bd17881c0aa7e03af77560b0aa350558bf93d026f24f4e52e0cb19a79a5148697658cf
7
+ data.tar.gz: b3eb46087e0bc572a68df4c9fafe84eb39a50e4fec689cc8c4adc411b7868143d0d19f8717d05f3493a0750230290b73e98e3357dca0048fc488fb0c50f3afa2
data/README.md CHANGED
@@ -25,7 +25,7 @@ gem install smooch-api
25
25
 
26
26
  Add this to the Gemfile:
27
27
 
28
- gem 'smooch-api', '~> 5.29.1'
28
+ gem 'smooch-api', '~> 5.34.0'
29
29
 
30
30
  ## Getting Started
31
31
 
data/docs/Integration.md CHANGED
@@ -6,12 +6,12 @@ Name | Type | Description | Notes
6
6
  **id** | **String** | The integration ID, generated automatically. |
7
7
  **type** | **String** | The integration type. See [**IntegrationTypeEnum**](Enums.md#IntegrationTypeEnum) for available values. |
8
8
  **displayName** | **String** | The integration display name. Used to map a human-friendly name to an integration. | [optional]
9
- **pageAccessToken** | **String** | Facebook Page Access Token. Required for *messenger* integrations. | [optional]
10
- **appId** | **String** | Facebook App ID OR WeChat App ID. Required for *messenger* and *wechat* integrations. | [optional]
11
- **appSecret** | **String** | Facebook Page App Secret OR WeChat App Secret. Required for *messenger* and *wechat* integrations. | [optional]
9
+ **pageAccessToken** | **String** | Facebook Page Access Token. Required for *messenger* and *instagram* integrations. | [optional]
10
+ **appId** | **String** | Facebook App ID OR WeChat App ID. Required for *messenger*, *instagram* and *wechat* integrations. | [optional]
11
+ **appSecret** | **String** | Facebook Page App Secret OR WeChat App Secret. Required for *messenger*, *instagram* and *wechat* integrations. | [optional]
12
12
  **accessTokenUrl** | **String** | Optional endpoint to generate access tokens for WeChat. Used to coordinate API access with third party systems. | [optional]
13
13
  **webhookSecret** | **String** | Secret to verify webhooks. Returned on successful *wechat* and *messagebird* integrations. | [optional]
14
- **pageId** | **String** | Facebook Page App ID. Returned on successful *messenger* integrations. | [optional]
14
+ **pageId** | **String** | Facebook Page App ID. Returned on successful *messenger* and *instagram* integrations. | [optional]
15
15
  **accountSid** | **String** | Twilio Account SID. Required for *twilio* integrations. | [optional]
16
16
  **authToken** | **String** | Twilio Auth Token. Required for *twilio* integrations. | [optional]
17
17
  **phoneNumberSid** | **String** | SID for specific phone number. Required for *twilio* integrations. | [optional]
@@ -44,8 +44,8 @@ Name | Type | Description | Notes
44
44
  **consumerSecret** | **String** | The consumer secret for your Twitter app. Required for *twitter* integrations. | [optional]
45
45
  **accessTokenKey** | **String** | The access token key obtained from your user via oauth. Required for *twitter* integrations. | [optional]
46
46
  **accessTokenSecret** | **String** | The access token secret obtained from your user via oauth. Required for *twitter* integrations. | [optional]
47
- **userId** | **String** | The twitter userId. Returned on successful *twitter* integrations. | [optional]
48
- **username** | **String** | The username for the account. Returned on successful *twitter* and *telegram* integrations. Required for *WhatsApp* integrations. (this usage is deprecated) | [optional]
47
+ **userId** | **String** | The twitter userId or Facebook userId. Returned on successful *twitter* and *instagram* integrations. | [optional]
48
+ **username** | **String** | A twitter, telegram and facebook account username Returned on successful *twitter*, *telegram* and *instagram* integrations. Required for *WhatsApp* integrations. (this usage is deprecated) | [optional]
49
49
  **apiKey** | **String** | The public API key of your Mailgun account. Required for *mailgun* integrations. | [optional]
50
50
  **domain** | **String** | The domain used to relay email. Required for *mailgun* integrations. | [optional]
51
51
  **incomingAddress** | **String** | Smooch will receive all emails sent to this address. Required for *mailgun* integrations. | [optional]
@@ -61,7 +61,8 @@ Name | Type | Description | Notes
61
61
  **buttonWidth** | **String** | With the button style Web Messenger, you have the option of specifying its width. (Optional) Used for *Web Messenger* integrations. | [optional]
62
62
  **buttonHeight** | **String** | With the button style Web Messenger, you have the option of specifying its height. (Optional) Used for *Web Messenger* integrations. | [optional]
63
63
  **integrationOrder** | **Array<String>** | 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. | [optional]
64
- **businessName** | **String** | A custom business name for the Web Messenger. (Optional) Used for *Web Messenger* integrations. | [optional]
64
+ **businessName** | **String** | A custom business name for the Web Messenger or Instagram Business account name. (Optional) Used for *Web Messenger* integrations. | [optional]
65
+ **businessUsername** | **String** | Instagram Business account username. | [optional]
65
66
  **businessIconUrl** | **String** | A custom business icon url for the Web Messenger. (Optional) Used for *Web Messenger* integrations. | [optional]
66
67
  **backgroundImageUrl** | **String** | A custom background url for the Web Messenger. (Optional) Used for *Web Messenger* integrations. | [optional]
67
68
  **originWhitelist** | **Array<String>** | 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. | [optional]
@@ -69,7 +70,7 @@ Name | Type | Description | Notes
69
70
  **status** | **String** | The integration status. See [**IntegrationStatusEnum**](Enums.md#IntegrationStatusEnum) for available values. [More info](https://docs.smooch.io/#integration-status). | [optional]
70
71
  **error** | **String** | The error causing the integration to fail. Will be present when `status` is 'error'. | [optional]
71
72
  **apiSecret** | **String** | A key tied to Apple Business Chat Messaging Service Provider | [optional]
72
- **businessId** | **String** | A unique ID tied to the brand using Apple Business Chat | [optional]
73
+ **businessId** | **String** | A unique ID tied to the brand using Apple Business Chat or the Instagram Business ID | [optional]
73
74
  **mspId** | **String** | A unique identifier for an Apple Business Chat partner registered as a Messaging Service Provider through Apple Business Register | [optional]
74
75
 
75
76
 
@@ -5,9 +5,9 @@ Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **type** | **String** | The integration type. See [**IntegrationTypeEnum**](Enums.md#IntegrationTypeEnum) for available values. |
7
7
  **displayName** | **String** | The integration display name. Used to map a human-friendly name to an integration. | [optional]
8
- **pageAccessToken** | **String** | Facebook Page Access Token. Required for *messenger* integrations. | [optional]
9
- **appId** | **String** | Facebook App ID OR WeChat App ID. Required for *messenger* and *wechat* integrations. | [optional]
10
- **appSecret** | **String** | Facebook Page App Secret OR WeChat App Secret. Required for *messenger* and *wechat* integrations. | [optional]
8
+ **pageAccessToken** | **String** | Facebook Page Access Token. Required for *messenger* and *instagram* integrations. | [optional]
9
+ **appId** | **String** | Facebook App ID OR WeChat App ID. Required for *messenger*, *instagram* and *wechat* integrations. | [optional]
10
+ **appSecret** | **String** | Facebook Page App Secret OR WeChat App Secret. Required for *messenger*, *instagram* and *wechat* integrations. | [optional]
11
11
  **accountSid** | **String** | Twilio Account SID. Required for *twilio* integrations. | [optional]
12
12
  **authToken** | **String** | Twilio Auth Token. Required for *twilio* integrations. | [optional]
13
13
  **baseUrl** | **String** | Your WhatsApp API client's URL. Required for *WhatsApp* integrations. (this usage is deprecated) | [optional]
@@ -24,7 +24,7 @@ Name | Type | Description | Notes
24
24
  **fromAddress** | **String** | Email address to use as the `From` and `Reply-To` address if it must be different from `incomingAddress`. Only use this option if the address that you supply is configured to forward emails to the `incomingAddress`, otherwise user replies will be lost. You must also make sure that the domain is properly configured as a mail provider so as to not be flagged as spam by the user's email client. (Optional) Used for *mailgun* integrations. | [optional]
25
25
  **certificate** | **String** | The binary of your APN certificate base64 encoded. Required for *apn* integrations. | [optional]
26
26
  **password** | **String** | The password for your APN certificate or WhatsApp API client. Required for *WhatsApp* integrations. (this usage is deprecated) (Optional) Used for *apn* integrations. | [optional]
27
- **username** | **String** | The username for the account. Returned on successful *twitter* and *telegram* integrations. Required for *WhatsApp* integrations. (this usage is deprecated) | [optional]
27
+ **username** | **String** | A twitter, telegram and facebook account username Returned on successful *twitter*, *telegram* and *instagram* integrations. Required for *WhatsApp* integrations. (this usage is deprecated) | [optional]
28
28
  **autoUpdateBadge** | **BOOLEAN** | Use the unread count of the conversation as the application badge. (Optional) Used for *apn* integrations. | [optional]
29
29
  **production** | **BOOLEAN** | Flag specifying the APN environment to connect to (`production` if true, `sandbox` otherwise). Defaults to value inferred from certificate if not specified. (Optional) Used for *apn* integrations. | [optional]
30
30
  **serverKey** | **String** | Your server key from the fcm console. Required for *fcm* integrations. | [optional]
@@ -47,7 +47,7 @@ Name | Type | Description | Notes
47
47
  **buttonWidth** | **String** | With the button style Web Messenger, you have the option of specifying its width. (Optional) Used for *Web Messenger* integrations. | [optional]
48
48
  **buttonHeight** | **String** | With the button style Web Messenger, you have the option of specifying its height. (Optional) Used for *Web Messenger* integrations. | [optional]
49
49
  **integrationOrder** | **Array<String>** | 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. | [optional]
50
- **businessName** | **String** | A custom business name for the Web Messenger. (Optional) Used for *Web Messenger* integrations. | [optional]
50
+ **businessName** | **String** | A custom business name for the Web Messenger or Instagram Business account name. (Optional) Used for *Web Messenger* integrations. | [optional]
51
51
  **businessIconUrl** | **String** | A custom business icon url for the Web Messenger. (Optional) Used for *Web Messenger* integrations. | [optional]
52
52
  **backgroundImageUrl** | **String** | A custom background url for the Web Messenger. (Optional) Used for *Web Messenger* integrations. | [optional]
53
53
  **originWhitelist** | **Array<String>** | 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. | [optional]
@@ -58,7 +58,7 @@ Name | Type | Description | Notes
58
58
  **domain** | **String** | The domain used to relay email. Required for *mailgun* integrations. | [optional]
59
59
  **incomingAddress** | **String** | Smooch will receive all emails sent to this address. Required for *mailgun* integrations. | [optional]
60
60
  **apiSecret** | **String** | A key tied to Apple Business Chat Messaging Service Provider | [optional]
61
- **businessId** | **String** | A unique ID tied to the brand using Apple Business Chat | [optional]
61
+ **businessId** | **String** | A unique ID tied to the brand using Apple Business Chat or the Instagram Business ID | [optional]
62
62
  **mspId** | **String** | A unique identifier for an Apple Business Chat partner registered as a Messaging Service Provider through Apple Business Register | [optional]
63
63
 
64
64
 
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
13
13
  **buttonWidth** | **String** | With the button style Web Messenger, you have the option of specifying its width. (Optional) Used for *Web Messenger* integrations. | [optional]
14
14
  **buttonHeight** | **String** | With the button style Web Messenger, you have the option of specifying its height. (Optional) Used for *Web Messenger* integrations. | [optional]
15
15
  **integrationOrder** | **Array<String>** | 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. | [optional]
16
- **businessName** | **String** | A custom business name for the Web Messenger. (Optional) Used for *Web Messenger* integrations. | [optional]
16
+ **businessName** | **String** | A custom business name for the Web Messenger or Instagram Business account name. (Optional) Used for *Web Messenger* integrations. | [optional]
17
17
  **businessIconUrl** | **String** | A custom business icon url for the Web Messenger. (Optional) Used for *Web Messenger* integrations. | [optional]
18
18
  **backgroundImageUrl** | **String** | A custom background url for the Web Messenger. (Optional) Used for *Web Messenger* integrations. | [optional]
19
19
  **originWhitelist** | **Array<String>** | 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. | [optional]
data/docs/Message.md CHANGED
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
15
15
  **received** | **Float** | The unix timestamp of the moment the message was received. |
16
16
  **mediaUrl** | **String** | The mediaUrl for the message. Required for image/file messages. | [optional]
17
17
  **mediaType** | **String** | The mediaType for the message. Required for image/file messages. | [optional]
18
+ **altText** | **String** | 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. | [optional]
18
19
  **metadata** | **Object** | Flat JSON object containing any custom properties associated with the message. | [optional]
19
20
  **items** | [**Array<MessageItem>**](MessageItem.md) | The items in the message list. Required for carousel and list messages. | [optional]
20
21
  **actions** | [**Array<Action>**](Action.md) | The actions in the message. | [optional]
data/docs/MessageItem.md CHANGED
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  **title** | **String** | The title of the message item. |
7
7
  **description** | **String** | The text description, or subtitle. | [optional]
8
8
  **mediaUrl** | **String** | The image URL to be shown in the carousel/list item. | [optional]
9
+ **altText** | **String** | An optional description of the media for accessibility purposes. The field will be saved by default with the file name as the value. | [optional]
9
10
  **size** | **String** | 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. | [optional]
10
11
  **mediaType** | **String** | If a *mediaUrl* was specified, the media type is defined here, for example *image/jpeg*. | [optional]
11
12
  **actions** | [**Array<Action>**](Action.md) | Array of [action buttons](https://docs.smooch.io/rest/#action-buttons). At least 1 is required, a maximum of 3 are allowed. |
data/docs/MessagePost.md CHANGED
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
13
13
  **text** | **String** | The message text. Required for text messages. | [optional]
14
14
  **mediaUrl** | **String** | The mediaUrl for the message. Required for image/file messages. | [optional]
15
15
  **mediaType** | **String** | The mediaType for the message. Required for image/file messages. | [optional]
16
+ **altText** | **String** | 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. | [optional]
16
17
  **items** | [**Array<MessageItem>**](MessageItem.md) | The items in the message list. Required for carousel and list messages. | [optional]
17
18
  **actions** | [**Array<Action>**](Action.md) | The actions in the message. | [optional]
18
19
  **blockChatInput** | **BOOLEAN** | Indicates if the Web SDK chat input should be blocked. Defaults to false. Only for form messages. | [optional]
data/lib/smooch-api.rb CHANGED
@@ -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.29
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.29
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.29
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.29
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.29
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.29
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.29
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.29
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.29
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.29
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.29
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.29
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.29
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.29
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.29
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.29
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.29
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.29
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.29
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.29
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.29
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.29
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.29
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.29
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.29
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.29
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.29
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.29
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.29
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.29
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