zernio-sdk 0.0.802 → 0.0.804

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: f936e21dd5c6a77014212469f67c007e1e0ddd9491d81ff03a23cccd38909e7a
4
- data.tar.gz: 05c24d73a74d224f023bba45481edcdd8aa2fb9994c21383f3ef4eca125a946e
3
+ metadata.gz: 5a95651099e2701934e04a1e7a1cf92e078966302868e91e65a3a8368aaa4856
4
+ data.tar.gz: e4bef56410dffb7fcfec0950e333a47c41d1dc4700cadd1f42c5cf6411c5322a
5
5
  SHA512:
6
- metadata.gz: 32ff531364e519dac0cca0c29b43f855d2a2428be868bfb6104474a2336d8be2f4ba7e7c5f8dbb8f5c99b8c4880d95c349e67ab841117ce7bc71b0e088a542da
7
- data.tar.gz: d166c39907c55d2b3cc6d2865285eb4517f7c57ad053e1c4738b8252384649b4a76013791a07f5656ac1081dc44a27452daba215dee461df85dd98c25081c4e6
6
+ metadata.gz: b51cdc20292a5514c5a79e90659bcbfaf4c03bc1d204161a4570749da90a9d643e21235bd180ff60242641b91e7ad01d9b5c9eb1f60b7e644d856d8a7c909d22
7
+ data.tar.gz: 50f1f5c439a747c0171e5055d911f4fa181956623f66a6d80699adcd90b5d639222799eb9c80786c8ae44ffcae82f7839917d7981bdc3e3094611ac279e801e6
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **title** | **String** | | [optional] |
7
+ | **title** | **String** | Stored on the post for reference/display only. This field is NOT used as the video title when publishing. To set a YouTube video title, use platformSpecificData.title on the youtube platform target (falls back to the first line of content when omitted). | [optional] |
8
8
  | **content** | **String** | Post caption/text. Optional when media is attached, all platforms have customContent, every platform entry is an X Article (platformSpecificData.article), or every platform entry is a LinkedIn text-free reshare (platformSpecificData.reshareUrl with no text). Required for other text-only posts. | [optional] |
9
9
  | **media_items** | [**Array<MediaItem>**](MediaItem.md) | | [optional] |
10
10
  | **platforms** | [**Array<CreatePostRequestPlatformsInner>**](CreatePostRequestPlatformsInner.md) | Target platforms and accounts for this post. Required for non-draft posts (returns 400 if empty). Drafts can omit platforms. | [optional] |
@@ -13,7 +13,7 @@
13
13
  | **is_draft** | **Boolean** | When true, saves the post as a draft. When none of scheduledFor, publishNow, or queuedFromProfile are provided, the post defaults to draft automatically. | [optional][default to false] |
14
14
  | **timezone** | **String** | | [optional][default to 'UTC'] |
15
15
  | **tags** | **Array<String>** | Tags/keywords. YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates auto-removed. | [optional] |
16
- | **hashtags** | **Array<String>** | | [optional] |
16
+ | **hashtags** | **Array<String>** | Stored for reference only. Hashtags are NOT automatically appended to the caption when publishing. Include hashtags directly in the content field (platforms like Instagram only support hashtags as caption text). For YouTube keywords, use the tags field instead. | [optional] |
17
17
  | **mentions** | **Array<String>** | Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, use the /v1/accounts/{accountId}/linkedin-mentions endpoint to resolve profile URLs to URNs, then embed the returned mentionFormat directly in the post content field. | [optional] |
18
18
  | **crossposting_enabled** | **Boolean** | | [optional][default to true] |
19
19
  | **metadata** | **Hash<String, Object>** | | [optional] |
data/docs/Post.md CHANGED
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **_id** | **String** | | [optional] |
8
8
  | **user_id** | [**PostUserId**](PostUserId.md) | | [optional] |
9
- | **title** | **String** | YouTube: title must be ≤ 100 characters. | [optional] |
9
+ | **title** | **String** | Stored on the post for reference/display only. This field is NOT used as the video title when publishing. To set a YouTube video title, use platformSpecificData.title on the youtube platform target (falls back to the first line of content when omitted). | [optional] |
10
10
  | **content** | **String** | | [optional] |
11
11
  | **media_items** | [**Array<MediaItem>**](MediaItem.md) | | [optional] |
12
12
  | **platforms** | [**Array<PlatformTarget>**](PlatformTarget.md) | | [optional] |
@@ -14,7 +14,7 @@
14
14
  | **timezone** | **String** | | [optional] |
15
15
  | **status** | **String** | | [optional] |
16
16
  | **tags** | **Array<String>** | YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates removed. | [optional] |
17
- | **hashtags** | **Array<String>** | | [optional] |
17
+ | **hashtags** | **Array<String>** | Stored for reference only. Hashtags are NOT automatically appended to the caption when publishing. Include hashtags directly in the content field (platforms like Instagram only support hashtags as caption text). For YouTube keywords, use the tags field instead. | [optional] |
18
18
  | **mentions** | **Array<String>** | Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, use the /v1/accounts/{accountId}/linkedin-mentions endpoint to resolve profile URLs to URNs, then embed the returned mentionFormat directly in the post content field. | [optional] |
19
19
  | **visibility** | **String** | | [optional] |
20
20
  | **metadata** | **Hash<String, Object>** | | [optional] |
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **title** | **String** | | [optional] |
7
+ | **title** | **String** | Stored on the post for reference/display only. This field is NOT used as the video title when publishing. To set a YouTube video title, use platformSpecificData.title on the youtube platform target (falls back to the first line of content when omitted). | [optional] |
8
8
  | **content** | **String** | | [optional] |
9
9
  | **media_items** | [**Array<MediaItem>**](MediaItem.md) | | [optional] |
10
10
  | **platforms** | [**Array<UpdatePostRequestPlatformsInner>**](UpdatePostRequestPlatformsInner.md) | Target platforms and accounts for this post. Each item must include platform and accountId. | [optional] |
@@ -14,7 +14,7 @@
14
14
  | **timezone** | **String** | | [optional] |
15
15
  | **visibility** | **String** | | [optional] |
16
16
  | **tags** | **Array<String>** | | [optional] |
17
- | **hashtags** | **Array<String>** | | [optional] |
17
+ | **hashtags** | **Array<String>** | Stored for reference only. Hashtags are NOT automatically appended to the caption when publishing. Include hashtags directly in the content field (platforms like Instagram only support hashtags as caption text). For YouTube keywords, use the tags field instead. | [optional] |
18
18
  | **mentions** | **Array<String>** | | [optional] |
19
19
  | **crossposting_enabled** | **Boolean** | | [optional] |
20
20
  | **metadata** | **Hash<String, Object>** | | [optional] |
@@ -1491,7 +1491,7 @@ nil (empty response body)
1491
1491
 
1492
1492
  External post deleted event
1493
1493
 
1494
- Fired when a tracked native post is detected as removed from the platform. `post.deletedAt` carries the detection time. Coverage is bounded to the most recent posts the platform listing returns.
1494
+ Fired when a tracked native post is detected as removed from the platform. `post.deletedAt` carries the detection time. Coverage is bounded to the most recent posts the platform listing returns. Detection is a diff against the posts a prior sync already indexed, so an account for which no post has ever been indexed can never emit this event, no matter how the subscription is configured.
1495
1495
 
1496
1496
  ### Examples
1497
1497
 
@@ -1763,7 +1763,7 @@ nil (empty response body)
1763
1763
 
1764
1764
  Post platform deleted event
1765
1765
 
1766
- Fired when Zernio's background sync detects that a platform target published through Zernio was later deleted on the platform (e.g. the user deleted the Instagram post natively). Detection is poll-driven (~hourly), not real-time, and fires once per platform target. `platform.deletedAt` carries the detection time. Detection is listing-based: a false positive self-heals in Zernio's data when the post reappears, but the event is not retracted. Coverage is bounded to the posts the platform listing returns.
1766
+ Fired when Zernio's background sync detects that a platform target published through Zernio was later deleted on the platform (e.g. the user deleted the Instagram post natively). Detection is poll-driven (~hourly), not real-time, and fires once per platform target. `platform.deletedAt` carries the detection time. Detection is listing-based: a false positive self-heals in Zernio's data when the post reappears, but the event is not retracted. Coverage is bounded to the posts the platform listing returns. Detection is a diff against the posts a prior sync already indexed, so an account for which no post has ever been indexed can never emit this event, no matter how the subscription is configured.
1767
1767
 
1768
1768
  ### Examples
1769
1769
 
@@ -1406,7 +1406,7 @@ module Zernio
1406
1406
  end
1407
1407
 
1408
1408
  # External post deleted event
1409
- # Fired when a tracked native post is detected as removed from the platform. `post.deletedAt` carries the detection time. Coverage is bounded to the most recent posts the platform listing returns.
1409
+ # Fired when a tracked native post is detected as removed from the platform. `post.deletedAt` carries the detection time. Coverage is bounded to the most recent posts the platform listing returns. Detection is a diff against the posts a prior sync already indexed, so an account for which no post has ever been indexed can never emit this event, no matter how the subscription is configured.
1410
1410
  # @param webhook_payload_external_post [WebhookPayloadExternalPost]
1411
1411
  # @param [Hash] opts the optional parameters
1412
1412
  # @return [nil]
@@ -1416,7 +1416,7 @@ module Zernio
1416
1416
  end
1417
1417
 
1418
1418
  # External post deleted event
1419
- # Fired when a tracked native post is detected as removed from the platform. `post.deletedAt` carries the detection time. Coverage is bounded to the most recent posts the platform listing returns.
1419
+ # Fired when a tracked native post is detected as removed from the platform. `post.deletedAt` carries the detection time. Coverage is bounded to the most recent posts the platform listing returns. Detection is a diff against the posts a prior sync already indexed, so an account for which no post has ever been indexed can never emit this event, no matter how the subscription is configured.
1420
1420
  # @param webhook_payload_external_post [WebhookPayloadExternalPost]
1421
1421
  # @param [Hash] opts the optional parameters
1422
1422
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
@@ -1670,7 +1670,7 @@ module Zernio
1670
1670
  end
1671
1671
 
1672
1672
  # Post platform deleted event
1673
- # Fired when Zernio's background sync detects that a platform target published through Zernio was later deleted on the platform (e.g. the user deleted the Instagram post natively). Detection is poll-driven (~hourly), not real-time, and fires once per platform target. `platform.deletedAt` carries the detection time. Detection is listing-based: a false positive self-heals in Zernio's data when the post reappears, but the event is not retracted. Coverage is bounded to the posts the platform listing returns.
1673
+ # Fired when Zernio's background sync detects that a platform target published through Zernio was later deleted on the platform (e.g. the user deleted the Instagram post natively). Detection is poll-driven (~hourly), not real-time, and fires once per platform target. `platform.deletedAt` carries the detection time. Detection is listing-based: a false positive self-heals in Zernio's data when the post reappears, but the event is not retracted. Coverage is bounded to the posts the platform listing returns. Detection is a diff against the posts a prior sync already indexed, so an account for which no post has ever been indexed can never emit this event, no matter how the subscription is configured.
1674
1674
  # @param webhook_payload_post_platform [WebhookPayloadPostPlatform]
1675
1675
  # @param [Hash] opts the optional parameters
1676
1676
  # @return [nil]
@@ -1680,7 +1680,7 @@ module Zernio
1680
1680
  end
1681
1681
 
1682
1682
  # Post platform deleted event
1683
- # Fired when Zernio&#39;s background sync detects that a platform target published through Zernio was later deleted on the platform (e.g. the user deleted the Instagram post natively). Detection is poll-driven (~hourly), not real-time, and fires once per platform target. &#x60;platform.deletedAt&#x60; carries the detection time. Detection is listing-based: a false positive self-heals in Zernio&#39;s data when the post reappears, but the event is not retracted. Coverage is bounded to the posts the platform listing returns.
1683
+ # Fired when Zernio&#39;s background sync detects that a platform target published through Zernio was later deleted on the platform (e.g. the user deleted the Instagram post natively). Detection is poll-driven (~hourly), not real-time, and fires once per platform target. &#x60;platform.deletedAt&#x60; carries the detection time. Detection is listing-based: a false positive self-heals in Zernio&#39;s data when the post reappears, but the event is not retracted. Coverage is bounded to the posts the platform listing returns. Detection is a diff against the posts a prior sync already indexed, so an account for which no post has ever been indexed can never emit this event, no matter how the subscription is configured.
1684
1684
  # @param webhook_payload_post_platform [WebhookPayloadPostPlatform]
1685
1685
  # @param [Hash] opts the optional parameters
1686
1686
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
@@ -15,6 +15,7 @@ require 'time'
15
15
 
16
16
  module Zernio
17
17
  class CreatePostRequest < ApiModelBase
18
+ # Stored on the post for reference/display only. This field is NOT used as the video title when publishing. To set a YouTube video title, use platformSpecificData.title on the youtube platform target (falls back to the first line of content when omitted).
18
19
  attr_accessor :title
19
20
 
20
21
  # Post caption/text. Optional when media is attached, all platforms have customContent, every platform entry is an X Article (platformSpecificData.article), or every platform entry is a LinkedIn text-free reshare (platformSpecificData.reshareUrl with no text). Required for other text-only posts.
@@ -37,6 +38,7 @@ module Zernio
37
38
  # Tags/keywords. YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates auto-removed.
38
39
  attr_accessor :tags
39
40
 
41
+ # Stored for reference only. Hashtags are NOT automatically appended to the caption when publishing. Include hashtags directly in the content field (platforms like Instagram only support hashtags as caption text). For YouTube keywords, use the tags field instead.
40
42
  attr_accessor :hashtags
41
43
 
42
44
  # Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, use the /v1/accounts/{accountId}/linkedin-mentions endpoint to resolve profile URLs to URNs, then embed the returned mentionFormat directly in the post content field.
@@ -19,7 +19,7 @@ module Zernio
19
19
 
20
20
  attr_accessor :user_id
21
21
 
22
- # YouTube: title must be ≤ 100 characters.
22
+ # Stored on the post for reference/display only. This field is NOT used as the video title when publishing. To set a YouTube video title, use platformSpecificData.title on the youtube platform target (falls back to the first line of content when omitted).
23
23
  attr_accessor :title
24
24
 
25
25
  attr_accessor :content
@@ -37,6 +37,7 @@ module Zernio
37
37
  # YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates removed.
38
38
  attr_accessor :tags
39
39
 
40
+ # Stored for reference only. Hashtags are NOT automatically appended to the caption when publishing. Include hashtags directly in the content field (platforms like Instagram only support hashtags as caption text). For YouTube keywords, use the tags field instead.
40
41
  attr_accessor :hashtags
41
42
 
42
43
  # Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, use the /v1/accounts/{accountId}/linkedin-mentions endpoint to resolve profile URLs to URNs, then embed the returned mentionFormat directly in the post content field.
@@ -15,6 +15,7 @@ require 'time'
15
15
 
16
16
  module Zernio
17
17
  class UpdatePostRequest < ApiModelBase
18
+ # Stored on the post for reference/display only. This field is NOT used as the video title when publishing. To set a YouTube video title, use platformSpecificData.title on the youtube platform target (falls back to the first line of content when omitted).
18
19
  attr_accessor :title
19
20
 
20
21
  attr_accessor :content
@@ -37,6 +38,7 @@ module Zernio
37
38
 
38
39
  attr_accessor :tags
39
40
 
41
+ # Stored for reference only. Hashtags are NOT automatically appended to the caption when publishing. Include hashtags directly in the content field (platforms like Instagram only support hashtags as caption text). For YouTube keywords, use the tags field instead.
40
42
  attr_accessor :hashtags
41
43
 
42
44
  attr_accessor :mentions
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.802'
14
+ VERSION = '0.0.804'
15
15
  end
data/openapi.yaml CHANGED
@@ -155,7 +155,7 @@ x-documentation:
155
155
  - `post.tiktok.url_resolved` - A published TikTok post's public URL became available. TikTok exposes the numeric video id asynchronously, so `post.published` / `post.platform.published` can carry an empty `publishedUrl` for TikTok; this event delivers the URL once resolved (at most once per platform target). Never fires for drafts or private posts, which have no public URL.
156
156
  - `post.external.created` - A native post authored outside Zernio (e.g. a Google Business Profile localPost created in the Google UI) was detected by our sync for the first time. Poll-driven (~hourly), not real-time. Payload carries `post.source: "external"`.
157
157
  - `post.external.updated` - A tracked native post's text or media changed on the platform. Edits are detected by comparing text/media structure and (where the platform exposes it) the platform's own edit timestamp; media-URL-only refreshes do not fire this.
158
- - `post.external.deleted` - A tracked native post was detected as removed from the platform. `post.deletedAt` carries the detection time. Coverage is bounded to the most recent posts the platform listing returns.
158
+ - `post.external.deleted` - A tracked native post was detected as removed from the platform. `post.deletedAt` carries the detection time. Coverage is bounded to the most recent posts the platform listing returns, and detection is a diff against posts a prior sync already indexed, so an account for which no post has ever been indexed never emits it.
159
159
  - `account.connected` - Social account connected
160
160
  - `account.disconnected` - Social account disconnected (token expired)
161
161
  - `account.ads.initial_sync_completed` - Initial ads sync (discovery + 90-day backfill) completed for an ads-enabled account
@@ -5030,8 +5030,7 @@ components:
5030
5030
  - $ref: '#/components/schemas/User'
5031
5031
  title:
5032
5032
  type: string
5033
- description: |
5034
- YouTube: title must be ≤ 100 characters.
5033
+ description: "Stored on the post for reference/display only. This field is NOT used as the video title when publishing. To set a YouTube video title, use platformSpecificData.title on the youtube platform target (falls back to the first line of content when omitted)."
5035
5034
  content: { type: string }
5036
5035
  mediaItems:
5037
5036
  type: array
@@ -5048,6 +5047,7 @@ components:
5048
5047
  items: { type: string }
5049
5048
  hashtags:
5050
5049
  type: array
5050
+ description: "Stored for reference only. Hashtags are NOT automatically appended to the caption when publishing. Include hashtags directly in the content field (platforms like Instagram only support hashtags as caption text). For YouTube keywords, use the tags field instead."
5051
5051
  items: { type: string }
5052
5052
  mentions:
5053
5053
  type: array
@@ -9244,7 +9244,10 @@ webhooks:
9244
9244
  target. `platform.deletedAt` carries the detection time. Detection
9245
9245
  is listing-based: a false positive self-heals in Zernio's data when
9246
9246
  the post reappears, but the event is not retracted. Coverage is
9247
- bounded to the posts the platform listing returns.
9247
+ bounded to the posts the platform listing returns. Detection is a diff
9248
+ against the posts a prior sync already indexed, so an account for which no
9249
+ post has ever been indexed can never emit this event, no matter how the
9250
+ subscription is configured.
9248
9251
  tags: [Webhook Events]
9249
9252
  requestBody:
9250
9253
  required: true
@@ -9692,7 +9695,10 @@ webhooks:
9692
9695
  description: |
9693
9696
  Fired when a tracked native post is detected as removed from the platform.
9694
9697
  `post.deletedAt` carries the detection time. Coverage is bounded to the
9695
- most recent posts the platform listing returns.
9698
+ most recent posts the platform listing returns. Detection is a diff against
9699
+ the posts a prior sync already indexed, so an account for which no post has
9700
+ ever been indexed can never emit this event, no matter how the subscription
9701
+ is configured.
9696
9702
  tags: [Webhook Events]
9697
9703
  requestBody:
9698
9704
  required: true
@@ -14459,7 +14465,9 @@ paths:
14459
14465
  schema:
14460
14466
  type: object
14461
14467
  properties:
14462
- title: { type: string }
14468
+ title:
14469
+ type: string
14470
+ description: "Stored on the post for reference/display only. This field is NOT used as the video title when publishing. To set a YouTube video title, use platformSpecificData.title on the youtube platform target (falls back to the first line of content when omitted)."
14463
14471
  content:
14464
14472
  type: string
14465
14473
  description: 'Post caption/text. Optional when media is attached, all platforms have customContent, every platform entry is an X Article (platformSpecificData.article), or every platform entry is a LinkedIn text-free reshare (platformSpecificData.reshareUrl with no text). Required for other text-only posts.'
@@ -14515,6 +14523,7 @@ paths:
14515
14523
  items: { type: string }
14516
14524
  hashtags:
14517
14525
  type: array
14526
+ description: "Stored for reference only. Hashtags are NOT automatically appended to the caption when publishing. Include hashtags directly in the content field (platforms like Instagram only support hashtags as caption text). For YouTube keywords, use the tags field instead."
14518
14527
  items: { type: string }
14519
14528
  mentions:
14520
14529
  type: array
@@ -15157,7 +15166,9 @@ paths:
15157
15166
  schema:
15158
15167
  type: object
15159
15168
  properties:
15160
- title: { type: string }
15169
+ title:
15170
+ type: string
15171
+ description: "Stored on the post for reference/display only. This field is NOT used as the video title when publishing. To set a YouTube video title, use platformSpecificData.title on the youtube platform target (falls back to the first line of content when omitted)."
15161
15172
  content: { type: string }
15162
15173
  mediaItems:
15163
15174
  type: array
@@ -15197,6 +15208,7 @@ paths:
15197
15208
  items: { type: string }
15198
15209
  hashtags:
15199
15210
  type: array
15211
+ description: "Stored for reference only. Hashtags are NOT automatically appended to the caption when publishing. Include hashtags directly in the content field (platforms like Instagram only support hashtags as caption text). For YouTube keywords, use the tags field instead."
15200
15212
  items: { type: string }
15201
15213
  mentions:
15202
15214
  type: array
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zernio-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.802
4
+ version: 0.0.804
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator