late-sdk 0.0.593 → 0.0.595

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3c6f70b23495d04a6b6108a5be5478ee0cb26463f7774cb301c757eba5105915
4
- data.tar.gz: '057585b7982d021af2935bcab6a6bf259a5907d7bcddc1bb7f97007272ebb36e'
3
+ metadata.gz: 8a9951e9e9dc1112734f8cbe3cd309e8914dd7696bfbe9fb708d023b6f37fa1c
4
+ data.tar.gz: a65c38287c38db1eae9b07b405daf15d25632ed969e0aa591e20f13ec3e2adeb
5
5
  SHA512:
6
- metadata.gz: 073b93b1d497051f470d6d1b7bf7a95bb3827284c6b21f660d5eeb3b63cd207f149cf0f68118d8a4c0026bc4a0e9c4108feb4c14bbbd40c366f0ddfaa5a2ce11
7
- data.tar.gz: 1ba4fd212a5df4a9ef95c5ee6702c316059a84f91046f3c05d9a46340de02961ebca24b009cabab03ed6a47428ae154bd807b6d652aaecfa105b131113d7e85a
6
+ metadata.gz: f0d775abf35999f7b8016419f4a6fcb36366cb4adf64f7e7bc83d2d6475799998e70bea8973fdb203dbe3ebfde3a625104ef815f6625a23f20a233d3228ebba3
7
+ data.tar.gz: 87b65da6bcd0a8929e57a7c6bd5656a4b3c78736a14e04751882cbd71a1e66d1821ad61df5c34b83e51bc7a4426f6e538afe84158159565d1014d4df5eb38731
data/docs/MessagesApi.md CHANGED
@@ -385,7 +385,7 @@ end
385
385
 
386
386
  List messages
387
387
 
388
- Fetch messages for a specific conversation, with cursor-based pagination and ordering control. Pagination: pass `pagination.nextCursor` from a prior response back as the `cursor` query param to fetch the next page. The cursor is opaque; do not parse or construct it client-side. Sort order: defaults to `asc` (oldest first, chat style). For the \"show me the latest messages\" pattern, pass `?sortOrder=desc&limit=N`. Twitter, Instagram, Telegram, WhatsApp and Reddit honor the requested order from the local message store. For Facebook and Bluesky, the upstream APIs only return newest-first and have no order parameter — sort order is best-effort and only reverses items within a single page (pages still walk newest→oldest). The response field `sortOrderApplied` tells you what was actually applied. Reddit threads are paginated client-side because Reddit's API has no per-thread cursor. Very long threads may be upstream-truncated by Reddit's inbox/sent windows (~100 most-recent items each); this is a Reddit platform limitation. 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 for more details. This endpoint is read-only and does NOT mark messages as read or send read receipts. To mark a conversation read (and send WhatsApp blue ticks on eligible accounts), call `POST /v1/inbox/conversations/{conversationId}/read`.
388
+ Fetch messages for a specific conversation, with cursor-based pagination and ordering control. Pagination: pass `pagination.nextCursor` from a prior response back as the `cursor` query param to fetch the next page. The cursor is opaque; do not parse or construct it client-side. Sort order: defaults to `asc` (oldest first, chat style). For the \"show me the latest messages\" pattern, pass `?sortOrder=desc&limit=N`. Twitter, Instagram, Telegram, WhatsApp and Reddit honor the requested order from the local message store. For Facebook and Bluesky, the upstream APIs only return newest-first and have no order parameter — sort order is best-effort and only reverses items within a single page (pages still walk newest→oldest). The response field `sortOrderApplied` tells you what was actually applied. Reddit threads are paginated client-side because Reddit's API has no per-thread cursor. Very long threads may be upstream-truncated by Reddit's inbox/sent windows (~100 most-recent items each); this is a Reddit platform limitation. Instagram and Facebook conversations include history from before the account was connected, replayed from Meta. That replay covers the 500 most recent messages per conversation: a longer thread keeps its newest 500 and older messages are not retrievable. Messages that arrived after the account was connected are unaffected. Replayed messages are stored as already read and emit no webhooks. 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 for more details. This endpoint is read-only and does NOT mark messages as read or send read receipts. To mark a conversation read (and send WhatsApp blue ticks on eligible accounts), call `POST /v1/inbox/conversations/{conversationId}/read`.
389
389
 
390
390
  ### Examples
391
391
 
@@ -464,7 +464,7 @@ end
464
464
 
465
465
  List conversations
466
466
 
467
- 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 for more details.
467
+ 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 for more details. Instagram and Facebook pre-connect history: when one of these accounts is connected, Zernio replays the DM history the account already holds on Meta, so conversations that began before the account was connected appear here. Up to 500 conversations per account are replayed. The replay runs in the background and can finish after a listing you have already taken, and replayed conversations keep their original lastMessageAt, so they sort into date order rather than appearing at the top. If you mirror this endpoint into your own store, re-run the sweep rather than relying on a single pass at connect time. Replayed history emits no webhooks and is stored as already read, so it never affects unread counts. Threads that Meta refuses to serve are skipped, and an account whose Instagram \"connected tools\" message access is turned off is not replayed at all.
468
468
 
469
469
  ### Examples
470
470
 
data/docs/SMSApi.md CHANGED
@@ -1297,7 +1297,7 @@ Zernio.configure do |config|
1297
1297
  end
1298
1298
 
1299
1299
  api_instance = Zernio::SMSApi.new
1300
- start_sms_registration_request = Zernio::StartSmsRegistrationRequest.new({registration_type: 'standard_10dlc', phone_numbers: ['phone_numbers_example']}) # StartSmsRegistrationRequest |
1300
+ start_sms_registration_request = Zernio::StartSmsRegistrationRequest.new({registration_type: 'standard_10dlc'}) # StartSmsRegistrationRequest |
1301
1301
 
1302
1302
  begin
1303
1303
  # Start a carrier registration
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **registration_type** | **String** | | |
8
- | **phone_numbers** | **Array<String>** | Your numbers this registration covers. | |
8
+ | **phone_numbers** | **Array<String>** | Your numbers this registration covers. When omitted or empty on a 10DLC registration, defaults to your active SMS-enabled US local numbers not already covered by another registration. | [optional] |
9
9
  | **brand** | [**StartSmsRegistrationRequestBrand**](StartSmsRegistrationRequestBrand.md) | | [optional] |
10
10
  | **campaign** | [**StartSmsRegistrationRequestCampaign**](StartSmsRegistrationRequestCampaign.md) | | [optional] |
11
11
  | **messaging_brand_name** | **String** | DBA / trade name used to brand message content (samples and auto-replies) when it differs from the legal name, e.g. a sole proprietor texting under a business name. The legal `brand.displayName` is still what the carrier vets. | [optional] |
@@ -394,7 +394,7 @@ module Zernio
394
394
  end
395
395
 
396
396
  # List messages
397
- # Fetch messages for a specific conversation, with cursor-based pagination and ordering control. Pagination: pass `pagination.nextCursor` from a prior response back as the `cursor` query param to fetch the next page. The cursor is opaque; do not parse or construct it client-side. Sort order: defaults to `asc` (oldest first, chat style). For the \"show me the latest messages\" pattern, pass `?sortOrder=desc&limit=N`. Twitter, Instagram, Telegram, WhatsApp and Reddit honor the requested order from the local message store. For Facebook and Bluesky, the upstream APIs only return newest-first and have no order parameter — sort order is best-effort and only reverses items within a single page (pages still walk newest→oldest). The response field `sortOrderApplied` tells you what was actually applied. Reddit threads are paginated client-side because Reddit's API has no per-thread cursor. Very long threads may be upstream-truncated by Reddit's inbox/sent windows (~100 most-recent items each); this is a Reddit platform limitation. 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 for more details. This endpoint is read-only and does NOT mark messages as read or send read receipts. To mark a conversation read (and send WhatsApp blue ticks on eligible accounts), call `POST /v1/inbox/conversations/{conversationId}/read`.
397
+ # Fetch messages for a specific conversation, with cursor-based pagination and ordering control. Pagination: pass `pagination.nextCursor` from a prior response back as the `cursor` query param to fetch the next page. The cursor is opaque; do not parse or construct it client-side. Sort order: defaults to `asc` (oldest first, chat style). For the \"show me the latest messages\" pattern, pass `?sortOrder=desc&limit=N`. Twitter, Instagram, Telegram, WhatsApp and Reddit honor the requested order from the local message store. For Facebook and Bluesky, the upstream APIs only return newest-first and have no order parameter — sort order is best-effort and only reverses items within a single page (pages still walk newest→oldest). The response field `sortOrderApplied` tells you what was actually applied. Reddit threads are paginated client-side because Reddit's API has no per-thread cursor. Very long threads may be upstream-truncated by Reddit's inbox/sent windows (~100 most-recent items each); this is a Reddit platform limitation. Instagram and Facebook conversations include history from before the account was connected, replayed from Meta. That replay covers the 500 most recent messages per conversation: a longer thread keeps its newest 500 and older messages are not retrievable. Messages that arrived after the account was connected are unaffected. Replayed messages are stored as already read and emit no webhooks. 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 for more details. This endpoint is read-only and does NOT mark messages as read or send read receipts. To mark a conversation read (and send WhatsApp blue ticks on eligible accounts), call `POST /v1/inbox/conversations/{conversationId}/read`.
398
398
  # @param conversation_id [String] The conversation ID (id field from list conversations endpoint). This is the platform-specific conversation identifier, not an internal database ID.
399
399
  # @param account_id [String] Social account ID
400
400
  # @param [Hash] opts the optional parameters
@@ -408,7 +408,7 @@ module Zernio
408
408
  end
409
409
 
410
410
  # List messages
411
- # Fetch messages for a specific conversation, with cursor-based pagination and ordering control. Pagination: pass `pagination.nextCursor` from a prior response back as the `cursor` query param to fetch the next page. The cursor is opaque; do not parse or construct it client-side. Sort order: defaults to `asc` (oldest first, chat style). For the \"show me the latest messages\" pattern, pass `?sortOrder=desc&limit=N`. Twitter, Instagram, Telegram, WhatsApp and Reddit honor the requested order from the local message store. For Facebook and Bluesky, the upstream APIs only return newest-first and have no order parameter — sort order is best-effort and only reverses items within a single page (pages still walk newest→oldest). The response field `sortOrderApplied` tells you what was actually applied. Reddit threads are paginated client-side because Reddit's API has no per-thread cursor. Very long threads may be upstream-truncated by Reddit's inbox/sent windows (~100 most-recent items each); this is a Reddit platform limitation. 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 for more details. This endpoint is read-only and does NOT mark messages as read or send read receipts. To mark a conversation read (and send WhatsApp blue ticks on eligible accounts), call `POST /v1/inbox/conversations/{conversationId}/read`.
411
+ # Fetch messages for a specific conversation, with cursor-based pagination and ordering control. Pagination: pass `pagination.nextCursor` from a prior response back as the `cursor` query param to fetch the next page. The cursor is opaque; do not parse or construct it client-side. Sort order: defaults to `asc` (oldest first, chat style). For the \"show me the latest messages\" pattern, pass `?sortOrder=desc&limit=N`. Twitter, Instagram, Telegram, WhatsApp and Reddit honor the requested order from the local message store. For Facebook and Bluesky, the upstream APIs only return newest-first and have no order parameter — sort order is best-effort and only reverses items within a single page (pages still walk newest→oldest). The response field `sortOrderApplied` tells you what was actually applied. Reddit threads are paginated client-side because Reddit's API has no per-thread cursor. Very long threads may be upstream-truncated by Reddit's inbox/sent windows (~100 most-recent items each); this is a Reddit platform limitation. Instagram and Facebook conversations include history from before the account was connected, replayed from Meta. That replay covers the 500 most recent messages per conversation: a longer thread keeps its newest 500 and older messages are not retrievable. Messages that arrived after the account was connected are unaffected. Replayed messages are stored as already read and emit no webhooks. 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 for more details. This endpoint is read-only and does NOT mark messages as read or send read receipts. To mark a conversation read (and send WhatsApp blue ticks on eligible accounts), call `POST /v1/inbox/conversations/{conversationId}/read`.
412
412
  # @param conversation_id [String] The conversation ID (id field from list conversations endpoint). This is the platform-specific conversation identifier, not an internal database ID.
413
413
  # @param account_id [String] Social account ID
414
414
  # @param [Hash] opts the optional parameters
@@ -485,7 +485,7 @@ module Zernio
485
485
  end
486
486
 
487
487
  # List conversations
488
- # 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 for more details.
488
+ # 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 for more details. Instagram and Facebook pre-connect history: when one of these accounts is connected, Zernio replays the DM history the account already holds on Meta, so conversations that began before the account was connected appear here. Up to 500 conversations per account are replayed. The replay runs in the background and can finish after a listing you have already taken, and replayed conversations keep their original lastMessageAt, so they sort into date order rather than appearing at the top. If you mirror this endpoint into your own store, re-run the sweep rather than relying on a single pass at connect time. Replayed history emits no webhooks and is stored as already read, so it never affects unread counts. Threads that Meta refuses to serve are skipped, and an account whose Instagram \"connected tools\" message access is turned off is not replayed at all.
489
489
  # @param [Hash] opts the optional parameters
490
490
  # @option opts [String] :profile_id Filter by profile ID
491
491
  # @option opts [String] :platform Filter by platform
@@ -501,7 +501,7 @@ module Zernio
501
501
  end
502
502
 
503
503
  # List conversations
504
- # 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 for more details.
504
+ # 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 for more details. Instagram and Facebook pre-connect history: when one of these accounts is connected, Zernio replays the DM history the account already holds on Meta, so conversations that began before the account was connected appear here. Up to 500 conversations per account are replayed. The replay runs in the background and can finish after a listing you have already taken, and replayed conversations keep their original lastMessageAt, so they sort into date order rather than appearing at the top. If you mirror this endpoint into your own store, re-run the sweep rather than relying on a single pass at connect time. Replayed history emits no webhooks and is stored as already read, so it never affects unread counts. Threads that Meta refuses to serve are skipped, and an account whose Instagram \"connected tools\" message access is turned off is not replayed at all.
505
505
  # @param [Hash] opts the optional parameters
506
506
  # @option opts [String] :profile_id Filter by profile ID
507
507
  # @option opts [String] :platform Filter by platform
@@ -17,7 +17,7 @@ module Zernio
17
17
  class StartSmsRegistrationRequest < ApiModelBase
18
18
  attr_accessor :registration_type
19
19
 
20
- # Your numbers this registration covers.
20
+ # Your numbers this registration covers. When omitted or empty on a 10DLC registration, defaults to your active SMS-enabled US local numbers not already covered by another registration.
21
21
  attr_accessor :phone_numbers
22
22
 
23
23
  attr_accessor :brand
@@ -127,8 +127,6 @@ module Zernio
127
127
  if (value = attributes[:'phone_numbers']).is_a?(Array)
128
128
  self.phone_numbers = value
129
129
  end
130
- else
131
- self.phone_numbers = nil
132
130
  end
133
131
 
134
132
  if attributes.key?(:'brand')
@@ -167,14 +165,6 @@ module Zernio
167
165
  invalid_properties.push('invalid value for "registration_type", registration_type cannot be nil.')
168
166
  end
169
167
 
170
- if @phone_numbers.nil?
171
- invalid_properties.push('invalid value for "phone_numbers", phone_numbers cannot be nil.')
172
- end
173
-
174
- if @phone_numbers.length < 1
175
- invalid_properties.push('invalid value for "phone_numbers", number of items must be greater than or equal to 1.')
176
- end
177
-
178
168
  if !@messaging_brand_name.nil? && @messaging_brand_name.to_s.length > 60
179
169
  invalid_properties.push('invalid value for "messaging_brand_name", the character length must be smaller than or equal to 60.')
180
170
  end
@@ -193,8 +183,6 @@ module Zernio
193
183
  return false if @registration_type.nil?
194
184
  registration_type_validator = EnumAttributeValidator.new('String', ["standard_10dlc", "sole_prop_10dlc", "toll_free"])
195
185
  return false unless registration_type_validator.valid?(@registration_type)
196
- return false if @phone_numbers.nil?
197
- return false if @phone_numbers.length < 1
198
186
  return false if !@messaging_brand_name.nil? && @messaging_brand_name.to_s.length > 60
199
187
  return false if !@messaging_brand_name.nil? && @messaging_brand_name.to_s.length < 2
200
188
  true
@@ -210,20 +198,6 @@ module Zernio
210
198
  @registration_type = registration_type
211
199
  end
212
200
 
213
- # Custom attribute writer method with validation
214
- # @param [Object] phone_numbers Value to be assigned
215
- def phone_numbers=(phone_numbers)
216
- if phone_numbers.nil?
217
- fail ArgumentError, 'phone_numbers cannot be nil'
218
- end
219
-
220
- if phone_numbers.length < 1
221
- fail ArgumentError, 'invalid value for "phone_numbers", number of items must be greater than or equal to 1.'
222
- end
223
-
224
- @phone_numbers = phone_numbers
225
- end
226
-
227
201
  # Custom attribute writer method with validation
228
202
  # @param [Object] messaging_brand_name Value to be assigned
229
203
  def messaging_brand_name=(messaging_brand_name)
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.593'
14
+ VERSION = '0.0.595'
15
15
  end
data/openapi.yaml CHANGED
@@ -21765,6 +21765,8 @@ paths:
21765
21765
  Supported platforms: Facebook, Instagram, Twitter/X, Bluesky, Reddit, Telegram.
21766
21766
 
21767
21767
  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 for more details.
21768
+
21769
+ Instagram and Facebook pre-connect history: when one of these accounts is connected, Zernio replays the DM history the account already holds on Meta, so conversations that began before the account was connected appear here. Up to 500 conversations per account are replayed. The replay runs in the background and can finish after a listing you have already taken, and replayed conversations keep their original lastMessageAt, so they sort into date order rather than appearing at the top. If you mirror this endpoint into your own store, re-run the sweep rather than relying on a single pass at connect time. Replayed history emits no webhooks and is stored as already read, so it never affects unread counts. Threads that Meta refuses to serve are skipped, and an account whose Instagram "connected tools" message access is turned off is not replayed at all.
21768
21770
  tags: [Messages]
21769
21771
  security: [{ bearerAuth: [] }]
21770
21772
  parameters:
@@ -22297,6 +22299,13 @@ paths:
22297
22299
  Reddit's inbox/sent windows (~100 most-recent items each); this is a
22298
22300
  Reddit platform limitation.
22299
22301
 
22302
+ Instagram and Facebook conversations include history from before the
22303
+ account was connected, replayed from Meta. That replay covers the 500
22304
+ most recent messages per conversation: a longer thread keeps its newest
22305
+ 500 and older messages are not retrievable. Messages that arrived after
22306
+ the account was connected are unaffected. Replayed messages are stored
22307
+ as already read and emit no webhooks.
22308
+
22300
22309
  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 for more details.
22301
22310
 
22302
22311
  This endpoint is read-only and does NOT mark messages as read or send
@@ -26585,14 +26594,13 @@ paths:
26585
26594
  application/json:
26586
26595
  schema:
26587
26596
  type: object
26588
- required: [registrationType, phoneNumbers]
26597
+ required: [registrationType]
26589
26598
  properties:
26590
26599
  registrationType: { type: string, enum: [standard_10dlc, sole_prop_10dlc, toll_free] }
26591
26600
  phoneNumbers:
26592
26601
  type: array
26593
- minItems: 1
26594
26602
  items: { type: string }
26595
- description: Your numbers this registration covers.
26603
+ description: 'Your numbers this registration covers. When omitted or empty on a 10DLC registration, defaults to your active SMS-enabled US local numbers not already covered by another registration.'
26596
26604
  brand:
26597
26605
  type: object
26598
26606
  description: Required for 10DLC. The legal entity behind the traffic (TCR brand).
@@ -101,7 +101,7 @@ describe 'MessagesApi' do
101
101
 
102
102
  # unit tests for get_inbox_conversation_messages
103
103
  # List messages
104
- # Fetch messages for a specific conversation, with cursor-based pagination and ordering control. Pagination: pass &#x60;pagination.nextCursor&#x60; from a prior response back as the &#x60;cursor&#x60; query param to fetch the next page. The cursor is opaque; do not parse or construct it client-side. Sort order: defaults to &#x60;asc&#x60; (oldest first, chat style). For the \&quot;show me the latest messages\&quot; pattern, pass &#x60;?sortOrder&#x3D;desc&amp;limit&#x3D;N&#x60;. Twitter, Instagram, Telegram, WhatsApp and Reddit honor the requested order from the local message store. For Facebook and Bluesky, the upstream APIs only return newest-first and have no order parameter — sort order is best-effort and only reverses items within a single page (pages still walk newest→oldest). The response field &#x60;sortOrderApplied&#x60; tells you what was actually applied. Reddit threads are paginated client-side because Reddit&#39;s API has no per-thread cursor. Very long threads may be upstream-truncated by Reddit&#39;s inbox/sent windows (~100 most-recent items each); this is a Reddit platform limitation. Twitter/X limitation: X&#39;s encrypted \&quot;X Chat\&quot; 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 for more details. This endpoint is read-only and does NOT mark messages as read or send read receipts. To mark a conversation read (and send WhatsApp blue ticks on eligible accounts), call &#x60;POST /v1/inbox/conversations/{conversationId}/read&#x60;.
104
+ # Fetch messages for a specific conversation, with cursor-based pagination and ordering control. Pagination: pass &#x60;pagination.nextCursor&#x60; from a prior response back as the &#x60;cursor&#x60; query param to fetch the next page. The cursor is opaque; do not parse or construct it client-side. Sort order: defaults to &#x60;asc&#x60; (oldest first, chat style). For the \&quot;show me the latest messages\&quot; pattern, pass &#x60;?sortOrder&#x3D;desc&amp;limit&#x3D;N&#x60;. Twitter, Instagram, Telegram, WhatsApp and Reddit honor the requested order from the local message store. For Facebook and Bluesky, the upstream APIs only return newest-first and have no order parameter — sort order is best-effort and only reverses items within a single page (pages still walk newest→oldest). The response field &#x60;sortOrderApplied&#x60; tells you what was actually applied. Reddit threads are paginated client-side because Reddit&#39;s API has no per-thread cursor. Very long threads may be upstream-truncated by Reddit&#39;s inbox/sent windows (~100 most-recent items each); this is a Reddit platform limitation. Instagram and Facebook conversations include history from before the account was connected, replayed from Meta. That replay covers the 500 most recent messages per conversation: a longer thread keeps its newest 500 and older messages are not retrievable. Messages that arrived after the account was connected are unaffected. Replayed messages are stored as already read and emit no webhooks. Twitter/X limitation: X&#39;s encrypted \&quot;X Chat\&quot; 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 for more details. This endpoint is read-only and does NOT mark messages as read or send read receipts. To mark a conversation read (and send WhatsApp blue ticks on eligible accounts), call &#x60;POST /v1/inbox/conversations/{conversationId}/read&#x60;.
105
105
  # @param conversation_id The conversation ID (id field from list conversations endpoint). This is the platform-specific conversation identifier, not an internal database ID.
106
106
  # @param account_id Social account ID
107
107
  # @param [Hash] opts the optional parameters
@@ -117,7 +117,7 @@ describe 'MessagesApi' do
117
117
 
118
118
  # unit tests for list_inbox_conversations
119
119
  # List conversations
120
- # 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 \&quot;X Chat\&quot; for many accounts. Messages sent or received through encrypted X Chat are not accessible via X&#39;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&#39;s docs on encrypted messaging for more details.
120
+ # 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 \&quot;X Chat\&quot; for many accounts. Messages sent or received through encrypted X Chat are not accessible via X&#39;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&#39;s docs on encrypted messaging for more details. Instagram and Facebook pre-connect history: when one of these accounts is connected, Zernio replays the DM history the account already holds on Meta, so conversations that began before the account was connected appear here. Up to 500 conversations per account are replayed. The replay runs in the background and can finish after a listing you have already taken, and replayed conversations keep their original lastMessageAt, so they sort into date order rather than appearing at the top. If you mirror this endpoint into your own store, re-run the sweep rather than relying on a single pass at connect time. Replayed history emits no webhooks and is stored as already read, so it never affects unread counts. Threads that Meta refuses to serve are skipped, and an account whose Instagram \&quot;connected tools\&quot; message access is turned off is not replayed at all.
121
121
  # @param [Hash] opts the optional parameters
122
122
  # @option opts [String] :profile_id Filter by profile ID
123
123
  # @option opts [String] :platform Filter by platform
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.593
4
+ version: 0.0.595
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -4823,7 +4823,7 @@ files:
4823
4823
  - spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
4824
4824
  - spec/models/you_tube_video_retention_response_spec.rb
4825
4825
  - spec/spec_helper.rb
4826
- - zernio-sdk-0.0.593.gem
4826
+ - zernio-sdk-0.0.595.gem
4827
4827
  - zernio-sdk.gemspec
4828
4828
  homepage: https://openapi-generator.tech
4829
4829
  licenses:
Binary file