late-sdk 0.0.85 → 0.0.87
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/README.md +1 -0
- data/docs/PostsApi.md +3 -3
- data/docs/UpdatePostMetadata200Response.md +2 -0
- data/docs/UpdatePostMetadataRequest.md +4 -0
- data/docs/WebhookEventsApi.md +766 -0
- data/docs/WebhookPayloadAccountConnected.md +5 -3
- data/docs/WebhookPayloadAccountConnectedAccount.md +4 -4
- data/docs/WebhookPayloadAccountDisconnected.md +5 -3
- data/docs/WebhookPayloadAccountDisconnectedAccount.md +6 -6
- data/docs/WebhookPayloadComment.md +7 -5
- data/docs/WebhookPayloadCommentAccount.md +3 -3
- data/docs/WebhookPayloadCommentComment.md +9 -9
- data/docs/WebhookPayloadCommentCommentAuthor.md +1 -1
- data/docs/WebhookPayloadCommentPost.md +2 -2
- data/docs/WebhookPayloadMessage.md +7 -5
- data/docs/WebhookPayloadMessageAccount.md +3 -3
- data/docs/WebhookPayloadMessageConversation.md +3 -5
- data/docs/WebhookPayloadMessageMessage.md +10 -10
- data/docs/WebhookPayloadMessageMessageAttachmentsInner.md +2 -2
- data/docs/WebhookPayloadMessageMessageSender.md +1 -1
- data/docs/WebhookPayloadPost.md +5 -3
- data/docs/WebhookPayloadPostPost.md +5 -5
- data/docs/WebhookPayloadPostPostPlatformsInner.md +4 -2
- data/docs/WebhookPayloadTest.md +24 -0
- data/lib/late-sdk/api/posts_api.rb +4 -4
- data/lib/late-sdk/api/webhook_events_api.rb +748 -0
- data/lib/late-sdk/api/webhooks_api.rb +1 -1
- data/lib/late-sdk/models/update_post_metadata200_response.rb +11 -1
- data/lib/late-sdk/models/update_post_metadata_request.rb +21 -1
- data/lib/late-sdk/models/webhook_log.rb +2 -2
- data/lib/late-sdk/models/webhook_payload_account_connected.rb +69 -1
- data/lib/late-sdk/models/webhook_payload_account_connected_account.rb +68 -0
- data/lib/late-sdk/models/webhook_payload_account_disconnected.rb +69 -1
- data/lib/late-sdk/models/webhook_payload_account_disconnected_account.rb +92 -0
- data/lib/late-sdk/models/webhook_payload_comment.rb +103 -1
- data/lib/late-sdk/models/webhook_payload_comment_account.rb +51 -0
- data/lib/late-sdk/models/webhook_payload_comment_comment.rb +143 -0
- data/lib/late-sdk/models/webhook_payload_comment_comment_author.rb +17 -0
- data/lib/late-sdk/models/webhook_payload_comment_post.rb +34 -0
- data/lib/late-sdk/models/webhook_payload_message.rb +104 -2
- data/lib/late-sdk/models/webhook_payload_message_account.rb +51 -0
- data/lib/late-sdk/models/webhook_payload_message_conversation.rb +39 -20
- data/lib/late-sdk/models/webhook_payload_message_message.rb +154 -4
- data/lib/late-sdk/models/webhook_payload_message_message_attachments_inner.rb +34 -0
- data/lib/late-sdk/models/webhook_payload_message_message_sender.rb +17 -0
- data/lib/late-sdk/models/webhook_payload_post.rb +71 -3
- data/lib/late-sdk/models/webhook_payload_post_post.rb +85 -0
- data/lib/late-sdk/models/webhook_payload_post_post_platforms_inner.rb +44 -1
- data/lib/late-sdk/models/webhook_payload_test.rb +269 -0
- data/lib/late-sdk/version.rb +1 -1
- data/lib/late-sdk.rb +1 -0
- data/openapi.yaml +270 -29
- data/spec/api/posts_api_spec.rb +2 -2
- data/spec/models/create_webhook_settings_request_spec.rb +1 -1
- data/spec/models/update_post_metadata200_response_spec.rb +6 -0
- data/spec/models/update_post_metadata_request_spec.rb +12 -0
- data/spec/models/update_webhook_settings_request_spec.rb +1 -1
- data/spec/models/webhook_log_spec.rb +1 -1
- data/spec/models/webhook_payload_account_connected_spec.rb +6 -0
- data/spec/models/webhook_payload_account_disconnected_spec.rb +6 -0
- data/spec/models/webhook_payload_comment_spec.rb +6 -0
- data/spec/models/webhook_payload_message_conversation_spec.rb +0 -10
- data/spec/models/webhook_payload_message_message_spec.rb +2 -2
- data/spec/models/webhook_payload_message_spec.rb +6 -0
- data/spec/models/webhook_payload_post_post_platforms_inner_spec.rb +6 -0
- data/spec/models/webhook_payload_post_spec.rb +7 -1
- data/spec/models/webhook_payload_test_spec.rb +58 -0
- data/spec/models/webhook_spec.rb +1 -1
- data/zernio-sdk-0.0.87.gem +0 -0
- metadata +9 -3
- data/zernio-sdk-0.0.85.gem +0 -0
|
@@ -63,16 +63,6 @@ describe Late::WebhookPayloadMessageConversation do
|
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
describe 'test attribute "participant_verified_type"' do
|
|
67
|
-
it 'should work' do
|
|
68
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["blue", "government", "business", "none"])
|
|
70
|
-
# validator.allowable_values.each do |value|
|
|
71
|
-
# expect { instance.participant_verified_type = value }.not_to raise_error
|
|
72
|
-
# end
|
|
73
|
-
end
|
|
74
|
-
end
|
|
75
|
-
|
|
76
66
|
describe 'test attribute "status"' do
|
|
77
67
|
it 'should work' do
|
|
78
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -42,7 +42,7 @@ describe Late::WebhookPayloadMessageMessage do
|
|
|
42
42
|
describe 'test attribute "platform"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["instagram", "facebook", "telegram", "
|
|
45
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["instagram", "facebook", "telegram", "whatsapp"])
|
|
46
46
|
# validator.allowable_values.each do |value|
|
|
47
47
|
# expect { instance.platform = value }.not_to raise_error
|
|
48
48
|
# end
|
|
@@ -58,7 +58,7 @@ describe Late::WebhookPayloadMessageMessage do
|
|
|
58
58
|
describe 'test attribute "direction"' do
|
|
59
59
|
it 'should work' do
|
|
60
60
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
61
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["incoming"])
|
|
61
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["incoming", "outgoing"])
|
|
62
62
|
# validator.allowable_values.each do |value|
|
|
63
63
|
# expect { instance.direction = value }.not_to raise_error
|
|
64
64
|
# end
|
|
@@ -27,6 +27,12 @@ describe Late::WebhookPayloadMessage do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
describe 'test attribute "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
|
+
|
|
30
36
|
describe 'test attribute "event"' do
|
|
31
37
|
it 'should work' do
|
|
32
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -39,6 +39,12 @@ describe Late::WebhookPayloadPostPostPlatformsInner do
|
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
+
describe 'test attribute "platform_post_id"' 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
|
+
|
|
42
48
|
describe 'test attribute "published_url"' do
|
|
43
49
|
it 'should work' do
|
|
44
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -27,10 +27,16 @@ describe Late::WebhookPayloadPost do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
describe 'test attribute "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
|
+
|
|
30
36
|
describe 'test attribute "event"' do
|
|
31
37
|
it 'should work' do
|
|
32
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["post.scheduled", "post.published", "post.failed", "post.partial", "post.recycled"])
|
|
39
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["post.scheduled", "post.published", "post.failed", "post.partial", "post.cancelled", "post.recycled"])
|
|
34
40
|
# validator.allowable_values.each do |value|
|
|
35
41
|
# expect { instance.event = value }.not_to raise_error
|
|
36
42
|
# end
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
|
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 Late::WebhookPayloadTest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::WebhookPayloadTest do
|
|
21
|
+
#let(:instance) { Late::WebhookPayloadTest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of WebhookPayloadTest' do
|
|
24
|
+
it 'should create an instance of WebhookPayloadTest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::WebhookPayloadTest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "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
|
+
describe 'test attribute "event"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["webhook.test"])
|
|
40
|
+
# validator.allowable_values.each do |value|
|
|
41
|
+
# expect { instance.event = value }.not_to raise_error
|
|
42
|
+
# end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "message"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "timestamp"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
end
|
data/spec/models/webhook_spec.rb
CHANGED
|
@@ -54,7 +54,7 @@ describe Late::Webhook do
|
|
|
54
54
|
describe 'test attribute "events"' do
|
|
55
55
|
it 'should work' do
|
|
56
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["post.scheduled", "post.published", "post.failed", "post.partial", "post.recycled", "account.connected", "account.disconnected", "message.received", "comment.received"])
|
|
57
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["post.scheduled", "post.published", "post.failed", "post.partial", "post.cancelled", "post.recycled", "account.connected", "account.disconnected", "message.received", "comment.received"])
|
|
58
58
|
# validator.allowable_values.each do |value|
|
|
59
59
|
# expect { instance.events = value }.not_to raise_error
|
|
60
60
|
# end
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.87
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -740,6 +740,7 @@ files:
|
|
|
740
740
|
- docs/ValidateSubreddit200ResponseOneOf1.md
|
|
741
741
|
- docs/ValidateSubreddit200ResponseOneOfSubreddit.md
|
|
742
742
|
- docs/Webhook.md
|
|
743
|
+
- docs/WebhookEventsApi.md
|
|
743
744
|
- docs/WebhookLog.md
|
|
744
745
|
- docs/WebhookPayloadAccountConnected.md
|
|
745
746
|
- docs/WebhookPayloadAccountConnectedAccount.md
|
|
@@ -761,6 +762,7 @@ files:
|
|
|
761
762
|
- docs/WebhookPayloadPost.md
|
|
762
763
|
- docs/WebhookPayloadPostPost.md
|
|
763
764
|
- docs/WebhookPayloadPostPostPlatformsInner.md
|
|
765
|
+
- docs/WebhookPayloadTest.md
|
|
764
766
|
- docs/WebhooksApi.md
|
|
765
767
|
- docs/WhatsAppApi.md
|
|
766
768
|
- docs/WhatsAppPhoneNumbersApi.md
|
|
@@ -808,6 +810,7 @@ files:
|
|
|
808
810
|
- lib/late-sdk/api/usage_api.rb
|
|
809
811
|
- lib/late-sdk/api/users_api.rb
|
|
810
812
|
- lib/late-sdk/api/validate_api.rb
|
|
813
|
+
- lib/late-sdk/api/webhook_events_api.rb
|
|
811
814
|
- lib/late-sdk/api/webhooks_api.rb
|
|
812
815
|
- lib/late-sdk/api/whats_app_api.rb
|
|
813
816
|
- lib/late-sdk/api/whats_app_phone_numbers_api.rb
|
|
@@ -1480,6 +1483,7 @@ files:
|
|
|
1480
1483
|
- lib/late-sdk/models/webhook_payload_post.rb
|
|
1481
1484
|
- lib/late-sdk/models/webhook_payload_post_post.rb
|
|
1482
1485
|
- lib/late-sdk/models/webhook_payload_post_post_platforms_inner.rb
|
|
1486
|
+
- lib/late-sdk/models/webhook_payload_test.rb
|
|
1483
1487
|
- lib/late-sdk/models/you_tube_daily_views_response.rb
|
|
1484
1488
|
- lib/late-sdk/models/you_tube_daily_views_response_daily_views_inner.rb
|
|
1485
1489
|
- lib/late-sdk/models/you_tube_daily_views_response_date_range.rb
|
|
@@ -2191,6 +2195,7 @@ files:
|
|
|
2191
2195
|
- spec/models/webhook_payload_post_post_platforms_inner_spec.rb
|
|
2192
2196
|
- spec/models/webhook_payload_post_post_spec.rb
|
|
2193
2197
|
- spec/models/webhook_payload_post_spec.rb
|
|
2198
|
+
- spec/models/webhook_payload_test_spec.rb
|
|
2194
2199
|
- spec/models/webhook_spec.rb
|
|
2195
2200
|
- spec/models/you_tube_daily_views_response_daily_views_inner_spec.rb
|
|
2196
2201
|
- spec/models/you_tube_daily_views_response_date_range_spec.rb
|
|
@@ -2200,7 +2205,7 @@ files:
|
|
|
2200
2205
|
- spec/models/you_tube_scope_missing_response_scope_status_spec.rb
|
|
2201
2206
|
- spec/models/you_tube_scope_missing_response_spec.rb
|
|
2202
2207
|
- spec/spec_helper.rb
|
|
2203
|
-
- zernio-sdk-0.0.
|
|
2208
|
+
- zernio-sdk-0.0.87.gem
|
|
2204
2209
|
homepage: https://openapi-generator.tech
|
|
2205
2210
|
licenses:
|
|
2206
2211
|
- Unlicense
|
|
@@ -2483,6 +2488,7 @@ test_files:
|
|
|
2483
2488
|
- spec/models/webhook_payload_account_connected_account_spec.rb
|
|
2484
2489
|
- spec/models/update_whats_app_business_profile_request_spec.rb
|
|
2485
2490
|
- spec/models/add_broadcast_recipients_request_spec.rb
|
|
2491
|
+
- spec/models/webhook_payload_test_spec.rb
|
|
2486
2492
|
- spec/models/create_custom_field200_response_spec.rb
|
|
2487
2493
|
- spec/models/validate_post200_response_one_of1_errors_inner_spec.rb
|
|
2488
2494
|
- spec/models/webhook_payload_account_connected_spec.rb
|
data/zernio-sdk-0.0.85.gem
DELETED
|
Binary file
|