smooch-api 5.27.1 → 5.28.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/docs/AppUserLink.md +1 -0
  4. data/docs/IntegrationCreate.md +3 -0
  5. data/lib/smooch-api.rb +1 -1
  6. data/lib/smooch-api/api/app_api.rb +1 -1
  7. data/lib/smooch-api/api/app_user_api.rb +1 -1
  8. data/lib/smooch-api/api/attachments_api.rb +1 -1
  9. data/lib/smooch-api/api/conversation_api.rb +1 -1
  10. data/lib/smooch-api/api/deployment_api.rb +1 -1
  11. data/lib/smooch-api/api/integration_api.rb +1 -1
  12. data/lib/smooch-api/api/menu_api.rb +1 -1
  13. data/lib/smooch-api/api/notification_api.rb +1 -1
  14. data/lib/smooch-api/api/service_account_api.rb +1 -1
  15. data/lib/smooch-api/api/template_api.rb +1 -1
  16. data/lib/smooch-api/api/webhook_api.rb +1 -1
  17. data/lib/smooch-api/api_client.rb +1 -1
  18. data/lib/smooch-api/api_error.rb +1 -1
  19. data/lib/smooch-api/configuration.rb +1 -1
  20. data/lib/smooch-api/models/action.rb +1 -1
  21. data/lib/smooch-api/models/activity_response.rb +1 -1
  22. data/lib/smooch-api/models/app.rb +1 -1
  23. data/lib/smooch-api/models/app_create.rb +1 -1
  24. data/lib/smooch-api/models/app_response.rb +1 -1
  25. data/lib/smooch-api/models/app_settings.rb +1 -1
  26. data/lib/smooch-api/models/app_update.rb +1 -1
  27. data/lib/smooch-api/models/app_user.rb +1 -1
  28. data/lib/smooch-api/models/app_user_business_systems_response.rb +1 -1
  29. data/lib/smooch-api/models/app_user_channels_response.rb +1 -1
  30. data/lib/smooch-api/models/app_user_link.rb +12 -2
  31. data/lib/smooch-api/models/app_user_merge.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/author.rb +1 -1
  39. data/lib/smooch-api/models/business_system_item.rb +1 -1
  40. data/lib/smooch-api/models/channel_entity_item.rb +1 -1
  41. data/lib/smooch-api/models/client.rb +1 -1
  42. data/lib/smooch-api/models/client_info.rb +1 -1
  43. data/lib/smooch-api/models/confirmation.rb +1 -1
  44. data/lib/smooch-api/models/conversation.rb +1 -1
  45. data/lib/smooch-api/models/conversation_activity.rb +1 -1
  46. data/lib/smooch-api/models/coordinates.rb +1 -1
  47. data/lib/smooch-api/models/deployment.rb +1 -1
  48. data/lib/smooch-api/models/deployment_activate_phone_number.rb +1 -1
  49. data/lib/smooch-api/models/deployment_confirm_code.rb +1 -1
  50. data/lib/smooch-api/models/deployment_create.rb +1 -1
  51. data/lib/smooch-api/models/deployment_response.rb +1 -1
  52. data/lib/smooch-api/models/destination.rb +1 -1
  53. data/lib/smooch-api/models/display_settings.rb +1 -1
  54. data/lib/smooch-api/models/enums.rb +1 -1
  55. data/lib/smooch-api/models/field.rb +1 -1
  56. data/lib/smooch-api/models/field_post.rb +1 -1
  57. data/lib/smooch-api/models/get_integration_profile_response.rb +1 -1
  58. data/lib/smooch-api/models/get_messages_response.rb +1 -1
  59. data/lib/smooch-api/models/get_sdk_ids_response.rb +1 -1
  60. data/lib/smooch-api/models/integration.rb +1 -1
  61. data/lib/smooch-api/models/integration_create.rb +35 -5
  62. data/lib/smooch-api/models/integration_profile_update.rb +1 -1
  63. data/lib/smooch-api/models/integration_response.rb +1 -1
  64. data/lib/smooch-api/models/integration_update.rb +1 -1
  65. data/lib/smooch-api/models/jwt_response.rb +1 -1
  66. data/lib/smooch-api/models/link_request_response.rb +1 -1
  67. data/lib/smooch-api/models/link_request_response_link_requests.rb +1 -1
  68. data/lib/smooch-api/models/list_apps_response.rb +1 -1
  69. data/lib/smooch-api/models/list_deployments_response.rb +1 -1
  70. data/lib/smooch-api/models/list_integrations_response.rb +1 -1
  71. data/lib/smooch-api/models/list_secret_keys_response.rb +1 -1
  72. data/lib/smooch-api/models/list_service_accounts_response.rb +1 -1
  73. data/lib/smooch-api/models/list_templates_response.rb +1 -1
  74. data/lib/smooch-api/models/list_webhooks_response.rb +1 -1
  75. data/lib/smooch-api/models/location.rb +1 -1
  76. data/lib/smooch-api/models/menu.rb +1 -1
  77. data/lib/smooch-api/models/menu_item.rb +1 -1
  78. data/lib/smooch-api/models/menu_response.rb +1 -1
  79. data/lib/smooch-api/models/merged_user.rb +1 -1
  80. data/lib/smooch-api/models/message.rb +1 -1
  81. data/lib/smooch-api/models/message_item.rb +1 -1
  82. data/lib/smooch-api/models/message_override.rb +1 -1
  83. data/lib/smooch-api/models/message_override_line.rb +1 -1
  84. data/lib/smooch-api/models/message_override_messenger.rb +1 -1
  85. data/lib/smooch-api/models/message_override_whatsapp.rb +1 -1
  86. data/lib/smooch-api/models/message_post.rb +1 -1
  87. data/lib/smooch-api/models/message_response.rb +1 -1
  88. data/lib/smooch-api/models/notification_post.rb +1 -1
  89. data/lib/smooch-api/models/notification_post_destination.rb +1 -1
  90. data/lib/smooch-api/models/notification_response.rb +1 -1
  91. data/lib/smooch-api/models/notification_response_notification.rb +1 -1
  92. data/lib/smooch-api/models/option.rb +1 -1
  93. data/lib/smooch-api/models/quoted_message.rb +1 -1
  94. data/lib/smooch-api/models/secret_key.rb +1 -1
  95. data/lib/smooch-api/models/secret_key_create.rb +1 -1
  96. data/lib/smooch-api/models/secret_key_response.rb +1 -1
  97. data/lib/smooch-api/models/select.rb +1 -1
  98. data/lib/smooch-api/models/service_account.rb +1 -1
  99. data/lib/smooch-api/models/service_account_create.rb +1 -1
  100. data/lib/smooch-api/models/service_account_response.rb +1 -1
  101. data/lib/smooch-api/models/service_account_update.rb +1 -1
  102. data/lib/smooch-api/models/source.rb +1 -1
  103. data/lib/smooch-api/models/sub_menu_item.rb +1 -1
  104. data/lib/smooch-api/models/template.rb +1 -1
  105. data/lib/smooch-api/models/template_create.rb +1 -1
  106. data/lib/smooch-api/models/template_response.rb +1 -1
  107. data/lib/smooch-api/models/template_update.rb +1 -1
  108. data/lib/smooch-api/models/upload_integration_profile_photo_response.rb +1 -1
  109. data/lib/smooch-api/models/webhook.rb +1 -1
  110. data/lib/smooch-api/models/webhook_create.rb +1 -1
  111. data/lib/smooch-api/models/webhook_response.rb +1 -1
  112. data/lib/smooch-api/models/webhook_update.rb +1 -1
  113. data/lib/smooch-api/version.rb +2 -2
  114. data/smooch-api.gemspec +1 -1
  115. data/spec/api_client_spec.rb +1 -1
  116. data/spec/configuration_spec.rb +1 -1
  117. data/spec/spec_helper.rb +1 -1
  118. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 03d37cdb47c683238e53ec87b5c67d56ed233df4
4
- data.tar.gz: 1d40f4a24798364deb03ab786f8258ee77ca213f
3
+ metadata.gz: 2abf0b4491032c8aa88ac0bf2230b49bad5c513f
4
+ data.tar.gz: 7a10f0c7b209bb30689e2049acc8f57016e894f9
5
5
  SHA512:
6
- metadata.gz: 23d5cf2f65054f157ebb3e79dec6e04dff425f94b9a30492c94b4029a13dfe8d4f9fac9a4f39416ce039fbdc247bee7ed02c73344420d348ccf348f1af787ed8
7
- data.tar.gz: f442135e1dbef235466300b1f080fda4bc7460b68e6f50235c4158b7a1f74da769d629c1b810213ba44cdfbc228403feef0c5a149b5b194c1a5375ded01b8c46
6
+ metadata.gz: 46b192101748cbc42c99cee7ae27560be3dd5834465edd3715a3bc71132d00c59b9c6d193be3fdc0c2bba91ced6715b1961db9c8662e194963cd817b7ebe4e39
7
+ data.tar.gz: a7cc4a94bde1fd462066c26460afe624c527420f8b8891257cd4e51805b64eb48f05167013ecc54725aac1c73ddd7132533eaf693849297ca32658d7e73f1c11
data/README.md CHANGED
@@ -25,7 +25,7 @@ gem install smooch-api
25
25
 
26
26
  Add this to the Gemfile:
27
27
 
28
- gem 'smooch-api', '~> 5.27.1'
28
+ gem 'smooch-api', '~> 5.28.0'
29
29
 
30
30
  ## Getting Started
31
31
 
@@ -4,6 +4,7 @@
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **type** | **String** | The type of the channel to link. See [**IntegrationTypeEnum**](Enums.md#IntegrationTypeEnum) for available values. |
7
+ **integrationId** | **String** | The id of the integration to link, it must match the provided type. | [optional]
7
8
  **phoneNumber** | **String** | 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. | [optional]
8
9
  **address** | **String** | A String of the appUser’s email address. Required for *mailgun* linking. | [optional]
9
10
  **givenName** | **String** | A String of the appUser’s given name. Used as additional criteria to increase the likelihood of a match. (Optional) Used for *messenger* linking. | [optional]
@@ -54,5 +54,8 @@ Name | Type | Description | Notes
54
54
  **qrCodeUrl** | **String** | URL provided by LINE in the [Developer Console](https://developers.line.biz/console/). | [optional]
55
55
  **hideUnsubscribeLink** | **BOOLEAN** | When `true`, unsubscribe links will not be included in outbound emails. If this setting is enabled, it is expected that the business is providing the user a way to unsubscribe by some other means. (Optional) Used for *mailgun* integrations. | [optional]
56
56
  **signingKey** | **String** | The signing key of your MessageBird account. Used to validate the webhooks' origin. (Optional) Used for *messagebird* integrations. | [optional]
57
+ **apiKey** | **String** | The public API key of your Mailgun account. Required for *mailgun* integrations. | [optional]
58
+ **domain** | **String** | The domain used to relay email. Required for *mailgun* integrations. | [optional]
59
+ **incomingAddress** | **String** | Smooch will receive all emails sent to this address. Required for *mailgun* integrations. | [optional]
57
60
 
58
61
 
@@ -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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT
@@ -18,6 +18,9 @@ module SmoochApi
18
18
  # The type of the channel to link. See [**IntegrationTypeEnum**](Enums.md#IntegrationTypeEnum) for available values.
19
19
  attr_accessor :type
20
20
 
21
+ # The id of the integration to link, it must match the provided type.
22
+ attr_accessor :integrationId
23
+
21
24
  # 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.
22
25
  attr_accessor :phoneNumber
23
26
 
@@ -41,6 +44,7 @@ module SmoochApi
41
44
  def self.attribute_map
42
45
  {
43
46
  :'type' => :'type',
47
+ :'integrationId' => :'integrationId',
44
48
  :'phoneNumber' => :'phoneNumber',
45
49
  :'address' => :'address',
46
50
  :'givenName' => :'givenName',
@@ -54,6 +58,7 @@ module SmoochApi
54
58
  def self.swagger_types
55
59
  {
56
60
  :'type' => :'String',
61
+ :'integrationId' => :'String',
57
62
  :'phoneNumber' => :'String',
58
63
  :'address' => :'String',
59
64
  :'givenName' => :'String',
@@ -75,6 +80,10 @@ module SmoochApi
75
80
  self.type = attributes[:'type']
76
81
  end
77
82
 
83
+ if attributes.has_key?(:'integrationId')
84
+ self.integrationId = attributes[:'integrationId']
85
+ end
86
+
78
87
  if attributes.has_key?(:'phoneNumber')
79
88
  self.phoneNumber = attributes[:'phoneNumber']
80
89
  end
@@ -130,6 +139,7 @@ module SmoochApi
130
139
  return true if self.equal?(o)
131
140
  self.class == o.class &&
132
141
  type == o.type &&
142
+ integrationId == o.integrationId &&
133
143
  phoneNumber == o.phoneNumber &&
134
144
  address == o.address &&
135
145
  givenName == o.givenName &&
@@ -147,7 +157,7 @@ module SmoochApi
147
157
  # Calculates hash code according to all attributes.
148
158
  # @return [Fixnum] Hash code
149
159
  def hash
150
- [type, phoneNumber, address, givenName, surname, subject, confirmation].hash
160
+ [type, integrationId, phoneNumber, address, givenName, surname, subject, confirmation].hash
151
161
  end
152
162
 
153
163
  # 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: 5.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
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.27
6
+ OpenAPI spec version: 5.28
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT