smooch-api 5.7.0 → 5.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -1
  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/Confirmation.md +1 -1
  9. data/docs/ConversationActivity.md +2 -2
  10. data/docs/Deployment.md +17 -0
  11. data/docs/DeploymentActivatePhoneNumber.md +10 -0
  12. data/docs/DeploymentApi.md +325 -0
  13. data/docs/DeploymentConfirmCode.md +8 -0
  14. data/docs/DeploymentCreate.md +12 -0
  15. data/docs/DeploymentResponse.md +8 -0
  16. data/docs/Destination.md +1 -1
  17. data/docs/DisplaySettings.md +1 -1
  18. data/docs/Enums.md +3 -0
  19. data/docs/Integration.md +6 -5
  20. data/docs/IntegrationCreate.md +5 -4
  21. data/docs/LinkRequestResponseLinkRequests.md +1 -1
  22. data/docs/ListDeploymentsResponse.md +8 -0
  23. data/docs/MenuItem.md +1 -1
  24. data/docs/Message.md +2 -2
  25. data/docs/MessageItem.md +1 -1
  26. data/docs/MessagePost.md +2 -2
  27. data/docs/Source.md +1 -1
  28. data/docs/SubMenuItem.md +1 -1
  29. data/docs/Webhook.md +1 -1
  30. data/docs/WebhookCreate.md +1 -1
  31. data/docs/WebhookUpdate.md +1 -1
  32. data/lib/smooch-api.rb +8 -1
  33. data/lib/smooch-api/api/app_api.rb +1 -1
  34. data/lib/smooch-api/api/app_user_api.rb +1 -1
  35. data/lib/smooch-api/api/attachments_api.rb +1 -1
  36. data/lib/smooch-api/api/conversation_api.rb +1 -1
  37. data/lib/smooch-api/api/deployment_api.rb +358 -0
  38. data/lib/smooch-api/api/integration_api.rb +1 -1
  39. data/lib/smooch-api/api/menu_api.rb +1 -1
  40. data/lib/smooch-api/api/service_account_api.rb +1 -1
  41. data/lib/smooch-api/api/template_api.rb +1 -1
  42. data/lib/smooch-api/api/webhook_api.rb +1 -1
  43. data/lib/smooch-api/api_client.rb +1 -1
  44. data/lib/smooch-api/api_error.rb +1 -1
  45. data/lib/smooch-api/configuration.rb +1 -1
  46. data/lib/smooch-api/models/action.rb +3 -3
  47. data/lib/smooch-api/models/app.rb +1 -1
  48. data/lib/smooch-api/models/app_create.rb +1 -1
  49. data/lib/smooch-api/models/app_response.rb +1 -1
  50. data/lib/smooch-api/models/app_settings.rb +1 -1
  51. data/lib/smooch-api/models/app_update.rb +1 -1
  52. data/lib/smooch-api/models/app_user.rb +1 -1
  53. data/lib/smooch-api/models/app_user_business_systems_response.rb +1 -1
  54. data/lib/smooch-api/models/app_user_channels_response.rb +1 -1
  55. data/lib/smooch-api/models/app_user_link.rb +2 -2
  56. data/lib/smooch-api/models/app_user_pre_create.rb +1 -1
  57. data/lib/smooch-api/models/app_user_response.rb +1 -1
  58. data/lib/smooch-api/models/app_user_update.rb +1 -1
  59. data/lib/smooch-api/models/attachment_remove.rb +1 -1
  60. data/lib/smooch-api/models/attachment_response.rb +1 -1
  61. data/lib/smooch-api/models/auth_code_response.rb +1 -1
  62. data/lib/smooch-api/models/business_system_item.rb +2 -2
  63. data/lib/smooch-api/models/channel_entity_item.rb +2 -2
  64. data/lib/smooch-api/models/client.rb +2 -2
  65. data/lib/smooch-api/models/client_info.rb +1 -1
  66. data/lib/smooch-api/models/confirmation.rb +2 -2
  67. data/lib/smooch-api/models/conversation.rb +1 -1
  68. data/lib/smooch-api/models/conversation_activity.rb +3 -3
  69. data/lib/smooch-api/models/deployment.rb +294 -0
  70. data/lib/smooch-api/models/deployment_activate_phone_number.rb +224 -0
  71. data/lib/smooch-api/models/deployment_confirm_code.rb +194 -0
  72. data/lib/smooch-api/models/deployment_create.rb +234 -0
  73. data/lib/smooch-api/models/deployment_response.rb +194 -0
  74. data/lib/smooch-api/models/destination.rb +2 -2
  75. data/lib/smooch-api/models/display_settings.rb +2 -2
  76. data/lib/smooch-api/models/enums.rb +68 -5
  77. data/lib/smooch-api/models/get_integration_profile_response.rb +1 -1
  78. data/lib/smooch-api/models/get_messages_response.rb +1 -1
  79. data/lib/smooch-api/models/integration.rb +17 -7
  80. data/lib/smooch-api/models/integration_create.rb +16 -6
  81. data/lib/smooch-api/models/integration_profile_update.rb +1 -1
  82. data/lib/smooch-api/models/integration_response.rb +1 -1
  83. data/lib/smooch-api/models/integration_update.rb +1 -1
  84. data/lib/smooch-api/models/jwt_response.rb +1 -1
  85. data/lib/smooch-api/models/link_request_response.rb +1 -1
  86. data/lib/smooch-api/models/link_request_response_link_requests.rb +2 -2
  87. data/lib/smooch-api/models/list_apps_response.rb +1 -1
  88. data/lib/smooch-api/models/list_deployments_response.rb +196 -0
  89. data/lib/smooch-api/models/list_integrations_response.rb +1 -1
  90. data/lib/smooch-api/models/list_secret_keys_response.rb +1 -1
  91. data/lib/smooch-api/models/list_service_accounts_response.rb +1 -1
  92. data/lib/smooch-api/models/list_templates_response.rb +1 -1
  93. data/lib/smooch-api/models/list_webhooks_response.rb +1 -1
  94. data/lib/smooch-api/models/menu.rb +1 -1
  95. data/lib/smooch-api/models/menu_item.rb +2 -2
  96. data/lib/smooch-api/models/menu_response.rb +1 -1
  97. data/lib/smooch-api/models/message.rb +3 -3
  98. data/lib/smooch-api/models/message_item.rb +2 -2
  99. data/lib/smooch-api/models/message_override.rb +1 -1
  100. data/lib/smooch-api/models/message_override_whatsapp.rb +1 -1
  101. data/lib/smooch-api/models/message_post.rb +3 -3
  102. data/lib/smooch-api/models/message_response.rb +1 -1
  103. data/lib/smooch-api/models/secret_key.rb +1 -1
  104. data/lib/smooch-api/models/secret_key_create.rb +1 -1
  105. data/lib/smooch-api/models/secret_key_response.rb +1 -1
  106. data/lib/smooch-api/models/service_account.rb +1 -1
  107. data/lib/smooch-api/models/service_account_create.rb +1 -1
  108. data/lib/smooch-api/models/service_account_response.rb +1 -1
  109. data/lib/smooch-api/models/service_account_update.rb +1 -1
  110. data/lib/smooch-api/models/source.rb +2 -2
  111. data/lib/smooch-api/models/sub_menu_item.rb +2 -2
  112. data/lib/smooch-api/models/template.rb +1 -1
  113. data/lib/smooch-api/models/template_create.rb +1 -1
  114. data/lib/smooch-api/models/template_response.rb +1 -1
  115. data/lib/smooch-api/models/template_update.rb +1 -1
  116. data/lib/smooch-api/models/upload_integration_profile_photo_response.rb +1 -1
  117. data/lib/smooch-api/models/webhook.rb +2 -2
  118. data/lib/smooch-api/models/webhook_create.rb +2 -2
  119. data/lib/smooch-api/models/webhook_response.rb +1 -1
  120. data/lib/smooch-api/models/webhook_update.rb +2 -2
  121. data/lib/smooch-api/version.rb +2 -2
  122. data/smooch-api.gemspec +1 -1
  123. data/spec/api_client_spec.rb +1 -1
  124. data/spec/configuration_spec.rb +1 -1
  125. data/spec/spec_helper.rb +1 -1
  126. metadata +16 -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: 5.7
6
+ OpenAPI spec version: 5.8
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.7
6
+ OpenAPI spec version: 5.8
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.7
6
+ OpenAPI spec version: 5.8
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.7
6
+ OpenAPI spec version: 5.8
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.7
6
+ OpenAPI spec version: 5.8
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.7
6
+ OpenAPI spec version: 5.8
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.7
6
+ OpenAPI spec version: 5.8
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.7
6
+ OpenAPI spec version: 5.8
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.7
6
+ OpenAPI spec version: 5.8
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT
@@ -15,7 +15,7 @@ require 'date'
15
15
  module SmoochApi
16
16
 
17
17
  class Action
18
- # The action type. See Enums.md for available values.
18
+ # The action type. See [**ActionTypeEnum**](Enums.md#ActionTypeEnum) for available values.
19
19
  attr_accessor :type
20
20
 
21
21
  # The button text.
@@ -45,7 +45,7 @@ module SmoochApi
45
45
  # The webview action fallback uri. This is the link that will be used in clients that do not support webviews. Required for *webview* actions.
46
46
  attr_accessor :fallback
47
47
 
48
- # The size used to display the webview. Allowed values are [\"compact\", \"tall\", \"full\"]. (Optional) Used for *webview* actions. See Enums.md for available values.
48
+ # The size used to display the webview. Allowed values are [\"compact\", \"tall\", \"full\"]. (Optional) Used for *webview* actions. See [**ActionSizeEnum**](Enums.md#ActionSizeEnum) for available values.
49
49
  attr_accessor :size
50
50
 
51
51
  # Extra options to pass directly to the channel API. See [Extra Channel Options](https://docs.smooch.io/rest#extra-channel-options-schema)
@@ -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.7
6
+ OpenAPI spec version: 5.8
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.7
6
+ OpenAPI spec version: 5.8
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.7
6
+ OpenAPI spec version: 5.8
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.7
6
+ OpenAPI spec version: 5.8
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.7
6
+ OpenAPI spec version: 5.8
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.7
6
+ OpenAPI spec version: 5.8
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.7
6
+ OpenAPI spec version: 5.8
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.7
6
+ OpenAPI spec version: 5.8
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.7
6
+ OpenAPI spec version: 5.8
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT
@@ -15,7 +15,7 @@ require 'date'
15
15
  module SmoochApi
16
16
 
17
17
  class AppUserLink
18
- # The type of the channel to link. See Enums.md for available values.
18
+ # The type of the channel to link. See [**IntegrationTypeEnum**](Enums.md#IntegrationTypeEnum) for available values.
19
19
  attr_accessor :type
20
20
 
21
21
  # A String of the appUser’s phone number. It must contain the + prefix and the country code. Required for *messenger*, *twilio*, *messagebird* and *whatsapp* linking.
@@ -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.7
6
+ OpenAPI spec version: 5.8
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.7
6
+ OpenAPI spec version: 5.8
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.7
6
+ OpenAPI spec version: 5.8
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.7
6
+ OpenAPI spec version: 5.8
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.7
6
+ OpenAPI spec version: 5.8
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.7
6
+ OpenAPI spec version: 5.8
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.7
6
+ OpenAPI spec version: 5.8
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT
@@ -15,7 +15,7 @@ require 'date'
15
15
  module SmoochApi
16
16
 
17
17
  class BusinessSystemItem
18
- # The type of business system. See Enums.md for available values.
18
+ # The type of business system. See [**BusinessSystemTypeEnum**](Enums.md#BusinessSystemTypeEnum) for available values.
19
19
  attr_accessor :type
20
20
 
21
21
  # The channel id for a *slack* integration
@@ -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.7
6
+ OpenAPI spec version: 5.8
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT
@@ -15,7 +15,7 @@ require 'date'
15
15
  module SmoochApi
16
16
 
17
17
  class ChannelEntityItem
18
- # The type of channel. See Enums.md for available values.
18
+ # The type of channel. See [**IntegrationTypeEnum**](Enums.md#IntegrationTypeEnum) for available values.
19
19
  attr_accessor :type
20
20
 
21
21
  # The ID of the integration.
@@ -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.7
6
+ OpenAPI spec version: 5.8
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT
@@ -24,7 +24,7 @@ module SmoochApi
24
24
  # The date time the client was last seen.
25
25
  attr_accessor :lastSeen
26
26
 
27
- # The client's platform. See Enums.md for available values.
27
+ # The client's platform. See [**IntegrationTypeEnum**](Enums.md#IntegrationTypeEnum) for available values.
28
28
  attr_accessor :platform
29
29
 
30
30
  # The ID of the integration that the client was created for.
@@ -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.7
6
+ OpenAPI spec version: 5.8
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.7
6
+ OpenAPI spec version: 5.8
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT
@@ -15,7 +15,7 @@ require 'date'
15
15
  module SmoochApi
16
16
 
17
17
  class Confirmation
18
- # The confirmation type. See Enums.md for available values.
18
+ # The confirmation type. See [**ConfirmationTypeEnum**](Enums.md#ConfirmationTypeEnum) for available values.
19
19
  attr_accessor :type
20
20
 
21
21
  # The message used to reach out to the user. Must be a valid message object as per the post message API.
@@ -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.7
6
+ OpenAPI spec version: 5.8
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.7
6
+ OpenAPI spec version: 5.8
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT
@@ -15,10 +15,10 @@ require 'date'
15
15
  module SmoochApi
16
16
 
17
17
  class ConversationActivity
18
- # The role of the actor. Must be *appMaker*. See Enums.md for available values.
18
+ # The role of the actor. Must be *appMaker*. See [**RoleEnum**](Enums.md#RoleEnum) for available values.
19
19
  attr_accessor :role
20
20
 
21
- # The type of activity to trigger. Must be either *typing:start* or *typing:stop*. See Enums.md for available values.
21
+ # The type of activity to trigger. Must be either *typing:start* or *typing:stop*. See [**MessageTypeEnum**](Enums.md#MessageTypeEnum) for available values.
22
22
  attr_accessor :type
23
23
 
24
24
  # The name of the app maker that starts or stops typing a response.
@@ -0,0 +1,294 @@
1
+ =begin
2
+ #Smooch
3
+
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
+
6
+ OpenAPI spec version: 5.8
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module SmoochApi
16
+
17
+ class Deployment
18
+ # The deployment ID, generated automatically.
19
+ attr_accessor :id
20
+
21
+ # The deployment status. See [**DeploymentStatusEnum**](Enums.md#DeploymentStatusEnum) for available values.
22
+ attr_accessor :status
23
+
24
+ # The deployment hosting. See [**DeploymentHostingEnum**](Enums.md#DeploymentHostingEnum) for available values.
25
+ attr_accessor :hosting
26
+
27
+ # The baseUrl of the deployment. Only present for `self` hosted deployments.
28
+ attr_accessor :baseUrl
29
+
30
+ # The username of the deployment. Only present for `self` hosted deployments.
31
+ attr_accessor :username
32
+
33
+ # The phoneNumber of the deployment. Only present once the deployment has been registered.
34
+ attr_accessor :phoneNumber
35
+
36
+ # The URL to be called by Smooch when the status of the deployment changes.
37
+ attr_accessor :callbackUrl
38
+
39
+ # The secret used to secure the callback.
40
+ attr_accessor :callbackSecret
41
+
42
+ # The integrationId of the integration using this deployment.
43
+ attr_accessor :integrationId
44
+
45
+ # The appId of the integration using this deployment.
46
+ attr_accessor :appId
47
+
48
+
49
+ # Attribute mapping from ruby-style variable name to JSON key.
50
+ def self.attribute_map
51
+ {
52
+ :'id' => :'_id',
53
+ :'status' => :'status',
54
+ :'hosting' => :'hosting',
55
+ :'baseUrl' => :'baseUrl',
56
+ :'username' => :'username',
57
+ :'phoneNumber' => :'phoneNumber',
58
+ :'callbackUrl' => :'callbackUrl',
59
+ :'callbackSecret' => :'callbackSecret',
60
+ :'integrationId' => :'integrationId',
61
+ :'appId' => :'appId'
62
+ }
63
+ end
64
+
65
+ # Attribute type mapping.
66
+ def self.swagger_types
67
+ {
68
+ :'id' => :'String',
69
+ :'status' => :'String',
70
+ :'hosting' => :'String',
71
+ :'baseUrl' => :'String',
72
+ :'username' => :'String',
73
+ :'phoneNumber' => :'String',
74
+ :'callbackUrl' => :'String',
75
+ :'callbackSecret' => :'String',
76
+ :'integrationId' => :'String',
77
+ :'appId' => :'String'
78
+ }
79
+ end
80
+
81
+ # Initializes the object
82
+ # @param [Hash] attributes Model attributes in the form of hash
83
+ def initialize(attributes = {})
84
+ return unless attributes.is_a?(Hash)
85
+
86
+ # convert string to symbol for hash key
87
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
88
+
89
+ if attributes.has_key?(:'_id')
90
+ self.id = attributes[:'_id']
91
+ end
92
+
93
+ if attributes.has_key?(:'status')
94
+ self.status = attributes[:'status']
95
+ end
96
+
97
+ if attributes.has_key?(:'hosting')
98
+ self.hosting = attributes[:'hosting']
99
+ end
100
+
101
+ if attributes.has_key?(:'baseUrl')
102
+ self.baseUrl = attributes[:'baseUrl']
103
+ end
104
+
105
+ if attributes.has_key?(:'username')
106
+ self.username = attributes[:'username']
107
+ end
108
+
109
+ if attributes.has_key?(:'phoneNumber')
110
+ self.phoneNumber = attributes[:'phoneNumber']
111
+ end
112
+
113
+ if attributes.has_key?(:'callbackUrl')
114
+ self.callbackUrl = attributes[:'callbackUrl']
115
+ end
116
+
117
+ if attributes.has_key?(:'callbackSecret')
118
+ self.callbackSecret = attributes[:'callbackSecret']
119
+ end
120
+
121
+ if attributes.has_key?(:'integrationId')
122
+ self.integrationId = attributes[:'integrationId']
123
+ end
124
+
125
+ if attributes.has_key?(:'appId')
126
+ self.appId = attributes[:'appId']
127
+ end
128
+
129
+ end
130
+
131
+ # Show invalid properties with the reasons. Usually used together with valid?
132
+ # @return Array for valid properies with the reasons
133
+ def list_invalid_properties
134
+ invalid_properties = Array.new
135
+ if @id.nil?
136
+ invalid_properties.push("invalid value for 'id', id cannot be nil.")
137
+ end
138
+
139
+ if @status.nil?
140
+ invalid_properties.push("invalid value for 'status', status cannot be nil.")
141
+ end
142
+
143
+ if @hosting.nil?
144
+ invalid_properties.push("invalid value for 'hosting', hosting cannot be nil.")
145
+ end
146
+
147
+ return invalid_properties
148
+ end
149
+
150
+ # Check to see if the all the properties in the model are valid
151
+ # @return true if the model is valid
152
+ def valid?
153
+ return false if @id.nil?
154
+ return false if @status.nil?
155
+ return false if @hosting.nil?
156
+ return true
157
+ end
158
+
159
+ # Checks equality by comparing each attribute.
160
+ # @param [Object] Object to be compared
161
+ def ==(o)
162
+ return true if self.equal?(o)
163
+ self.class == o.class &&
164
+ id == o.id &&
165
+ status == o.status &&
166
+ hosting == o.hosting &&
167
+ baseUrl == o.baseUrl &&
168
+ username == o.username &&
169
+ phoneNumber == o.phoneNumber &&
170
+ callbackUrl == o.callbackUrl &&
171
+ callbackSecret == o.callbackSecret &&
172
+ integrationId == o.integrationId &&
173
+ appId == o.appId
174
+ end
175
+
176
+ # @see the `==` method
177
+ # @param [Object] Object to be compared
178
+ def eql?(o)
179
+ self == o
180
+ end
181
+
182
+ # Calculates hash code according to all attributes.
183
+ # @return [Fixnum] Hash code
184
+ def hash
185
+ [id, status, hosting, baseUrl, username, phoneNumber, callbackUrl, callbackSecret, integrationId, appId].hash
186
+ end
187
+
188
+ # Builds the object from hash
189
+ # @param [Hash] attributes Model attributes in the form of hash
190
+ # @return [Object] Returns the model itself
191
+ def build_from_hash(attributes)
192
+ return nil unless attributes.is_a?(Hash)
193
+ self.class.swagger_types.each_pair do |key, type|
194
+ if type =~ /\AArray<(.*)>/i
195
+ # check to ensure the input is an array given that the the attribute
196
+ # is documented as an array but the input is not
197
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
198
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
199
+ end
200
+ elsif !attributes[self.class.attribute_map[key]].nil?
201
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
202
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
203
+ end
204
+
205
+ self
206
+ end
207
+
208
+ # Deserializes the data based on type
209
+ # @param string type Data type
210
+ # @param string value Value to be deserialized
211
+ # @return [Object] Deserialized data
212
+ def _deserialize(type, value)
213
+ case type.to_sym
214
+ when :DateTime
215
+ DateTime.parse(value)
216
+ when :Date
217
+ Date.parse(value)
218
+ when :String
219
+ value.to_s
220
+ when :Integer
221
+ value.to_i
222
+ when :Float
223
+ value.to_f
224
+ when :BOOLEAN
225
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
226
+ true
227
+ else
228
+ false
229
+ end
230
+ when :Object
231
+ # generic object (usually a Hash), return directly
232
+ value
233
+ when /\AArray<(?<inner_type>.+)>\z/
234
+ inner_type = Regexp.last_match[:inner_type]
235
+ value.map { |v| _deserialize(inner_type, v) }
236
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
237
+ k_type = Regexp.last_match[:k_type]
238
+ v_type = Regexp.last_match[:v_type]
239
+ {}.tap do |hash|
240
+ value.each do |k, v|
241
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
242
+ end
243
+ end
244
+ else # model
245
+ temp_model = SmoochApi.const_get(type).new
246
+ temp_model.build_from_hash(value)
247
+ end
248
+ end
249
+
250
+ # Returns the string representation of the object
251
+ # @return [String] String presentation of the object
252
+ def to_s
253
+ to_hash.to_s
254
+ end
255
+
256
+ # to_body is an alias to to_hash (backward compatibility)
257
+ # @return [Hash] Returns the object in the form of hash
258
+ def to_body
259
+ to_hash
260
+ end
261
+
262
+ # Returns the object in the form of hash
263
+ # @return [Hash] Returns the object in the form of hash
264
+ def to_hash
265
+ hash = {}
266
+ self.class.attribute_map.each_pair do |attr, param|
267
+ value = self.send(attr)
268
+ next if value.nil?
269
+ hash[param] = _to_hash(value)
270
+ end
271
+ hash
272
+ end
273
+
274
+ # Outputs non-array value in the form of hash
275
+ # For object, use to_hash. Otherwise, just return the value
276
+ # @param [Object] value Any valid value
277
+ # @return [Hash] Returns the value in the form of hash
278
+ def _to_hash(value)
279
+ if value.is_a?(Array)
280
+ value.compact.map{ |v| _to_hash(v) }
281
+ elsif value.is_a?(Hash)
282
+ {}.tap do |hash|
283
+ value.each { |k, v| hash[k] = _to_hash(v) }
284
+ end
285
+ elsif value.respond_to? :to_hash
286
+ value.to_hash
287
+ else
288
+ value
289
+ end
290
+ end
291
+
292
+ end
293
+
294
+ end