late-sdk 0.0.928 → 0.0.930

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: 53ab0fac247a957ef6103e9d276f05e0eb5d452a0497940d29ce9d7d7be9f8a6
4
- data.tar.gz: a16380b5ddfdae855972e4d9948f43bbdd2f527bb19d2ff6e034c86dbf2ccda7
3
+ metadata.gz: 2f1020934465a40b3d3b9dc7b7b4786998d988b2d2ce98aa64ff49d9a06c12a0
4
+ data.tar.gz: 7a6497059af6badc53984f349f6d776a5f4bc69058aa6be8227a5fa852ec8a5e
5
5
  SHA512:
6
- metadata.gz: 70f7af7d25c30b35fe3ccc84770ee4f848078ef7658955ab573f63aac5b7b31ad04efc7fabc2c4b0108ff4f935fc0deb582b455143799b68e93c5dd34de1e347
7
- data.tar.gz: 5dcc078e16a7d9d62a5cda5be6d21a1d6df662f1c110b3a02312594b59142975a1c16e9f04d9d1863154b04dabf0d2de050aab6b902d9e6fbe41942f2a38abd2
6
+ metadata.gz: 50aca6aa491c7549eae8db4eb5891915843056cd864a3f476e53417157d35e6f494a23c3ba781753ce5144012d597956c11aa0fdb118fcab94397cd144df4075
7
+ data.tar.gz: ed3b210b3ac2c239d357afaee95d0157a75d1c19405ad873d85015087635ff8179445e1dedd30ef00197a0b68f9002088369fb279bbf47d701fc01bd833e1035
@@ -15,6 +15,7 @@
15
15
  | **platform** | **String** | | [optional] |
16
16
  | **platform_post_url** | **String** | | [optional] |
17
17
  | **is_external** | **Boolean** | | [optional] |
18
+ | **is_ad** | **Boolean** | True when this post's metrics include paid delivery, so organic reporting should exclude it. Set for LinkedIn dark posts and for TikTok posts that one of your TikTok ads promotes (Spark / boosted). TikTok exposes no ad flag of its own, so a video created by an uploaded-asset (non-Spark) TikTok ad is posted to the profile with a fresh organic id and cannot be detected: those still report as false. | [optional] |
18
19
  | **profile_id** | **String** | | [optional] |
19
20
  | **thumbnail_url** | **String** | | [optional] |
20
21
  | **media_type** | **String** | | [optional] |
@@ -41,6 +42,7 @@ instance = Zernio::AnalyticsListResponsePostsInner.new(
41
42
  platform: null,
42
43
  platform_post_url: null,
43
44
  is_external: null,
45
+ is_ad: null,
44
46
  profile_id: null,
45
47
  thumbnail_url: null,
46
48
  media_type: null,
@@ -16,11 +16,11 @@
16
16
  | **express_consent_given** | **Boolean** | User has given express consent for posting | [optional] |
17
17
  | **media_type** | **String** | Optional override. Defaults based on provided media items. | [optional] |
18
18
  | **video_cover_timestamp_ms** | **Integer** | Optional for video posts. Timestamp in milliseconds to select which frame to use as thumbnail (defaults to 1000ms/1 second). Ignored when videoCoverImageUrl is provided. | [optional] |
19
- | **video_cover_image_url** | **String** | Optional for video posts. URL of a custom thumbnail image (JPG, PNG, or WebP, max 20MB). The image is stitched as a single frame at the start of the video and used as the cover. Overrides videoCoverTimestampMs when provided. | [optional] |
19
+ | **video_cover_image_url** | **String** | Optional for video posts. URL of a custom thumbnail image (JPG, PNG, or WebP, max 20MB). The image is stitched as a single frame at the start of the video and used as the cover. Accounts connected through the TikTok for Business app instead pass the URL to TikTok as the cover directly, with no stitching, and the URL must resolve on a domain we have verified with TikTok. Overrides videoCoverTimestampMs when provided. | [optional] |
20
20
  | **photo_cover_index** | **Integer** | Optional for photo carousels. Index of image to use as cover, 0-based (defaults to 0/first image). | [optional] |
21
21
  | **auto_add_music** | **Boolean** | When true, TikTok may add recommended music (photos only) | [optional] |
22
- | **video_made_with_ai** | **Boolean** | Set true to disclose AI-generated content | [optional] |
23
- | **description** | **String** | Optional long-form description for photo posts (max 4000 chars). Recommended when content exceeds 90 chars, as photo titles are auto-truncated. | [optional] |
22
+ | **video_made_with_ai** | **Boolean** | Set true to disclose AI-generated content. Accounts connected through the TikTok for Business app carry the disclosure on video posts only: the business photo endpoint has no AI disclosure field, so true on a direct photo post is rejected at creation rather than published undisclosed. Send draft true to publish such a photo post and set the disclosure in the TikTok app. | [optional] |
23
+ | **description** | **String** | Optional long-form caption for photo posts (max 4000 chars). Recommended when content exceeds 90 chars, as photo titles are auto-truncated. Falls back to the post content when omitted. | [optional] |
24
24
 
25
25
  ## Example
26
26
 
@@ -38,6 +38,9 @@ module Zernio
38
38
 
39
39
  attr_accessor :is_external
40
40
 
41
+ # True when this post's metrics include paid delivery, so organic reporting should exclude it. Set for LinkedIn dark posts and for TikTok posts that one of your TikTok ads promotes (Spark / boosted). TikTok exposes no ad flag of its own, so a video created by an uploaded-asset (non-Spark) TikTok ad is posted to the profile with a fresh organic id and cannot be detected: those still report as false.
42
+ attr_accessor :is_ad
43
+
41
44
  attr_accessor :profile_id
42
45
 
43
46
  attr_accessor :thumbnail_url
@@ -95,6 +98,7 @@ module Zernio
95
98
  :'platform' => :'platform',
96
99
  :'platform_post_url' => :'platformPostUrl',
97
100
  :'is_external' => :'isExternal',
101
+ :'is_ad' => :'isAd',
98
102
  :'profile_id' => :'profileId',
99
103
  :'thumbnail_url' => :'thumbnailUrl',
100
104
  :'media_type' => :'mediaType',
@@ -130,6 +134,7 @@ module Zernio
130
134
  :'platform' => :'String',
131
135
  :'platform_post_url' => :'String',
132
136
  :'is_external' => :'Boolean',
137
+ :'is_ad' => :'Boolean',
133
138
  :'profile_id' => :'String',
134
139
  :'thumbnail_url' => :'String',
135
140
  :'media_type' => :'String',
@@ -211,6 +216,10 @@ module Zernio
211
216
  self.is_external = attributes[:'is_external']
212
217
  end
213
218
 
219
+ if attributes.key?(:'is_ad')
220
+ self.is_ad = attributes[:'is_ad']
221
+ end
222
+
214
223
  if attributes.key?(:'profile_id')
215
224
  self.profile_id = attributes[:'profile_id']
216
225
  end
@@ -289,6 +298,7 @@ module Zernio
289
298
  platform == o.platform &&
290
299
  platform_post_url == o.platform_post_url &&
291
300
  is_external == o.is_external &&
301
+ is_ad == o.is_ad &&
292
302
  profile_id == o.profile_id &&
293
303
  thumbnail_url == o.thumbnail_url &&
294
304
  media_type == o.media_type &&
@@ -308,7 +318,7 @@ module Zernio
308
318
  # Calculates hash code according to all attributes.
309
319
  # @return [Integer] Hash code
310
320
  def hash
311
- [_id, late_post_id, content, scheduled_for, published_at, status, analytics, platforms, platform, platform_post_url, is_external, profile_id, thumbnail_url, media_type, media_items, media_product_type, is_ai_generated, is_shared_to_feed, media_audio_type].hash
321
+ [_id, late_post_id, content, scheduled_for, published_at, status, analytics, platforms, platform, platform_post_url, is_external, is_ad, profile_id, thumbnail_url, media_type, media_items, media_product_type, is_ai_generated, is_shared_to_feed, media_audio_type].hash
312
322
  end
313
323
 
314
324
  # Builds the object from hash
@@ -52,7 +52,7 @@ module Zernio
52
52
  # Optional for video posts. Timestamp in milliseconds to select which frame to use as thumbnail (defaults to 1000ms/1 second). Ignored when videoCoverImageUrl is provided.
53
53
  attr_accessor :video_cover_timestamp_ms
54
54
 
55
- # Optional for video posts. URL of a custom thumbnail image (JPG, PNG, or WebP, max 20MB). The image is stitched as a single frame at the start of the video and used as the cover. Overrides videoCoverTimestampMs when provided.
55
+ # Optional for video posts. URL of a custom thumbnail image (JPG, PNG, or WebP, max 20MB). The image is stitched as a single frame at the start of the video and used as the cover. Accounts connected through the TikTok for Business app instead pass the URL to TikTok as the cover directly, with no stitching, and the URL must resolve on a domain we have verified with TikTok. Overrides videoCoverTimestampMs when provided.
56
56
  attr_accessor :video_cover_image_url
57
57
 
58
58
  # Optional for photo carousels. Index of image to use as cover, 0-based (defaults to 0/first image).
@@ -61,10 +61,10 @@ module Zernio
61
61
  # When true, TikTok may add recommended music (photos only)
62
62
  attr_accessor :auto_add_music
63
63
 
64
- # Set true to disclose AI-generated content
64
+ # Set true to disclose AI-generated content. Accounts connected through the TikTok for Business app carry the disclosure on video posts only: the business photo endpoint has no AI disclosure field, so true on a direct photo post is rejected at creation rather than published undisclosed. Send draft true to publish such a photo post and set the disclosure in the TikTok app.
65
65
  attr_accessor :video_made_with_ai
66
66
 
67
- # Optional long-form description for photo posts (max 4000 chars). Recommended when content exceeds 90 chars, as photo titles are auto-truncated.
67
+ # Optional long-form caption for photo posts (max 4000 chars). Recommended when content exceeds 90 chars, as photo titles are auto-truncated. Falls back to the post content when omitted.
68
68
  attr_accessor :description
69
69
 
70
70
  class EnumAttributeValidator
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.928'
14
+ VERSION = '0.0.930'
15
15
  end
data/openapi.yaml CHANGED
@@ -6813,7 +6813,7 @@ components:
6813
6813
  videoCoverImageUrl:
6814
6814
  type: string
6815
6815
  format: uri
6816
- description: Optional for video posts. URL of a custom thumbnail image (JPG, PNG, or WebP, max 20MB). The image is stitched as a single frame at the start of the video and used as the cover. Overrides videoCoverTimestampMs when provided.
6816
+ description: 'Optional for video posts. URL of a custom thumbnail image (JPG, PNG, or WebP, max 20MB). The image is stitched as a single frame at the start of the video and used as the cover. Accounts connected through the TikTok for Business app instead pass the URL to TikTok as the cover directly, with no stitching, and the URL must resolve on a domain we have verified with TikTok. Overrides videoCoverTimestampMs when provided.'
6817
6817
  photoCoverIndex:
6818
6818
  type: integer
6819
6819
  description: Optional for photo carousels. Index of image to use as cover, 0-based (defaults to 0/first image).
@@ -6823,11 +6823,11 @@ components:
6823
6823
  description: When true, TikTok may add recommended music (photos only)
6824
6824
  videoMadeWithAi:
6825
6825
  type: boolean
6826
- description: Set true to disclose AI-generated content
6826
+ description: 'Set true to disclose AI-generated content. Accounts connected through the TikTok for Business app carry the disclosure on video posts only: the business photo endpoint has no AI disclosure field, so true on a direct photo post is rejected at creation rather than published undisclosed. Send draft true to publish such a photo post and set the disclosure in the TikTok app.'
6827
6827
  description:
6828
6828
  type: string
6829
6829
  maxLength: 4000
6830
- description: Optional long-form description for photo posts (max 4000 chars). Recommended when content exceeds 90 chars, as photo titles are auto-truncated.
6830
+ description: 'Optional long-form caption for photo posts (max 4000 chars). Recommended when content exceeds 90 chars, as photo titles are auto-truncated. Falls back to the post content when omitted.'
6831
6831
 
6832
6832
  TelegramPlatformData:
6833
6833
  type: object
@@ -7900,6 +7900,14 @@ components:
7900
7900
  platform: { type: string }
7901
7901
  platformPostUrl: { type: string, format: uri }
7902
7902
  isExternal: { type: boolean }
7903
+ isAd:
7904
+ type: boolean
7905
+ description: >-
7906
+ True when this post's metrics include paid delivery, so organic reporting should
7907
+ exclude it. Set for LinkedIn dark posts and for TikTok posts that one of your
7908
+ TikTok ads promotes (Spark / boosted). TikTok exposes no ad flag of its own, so a
7909
+ video created by an uploaded-asset (non-Spark) TikTok ad is posted to the profile
7910
+ with a fresh organic id and cannot be detected: those still report as false.
7903
7911
  profileId: { type: [string, "null"] }
7904
7912
  thumbnailUrl: { type: string, format: uri }
7905
7913
  mediaType: { type: string, enum: [image, video, gif, document, carousel, text] }
@@ -93,6 +93,12 @@ describe Zernio::AnalyticsListResponsePostsInner do
93
93
  end
94
94
  end
95
95
 
96
+ describe 'test attribute "is_ad"' do
97
+ it 'should work' do
98
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
99
+ end
100
+ end
101
+
96
102
  describe 'test attribute "profile_id"' do
97
103
  it 'should work' do
98
104
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
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.928
4
+ version: 0.0.930
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -6367,7 +6367,7 @@ files:
6367
6367
  - spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
6368
6368
  - spec/models/you_tube_video_retention_response_spec.rb
6369
6369
  - spec/spec_helper.rb
6370
- - zernio-sdk-0.0.928.gem
6370
+ - zernio-sdk-0.0.930.gem
6371
6371
  - zernio-sdk.gemspec
6372
6372
  homepage: https://openapi-generator.tech
6373
6373
  licenses:
Binary file