smooch-api 3.17.0 → 3.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -1
  3. data/docs/Integration.md +4 -2
  4. data/docs/IntegrationApi.md +72 -14
  5. data/docs/IntegrationCreate.md +4 -1
  6. data/docs/IntegrationProfileUpdate.md +14 -0
  7. data/docs/IntegrationUpdate.md +1 -0
  8. data/docs/MessageResponse.md +1 -0
  9. data/lib/smooch-api.rb +2 -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/integration_api.rb +67 -1
  15. data/lib/smooch-api/api/menu_api.rb +1 -1
  16. data/lib/smooch-api/api/service_account_api.rb +1 -1
  17. data/lib/smooch-api/api/template_api.rb +1 -1
  18. data/lib/smooch-api/api/webhook_api.rb +1 -1
  19. data/lib/smooch-api/api_client.rb +1 -1
  20. data/lib/smooch-api/api_error.rb +1 -1
  21. data/lib/smooch-api/configuration.rb +1 -1
  22. data/lib/smooch-api/models/action.rb +1 -1
  23. data/lib/smooch-api/models/app.rb +1 -1
  24. data/lib/smooch-api/models/app_create.rb +1 -1
  25. data/lib/smooch-api/models/app_response.rb +1 -1
  26. data/lib/smooch-api/models/app_settings.rb +1 -1
  27. data/lib/smooch-api/models/app_update.rb +1 -1
  28. data/lib/smooch-api/models/app_user.rb +1 -1
  29. data/lib/smooch-api/models/app_user_business_systems_response.rb +1 -1
  30. data/lib/smooch-api/models/app_user_channels_response.rb +1 -1
  31. data/lib/smooch-api/models/app_user_link.rb +1 -1
  32. data/lib/smooch-api/models/app_user_pre_create.rb +1 -1
  33. data/lib/smooch-api/models/app_user_response.rb +1 -1
  34. data/lib/smooch-api/models/app_user_update.rb +1 -1
  35. data/lib/smooch-api/models/attachment_remove.rb +1 -1
  36. data/lib/smooch-api/models/attachment_response.rb +1 -1
  37. data/lib/smooch-api/models/auth_code_response.rb +1 -1
  38. data/lib/smooch-api/models/business_system_item.rb +1 -1
  39. data/lib/smooch-api/models/channel_entity_item.rb +1 -1
  40. data/lib/smooch-api/models/client.rb +1 -1
  41. data/lib/smooch-api/models/client_info.rb +1 -1
  42. data/lib/smooch-api/models/confirmation.rb +1 -1
  43. data/lib/smooch-api/models/conversation.rb +1 -1
  44. data/lib/smooch-api/models/destination.rb +1 -1
  45. data/lib/smooch-api/models/display_settings.rb +1 -1
  46. data/lib/smooch-api/models/get_messages_response.rb +1 -1
  47. data/lib/smooch-api/models/integration.rb +24 -4
  48. data/lib/smooch-api/models/integration_create.rb +33 -3
  49. data/lib/smooch-api/models/integration_profile_update.rb +251 -0
  50. data/lib/smooch-api/models/integration_response.rb +1 -1
  51. data/lib/smooch-api/models/integration_update.rb +15 -5
  52. data/lib/smooch-api/models/jwt_response.rb +1 -1
  53. data/lib/smooch-api/models/link_request_response.rb +1 -1
  54. data/lib/smooch-api/models/link_request_response_link_requests.rb +1 -1
  55. data/lib/smooch-api/models/list_apps_response.rb +1 -1
  56. data/lib/smooch-api/models/list_integrations_response.rb +1 -1
  57. data/lib/smooch-api/models/list_secret_keys_response.rb +1 -1
  58. data/lib/smooch-api/models/list_service_accounts_response.rb +1 -1
  59. data/lib/smooch-api/models/list_templates_response.rb +1 -1
  60. data/lib/smooch-api/models/list_webhooks_response.rb +1 -1
  61. data/lib/smooch-api/models/menu.rb +1 -1
  62. data/lib/smooch-api/models/menu_item.rb +1 -1
  63. data/lib/smooch-api/models/menu_response.rb +1 -1
  64. data/lib/smooch-api/models/message.rb +1 -1
  65. data/lib/smooch-api/models/message_item.rb +1 -1
  66. data/lib/smooch-api/models/message_post.rb +1 -1
  67. data/lib/smooch-api/models/message_response.rb +14 -2
  68. data/lib/smooch-api/models/secret_key.rb +1 -1
  69. data/lib/smooch-api/models/secret_key_create.rb +1 -1
  70. data/lib/smooch-api/models/secret_key_response.rb +1 -1
  71. data/lib/smooch-api/models/service_account.rb +1 -1
  72. data/lib/smooch-api/models/service_account_create.rb +1 -1
  73. data/lib/smooch-api/models/service_account_response.rb +1 -1
  74. data/lib/smooch-api/models/service_account_update.rb +1 -1
  75. data/lib/smooch-api/models/source.rb +1 -1
  76. data/lib/smooch-api/models/sub_menu_item.rb +1 -1
  77. data/lib/smooch-api/models/template.rb +1 -1
  78. data/lib/smooch-api/models/template_create.rb +1 -1
  79. data/lib/smooch-api/models/template_response.rb +1 -1
  80. data/lib/smooch-api/models/template_update.rb +1 -1
  81. data/lib/smooch-api/models/typing_activity_trigger.rb +1 -1
  82. data/lib/smooch-api/models/webhook.rb +1 -1
  83. data/lib/smooch-api/models/webhook_create.rb +1 -1
  84. data/lib/smooch-api/models/webhook_response.rb +1 -1
  85. data/lib/smooch-api/models/webhook_update.rb +1 -1
  86. data/lib/smooch-api/version.rb +2 -2
  87. data/smooch-api.gemspec +1 -1
  88. data/spec/api_client_spec.rb +1 -1
  89. data/spec/configuration_spec.rb +1 -1
  90. data/spec/spec_helper.rb +1 -1
  91. metadata +4 -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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
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: 3.17
6
+ OpenAPI spec version: 3.19
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT
@@ -81,7 +81,13 @@ module SmoochApi
81
81
  # The binary of your APN certificate base64 encoded. Required for *apn* integrations.
82
82
  attr_accessor :certificate
83
83
 
84
- # The password for your APN certificate. (Optional) Used for *apn* integrations.
84
+ # Your WhatsApp API client's URL. Required for *WhatsApp* integrations.
85
+ attr_accessor :base_url
86
+
87
+ # Specification of a fallback language. (Optional) Used for *WhatsApp* integrations.
88
+ attr_accessor :hsm_fallback_language
89
+
90
+ # The password for your APN certificate or WhatsApp API client. Required for *WhatsApp* integrations. (Optional) Used for *apn* integrations.
85
91
  attr_accessor :password
86
92
 
87
93
  # Use the unread count of the conversation as the application badge. (Optional) Used for *apn* integrations.
@@ -117,7 +123,7 @@ module SmoochApi
117
123
  # The twitter userId. Returned on successful *twitter* integrations.
118
124
  attr_accessor :user_id
119
125
 
120
- # The username for the account. Returned on successful *twitter* and *telegram* integrations.
126
+ # The username for the account. Required for *WhatsApp* integrations. Returned on successful *twitter* and *telegram* integrations.
121
127
  attr_accessor :username
122
128
 
123
129
  # The public API key of your Mailgun account. Required for *mailgun* integrations.
@@ -206,6 +212,8 @@ module SmoochApi
206
212
  :'encoding_aes_key' => :'encodingAesKey',
207
213
  :'from_address' => :'fromAddress',
208
214
  :'certificate' => :'certificate',
215
+ :'base_url' => :'baseUrl',
216
+ :'hsm_fallback_language' => :'hsmFallbackLanguage',
209
217
  :'password' => :'password',
210
218
  :'auto_update_badge' => :'autoUpdateBadge',
211
219
  :'production' => :'production',
@@ -267,6 +275,8 @@ module SmoochApi
267
275
  :'encoding_aes_key' => :'String',
268
276
  :'from_address' => :'String',
269
277
  :'certificate' => :'String',
278
+ :'base_url' => :'String',
279
+ :'hsm_fallback_language' => :'String',
270
280
  :'password' => :'String',
271
281
  :'auto_update_badge' => :'BOOLEAN',
272
282
  :'production' => :'BOOLEAN',
@@ -399,6 +409,14 @@ module SmoochApi
399
409
  self.certificate = attributes[:'certificate']
400
410
  end
401
411
 
412
+ if attributes.has_key?(:'baseUrl')
413
+ self.base_url = attributes[:'baseUrl']
414
+ end
415
+
416
+ if attributes.has_key?(:'hsmFallbackLanguage')
417
+ self.hsm_fallback_language = attributes[:'hsmFallbackLanguage']
418
+ end
419
+
402
420
  if attributes.has_key?(:'password')
403
421
  self.password = attributes[:'password']
404
422
  end
@@ -587,6 +605,8 @@ module SmoochApi
587
605
  encoding_aes_key == o.encoding_aes_key &&
588
606
  from_address == o.from_address &&
589
607
  certificate == o.certificate &&
608
+ base_url == o.base_url &&
609
+ hsm_fallback_language == o.hsm_fallback_language &&
590
610
  password == o.password &&
591
611
  auto_update_badge == o.auto_update_badge &&
592
612
  production == o.production &&
@@ -631,7 +651,7 @@ module SmoochApi
631
651
  # Calculates hash code according to all attributes.
632
652
  # @return [Fixnum] Hash code
633
653
  def hash
634
- [_id, type, page_access_token, app_id, app_secret, access_token_url, webhook_secret, page_id, account_sid, auth_token, phone_number_sid, phone_number, name, token, uri, channel_id, channel_secret, channel_access_token, bot_name, encoding_aes_key, from_address, certificate, password, auto_update_badge, production, server_key, sender_id, tier, env_name, consumer_key, consumer_secret, access_token_key, access_token_secret, user_id, username, api_key, domain, incoming_address, access_key, originator, brand_color, fixed_intro_pane, conversation_color, action_color, display_style, button_icon_url, button_width, button_height, integration_order, business_name, business_icon_url, background_image_url, origin_whitelist, status, error].hash
654
+ [_id, type, page_access_token, app_id, app_secret, access_token_url, webhook_secret, page_id, account_sid, auth_token, phone_number_sid, phone_number, name, token, uri, channel_id, channel_secret, channel_access_token, bot_name, encoding_aes_key, from_address, certificate, base_url, hsm_fallback_language, password, auto_update_badge, production, server_key, sender_id, tier, env_name, consumer_key, consumer_secret, access_token_key, access_token_secret, user_id, username, api_key, domain, incoming_address, access_key, originator, brand_color, fixed_intro_pane, conversation_color, action_color, display_style, button_icon_url, button_width, button_height, integration_order, business_name, business_icon_url, background_image_url, origin_whitelist, status, error].hash
635
655
  end
636
656
 
637
657
  # 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: 3.17
6
+ OpenAPI spec version: 3.19
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT
@@ -33,6 +33,12 @@ module SmoochApi
33
33
  # Twilio Auth Token. Required for *twilio* integrations.
34
34
  attr_accessor :auth_token
35
35
 
36
+ # Your WhatsApp API client's URL. Required for *WhatsApp* integrations.
37
+ attr_accessor :base_url
38
+
39
+ # Specification of a fallback language. (Optional) Used for *WhatsApp* integrations.
40
+ attr_accessor :hsm_fallback_language
41
+
36
42
  # SID for specific phone number. Required for *twilio* integrations.
37
43
  attr_accessor :phone_number_sid
38
44
 
@@ -57,9 +63,12 @@ module SmoochApi
57
63
  # The binary of your APN certificate base64 encoded. Required for *apn* integrations.
58
64
  attr_accessor :certificate
59
65
 
60
- # The password for your APN certificate. (Optional) Used for *apn* integrations.
66
+ # The password for your APN certificate or WhatsApp API client. Required for *WhatsApp* integrations. (Optional) Used for *apn* integrations.
61
67
  attr_accessor :password
62
68
 
69
+ # The username for the account. Required for *WhatsApp* integrations. Returned on successful *twitter* and *telegram* integrations.
70
+ attr_accessor :username
71
+
63
72
  # Use the unread count of the conversation as the application badge. (Optional) Used for *apn* integrations.
64
73
  attr_accessor :auto_update_badge
65
74
 
@@ -145,6 +154,8 @@ module SmoochApi
145
154
  :'app_secret' => :'appSecret',
146
155
  :'account_sid' => :'accountSid',
147
156
  :'auth_token' => :'authToken',
157
+ :'base_url' => :'baseUrl',
158
+ :'hsm_fallback_language' => :'hsmFallbackLanguage',
148
159
  :'phone_number_sid' => :'phoneNumberSid',
149
160
  :'token' => :'token',
150
161
  :'channel_id' => :'channelId',
@@ -154,6 +165,7 @@ module SmoochApi
154
165
  :'from_address' => :'fromAddress',
155
166
  :'certificate' => :'certificate',
156
167
  :'password' => :'password',
168
+ :'username' => :'username',
157
169
  :'auto_update_badge' => :'autoUpdateBadge',
158
170
  :'server_key' => :'serverKey',
159
171
  :'sender_id' => :'senderId',
@@ -191,6 +203,8 @@ module SmoochApi
191
203
  :'app_secret' => :'String',
192
204
  :'account_sid' => :'String',
193
205
  :'auth_token' => :'String',
206
+ :'base_url' => :'String',
207
+ :'hsm_fallback_language' => :'String',
194
208
  :'phone_number_sid' => :'String',
195
209
  :'token' => :'String',
196
210
  :'channel_id' => :'String',
@@ -200,6 +214,7 @@ module SmoochApi
200
214
  :'from_address' => :'String',
201
215
  :'certificate' => :'String',
202
216
  :'password' => :'String',
217
+ :'username' => :'String',
203
218
  :'auto_update_badge' => :'BOOLEAN',
204
219
  :'server_key' => :'String',
205
220
  :'sender_id' => :'String',
@@ -260,6 +275,14 @@ module SmoochApi
260
275
  self.auth_token = attributes[:'authToken']
261
276
  end
262
277
 
278
+ if attributes.has_key?(:'baseUrl')
279
+ self.base_url = attributes[:'baseUrl']
280
+ end
281
+
282
+ if attributes.has_key?(:'hsmFallbackLanguage')
283
+ self.hsm_fallback_language = attributes[:'hsmFallbackLanguage']
284
+ end
285
+
263
286
  if attributes.has_key?(:'phoneNumberSid')
264
287
  self.phone_number_sid = attributes[:'phoneNumberSid']
265
288
  end
@@ -296,6 +319,10 @@ module SmoochApi
296
319
  self.password = attributes[:'password']
297
320
  end
298
321
 
322
+ if attributes.has_key?(:'username')
323
+ self.username = attributes[:'username']
324
+ end
325
+
299
326
  if attributes.has_key?(:'autoUpdateBadge')
300
327
  self.auto_update_badge = attributes[:'autoUpdateBadge']
301
328
  end
@@ -431,6 +458,8 @@ module SmoochApi
431
458
  app_secret == o.app_secret &&
432
459
  account_sid == o.account_sid &&
433
460
  auth_token == o.auth_token &&
461
+ base_url == o.base_url &&
462
+ hsm_fallback_language == o.hsm_fallback_language &&
434
463
  phone_number_sid == o.phone_number_sid &&
435
464
  token == o.token &&
436
465
  channel_id == o.channel_id &&
@@ -440,6 +469,7 @@ module SmoochApi
440
469
  from_address == o.from_address &&
441
470
  certificate == o.certificate &&
442
471
  password == o.password &&
472
+ username == o.username &&
443
473
  auto_update_badge == o.auto_update_badge &&
444
474
  server_key == o.server_key &&
445
475
  sender_id == o.sender_id &&
@@ -476,7 +506,7 @@ module SmoochApi
476
506
  # Calculates hash code according to all attributes.
477
507
  # @return [Fixnum] Hash code
478
508
  def hash
479
- [type, page_access_token, app_id, app_secret, account_sid, auth_token, phone_number_sid, token, channel_id, channel_secret, channel_access_token, encoding_aes_key, from_address, certificate, password, auto_update_badge, server_key, sender_id, tier, env_name, consumer_key, consumer_secret, access_token_key, access_token_secret, access_token_url, access_key, originator, brand_color, fixed_intro_pane, conversation_color, action_color, display_style, button_icon_url, button_width, button_height, integration_order, business_name, business_icon_url, background_image_url, origin_whitelist].hash
509
+ [type, page_access_token, app_id, app_secret, account_sid, auth_token, base_url, hsm_fallback_language, phone_number_sid, token, channel_id, channel_secret, channel_access_token, encoding_aes_key, from_address, certificate, password, username, auto_update_badge, server_key, sender_id, tier, env_name, consumer_key, consumer_secret, access_token_key, access_token_secret, access_token_url, access_key, originator, brand_color, fixed_intro_pane, conversation_color, action_color, display_style, button_icon_url, button_width, button_height, integration_order, business_name, business_icon_url, background_image_url, origin_whitelist].hash
480
510
  end
481
511
 
482
512
  # Builds the object from hash