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 +4 -4
- data/lib/zernio-sdk/api/messages_api.rb +1 -1
- data/lib/zernio-sdk/models/webhook_payload_conversation_started_conversation.rb +2 -2
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +2 -2
- data/spec/models/webhook_payload_conversation_started_conversation_spec.rb +1 -1
- data/zernio-sdk-0.0.604.gem +0 -0
- metadata +2 -2
- data/zernio-sdk-0.0.603.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f6b3b225d9367b8ad46fd0eb49fd8e9961f7e71ea0a9db696397a9a9d3582a2f
|
|
4
|
+
data.tar.gz: 6b6dc3c0cb6379a37d73fdca9a11335568e48ef4a4d8904e8972d8c7402a7100
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/zernio-sdk/version.rb
CHANGED
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.
|
|
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.
|
|
4865
|
+
- zernio-sdk-0.0.604.gem
|
|
4866
4866
|
- zernio-sdk.gemspec
|
|
4867
4867
|
homepage: https://openapi-generator.tech
|
|
4868
4868
|
licenses:
|
data/zernio-sdk-0.0.603.gem
DELETED
|
Binary file
|