late-sdk 0.0.610 → 0.0.612
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9e88618696466e02fe43e81909389d117f6c87db76b2ed75915a848c48d15f64
|
|
4
|
+
data.tar.gz: 41972a9cb29198c73435447d8d35573ea3e00b26b4054a99e9f0b4d4482b3661
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9d02da9c286e40e22bf756774aba2c2ce2e0db5ae3f372b10b2a315dd53b3c6d17254285bb562ca1c05e8cf69dc043766b56b1fc867799f5cfeec8716903d97f
|
|
7
|
+
data.tar.gz: 1083d2be9766f5c3e4bd8734e4d5e9407626eaa887859ce92393e9135a828fd67188641b3e18815b9c146c736ce44bbc7b30f12f8fa91c67caa57f7a3aad9c84
|
|
@@ -135,7 +135,7 @@ module Zernio
|
|
|
135
135
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
136
136
|
return false if @filename.nil?
|
|
137
137
|
return false if @content_type.nil?
|
|
138
|
-
content_type_validator = EnumAttributeValidator.new('String', ["image/jpeg", "image/jpg", "image/png", "image/webp", "image/gif", "video/mp4", "video/mpeg", "video/quicktime", "video/avi", "video/x-msvideo", "video/webm", "video/x-m4v", "application/pdf"])
|
|
138
|
+
content_type_validator = EnumAttributeValidator.new('String', ["image/jpeg", "image/jpg", "image/png", "image/webp", "image/gif", "video/mp4", "video/mpeg", "video/quicktime", "video/avi", "video/x-msvideo", "video/webm", "video/x-m4v", "application/pdf", "audio/mpeg", "audio/mp4", "audio/aac", "audio/ogg", "audio/wav", "audio/webm", "audio/x-m4a"])
|
|
139
139
|
return false unless content_type_validator.valid?(@content_type)
|
|
140
140
|
true
|
|
141
141
|
end
|
|
@@ -153,7 +153,7 @@ module Zernio
|
|
|
153
153
|
# Custom attribute writer method checking allowed values (enum).
|
|
154
154
|
# @param [Object] content_type Object to be assigned
|
|
155
155
|
def content_type=(content_type)
|
|
156
|
-
validator = EnumAttributeValidator.new('String', ["image/jpeg", "image/jpg", "image/png", "image/webp", "image/gif", "video/mp4", "video/mpeg", "video/quicktime", "video/avi", "video/x-msvideo", "video/webm", "video/x-m4v", "application/pdf"])
|
|
156
|
+
validator = EnumAttributeValidator.new('String', ["image/jpeg", "image/jpg", "image/png", "image/webp", "image/gif", "video/mp4", "video/mpeg", "video/quicktime", "video/avi", "video/x-msvideo", "video/webm", "video/x-m4v", "application/pdf", "audio/mpeg", "audio/mp4", "audio/aac", "audio/ogg", "audio/wav", "audio/webm", "audio/x-m4a"])
|
|
157
157
|
unless validator.valid?(content_type)
|
|
158
158
|
fail ArgumentError, "invalid value for \"content_type\", must be one of #{validator.allowable_values}."
|
|
159
159
|
end
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -15,10 +15,10 @@ info:
|
|
|
15
15
|
url: https://zernio.com/icon.png?v=3
|
|
16
16
|
x-long-description: |
|
|
17
17
|
Zernio is the social media API that replaces 16 integrations. Schedule posts, retrieve analytics,
|
|
18
|
-
manage DMs, comments, and reviews across Twitter/X, Instagram,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
manage DMs, comments, and reviews across Twitter/X, Instagram, TikTok, LinkedIn, Facebook,
|
|
19
|
+
YouTube, Threads, Reddit, Pinterest, Bluesky, Telegram, Google Business, Snapchat, Discord,
|
|
20
|
+
and Slack, all from a single REST API. Run paid ads on Meta (Facebook + Instagram), Google, TikTok,
|
|
21
|
+
LinkedIn, Pinterest, X, and OpenAI from the same account.
|
|
22
22
|
|
|
23
23
|
Key features: Unified posting to 16 platforms, ads management on 7 ad networks (via /v1/ads), aggregated analytics, unified inbox (DMs, comments, reviews), webhooks, OAuth connect, queue scheduling, and white-label support for agencies managing unlimited accounts.
|
|
24
24
|
|
|
@@ -11417,6 +11417,13 @@ paths:
|
|
|
11417
11417
|
- video/webm
|
|
11418
11418
|
- video/x-m4v
|
|
11419
11419
|
- application/pdf
|
|
11420
|
+
- audio/mpeg
|
|
11421
|
+
- audio/mp4
|
|
11422
|
+
- audio/aac
|
|
11423
|
+
- audio/ogg
|
|
11424
|
+
- audio/wav
|
|
11425
|
+
- audio/webm
|
|
11426
|
+
- audio/x-m4a
|
|
11420
11427
|
example: "video/mp4"
|
|
11421
11428
|
size:
|
|
11422
11429
|
type: integer
|
|
@@ -36,7 +36,7 @@ describe Zernio::GetMediaPresignedUrlRequest do
|
|
|
36
36
|
describe 'test attribute "content_type"' 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', ["image/jpeg", "image/jpg", "image/png", "image/webp", "image/gif", "video/mp4", "video/mpeg", "video/quicktime", "video/avi", "video/x-msvideo", "video/webm", "video/x-m4v", "application/pdf"])
|
|
39
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["image/jpeg", "image/jpg", "image/png", "image/webp", "image/gif", "video/mp4", "video/mpeg", "video/quicktime", "video/avi", "video/x-msvideo", "video/webm", "video/x-m4v", "application/pdf", "audio/mpeg", "audio/mp4", "audio/aac", "audio/ogg", "audio/wav", "audio/webm", "audio/x-m4a"])
|
|
40
40
|
# validator.allowable_values.each do |value|
|
|
41
41
|
# expect { instance.content_type = 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.612
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -4874,7 +4874,7 @@ files:
|
|
|
4874
4874
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
4875
4875
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
4876
4876
|
- spec/spec_helper.rb
|
|
4877
|
-
- zernio-sdk-0.0.
|
|
4877
|
+
- zernio-sdk-0.0.612.gem
|
|
4878
4878
|
- zernio-sdk.gemspec
|
|
4879
4879
|
homepage: https://openapi-generator.tech
|
|
4880
4880
|
licenses:
|
data/zernio-sdk-0.0.610.gem
DELETED
|
Binary file
|