late-sdk 0.0.794 → 0.0.795

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: f23fd787abd0dee083b713b54d89a08fd32e39106d7dc8d8aef050b5a8ece56b
4
- data.tar.gz: caa48f9d49cde1922e5a82467e7886a0b99046792531acfa7cabc3ac76283767
3
+ metadata.gz: 7365e6b4c68063c3597b09739e295c6e3298e5f13f0118be6bab70bda0ce7d6d
4
+ data.tar.gz: 2108d16c258cb44d5d278c65263b4294c4ac74f799ea882bbb7506fe9a511f25
5
5
  SHA512:
6
- metadata.gz: 141e3886875c12fb4954a26687e6daed31d6711c4aef4dcc49a27d3c4517aa1933cc60fa00d33912514d58b4565cd7b508853fd09f465b816f12647162542b0e
7
- data.tar.gz: eb195af98b3b6f166bf568ae603cfa2f6017a449ebc954538b5f74fd44a6135f35ddfe1b6e1234533bb94a344edd93bb9652eaf43c04cd3e031102d2130000c0
6
+ metadata.gz: 1d0a20f0aa6bc86db01702b491e96cba082cfab5f938187a194ec15afd41922e451a81b2ce0968c08def57279a314c36c7ee202046b84f48703972bbdeb70d1e
7
+ data.tar.gz: 940b79a884d4520553acb3a2c094c439e7de09386ab9551a1adef601510f3d4f226cfd2ab3f081cbcf5fdf1e229f6388ff2b0ecc7f6dee8551bdce38a525f68e
data/docs/ValidateApi.md CHANGED
@@ -154,7 +154,7 @@ end
154
154
 
155
155
  Validate character count
156
156
 
157
- Check weighted character count per platform and whether the text is within each platform's limit. Twitter/X uses weighted counting (URLs = 23 chars via t.co, emojis = 2 chars). All other platforms use plain character length. Returns counts and limits for all 15 supported platform variants.
157
+ Check weighted character count per platform and whether the text is within each platform's limit. Twitter/X uses weighted counting (URLs = 23 chars via t.co, emojis = 2 chars). All other platforms use plain character length. Returns counts and limits for all 15 supported platform variants. X (Twitter) returns two rows and this endpoint cannot tell you which one applies to you: it takes only `text`, so it never resolves an account. `twitter` (280) is the free tier limit. `twitterPremium` (25000) applies only when the target X account has a paid X subscription, and publishing enforces 280 instead for any post carrying a poll (this endpoint has no poll input, so the `twitterPremium` row always shows 25000). A free account trusting the `twitterPremium` row can pass validation here and still fail at publish time, where the account's real limit is enforced. To validate against the per-account limit, use `POST /v1/tools/validate/post` instead: it accepts an `accountId` per platform entry, resolves X Premium status, and checks the text against the limit publishing enforces, including the poll cap. A missing, foreign, or invalid `accountId` falls back to the conservative 280.
158
158
 
159
159
  ### Examples
160
160
 
@@ -156,7 +156,7 @@ module Zernio
156
156
  end
157
157
 
158
158
  # Validate character count
159
- # Check weighted character count per platform and whether the text is within each platform's limit. Twitter/X uses weighted counting (URLs = 23 chars via t.co, emojis = 2 chars). All other platforms use plain character length. Returns counts and limits for all 15 supported platform variants.
159
+ # Check weighted character count per platform and whether the text is within each platform's limit. Twitter/X uses weighted counting (URLs = 23 chars via t.co, emojis = 2 chars). All other platforms use plain character length. Returns counts and limits for all 15 supported platform variants. X (Twitter) returns two rows and this endpoint cannot tell you which one applies to you: it takes only `text`, so it never resolves an account. `twitter` (280) is the free tier limit. `twitterPremium` (25000) applies only when the target X account has a paid X subscription, and publishing enforces 280 instead for any post carrying a poll (this endpoint has no poll input, so the `twitterPremium` row always shows 25000). A free account trusting the `twitterPremium` row can pass validation here and still fail at publish time, where the account's real limit is enforced. To validate against the per-account limit, use `POST /v1/tools/validate/post` instead: it accepts an `accountId` per platform entry, resolves X Premium status, and checks the text against the limit publishing enforces, including the poll cap. A missing, foreign, or invalid `accountId` falls back to the conservative 280.
160
160
  # @param validate_post_length_request [ValidatePostLengthRequest]
161
161
  # @param [Hash] opts the optional parameters
162
162
  # @return [ValidatePostLength200Response]
@@ -166,7 +166,7 @@ module Zernio
166
166
  end
167
167
 
168
168
  # Validate character count
169
- # Check weighted character count per platform and whether the text is within each platform's limit. Twitter/X uses weighted counting (URLs = 23 chars via t.co, emojis = 2 chars). All other platforms use plain character length. Returns counts and limits for all 15 supported platform variants.
169
+ # Check weighted character count per platform and whether the text is within each platform's limit. Twitter/X uses weighted counting (URLs = 23 chars via t.co, emojis = 2 chars). All other platforms use plain character length. Returns counts and limits for all 15 supported platform variants. X (Twitter) returns two rows and this endpoint cannot tell you which one applies to you: it takes only `text`, so it never resolves an account. `twitter` (280) is the free tier limit. `twitterPremium` (25000) applies only when the target X account has a paid X subscription, and publishing enforces 280 instead for any post carrying a poll (this endpoint has no poll input, so the `twitterPremium` row always shows 25000). A free account trusting the `twitterPremium` row can pass validation here and still fail at publish time, where the account's real limit is enforced. To validate against the per-account limit, use `POST /v1/tools/validate/post` instead: it accepts an `accountId` per platform entry, resolves X Premium status, and checks the text against the limit publishing enforces, including the poll cap. A missing, foreign, or invalid `accountId` falls back to the conservative 280.
170
170
  # @param validate_post_length_request [ValidatePostLengthRequest]
171
171
  # @param [Hash] opts the optional parameters
172
172
  # @return [Array<(ValidatePostLength200Response, Integer, Hash)>] ValidatePostLength200Response data, response status code and response headers
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.794'
14
+ VERSION = '0.0.795'
15
15
  end
data/openapi.yaml CHANGED
@@ -10322,6 +10322,10 @@ paths:
10322
10322
  Twitter/X uses weighted counting (URLs = 23 chars via t.co, emojis = 2 chars). All other platforms use plain character length.
10323
10323
 
10324
10324
  Returns counts and limits for all 15 supported platform variants.
10325
+
10326
+ X (Twitter) returns two rows and this endpoint cannot tell you which one applies to you: it takes only `text`, so it never resolves an account. `twitter` (280) is the free tier limit. `twitterPremium` (25000) applies only when the target X account has a paid X subscription, and publishing enforces 280 instead for any post carrying a poll (this endpoint has no poll input, so the `twitterPremium` row always shows 25000). A free account trusting the `twitterPremium` row can pass validation here and still fail at publish time, where the account's real limit is enforced.
10327
+
10328
+ To validate against the per-account limit, use `POST /v1/tools/validate/post` instead: it accepts an `accountId` per platform entry, resolves X Premium status, and checks the text against the limit publishing enforces, including the poll cap. A missing, foreign, or invalid `accountId` falls back to the conservative 280.
10325
10329
  security:
10326
10330
  - bearerAuth: []
10327
10331
  requestBody:
@@ -58,7 +58,7 @@ describe 'ValidateApi' do
58
58
 
59
59
  # unit tests for validate_post_length
60
60
  # Validate character count
61
- # Check weighted character count per platform and whether the text is within each platform&#39;s limit. Twitter/X uses weighted counting (URLs &#x3D; 23 chars via t.co, emojis &#x3D; 2 chars). All other platforms use plain character length. Returns counts and limits for all 15 supported platform variants.
61
+ # Check weighted character count per platform and whether the text is within each platform&#39;s limit. Twitter/X uses weighted counting (URLs &#x3D; 23 chars via t.co, emojis &#x3D; 2 chars). All other platforms use plain character length. Returns counts and limits for all 15 supported platform variants. X (Twitter) returns two rows and this endpoint cannot tell you which one applies to you: it takes only &#x60;text&#x60;, so it never resolves an account. &#x60;twitter&#x60; (280) is the free tier limit. &#x60;twitterPremium&#x60; (25000) applies only when the target X account has a paid X subscription, and publishing enforces 280 instead for any post carrying a poll (this endpoint has no poll input, so the &#x60;twitterPremium&#x60; row always shows 25000). A free account trusting the &#x60;twitterPremium&#x60; row can pass validation here and still fail at publish time, where the account&#39;s real limit is enforced. To validate against the per-account limit, use &#x60;POST /v1/tools/validate/post&#x60; instead: it accepts an &#x60;accountId&#x60; per platform entry, resolves X Premium status, and checks the text against the limit publishing enforces, including the poll cap. A missing, foreign, or invalid &#x60;accountId&#x60; falls back to the conservative 280.
62
62
  # @param validate_post_length_request
63
63
  # @param [Hash] opts the optional parameters
64
64
  # @return [ValidatePostLength200Response]
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.794
4
+ version: 0.0.795
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -5548,7 +5548,7 @@ files:
5548
5548
  - spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
5549
5549
  - spec/models/you_tube_video_retention_response_spec.rb
5550
5550
  - spec/spec_helper.rb
5551
- - zernio-sdk-0.0.794.gem
5551
+ - zernio-sdk-0.0.795.gem
5552
5552
  - zernio-sdk.gemspec
5553
5553
  homepage: https://openapi-generator.tech
5554
5554
  licenses:
Binary file