smooch-api 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -9
  3. data/docs/Action.md +1 -0
  4. data/docs/AppApi.md +0 -111
  5. data/docs/IntegrationApi.md +340 -0
  6. data/docs/Menu.md +0 -1
  7. data/docs/MenuItem.md +1 -1
  8. data/lib/smooch-api/api/app_api.rb +1 -114
  9. data/lib/smooch-api/api/app_user_api.rb +1 -1
  10. data/lib/smooch-api/api/conversation_api.rb +1 -1
  11. data/lib/smooch-api/api/init_api.rb +1 -1
  12. data/lib/smooch-api/api/integration_api.rb +349 -1
  13. data/lib/smooch-api/api/menu_api.rb +1 -1
  14. data/lib/smooch-api/api/webhook_api.rb +1 -1
  15. data/lib/smooch-api/api_client.rb +1 -1
  16. data/lib/smooch-api/api_error.rb +1 -1
  17. data/lib/smooch-api/configuration.rb +1 -1
  18. data/lib/smooch-api/models/action.rb +15 -5
  19. data/lib/smooch-api/models/app.rb +1 -1
  20. data/lib/smooch-api/models/app_create.rb +1 -1
  21. data/lib/smooch-api/models/app_response.rb +1 -1
  22. data/lib/smooch-api/models/app_user.rb +1 -1
  23. data/lib/smooch-api/models/app_user_link.rb +1 -1
  24. data/lib/smooch-api/models/app_user_pre_create.rb +1 -1
  25. data/lib/smooch-api/models/app_user_response.rb +1 -1
  26. data/lib/smooch-api/models/app_user_update.rb +1 -1
  27. data/lib/smooch-api/models/client.rb +1 -1
  28. data/lib/smooch-api/models/client_info.rb +1 -1
  29. data/lib/smooch-api/models/conversation.rb +1 -1
  30. data/lib/smooch-api/models/destination.rb +1 -1
  31. data/lib/smooch-api/models/device_init.rb +1 -1
  32. data/lib/smooch-api/models/device_response.rb +1 -1
  33. data/lib/smooch-api/models/device_update.rb +1 -1
  34. data/lib/smooch-api/models/display_settings.rb +1 -1
  35. data/lib/smooch-api/models/event.rb +1 -1
  36. data/lib/smooch-api/models/get_messages_response.rb +1 -1
  37. data/lib/smooch-api/models/init.rb +1 -1
  38. data/lib/smooch-api/models/init_response.rb +1 -1
  39. data/lib/smooch-api/models/integration.rb +1 -1
  40. data/lib/smooch-api/models/integration_create.rb +1 -1
  41. data/lib/smooch-api/models/integration_response.rb +1 -1
  42. data/lib/smooch-api/models/jwt_response.rb +1 -1
  43. data/lib/smooch-api/models/list_apps_response.rb +1 -1
  44. data/lib/smooch-api/models/list_integrations_response.rb +1 -1
  45. data/lib/smooch-api/models/list_secret_keys_response.rb +1 -1
  46. data/lib/smooch-api/models/list_webhooks_response.rb +1 -1
  47. data/lib/smooch-api/models/menu.rb +2 -12
  48. data/lib/smooch-api/models/menu_item.rb +8 -8
  49. data/lib/smooch-api/models/menu_response.rb +1 -1
  50. data/lib/smooch-api/models/message.rb +1 -1
  51. data/lib/smooch-api/models/message_item.rb +1 -1
  52. data/lib/smooch-api/models/message_post.rb +1 -1
  53. data/lib/smooch-api/models/message_response.rb +1 -1
  54. data/lib/smooch-api/models/post_messages_response.rb +1 -1
  55. data/lib/smooch-api/models/secret_key.rb +1 -1
  56. data/lib/smooch-api/models/secret_key_create.rb +1 -1
  57. data/lib/smooch-api/models/secret_key_response.rb +1 -1
  58. data/lib/smooch-api/models/track_event_response.rb +1 -1
  59. data/lib/smooch-api/models/typing_activity_trigger.rb +1 -1
  60. data/lib/smooch-api/models/webhook.rb +1 -1
  61. data/lib/smooch-api/models/webhook_create.rb +1 -1
  62. data/lib/smooch-api/models/webhook_response.rb +1 -1
  63. data/lib/smooch-api/models/webhook_update.rb +1 -1
  64. data/lib/smooch-api/version.rb +2 -2
  65. data/lib/smooch-api.rb +1 -1
  66. data/smooch-api.gemspec +1 -1
  67. data/spec/api_client_spec.rb +1 -1
  68. data/spec/configuration_spec.rb +1 -1
  69. data/spec/spec_helper.rb +1 -1
  70. metadata +2 -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: 1
6
+ OpenAPI spec version: 1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -24,7 +24,7 @@ module SmoochApi
24
24
  attr_accessor :type
25
25
 
26
26
  # A payload for a postback. Required for a *postback* type item.
27
- attr_accessor :postback
27
+ attr_accessor :payload
28
28
 
29
29
 
30
30
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -33,7 +33,7 @@ module SmoochApi
33
33
  :'text' => :'text',
34
34
  :'uri' => :'uri',
35
35
  :'type' => :'type',
36
- :'postback' => :'postback'
36
+ :'payload' => :'payload'
37
37
  }
38
38
  end
39
39
 
@@ -43,7 +43,7 @@ module SmoochApi
43
43
  :'text' => :'String',
44
44
  :'uri' => :'String',
45
45
  :'type' => :'String',
46
- :'postback' => :'String'
46
+ :'payload' => :'String'
47
47
  }
48
48
  end
49
49
 
@@ -67,8 +67,8 @@ module SmoochApi
67
67
  self.type = attributes[:'type']
68
68
  end
69
69
 
70
- if attributes.has_key?(:'postback')
71
- self.postback = attributes[:'postback']
70
+ if attributes.has_key?(:'payload')
71
+ self.payload = attributes[:'payload']
72
72
  end
73
73
 
74
74
  end
@@ -104,7 +104,7 @@ module SmoochApi
104
104
  text == o.text &&
105
105
  uri == o.uri &&
106
106
  type == o.type &&
107
- postback == o.postback
107
+ payload == o.payload
108
108
  end
109
109
 
110
110
  # @see the `==` method
@@ -116,7 +116,7 @@ module SmoochApi
116
116
  # Calculates hash code according to all attributes.
117
117
  # @return [Fixnum] Hash code
118
118
  def hash
119
- [text, uri, type, postback].hash
119
+ [text, uri, type, payload].hash
120
120
  end
121
121
 
122
122
  # 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: 1
6
+ OpenAPI spec version: 1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
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: 1
6
+ OpenAPI spec version: 1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
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: 1
6
+ OpenAPI spec version: 1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
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: 1
6
+ OpenAPI spec version: 1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
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: 1
6
+ OpenAPI spec version: 1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
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: 1
6
+ OpenAPI spec version: 1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
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: 1
6
+ OpenAPI spec version: 1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
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: 1
6
+ OpenAPI spec version: 1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
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: 1
6
+ OpenAPI spec version: 1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
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: 1
6
+ OpenAPI spec version: 1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
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: 1
6
+ OpenAPI spec version: 1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
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: 1
6
+ OpenAPI spec version: 1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
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: 1
6
+ OpenAPI spec version: 1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
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: 1
6
+ OpenAPI spec version: 1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
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: 1
6
+ OpenAPI spec version: 1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,12 +3,12 @@
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: 1
6
+ OpenAPI spec version: 1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
10
10
  =end
11
11
 
12
12
  module SmoochApi
13
- VERSION = "1.0.0"
13
+ VERSION = "1.1.0"
14
14
  end
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: 1
6
+ OpenAPI spec version: 1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
data/smooch-api.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  #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).
7
7
 
8
- OpenAPI spec version: 1
8
+ OpenAPI spec version: 1.1
9
9
 
10
10
  Generated by: https://github.com/swagger-api/swagger-codegen.git
11
11
 
@@ -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: 1
6
+ OpenAPI spec version: 1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
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: 1
6
+ OpenAPI spec version: 1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
data/spec/spec_helper.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: 1
6
+ OpenAPI spec version: 1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
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: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Smooch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-21 00:00:00.000000000 Z
11
+ date: 2017-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus