late-sdk 0.0.591 → 0.0.593

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: 8aa65df672f7367306b9b803513602ab3ed9b461b0ae48e4edbb7b5866bac1de
4
- data.tar.gz: 9a52716f2c8d9c9ac28393898c1333be4b3449b6a143dcf6ef13bd983cba4416
3
+ metadata.gz: 3c6f70b23495d04a6b6108a5be5478ee0cb26463f7774cb301c757eba5105915
4
+ data.tar.gz: '057585b7982d021af2935bcab6a6bf259a5907d7bcddc1bb7f97007272ebb36e'
5
5
  SHA512:
6
- metadata.gz: 9962d289bcc0d3adeb98eacf6c329fc3585986b8258a506a74428244db0e71e1809a55503b5e8a2f5f89816f2c98d0de538a82d0bfe0808be66f1e7d65d28bbb
7
- data.tar.gz: af338d565f2c21ab6e5f826cb43d73132cd37fb786598a1cff14194bf8da110897a944030be6f218e7000dab6f4bce8d150a4c24aa848e6aebee02e2bc45437e
6
+ metadata.gz: 073b93b1d497051f470d6d1b7bf7a95bb3827284c6b21f660d5eeb3b63cd207f149cf0f68118d8a4c0026bc4a0e9c4108feb4c14bbbd40c366f0ddfaa5a2ce11
7
+ data.tar.gz: 1ba4fd212a5df4a9ef95c5ee6702c316059a84f91046f3c05d9a46340de02961ebca24b009cabab03ed6a47428ae154bd807b6d652aaecfa105b131113d7e85a
data/docs/MessagesApi.md CHANGED
@@ -845,7 +845,7 @@ end
845
845
 
846
846
  Send typing indicator
847
847
 
848
- 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 - WhatsApp: Shows \"typing...\" for up to 25 seconds. Requires a recent inbound message in the conversation (Meta references the inbound message id) and also marks that message as read as a side-effect. - 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.
848
+ Show a typing indicator in a conversation. Platform support: - Facebook Messenger: Shows \"Page is typing...\" for 20 seconds - Instagram: Shows \"typing...\" to the recipient (works for both Instagram Login and Facebook Login accounts). The recipient must be signed in to Instagram to see it. - Telegram: Shows \"Bot is typing...\" for 5 seconds - WhatsApp: Shows \"typing...\" for up to 25 seconds. Requires a recent inbound message in the conversation (Meta references the inbound message id) and also marks that message as read as a side-effect. - 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; `success` reports whether a typing indicator was actually sent to the platform (`false` on unsupported platforms or when the platform call failed).
849
849
 
850
850
  ### Examples
851
851
 
@@ -28,6 +28,7 @@ All URIs are relative to *https://zernio.com/api*
28
28
  | [**on_post_external_updated**](WebhookEventsApi.md#on_post_external_updated) | **POST** /post.external.updated | External post updated event |
29
29
  | [**on_post_failed**](WebhookEventsApi.md#on_post_failed) | **POST** /post.failed | Post failed event |
30
30
  | [**on_post_partial**](WebhookEventsApi.md#on_post_partial) | **POST** /post.partial | Post partial event |
31
+ | [**on_post_platform_deleted**](WebhookEventsApi.md#on_post_platform_deleted) | **POST** /post.platform.deleted | Post platform deleted event |
31
32
  | [**on_post_platform_failed**](WebhookEventsApi.md#on_post_platform_failed) | **POST** /post.platform.failed | Post platform failed event |
32
33
  | [**on_post_platform_published**](WebhookEventsApi.md#on_post_platform_published) | **POST** /post.platform.published | Post platform published event |
33
34
  | [**on_post_published**](WebhookEventsApi.md#on_post_published) | **POST** /post.published | Post published event |
@@ -1684,6 +1685,74 @@ nil (empty response body)
1684
1685
  - **Accept**: Not defined
1685
1686
 
1686
1687
 
1688
+ ## on_post_platform_deleted
1689
+
1690
+ > on_post_platform_deleted(webhook_payload_post_platform)
1691
+
1692
+ Post platform deleted event
1693
+
1694
+ Fired when Zernio's background sync detects that a platform target published through Zernio was later deleted on the platform (e.g. the user deleted the Instagram post natively). Detection is poll-driven (~hourly), not real-time, and fires once per platform target. `platform.deletedAt` carries the detection time. Detection is listing-based: a false positive self-heals in Zernio's data when the post reappears, but the event is not retracted. Coverage is bounded to the posts the platform listing returns.
1695
+
1696
+ ### Examples
1697
+
1698
+ ```ruby
1699
+ require 'time'
1700
+ require 'zernio-sdk'
1701
+ # setup authorization
1702
+ Zernio.configure do |config|
1703
+ # Configure Bearer authorization (JWT): bearerAuth
1704
+ config.access_token = 'YOUR_BEARER_TOKEN'
1705
+ end
1706
+
1707
+ api_instance = Zernio::WebhookEventsApi.new
1708
+ webhook_payload_post_platform = # WebhookPayloadPostPlatform |
1709
+
1710
+ begin
1711
+ # Post platform deleted event
1712
+ api_instance.on_post_platform_deleted(webhook_payload_post_platform)
1713
+ rescue Zernio::ApiError => e
1714
+ puts "Error when calling WebhookEventsApi->on_post_platform_deleted: #{e}"
1715
+ end
1716
+ ```
1717
+
1718
+ #### Using the on_post_platform_deleted_with_http_info variant
1719
+
1720
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
1721
+
1722
+ > <Array(nil, Integer, Hash)> on_post_platform_deleted_with_http_info(webhook_payload_post_platform)
1723
+
1724
+ ```ruby
1725
+ begin
1726
+ # Post platform deleted event
1727
+ data, status_code, headers = api_instance.on_post_platform_deleted_with_http_info(webhook_payload_post_platform)
1728
+ p status_code # => 2xx
1729
+ p headers # => { ... }
1730
+ p data # => nil
1731
+ rescue Zernio::ApiError => e
1732
+ puts "Error when calling WebhookEventsApi->on_post_platform_deleted_with_http_info: #{e}"
1733
+ end
1734
+ ```
1735
+
1736
+ ### Parameters
1737
+
1738
+ | Name | Type | Description | Notes |
1739
+ | ---- | ---- | ----------- | ----- |
1740
+ | **webhook_payload_post_platform** | [**WebhookPayloadPostPlatform**](WebhookPayloadPostPlatform.md) | | |
1741
+
1742
+ ### Return type
1743
+
1744
+ nil (empty response body)
1745
+
1746
+ ### Authorization
1747
+
1748
+ [bearerAuth](../README.md#bearerAuth)
1749
+
1750
+ ### HTTP request headers
1751
+
1752
+ - **Content-Type**: application/json
1753
+ - **Accept**: Not defined
1754
+
1755
+
1687
1756
  ## on_post_platform_failed
1688
1757
 
1689
1758
  > on_post_platform_failed(webhook_payload_post_platform)
@@ -6,9 +6,10 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **name** | **String** | Platform name (e.g. &#x60;twitter&#x60;, &#x60;tiktok&#x60;, &#x60;instagram&#x60;). | |
8
8
  | **status** | **String** | Terminal status this event fires on. Matches the event suffix. | |
9
- | **platform_post_id** | **String** | Platform-native post id. Present on &#x60;published&#x60;, absent on &#x60;failed&#x60;. | [optional] |
10
- | **published_url** | **String** | Public URL to the platform-side post. Present on &#x60;published&#x60; (when the platform exposes one and it is not a draft). | [optional] |
11
- | **error** | **String** | Error message from the platform. Present on &#x60;failed&#x60;, absent on &#x60;published&#x60;. | [optional] |
9
+ | **platform_post_id** | **String** | Platform-native post id. Present on &#x60;published&#x60; and &#x60;deleted&#x60;, absent on &#x60;failed&#x60;. | [optional] |
10
+ | **published_url** | **String** | Public URL to the platform-side post. Present on &#x60;published&#x60; (when the platform exposes one and it is not a draft) and on &#x60;deleted&#x60; (when one was recorded at publish time). | [optional] |
11
+ | **error** | **String** | Error message from the platform. Present on &#x60;failed&#x60; only. | [optional] |
12
+ | **deleted_at** | **Time** | When the platform-side deletion was detected by Zernio sync (ISO 8601). Present only on &#x60;post.platform.deleted&#x60;. | [optional] |
12
13
 
13
14
  ## Example
14
15
 
@@ -20,7 +21,8 @@ instance = Zernio::WebhookPayloadPostPlatformPlatform.new(
20
21
  status: null,
21
22
  platform_post_id: null,
22
23
  published_url: null,
23
- error: null
24
+ error: null,
25
+ deleted_at: null
24
26
  )
25
27
  ```
26
28
 
@@ -913,7 +913,7 @@ module Zernio
913
913
  end
914
914
 
915
915
  # Send typing indicator
916
- # 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 - WhatsApp: Shows \"typing...\" for up to 25 seconds. Requires a recent inbound message in the conversation (Meta references the inbound message id) and also marks that message as read as a side-effect. - 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.
916
+ # Show a typing indicator in a conversation. Platform support: - Facebook Messenger: Shows \"Page is typing...\" for 20 seconds - Instagram: Shows \"typing...\" to the recipient (works for both Instagram Login and Facebook Login accounts). The recipient must be signed in to Instagram to see it. - Telegram: Shows \"Bot is typing...\" for 5 seconds - WhatsApp: Shows \"typing...\" for up to 25 seconds. Requires a recent inbound message in the conversation (Meta references the inbound message id) and also marks that message as read as a side-effect. - 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; `success` reports whether a typing indicator was actually sent to the platform (`false` on unsupported platforms or when the platform call failed).
917
917
  # @param conversation_id [String] The conversation ID
918
918
  # @param send_typing_indicator_request [SendTypingIndicatorRequest]
919
919
  # @param [Hash] opts the optional parameters
@@ -924,7 +924,7 @@ module Zernio
924
924
  end
925
925
 
926
926
  # Send typing indicator
927
- # Show a typing indicator in a conversation. Platform support: - Facebook Messenger: Shows \&quot;Page is typing...\&quot; for 20 seconds - Telegram: Shows \&quot;Bot is typing...\&quot; for 5 seconds - WhatsApp: Shows \&quot;typing...\&quot; for up to 25 seconds. Requires a recent inbound message in the conversation (Meta references the inbound message id) and also marks that message as read as a side-effect. - All others: Returns 200 but no-op (platform doesn&#39;t support it) Typing indicators are best-effort. The endpoint always returns 200 even if the platform call fails.
927
+ # Show a typing indicator in a conversation. Platform support: - Facebook Messenger: Shows \&quot;Page is typing...\&quot; for 20 seconds - Instagram: Shows \&quot;typing...\&quot; to the recipient (works for both Instagram Login and Facebook Login accounts). The recipient must be signed in to Instagram to see it. - Telegram: Shows \&quot;Bot is typing...\&quot; for 5 seconds - WhatsApp: Shows \&quot;typing...\&quot; for up to 25 seconds. Requires a recent inbound message in the conversation (Meta references the inbound message id) and also marks that message as read as a side-effect. - All others: Returns 200 but no-op (platform doesn&#39;t support it) Typing indicators are best-effort. The endpoint always returns 200 even if the platform call fails; &#x60;success&#x60; reports whether a typing indicator was actually sent to the platform (&#x60;false&#x60; on unsupported platforms or when the platform call failed).
928
928
  # @param conversation_id [String] The conversation ID
929
929
  # @param send_typing_indicator_request [SendTypingIndicatorRequest]
930
930
  # @param [Hash] opts the optional parameters
@@ -1603,6 +1603,72 @@ module Zernio
1603
1603
  return data, status_code, headers
1604
1604
  end
1605
1605
 
1606
+ # Post platform deleted event
1607
+ # Fired when Zernio's background sync detects that a platform target published through Zernio was later deleted on the platform (e.g. the user deleted the Instagram post natively). Detection is poll-driven (~hourly), not real-time, and fires once per platform target. `platform.deletedAt` carries the detection time. Detection is listing-based: a false positive self-heals in Zernio's data when the post reappears, but the event is not retracted. Coverage is bounded to the posts the platform listing returns.
1608
+ # @param webhook_payload_post_platform [WebhookPayloadPostPlatform]
1609
+ # @param [Hash] opts the optional parameters
1610
+ # @return [nil]
1611
+ def on_post_platform_deleted(webhook_payload_post_platform, opts = {})
1612
+ on_post_platform_deleted_with_http_info(webhook_payload_post_platform, opts)
1613
+ nil
1614
+ end
1615
+
1616
+ # Post platform deleted event
1617
+ # Fired when Zernio&#39;s background sync detects that a platform target published through Zernio was later deleted on the platform (e.g. the user deleted the Instagram post natively). Detection is poll-driven (~hourly), not real-time, and fires once per platform target. &#x60;platform.deletedAt&#x60; carries the detection time. Detection is listing-based: a false positive self-heals in Zernio&#39;s data when the post reappears, but the event is not retracted. Coverage is bounded to the posts the platform listing returns.
1618
+ # @param webhook_payload_post_platform [WebhookPayloadPostPlatform]
1619
+ # @param [Hash] opts the optional parameters
1620
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
1621
+ def on_post_platform_deleted_with_http_info(webhook_payload_post_platform, opts = {})
1622
+ if @api_client.config.debugging
1623
+ @api_client.config.logger.debug 'Calling API: WebhookEventsApi.on_post_platform_deleted ...'
1624
+ end
1625
+ # verify the required parameter 'webhook_payload_post_platform' is set
1626
+ if @api_client.config.client_side_validation && webhook_payload_post_platform.nil?
1627
+ fail ArgumentError, "Missing the required parameter 'webhook_payload_post_platform' when calling WebhookEventsApi.on_post_platform_deleted"
1628
+ end
1629
+ # resource path
1630
+ local_var_path = '/post.platform.deleted'
1631
+
1632
+ # query parameters
1633
+ query_params = opts[:query_params] || {}
1634
+
1635
+ # header parameters
1636
+ header_params = opts[:header_params] || {}
1637
+ # HTTP header 'Content-Type'
1638
+ content_type = @api_client.select_header_content_type(['application/json'])
1639
+ if !content_type.nil?
1640
+ header_params['Content-Type'] = content_type
1641
+ end
1642
+
1643
+ # form parameters
1644
+ form_params = opts[:form_params] || {}
1645
+
1646
+ # http body (model)
1647
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(webhook_payload_post_platform)
1648
+
1649
+ # return_type
1650
+ return_type = opts[:debug_return_type]
1651
+
1652
+ # auth_names
1653
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
1654
+
1655
+ new_options = opts.merge(
1656
+ :operation => :"WebhookEventsApi.on_post_platform_deleted",
1657
+ :header_params => header_params,
1658
+ :query_params => query_params,
1659
+ :form_params => form_params,
1660
+ :body => post_body,
1661
+ :auth_names => auth_names,
1662
+ :return_type => return_type
1663
+ )
1664
+
1665
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
1666
+ if @api_client.config.debugging
1667
+ @api_client.config.logger.debug "API called: WebhookEventsApi#on_post_platform_deleted\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1668
+ end
1669
+ return data, status_code, headers
1670
+ end
1671
+
1606
1672
  # Post platform failed event
1607
1673
  # Fired once per platform target inside a post as that platform fails permanently. Temporary/retryable failures do NOT fire this event — only permanent ones, so retry loops stay quiet. The envelope event (`post.failed` / `post.partial`) fires separately AFTER all platforms have terminated.
1608
1674
  # @param webhook_payload_post_platform [WebhookPayloadPostPlatform]
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Zernio
17
- # Webhook payload for the per-platform terminal events `post.platform.published` and `post.platform.failed`, and for `post.tiktok.url_resolved` (same shape, fired when a published TikTok post's public URL is backfilled). Terminal events fire once per platform target inside a post as that platform reaches a terminal state (published or permanent failure). The `post` envelope mirrors the shape of `WebhookPayloadPost` so consumers can reuse rendering logic; the `platform` block identifies which specific platform transitioned; the `account` block identifies the connected social account behind that platform-write.
17
+ # Webhook payload for the per-platform terminal events `post.platform.published` and `post.platform.failed`, for `post.platform.deleted` (same shape, fired when Zernio's background sync detects that a platform target published through Zernio was later deleted on the platform; poll-driven ~hourly, not real-time), and for `post.tiktok.url_resolved` (same shape, fired when a published TikTok post's public URL is backfilled). Terminal events fire once per platform target inside a post as that platform reaches a terminal state (published or permanent failure). The `post` envelope mirrors the shape of `WebhookPayloadPost` so consumers can reuse rendering logic; the `platform` block identifies which specific platform transitioned; the `account` block identifies the connected social account behind that platform-write.
18
18
  class WebhookPayloadPostPlatform < ApiModelBase
19
19
  # Stable webhook event ID.
20
20
  attr_accessor :id
@@ -182,7 +182,7 @@ module Zernio
182
182
  warn '[DEPRECATED] the `valid?` method is obsolete'
183
183
  return false if @id.nil?
184
184
  return false if @event.nil?
185
- event_validator = EnumAttributeValidator.new('String', ["post.platform.published", "post.platform.failed", "post.tiktok.url_resolved"])
185
+ event_validator = EnumAttributeValidator.new('String', ["post.platform.published", "post.platform.failed", "post.platform.deleted", "post.tiktok.url_resolved"])
186
186
  return false unless event_validator.valid?(@event)
187
187
  return false if @post.nil?
188
188
  return false if @platform.nil?
@@ -204,7 +204,7 @@ module Zernio
204
204
  # Custom attribute writer method checking allowed values (enum).
205
205
  # @param [Object] event Object to be assigned
206
206
  def event=(event)
207
- validator = EnumAttributeValidator.new('String', ["post.platform.published", "post.platform.failed", "post.tiktok.url_resolved"])
207
+ validator = EnumAttributeValidator.new('String', ["post.platform.published", "post.platform.failed", "post.platform.deleted", "post.tiktok.url_resolved"])
208
208
  unless validator.valid?(event)
209
209
  fail ArgumentError, "invalid value for \"event\", must be one of #{validator.allowable_values}."
210
210
  end
@@ -22,15 +22,18 @@ module Zernio
22
22
  # Terminal status this event fires on. Matches the event suffix.
23
23
  attr_accessor :status
24
24
 
25
- # Platform-native post id. Present on `published`, absent on `failed`.
25
+ # Platform-native post id. Present on `published` and `deleted`, absent on `failed`.
26
26
  attr_accessor :platform_post_id
27
27
 
28
- # Public URL to the platform-side post. Present on `published` (when the platform exposes one and it is not a draft).
28
+ # Public URL to the platform-side post. Present on `published` (when the platform exposes one and it is not a draft) and on `deleted` (when one was recorded at publish time).
29
29
  attr_accessor :published_url
30
30
 
31
- # Error message from the platform. Present on `failed`, absent on `published`.
31
+ # Error message from the platform. Present on `failed` only.
32
32
  attr_accessor :error
33
33
 
34
+ # When the platform-side deletion was detected by Zernio sync (ISO 8601). Present only on `post.platform.deleted`.
35
+ attr_accessor :deleted_at
36
+
34
37
  class EnumAttributeValidator
35
38
  attr_reader :datatype
36
39
  attr_reader :allowable_values
@@ -60,7 +63,8 @@ module Zernio
60
63
  :'status' => :'status',
61
64
  :'platform_post_id' => :'platformPostId',
62
65
  :'published_url' => :'publishedUrl',
63
- :'error' => :'error'
66
+ :'error' => :'error',
67
+ :'deleted_at' => :'deletedAt'
64
68
  }
65
69
  end
66
70
 
@@ -81,7 +85,8 @@ module Zernio
81
85
  :'status' => :'String',
82
86
  :'platform_post_id' => :'String',
83
87
  :'published_url' => :'String',
84
- :'error' => :'String'
88
+ :'error' => :'String',
89
+ :'deleted_at' => :'Time'
85
90
  }
86
91
  end
87
92
 
@@ -130,6 +135,10 @@ module Zernio
130
135
  if attributes.key?(:'error')
131
136
  self.error = attributes[:'error']
132
137
  end
138
+
139
+ if attributes.key?(:'deleted_at')
140
+ self.deleted_at = attributes[:'deleted_at']
141
+ end
133
142
  end
134
143
 
135
144
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -154,7 +163,7 @@ module Zernio
154
163
  warn '[DEPRECATED] the `valid?` method is obsolete'
155
164
  return false if @name.nil?
156
165
  return false if @status.nil?
157
- status_validator = EnumAttributeValidator.new('String', ["published", "failed"])
166
+ status_validator = EnumAttributeValidator.new('String', ["published", "failed", "deleted"])
158
167
  return false unless status_validator.valid?(@status)
159
168
  true
160
169
  end
@@ -172,7 +181,7 @@ module Zernio
172
181
  # Custom attribute writer method checking allowed values (enum).
173
182
  # @param [Object] status Object to be assigned
174
183
  def status=(status)
175
- validator = EnumAttributeValidator.new('String', ["published", "failed"])
184
+ validator = EnumAttributeValidator.new('String', ["published", "failed", "deleted"])
176
185
  unless validator.valid?(status)
177
186
  fail ArgumentError, "invalid value for \"status\", must be one of #{validator.allowable_values}."
178
187
  end
@@ -188,7 +197,8 @@ module Zernio
188
197
  status == o.status &&
189
198
  platform_post_id == o.platform_post_id &&
190
199
  published_url == o.published_url &&
191
- error == o.error
200
+ error == o.error &&
201
+ deleted_at == o.deleted_at
192
202
  end
193
203
 
194
204
  # @see the `==` method
@@ -200,7 +210,7 @@ module Zernio
200
210
  # Calculates hash code according to all attributes.
201
211
  # @return [Integer] Hash code
202
212
  def hash
203
- [name, status, platform_post_id, published_url, error].hash
213
+ [name, status, platform_post_id, published_url, error, deleted_at].hash
204
214
  end
205
215
 
206
216
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.591'
14
+ VERSION = '0.0.593'
15
15
  end
data/openapi.yaml CHANGED
@@ -142,6 +142,7 @@ x-documentation:
142
142
  - `post.recycled` - Post recycled (cloned and re-scheduled)
143
143
  - `post.platform.published` - A single platform target inside a post finished publishing successfully. Fires once per platform-account as it terminates, without waiting for other platforms on the same post. Use this for incremental UIs; use `post.published` for the post-level rollup.
144
144
  - `post.platform.failed` - A single platform target inside a post failed permanently. Temporary/retryable failures do NOT fire this event, only permanent ones, so retry loops stay quiet.
145
+ - `post.platform.deleted` - A single platform target inside a post was detected as deleted on the platform after publishing (e.g. the user deleted the Instagram post natively). Detection is poll-driven via Zernio background sync (~hourly), not real-time. `platform.deletedAt` carries the detection time. Coverage is bounded to the posts the platform listing returns.
145
146
  - `post.tiktok.url_resolved` - A published TikTok post's public URL became available. TikTok exposes the numeric video id asynchronously, so `post.published` / `post.platform.published` can carry an empty `publishedUrl` for TikTok; this event delivers the URL once resolved (at most once per platform target). Never fires for drafts or private posts, which have no public URL.
146
147
  - `post.external.created` - A native post authored outside Zernio (e.g. a Google Business Profile localPost created in the Google UI) was detected by our sync for the first time. Poll-driven (~hourly), not real-time. Payload carries `post.source: "external"`.
147
148
  - `post.external.updated` - A tracked native post's text or media changed on the platform. Edits are detected by comparing text/media structure and (where the platform exposes it) the platform's own edit timestamp; media-URL-only refreshes do not fire this.
@@ -403,7 +404,7 @@ tags:
403
404
  - name: Webhooks
404
405
  description: |
405
406
  Configure webhooks for real-time notifications. Webhooks can be created from the dashboard (Settings → Webhooks) or via this API.
406
- Events: post.scheduled, post.published, post.failed, post.partial, post.cancelled, post.recycled, post.platform.published, post.platform.failed, post.tiktok.url_resolved, post.external.created, post.external.updated, post.external.deleted, account.connected, account.disconnected, account.ads.initial_sync_completed, message.received, conversation.started, call.received, call.ended, call.failed, call.permission_request, message.sent, message.edited, message.deleted, message.delivered, message.read, message.failed, reaction.received, comment.received, review.new, review.updated, lead.received, ad.status_changed, whatsapp.template.status_updated, whatsapp.automatic_event, whatsapp.number.activated, whatsapp.number.declined, whatsapp.number.action_required, whatsapp.number.verification_required, whatsapp.number.suspended, whatsapp.number.reactivated, whatsapp.number.released, whatsapp.number.kyc_submitted, verification.approved, verification.failed, webhook.test.
407
+ Events: post.scheduled, post.published, post.failed, post.partial, post.cancelled, post.recycled, post.platform.published, post.platform.failed, post.platform.deleted, post.tiktok.url_resolved, post.external.created, post.external.updated, post.external.deleted, account.connected, account.disconnected, account.ads.initial_sync_completed, message.received, conversation.started, call.received, call.ended, call.failed, call.permission_request, message.sent, message.edited, message.deleted, message.delivered, message.read, message.failed, reaction.received, comment.received, review.new, review.updated, lead.received, ad.status_changed, whatsapp.template.status_updated, whatsapp.automatic_event, whatsapp.number.activated, whatsapp.number.declined, whatsapp.number.action_required, whatsapp.number.verification_required, whatsapp.number.suspended, whatsapp.number.reactivated, whatsapp.number.released, whatsapp.number.kyc_submitted, verification.approved, verification.failed, webhook.test.
407
408
  Security: optional HMAC-SHA256 signature in X-Zernio-Signature header. Configure a secret key to enable verification. Custom headers supported.
408
409
  - name: Webhook Events
409
410
  description: |
@@ -2010,7 +2011,7 @@ components:
2010
2011
  type: array
2011
2012
  items:
2012
2013
  type: string
2013
- enum: [post.scheduled, post.published, post.failed, post.partial, post.cancelled, post.recycled, post.platform.published, post.platform.failed, post.tiktok.url_resolved, post.external.created, post.external.updated, post.external.deleted, account.connected, account.disconnected, account.ads.initial_sync_completed, message.received, conversation.started, call.received, call.ended, call.failed, call.permission_request, message.sent, message.edited, message.deleted, message.delivered, message.read, message.failed, reaction.received, comment.received, review.new, review.updated, lead.received, ad.status_changed, whatsapp.template.status_updated, whatsapp.automatic_event, whatsapp.number.activated, whatsapp.number.declined, whatsapp.number.action_required, whatsapp.number.verification_required, whatsapp.number.suspended, whatsapp.number.reactivated, whatsapp.number.released, whatsapp.number.kyc_submitted, verification.approved, verification.failed]
2014
+ enum: [post.scheduled, post.published, post.failed, post.partial, post.cancelled, post.recycled, post.platform.published, post.platform.failed, post.platform.deleted, post.tiktok.url_resolved, post.external.created, post.external.updated, post.external.deleted, account.connected, account.disconnected, account.ads.initial_sync_completed, message.received, conversation.started, call.received, call.ended, call.failed, call.permission_request, message.sent, message.edited, message.deleted, message.delivered, message.read, message.failed, reaction.received, comment.received, review.new, review.updated, lead.received, ad.status_changed, whatsapp.template.status_updated, whatsapp.automatic_event, whatsapp.number.activated, whatsapp.number.declined, whatsapp.number.action_required, whatsapp.number.verification_required, whatsapp.number.suspended, whatsapp.number.reactivated, whatsapp.number.released, whatsapp.number.kyc_submitted, verification.approved, verification.failed]
2014
2015
  description: Events subscribed to
2015
2016
  isActive:
2016
2017
  type: boolean
@@ -2134,15 +2135,19 @@ components:
2134
2135
  type: object
2135
2136
  description: |
2136
2137
  Webhook payload for the per-platform terminal events
2137
- `post.platform.published` and `post.platform.failed`, and for
2138
- `post.tiktok.url_resolved` (same shape, fired when a published
2139
- TikTok post's public URL is backfilled). Terminal events fire once
2140
- per platform target inside a post as that platform reaches a
2141
- terminal state (published or permanent failure). The `post`
2142
- envelope mirrors the shape of `WebhookPayloadPost` so consumers
2143
- can reuse rendering logic; the `platform` block identifies which
2144
- specific platform transitioned; the `account` block identifies
2145
- the connected social account behind that platform-write.
2138
+ `post.platform.published` and `post.platform.failed`, for
2139
+ `post.platform.deleted` (same shape, fired when Zernio's background
2140
+ sync detects that a platform target published through Zernio was
2141
+ later deleted on the platform; poll-driven ~hourly, not real-time),
2142
+ and for `post.tiktok.url_resolved` (same shape, fired when a
2143
+ published TikTok post's public URL is backfilled). Terminal events
2144
+ fire once per platform target inside a post as that platform
2145
+ reaches a terminal state (published or permanent failure). The
2146
+ `post` envelope mirrors the shape of `WebhookPayloadPost` so
2147
+ consumers can reuse rendering logic; the `platform` block
2148
+ identifies which specific platform transitioned; the `account`
2149
+ block identifies the connected social account behind that
2150
+ platform-write.
2146
2151
  required: [id, event, post, platform, account, timestamp]
2147
2152
  properties:
2148
2153
  id:
@@ -2150,7 +2155,7 @@ components:
2150
2155
  description: Stable webhook event ID.
2151
2156
  event:
2152
2157
  type: string
2153
- enum: [post.platform.published, post.platform.failed, post.tiktok.url_resolved]
2158
+ enum: [post.platform.published, post.platform.failed, post.platform.deleted, post.tiktok.url_resolved]
2154
2159
  post:
2155
2160
  type: object
2156
2161
  required: [id, content, status, scheduledFor, platforms]
@@ -2191,17 +2196,21 @@ components:
2191
2196
  description: Platform name (e.g. `twitter`, `tiktok`, `instagram`).
2192
2197
  status:
2193
2198
  type: string
2194
- enum: [published, failed]
2199
+ enum: [published, failed, deleted]
2195
2200
  description: Terminal status this event fires on. Matches the event suffix.
2196
2201
  platformPostId:
2197
2202
  type: string
2198
- description: Platform-native post id. Present on `published`, absent on `failed`.
2203
+ description: 'Platform-native post id. Present on `published` and `deleted`, absent on `failed`.'
2199
2204
  publishedUrl:
2200
2205
  type: string
2201
- description: Public URL to the platform-side post. Present on `published` (when the platform exposes one and it is not a draft).
2206
+ description: 'Public URL to the platform-side post. Present on `published` (when the platform exposes one and it is not a draft) and on `deleted` (when one was recorded at publish time).'
2202
2207
  error:
2203
2208
  type: string
2204
- description: Error message from the platform. Present on `failed`, absent on `published`.
2209
+ description: Error message from the platform. Present on `failed` only.
2210
+ deletedAt:
2211
+ type: string
2212
+ format: date-time
2213
+ description: 'When the platform-side deletion was detected by Zernio sync (ISO 8601). Present only on `post.platform.deleted`.'
2205
2214
  account:
2206
2215
  type: object
2207
2216
  description: The connected social account the platform-write went through.
@@ -7294,6 +7303,29 @@ webhooks:
7294
7303
  responses:
7295
7304
  '200':
7296
7305
  description: Webhook received successfully
7306
+ post.platform.deleted:
7307
+ post:
7308
+ operationId: onPostPlatformDeleted
7309
+ summary: Post platform deleted event
7310
+ description: |
7311
+ Fired when Zernio's background sync detects that a platform target
7312
+ published through Zernio was later deleted on the platform (e.g.
7313
+ the user deleted the Instagram post natively). Detection is
7314
+ poll-driven (~hourly), not real-time, and fires once per platform
7315
+ target. `platform.deletedAt` carries the detection time. Detection
7316
+ is listing-based: a false positive self-heals in Zernio's data when
7317
+ the post reappears, but the event is not retracted. Coverage is
7318
+ bounded to the posts the platform listing returns.
7319
+ tags: [Webhook Events]
7320
+ requestBody:
7321
+ required: true
7322
+ content:
7323
+ application/json:
7324
+ schema:
7325
+ $ref: '#/components/schemas/WebhookPayloadPostPlatform'
7326
+ responses:
7327
+ '200':
7328
+ description: Webhook received successfully
7297
7329
  post.tiktok.url_resolved:
7298
7330
  post:
7299
7331
  operationId: onPostTikTokUrlResolved
@@ -21257,7 +21289,7 @@ paths:
21257
21289
  minItems: 1
21258
21290
  items:
21259
21291
  type: string
21260
- enum: [post.scheduled, post.published, post.failed, post.partial, post.cancelled, post.recycled, post.platform.published, post.platform.failed, post.tiktok.url_resolved, post.external.created, post.external.updated, post.external.deleted, account.connected, account.disconnected, account.ads.initial_sync_completed, message.received, conversation.started, call.received, call.ended, call.failed, call.permission_request, message.sent, message.edited, message.deleted, message.delivered, message.read, message.failed, reaction.received, comment.received, review.new, review.updated, lead.received, ad.status_changed, whatsapp.template.status_updated, whatsapp.automatic_event, whatsapp.number.activated, whatsapp.number.declined, whatsapp.number.action_required, whatsapp.number.verification_required, whatsapp.number.suspended, whatsapp.number.reactivated, whatsapp.number.released, whatsapp.number.kyc_submitted, verification.approved, verification.failed]
21292
+ enum: [post.scheduled, post.published, post.failed, post.partial, post.cancelled, post.recycled, post.platform.published, post.platform.failed, post.platform.deleted, post.tiktok.url_resolved, post.external.created, post.external.updated, post.external.deleted, account.connected, account.disconnected, account.ads.initial_sync_completed, message.received, conversation.started, call.received, call.ended, call.failed, call.permission_request, message.sent, message.edited, message.deleted, message.delivered, message.read, message.failed, reaction.received, comment.received, review.new, review.updated, lead.received, ad.status_changed, whatsapp.template.status_updated, whatsapp.automatic_event, whatsapp.number.activated, whatsapp.number.declined, whatsapp.number.action_required, whatsapp.number.verification_required, whatsapp.number.suspended, whatsapp.number.reactivated, whatsapp.number.released, whatsapp.number.kyc_submitted, verification.approved, verification.failed]
21261
21293
  description: Events to subscribe to (at least one required)
21262
21294
  isActive:
21263
21295
  type: boolean
@@ -21331,7 +21363,7 @@ paths:
21331
21363
  minItems: 1
21332
21364
  items:
21333
21365
  type: string
21334
- enum: [post.scheduled, post.published, post.failed, post.partial, post.cancelled, post.recycled, post.platform.published, post.platform.failed, post.tiktok.url_resolved, post.external.created, post.external.updated, post.external.deleted, account.connected, account.disconnected, account.ads.initial_sync_completed, message.received, conversation.started, call.received, call.ended, call.failed, call.permission_request, message.sent, message.edited, message.deleted, message.delivered, message.read, message.failed, reaction.received, comment.received, review.new, review.updated, lead.received, ad.status_changed, whatsapp.template.status_updated, whatsapp.automatic_event, whatsapp.number.activated, whatsapp.number.declined, whatsapp.number.action_required, whatsapp.number.verification_required, whatsapp.number.suspended, whatsapp.number.reactivated, whatsapp.number.released, whatsapp.number.kyc_submitted, verification.approved, verification.failed]
21366
+ enum: [post.scheduled, post.published, post.failed, post.partial, post.cancelled, post.recycled, post.platform.published, post.platform.failed, post.platform.deleted, post.tiktok.url_resolved, post.external.created, post.external.updated, post.external.deleted, account.connected, account.disconnected, account.ads.initial_sync_completed, message.received, conversation.started, call.received, call.ended, call.failed, call.permission_request, message.sent, message.edited, message.deleted, message.delivered, message.read, message.failed, reaction.received, comment.received, review.new, review.updated, lead.received, ad.status_changed, whatsapp.template.status_updated, whatsapp.automatic_event, whatsapp.number.activated, whatsapp.number.declined, whatsapp.number.action_required, whatsapp.number.verification_required, whatsapp.number.suspended, whatsapp.number.reactivated, whatsapp.number.released, whatsapp.number.kyc_submitted, verification.approved, verification.failed]
21335
21367
  description: Events to subscribe to. Must contain at least one event if provided.
21336
21368
  isActive:
21337
21369
  type: boolean
@@ -23092,11 +23124,12 @@ paths:
23092
23124
  description: |
23093
23125
  Show a typing indicator in a conversation. Platform support:
23094
23126
  - Facebook Messenger: Shows "Page is typing..." for 20 seconds
23127
+ - Instagram: Shows "typing..." to the recipient (works for both Instagram Login and Facebook Login accounts). The recipient must be signed in to Instagram to see it.
23095
23128
  - Telegram: Shows "Bot is typing..." for 5 seconds
23096
23129
  - WhatsApp: Shows "typing..." for up to 25 seconds. Requires a recent inbound message in the conversation (Meta references the inbound message id) and also marks that message as read as a side-effect.
23097
23130
  - All others: Returns 200 but no-op (platform doesn't support it)
23098
23131
 
23099
- Typing indicators are best-effort. The endpoint always returns 200 even if the platform call fails.
23132
+ Typing indicators are best-effort. The endpoint always returns 200 even if the platform call fails; `success` reports whether a typing indicator was actually sent to the platform (`false` on unsupported platforms or when the platform call failed).
23100
23133
  tags: [Messages]
23101
23134
  security: [{ bearerAuth: [] }]
23102
23135
  parameters:
@@ -23123,6 +23156,7 @@ paths:
23123
23156
  type: object
23124
23157
  properties:
23125
23158
  success: { type: boolean }
23159
+ '400': { $ref: '#/components/responses/BadRequest' }
23126
23160
  '401': { $ref: '#/components/responses/Unauthorized' }
23127
23161
  '403':
23128
23162
  description: Inbox addon required
@@ -193,7 +193,7 @@ describe 'MessagesApi' do
193
193
 
194
194
  # unit tests for send_typing_indicator
195
195
  # Send typing indicator
196
- # Show a typing indicator in a conversation. Platform support: - Facebook Messenger: Shows \&quot;Page is typing...\&quot; for 20 seconds - Telegram: Shows \&quot;Bot is typing...\&quot; for 5 seconds - WhatsApp: Shows \&quot;typing...\&quot; for up to 25 seconds. Requires a recent inbound message in the conversation (Meta references the inbound message id) and also marks that message as read as a side-effect. - All others: Returns 200 but no-op (platform doesn&#39;t support it) Typing indicators are best-effort. The endpoint always returns 200 even if the platform call fails.
196
+ # Show a typing indicator in a conversation. Platform support: - Facebook Messenger: Shows \&quot;Page is typing...\&quot; for 20 seconds - Instagram: Shows \&quot;typing...\&quot; to the recipient (works for both Instagram Login and Facebook Login accounts). The recipient must be signed in to Instagram to see it. - Telegram: Shows \&quot;Bot is typing...\&quot; for 5 seconds - WhatsApp: Shows \&quot;typing...\&quot; for up to 25 seconds. Requires a recent inbound message in the conversation (Meta references the inbound message id) and also marks that message as read as a side-effect. - All others: Returns 200 but no-op (platform doesn&#39;t support it) Typing indicators are best-effort. The endpoint always returns 200 even if the platform call fails; &#x60;success&#x60; reports whether a typing indicator was actually sent to the platform (&#x60;false&#x60; on unsupported platforms or when the platform call failed).
197
197
  # @param conversation_id The conversation ID
198
198
  # @param send_typing_indicator_request
199
199
  # @param [Hash] opts the optional parameters
@@ -48,7 +48,7 @@ describe Zernio::CreateWebhookSettingsRequest do
48
48
  describe 'test attribute "events"' do
49
49
  it 'should work' do
50
50
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["post.scheduled", "post.published", "post.failed", "post.partial", "post.cancelled", "post.recycled", "post.platform.published", "post.platform.failed", "post.tiktok.url_resolved", "post.external.created", "post.external.updated", "post.external.deleted", "account.connected", "account.disconnected", "account.ads.initial_sync_completed", "message.received", "conversation.started", "call.received", "call.ended", "call.failed", "call.permission_request", "message.sent", "message.edited", "message.deleted", "message.delivered", "message.read", "message.failed", "reaction.received", "comment.received", "review.new", "review.updated", "lead.received", "ad.status_changed", "whatsapp.template.status_updated", "whatsapp.automatic_event", "whatsapp.number.activated", "whatsapp.number.declined", "whatsapp.number.action_required", "whatsapp.number.verification_required", "whatsapp.number.suspended", "whatsapp.number.reactivated", "whatsapp.number.released", "whatsapp.number.kyc_submitted", "verification.approved", "verification.failed"])
51
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["post.scheduled", "post.published", "post.failed", "post.partial", "post.cancelled", "post.recycled", "post.platform.published", "post.platform.failed", "post.platform.deleted", "post.tiktok.url_resolved", "post.external.created", "post.external.updated", "post.external.deleted", "account.connected", "account.disconnected", "account.ads.initial_sync_completed", "message.received", "conversation.started", "call.received", "call.ended", "call.failed", "call.permission_request", "message.sent", "message.edited", "message.deleted", "message.delivered", "message.read", "message.failed", "reaction.received", "comment.received", "review.new", "review.updated", "lead.received", "ad.status_changed", "whatsapp.template.status_updated", "whatsapp.automatic_event", "whatsapp.number.activated", "whatsapp.number.declined", "whatsapp.number.action_required", "whatsapp.number.verification_required", "whatsapp.number.suspended", "whatsapp.number.reactivated", "whatsapp.number.released", "whatsapp.number.kyc_submitted", "verification.approved", "verification.failed"])
52
52
  # validator.allowable_values.each do |value|
53
53
  # expect { instance.events = value }.not_to raise_error
54
54
  # end
@@ -54,7 +54,7 @@ describe Zernio::UpdateWebhookSettingsRequest 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.cancelled", "post.recycled", "post.platform.published", "post.platform.failed", "post.tiktok.url_resolved", "post.external.created", "post.external.updated", "post.external.deleted", "account.connected", "account.disconnected", "account.ads.initial_sync_completed", "message.received", "conversation.started", "call.received", "call.ended", "call.failed", "call.permission_request", "message.sent", "message.edited", "message.deleted", "message.delivered", "message.read", "message.failed", "reaction.received", "comment.received", "review.new", "review.updated", "lead.received", "ad.status_changed", "whatsapp.template.status_updated", "whatsapp.automatic_event", "whatsapp.number.activated", "whatsapp.number.declined", "whatsapp.number.action_required", "whatsapp.number.verification_required", "whatsapp.number.suspended", "whatsapp.number.reactivated", "whatsapp.number.released", "whatsapp.number.kyc_submitted", "verification.approved", "verification.failed"])
57
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["post.scheduled", "post.published", "post.failed", "post.partial", "post.cancelled", "post.recycled", "post.platform.published", "post.platform.failed", "post.platform.deleted", "post.tiktok.url_resolved", "post.external.created", "post.external.updated", "post.external.deleted", "account.connected", "account.disconnected", "account.ads.initial_sync_completed", "message.received", "conversation.started", "call.received", "call.ended", "call.failed", "call.permission_request", "message.sent", "message.edited", "message.deleted", "message.delivered", "message.read", "message.failed", "reaction.received", "comment.received", "review.new", "review.updated", "lead.received", "ad.status_changed", "whatsapp.template.status_updated", "whatsapp.automatic_event", "whatsapp.number.activated", "whatsapp.number.declined", "whatsapp.number.action_required", "whatsapp.number.verification_required", "whatsapp.number.suspended", "whatsapp.number.reactivated", "whatsapp.number.released", "whatsapp.number.kyc_submitted", "verification.approved", "verification.failed"])
58
58
  # validator.allowable_values.each do |value|
59
59
  # expect { instance.events = value }.not_to raise_error
60
60
  # end
@@ -36,7 +36,7 @@ describe Zernio::WebhookPayloadPostPlatformPlatform do
36
36
  describe 'test attribute "status"' do
37
37
  it 'should work' do
38
38
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["published", "failed"])
39
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["published", "failed", "deleted"])
40
40
  # validator.allowable_values.each do |value|
41
41
  # expect { instance.status = value }.not_to raise_error
42
42
  # end
@@ -61,4 +61,10 @@ describe Zernio::WebhookPayloadPostPlatformPlatform do
61
61
  end
62
62
  end
63
63
 
64
+ describe 'test attribute "deleted_at"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
+ end
68
+ end
69
+
64
70
  end
@@ -36,7 +36,7 @@ describe Zernio::WebhookPayloadPostPlatform do
36
36
  describe 'test attribute "event"' do
37
37
  it 'should work' do
38
38
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["post.platform.published", "post.platform.failed", "post.tiktok.url_resolved"])
39
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["post.platform.published", "post.platform.failed", "post.platform.deleted", "post.tiktok.url_resolved"])
40
40
  # validator.allowable_values.each do |value|
41
41
  # expect { instance.event = value }.not_to raise_error
42
42
  # end
@@ -54,7 +54,7 @@ describe Zernio::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.cancelled", "post.recycled", "post.platform.published", "post.platform.failed", "post.tiktok.url_resolved", "post.external.created", "post.external.updated", "post.external.deleted", "account.connected", "account.disconnected", "account.ads.initial_sync_completed", "message.received", "conversation.started", "call.received", "call.ended", "call.failed", "call.permission_request", "message.sent", "message.edited", "message.deleted", "message.delivered", "message.read", "message.failed", "reaction.received", "comment.received", "review.new", "review.updated", "lead.received", "ad.status_changed", "whatsapp.template.status_updated", "whatsapp.automatic_event", "whatsapp.number.activated", "whatsapp.number.declined", "whatsapp.number.action_required", "whatsapp.number.verification_required", "whatsapp.number.suspended", "whatsapp.number.reactivated", "whatsapp.number.released", "whatsapp.number.kyc_submitted", "verification.approved", "verification.failed"])
57
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["post.scheduled", "post.published", "post.failed", "post.partial", "post.cancelled", "post.recycled", "post.platform.published", "post.platform.failed", "post.platform.deleted", "post.tiktok.url_resolved", "post.external.created", "post.external.updated", "post.external.deleted", "account.connected", "account.disconnected", "account.ads.initial_sync_completed", "message.received", "conversation.started", "call.received", "call.ended", "call.failed", "call.permission_request", "message.sent", "message.edited", "message.deleted", "message.delivered", "message.read", "message.failed", "reaction.received", "comment.received", "review.new", "review.updated", "lead.received", "ad.status_changed", "whatsapp.template.status_updated", "whatsapp.automatic_event", "whatsapp.number.activated", "whatsapp.number.declined", "whatsapp.number.action_required", "whatsapp.number.verification_required", "whatsapp.number.suspended", "whatsapp.number.reactivated", "whatsapp.number.released", "whatsapp.number.kyc_submitted", "verification.approved", "verification.failed"])
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.591
4
+ version: 0.0.593
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-07-28 00:00:00.000000000 Z
11
+ date: 2026-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -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.591.gem
4826
+ - zernio-sdk-0.0.593.gem
4827
4827
  - zernio-sdk.gemspec
4828
4828
  homepage: https://openapi-generator.tech
4829
4829
  licenses:
Binary file