late-sdk 0.0.940 → 0.0.942
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 +4 -4
- data/docs/CommentsApi.md +2 -2
- data/docs/WhatsAppApi.md +1 -1
- data/lib/zernio-sdk/api/comments_api.rb +3 -3
- data/lib/zernio-sdk/api/whats_app_api.rb +2 -2
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +3 -3
- data/spec/api/comments_api_spec.rb +1 -1
- data/spec/api/whats_app_api_spec.rb +1 -1
- data/zernio-sdk-0.0.942.gem +0 -0
- metadata +2 -2
- data/zernio-sdk-0.0.940.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ba18187caa8b6099fdf28c0abe6acfa0d95375d823c900b8abc1ade97734d099
|
|
4
|
+
data.tar.gz: e7a776db55e898700be2659797e3f592afd00b01cc81b7c26101dc6b68f5e8ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 25d1bfee0f1ec7ca57750f4cb1d2c1821746b89f5e4f8ef16323dfc0fa7e9284a82628958e673b8125bfbc2e0ea99992a3d2ddad9f368ce7ebd2f757bf2a5ffd
|
|
7
|
+
data.tar.gz: 757c1d2e618073bb7a4f928c4eaab259c82166c41ed2cbfcc8a8bce647bb429442ba303fe5fca3cedfd3e689ada83657b1cbb38ce62b48ba332c1162016617d1
|
data/docs/CommentsApi.md
CHANGED
|
@@ -487,7 +487,7 @@ end
|
|
|
487
487
|
api_instance = Zernio::CommentsApi.new
|
|
488
488
|
opts = {
|
|
489
489
|
profile_id: 'profile_id_example', # String | Filter by profile ID
|
|
490
|
-
platform: 'facebook', # String | Filter by platform. `metaads` is a synthetic value meaning the user's ads (boosted/dark posts) only; `facebook`/`instagram` return organic posts only.
|
|
490
|
+
platform: 'facebook', # String | Filter by platform. `metaads` is a synthetic value meaning the user's ads (boosted/dark posts) only; `facebook`/`instagram` return organic posts only. `tiktok` covers accounts connected through the TikTok Business app only; developer-app TikTok accounts are returned under `meta.accountsSkipped`.
|
|
491
491
|
min_comments: 56, # Integer | Minimum comment count
|
|
492
492
|
since: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Posts created after this date
|
|
493
493
|
sort_by: 'date', # String | Sort field
|
|
@@ -529,7 +529,7 @@ end
|
|
|
529
529
|
| Name | Type | Description | Notes |
|
|
530
530
|
| ---- | ---- | ----------- | ----- |
|
|
531
531
|
| **profile_id** | **String** | Filter by profile ID | [optional] |
|
|
532
|
-
| **platform** | **String** | Filter by platform. `metaads` is a synthetic value meaning the user's ads (boosted/dark posts) only; `facebook`/`instagram` return organic posts only. | [optional] |
|
|
532
|
+
| **platform** | **String** | Filter by platform. `metaads` is a synthetic value meaning the user's ads (boosted/dark posts) only; `facebook`/`instagram` return organic posts only. `tiktok` covers accounts connected through the TikTok Business app only; developer-app TikTok accounts are returned under `meta.accountsSkipped`. | [optional] |
|
|
533
533
|
| **min_comments** | **Integer** | Minimum comment count | [optional] |
|
|
534
534
|
| **since** | **Time** | Posts created after this date | [optional] |
|
|
535
535
|
| **sort_by** | **String** | Sort field | [optional][default to 'date'] |
|
data/docs/WhatsAppApi.md
CHANGED
|
@@ -53,7 +53,7 @@ All URIs are relative to *https://zernio.com/api*
|
|
|
53
53
|
|
|
54
54
|
Add participants
|
|
55
55
|
|
|
56
|
-
Add participants to a WhatsApp group. Maximum 8 participants per request. Not available on [Coexistence](/platforms/whatsapp/connection#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
|
|
56
|
+
Add participants to a WhatsApp group. Maximum 8 participants per request. A group holds at most 8 participants in total (a Meta limit), so later requests cannot grow a group past 8. Meta documents groups as invite-only, so people normally join through the group's invite link. Not available on [Coexistence](/platforms/whatsapp/connection#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
|
|
57
57
|
|
|
58
58
|
### Examples
|
|
59
59
|
|
|
@@ -504,7 +504,7 @@ module Zernio
|
|
|
504
504
|
# Returns posts with comment counts from all connected accounts. Aggregates data across multiple accounts. Responses are cached for up to 10 minutes, so the feed may lag new comments by that window. Do not poll this endpoint for real-time updates: subscribe to the `comment.received` webhook, which fires for every new comment across your posts and carries the post reference needed to keep this list current. For users with the Ads add-on (accounts on usage-based billing always qualify), the user's Meta ads (boosted/dark posts) are included too. There's one row per (ad, placement-with-comments): an ad that runs on both Facebook feed and Instagram feed produces up to two rows (the Page dark post and the IG media have separate comment threads), each flagged `isAd: true` with `adId` and `placement` (`id` is `{adId}:{placement}`). Use `?platform=metaads` to return *only* ad rows; passing `facebook`/`instagram` returns *organic* posts only (no ads); omitting `platform` returns both. Fetch a row's thread from GET /v1/ads/{adId}/comments?placement={placement}. Ad comment counts are read with the Marketing API token (Facebook side) or the connected Instagram account's token (Instagram side); a row whose count can't be read is omitted. Pagination walks each account's platform listing. Following `nextCursor` reaches past the first page on Facebook, Instagram, Threads, LinkedIn and YouTube, since they are the platforms that support a server-side date window; on the others the listing stops at its first page. Cursor pagination is only coherent for the default sort (`sortBy=date`, `sortOrder=desc`): with `sortOrder=asc`, or with `sortBy=comments`, the cursor filter does not match the sort order and the second page is unreliable. `nextCursor` is opaque: pass it back verbatim, never construct or parse it, its composition may change without notice. Because each page re-queries a live window, results can still shift between requests, so dedupe by `id` on the client. `commentCount` semantics differ by platform: YouTube's includes replies, Facebook's counts top-level comments only.
|
|
505
505
|
# @param [Hash] opts the optional parameters
|
|
506
506
|
# @option opts [String] :profile_id Filter by profile ID
|
|
507
|
-
# @option opts [String] :platform Filter by platform. `metaads` is a synthetic value meaning the user's ads (boosted/dark posts) only; `facebook`/`instagram` return organic posts only.
|
|
507
|
+
# @option opts [String] :platform Filter by platform. `metaads` is a synthetic value meaning the user's ads (boosted/dark posts) only; `facebook`/`instagram` return organic posts only. `tiktok` covers accounts connected through the TikTok Business app only; developer-app TikTok accounts are returned under `meta.accountsSkipped`.
|
|
508
508
|
# @option opts [Integer] :min_comments Minimum comment count
|
|
509
509
|
# @option opts [Time] :since Posts created after this date
|
|
510
510
|
# @option opts [String] :sort_by Sort field (default to 'date')
|
|
@@ -522,7 +522,7 @@ module Zernio
|
|
|
522
522
|
# Returns posts with comment counts from all connected accounts. Aggregates data across multiple accounts. Responses are cached for up to 10 minutes, so the feed may lag new comments by that window. Do not poll this endpoint for real-time updates: subscribe to the `comment.received` webhook, which fires for every new comment across your posts and carries the post reference needed to keep this list current. For users with the Ads add-on (accounts on usage-based billing always qualify), the user's Meta ads (boosted/dark posts) are included too. There's one row per (ad, placement-with-comments): an ad that runs on both Facebook feed and Instagram feed produces up to two rows (the Page dark post and the IG media have separate comment threads), each flagged `isAd: true` with `adId` and `placement` (`id` is `{adId}:{placement}`). Use `?platform=metaads` to return *only* ad rows; passing `facebook`/`instagram` returns *organic* posts only (no ads); omitting `platform` returns both. Fetch a row's thread from GET /v1/ads/{adId}/comments?placement={placement}. Ad comment counts are read with the Marketing API token (Facebook side) or the connected Instagram account's token (Instagram side); a row whose count can't be read is omitted. Pagination walks each account's platform listing. Following `nextCursor` reaches past the first page on Facebook, Instagram, Threads, LinkedIn and YouTube, since they are the platforms that support a server-side date window; on the others the listing stops at its first page. Cursor pagination is only coherent for the default sort (`sortBy=date`, `sortOrder=desc`): with `sortOrder=asc`, or with `sortBy=comments`, the cursor filter does not match the sort order and the second page is unreliable. `nextCursor` is opaque: pass it back verbatim, never construct or parse it, its composition may change without notice. Because each page re-queries a live window, results can still shift between requests, so dedupe by `id` on the client. `commentCount` semantics differ by platform: YouTube's includes replies, Facebook's counts top-level comments only.
|
|
523
523
|
# @param [Hash] opts the optional parameters
|
|
524
524
|
# @option opts [String] :profile_id Filter by profile ID
|
|
525
|
-
# @option opts [String] :platform Filter by platform. `metaads` is a synthetic value meaning the user's ads (boosted/dark posts) only; `facebook`/`instagram` return organic posts only.
|
|
525
|
+
# @option opts [String] :platform Filter by platform. `metaads` is a synthetic value meaning the user's ads (boosted/dark posts) only; `facebook`/`instagram` return organic posts only. `tiktok` covers accounts connected through the TikTok Business app only; developer-app TikTok accounts are returned under `meta.accountsSkipped`.
|
|
526
526
|
# @option opts [Integer] :min_comments Minimum comment count
|
|
527
527
|
# @option opts [Time] :since Posts created after this date
|
|
528
528
|
# @option opts [String] :sort_by Sort field (default to 'date')
|
|
@@ -535,7 +535,7 @@ module Zernio
|
|
|
535
535
|
if @api_client.config.debugging
|
|
536
536
|
@api_client.config.logger.debug 'Calling API: CommentsApi.list_inbox_comments ...'
|
|
537
537
|
end
|
|
538
|
-
allowable_values = ["facebook", "instagram", "twitter", "bluesky", "threads", "youtube", "linkedin", "reddit", "metaads"]
|
|
538
|
+
allowable_values = ["facebook", "instagram", "twitter", "bluesky", "threads", "youtube", "linkedin", "reddit", "tiktok", "metaads"]
|
|
539
539
|
if @api_client.config.client_side_validation && opts[:'platform'] && !allowable_values.include?(opts[:'platform'])
|
|
540
540
|
fail ArgumentError, "invalid value for \"platform\", must be one of #{allowable_values}"
|
|
541
541
|
end
|
|
@@ -20,7 +20,7 @@ module Zernio
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# Add participants
|
|
23
|
-
# Add participants to a WhatsApp group. Maximum 8 participants per request. Not available on [Coexistence](/platforms/whatsapp/connection#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
|
|
23
|
+
# Add participants to a WhatsApp group. Maximum 8 participants per request. A group holds at most 8 participants in total (a Meta limit), so later requests cannot grow a group past 8. Meta documents groups as invite-only, so people normally join through the group's invite link. Not available on [Coexistence](/platforms/whatsapp/connection#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
|
|
24
24
|
# @param group_id [String] Group ID
|
|
25
25
|
# @param account_id [String] WhatsApp account ID
|
|
26
26
|
# @param add_whats_app_group_participants_request [AddWhatsAppGroupParticipantsRequest]
|
|
@@ -32,7 +32,7 @@ module Zernio
|
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
# Add participants
|
|
35
|
-
# Add participants to a WhatsApp group. Maximum 8 participants per request. Not available on [Coexistence](/platforms/whatsapp/connection#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
|
|
35
|
+
# Add participants to a WhatsApp group. Maximum 8 participants per request. A group holds at most 8 participants in total (a Meta limit), so later requests cannot grow a group past 8. Meta documents groups as invite-only, so people normally join through the group's invite link. Not available on [Coexistence](/platforms/whatsapp/connection#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
|
|
36
36
|
# @param group_id [String] Group ID
|
|
37
37
|
# @param account_id [String] WhatsApp account ID
|
|
38
38
|
# @param add_whats_app_group_participants_request [AddWhatsAppGroupParticipantsRequest]
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -31327,8 +31327,8 @@ paths:
|
|
|
31327
31327
|
description: Filter by profile ID
|
|
31328
31328
|
- name: platform
|
|
31329
31329
|
in: query
|
|
31330
|
-
schema: { type: string, enum: [facebook, instagram, twitter, bluesky, threads, youtube, linkedin, reddit, metaads] }
|
|
31331
|
-
description: "Filter by platform. `metaads` is a synthetic value meaning the user's ads (boosted/dark posts) only; `facebook`/`instagram` return organic posts only."
|
|
31330
|
+
schema: { type: string, enum: [facebook, instagram, twitter, bluesky, threads, youtube, linkedin, reddit, tiktok, metaads] }
|
|
31331
|
+
description: "Filter by platform. `metaads` is a synthetic value meaning the user's ads (boosted/dark posts) only; `facebook`/`instagram` return organic posts only. `tiktok` covers accounts connected through the TikTok Business app only; developer-app TikTok accounts are returned under `meta.accountsSkipped`."
|
|
31332
31332
|
- name: minComments
|
|
31333
31333
|
in: query
|
|
31334
31334
|
schema: { type: integer, minimum: 0 }
|
|
@@ -40199,7 +40199,7 @@ paths:
|
|
|
40199
40199
|
tags: [WhatsApp]
|
|
40200
40200
|
summary: Add participants
|
|
40201
40201
|
description: |
|
|
40202
|
-
Add participants to a WhatsApp group. Maximum 8 participants per request.
|
|
40202
|
+
Add participants to a WhatsApp group. Maximum 8 participants per request. A group holds at most 8 participants in total (a Meta limit), so later requests cannot grow a group past 8. Meta documents groups as invite-only, so people normally join through the group's invite link.
|
|
40203
40203
|
|
|
40204
40204
|
Not available on [Coexistence](/platforms/whatsapp/connection#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
|
|
40205
40205
|
security:
|
|
@@ -123,7 +123,7 @@ describe 'CommentsApi' do
|
|
|
123
123
|
# Returns posts with comment counts from all connected accounts. Aggregates data across multiple accounts. Responses are cached for up to 10 minutes, so the feed may lag new comments by that window. Do not poll this endpoint for real-time updates: subscribe to the `comment.received` webhook, which fires for every new comment across your posts and carries the post reference needed to keep this list current. For users with the Ads add-on (accounts on usage-based billing always qualify), the user's Meta ads (boosted/dark posts) are included too. There's one row per (ad, placement-with-comments): an ad that runs on both Facebook feed and Instagram feed produces up to two rows (the Page dark post and the IG media have separate comment threads), each flagged `isAd: true` with `adId` and `placement` (`id` is `{adId}:{placement}`). Use `?platform=metaads` to return *only* ad rows; passing `facebook`/`instagram` returns *organic* posts only (no ads); omitting `platform` returns both. Fetch a row's thread from GET /v1/ads/{adId}/comments?placement={placement}. Ad comment counts are read with the Marketing API token (Facebook side) or the connected Instagram account's token (Instagram side); a row whose count can't be read is omitted. Pagination walks each account's platform listing. Following `nextCursor` reaches past the first page on Facebook, Instagram, Threads, LinkedIn and YouTube, since they are the platforms that support a server-side date window; on the others the listing stops at its first page. Cursor pagination is only coherent for the default sort (`sortBy=date`, `sortOrder=desc`): with `sortOrder=asc`, or with `sortBy=comments`, the cursor filter does not match the sort order and the second page is unreliable. `nextCursor` is opaque: pass it back verbatim, never construct or parse it, its composition may change without notice. Because each page re-queries a live window, results can still shift between requests, so dedupe by `id` on the client. `commentCount` semantics differ by platform: YouTube's includes replies, Facebook's counts top-level comments only.
|
|
124
124
|
# @param [Hash] opts the optional parameters
|
|
125
125
|
# @option opts [String] :profile_id Filter by profile ID
|
|
126
|
-
# @option opts [String] :platform Filter by platform. `metaads` is a synthetic value meaning the user's ads (boosted/dark posts) only; `facebook`/`instagram` return organic posts only.
|
|
126
|
+
# @option opts [String] :platform Filter by platform. `metaads` is a synthetic value meaning the user's ads (boosted/dark posts) only; `facebook`/`instagram` return organic posts only. `tiktok` covers accounts connected through the TikTok Business app only; developer-app TikTok accounts are returned under `meta.accountsSkipped`.
|
|
127
127
|
# @option opts [Integer] :min_comments Minimum comment count
|
|
128
128
|
# @option opts [Time] :since Posts created after this date
|
|
129
129
|
# @option opts [String] :sort_by Sort field
|
|
@@ -34,7 +34,7 @@ describe 'WhatsAppApi' do
|
|
|
34
34
|
|
|
35
35
|
# unit tests for add_whats_app_group_participants
|
|
36
36
|
# Add participants
|
|
37
|
-
# Add participants to a WhatsApp group. Maximum 8 participants per request. Not available on [Coexistence](/platforms/whatsapp/connection#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
|
|
37
|
+
# Add participants to a WhatsApp group. Maximum 8 participants per request. A group holds at most 8 participants in total (a Meta limit), so later requests cannot grow a group past 8. Meta documents groups as invite-only, so people normally join through the group's invite link. Not available on [Coexistence](/platforms/whatsapp/connection#whatsapp-business-app-coexistence) numbers. Requires a Cloud API-only number.
|
|
38
38
|
# @param group_id Group ID
|
|
39
39
|
# @param account_id WhatsApp account ID
|
|
40
40
|
# @param add_whats_app_group_participants_request
|
|
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.942
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -6400,7 +6400,7 @@ files:
|
|
|
6400
6400
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
6401
6401
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
6402
6402
|
- spec/spec_helper.rb
|
|
6403
|
-
- zernio-sdk-0.0.
|
|
6403
|
+
- zernio-sdk-0.0.942.gem
|
|
6404
6404
|
- zernio-sdk.gemspec
|
|
6405
6405
|
homepage: https://openapi-generator.tech
|
|
6406
6406
|
licenses:
|
data/zernio-sdk-0.0.940.gem
DELETED
|
Binary file
|