late-sdk 0.0.111 → 0.0.113
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 +9 -0
- data/docs/CreateInboxConversation201Response.md +20 -0
- data/docs/CreateInboxConversation201ResponseData.md +26 -0
- data/docs/CreateInboxConversation400Response.md +20 -0
- data/docs/CreateInboxConversation422Response.md +20 -0
- data/docs/CreateInboxConversationRequest.md +26 -0
- data/docs/CreatePostRequest.md +2 -0
- data/docs/EditPost200Response.md +24 -0
- data/docs/EditPostRequest.md +20 -0
- data/docs/FacebookPlatformData.md +3 -1
- data/docs/MessagesApi.md +70 -0
- data/docs/PostsApi.md +72 -0
- data/docs/TwitterPlatformData.md +3 -1
- data/docs/UpdatePostRequest.md +2 -0
- data/lib/late-sdk/api/messages_api.rb +68 -0
- data/lib/late-sdk/api/posts_api.rb +74 -0
- data/lib/late-sdk/models/create_inbox_conversation201_response.rb +156 -0
- data/lib/late-sdk/models/create_inbox_conversation201_response_data.rb +188 -0
- data/lib/late-sdk/models/create_inbox_conversation400_response.rb +190 -0
- data/lib/late-sdk/models/create_inbox_conversation422_response.rb +190 -0
- data/lib/late-sdk/models/create_inbox_conversation_request.rb +207 -0
- data/lib/late-sdk/models/create_post_request.rb +11 -1
- data/lib/late-sdk/models/edit_post200_response.rb +176 -0
- data/lib/late-sdk/models/edit_post_request.rb +216 -0
- data/lib/late-sdk/models/facebook_platform_data.rb +14 -2
- data/lib/late-sdk/models/twitter_platform_data.rb +16 -4
- data/lib/late-sdk/models/update_post_request.rb +11 -1
- data/lib/late-sdk/version.rb +1 -1
- data/lib/late-sdk.rb +7 -0
- data/openapi.yaml +207 -1
- data/spec/api/messages_api_spec.rb +12 -0
- data/spec/api/posts_api_spec.rb +13 -0
- data/spec/models/create_inbox_conversation201_response_data_spec.rb +60 -0
- data/spec/models/create_inbox_conversation201_response_spec.rb +42 -0
- data/spec/models/create_inbox_conversation400_response_spec.rb +46 -0
- data/spec/models/create_inbox_conversation422_response_spec.rb +46 -0
- data/spec/models/create_inbox_conversation_request_spec.rb +60 -0
- data/spec/models/create_post_request_spec.rb +6 -0
- data/spec/models/edit_post200_response_spec.rb +54 -0
- data/spec/models/edit_post_request_spec.rb +46 -0
- data/spec/models/facebook_platform_data_spec.rb +6 -0
- data/spec/models/twitter_platform_data_spec.rb +6 -0
- data/spec/models/update_post_request_spec.rb +6 -0
- data/zernio-sdk-0.0.113.gem +0 -0
- metadata +31 -3
- data/zernio-sdk-0.0.111.gem +0 -0
|
@@ -46,6 +46,18 @@ describe 'MessagesApi' do
|
|
|
46
46
|
end
|
|
47
47
|
end
|
|
48
48
|
|
|
49
|
+
# unit tests for create_inbox_conversation
|
|
50
|
+
# Create conversation
|
|
51
|
+
# Initiate a new direct message conversation with a specified user. If a conversation already exists with the recipient, the message is added to the existing thread. **Currently supported platforms:** Twitter/X only. Other platforms will return `PLATFORM_NOT_SUPPORTED`. **DM eligibility:** Before sending, the endpoint checks if the recipient accepts DMs from your account (via the `receives_your_dm` field). If not, a 422 error with code `DM_NOT_ALLOWED` is returned. You can skip this check with `skipDmCheck: true` if you have already verified eligibility. **X API tier requirement:** DM write endpoints require X API Pro tier ($5,000/month) or Enterprise access. This applies to BYOK (Bring Your Own Key) users who provide their own X API credentials. **Rate limits:** 200 requests per 15 minutes, 1,000 per 24 hours per user, 15,000 per 24 hours per app (shared across all DM endpoints).
|
|
52
|
+
# @param create_inbox_conversation_request
|
|
53
|
+
# @param [Hash] opts the optional parameters
|
|
54
|
+
# @return [CreateInboxConversation201Response]
|
|
55
|
+
describe 'create_inbox_conversation test' do
|
|
56
|
+
it 'should work' do
|
|
57
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
|
|
49
61
|
# unit tests for delete_inbox_message
|
|
50
62
|
# Delete message
|
|
51
63
|
# Delete a message from a conversation. Platform support varies: - **Telegram**: Full delete (bot's own messages anytime, others if admin) - **X/Twitter**: Full delete (own DM events only) - **Bluesky**: Delete for self only (recipient still sees it) - **Reddit**: Delete from sender's view only - **Facebook, Instagram, WhatsApp**: Not supported (returns 400)
|
data/spec/api/posts_api_spec.rb
CHANGED
|
@@ -69,6 +69,19 @@ describe 'PostsApi' do
|
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
+
# unit tests for edit_post
|
|
73
|
+
# Edit published post
|
|
74
|
+
# Edit a published post on a social media platform. Currently only supported for X (Twitter). **Requirements:** - Connected X account must have an active X Premium subscription - Must be within 1 hour of original publish time - Maximum 5 edits per tweet (enforced by X) - Text-only edits (media changes are not supported) The post record in Zernio is updated with the new content and edit history.
|
|
75
|
+
# @param post_id
|
|
76
|
+
# @param edit_post_request
|
|
77
|
+
# @param [Hash] opts the optional parameters
|
|
78
|
+
# @return [EditPost200Response]
|
|
79
|
+
describe 'edit_post test' do
|
|
80
|
+
it 'should work' do
|
|
81
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
|
|
72
85
|
# unit tests for get_post
|
|
73
86
|
# Get post
|
|
74
87
|
# Fetch a single post by ID. For published posts, this returns platformPostUrl for each platform.
|
|
@@ -0,0 +1,60 @@
|
|
|
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::CreateInboxConversation201ResponseData
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::CreateInboxConversation201ResponseData do
|
|
21
|
+
#let(:instance) { Late::CreateInboxConversation201ResponseData.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateInboxConversation201ResponseData' do
|
|
24
|
+
it 'should create an instance of CreateInboxConversation201ResponseData' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::CreateInboxConversation201ResponseData)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "message_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 "conversation_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 "participant_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
|
+
|
|
48
|
+
describe 'test attribute "participant_name"' 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
|
+
describe 'test attribute "participant_username"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
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::CreateInboxConversation201Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::CreateInboxConversation201Response do
|
|
21
|
+
#let(:instance) { Late::CreateInboxConversation201Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateInboxConversation201Response' do
|
|
24
|
+
it 'should create an instance of CreateInboxConversation201Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::CreateInboxConversation201Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "success"' 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 "data"' 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
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
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::CreateInboxConversation400Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::CreateInboxConversation400Response do
|
|
21
|
+
#let(:instance) { Late::CreateInboxConversation400Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateInboxConversation400Response' do
|
|
24
|
+
it 'should create an instance of CreateInboxConversation400Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::CreateInboxConversation400Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "error"' 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 "code"' 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', ["PLATFORM_NOT_SUPPORTED"])
|
|
40
|
+
# validator.allowable_values.each do |value|
|
|
41
|
+
# expect { instance.code = value }.not_to raise_error
|
|
42
|
+
# end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
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::CreateInboxConversation422Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::CreateInboxConversation422Response do
|
|
21
|
+
#let(:instance) { Late::CreateInboxConversation422Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateInboxConversation422Response' do
|
|
24
|
+
it 'should create an instance of CreateInboxConversation422Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::CreateInboxConversation422Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "error"' 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 "code"' 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', ["DM_NOT_ALLOWED"])
|
|
40
|
+
# validator.allowable_values.each do |value|
|
|
41
|
+
# expect { instance.code = value }.not_to raise_error
|
|
42
|
+
# end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|
|
@@ -0,0 +1,60 @@
|
|
|
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::CreateInboxConversationRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::CreateInboxConversationRequest do
|
|
21
|
+
#let(:instance) { Late::CreateInboxConversationRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateInboxConversationRequest' do
|
|
24
|
+
it 'should create an instance of CreateInboxConversationRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::CreateInboxConversationRequest)
|
|
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
|
+
describe 'test attribute "participant_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 "participant_username"' 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 "message"' 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
|
+
describe 'test attribute "skip_dm_check"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
end
|
|
@@ -111,6 +111,12 @@ describe Late::CreatePostRequest do
|
|
|
111
111
|
end
|
|
112
112
|
end
|
|
113
113
|
|
|
114
|
+
describe 'test attribute "facebook_settings"' do
|
|
115
|
+
it 'should work' do
|
|
116
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
117
|
+
end
|
|
118
|
+
end
|
|
119
|
+
|
|
114
120
|
describe 'test attribute "recycling"' do
|
|
115
121
|
it 'should work' do
|
|
116
122
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -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
|
|
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::EditPost200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::EditPost200Response do
|
|
21
|
+
#let(:instance) { Late::EditPost200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of EditPost200Response' do
|
|
24
|
+
it 'should create an instance of EditPost200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::EditPost200Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "success"' 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 "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 "url"' 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 "message"' 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,46 @@
|
|
|
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::EditPostRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::EditPostRequest do
|
|
21
|
+
#let(:instance) { Late::EditPostRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of EditPostRequest' do
|
|
24
|
+
it 'should create an instance of EditPostRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::EditPostRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "platform"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["twitter"])
|
|
34
|
+
# validator.allowable_values.each do |value|
|
|
35
|
+
# expect { instance.platform = value }.not_to raise_error
|
|
36
|
+
# end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "content"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|
|
@@ -27,6 +27,12 @@ describe Late::FacebookPlatformData do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
describe 'test attribute "draft"' 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 "content_type"' do
|
|
31
37
|
it 'should work' do
|
|
32
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -45,6 +45,12 @@ describe Late::UpdatePostRequest do
|
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
+
describe 'test attribute "facebook_settings"' 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
|
+
|
|
48
54
|
describe 'test attribute "recycling"' do
|
|
49
55
|
it 'should work' do
|
|
50
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
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.113
|
|
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-04-
|
|
11
|
+
date: 2026-04-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -169,6 +169,11 @@ files:
|
|
|
169
169
|
- docs/CreateGoogleBusinessMediaRequest.md
|
|
170
170
|
- docs/CreateGoogleBusinessPlaceAction200Response.md
|
|
171
171
|
- docs/CreateGoogleBusinessPlaceActionRequest.md
|
|
172
|
+
- docs/CreateInboxConversation201Response.md
|
|
173
|
+
- docs/CreateInboxConversation201ResponseData.md
|
|
174
|
+
- docs/CreateInboxConversation400Response.md
|
|
175
|
+
- docs/CreateInboxConversation422Response.md
|
|
176
|
+
- docs/CreateInboxConversationRequest.md
|
|
172
177
|
- docs/CreateInviteToken201Response.md
|
|
173
178
|
- docs/CreateInviteTokenRequest.md
|
|
174
179
|
- docs/CreatePost409Response.md
|
|
@@ -222,6 +227,8 @@ files:
|
|
|
222
227
|
- docs/EditInboxMessageRequest.md
|
|
223
228
|
- docs/EditInboxMessageRequestReplyMarkup.md
|
|
224
229
|
- docs/EditInboxMessageRequestReplyMarkupKeyboardInnerInner.md
|
|
230
|
+
- docs/EditPost200Response.md
|
|
231
|
+
- docs/EditPostRequest.md
|
|
225
232
|
- docs/EnrollContacts200Response.md
|
|
226
233
|
- docs/EnrollContactsRequest.md
|
|
227
234
|
- docs/ErrorResponse.md
|
|
@@ -986,6 +993,11 @@ files:
|
|
|
986
993
|
- lib/late-sdk/models/create_google_business_media_request.rb
|
|
987
994
|
- lib/late-sdk/models/create_google_business_place_action200_response.rb
|
|
988
995
|
- lib/late-sdk/models/create_google_business_place_action_request.rb
|
|
996
|
+
- lib/late-sdk/models/create_inbox_conversation201_response.rb
|
|
997
|
+
- lib/late-sdk/models/create_inbox_conversation201_response_data.rb
|
|
998
|
+
- lib/late-sdk/models/create_inbox_conversation400_response.rb
|
|
999
|
+
- lib/late-sdk/models/create_inbox_conversation422_response.rb
|
|
1000
|
+
- lib/late-sdk/models/create_inbox_conversation_request.rb
|
|
989
1001
|
- lib/late-sdk/models/create_invite_token201_response.rb
|
|
990
1002
|
- lib/late-sdk/models/create_invite_token_request.rb
|
|
991
1003
|
- lib/late-sdk/models/create_post409_response.rb
|
|
@@ -1038,6 +1050,8 @@ files:
|
|
|
1038
1050
|
- lib/late-sdk/models/edit_inbox_message_request.rb
|
|
1039
1051
|
- lib/late-sdk/models/edit_inbox_message_request_reply_markup.rb
|
|
1040
1052
|
- lib/late-sdk/models/edit_inbox_message_request_reply_markup_keyboard_inner_inner.rb
|
|
1053
|
+
- lib/late-sdk/models/edit_post200_response.rb
|
|
1054
|
+
- lib/late-sdk/models/edit_post_request.rb
|
|
1041
1055
|
- lib/late-sdk/models/enroll_contacts200_response.rb
|
|
1042
1056
|
- lib/late-sdk/models/enroll_contacts_request.rb
|
|
1043
1057
|
- lib/late-sdk/models/error_response.rb
|
|
@@ -1771,6 +1785,11 @@ files:
|
|
|
1771
1785
|
- spec/models/create_google_business_media_request_spec.rb
|
|
1772
1786
|
- spec/models/create_google_business_place_action200_response_spec.rb
|
|
1773
1787
|
- spec/models/create_google_business_place_action_request_spec.rb
|
|
1788
|
+
- spec/models/create_inbox_conversation201_response_data_spec.rb
|
|
1789
|
+
- spec/models/create_inbox_conversation201_response_spec.rb
|
|
1790
|
+
- spec/models/create_inbox_conversation400_response_spec.rb
|
|
1791
|
+
- spec/models/create_inbox_conversation422_response_spec.rb
|
|
1792
|
+
- spec/models/create_inbox_conversation_request_spec.rb
|
|
1774
1793
|
- spec/models/create_invite_token201_response_spec.rb
|
|
1775
1794
|
- spec/models/create_invite_token_request_spec.rb
|
|
1776
1795
|
- spec/models/create_post409_response_details_spec.rb
|
|
@@ -1823,6 +1842,8 @@ files:
|
|
|
1823
1842
|
- spec/models/edit_inbox_message_request_reply_markup_keyboard_inner_inner_spec.rb
|
|
1824
1843
|
- spec/models/edit_inbox_message_request_reply_markup_spec.rb
|
|
1825
1844
|
- spec/models/edit_inbox_message_request_spec.rb
|
|
1845
|
+
- spec/models/edit_post200_response_spec.rb
|
|
1846
|
+
- spec/models/edit_post_request_spec.rb
|
|
1826
1847
|
- spec/models/enroll_contacts200_response_spec.rb
|
|
1827
1848
|
- spec/models/enroll_contacts_request_spec.rb
|
|
1828
1849
|
- spec/models/error_response_spec.rb
|
|
@@ -2421,7 +2442,7 @@ files:
|
|
|
2421
2442
|
- spec/models/you_tube_scope_missing_response_scope_status_spec.rb
|
|
2422
2443
|
- spec/models/you_tube_scope_missing_response_spec.rb
|
|
2423
2444
|
- spec/spec_helper.rb
|
|
2424
|
-
- zernio-sdk-0.0.
|
|
2445
|
+
- zernio-sdk-0.0.113.gem
|
|
2425
2446
|
homepage: https://openapi-generator.tech
|
|
2426
2447
|
licenses:
|
|
2427
2448
|
- Unlicense
|
|
@@ -2576,6 +2597,7 @@ test_files:
|
|
|
2576
2597
|
- spec/models/get_telegram_connect_status200_response_spec.rb
|
|
2577
2598
|
- spec/models/get_account_health200_response_token_status_spec.rb
|
|
2578
2599
|
- spec/models/you_tube_platform_data_spec.rb
|
|
2600
|
+
- spec/models/create_inbox_conversation_request_spec.rb
|
|
2579
2601
|
- spec/models/platform_analytics_spec.rb
|
|
2580
2602
|
- spec/models/create_webhook_settings_request_spec.rb
|
|
2581
2603
|
- spec/models/delete_account_group200_response_spec.rb
|
|
@@ -2794,6 +2816,7 @@ test_files:
|
|
|
2794
2816
|
- spec/models/webhook_payload_message_conversation_spec.rb
|
|
2795
2817
|
- spec/models/create_post_request_platforms_inner_spec.rb
|
|
2796
2818
|
- spec/models/instagram_demographics_response_demographics_value_inner_spec.rb
|
|
2819
|
+
- spec/models/create_inbox_conversation400_response_spec.rb
|
|
2797
2820
|
- spec/models/platform_target_platform_specific_data_spec.rb
|
|
2798
2821
|
- spec/models/get_post_timeline403_response_spec.rb
|
|
2799
2822
|
- spec/models/get_whats_app_group_chat200_response_group_participants_inner_spec.rb
|
|
@@ -2801,6 +2824,7 @@ test_files:
|
|
|
2801
2824
|
- spec/models/post_log_post_id_one_of_spec.rb
|
|
2802
2825
|
- spec/models/get_linked_in_post_reactions200_response_reactions_inner_from_spec.rb
|
|
2803
2826
|
- spec/models/get_comment_automation200_response_spec.rb
|
|
2827
|
+
- spec/models/edit_post200_response_spec.rb
|
|
2804
2828
|
- spec/models/update_sequence200_response_sequence_spec.rb
|
|
2805
2829
|
- spec/models/update_google_business_location_details_request_categories_additional_categories_inner_spec.rb
|
|
2806
2830
|
- spec/models/upload_whats_app_flow_json200_response_validation_errors_inner_spec.rb
|
|
@@ -2934,6 +2958,7 @@ test_files:
|
|
|
2934
2958
|
- spec/models/get_inbox_conversation200_response_spec.rb
|
|
2935
2959
|
- spec/models/food_menu_item_attributes_spec.rb
|
|
2936
2960
|
- spec/models/list_linked_in_organizations200_response_organizations_inner_spec.rb
|
|
2961
|
+
- spec/models/create_inbox_conversation201_response_spec.rb
|
|
2937
2962
|
- spec/models/connect_whats_app_credentials_request_spec.rb
|
|
2938
2963
|
- spec/models/get_whats_app_broadcasts200_response_broadcasts_inner_template_spec.rb
|
|
2939
2964
|
- spec/models/webhook_payload_account_disconnected_account_spec.rb
|
|
@@ -2985,6 +3010,7 @@ test_files:
|
|
|
2985
3010
|
- spec/models/get_connect_url200_response_spec.rb
|
|
2986
3011
|
- spec/models/send_inbox_message_request_buttons_inner_spec.rb
|
|
2987
3012
|
- spec/models/get_inbox_conversation_messages200_response_spec.rb
|
|
3013
|
+
- spec/models/create_inbox_conversation201_response_data_spec.rb
|
|
2988
3014
|
- spec/models/select_google_business_location200_response_spec.rb
|
|
2989
3015
|
- spec/models/import_whats_app_contacts200_response_summary_spec.rb
|
|
2990
3016
|
- spec/models/get_profile200_response_spec.rb
|
|
@@ -3094,6 +3120,7 @@ test_files:
|
|
|
3094
3120
|
- spec/models/boost_post_request_targeting_spec.rb
|
|
3095
3121
|
- spec/models/update_inbox_conversation_request_spec.rb
|
|
3096
3122
|
- spec/models/list_google_business_media200_response_spec.rb
|
|
3123
|
+
- spec/models/edit_post_request_spec.rb
|
|
3097
3124
|
- spec/models/update_ad_request_budget_spec.rb
|
|
3098
3125
|
- spec/models/create_whats_app_group_chat201_response_spec.rb
|
|
3099
3126
|
- spec/models/purchase_whats_app_phone_number200_response_one_of_spec.rb
|
|
@@ -3170,6 +3197,7 @@ test_files:
|
|
|
3170
3197
|
- spec/models/send_whats_app_flow_message_request_spec.rb
|
|
3171
3198
|
- spec/models/twitter_platform_data_thread_items_inner_spec.rb
|
|
3172
3199
|
- spec/models/media_item_spec.rb
|
|
3200
|
+
- spec/models/create_inbox_conversation422_response_spec.rb
|
|
3173
3201
|
- spec/models/create_comment_automation200_response_spec.rb
|
|
3174
3202
|
- spec/models/send_private_reply_to_comment200_response_spec.rb
|
|
3175
3203
|
- spec/models/get_pinterest_boards200_response_boards_inner_spec.rb
|
data/zernio-sdk-0.0.111.gem
DELETED
|
Binary file
|