late-sdk 0.0.929 → 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: 445f8476137cbd4609f4efa6359eaf95e03c2d1f09698c904930f1f48831dc68
4
- data.tar.gz: 3ea070d2aae34cbc87110ce182db770464358194d3e8ac3d561786900a41b170
3
+ metadata.gz: 2f1020934465a40b3d3b9dc7b7b4786998d988b2d2ce98aa64ff49d9a06c12a0
4
+ data.tar.gz: 7a6497059af6badc53984f349f6d776a5f4bc69058aa6be8227a5fa852ec8a5e
5
5
  SHA512:
6
- metadata.gz: 3a3c59f41a1263bbbea77571b73d962bf24ab4c2c18163164f3cfc8fd63f88e316d6eed720cc92a1254dad63dc3d385c1dde982d4da9f135c5fbb80ff4a349c3
7
- data.tar.gz: ecb1360175edd73dc020c92df7f3346c9e778074cf1070da8c1bfd2b739eec5a60c48f712b74388d381a90378aded929338812314d04855167253902cfd69d95
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,
@@ -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
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.929'
14
+ VERSION = '0.0.930'
15
15
  end
data/openapi.yaml CHANGED
@@ -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.929
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.929.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