late-sdk 0.0.629 → 0.0.631

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: a01dc09977d76df6597b1fc7c83cfbdd9d46b8d20b9a241d0cb84f4667f4fb71
4
- data.tar.gz: 426ce7363f1902f63328fda511b71a99748f161c57a3c47a4b6352d14cc216a7
3
+ metadata.gz: 0d0a54936d0489f36e563db91f79c86c13c3e24b6baccc9b8e11f48a02aad77b
4
+ data.tar.gz: 6d37ae0ecc255601b77e97b147b39d7fa0660920d06d83b9eb2dda11c9c6521a
5
5
  SHA512:
6
- metadata.gz: 966de63cc2a758c933da16438299628e55e864cf17ee32d25e2459dcac78c0480b34a00894e5f14aca4be83bb1dcc4d119784b8c242ac2cd3585af223717e9cd
7
- data.tar.gz: 02aeb105ec9a1be178984be059cfb6dd2cb24adf7346f77ae111bbd6120cda1250e010f8835c07797449d5f9b854bdbac2081ab1c2da0b49ceef63ce2bee4074
6
+ metadata.gz: ee511e1ab9450aa0d2fa2c9519a865aa658983c6deeb9139ff94a09bf517198ee249e69f9f073407ed671bc9eb05db928b95a781fbfff5e2fe04eec805fa5bf9
7
+ data.tar.gz: 272aae64af2627804249ab60e4e8ad332ac1835f608031c4535c0f191f77ea95e006aefad53ac9bdae984fdb3fd815c4782fcffe205c175cc646bea4dff8ca48
data/README.md CHANGED
@@ -978,10 +978,11 @@ Class | Method | HTTP request | Description
978
978
  - [Zernio::ExternalPostSummaryAnalytics](docs/ExternalPostSummaryAnalytics.md)
979
979
  - [Zernio::ExternalPostWebhookPost](docs/ExternalPostWebhookPost.md)
980
980
  - [Zernio::FacebookPlatformData](docs/FacebookPlatformData.md)
981
- - [Zernio::FacebookPlatformDataCarouselCardsInner](docs/FacebookPlatformDataCarouselCardsInner.md)
982
981
  - [Zernio::FacebookPostEarningsResponse](docs/FacebookPostEarningsResponse.md)
983
982
  - [Zernio::FacebookPostEarningsResponseMetricsValue](docs/FacebookPostEarningsResponseMetricsValue.md)
984
983
  - [Zernio::FacebookPostEarningsResponseUnavailableMetricsInner](docs/FacebookPostEarningsResponseUnavailableMetricsInner.md)
984
+ - [Zernio::FacebookSettings](docs/FacebookSettings.md)
985
+ - [Zernio::FacebookSettingsCarouselCardsInner](docs/FacebookSettingsCarouselCardsInner.md)
985
986
  - [Zernio::FetchGoogleBusinessVerificationOptions200Response](docs/FetchGoogleBusinessVerificationOptions200Response.md)
986
987
  - [Zernio::FetchGoogleBusinessVerificationOptions200ResponseOptionsInner](docs/FetchGoogleBusinessVerificationOptions200ResponseOptionsInner.md)
987
988
  - [Zernio::FetchGoogleBusinessVerificationOptionsRequest](docs/FetchGoogleBusinessVerificationOptionsRequest.md)
@@ -18,7 +18,7 @@
18
18
  | **crossposting_enabled** | **Boolean** | | [optional][default to true] |
19
19
  | **metadata** | **Hash<String, Object>** | | [optional] |
20
20
  | **tiktok_settings** | [**TikTokPlatformData**](TikTokPlatformData.md) | Root-level TikTok settings applied to all TikTok platforms. Merged into each platform's platformSpecificData, with platform-specific settings taking precedence. | [optional] |
21
- | **facebook_settings** | [**FacebookPlatformData**](FacebookPlatformData.md) | Root-level Facebook settings applied to all Facebook platforms. Merged into each platform's platformSpecificData, with platform-specific settings taking precedence. | [optional] |
21
+ | **facebook_settings** | [**FacebookSettings**](FacebookSettings.md) | Root-level Facebook settings applied to all Facebook platforms. Merged into each platform's platformSpecificData.facebookSettings, with platform-specific settings taking precedence. | [optional] |
22
22
  | **recycling** | [**RecyclingConfig**](RecyclingConfig.md) | | [optional] |
23
23
  | **queued_from_profile** | **String** | Profile ID to schedule via queue. When provided without scheduledFor, the post is auto-assigned to the next available slot. Do not call /v1/queue/next-slot and use that time in scheduledFor, as that bypasses queue locking. | [optional] |
24
24
  | **queue_id** | **String** | Specific queue ID to use when scheduling via queue. Only used when queuedFromProfile is also provided. If omitted, uses the profile's default queue. | [optional] |
@@ -4,15 +4,12 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **draft** | **Boolean** | When true, creates the post as a draft in Facebook Publishing Tools instead of publishing immediately. Supported for feed posts (text, link, image, video) and reels. Not supported for stories. Drafts expire after ~30 days. | [optional][default to false] |
8
7
  | **content_type** | **String** | Set to 'story' for Page Stories (24h ephemeral) or 'reel' for Reels (short vertical video). Defaults to feed post if omitted. | [optional] |
9
8
  | **title** | **String** | Reel title (only for contentType=reel). Separate from the caption/content field. | [optional] |
10
- | **first_comment** | **String** | Optional first comment to post immediately after publishing (feed posts and reels, not stories). Skipped when draft is true. | [optional] |
9
+ | **first_comment** | **String** | Optional first comment to post immediately after publishing (feed posts and reels, not stories). Skipped when facebookSettings.draft is true. | [optional] |
11
10
  | **page_id** | **String** | Target Facebook Page ID for multi-page posting. If omitted, uses the default page. Use GET /v1/accounts/{id}/facebook-page to list pages. | [optional] |
12
11
  | **geo_restriction** | [**GeoRestriction**](GeoRestriction.md) | | [optional] |
13
- | **carousel_cards** | [**Array<FacebookPlatformDataCarouselCardsInner>**](FacebookPlatformDataCarouselCardsInner.md) | Renders the post as a multi-link carousel (organic Page post). When set, mediaItems must be provided with the same length and all items must be images (no videos). Each cards[i] adds the click-through link and headline for the image at mediaItems[i]. Mutually exclusive with contentType=story|reel. Facebook display truncates name at ~35 chars and description at ~30 chars; longer strings are accepted but get truncated on render. | [optional] |
14
- | **carousel_link** | **String** | Optional top-level \"See more\" destination shown on the carousel end card. Defaults to the first card's link when omitted. Only used together with carouselCards. | [optional] |
15
- | **text_format_preset_id** | **String** | Facebook-defined preset ID that renders the post as large text on a colored background (Graph `text_format_preset_id`). Supply the raw numeric ID from Meta; we do not publish a catalog of presets and Facebook may change the available set. Pages only (ignored on personal profiles and groups) and text-only feed posts only: the request is rejected with 400 when mediaItems or carouselCards are present, when contentType is story or reel, or when content is empty. An attachment makes Facebook drop the background silently, so those are rejected up front. Length is NOT rejected: Facebook's composer stops offering a background at around 130 characters, but Meta documents no API limit, so longer content publishes and returns a warning instead. A URL detected in the content is NOT attached as a link preview while a preset is set, because a link attachment also makes Facebook drop the background. | [optional] |
12
+ | **facebook_settings** | [**FacebookSettings**](FacebookSettings.md) | | [optional] |
16
13
 
17
14
  ## Example
18
15
 
@@ -20,15 +17,12 @@
20
17
  require 'zernio-sdk'
21
18
 
22
19
  instance = Zernio::FacebookPlatformData.new(
23
- draft: null,
24
20
  content_type: null,
25
21
  title: null,
26
22
  first_comment: null,
27
23
  page_id: null,
28
24
  geo_restriction: null,
29
- carousel_cards: null,
30
- carousel_link: null,
31
- text_format_preset_id: null
25
+ facebook_settings: null
32
26
  )
33
27
  ```
34
28
 
@@ -0,0 +1,24 @@
1
+ # Zernio::FacebookSettings
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **draft** | **Boolean** | When true, creates the post as a draft in Facebook Publishing Tools instead of publishing immediately. Supported for feed posts (text, link, image, video) and reels. Not supported for stories. Drafts expire after ~30 days. | [optional][default to false] |
8
+ | **carousel_cards** | [**Array<FacebookSettingsCarouselCardsInner>**](FacebookSettingsCarouselCardsInner.md) | Renders the post as a multi-link carousel (organic Page post). When set, mediaItems must be provided with the same length and all items must be images (no videos). Each cards[i] adds the click-through link and headline for the image at mediaItems[i]. Mutually exclusive with contentType=story|reel. Facebook display truncates name at ~35 chars and description at ~30 chars; longer strings are accepted but get truncated on render. | [optional] |
9
+ | **carousel_link** | **String** | Optional top-level \"See more\" destination shown on the carousel end card. Defaults to the first card's link when omitted. Only used together with carouselCards. | [optional] |
10
+ | **text_format_preset_id** | **String** | Facebook-defined preset ID that renders the post as large text on a colored background (Graph `text_format_preset_id`). Supply the raw numeric ID from Meta; we do not publish a catalog of presets and Facebook may change the available set. Pages only (ignored on personal profiles and groups) and text-only feed posts only: the request is rejected with 400 when mediaItems or carouselCards are present, when contentType is story or reel, or when content is empty. An attachment makes Facebook drop the background silently, so those are rejected up front. Length is NOT rejected: Facebook's composer stops offering a background at around 130 characters, but Meta documents no API limit, so longer content publishes and returns a warning instead. A URL detected in the content is NOT attached as a link preview while a preset is set, because a link attachment also makes Facebook drop the background. | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'zernio-sdk'
16
+
17
+ instance = Zernio::FacebookSettings.new(
18
+ draft: null,
19
+ carousel_cards: null,
20
+ carousel_link: null,
21
+ text_format_preset_id: null
22
+ )
23
+ ```
24
+
@@ -1,4 +1,4 @@
1
- # Zernio::FacebookPlatformDataCarouselCardsInner
1
+ # Zernio::FacebookSettingsCarouselCardsInner
2
2
 
3
3
  ## Properties
4
4
 
@@ -13,7 +13,7 @@
13
13
  ```ruby
14
14
  require 'zernio-sdk'
15
15
 
16
- instance = Zernio::FacebookPlatformDataCarouselCardsInner.new(
16
+ instance = Zernio::FacebookSettingsCarouselCardsInner.new(
17
17
  link: null,
18
18
  name: null,
19
19
  description: null
@@ -21,7 +21,7 @@
21
21
  | **queued_from_profile** | **String** | Profile ID to schedule via queue. | [optional] |
22
22
  | **queue_id** | **String** | Specific queue ID to use when scheduling via queue. | [optional] |
23
23
  | **tiktok_settings** | [**TikTokPlatformData**](TikTokPlatformData.md) | Root-level TikTok settings applied to all TikTok platforms. Merged into each platform's platformSpecificData, with platform-specific settings taking precedence. | [optional] |
24
- | **facebook_settings** | [**FacebookPlatformData**](FacebookPlatformData.md) | Root-level Facebook settings applied to all Facebook platforms. Merged into each platform's platformSpecificData, with platform-specific settings taking precedence. | [optional] |
24
+ | **facebook_settings** | [**FacebookSettings**](FacebookSettings.md) | Root-level Facebook settings applied to all Facebook platforms. Merged into each platform's platformSpecificData.facebookSettings, with platform-specific settings taking precedence. | [optional] |
25
25
  | **recycling** | [**RecyclingConfig**](RecyclingConfig.md) | | [optional] |
26
26
 
27
27
  ## Example
@@ -49,7 +49,7 @@ module Zernio
49
49
  # Root-level TikTok settings applied to all TikTok platforms. Merged into each platform's platformSpecificData, with platform-specific settings taking precedence.
50
50
  attr_accessor :tiktok_settings
51
51
 
52
- # Root-level Facebook settings applied to all Facebook platforms. Merged into each platform's platformSpecificData, with platform-specific settings taking precedence.
52
+ # Root-level Facebook settings applied to all Facebook platforms. Merged into each platform's platformSpecificData.facebookSettings, with platform-specific settings taking precedence.
53
53
  attr_accessor :facebook_settings
54
54
 
55
55
  attr_accessor :recycling
@@ -111,7 +111,7 @@ module Zernio
111
111
  :'crossposting_enabled' => :'Boolean',
112
112
  :'metadata' => :'Hash<String, Object>',
113
113
  :'tiktok_settings' => :'TikTokPlatformData',
114
- :'facebook_settings' => :'FacebookPlatformData',
114
+ :'facebook_settings' => :'FacebookSettings',
115
115
  :'recycling' => :'RecyclingConfig',
116
116
  :'queued_from_profile' => :'String',
117
117
  :'queue_id' => :'String'
@@ -14,18 +14,15 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Zernio
17
- # Feed posts support up to 10 images (no mixed video+image). Stories require single media (24h, no captions). Reels require single vertical video (9:16, 3-60s). Carousel posts (carouselCards) render a 2-5 card multi-link post, images only, mutually exclusive with story/reel. Geo-restriction is a hard visibility restriction: users outside the specified countries cannot see the post. Not supported for stories.
17
+ # Feed posts support up to 10 images (no mixed video+image). Stories require single media (24h, no captions). Reels require single vertical video (9:16, 3-60s). Geo-restriction is a hard visibility restriction: users outside the specified countries cannot see the post. Not supported for stories. Draft, carousel, and colored-background text options live under facebookSettings, see FacebookSettings.
18
18
  class FacebookPlatformData < ApiModelBase
19
- # When true, creates the post as a draft in Facebook Publishing Tools instead of publishing immediately. Supported for feed posts (text, link, image, video) and reels. Not supported for stories. Drafts expire after ~30 days.
20
- attr_accessor :draft
21
-
22
19
  # Set to 'story' for Page Stories (24h ephemeral) or 'reel' for Reels (short vertical video). Defaults to feed post if omitted.
23
20
  attr_accessor :content_type
24
21
 
25
22
  # Reel title (only for contentType=reel). Separate from the caption/content field.
26
23
  attr_accessor :title
27
24
 
28
- # Optional first comment to post immediately after publishing (feed posts and reels, not stories). Skipped when draft is true.
25
+ # Optional first comment to post immediately after publishing (feed posts and reels, not stories). Skipped when facebookSettings.draft is true.
29
26
  attr_accessor :first_comment
30
27
 
31
28
  # Target Facebook Page ID for multi-page posting. If omitted, uses the default page. Use GET /v1/accounts/{id}/facebook-page to list pages.
@@ -33,14 +30,7 @@ module Zernio
33
30
 
34
31
  attr_accessor :geo_restriction
35
32
 
36
- # Renders the post as a multi-link carousel (organic Page post). When set, mediaItems must be provided with the same length and all items must be images (no videos). Each cards[i] adds the click-through link and headline for the image at mediaItems[i]. Mutually exclusive with contentType=story|reel. Facebook display truncates name at ~35 chars and description at ~30 chars; longer strings are accepted but get truncated on render.
37
- attr_accessor :carousel_cards
38
-
39
- # Optional top-level \"See more\" destination shown on the carousel end card. Defaults to the first card's link when omitted. Only used together with carouselCards.
40
- attr_accessor :carousel_link
41
-
42
- # Facebook-defined preset ID that renders the post as large text on a colored background (Graph `text_format_preset_id`). Supply the raw numeric ID from Meta; we do not publish a catalog of presets and Facebook may change the available set. Pages only (ignored on personal profiles and groups) and text-only feed posts only: the request is rejected with 400 when mediaItems or carouselCards are present, when contentType is story or reel, or when content is empty. An attachment makes Facebook drop the background silently, so those are rejected up front. Length is NOT rejected: Facebook's composer stops offering a background at around 130 characters, but Meta documents no API limit, so longer content publishes and returns a warning instead. A URL detected in the content is NOT attached as a link preview while a preset is set, because a link attachment also makes Facebook drop the background.
43
- attr_accessor :text_format_preset_id
33
+ attr_accessor :facebook_settings
44
34
 
45
35
  class EnumAttributeValidator
46
36
  attr_reader :datatype
@@ -67,15 +57,12 @@ module Zernio
67
57
  # Attribute mapping from ruby-style variable name to JSON key.
68
58
  def self.attribute_map
69
59
  {
70
- :'draft' => :'draft',
71
60
  :'content_type' => :'contentType',
72
61
  :'title' => :'title',
73
62
  :'first_comment' => :'firstComment',
74
63
  :'page_id' => :'pageId',
75
64
  :'geo_restriction' => :'geoRestriction',
76
- :'carousel_cards' => :'carouselCards',
77
- :'carousel_link' => :'carouselLink',
78
- :'text_format_preset_id' => :'textFormatPresetId'
65
+ :'facebook_settings' => :'facebookSettings'
79
66
  }
80
67
  end
81
68
 
@@ -92,15 +79,12 @@ module Zernio
92
79
  # Attribute type mapping.
93
80
  def self.openapi_types
94
81
  {
95
- :'draft' => :'Boolean',
96
82
  :'content_type' => :'String',
97
83
  :'title' => :'String',
98
84
  :'first_comment' => :'String',
99
85
  :'page_id' => :'String',
100
86
  :'geo_restriction' => :'GeoRestriction',
101
- :'carousel_cards' => :'Array<FacebookPlatformDataCarouselCardsInner>',
102
- :'carousel_link' => :'String',
103
- :'text_format_preset_id' => :'String'
87
+ :'facebook_settings' => :'FacebookSettings'
104
88
  }
105
89
  end
106
90
 
@@ -126,12 +110,6 @@ module Zernio
126
110
  h[k.to_sym] = v
127
111
  }
128
112
 
129
- if attributes.key?(:'draft')
130
- self.draft = attributes[:'draft']
131
- else
132
- self.draft = false
133
- end
134
-
135
113
  if attributes.key?(:'content_type')
136
114
  self.content_type = attributes[:'content_type']
137
115
  end
@@ -152,18 +130,8 @@ module Zernio
152
130
  self.geo_restriction = attributes[:'geo_restriction']
153
131
  end
154
132
 
155
- if attributes.key?(:'carousel_cards')
156
- if (value = attributes[:'carousel_cards']).is_a?(Array)
157
- self.carousel_cards = value
158
- end
159
- end
160
-
161
- if attributes.key?(:'carousel_link')
162
- self.carousel_link = attributes[:'carousel_link']
163
- end
164
-
165
- if attributes.key?(:'text_format_preset_id')
166
- self.text_format_preset_id = attributes[:'text_format_preset_id']
133
+ if attributes.key?(:'facebook_settings')
134
+ self.facebook_settings = attributes[:'facebook_settings']
167
135
  end
168
136
  end
169
137
 
@@ -172,19 +140,6 @@ module Zernio
172
140
  def list_invalid_properties
173
141
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
174
142
  invalid_properties = Array.new
175
- if !@carousel_cards.nil? && @carousel_cards.length > 5
176
- invalid_properties.push('invalid value for "carousel_cards", number of items must be less than or equal to 5.')
177
- end
178
-
179
- if !@carousel_cards.nil? && @carousel_cards.length < 2
180
- invalid_properties.push('invalid value for "carousel_cards", number of items must be greater than or equal to 2.')
181
- end
182
-
183
- pattern = Regexp.new(/^\d+$/)
184
- if !@text_format_preset_id.nil? && @text_format_preset_id !~ pattern
185
- invalid_properties.push("invalid value for \"text_format_preset_id\", must conform to the pattern #{pattern}.")
186
- end
187
-
188
143
  invalid_properties
189
144
  end
190
145
 
@@ -194,9 +149,6 @@ module Zernio
194
149
  warn '[DEPRECATED] the `valid?` method is obsolete'
195
150
  content_type_validator = EnumAttributeValidator.new('String', ["story", "reel"])
196
151
  return false unless content_type_validator.valid?(@content_type)
197
- return false if !@carousel_cards.nil? && @carousel_cards.length > 5
198
- return false if !@carousel_cards.nil? && @carousel_cards.length < 2
199
- return false if !@text_format_preset_id.nil? && @text_format_preset_id !~ Regexp.new(/^\d+$/)
200
152
  true
201
153
  end
202
154
 
@@ -210,53 +162,17 @@ module Zernio
210
162
  @content_type = content_type
211
163
  end
212
164
 
213
- # Custom attribute writer method with validation
214
- # @param [Object] carousel_cards Value to be assigned
215
- def carousel_cards=(carousel_cards)
216
- if carousel_cards.nil?
217
- fail ArgumentError, 'carousel_cards cannot be nil'
218
- end
219
-
220
- if carousel_cards.length > 5
221
- fail ArgumentError, 'invalid value for "carousel_cards", number of items must be less than or equal to 5.'
222
- end
223
-
224
- if carousel_cards.length < 2
225
- fail ArgumentError, 'invalid value for "carousel_cards", number of items must be greater than or equal to 2.'
226
- end
227
-
228
- @carousel_cards = carousel_cards
229
- end
230
-
231
- # Custom attribute writer method with validation
232
- # @param [Object] text_format_preset_id Value to be assigned
233
- def text_format_preset_id=(text_format_preset_id)
234
- if text_format_preset_id.nil?
235
- fail ArgumentError, 'text_format_preset_id cannot be nil'
236
- end
237
-
238
- pattern = Regexp.new(/^\d+$/)
239
- if text_format_preset_id !~ pattern
240
- fail ArgumentError, "invalid value for \"text_format_preset_id\", must conform to the pattern #{pattern}."
241
- end
242
-
243
- @text_format_preset_id = text_format_preset_id
244
- end
245
-
246
165
  # Checks equality by comparing each attribute.
247
166
  # @param [Object] Object to be compared
248
167
  def ==(o)
249
168
  return true if self.equal?(o)
250
169
  self.class == o.class &&
251
- draft == o.draft &&
252
170
  content_type == o.content_type &&
253
171
  title == o.title &&
254
172
  first_comment == o.first_comment &&
255
173
  page_id == o.page_id &&
256
174
  geo_restriction == o.geo_restriction &&
257
- carousel_cards == o.carousel_cards &&
258
- carousel_link == o.carousel_link &&
259
- text_format_preset_id == o.text_format_preset_id
175
+ facebook_settings == o.facebook_settings
260
176
  end
261
177
 
262
178
  # @see the `==` method
@@ -268,7 +184,7 @@ module Zernio
268
184
  # Calculates hash code according to all attributes.
269
185
  # @return [Integer] Hash code
270
186
  def hash
271
- [draft, content_type, title, first_comment, page_id, geo_restriction, carousel_cards, carousel_link, text_format_preset_id].hash
187
+ [content_type, title, first_comment, page_id, geo_restriction, facebook_settings].hash
272
188
  end
273
189
 
274
190
  # Builds the object from hash
@@ -0,0 +1,232 @@
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.4
7
+ Contact: support@zernio.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Zernio
17
+ # Facebook options that must be nested under platformSpecificData.facebookSettings, or sent at the request root as facebookSettings. The remaining Facebook options sit directly on platformSpecificData, see FacebookPlatformData.
18
+ class FacebookSettings < ApiModelBase
19
+ # When true, creates the post as a draft in Facebook Publishing Tools instead of publishing immediately. Supported for feed posts (text, link, image, video) and reels. Not supported for stories. Drafts expire after ~30 days.
20
+ attr_accessor :draft
21
+
22
+ # Renders the post as a multi-link carousel (organic Page post). When set, mediaItems must be provided with the same length and all items must be images (no videos). Each cards[i] adds the click-through link and headline for the image at mediaItems[i]. Mutually exclusive with contentType=story|reel. Facebook display truncates name at ~35 chars and description at ~30 chars; longer strings are accepted but get truncated on render.
23
+ attr_accessor :carousel_cards
24
+
25
+ # Optional top-level \"See more\" destination shown on the carousel end card. Defaults to the first card's link when omitted. Only used together with carouselCards.
26
+ attr_accessor :carousel_link
27
+
28
+ # Facebook-defined preset ID that renders the post as large text on a colored background (Graph `text_format_preset_id`). Supply the raw numeric ID from Meta; we do not publish a catalog of presets and Facebook may change the available set. Pages only (ignored on personal profiles and groups) and text-only feed posts only: the request is rejected with 400 when mediaItems or carouselCards are present, when contentType is story or reel, or when content is empty. An attachment makes Facebook drop the background silently, so those are rejected up front. Length is NOT rejected: Facebook's composer stops offering a background at around 130 characters, but Meta documents no API limit, so longer content publishes and returns a warning instead. A URL detected in the content is NOT attached as a link preview while a preset is set, because a link attachment also makes Facebook drop the background.
29
+ attr_accessor :text_format_preset_id
30
+
31
+ # Attribute mapping from ruby-style variable name to JSON key.
32
+ def self.attribute_map
33
+ {
34
+ :'draft' => :'draft',
35
+ :'carousel_cards' => :'carouselCards',
36
+ :'carousel_link' => :'carouselLink',
37
+ :'text_format_preset_id' => :'textFormatPresetId'
38
+ }
39
+ end
40
+
41
+ # Returns attribute mapping this model knows about
42
+ def self.acceptable_attribute_map
43
+ attribute_map
44
+ end
45
+
46
+ # Returns all the JSON keys this model knows about
47
+ def self.acceptable_attributes
48
+ acceptable_attribute_map.values
49
+ end
50
+
51
+ # Attribute type mapping.
52
+ def self.openapi_types
53
+ {
54
+ :'draft' => :'Boolean',
55
+ :'carousel_cards' => :'Array<FacebookSettingsCarouselCardsInner>',
56
+ :'carousel_link' => :'String',
57
+ :'text_format_preset_id' => :'String'
58
+ }
59
+ end
60
+
61
+ # List of attributes with nullable: true
62
+ def self.openapi_nullable
63
+ Set.new([
64
+ ])
65
+ end
66
+
67
+ # Initializes the object
68
+ # @param [Hash] attributes Model attributes in the form of hash
69
+ def initialize(attributes = {})
70
+ if (!attributes.is_a?(Hash))
71
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Zernio::FacebookSettings` initialize method"
72
+ end
73
+
74
+ # check to see if the attribute exists and convert string to symbol for hash key
75
+ acceptable_attribute_map = self.class.acceptable_attribute_map
76
+ attributes = attributes.each_with_object({}) { |(k, v), h|
77
+ if (!acceptable_attribute_map.key?(k.to_sym))
78
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Zernio::FacebookSettings`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
79
+ end
80
+ h[k.to_sym] = v
81
+ }
82
+
83
+ if attributes.key?(:'draft')
84
+ self.draft = attributes[:'draft']
85
+ else
86
+ self.draft = false
87
+ end
88
+
89
+ if attributes.key?(:'carousel_cards')
90
+ if (value = attributes[:'carousel_cards']).is_a?(Array)
91
+ self.carousel_cards = value
92
+ end
93
+ end
94
+
95
+ if attributes.key?(:'carousel_link')
96
+ self.carousel_link = attributes[:'carousel_link']
97
+ end
98
+
99
+ if attributes.key?(:'text_format_preset_id')
100
+ self.text_format_preset_id = attributes[:'text_format_preset_id']
101
+ end
102
+ end
103
+
104
+ # Show invalid properties with the reasons. Usually used together with valid?
105
+ # @return Array for valid properties with the reasons
106
+ def list_invalid_properties
107
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
108
+ invalid_properties = Array.new
109
+ if !@carousel_cards.nil? && @carousel_cards.length > 5
110
+ invalid_properties.push('invalid value for "carousel_cards", number of items must be less than or equal to 5.')
111
+ end
112
+
113
+ if !@carousel_cards.nil? && @carousel_cards.length < 2
114
+ invalid_properties.push('invalid value for "carousel_cards", number of items must be greater than or equal to 2.')
115
+ end
116
+
117
+ pattern = Regexp.new(/^\d+$/)
118
+ if !@text_format_preset_id.nil? && @text_format_preset_id !~ pattern
119
+ invalid_properties.push("invalid value for \"text_format_preset_id\", must conform to the pattern #{pattern}.")
120
+ end
121
+
122
+ invalid_properties
123
+ end
124
+
125
+ # Check to see if the all the properties in the model are valid
126
+ # @return true if the model is valid
127
+ def valid?
128
+ warn '[DEPRECATED] the `valid?` method is obsolete'
129
+ return false if !@carousel_cards.nil? && @carousel_cards.length > 5
130
+ return false if !@carousel_cards.nil? && @carousel_cards.length < 2
131
+ return false if !@text_format_preset_id.nil? && @text_format_preset_id !~ Regexp.new(/^\d+$/)
132
+ true
133
+ end
134
+
135
+ # Custom attribute writer method with validation
136
+ # @param [Object] carousel_cards Value to be assigned
137
+ def carousel_cards=(carousel_cards)
138
+ if carousel_cards.nil?
139
+ fail ArgumentError, 'carousel_cards cannot be nil'
140
+ end
141
+
142
+ if carousel_cards.length > 5
143
+ fail ArgumentError, 'invalid value for "carousel_cards", number of items must be less than or equal to 5.'
144
+ end
145
+
146
+ if carousel_cards.length < 2
147
+ fail ArgumentError, 'invalid value for "carousel_cards", number of items must be greater than or equal to 2.'
148
+ end
149
+
150
+ @carousel_cards = carousel_cards
151
+ end
152
+
153
+ # Custom attribute writer method with validation
154
+ # @param [Object] text_format_preset_id Value to be assigned
155
+ def text_format_preset_id=(text_format_preset_id)
156
+ if text_format_preset_id.nil?
157
+ fail ArgumentError, 'text_format_preset_id cannot be nil'
158
+ end
159
+
160
+ pattern = Regexp.new(/^\d+$/)
161
+ if text_format_preset_id !~ pattern
162
+ fail ArgumentError, "invalid value for \"text_format_preset_id\", must conform to the pattern #{pattern}."
163
+ end
164
+
165
+ @text_format_preset_id = text_format_preset_id
166
+ end
167
+
168
+ # Checks equality by comparing each attribute.
169
+ # @param [Object] Object to be compared
170
+ def ==(o)
171
+ return true if self.equal?(o)
172
+ self.class == o.class &&
173
+ draft == o.draft &&
174
+ carousel_cards == o.carousel_cards &&
175
+ carousel_link == o.carousel_link &&
176
+ text_format_preset_id == o.text_format_preset_id
177
+ end
178
+
179
+ # @see the `==` method
180
+ # @param [Object] Object to be compared
181
+ def eql?(o)
182
+ self == o
183
+ end
184
+
185
+ # Calculates hash code according to all attributes.
186
+ # @return [Integer] Hash code
187
+ def hash
188
+ [draft, carousel_cards, carousel_link, text_format_preset_id].hash
189
+ end
190
+
191
+ # Builds the object from hash
192
+ # @param [Hash] attributes Model attributes in the form of hash
193
+ # @return [Object] Returns the model itself
194
+ def self.build_from_hash(attributes)
195
+ return nil unless attributes.is_a?(Hash)
196
+ attributes = attributes.transform_keys(&:to_sym)
197
+ transformed_hash = {}
198
+ openapi_types.each_pair do |key, type|
199
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
200
+ transformed_hash["#{key}"] = nil
201
+ elsif type =~ /\AArray<(.*)>/i
202
+ # check to ensure the input is an array given that the attribute
203
+ # is documented as an array but the input is not
204
+ if attributes[attribute_map[key]].is_a?(Array)
205
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
206
+ end
207
+ elsif !attributes[attribute_map[key]].nil?
208
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
209
+ end
210
+ end
211
+ new(transformed_hash)
212
+ end
213
+
214
+ # Returns the object in the form of hash
215
+ # @return [Hash] Returns the object in the form of hash
216
+ def to_hash
217
+ hash = {}
218
+ self.class.attribute_map.each_pair do |attr, param|
219
+ value = self.send(attr)
220
+ if value.nil?
221
+ is_nullable = self.class.openapi_nullable.include?(attr)
222
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
223
+ end
224
+
225
+ hash[param] = _to_hash(value)
226
+ end
227
+ hash
228
+ end
229
+
230
+ end
231
+
232
+ end
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Zernio
17
- class FacebookPlatformDataCarouselCardsInner < ApiModelBase
17
+ class FacebookSettingsCarouselCardsInner < ApiModelBase
18
18
  # Per-card click destination (required).
19
19
  attr_accessor :link
20
20
 
@@ -62,14 +62,14 @@ module Zernio
62
62
  # @param [Hash] attributes Model attributes in the form of hash
63
63
  def initialize(attributes = {})
64
64
  if (!attributes.is_a?(Hash))
65
- fail ArgumentError, "The input argument (attributes) must be a hash in `Zernio::FacebookPlatformDataCarouselCardsInner` initialize method"
65
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Zernio::FacebookSettingsCarouselCardsInner` initialize method"
66
66
  end
67
67
 
68
68
  # check to see if the attribute exists and convert string to symbol for hash key
69
69
  acceptable_attribute_map = self.class.acceptable_attribute_map
70
70
  attributes = attributes.each_with_object({}) { |(k, v), h|
71
71
  if (!acceptable_attribute_map.key?(k.to_sym))
72
- fail ArgumentError, "`#{k}` is not a valid attribute in `Zernio::FacebookPlatformDataCarouselCardsInner`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
72
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Zernio::FacebookSettingsCarouselCardsInner`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
73
73
  end
74
74
  h[k.to_sym] = v
75
75
  }
@@ -54,7 +54,7 @@ module Zernio
54
54
  # Root-level TikTok settings applied to all TikTok platforms. Merged into each platform's platformSpecificData, with platform-specific settings taking precedence.
55
55
  attr_accessor :tiktok_settings
56
56
 
57
- # Root-level Facebook settings applied to all Facebook platforms. Merged into each platform's platformSpecificData, with platform-specific settings taking precedence.
57
+ # Root-level Facebook settings applied to all Facebook platforms. Merged into each platform's platformSpecificData.facebookSettings, with platform-specific settings taking precedence.
58
58
  attr_accessor :facebook_settings
59
59
 
60
60
  attr_accessor :recycling
@@ -136,7 +136,7 @@ module Zernio
136
136
  :'queued_from_profile' => :'String',
137
137
  :'queue_id' => :'String',
138
138
  :'tiktok_settings' => :'TikTokPlatformData',
139
- :'facebook_settings' => :'FacebookPlatformData',
139
+ :'facebook_settings' => :'FacebookSettings',
140
140
  :'recycling' => :'RecyclingConfig'
141
141
  }
142
142
  end
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.629'
14
+ VERSION = '0.0.631'
15
15
  end
data/lib/zernio-sdk.rb CHANGED
@@ -393,10 +393,11 @@ require 'zernio-sdk/models/external_post_summary'
393
393
  require 'zernio-sdk/models/external_post_summary_analytics'
394
394
  require 'zernio-sdk/models/external_post_webhook_post'
395
395
  require 'zernio-sdk/models/facebook_platform_data'
396
- require 'zernio-sdk/models/facebook_platform_data_carousel_cards_inner'
397
396
  require 'zernio-sdk/models/facebook_post_earnings_response'
398
397
  require 'zernio-sdk/models/facebook_post_earnings_response_metrics_value'
399
398
  require 'zernio-sdk/models/facebook_post_earnings_response_unavailable_metrics_inner'
399
+ require 'zernio-sdk/models/facebook_settings'
400
+ require 'zernio-sdk/models/facebook_settings_carousel_cards_inner'
400
401
  require 'zernio-sdk/models/fetch_google_business_verification_options200_response'
401
402
  require 'zernio-sdk/models/fetch_google_business_verification_options200_response_options_inner'
402
403
  require 'zernio-sdk/models/fetch_google_business_verification_options_request'
data/openapi.yaml CHANGED
@@ -4489,10 +4489,6 @@ components:
4489
4489
  FacebookPlatformData:
4490
4490
  type: object
4491
4491
  properties:
4492
- draft:
4493
- type: boolean
4494
- description: When true, creates the post as a draft in Facebook Publishing Tools instead of publishing immediately. Supported for feed posts (text, link, image, video) and reels. Not supported for stories. Drafts expire after ~30 days.
4495
- default: false
4496
4492
  contentType:
4497
4493
  type: string
4498
4494
  enum: [story, reel]
@@ -4502,12 +4498,31 @@ components:
4502
4498
  description: Reel title (only for contentType=reel). Separate from the caption/content field.
4503
4499
  firstComment:
4504
4500
  type: string
4505
- description: Optional first comment to post immediately after publishing (feed posts and reels, not stories). Skipped when draft is true.
4501
+ description: Optional first comment to post immediately after publishing (feed posts and reels, not stories). Skipped when facebookSettings.draft is true.
4506
4502
  pageId:
4507
4503
  type: string
4508
4504
  description: Target Facebook Page ID for multi-page posting. If omitted, uses the default page. Use GET /v1/accounts/{id}/facebook-page to list pages.
4509
4505
  geoRestriction:
4510
4506
  $ref: '#/components/schemas/GeoRestriction'
4507
+ facebookSettings:
4508
+ $ref: '#/components/schemas/FacebookSettings'
4509
+ description: >
4510
+ Feed posts support up to 10 images (no mixed video+image). Stories require single media (24h, no captions).
4511
+ Reels require single vertical video (9:16, 3-60s). Geo-restriction is a hard visibility
4512
+ restriction: users outside the specified countries cannot see the post. Not supported for stories.
4513
+ Draft, carousel, and colored-background text options live under facebookSettings, see FacebookSettings.
4514
+
4515
+ FacebookSettings:
4516
+ type: object
4517
+ description: >
4518
+ Facebook options that must be nested under platformSpecificData.facebookSettings, or sent
4519
+ at the request root as facebookSettings. The remaining Facebook options sit directly on
4520
+ platformSpecificData, see FacebookPlatformData.
4521
+ properties:
4522
+ draft:
4523
+ type: boolean
4524
+ description: When true, creates the post as a draft in Facebook Publishing Tools instead of publishing immediately. Supported for feed posts (text, link, image, video) and reels. Not supported for stories. Drafts expire after ~30 days.
4525
+ default: false
4511
4526
  carouselCards:
4512
4527
  type: array
4513
4528
  minItems: 2
@@ -4556,11 +4571,6 @@ components:
4556
4571
  documents no API limit, so longer content publishes and returns a warning instead.
4557
4572
  A URL detected in the content is NOT attached as a link preview while a preset is
4558
4573
  set, because a link attachment also makes Facebook drop the background.
4559
- description: >
4560
- Feed posts support up to 10 images (no mixed video+image). Stories require single media (24h, no captions).
4561
- Reels require single vertical video (9:16, 3-60s). Carousel posts (carouselCards) render a 2-5 card
4562
- multi-link post, images only, mutually exclusive with story/reel. Geo-restriction is a hard visibility
4563
- restriction: users outside the specified countries cannot see the post. Not supported for stories.
4564
4574
 
4565
4575
  InstagramPlatformData:
4566
4576
  type: object
@@ -12605,8 +12615,8 @@ paths:
12605
12615
  $ref: '#/components/schemas/TikTokPlatformData'
12606
12616
  description: Root-level TikTok settings applied to all TikTok platforms. Merged into each platform's platformSpecificData, with platform-specific settings taking precedence.
12607
12617
  facebookSettings:
12608
- $ref: '#/components/schemas/FacebookPlatformData'
12609
- description: Root-level Facebook settings applied to all Facebook platforms. Merged into each platform's platformSpecificData, with platform-specific settings taking precedence.
12618
+ $ref: '#/components/schemas/FacebookSettings'
12619
+ description: Root-level Facebook settings applied to all Facebook platforms. Merged into each platform's platformSpecificData.facebookSettings, with platform-specific settings taking precedence.
12610
12620
  recycling:
12611
12621
  $ref: '#/components/schemas/RecyclingConfig'
12612
12622
  queuedFromProfile:
@@ -12660,6 +12670,20 @@ paths:
12660
12670
  - link: "https://example.com/inventory/car-3"
12661
12671
  name: "2024 Truck"
12662
12672
  description: "Loaded"
12673
+ facebookTextBackground:
12674
+ summary: Facebook colored-background text post
12675
+ description: |
12676
+ Renders the post as large text on a Facebook-defined colored background.
12677
+ Text-only: mediaItems and carouselCards are rejected, and contentType
12678
+ must not be story or reel.
12679
+ value:
12680
+ content: "We just shipped something big."
12681
+ platforms:
12682
+ - platform: facebook
12683
+ accountId: "64e1f0a9e2b5af0012ab34cd"
12684
+ publishNow: true
12685
+ facebookSettings:
12686
+ textFormatPresetId: "1881421442117417"
12663
12687
  recyclingPost:
12664
12688
  summary: Post with weekly recycling and content variations
12665
12689
  value:
@@ -13207,8 +13231,8 @@ paths:
13207
13231
  $ref: '#/components/schemas/TikTokPlatformData'
13208
13232
  description: Root-level TikTok settings applied to all TikTok platforms. Merged into each platform's platformSpecificData, with platform-specific settings taking precedence.
13209
13233
  facebookSettings:
13210
- $ref: '#/components/schemas/FacebookPlatformData'
13211
- description: Root-level Facebook settings applied to all Facebook platforms. Merged into each platform's platformSpecificData, with platform-specific settings taking precedence.
13234
+ $ref: '#/components/schemas/FacebookSettings'
13235
+ description: Root-level Facebook settings applied to all Facebook platforms. Merged into each platform's platformSpecificData.facebookSettings, with platform-specific settings taking precedence.
13212
13236
  recycling:
13213
13237
  $ref: '#/components/schemas/RecyclingConfig'
13214
13238
  additionalProperties: true
@@ -19493,6 +19517,17 @@ paths:
19493
19517
  noOrgForPersonMention:
19494
19518
  value: { error: "No organization found. You need to be an admin of a LinkedIn organization to use person mentions. Organization mentions work without this requirement." }
19495
19519
  '401': { $ref: '#/components/responses/Unauthorized' }
19520
+ '403':
19521
+ description: The account holds no organization role that can resolve person mentions
19522
+ content:
19523
+ application/json:
19524
+ schema:
19525
+ type: object
19526
+ properties:
19527
+ error: { type: string }
19528
+ examples:
19529
+ noPostingRole:
19530
+ value: { error: "LinkedIn blocked this lookup. Your account has no company page where it can create posts, which LinkedIn requires to resolve a person's profile URL. Ask for an Admin or Content Admin role on one of your pages, or mention a company instead." }
19496
19531
  '404':
19497
19532
  description: Person or organization not found
19498
19533
  content:
@@ -27,12 +27,6 @@ describe Zernio::FacebookPlatformData do
27
27
  end
28
28
  end
29
29
 
30
- describe 'test attribute "draft"' do
31
- it 'should work' do
32
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- end
34
- end
35
-
36
30
  describe 'test attribute "content_type"' do
37
31
  it 'should work' do
38
32
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -67,19 +61,7 @@ describe Zernio::FacebookPlatformData do
67
61
  end
68
62
  end
69
63
 
70
- describe 'test attribute "carousel_cards"' do
71
- it 'should work' do
72
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
73
- end
74
- end
75
-
76
- describe 'test attribute "carousel_link"' do
77
- it 'should work' do
78
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
79
- end
80
- end
81
-
82
- describe 'test attribute "text_format_preset_id"' do
64
+ describe 'test attribute "facebook_settings"' do
83
65
  it 'should work' do
84
66
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
85
67
  end
@@ -14,16 +14,16 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for Zernio::FacebookPlatformDataCarouselCardsInner
17
+ # Unit tests for Zernio::FacebookSettingsCarouselCardsInner
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe Zernio::FacebookPlatformDataCarouselCardsInner do
21
- #let(:instance) { Zernio::FacebookPlatformDataCarouselCardsInner.new }
20
+ describe Zernio::FacebookSettingsCarouselCardsInner do
21
+ #let(:instance) { Zernio::FacebookSettingsCarouselCardsInner.new }
22
22
 
23
- describe 'test an instance of FacebookPlatformDataCarouselCardsInner' do
24
- it 'should create an instance of FacebookPlatformDataCarouselCardsInner' do
23
+ describe 'test an instance of FacebookSettingsCarouselCardsInner' do
24
+ it 'should create an instance of FacebookSettingsCarouselCardsInner' do
25
25
  # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Zernio::FacebookPlatformDataCarouselCardsInner)
26
+ #expect(instance).to be_instance_of(Zernio::FacebookSettingsCarouselCardsInner)
27
27
  end
28
28
  end
29
29
 
@@ -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.4
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 Zernio::FacebookSettings
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zernio::FacebookSettings do
21
+ #let(:instance) { Zernio::FacebookSettings.new }
22
+
23
+ describe 'test an instance of FacebookSettings' do
24
+ it 'should create an instance of FacebookSettings' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zernio::FacebookSettings)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "draft"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "carousel_cards"' 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 "carousel_link"' 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 "text_format_preset_id"' 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,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.629
4
+ version: 0.0.631
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -459,10 +459,11 @@ files:
459
459
  - docs/ExternalPostSummaryAnalytics.md
460
460
  - docs/ExternalPostWebhookPost.md
461
461
  - docs/FacebookPlatformData.md
462
- - docs/FacebookPlatformDataCarouselCardsInner.md
463
462
  - docs/FacebookPostEarningsResponse.md
464
463
  - docs/FacebookPostEarningsResponseMetricsValue.md
465
464
  - docs/FacebookPostEarningsResponseUnavailableMetricsInner.md
465
+ - docs/FacebookSettings.md
466
+ - docs/FacebookSettingsCarouselCardsInner.md
466
467
  - docs/FetchGoogleBusinessVerificationOptions200Response.md
467
468
  - docs/FetchGoogleBusinessVerificationOptions200ResponseOptionsInner.md
468
469
  - docs/FetchGoogleBusinessVerificationOptionsRequest.md
@@ -2124,10 +2125,11 @@ files:
2124
2125
  - lib/zernio-sdk/models/external_post_summary_analytics.rb
2125
2126
  - lib/zernio-sdk/models/external_post_webhook_post.rb
2126
2127
  - lib/zernio-sdk/models/facebook_platform_data.rb
2127
- - lib/zernio-sdk/models/facebook_platform_data_carousel_cards_inner.rb
2128
2128
  - lib/zernio-sdk/models/facebook_post_earnings_response.rb
2129
2129
  - lib/zernio-sdk/models/facebook_post_earnings_response_metrics_value.rb
2130
2130
  - lib/zernio-sdk/models/facebook_post_earnings_response_unavailable_metrics_inner.rb
2131
+ - lib/zernio-sdk/models/facebook_settings.rb
2132
+ - lib/zernio-sdk/models/facebook_settings_carousel_cards_inner.rb
2131
2133
  - lib/zernio-sdk/models/fetch_google_business_verification_options200_response.rb
2132
2134
  - lib/zernio-sdk/models/fetch_google_business_verification_options200_response_options_inner.rb
2133
2135
  - lib/zernio-sdk/models/fetch_google_business_verification_options_request.rb
@@ -3739,11 +3741,12 @@ files:
3739
3741
  - spec/models/external_post_summary_analytics_spec.rb
3740
3742
  - spec/models/external_post_summary_spec.rb
3741
3743
  - spec/models/external_post_webhook_post_spec.rb
3742
- - spec/models/facebook_platform_data_carousel_cards_inner_spec.rb
3743
3744
  - spec/models/facebook_platform_data_spec.rb
3744
3745
  - spec/models/facebook_post_earnings_response_metrics_value_spec.rb
3745
3746
  - spec/models/facebook_post_earnings_response_spec.rb
3746
3747
  - spec/models/facebook_post_earnings_response_unavailable_metrics_inner_spec.rb
3748
+ - spec/models/facebook_settings_carousel_cards_inner_spec.rb
3749
+ - spec/models/facebook_settings_spec.rb
3747
3750
  - spec/models/fetch_google_business_verification_options200_response_options_inner_spec.rb
3748
3751
  - spec/models/fetch_google_business_verification_options200_response_spec.rb
3749
3752
  - spec/models/fetch_google_business_verification_options_request_spec.rb
@@ -4916,7 +4919,7 @@ files:
4916
4919
  - spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
4917
4920
  - spec/models/you_tube_video_retention_response_spec.rb
4918
4921
  - spec/spec_helper.rb
4919
- - zernio-sdk-0.0.629.gem
4922
+ - zernio-sdk-0.0.631.gem
4920
4923
  - zernio-sdk.gemspec
4921
4924
  homepage: https://openapi-generator.tech
4922
4925
  licenses:
@@ -5864,6 +5867,7 @@ test_files:
5864
5867
  - spec/models/lookup_sms_number200_response_spec.rb
5865
5868
  - spec/models/expired_spec.rb
5866
5869
  - spec/models/business_center_spec.rb
5870
+ - spec/models/facebook_settings_carousel_cards_inner_spec.rb
5867
5871
  - spec/models/inbox_webhook_message_attachments_inner_spec.rb
5868
5872
  - spec/models/update_ad_set_request_budget_spec.rb
5869
5873
  - spec/models/get_facebook_pages200_response_spec.rb
@@ -5896,6 +5900,7 @@ test_files:
5896
5900
  - spec/models/update_ad_creative200_response_spec.rb
5897
5901
  - spec/models/create_broadcast_request_spec.rb
5898
5902
  - spec/models/update_discord_settings_request_spec.rb
5903
+ - spec/models/facebook_settings_spec.rb
5899
5904
  - spec/models/post_update_response_spec.rb
5900
5905
  - spec/models/get_daily_metrics200_response_daily_data_inner_metrics_spec.rb
5901
5906
  - spec/models/x_api_pricing_spec.rb
@@ -6146,7 +6151,6 @@ test_files:
6146
6151
  - spec/models/update_facebook_page200_response_selected_page_spec.rb
6147
6152
  - spec/models/create_discord_guild_role_request_spec.rb
6148
6153
  - spec/models/webhook_payload_message_metadata_spec.rb
6149
- - spec/models/facebook_platform_data_carousel_cards_inner_spec.rb
6150
6154
  - spec/models/list_contacts200_response_contacts_inner_spec.rb
6151
6155
  - spec/models/submit_whats_app_number_kyc_request_spec.rb
6152
6156
  - spec/models/webhook_payload_account_disconnected_account_spec.rb
Binary file