late-sdk 0.0.603 → 0.0.604

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9aeba17905946cf73caedb905b1502fc7b4afb5e30c525ec206f58f896d7bf78
4
- data.tar.gz: 959be2fdd4ec82f58a0476d9c17f91b77058b0575d06a41cefb5a09bad8588fd
3
+ metadata.gz: f6b3b225d9367b8ad46fd0eb49fd8e9961f7e71ea0a9db696397a9a9d3582a2f
4
+ data.tar.gz: 6b6dc3c0cb6379a37d73fdca9a11335568e48ef4a4d8904e8972d8c7402a7100
5
5
  SHA512:
6
- metadata.gz: 85d900771d6ed7aaa8e852ee8532f5550c13da223774f0bcec0a69eaf4571e8bd5efb5787bb3b19dc299fb3afefaba797305b528aaeeab1fc5bf2b026174bca4
7
- data.tar.gz: 310dd72b8ef3eca9b69f58ca8ce960f4c05a8e69a7798aad03a2ad4f6ef70777e12f2d25d5e17ee58f849a5e7da5f82e5cdac7020b9c761ab8d9d0bd58d0c524
6
+ metadata.gz: 590217bbbabea9a11648b9ffdee5a0d75eea33ee9aa3ce6de5fb69d5ecc8a08182de765b6417af66d522512e6970a0f47e3ad44697df9999ebed879e6b464b3c
7
+ data.tar.gz: 8e0b665508f3afac487770f9e33d47641840d1466684487d987d7b1a9e1124fec0dbb504bd0c0ffd3d15d2df19be7e88a8a140ad7ee80491a86b8b387f6cf175
@@ -779,7 +779,7 @@ module Zernio
779
779
  if @api_client.config.client_side_validation && opts[:'direction'] && !allowable_values.include?(opts[:'direction'])
780
780
  fail ArgumentError, "invalid value for \"direction\", must be one of #{allowable_values}"
781
781
  end
782
- allowable_values = ["facebook", "instagram", "telegram", "whatsapp", "sms"]
782
+ allowable_values = ["facebook", "instagram", "telegram", "whatsapp", "sms", "slack"]
783
783
  if @api_client.config.client_side_validation && opts[:'platform'] && !allowable_values.include?(opts[:'platform'])
784
784
  fail ArgumentError, "invalid value for \"platform\", must be one of #{allowable_values}"
785
785
  end
@@ -202,7 +202,7 @@ module Zernio
202
202
  warn '[DEPRECATED] the `valid?` method is obsolete'
203
203
  return false if @id.nil?
204
204
  return false if @platform.nil?
205
- platform_validator = EnumAttributeValidator.new('String', ["instagram", "facebook", "telegram", "whatsapp", "twitter", "reddit", "bluesky", "sms"])
205
+ platform_validator = EnumAttributeValidator.new('String', ["instagram", "facebook", "telegram", "whatsapp", "twitter", "reddit", "bluesky", "sms", "slack"])
206
206
  return false unless platform_validator.valid?(@platform)
207
207
  return false if @platform_conversation_id.nil?
208
208
  return false if @participant_name.nil?
@@ -225,7 +225,7 @@ module Zernio
225
225
  # Custom attribute writer method checking allowed values (enum).
226
226
  # @param [Object] platform Object to be assigned
227
227
  def platform=(platform)
228
- validator = EnumAttributeValidator.new('String', ["instagram", "facebook", "telegram", "whatsapp", "twitter", "reddit", "bluesky", "sms"])
228
+ validator = EnumAttributeValidator.new('String', ["instagram", "facebook", "telegram", "whatsapp", "twitter", "reddit", "bluesky", "sms", "slack"])
229
229
  unless validator.valid?(platform)
230
230
  fail ArgumentError, "invalid value for \"platform\", must be one of #{validator.allowable_values}."
231
231
  end
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.603'
14
+ VERSION = '0.0.604'
15
15
  end
data/openapi.yaml CHANGED
@@ -3522,7 +3522,7 @@ components:
3522
3522
  id: { type: string, description: Internal conversation ID }
3523
3523
  platform:
3524
3524
  type: string
3525
- enum: [instagram, facebook, telegram, whatsapp, twitter, reddit, bluesky, sms]
3525
+ enum: [instagram, facebook, telegram, whatsapp, twitter, reddit, bluesky, sms, slack]
3526
3526
  platformConversationId: { type: string }
3527
3527
  participantId: { type: string, description: "Contact's platform identifier (IGSID, PSID, wa_id, etc.)" }
3528
3528
  participantName: { type: string }
@@ -22154,7 +22154,7 @@ paths:
22154
22154
  description: Filter by profile ID
22155
22155
  - name: platform
22156
22156
  in: query
22157
- schema: { type: string, enum: [facebook, instagram, telegram, whatsapp, sms] }
22157
+ schema: { type: string, enum: [facebook, instagram, telegram, whatsapp, sms, slack] }
22158
22158
  description: Filter by platform (searchable platforms only)
22159
22159
  - name: accountId
22160
22160
  in: query
@@ -36,7 +36,7 @@ describe Zernio::WebhookPayloadConversationStartedConversation do
36
36
  describe 'test attribute "platform"' do
37
37
  it 'should work' do
38
38
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["instagram", "facebook", "telegram", "whatsapp", "twitter", "reddit", "bluesky", "sms"])
39
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["instagram", "facebook", "telegram", "whatsapp", "twitter", "reddit", "bluesky", "sms", "slack"])
40
40
  # validator.allowable_values.each do |value|
41
41
  # expect { instance.platform = value }.not_to raise_error
42
42
  # end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: late-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.603
4
+ version: 0.0.604
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -4862,7 +4862,7 @@ files:
4862
4862
  - spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
4863
4863
  - spec/models/you_tube_video_retention_response_spec.rb
4864
4864
  - spec/spec_helper.rb
4865
- - zernio-sdk-0.0.603.gem
4865
+ - zernio-sdk-0.0.604.gem
4866
4866
  - zernio-sdk.gemspec
4867
4867
  homepage: https://openapi-generator.tech
4868
4868
  licenses:
Binary file