late-sdk 0.0.87 → 0.0.89

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.
@@ -32,6 +32,34 @@ describe 'MessagesApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_message_reaction
36
+ # Add reaction
37
+ # Add an emoji reaction to a message. Platform support: - **Telegram**: Supports a subset of Unicode emoji reactions - **WhatsApp**: Supports any standard emoji (one reaction per message per sender) - **All others**: Returns 400 (not supported)
38
+ # @param conversation_id The conversation ID
39
+ # @param message_id The platform message ID to react to
40
+ # @param add_message_reaction_request
41
+ # @param [Hash] opts the optional parameters
42
+ # @return [UpdateRedditSubreddits200Response]
43
+ describe 'add_message_reaction test' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
46
+ end
47
+ end
48
+
49
+ # unit tests for delete_inbox_message
50
+ # Delete message
51
+ # 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)
52
+ # @param conversation_id The conversation ID
53
+ # @param message_id The platform message ID to delete
54
+ # @param account_id Social account ID
55
+ # @param [Hash] opts the optional parameters
56
+ # @return [UpdateRedditSubreddits200Response]
57
+ describe 'delete_inbox_message test' do
58
+ it 'should work' do
59
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
60
+ end
61
+ end
62
+
35
63
  # unit tests for edit_inbox_message
36
64
  # Edit message
37
65
  # Edit the text and/or reply markup of a previously sent Telegram message. Only supported for Telegram. Returns 400 for other platforms.
@@ -61,7 +89,7 @@ describe 'MessagesApi' do
61
89
 
62
90
  # unit tests for get_inbox_conversation_messages
63
91
  # List messages
64
- # Fetch messages for a specific conversation. Requires accountId query parameter.
92
+ # Fetch messages for a specific conversation. Requires accountId query parameter. **Twitter/X limitation:** X's encrypted \"X Chat\" messages are not accessible via the API. Conversations where the other participant uses encrypted X Chat may only show your outgoing messages. See the [list conversations endpoint](#/Messages/listInboxConversations) for more details.
65
93
  # @param conversation_id The conversation ID (id field from list conversations endpoint). This is the platform-specific conversation identifier, not an internal database ID.
66
94
  # @param account_id Social account ID
67
95
  # @param [Hash] opts the optional parameters
@@ -74,7 +102,7 @@ describe 'MessagesApi' do
74
102
 
75
103
  # unit tests for list_inbox_conversations
76
104
  # List conversations
77
- # Fetch conversations (DMs) from all connected messaging accounts in a single API call. Supports filtering by profile and platform. Results are aggregated and deduplicated. Supported platforms: Facebook, Instagram, Twitter/X, Bluesky, Reddit, Telegram.
105
+ # Fetch conversations (DMs) from all connected messaging accounts in a single API call. Supports filtering by profile and platform. Results are aggregated and deduplicated. Supported platforms: Facebook, Instagram, Twitter/X, Bluesky, Reddit, Telegram. **Twitter/X limitation:** X has replaced traditional DMs with encrypted \"X Chat\" for many accounts. Messages sent or received through encrypted X Chat are not accessible via X's API (the `/2/dm_events` endpoint only returns legacy unencrypted DMs). This means some Twitter/X conversations may show only outgoing messages or appear empty. This is an X platform limitation that affects all third-party applications. See [X's docs on encrypted messaging](https://help.x.com/en/using-x/about-chat) for more details.
78
106
  # @param [Hash] opts the optional parameters
79
107
  # @option opts [String] :profile_id Filter by profile ID
80
108
  # @option opts [String] :platform Filter by platform
@@ -90,6 +118,20 @@ describe 'MessagesApi' do
90
118
  end
91
119
  end
92
120
 
121
+ # unit tests for remove_message_reaction
122
+ # Remove reaction
123
+ # Remove a reaction from a message. Platform support: - **Telegram**: Send empty reaction array to clear - **WhatsApp**: Send empty emoji to remove - **All others**: Returns 400 (not supported)
124
+ # @param conversation_id The conversation ID
125
+ # @param message_id The platform message ID
126
+ # @param account_id Social account ID
127
+ # @param [Hash] opts the optional parameters
128
+ # @return [UpdateRedditSubreddits200Response]
129
+ describe 'remove_message_reaction test' do
130
+ it 'should work' do
131
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
132
+ end
133
+ end
134
+
93
135
  # unit tests for send_inbox_message
94
136
  # Send message
95
137
  # Send a message in a conversation. Supports text, attachments, quick replies, buttons, and message tags. Attachment and interactive message support varies by platform.
@@ -103,6 +145,19 @@ describe 'MessagesApi' do
103
145
  end
104
146
  end
105
147
 
148
+ # unit tests for send_typing_indicator
149
+ # Send typing indicator
150
+ # Show a typing indicator in a conversation. Platform support: - **Facebook Messenger**: Shows \"Page is typing...\" for 20 seconds - **Telegram**: Shows \"Bot is typing...\" for 5 seconds - **All others**: Returns 200 but no-op (platform doesn't support it) Typing indicators are best-effort. The endpoint always returns 200 even if the platform call fails.
151
+ # @param conversation_id The conversation ID
152
+ # @param send_typing_indicator_request
153
+ # @param [Hash] opts the optional parameters
154
+ # @return [UpdateRedditSubreddits200Response]
155
+ describe 'send_typing_indicator test' do
156
+ it 'should work' do
157
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
158
+ end
159
+ end
160
+
106
161
  # unit tests for update_inbox_conversation
107
162
  # Update conversation status
108
163
  # Archive or activate a conversation. Requires accountId in request body.
@@ -116,4 +171,17 @@ describe 'MessagesApi' do
116
171
  end
117
172
  end
118
173
 
174
+ # unit tests for upload_media_direct
175
+ # Upload media file
176
+ # Upload a media file using API key authentication and get back a publicly accessible URL. The URL can be used as `attachmentUrl` when sending inbox messages. Files are stored in temporary storage and auto-delete after 7 days. Maximum file size is 25MB. Unlike `/v1/media/upload` (which uses upload tokens for end-user flows), this endpoint uses standard Bearer token authentication for programmatic use.
177
+ # @param file The file to upload (max 25MB)
178
+ # @param [Hash] opts the optional parameters
179
+ # @option opts [String] :content_type Override MIME type (e.g. \\\"image/jpeg\\\"). Auto-detected from file if not provided.
180
+ # @return [UploadMediaDirect200Response]
181
+ describe 'upload_media_direct test' do
182
+ it 'should work' do
183
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
184
+ end
185
+ end
186
+
119
187
  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::AddMessageReactionRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Late::AddMessageReactionRequest do
21
+ #let(:instance) { Late::AddMessageReactionRequest.new }
22
+
23
+ describe 'test an instance of AddMessageReactionRequest' do
24
+ it 'should create an instance of AddMessageReactionRequest' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Late::AddMessageReactionRequest)
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 "emoji"' 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,36 @@
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::SendTypingIndicatorRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Late::SendTypingIndicatorRequest do
21
+ #let(:instance) { Late::SendTypingIndicatorRequest.new }
22
+
23
+ describe 'test an instance of SendTypingIndicatorRequest' do
24
+ it 'should create an instance of SendTypingIndicatorRequest' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Late::SendTypingIndicatorRequest)
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
@@ -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::UploadMediaDirect200Response
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Late::UploadMediaDirect200Response do
21
+ #let(:instance) { Late::UploadMediaDirect200Response.new }
22
+
23
+ describe 'test an instance of UploadMediaDirect200Response' do
24
+ it 'should create an instance of UploadMediaDirect200Response' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Late::UploadMediaDirect200Response)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "url"' 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 "filename"' 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 "content_type"' 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 "size"' 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
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.87
4
+ version: 0.0.89
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-27 00:00:00.000000000 Z
11
+ date: 2026-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -74,6 +74,7 @@ files:
74
74
  - docs/ActivateSequence200Response.md
75
75
  - docs/AddBroadcastRecipients200Response.md
76
76
  - docs/AddBroadcastRecipientsRequest.md
77
+ - docs/AddMessageReactionRequest.md
77
78
  - docs/AddWhatsAppBroadcastRecipients200Response.md
78
79
  - docs/AddWhatsAppBroadcastRecipientsRequest.md
79
80
  - docs/AddWhatsAppBroadcastRecipientsRequestRecipientsInner.md
@@ -609,6 +610,7 @@ files:
609
610
  - docs/SendInboxMessageRequestTemplateElementsInnerButtonsInner.md
610
611
  - docs/SendPrivateReplyToComment200Response.md
611
612
  - docs/SendPrivateReplyToCommentRequest.md
613
+ - docs/SendTypingIndicatorRequest.md
612
614
  - docs/SendWhatsAppBroadcast200Response.md
613
615
  - docs/SendWhatsAppBulk200Response.md
614
616
  - docs/SendWhatsAppBulk200ResponseResultsInner.md
@@ -708,6 +710,7 @@ files:
708
710
  - docs/UpdateWhatsAppTemplate200Response.md
709
711
  - docs/UpdateWhatsAppTemplate200ResponseTemplate.md
710
712
  - docs/UpdateWhatsAppTemplateRequest.md
713
+ - docs/UploadMediaDirect200Response.md
711
714
  - docs/UploadTokenResponse.md
712
715
  - docs/UploadTokenStatusResponse.md
713
716
  - docs/UploadedFile.md
@@ -825,6 +828,7 @@ files:
825
828
  - lib/late-sdk/models/activate_sequence200_response.rb
826
829
  - lib/late-sdk/models/add_broadcast_recipients200_response.rb
827
830
  - lib/late-sdk/models/add_broadcast_recipients_request.rb
831
+ - lib/late-sdk/models/add_message_reaction_request.rb
828
832
  - lib/late-sdk/models/add_whats_app_broadcast_recipients200_response.rb
829
833
  - lib/late-sdk/models/add_whats_app_broadcast_recipients_request.rb
830
834
  - lib/late-sdk/models/add_whats_app_broadcast_recipients_request_recipients_inner.rb
@@ -1337,6 +1341,7 @@ files:
1337
1341
  - lib/late-sdk/models/send_inbox_message_request_template_elements_inner_buttons_inner.rb
1338
1342
  - lib/late-sdk/models/send_private_reply_to_comment200_response.rb
1339
1343
  - lib/late-sdk/models/send_private_reply_to_comment_request.rb
1344
+ - lib/late-sdk/models/send_typing_indicator_request.rb
1340
1345
  - lib/late-sdk/models/send_whats_app_broadcast200_response.rb
1341
1346
  - lib/late-sdk/models/send_whats_app_bulk200_response.rb
1342
1347
  - lib/late-sdk/models/send_whats_app_bulk200_response_results_inner.rb
@@ -1433,6 +1438,7 @@ files:
1433
1438
  - lib/late-sdk/models/update_whats_app_template200_response.rb
1434
1439
  - lib/late-sdk/models/update_whats_app_template200_response_template.rb
1435
1440
  - lib/late-sdk/models/update_whats_app_template_request.rb
1441
+ - lib/late-sdk/models/upload_media_direct200_response.rb
1436
1442
  - lib/late-sdk/models/upload_token_response.rb
1437
1443
  - lib/late-sdk/models/upload_token_status_response.rb
1438
1444
  - lib/late-sdk/models/uploaded_file.rb
@@ -1538,6 +1544,7 @@ files:
1538
1544
  - spec/models/activate_sequence200_response_spec.rb
1539
1545
  - spec/models/add_broadcast_recipients200_response_spec.rb
1540
1546
  - spec/models/add_broadcast_recipients_request_spec.rb
1547
+ - spec/models/add_message_reaction_request_spec.rb
1541
1548
  - spec/models/add_whats_app_broadcast_recipients200_response_spec.rb
1542
1549
  - spec/models/add_whats_app_broadcast_recipients_request_recipients_inner_spec.rb
1543
1550
  - spec/models/add_whats_app_broadcast_recipients_request_spec.rb
@@ -2050,6 +2057,7 @@ files:
2050
2057
  - spec/models/send_inbox_message_request_template_spec.rb
2051
2058
  - spec/models/send_private_reply_to_comment200_response_spec.rb
2052
2059
  - spec/models/send_private_reply_to_comment_request_spec.rb
2060
+ - spec/models/send_typing_indicator_request_spec.rb
2053
2061
  - spec/models/send_whats_app_broadcast200_response_spec.rb
2054
2062
  - spec/models/send_whats_app_bulk200_response_results_inner_spec.rb
2055
2063
  - spec/models/send_whats_app_bulk200_response_spec.rb
@@ -2146,6 +2154,7 @@ files:
2146
2154
  - spec/models/update_whats_app_template200_response_spec.rb
2147
2155
  - spec/models/update_whats_app_template200_response_template_spec.rb
2148
2156
  - spec/models/update_whats_app_template_request_spec.rb
2157
+ - spec/models/upload_media_direct200_response_spec.rb
2149
2158
  - spec/models/upload_token_response_spec.rb
2150
2159
  - spec/models/upload_token_status_response_spec.rb
2151
2160
  - spec/models/uploaded_file_spec.rb
@@ -2205,7 +2214,7 @@ files:
2205
2214
  - spec/models/you_tube_scope_missing_response_scope_status_spec.rb
2206
2215
  - spec/models/you_tube_scope_missing_response_spec.rb
2207
2216
  - spec/spec_helper.rb
2208
- - zernio-sdk-0.0.87.gem
2217
+ - zernio-sdk-0.0.89.gem
2209
2218
  homepage: https://openapi-generator.tech
2210
2219
  licenses:
2211
2220
  - Unlicense
@@ -2282,6 +2291,7 @@ test_files:
2282
2291
  - spec/models/select_facebook_page200_response_spec.rb
2283
2292
  - spec/models/webhook_payload_post_post_spec.rb
2284
2293
  - spec/models/get_whats_app_broadcast200_response_spec.rb
2294
+ - spec/models/upload_media_direct200_response_spec.rb
2285
2295
  - spec/models/profile_update_response_spec.rb
2286
2296
  - spec/models/get_daily_metrics200_response_daily_data_inner_spec.rb
2287
2297
  - spec/models/initiate_telegram_connect200_response_spec.rb
@@ -2610,8 +2620,10 @@ test_files:
2610
2620
  - spec/models/list_posts_logs200_response_spec.rb
2611
2621
  - spec/models/reply_to_inbox_post200_response_data_spec.rb
2612
2622
  - spec/models/create_post429_response_spec.rb
2623
+ - spec/models/add_message_reaction_request_spec.rb
2613
2624
  - spec/models/get_best_time_to_post200_response_slots_inner_spec.rb
2614
2625
  - spec/models/webhook_payload_message_spec.rb
2626
+ - spec/models/send_typing_indicator_request_spec.rb
2615
2627
  - spec/models/select_linked_in_organization200_response_spec.rb
2616
2628
  - spec/models/get_contact200_response_spec.rb
2617
2629
  - spec/models/get_gmb_locations200_response_locations_inner_spec.rb
Binary file