smooch-api 4.2.0 → 5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -3
  3. data/docs/Action.md +2 -2
  4. data/docs/AppUserLink.md +1 -1
  5. data/docs/BusinessSystemItem.md +1 -1
  6. data/docs/ChannelEntityItem.md +1 -1
  7. data/docs/Client.md +1 -1
  8. data/docs/ClientInfo.md +1 -1
  9. data/docs/Confirmation.md +1 -1
  10. data/docs/{TypingActivityTrigger.md → ConversationActivity.md} +3 -3
  11. data/docs/ConversationApi.md +49 -49
  12. data/docs/Destination.md +1 -1
  13. data/docs/DisplaySettings.md +1 -1
  14. data/docs/Enums.md +20 -0
  15. data/docs/Integration.md +2 -2
  16. data/docs/IntegrationCreate.md +1 -1
  17. data/docs/LinkRequestResponseLinkRequests.md +1 -1
  18. data/docs/MenuItem.md +1 -1
  19. data/docs/Message.md +2 -2
  20. data/docs/MessageItem.md +1 -1
  21. data/docs/MessagePost.md +2 -2
  22. data/docs/Source.md +1 -1
  23. data/docs/SubMenuItem.md +1 -1
  24. data/docs/Webhook.md +1 -1
  25. data/docs/WebhookCreate.md +1 -1
  26. data/docs/WebhookUpdate.md +1 -1
  27. data/lib/smooch-api.rb +2 -1
  28. data/lib/smooch-api/api/conversation_api.rb +66 -66
  29. data/lib/smooch-api/models/action.rb +2 -2
  30. data/lib/smooch-api/models/app_user_link.rb +1 -1
  31. data/lib/smooch-api/models/business_system_item.rb +1 -1
  32. data/lib/smooch-api/models/channel_entity_item.rb +1 -1
  33. data/lib/smooch-api/models/client.rb +1 -1
  34. data/lib/smooch-api/models/client_info.rb +1 -1
  35. data/lib/smooch-api/models/confirmation.rb +1 -1
  36. data/lib/smooch-api/models/{typing_activity_trigger.rb → conversation_activity.rb} +3 -3
  37. data/lib/smooch-api/models/destination.rb +1 -1
  38. data/lib/smooch-api/models/display_settings.rb +1 -1
  39. data/lib/smooch-api/models/enums.rb +473 -0
  40. data/lib/smooch-api/models/integration.rb +2 -2
  41. data/lib/smooch-api/models/integration_create.rb +1 -1
  42. data/lib/smooch-api/models/link_request_response_link_requests.rb +1 -1
  43. data/lib/smooch-api/models/menu_item.rb +1 -1
  44. data/lib/smooch-api/models/message.rb +2 -2
  45. data/lib/smooch-api/models/message_item.rb +1 -1
  46. data/lib/smooch-api/models/message_post.rb +2 -2
  47. data/lib/smooch-api/models/source.rb +1 -1
  48. data/lib/smooch-api/models/sub_menu_item.rb +1 -1
  49. data/lib/smooch-api/models/webhook.rb +1 -1
  50. data/lib/smooch-api/models/webhook_create.rb +1 -1
  51. data/lib/smooch-api/models/webhook_update.rb +1 -1
  52. data/lib/smooch-api/version.rb +1 -1
  53. metadata +6 -4
@@ -18,7 +18,7 @@ module SmoochApi
18
18
  # The integration ID, generated automatically.
19
19
  attr_accessor :id
20
20
 
21
- # The integration type.
21
+ # The integration type. See Enums.md for available values.
22
22
  attr_accessor :type
23
23
 
24
24
  # Facebook Page Access Token. Required for *messenger* integrations.
@@ -180,7 +180,7 @@ module SmoochApi
180
180
  # A list of origins to whitelist. When set, only the origins from this list will be able to initialize the Web Messenger. If unset, all origins are whitelisted. The elements in the list should follow the serialized-origin format from RFC 6454 `scheme \"://\" host [ \":\" port ]`, where scheme is `http` or `https`. (Optional) Used for *Web Messenger* integrations.
181
181
  attr_accessor :originWhitelist
182
182
 
183
- # The integration status. Possible values are active, inactive or error. [More info](https://docs.smooch.io/#integration-status).
183
+ # The integration status. See Enums.md for available values. [More info](https://docs.smooch.io/#integration-status).
184
184
  attr_accessor :status
185
185
 
186
186
  # The error causing the integration to fail. Will be present when `status` is 'error'.
@@ -15,7 +15,7 @@ require 'date'
15
15
  module SmoochApi
16
16
 
17
17
  class IntegrationCreate
18
- # The integration type.
18
+ # The integration type. See Enums.md for available values.
19
19
  attr_accessor :type
20
20
 
21
21
  # Facebook Page Access Token. Required for *messenger* integrations.
@@ -18,7 +18,7 @@ module SmoochApi
18
18
  # The integration ID.
19
19
  attr_accessor :integrationId
20
20
 
21
- # The integration type.
21
+ # The integration type. See Enums.md for available values.
22
22
  attr_accessor :type
23
23
 
24
24
  # The link request code.
@@ -21,7 +21,7 @@ module SmoochApi
21
21
  # A valid address, like http://smooch.io. Required for a link type item.
22
22
  attr_accessor :uri
23
23
 
24
- # Can either be link, postback, which correspond to Smooch’s link and postback actions, or submenu for nested menus.
24
+ # Can either be link, postback, which correspond to Smooch’s link and postback actions, or submenu for nested menus. See Enums.md for available values.
25
25
  attr_accessor :type
26
26
 
27
27
  # A payload for a postback. Required for a postback type item.
@@ -21,10 +21,10 @@ module SmoochApi
21
21
  # The ID of the message's author.
22
22
  attr_accessor :authorId
23
23
 
24
- # The role of the individual posting the message. Can be either *appUser* or *appMaker*.
24
+ # The role of the individual posting the message. See Enums.md for available values.
25
25
  attr_accessor :role
26
26
 
27
- # The message type.
27
+ # The message type. See Enums.md for available values.
28
28
  attr_accessor :type
29
29
 
30
30
  # The source of the message.
@@ -24,7 +24,7 @@ module SmoochApi
24
24
  # The image URL to be shown in the carousel/list item.
25
25
  attr_accessor :mediaUrl
26
26
 
27
- # The size of the image to be shown in the carousel/list item. Only top item of Facebook Messenger carousel supported. Choose from *compact* and *large*.
27
+ # The size of the image to be shown in the carousel/list item. Only top item of Facebook Messenger carousel supported. See Enums.md for available values.
28
28
  attr_accessor :size
29
29
 
30
30
  # If a *mediaUrl* was specified, the media type is defined here, for example *image/jpeg*.
@@ -15,10 +15,10 @@ require 'date'
15
15
  module SmoochApi
16
16
 
17
17
  class MessagePost
18
- # The role of the individual posting the message. Can be either *appUser* or *appMaker*.
18
+ # The role of the individual posting the message. See Enums.md for available values.
19
19
  attr_accessor :role
20
20
 
21
- # The message type.
21
+ # The message type. See Enums.md for available values.
22
22
  attr_accessor :type
23
23
 
24
24
  # The display name of the message author.
@@ -18,7 +18,7 @@ module SmoochApi
18
18
  # An identifier used by Smooch for internal purposes.
19
19
  attr_accessor :id
20
20
 
21
- # An identifier for the channel from which a message originated.
21
+ # An identifier for the channel from which a message originated. See Enums.md for available values.
22
22
  attr_accessor :type
23
23
 
24
24
 
@@ -21,7 +21,7 @@ module SmoochApi
21
21
  # A valid address, like http://smooch.io. Required for a link type item.
22
22
  attr_accessor :uri
23
23
 
24
- # Can either be link, postback, which correspond to Smooch’s link and postback actions, or submenu for nested menus.
24
+ # Can either be link, postback, which correspond to Smooch’s link and postback actions, or submenu for nested menus. See Enums.md for available values.
25
25
  attr_accessor :type
26
26
 
27
27
  # A payload for a postback. Required for a postback type item.
@@ -21,7 +21,7 @@ module SmoochApi
21
21
  # URL to be called when the webhook is triggered.
22
22
  attr_accessor :target
23
23
 
24
- # An array of triggers you wish to have the webhook listen to. If unspecified the default trigger is *message*.
24
+ # An array of triggers you wish to have the webhook listen to. See Enums.md for available values.
25
25
  attr_accessor :triggers
26
26
 
27
27
  # Secret which will be transmitted with each webhook invocation and can be used to verify the authenticity of the caller.
@@ -18,7 +18,7 @@ module SmoochApi
18
18
  # URL to be called when the webhook is triggered.
19
19
  attr_accessor :target
20
20
 
21
- # An array of triggers you wish to have the webhook listen to. If unspecified the default trigger is *message*.
21
+ # An array of triggers you wish to have the webhook listen to. See Enums.md for available values.
22
22
  attr_accessor :triggers
23
23
 
24
24
 
@@ -18,7 +18,7 @@ module SmoochApi
18
18
  # URL to be called when the webhook is triggered.
19
19
  attr_accessor :target
20
20
 
21
- # An array of triggers you wish to have the webhook listen to. If unspecified the default trigger is *message*.
21
+ # An array of triggers you wish to have the webhook listen to. See Enums.md for available values.
22
22
  attr_accessor :triggers
23
23
 
24
24
 
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.2.3-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module SmoochApi
14
- VERSION = "4.2.0"
14
+ VERSION = "5.0"
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smooch-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0
4
+ version: '5.0'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Smooch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-13 00:00:00.000000000 Z
11
+ date: 2019-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -228,9 +228,11 @@ files:
228
228
  - docs/ClientInfo.md
229
229
  - docs/Confirmation.md
230
230
  - docs/Conversation.md
231
+ - docs/ConversationActivity.md
231
232
  - docs/ConversationApi.md
232
233
  - docs/Destination.md
233
234
  - docs/DisplaySettings.md
235
+ - docs/Enums.md
234
236
  - docs/GetMessagesResponse.md
235
237
  - docs/Integration.md
236
238
  - docs/IntegrationApi.md
@@ -272,7 +274,6 @@ files:
272
274
  - docs/TemplateCreate.md
273
275
  - docs/TemplateResponse.md
274
276
  - docs/TemplateUpdate.md
275
- - docs/TypingActivityTrigger.md
276
277
  - docs/Webhook.md
277
278
  - docs/WebhookApi.md
278
279
  - docs/WebhookCreate.md
@@ -314,8 +315,10 @@ files:
314
315
  - lib/smooch-api/models/client_info.rb
315
316
  - lib/smooch-api/models/confirmation.rb
316
317
  - lib/smooch-api/models/conversation.rb
318
+ - lib/smooch-api/models/conversation_activity.rb
317
319
  - lib/smooch-api/models/destination.rb
318
320
  - lib/smooch-api/models/display_settings.rb
321
+ - lib/smooch-api/models/enums.rb
319
322
  - lib/smooch-api/models/get_messages_response.rb
320
323
  - lib/smooch-api/models/integration.rb
321
324
  - lib/smooch-api/models/integration_create.rb
@@ -353,7 +356,6 @@ files:
353
356
  - lib/smooch-api/models/template_create.rb
354
357
  - lib/smooch-api/models/template_response.rb
355
358
  - lib/smooch-api/models/template_update.rb
356
- - lib/smooch-api/models/typing_activity_trigger.rb
357
359
  - lib/smooch-api/models/webhook.rb
358
360
  - lib/smooch-api/models/webhook_create.rb
359
361
  - lib/smooch-api/models/webhook_response.rb