late-sdk 0.0.913 → 0.0.914

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.
@@ -62,14 +62,14 @@ describe 'CommentsApi' do
62
62
 
63
63
  # unit tests for get_inbox_post_comments
64
64
  # Get post comments
65
- # Fetch comments for a specific post. Requires accountId query parameter. On Facebook and Instagram, passing a COMMENT id as `postId` is also supported and returns that comment's replies instead of the post's top-level comments. This is not available on YouTube, where `postId` must be a video id. Responses are cached for up to 10 minutes, so a page may lag new comments by that window. Do not poll this endpoint for real-time updates: subscribe to the `comment.received` webhook, which delivers new comments as they arrive. Your own writes (creating, replying to, or deleting a comment) refresh the cache immediately.
65
+ # Fetch comments for a specific post. Requires accountId query parameter. On Facebook and Instagram, passing a COMMENT id as `postId` is also supported and returns that comment's replies instead of the post's top-level comments. This is not available on YouTube, where `postId` must be a video id. Responses are cached for up to 10 minutes, so a page may lag new comments by that window. Do not poll this endpoint for real-time updates: subscribe to the `comment.received` webhook, which delivers new comments as they arrive. Your own writes (creating, replying to, or deleting a comment) refresh the cache immediately. TikTok is served for accounts connected through the TikTok for Business app: `postId` is the TikTok video id, each top-level comment carries up to three inline replies, and `commentId` pages the full reply list of one comment. Developer-app TikTok accounts return 400 with code `PLATFORM_LIMITATION`.
66
66
  # @param post_id Zernio post ID or platform-specific post ID. Zernio IDs are auto-resolved. LinkedIn third-party posts accept full activity URN or numeric ID. On Facebook and Instagram, a comment ID is also accepted here and returns that comment's replies.
67
67
  # @param account_id
68
68
  # @param [Hash] opts the optional parameters
69
69
  # @option opts [String] :subreddit (Reddit only) Subreddit name
70
70
  # @option opts [Integer] :limit Maximum number of comments to return
71
71
  # @option opts [String] :cursor Pagination cursor, returned by a previous call as `pagination.cursor`. This is the platform's own opaque paging value passed through verbatim: never construct, decode or validate it client-side.
72
- # @option opts [String] :comment_id (Reddit only) Get replies to a specific comment
72
+ # @option opts [String] :comment_id (Reddit and TikTok only) Get replies to a specific comment
73
73
  # @return [GetInboxPostComments200Response]
74
74
  describe 'get_inbox_post_comments test' do
75
75
  it 'should work' do
@@ -79,7 +79,7 @@ describe 'CommentsApi' do
79
79
 
80
80
  # unit tests for hide_inbox_comment
81
81
  # Hide comment
82
- # Hide a comment on a post. Supported by Facebook, Instagram, Threads, and X. Hidden comments are only visible to the commenter and page admin. For X, the reply must belong to a conversation started by the authenticated user.
82
+ # Hide a comment on a post. Supported by Facebook, Instagram, Threads, X, and TikTok (accounts connected through the TikTok for Business app). Hidden comments are only visible to the commenter and page admin. For X, the reply must belong to a conversation started by the authenticated user.
83
83
  # @param post_id
84
84
  # @param comment_id
85
85
  # @param hide_inbox_comment_request
@@ -138,6 +138,20 @@ describe 'CommentsApi' do
138
138
  end
139
139
  end
140
140
 
141
+ # unit tests for pin_inbox_comment
142
+ # Pin comment
143
+ # Pin a top-level comment to the top of a post's comment section. TikTok accounts connected through the TikTok for Business app only; every other platform returns 400.
144
+ # @param post_id
145
+ # @param comment_id
146
+ # @param pin_inbox_comment_request
147
+ # @param [Hash] opts the optional parameters
148
+ # @return [PinInboxComment200Response]
149
+ describe 'pin_inbox_comment test' do
150
+ it 'should work' do
151
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
152
+ end
153
+ end
154
+
141
155
  # unit tests for reply_to_inbox_post
142
156
  # Reply to comment
143
157
  # Post a reply to a post or specific comment. Requires accountId in request body. **Idempotency:** send an `Idempotency-Key` header to make retries safe (e.g. after a client-side timeout where delivery is unknown): same key + same body replays the original response (with `Idempotent-Replayed: true`) instead of posting the comment a second time; same key + different body returns 422; a key still in flight returns 409. Keys are retained for 24 hours and are scoped to the credential and to this exact path, so reusing a key against a different postId returns 422 rather than replaying the other post's response. Only successful (2xx) responses are stored for replay. If the request throws or returns a non-2xx status the key is released, so the header protects the \"request succeeded but the response was lost\" case. After an ambiguous failure (a 5xx or a network timeout) list the post's comments before retrying with the same key, and treat an empty result as inconclusive rather than as proof nothing was posted.
@@ -182,7 +196,7 @@ describe 'CommentsApi' do
182
196
 
183
197
  # unit tests for unhide_inbox_comment
184
198
  # Unhide comment
185
- # Unhide a previously hidden comment. Supported by Facebook, Instagram, Threads, and X.
199
+ # Unhide a previously hidden comment. Supported by Facebook, Instagram, Threads, X, and TikTok (accounts connected through the TikTok for Business app).
186
200
  # @param post_id
187
201
  # @param comment_id
188
202
  # @param account_id
@@ -223,4 +237,18 @@ describe 'CommentsApi' do
223
237
  end
224
238
  end
225
239
 
240
+ # unit tests for unpin_inbox_comment
241
+ # Unpin comment
242
+ # Unpin a previously pinned comment. TikTok accounts connected through the TikTok for Business app only.
243
+ # @param post_id
244
+ # @param comment_id
245
+ # @param account_id
246
+ # @param [Hash] opts the optional parameters
247
+ # @return [PinInboxComment200Response]
248
+ describe 'unpin_inbox_comment test' do
249
+ it 'should work' do
250
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
251
+ end
252
+ end
253
+
226
254
  end
@@ -0,0 +1,54 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api Versioning and deprecation: all endpoints are versioned in the URL path (current version: /v1). Breaking changes only ship in a new path version; existing versions keep working. Deprecated operations are marked 'deprecated: true' in this spec and announced in the changelog (https://zernio.com/changelog) before removal. Errors: every 4xx/5xx response is application/json with a machine-readable 'code' and a human-readable 'error' message (see the ErrorResponse schema).
5
+
6
+ The version of the OpenAPI document: 1.0.4
7
+ Contact: support@zernio.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Zernio::PinInboxComment200Response
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zernio::PinInboxComment200Response do
21
+ #let(:instance) { Zernio::PinInboxComment200Response.new }
22
+
23
+ describe 'test an instance of PinInboxComment200Response' do
24
+ it 'should create an instance of PinInboxComment200Response' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zernio::PinInboxComment200Response)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "status"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "comment_id"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "pinned"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "platform"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ end
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api Versioning and deprecation: all endpoints are versioned in the URL path (current version: /v1). Breaking changes only ship in a new path version; existing versions keep working. Deprecated operations are marked 'deprecated: true' in this spec and announced in the changelog (https://zernio.com/changelog) before removal. Errors: every 4xx/5xx response is application/json with a machine-readable 'code' and a human-readable 'error' message (see the ErrorResponse schema).
5
+
6
+ The version of the OpenAPI document: 1.0.4
7
+ Contact: support@zernio.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Zernio::PinInboxCommentRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zernio::PinInboxCommentRequest do
21
+ #let(:instance) { Zernio::PinInboxCommentRequest.new }
22
+
23
+ describe 'test an instance of PinInboxCommentRequest' do
24
+ it 'should create an instance of PinInboxCommentRequest' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zernio::PinInboxCommentRequest)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "account_id"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ end
@@ -48,7 +48,7 @@ describe Zernio::WebhookPayloadCommentComment do
48
48
  describe 'test attribute "platform"' do
49
49
  it 'should work' do
50
50
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["instagram", "facebook", "twitter", "youtube", "linkedin", "bluesky", "reddit"])
51
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["instagram", "facebook", "twitter", "youtube", "linkedin", "bluesky", "reddit", "tiktok"])
52
52
  # validator.allowable_values.each do |value|
53
53
  # expect { instance.platform = value }.not_to raise_error
54
54
  # end
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.913
4
+ version: 0.0.914
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -1374,6 +1374,8 @@ files:
1374
1374
  - docs/PhoneNumberStockWatch.md
1375
1375
  - docs/PhoneNumbersApi.md
1376
1376
  - docs/PinDiscordMessage200Response.md
1377
+ - docs/PinInboxComment200Response.md
1378
+ - docs/PinInboxCommentRequest.md
1377
1379
  - docs/PinterestPlatformData.md
1378
1380
  - docs/PlatformAnalytics.md
1379
1381
  - docs/PlatformTarget.md
@@ -3492,6 +3494,8 @@ files:
3492
3494
  - lib/zernio-sdk/models/pending.rb
3493
3495
  - lib/zernio-sdk/models/phone_number_stock_watch.rb
3494
3496
  - lib/zernio-sdk/models/pin_discord_message200_response.rb
3497
+ - lib/zernio-sdk/models/pin_inbox_comment200_response.rb
3498
+ - lib/zernio-sdk/models/pin_inbox_comment_request.rb
3495
3499
  - lib/zernio-sdk/models/pinterest_platform_data.rb
3496
3500
  - lib/zernio-sdk/models/platform_analytics.rb
3497
3501
  - lib/zernio-sdk/models/platform_target.rb
@@ -5578,6 +5582,8 @@ files:
5578
5582
  - spec/models/pending_spec.rb
5579
5583
  - spec/models/phone_number_stock_watch_spec.rb
5580
5584
  - spec/models/pin_discord_message200_response_spec.rb
5585
+ - spec/models/pin_inbox_comment200_response_spec.rb
5586
+ - spec/models/pin_inbox_comment_request_spec.rb
5581
5587
  - spec/models/pinterest_platform_data_spec.rb
5582
5588
  - spec/models/platform_analytics_spec.rb
5583
5589
  - spec/models/platform_target_account_id_spec.rb
@@ -6331,7 +6337,7 @@ files:
6331
6337
  - spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
6332
6338
  - spec/models/you_tube_video_retention_response_spec.rb
6333
6339
  - spec/spec_helper.rb
6334
- - zernio-sdk-0.0.913.gem
6340
+ - zernio-sdk-0.0.914.gem
6335
6341
  - zernio-sdk.gemspec
6336
6342
  homepage: https://openapi-generator.tech
6337
6343
  licenses:
@@ -6438,6 +6444,7 @@ test_files:
6438
6444
  - spec/models/revoke_connected_app200_response_spec.rb
6439
6445
  - spec/models/update_ad_campaign_status200_response_spec.rb
6440
6446
  - spec/models/targeting_spec_spec.rb
6447
+ - spec/models/pin_inbox_comment200_response_spec.rb
6441
6448
  - spec/models/webhook_payload_external_post_spec.rb
6442
6449
  - spec/models/purchase_whats_app_phone_number_request_spec.rb
6443
6450
  - spec/models/search_tweets200_response_pagination_spec.rb
@@ -7569,6 +7576,7 @@ test_files:
7569
7576
  - spec/models/enroll_contacts_request_spec.rb
7570
7577
  - spec/models/create_custom_field_request_spec.rb
7571
7578
  - spec/models/get_tik_tok_creator_info200_response_commercial_content_types_inner_spec.rb
7579
+ - spec/models/pin_inbox_comment_request_spec.rb
7572
7580
  - spec/models/discord_platform_data_embeds_inner_spec.rb
7573
7581
  - spec/models/attach_campaign_assets201_response_spec.rb
7574
7582
  - spec/models/remove_bookmark200_response_spec.rb
Binary file