smooch-api 5.26.0 → 5.34.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/LICENSE +176 -0
  3. data/README.md +14 -1
  4. data/docs/AppApi.md +60 -0
  5. data/docs/AppUserLink.md +1 -0
  6. data/docs/GetSdkIdsResponse.md +10 -0
  7. data/docs/Integration.md +12 -7
  8. data/docs/IntegrationCreate.md +12 -5
  9. data/docs/IntegrationUpdate.md +1 -1
  10. data/docs/Message.md +1 -0
  11. data/docs/MessageItem.md +1 -0
  12. data/docs/MessagePost.md +1 -0
  13. data/lib/smooch-api.rb +2 -1
  14. data/lib/smooch-api/api/app_api.rb +56 -1
  15. data/lib/smooch-api/api/app_user_api.rb +1 -1
  16. data/lib/smooch-api/api/attachments_api.rb +1 -1
  17. data/lib/smooch-api/api/conversation_api.rb +1 -1
  18. data/lib/smooch-api/api/deployment_api.rb +1 -1
  19. data/lib/smooch-api/api/integration_api.rb +1 -1
  20. data/lib/smooch-api/api/menu_api.rb +1 -1
  21. data/lib/smooch-api/api/notification_api.rb +1 -1
  22. data/lib/smooch-api/api/service_account_api.rb +1 -1
  23. data/lib/smooch-api/api/template_api.rb +1 -1
  24. data/lib/smooch-api/api/webhook_api.rb +1 -1
  25. data/lib/smooch-api/api_client.rb +1 -1
  26. data/lib/smooch-api/api_error.rb +1 -1
  27. data/lib/smooch-api/configuration.rb +1 -1
  28. data/lib/smooch-api/models/action.rb +1 -1
  29. data/lib/smooch-api/models/activity_response.rb +1 -1
  30. data/lib/smooch-api/models/app.rb +1 -1
  31. data/lib/smooch-api/models/app_create.rb +1 -1
  32. data/lib/smooch-api/models/app_response.rb +1 -1
  33. data/lib/smooch-api/models/app_settings.rb +1 -1
  34. data/lib/smooch-api/models/app_update.rb +1 -1
  35. data/lib/smooch-api/models/app_user.rb +1 -1
  36. data/lib/smooch-api/models/app_user_business_systems_response.rb +1 -1
  37. data/lib/smooch-api/models/app_user_channels_response.rb +1 -1
  38. data/lib/smooch-api/models/app_user_link.rb +12 -2
  39. data/lib/smooch-api/models/app_user_merge.rb +1 -1
  40. data/lib/smooch-api/models/app_user_pre_create.rb +1 -1
  41. data/lib/smooch-api/models/app_user_response.rb +1 -1
  42. data/lib/smooch-api/models/app_user_update.rb +1 -1
  43. data/lib/smooch-api/models/attachment_remove.rb +1 -1
  44. data/lib/smooch-api/models/attachment_response.rb +1 -1
  45. data/lib/smooch-api/models/auth_code_response.rb +1 -1
  46. data/lib/smooch-api/models/author.rb +1 -1
  47. data/lib/smooch-api/models/business_system_item.rb +1 -1
  48. data/lib/smooch-api/models/channel_entity_item.rb +1 -1
  49. data/lib/smooch-api/models/client.rb +1 -1
  50. data/lib/smooch-api/models/client_info.rb +1 -1
  51. data/lib/smooch-api/models/confirmation.rb +1 -1
  52. data/lib/smooch-api/models/conversation.rb +1 -1
  53. data/lib/smooch-api/models/conversation_activity.rb +1 -1
  54. data/lib/smooch-api/models/coordinates.rb +1 -1
  55. data/lib/smooch-api/models/deployment.rb +1 -1
  56. data/lib/smooch-api/models/deployment_activate_phone_number.rb +1 -1
  57. data/lib/smooch-api/models/deployment_confirm_code.rb +1 -1
  58. data/lib/smooch-api/models/deployment_create.rb +1 -1
  59. data/lib/smooch-api/models/deployment_response.rb +1 -1
  60. data/lib/smooch-api/models/destination.rb +1 -1
  61. data/lib/smooch-api/models/display_settings.rb +1 -1
  62. data/lib/smooch-api/models/enums.rb +1 -1
  63. data/lib/smooch-api/models/field.rb +1 -1
  64. data/lib/smooch-api/models/field_post.rb +1 -1
  65. data/lib/smooch-api/models/get_integration_profile_response.rb +1 -1
  66. data/lib/smooch-api/models/get_messages_response.rb +1 -1
  67. data/lib/smooch-api/models/get_sdk_ids_response.rb +224 -0
  68. data/lib/smooch-api/models/integration.rb +62 -12
  69. data/lib/smooch-api/models/integration_create.rb +80 -10
  70. data/lib/smooch-api/models/integration_profile_update.rb +1 -1
  71. data/lib/smooch-api/models/integration_response.rb +1 -1
  72. data/lib/smooch-api/models/integration_update.rb +2 -2
  73. data/lib/smooch-api/models/jwt_response.rb +1 -1
  74. data/lib/smooch-api/models/link_request_response.rb +1 -1
  75. data/lib/smooch-api/models/link_request_response_link_requests.rb +1 -1
  76. data/lib/smooch-api/models/list_apps_response.rb +1 -1
  77. data/lib/smooch-api/models/list_deployments_response.rb +1 -1
  78. data/lib/smooch-api/models/list_integrations_response.rb +1 -1
  79. data/lib/smooch-api/models/list_secret_keys_response.rb +1 -1
  80. data/lib/smooch-api/models/list_service_accounts_response.rb +1 -1
  81. data/lib/smooch-api/models/list_templates_response.rb +1 -1
  82. data/lib/smooch-api/models/list_webhooks_response.rb +1 -1
  83. data/lib/smooch-api/models/location.rb +1 -1
  84. data/lib/smooch-api/models/menu.rb +1 -1
  85. data/lib/smooch-api/models/menu_item.rb +1 -1
  86. data/lib/smooch-api/models/menu_response.rb +1 -1
  87. data/lib/smooch-api/models/merged_user.rb +1 -1
  88. data/lib/smooch-api/models/message.rb +12 -2
  89. data/lib/smooch-api/models/message_item.rb +12 -2
  90. data/lib/smooch-api/models/message_override.rb +1 -1
  91. data/lib/smooch-api/models/message_override_line.rb +1 -1
  92. data/lib/smooch-api/models/message_override_messenger.rb +1 -1
  93. data/lib/smooch-api/models/message_override_whatsapp.rb +1 -1
  94. data/lib/smooch-api/models/message_post.rb +12 -2
  95. data/lib/smooch-api/models/message_response.rb +1 -1
  96. data/lib/smooch-api/models/notification_post.rb +1 -1
  97. data/lib/smooch-api/models/notification_post_destination.rb +1 -1
  98. data/lib/smooch-api/models/notification_response.rb +1 -1
  99. data/lib/smooch-api/models/notification_response_notification.rb +1 -1
  100. data/lib/smooch-api/models/option.rb +1 -1
  101. data/lib/smooch-api/models/quoted_message.rb +1 -1
  102. data/lib/smooch-api/models/secret_key.rb +1 -1
  103. data/lib/smooch-api/models/secret_key_create.rb +1 -1
  104. data/lib/smooch-api/models/secret_key_response.rb +1 -1
  105. data/lib/smooch-api/models/select.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 +1 -1
  111. data/lib/smooch-api/models/sub_menu_item.rb +1 -1
  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 +1 -1
  118. data/lib/smooch-api/models/webhook_create.rb +1 -1
  119. data/lib/smooch-api/models/webhook_response.rb +1 -1
  120. data/lib/smooch-api/models/webhook_update.rb +1 -1
  121. data/lib/smooch-api/version.rb +2 -2
  122. data/smooch-api.gemspec +4 -4
  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 +12 -9
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io).
5
5
 
6
- OpenAPI spec version: 5.25
6
+ OpenAPI spec version: 5.34
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT
@@ -24,13 +24,13 @@ module SmoochApi
24
24
  # The integration display name. Used to map a human-friendly name to an integration.
25
25
  attr_accessor :displayName
26
26
 
27
- # Facebook Page Access Token. Required for *messenger* integrations.
27
+ # Facebook Page Access Token. Required for *messenger* and *instagram* integrations.
28
28
  attr_accessor :pageAccessToken
29
29
 
30
- # Facebook App ID OR WeChat App ID. Required for *messenger* and *wechat* integrations.
30
+ # Facebook App ID OR WeChat App ID. Required for *messenger*, *instagram* and *wechat* integrations.
31
31
  attr_accessor :appId
32
32
 
33
- # Facebook Page App Secret OR WeChat App Secret. Required for *messenger* and *wechat* integrations.
33
+ # Facebook Page App Secret OR WeChat App Secret. Required for *messenger*, *instagram* and *wechat* integrations.
34
34
  attr_accessor :appSecret
35
35
 
36
36
  # Optional endpoint to generate access tokens for WeChat. Used to coordinate API access with third party systems.
@@ -39,7 +39,7 @@ module SmoochApi
39
39
  # Secret to verify webhooks. Returned on successful *wechat* and *messagebird* integrations.
40
40
  attr_accessor :webhookSecret
41
41
 
42
- # Facebook Page App ID. Returned on successful *messenger* integrations.
42
+ # Facebook Page App ID. Returned on successful *messenger* and *instagram* integrations.
43
43
  attr_accessor :pageId
44
44
 
45
45
  # Twilio Account SID. Required for *twilio* integrations.
@@ -138,10 +138,10 @@ module SmoochApi
138
138
  # The access token secret obtained from your user via oauth. Required for *twitter* integrations.
139
139
  attr_accessor :accessTokenSecret
140
140
 
141
- # The twitter userId. Returned on successful *twitter* integrations.
141
+ # The twitter userId or Facebook userId. Returned on successful *twitter* and *instagram* integrations.
142
142
  attr_accessor :userId
143
143
 
144
- # The username for the account. Returned on successful *twitter* and *telegram* integrations. Required for *WhatsApp* integrations. (this usage is deprecated)
144
+ # A twitter, telegram and facebook account username Returned on successful *twitter*, *telegram* and *instagram* integrations. Required for *WhatsApp* integrations. (this usage is deprecated)
145
145
  attr_accessor :username
146
146
 
147
147
  # The public API key of your Mailgun account. Required for *mailgun* integrations.
@@ -159,6 +159,9 @@ module SmoochApi
159
159
  # Smooch will receive all messages sent to this phone number. Required for *messagebird* integrations.
160
160
  attr_accessor :originator
161
161
 
162
+ # The signing key of your MessageBird account. Used to validate the webhooks' origin. (Optional) Used for *messagebird* integrations.
163
+ attr_accessor :signingKey
164
+
162
165
  # This color will be used in the messenger header and the button or tab in idle state. (Optional) Used for *Web Messenger* integrations.
163
166
  attr_accessor :brandColor
164
167
 
@@ -186,9 +189,12 @@ module SmoochApi
186
189
  # Array of integration IDs, order will be reflected in the Web Messenger. When set, only integrations from this list will be displayed in the Web Messenger. If unset, all integrations will be displayed (Optional) Used for *Web Messenger* integrations.
187
190
  attr_accessor :integrationOrder
188
191
 
189
- # A custom business name for the Web Messenger. (Optional) Used for *Web Messenger* integrations.
192
+ # A custom business name for the Web Messenger or Instagram Business account name. (Optional) Used for *Web Messenger* integrations.
190
193
  attr_accessor :businessName
191
194
 
195
+ # Instagram Business account username.
196
+ attr_accessor :businessUsername
197
+
192
198
  # A custom business icon url for the Web Messenger. (Optional) Used for *Web Messenger* integrations.
193
199
  attr_accessor :businessIconUrl
194
200
 
@@ -207,6 +213,15 @@ module SmoochApi
207
213
  # The error causing the integration to fail. Will be present when `status` is 'error'.
208
214
  attr_accessor :error
209
215
 
216
+ # A key tied to Apple Business Chat Messaging Service Provider
217
+ attr_accessor :apiSecret
218
+
219
+ # A unique ID tied to the brand using Apple Business Chat or the Instagram Business ID
220
+ attr_accessor :businessId
221
+
222
+ # A unique identifier for an Apple Business Chat partner registered as a Messaging Service Provider through Apple Business Register
223
+ attr_accessor :mspId
224
+
210
225
 
211
226
  # Attribute mapping from ruby-style variable name to JSON key.
212
227
  def self.attribute_map
@@ -259,6 +274,7 @@ module SmoochApi
259
274
  :'incomingAddress' => :'incomingAddress',
260
275
  :'accessKey' => :'accessKey',
261
276
  :'originator' => :'originator',
277
+ :'signingKey' => :'signingKey',
262
278
  :'brandColor' => :'brandColor',
263
279
  :'fixedIntroPane' => :'fixedIntroPane',
264
280
  :'conversationColor' => :'conversationColor',
@@ -269,12 +285,16 @@ module SmoochApi
269
285
  :'buttonHeight' => :'buttonHeight',
270
286
  :'integrationOrder' => :'integrationOrder',
271
287
  :'businessName' => :'businessName',
288
+ :'businessUsername' => :'businessUsername',
272
289
  :'businessIconUrl' => :'businessIconUrl',
273
290
  :'backgroundImageUrl' => :'backgroundImageUrl',
274
291
  :'originWhitelist' => :'originWhitelist',
275
292
  :'hideUnsubscribeLink' => :'hideUnsubscribeLink',
276
293
  :'status' => :'status',
277
- :'error' => :'error'
294
+ :'error' => :'error',
295
+ :'apiSecret' => :'apiSecret',
296
+ :'businessId' => :'businessId',
297
+ :'mspId' => :'mspId'
278
298
  }
279
299
  end
280
300
 
@@ -329,6 +349,7 @@ module SmoochApi
329
349
  :'incomingAddress' => :'String',
330
350
  :'accessKey' => :'String',
331
351
  :'originator' => :'String',
352
+ :'signingKey' => :'String',
332
353
  :'brandColor' => :'String',
333
354
  :'fixedIntroPane' => :'BOOLEAN',
334
355
  :'conversationColor' => :'String',
@@ -339,12 +360,16 @@ module SmoochApi
339
360
  :'buttonHeight' => :'String',
340
361
  :'integrationOrder' => :'Array<String>',
341
362
  :'businessName' => :'String',
363
+ :'businessUsername' => :'String',
342
364
  :'businessIconUrl' => :'String',
343
365
  :'backgroundImageUrl' => :'String',
344
366
  :'originWhitelist' => :'Array<String>',
345
367
  :'hideUnsubscribeLink' => :'BOOLEAN',
346
368
  :'status' => :'String',
347
- :'error' => :'String'
369
+ :'error' => :'String',
370
+ :'apiSecret' => :'String',
371
+ :'businessId' => :'String',
372
+ :'mspId' => :'String'
348
373
  }
349
374
  end
350
375
 
@@ -548,6 +573,10 @@ module SmoochApi
548
573
  self.originator = attributes[:'originator']
549
574
  end
550
575
 
576
+ if attributes.has_key?(:'signingKey')
577
+ self.signingKey = attributes[:'signingKey']
578
+ end
579
+
551
580
  if attributes.has_key?(:'brandColor')
552
581
  self.brandColor = attributes[:'brandColor']
553
582
  end
@@ -590,6 +619,10 @@ module SmoochApi
590
619
  self.businessName = attributes[:'businessName']
591
620
  end
592
621
 
622
+ if attributes.has_key?(:'businessUsername')
623
+ self.businessUsername = attributes[:'businessUsername']
624
+ end
625
+
593
626
  if attributes.has_key?(:'businessIconUrl')
594
627
  self.businessIconUrl = attributes[:'businessIconUrl']
595
628
  end
@@ -616,6 +649,18 @@ module SmoochApi
616
649
  self.error = attributes[:'error']
617
650
  end
618
651
 
652
+ if attributes.has_key?(:'apiSecret')
653
+ self.apiSecret = attributes[:'apiSecret']
654
+ end
655
+
656
+ if attributes.has_key?(:'businessId')
657
+ self.businessId = attributes[:'businessId']
658
+ end
659
+
660
+ if attributes.has_key?(:'mspId')
661
+ self.mspId = attributes[:'mspId']
662
+ end
663
+
619
664
  end
620
665
 
621
666
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -694,6 +739,7 @@ module SmoochApi
694
739
  incomingAddress == o.incomingAddress &&
695
740
  accessKey == o.accessKey &&
696
741
  originator == o.originator &&
742
+ signingKey == o.signingKey &&
697
743
  brandColor == o.brandColor &&
698
744
  fixedIntroPane == o.fixedIntroPane &&
699
745
  conversationColor == o.conversationColor &&
@@ -704,12 +750,16 @@ module SmoochApi
704
750
  buttonHeight == o.buttonHeight &&
705
751
  integrationOrder == o.integrationOrder &&
706
752
  businessName == o.businessName &&
753
+ businessUsername == o.businessUsername &&
707
754
  businessIconUrl == o.businessIconUrl &&
708
755
  backgroundImageUrl == o.backgroundImageUrl &&
709
756
  originWhitelist == o.originWhitelist &&
710
757
  hideUnsubscribeLink == o.hideUnsubscribeLink &&
711
758
  status == o.status &&
712
- error == o.error
759
+ error == o.error &&
760
+ apiSecret == o.apiSecret &&
761
+ businessId == o.businessId &&
762
+ mspId == o.mspId
713
763
  end
714
764
 
715
765
  # @see the `==` method
@@ -721,7 +771,7 @@ module SmoochApi
721
771
  # Calculates hash code according to all attributes.
722
772
  # @return [Fixnum] Hash code
723
773
  def hash
724
- [id, type, displayName, pageAccessToken, appId, appSecret, accessTokenUrl, webhookSecret, pageId, accountSid, authToken, phoneNumberSid, phoneNumber, name, token, uri, channelId, channelSecret, channelAccessToken, serviceCode, switcherSecret, qrCodeUrl, lineId, botName, encodingAesKey, fromAddress, certificate, deploymentId, baseUrl, hsmFallbackLanguage, password, autoUpdateBadge, production, serverKey, senderId, tier, envName, consumerKey, consumerSecret, accessTokenKey, accessTokenSecret, userId, username, apiKey, domain, incomingAddress, accessKey, originator, brandColor, fixedIntroPane, conversationColor, actionColor, displayStyle, buttonIconUrl, buttonWidth, buttonHeight, integrationOrder, businessName, businessIconUrl, backgroundImageUrl, originWhitelist, hideUnsubscribeLink, status, error].hash
774
+ [id, type, displayName, pageAccessToken, appId, appSecret, accessTokenUrl, webhookSecret, pageId, accountSid, authToken, phoneNumberSid, phoneNumber, name, token, uri, channelId, channelSecret, channelAccessToken, serviceCode, switcherSecret, qrCodeUrl, lineId, botName, encodingAesKey, fromAddress, certificate, deploymentId, baseUrl, hsmFallbackLanguage, password, autoUpdateBadge, production, serverKey, senderId, tier, envName, consumerKey, consumerSecret, accessTokenKey, accessTokenSecret, userId, username, apiKey, domain, incomingAddress, accessKey, originator, signingKey, brandColor, fixedIntroPane, conversationColor, actionColor, displayStyle, buttonIconUrl, buttonWidth, buttonHeight, integrationOrder, businessName, businessUsername, businessIconUrl, backgroundImageUrl, originWhitelist, hideUnsubscribeLink, status, error, apiSecret, businessId, mspId].hash
725
775
  end
726
776
 
727
777
  # 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.25
6
+ OpenAPI spec version: 5.34
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT
@@ -21,13 +21,13 @@ module SmoochApi
21
21
  # The integration display name. Used to map a human-friendly name to an integration.
22
22
  attr_accessor :displayName
23
23
 
24
- # Facebook Page Access Token. Required for *messenger* integrations.
24
+ # Facebook Page Access Token. Required for *messenger* and *instagram* integrations.
25
25
  attr_accessor :pageAccessToken
26
26
 
27
- # Facebook App ID OR WeChat App ID. Required for *messenger* and *wechat* integrations.
27
+ # Facebook App ID OR WeChat App ID. Required for *messenger*, *instagram* and *wechat* integrations.
28
28
  attr_accessor :appId
29
29
 
30
- # Facebook Page App Secret OR WeChat App Secret. Required for *messenger* and *wechat* integrations.
30
+ # Facebook Page App Secret OR WeChat App Secret. Required for *messenger*, *instagram* and *wechat* integrations.
31
31
  attr_accessor :appSecret
32
32
 
33
33
  # Twilio Account SID. Required for *twilio* integrations.
@@ -78,7 +78,7 @@ module SmoochApi
78
78
  # The password for your APN certificate or WhatsApp API client. Required for *WhatsApp* integrations. (this usage is deprecated) (Optional) Used for *apn* integrations.
79
79
  attr_accessor :password
80
80
 
81
- # The username for the account. Returned on successful *twitter* and *telegram* integrations. Required for *WhatsApp* integrations. (this usage is deprecated)
81
+ # A twitter, telegram and facebook account username Returned on successful *twitter*, *telegram* and *instagram* integrations. Required for *WhatsApp* integrations. (this usage is deprecated)
82
82
  attr_accessor :username
83
83
 
84
84
  # Use the unread count of the conversation as the application badge. (Optional) Used for *apn* integrations.
@@ -147,7 +147,7 @@ module SmoochApi
147
147
  # Array of integration IDs, order will be reflected in the Web Messenger. When set, only integrations from this list will be displayed in the Web Messenger. If unset, all integrations will be displayed (Optional) Used for *Web Messenger* integrations.
148
148
  attr_accessor :integrationOrder
149
149
 
150
- # A custom business name for the Web Messenger. (Optional) Used for *Web Messenger* integrations.
150
+ # A custom business name for the Web Messenger or Instagram Business account name. (Optional) Used for *Web Messenger* integrations.
151
151
  attr_accessor :businessName
152
152
 
153
153
  # A custom business icon url for the Web Messenger. (Optional) Used for *Web Messenger* integrations.
@@ -165,6 +165,27 @@ module SmoochApi
165
165
  # 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.
166
166
  attr_accessor :hideUnsubscribeLink
167
167
 
168
+ # The signing key of your MessageBird account. Used to validate the webhooks' origin. (Optional) Used for *messagebird* integrations.
169
+ attr_accessor :signingKey
170
+
171
+ # The public API key of your Mailgun account. Required for *mailgun* integrations.
172
+ attr_accessor :apiKey
173
+
174
+ # The domain used to relay email. Required for *mailgun* integrations.
175
+ attr_accessor :domain
176
+
177
+ # Smooch will receive all emails sent to this address. Required for *mailgun* integrations.
178
+ attr_accessor :incomingAddress
179
+
180
+ # A key tied to Apple Business Chat Messaging Service Provider
181
+ attr_accessor :apiSecret
182
+
183
+ # A unique ID tied to the brand using Apple Business Chat or the Instagram Business ID
184
+ attr_accessor :businessId
185
+
186
+ # A unique identifier for an Apple Business Chat partner registered as a Messaging Service Provider through Apple Business Register
187
+ attr_accessor :mspId
188
+
168
189
 
169
190
  # Attribute mapping from ruby-style variable name to JSON key.
170
191
  def self.attribute_map
@@ -218,7 +239,14 @@ module SmoochApi
218
239
  :'backgroundImageUrl' => :'backgroundImageUrl',
219
240
  :'originWhitelist' => :'originWhitelist',
220
241
  :'qrCodeUrl' => :'qrCodeUrl',
221
- :'hideUnsubscribeLink' => :'hideUnsubscribeLink'
242
+ :'hideUnsubscribeLink' => :'hideUnsubscribeLink',
243
+ :'signingKey' => :'signingKey',
244
+ :'apiKey' => :'apiKey',
245
+ :'domain' => :'domain',
246
+ :'incomingAddress' => :'incomingAddress',
247
+ :'apiSecret' => :'apiSecret',
248
+ :'businessId' => :'businessId',
249
+ :'mspId' => :'mspId'
222
250
  }
223
251
  end
224
252
 
@@ -274,7 +302,14 @@ module SmoochApi
274
302
  :'backgroundImageUrl' => :'String',
275
303
  :'originWhitelist' => :'Array<String>',
276
304
  :'qrCodeUrl' => :'String',
277
- :'hideUnsubscribeLink' => :'BOOLEAN'
305
+ :'hideUnsubscribeLink' => :'BOOLEAN',
306
+ :'signingKey' => :'String',
307
+ :'apiKey' => :'String',
308
+ :'domain' => :'String',
309
+ :'incomingAddress' => :'String',
310
+ :'apiSecret' => :'String',
311
+ :'businessId' => :'String',
312
+ :'mspId' => :'String'
278
313
  }
279
314
  end
280
315
 
@@ -490,6 +525,34 @@ module SmoochApi
490
525
  self.hideUnsubscribeLink = attributes[:'hideUnsubscribeLink']
491
526
  end
492
527
 
528
+ if attributes.has_key?(:'signingKey')
529
+ self.signingKey = attributes[:'signingKey']
530
+ end
531
+
532
+ if attributes.has_key?(:'apiKey')
533
+ self.apiKey = attributes[:'apiKey']
534
+ end
535
+
536
+ if attributes.has_key?(:'domain')
537
+ self.domain = attributes[:'domain']
538
+ end
539
+
540
+ if attributes.has_key?(:'incomingAddress')
541
+ self.incomingAddress = attributes[:'incomingAddress']
542
+ end
543
+
544
+ if attributes.has_key?(:'apiSecret')
545
+ self.apiSecret = attributes[:'apiSecret']
546
+ end
547
+
548
+ if attributes.has_key?(:'businessId')
549
+ self.businessId = attributes[:'businessId']
550
+ end
551
+
552
+ if attributes.has_key?(:'mspId')
553
+ self.mspId = attributes[:'mspId']
554
+ end
555
+
493
556
  end
494
557
 
495
558
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -564,7 +627,14 @@ module SmoochApi
564
627
  backgroundImageUrl == o.backgroundImageUrl &&
565
628
  originWhitelist == o.originWhitelist &&
566
629
  qrCodeUrl == o.qrCodeUrl &&
567
- hideUnsubscribeLink == o.hideUnsubscribeLink
630
+ hideUnsubscribeLink == o.hideUnsubscribeLink &&
631
+ signingKey == o.signingKey &&
632
+ apiKey == o.apiKey &&
633
+ domain == o.domain &&
634
+ incomingAddress == o.incomingAddress &&
635
+ apiSecret == o.apiSecret &&
636
+ businessId == o.businessId &&
637
+ mspId == o.mspId
568
638
  end
569
639
 
570
640
  # @see the `==` method
@@ -576,7 +646,7 @@ module SmoochApi
576
646
  # Calculates hash code according to all attributes.
577
647
  # @return [Fixnum] Hash code
578
648
  def hash
579
- [type, displayName, pageAccessToken, appId, appSecret, accountSid, authToken, baseUrl, hsmFallbackLanguage, phoneNumberSid, token, channelId, channelSecret, channelAccessToken, deploymentId, serviceCode, switcherSecret, encodingAesKey, fromAddress, certificate, password, username, autoUpdateBadge, production, serverKey, senderId, tier, envName, consumerKey, consumerSecret, accessTokenKey, accessTokenSecret, accessTokenUrl, accessKey, originator, brandColor, fixedIntroPane, conversationColor, actionColor, displayStyle, buttonIconUrl, buttonWidth, buttonHeight, integrationOrder, businessName, businessIconUrl, backgroundImageUrl, originWhitelist, qrCodeUrl, hideUnsubscribeLink].hash
649
+ [type, displayName, pageAccessToken, appId, appSecret, accountSid, authToken, baseUrl, hsmFallbackLanguage, phoneNumberSid, token, channelId, channelSecret, channelAccessToken, deploymentId, serviceCode, switcherSecret, encodingAesKey, fromAddress, certificate, password, username, autoUpdateBadge, production, serverKey, senderId, tier, envName, consumerKey, consumerSecret, accessTokenKey, accessTokenSecret, accessTokenUrl, accessKey, originator, brandColor, fixedIntroPane, conversationColor, actionColor, displayStyle, buttonIconUrl, buttonWidth, buttonHeight, integrationOrder, businessName, businessIconUrl, backgroundImageUrl, originWhitelist, qrCodeUrl, hideUnsubscribeLink, signingKey, apiKey, domain, incomingAddress, apiSecret, businessId, mspId].hash
580
650
  end
581
651
 
582
652
  # 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.25
6
+ OpenAPI spec version: 5.34
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.25
6
+ OpenAPI spec version: 5.34
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.25
6
+ OpenAPI spec version: 5.34
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT
@@ -45,7 +45,7 @@ module SmoochApi
45
45
  # Array of integration IDs, order will be reflected in the Web Messenger. When set, only integrations from this list will be displayed in the Web Messenger. If unset, all integrations will be displayed (Optional) Used for *Web Messenger* integrations.
46
46
  attr_accessor :integrationOrder
47
47
 
48
- # A custom business name for the Web Messenger. (Optional) Used for *Web Messenger* integrations.
48
+ # A custom business name for the Web Messenger or Instagram Business account name. (Optional) Used for *Web Messenger* integrations.
49
49
  attr_accessor :businessName
50
50
 
51
51
  # A custom business icon url for the Web Messenger. (Optional) Used for *Web Messenger* integrations.
@@ -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.25
6
+ OpenAPI spec version: 5.34
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.25
6
+ OpenAPI spec version: 5.34
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.25
6
+ OpenAPI spec version: 5.34
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.25
6
+ OpenAPI spec version: 5.34
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.25
6
+ OpenAPI spec version: 5.34
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.2.3-SNAPSHOT