post-for-me 0.1.0.pre.alpha.11 → 0.1.0.pre.alpha.12

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: 50c053e497dbc73d9161d2a2908702e98b892372b9a9c3e69244c78342bcaaa9
4
- data.tar.gz: 47a5a0e272cb715aa1c182d0a9a9074e5fd2a4311a48806707b7c8a67e8d820d
3
+ metadata.gz: 1aa7e2b6d60aa6e7d33315fb32a1b45fa73f1eb94029fba7b46ae7e84e737388
4
+ data.tar.gz: 430136af243b15e1ff3dd562b66f270aaa399e61ad8905ec43172819310b4005
5
5
  SHA512:
6
- metadata.gz: 4b67f480f3490ae82b4e41034ec76cd05359e8e4ebb247403fe9f32fb3e7c064e1fe06a9770f9c5e34e1eff13f33ce261c057d2667e65146b79bec6fffa7246e
7
- data.tar.gz: 9333829a49cfacf9c9afcde7ab276185f2698c471dd11b20c1f2f4063e9a32564ca0b990ecf9a323e7d81e848a3193d935fed4684219f50d391ca282281e7765
6
+ metadata.gz: f11abcbd3ae673300a776c9bcfe27da87e3c16fad6dbf9d02aab9e958c1dec2c00b5b739075f78bbc68a847674900d64c4ad6e984a6145af69daee38fbe665da
7
+ data.tar.gz: 16dc4f9fb08883d0a6dd5084874525f9768c44e477e989725fc3068b4a45417f8861eaf2869e688e50bc28064789761fc15c6565a7687d77fb8ca4d32915e1bf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.12 (2026-01-10)
4
+
5
+ Full Changelog: [v0.1.0-alpha.11...v0.1.0-alpha.12](https://github.com/DayMoonDevelopment/post-for-me-ruby/compare/v0.1.0-alpha.11...v0.1.0-alpha.12)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([221b4e5](https://github.com/DayMoonDevelopment/post-for-me-ruby/commit/221b4e5aa11b4475baf32ecefcf1ef556aaa9da5))
10
+ * **api:** api update ([0f252a9](https://github.com/DayMoonDevelopment/post-for-me-ruby/commit/0f252a956af996885532141d41c781025928732e))
11
+ * **api:** api update ([4da33ad](https://github.com/DayMoonDevelopment/post-for-me-ruby/commit/4da33ad42d0208f2bee2a825b57fd69c5041a99a))
12
+
13
+
14
+ ### Chores
15
+
16
+ * **internal:** codegen related update ([bfe1b4e](https://github.com/DayMoonDevelopment/post-for-me-ruby/commit/bfe1b4eaca2f6a9163bad0e4e305185b86b265a2))
17
+
18
+
19
+ ### Documentation
20
+
21
+ * prominently feature MCP server setup in root SDK readmes ([e1292ef](https://github.com/DayMoonDevelopment/post-for-me-ruby/commit/e1292efcda83a13b0f9bc5abc492c00dbf8ebae8))
22
+
3
23
  ## 0.1.0-alpha.11 (2025-12-30)
4
24
 
5
25
  Full Changelog: [v0.1.0-alpha.10...v0.1.0-alpha.11](https://github.com/DayMoonDevelopment/post-for-me-ruby/compare/v0.1.0-alpha.10...v0.1.0-alpha.11)
data/README.md CHANGED
@@ -4,6 +4,15 @@ The Post For Me Ruby library provides convenient access to the Post For Me REST
4
4
 
5
5
  It is generated with [Stainless](https://www.stainless.com/).
6
6
 
7
+ ## MCP Server
8
+
9
+ Use the Post For Me MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.
10
+
11
+ [![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=post-for-me-mcp&config=eyJuYW1lIjoicG9zdC1mb3ItbWUtbWNwIiwidHJhbnNwb3J0Ijoic3NlIiwidXJsIjoiaHR0cHM6Ly9wb3N0LWZvci1tZS5zdGxtY3AuY29tL3NzZSJ9)
12
+ [![Install in VS Code](https://img.shields.io/badge/_-Add_to_VS_Code-blue?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZmlsbD0iI0VFRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMzAuMjM1IDM5Ljg4NGEyLjQ5MSAyLjQ5MSAwIDAgMS0xLjc4MS0uNzNMMTIuNyAyNC43OGwtMy40NiAyLjYyNC0zLjQwNiAyLjU4MmExLjY2NSAxLjY2NSAwIDAgMS0xLjA4Mi4zMzggMS42NjQgMS42NjQgMCAwIDEtMS4wNDYtLjQzMWwtMi4yLTJhMS42NjYgMS42NjYgMCAwIDEgMC0yLjQ2M0w3LjQ1OCAyMCA0LjY3IDE3LjQ1MyAxLjUwNyAxNC41N2ExLjY2NSAxLjY2NSAwIDAgMSAwLTIuNDYzbDIuMi0yYTEuNjY1IDEuNjY1IDAgMCAxIDIuMTMtLjA5N2w2Ljg2MyA1LjIwOUwyOC40NTIuODQ0YTIuNDg4IDIuNDg4IDAgMCAxIDEuODQxLS43MjljLjM1MS4wMDkuNjk5LjA5MSAxLjAxOS4yNDVsOC4yMzYgMy45NjFhMi41IDIuNSAwIDAgMSAxLjQxNSAyLjI1M3YuMDk5LS4wNDVWMzMuMzd2LS4wNDUuMDk1YTIuNTAxIDIuNTAxIDAgMCAxLTEuNDE2IDIuMjU3bC04LjIzNSAzLjk2MWEyLjQ5MiAyLjQ5MiAwIDAgMS0xLjA3Ny4yNDZabS43MTYtMjguOTQ3LTExLjk0OCA5LjA2MiAxMS45NTIgOS4wNjUtLjAwNC0xOC4xMjdaIi8+PC9zdmc+)](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22post-for-me-mcp%22%2C%22type%22%3A%22sse%22%2C%22url%22%3A%22https%3A%2F%2Fpost-for-me.stlmcp.com%2Fsse%22%7D)
13
+
14
+ > Note: You may need to set environment variables in your MCP client.
15
+
7
16
  ## Documentation
8
17
 
9
18
  Documentation for releases of this gem can be found [on RubyDoc](https://gemdocs.org/gems/post-for-me).
@@ -17,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
17
26
  <!-- x-release-please-start-version -->
18
27
 
19
28
  ```ruby
20
- gem "post-for-me", "~> 0.1.0.pre.alpha.11"
29
+ gem "post-for-me", "~> 0.1.0.pre.alpha.12"
21
30
  ```
22
31
 
23
32
  <!-- x-release-please-end -->
@@ -187,11 +187,21 @@ module PostForMe
187
187
  # @return [String, nil]
188
188
  optional :location, String, nil?: true
189
189
 
190
+ # @!attribute made_for_kids
191
+ # If true will notify YouTube the video is intended for kids, defaults to false
192
+ #
193
+ # @return [Boolean, nil]
194
+ optional :made_for_kids, PostForMe::Internal::Type::Boolean, nil?: true
195
+
190
196
  # @!attribute media
191
197
  # Overrides the `media` from the post
192
198
  #
193
- # @return [Array<String>, nil]
194
- optional :media, PostForMe::Internal::Type::ArrayOf[String], nil?: true
199
+ # @return [Array<PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media>, nil]
200
+ optional :media,
201
+ -> {
202
+ PostForMe::Internal::Type::ArrayOf[PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media]
203
+ },
204
+ nil?: true
195
205
 
196
206
  # @!attribute placement
197
207
  # Post placement for Facebook/Instagram/Threads
@@ -208,10 +218,15 @@ module PostForMe
208
218
  optional :poll, -> { PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Poll }
209
219
 
210
220
  # @!attribute privacy_status
211
- # Sets the privacy status for TikTok (private, public)
221
+ # Sets the privacy status for TikTok (private, public), or YouTube (private,
222
+ # public, unlisted)
212
223
  #
213
- # @return [String, nil]
214
- optional :privacy_status, String, nil?: true
224
+ # @return [Symbol, PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::PrivacyStatus, nil]
225
+ optional :privacy_status,
226
+ enum: -> {
227
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::PrivacyStatus
228
+ },
229
+ nil?: true
215
230
 
216
231
  # @!attribute quote_tweet_id
217
232
  # Id of the tweet you want to quote
@@ -241,7 +256,7 @@ module PostForMe
241
256
  # @return [String, nil]
242
257
  optional :title, String, nil?: true
243
258
 
244
- # @!method initialize(allow_comment: nil, allow_duet: nil, allow_stitch: nil, auto_add_music: nil, board_ids: nil, caption: nil, collaborators: nil, community_id: nil, disclose_branded_content: nil, disclose_your_brand: nil, is_ai_generated: nil, is_draft: nil, link: nil, location: nil, media: nil, placement: nil, poll: nil, privacy_status: nil, quote_tweet_id: nil, reply_settings: nil, share_to_feed: nil, title: nil)
259
+ # @!method initialize(allow_comment: nil, allow_duet: nil, allow_stitch: nil, auto_add_music: nil, board_ids: nil, caption: nil, collaborators: nil, community_id: nil, disclose_branded_content: nil, disclose_your_brand: nil, is_ai_generated: nil, is_draft: nil, link: nil, location: nil, made_for_kids: nil, media: nil, placement: nil, poll: nil, privacy_status: nil, quote_tweet_id: nil, reply_settings: nil, share_to_feed: nil, title: nil)
245
260
  # Some parameter documentations has been truncated, see
246
261
  # {PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration} for
247
262
  # more details.
@@ -276,13 +291,15 @@ module PostForMe
276
291
  #
277
292
  # @param location [String, nil] Page id with a location that you want to tag the image or video with (Instagram
278
293
  #
279
- # @param media [Array<String>, nil] Overrides the `media` from the post
294
+ # @param made_for_kids [Boolean, nil] If true will notify YouTube the video is intended for kids, defaults to false
295
+ #
296
+ # @param media [Array<PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media>, nil] Overrides the `media` from the post
280
297
  #
281
298
  # @param placement [Symbol, PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Placement, nil] Post placement for Facebook/Instagram/Threads
282
299
  #
283
300
  # @param poll [PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Poll] Poll options for the twitter
284
301
  #
285
- # @param privacy_status [String, nil] Sets the privacy status for TikTok (private, public)
302
+ # @param privacy_status [Symbol, PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::PrivacyStatus, nil] Sets the privacy status for TikTok (private, public), or YouTube (private, publi
286
303
  #
287
304
  # @param quote_tweet_id [String] Id of the tweet you want to quote
288
305
  #
@@ -292,6 +309,124 @@ module PostForMe
292
309
  #
293
310
  # @param title [String, nil] Overrides the `title` from the post
294
311
 
312
+ class Media < PostForMe::Internal::Type::BaseModel
313
+ # @!attribute url
314
+ # Public URL of the media
315
+ #
316
+ # @return [String]
317
+ required :url, String
318
+
319
+ # @!attribute tags
320
+ # List of tags to attach to the media
321
+ #
322
+ # @return [Array<PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag>, nil]
323
+ optional :tags,
324
+ -> {
325
+ PostForMe::Internal::Type::ArrayOf[PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag]
326
+ },
327
+ nil?: true
328
+
329
+ # @!attribute thumbnail_timestamp_ms
330
+ # Timestamp in milliseconds of frame to use as thumbnail for the media
331
+ #
332
+ # @return [Object, nil]
333
+ optional :thumbnail_timestamp_ms, PostForMe::Internal::Type::Unknown, nil?: true
334
+
335
+ # @!attribute thumbnail_url
336
+ # Public URL of the thumbnail for the media
337
+ #
338
+ # @return [Object, nil]
339
+ optional :thumbnail_url, PostForMe::Internal::Type::Unknown, nil?: true
340
+
341
+ # @!method initialize(url:, tags: nil, thumbnail_timestamp_ms: nil, thumbnail_url: nil)
342
+ # @param url [String] Public URL of the media
343
+ #
344
+ # @param tags [Array<PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag>, nil] List of tags to attach to the media
345
+ #
346
+ # @param thumbnail_timestamp_ms [Object, nil] Timestamp in milliseconds of frame to use as thumbnail for the media
347
+ #
348
+ # @param thumbnail_url [Object, nil] Public URL of the thumbnail for the media
349
+
350
+ class Tag < PostForMe::Internal::Type::BaseModel
351
+ # @!attribute id
352
+ # Facebook User ID, Instagram Username or Instagram product id to tag
353
+ #
354
+ # @return [String]
355
+ required :id, String
356
+
357
+ # @!attribute platform
358
+ # The platform for the tags
359
+ #
360
+ # @return [Symbol, PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::Platform]
361
+ required :platform,
362
+ enum: -> { PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::Platform }
363
+
364
+ # @!attribute type
365
+ # The type of tag, user to tag accounts, product to tag products (only supported
366
+ # for instagram)
367
+ #
368
+ # @return [Symbol, PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::Type]
369
+ required :type,
370
+ enum: -> { PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::Type }
371
+
372
+ # @!attribute x
373
+ # Percentage distance from left edge of the image, Not required for videos or
374
+ # stories
375
+ #
376
+ # @return [Float, nil]
377
+ optional :x, Float
378
+
379
+ # @!attribute y_
380
+ # Percentage distance from top edge of the image, Not required for videos or
381
+ # stories
382
+ #
383
+ # @return [Float, nil]
384
+ optional :y_, Float, api_name: :y
385
+
386
+ # @!method initialize(id:, platform:, type:, x: nil, y_: nil)
387
+ # Some parameter documentations has been truncated, see
388
+ # {PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag}
389
+ # for more details.
390
+ #
391
+ # @param id [String] Facebook User ID, Instagram Username or Instagram product id to tag
392
+ #
393
+ # @param platform [Symbol, PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::Platform] The platform for the tags
394
+ #
395
+ # @param type [Symbol, PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::Type] The type of tag, user to tag accounts, product to tag products (only supported f
396
+ #
397
+ # @param x [Float] Percentage distance from left edge of the image, Not required for videos or stor
398
+ #
399
+ # @param y_ [Float] Percentage distance from top edge of the image, Not required for videos or stori
400
+
401
+ # The platform for the tags
402
+ #
403
+ # @see PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag#platform
404
+ module Platform
405
+ extend PostForMe::Internal::Type::Enum
406
+
407
+ FACEBOOK = :facebook
408
+ INSTAGRAM = :instagram
409
+
410
+ # @!method self.values
411
+ # @return [Array<Symbol>]
412
+ end
413
+
414
+ # The type of tag, user to tag accounts, product to tag products (only supported
415
+ # for instagram)
416
+ #
417
+ # @see PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag#type
418
+ module Type
419
+ extend PostForMe::Internal::Type::Enum
420
+
421
+ USER = :user
422
+ PRODUCT = :product
423
+
424
+ # @!method self.values
425
+ # @return [Array<Symbol>]
426
+ end
427
+ end
428
+ end
429
+
295
430
  # Post placement for Facebook/Instagram/Threads
296
431
  #
297
432
  # @see PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration#placement
@@ -352,6 +487,21 @@ module PostForMe
352
487
  end
353
488
  end
354
489
 
490
+ # Sets the privacy status for TikTok (private, public), or YouTube (private,
491
+ # public, unlisted)
492
+ #
493
+ # @see PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration#privacy_status
494
+ module PrivacyStatus
495
+ extend PostForMe::Internal::Type::Enum
496
+
497
+ PUBLIC = :public
498
+ PRIVATE = :private
499
+ UNLISTED = :unlisted
500
+
501
+ # @!method self.values
502
+ # @return [Array<Symbol>]
503
+ end
504
+
355
505
  # Who can reply to the tweet
356
506
  #
357
507
  # @see PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration#reply_settings
@@ -204,11 +204,21 @@ module PostForMe
204
204
  # @return [String, nil]
205
205
  optional :location, String, nil?: true
206
206
 
207
+ # @!attribute made_for_kids
208
+ # If true will notify YouTube the video is intended for kids, defaults to false
209
+ #
210
+ # @return [Boolean, nil]
211
+ optional :made_for_kids, PostForMe::Internal::Type::Boolean, nil?: true
212
+
207
213
  # @!attribute media
208
214
  # Overrides the `media` from the post
209
215
  #
210
- # @return [Array<String>, nil]
211
- optional :media, PostForMe::Internal::Type::ArrayOf[String], nil?: true
216
+ # @return [Array<PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media>, nil]
217
+ optional :media,
218
+ -> {
219
+ PostForMe::Internal::Type::ArrayOf[PostForMe::SocialPost::AccountConfiguration::Configuration::Media]
220
+ },
221
+ nil?: true
212
222
 
213
223
  # @!attribute placement
214
224
  # Post placement for Facebook/Instagram/Threads
@@ -225,10 +235,13 @@ module PostForMe
225
235
  optional :poll, -> { PostForMe::SocialPost::AccountConfiguration::Configuration::Poll }
226
236
 
227
237
  # @!attribute privacy_status
228
- # Sets the privacy status for TikTok (private, public)
238
+ # Sets the privacy status for TikTok (private, public), or YouTube (private,
239
+ # public, unlisted)
229
240
  #
230
- # @return [String, nil]
231
- optional :privacy_status, String, nil?: true
241
+ # @return [Symbol, PostForMe::Models::SocialPost::AccountConfiguration::Configuration::PrivacyStatus, nil]
242
+ optional :privacy_status,
243
+ enum: -> { PostForMe::SocialPost::AccountConfiguration::Configuration::PrivacyStatus },
244
+ nil?: true
232
245
 
233
246
  # @!attribute quote_tweet_id
234
247
  # Id of the tweet you want to quote
@@ -256,7 +269,7 @@ module PostForMe
256
269
  # @return [String, nil]
257
270
  optional :title, String, nil?: true
258
271
 
259
- # @!method initialize(allow_comment: nil, allow_duet: nil, allow_stitch: nil, auto_add_music: nil, board_ids: nil, caption: nil, collaborators: nil, community_id: nil, disclose_branded_content: nil, disclose_your_brand: nil, is_ai_generated: nil, is_draft: nil, link: nil, location: nil, media: nil, placement: nil, poll: nil, privacy_status: nil, quote_tweet_id: nil, reply_settings: nil, share_to_feed: nil, title: nil)
272
+ # @!method initialize(allow_comment: nil, allow_duet: nil, allow_stitch: nil, auto_add_music: nil, board_ids: nil, caption: nil, collaborators: nil, community_id: nil, disclose_branded_content: nil, disclose_your_brand: nil, is_ai_generated: nil, is_draft: nil, link: nil, location: nil, made_for_kids: nil, media: nil, placement: nil, poll: nil, privacy_status: nil, quote_tweet_id: nil, reply_settings: nil, share_to_feed: nil, title: nil)
260
273
  # Some parameter documentations has been truncated, see
261
274
  # {PostForMe::Models::SocialPost::AccountConfiguration::Configuration} for more
262
275
  # details.
@@ -291,13 +304,15 @@ module PostForMe
291
304
  #
292
305
  # @param location [String, nil] Page id with a location that you want to tag the image or video with (Instagram
293
306
  #
294
- # @param media [Array<String>, nil] Overrides the `media` from the post
307
+ # @param made_for_kids [Boolean, nil] If true will notify YouTube the video is intended for kids, defaults to false
308
+ #
309
+ # @param media [Array<PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media>, nil] Overrides the `media` from the post
295
310
  #
296
311
  # @param placement [Symbol, PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Placement, nil] Post placement for Facebook/Instagram/Threads
297
312
  #
298
313
  # @param poll [PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Poll] Poll options for the twitter
299
314
  #
300
- # @param privacy_status [String, nil] Sets the privacy status for TikTok (private, public)
315
+ # @param privacy_status [Symbol, PostForMe::Models::SocialPost::AccountConfiguration::Configuration::PrivacyStatus, nil] Sets the privacy status for TikTok (private, public), or YouTube (private, publi
301
316
  #
302
317
  # @param quote_tweet_id [String] Id of the tweet you want to quote
303
318
  #
@@ -307,6 +322,123 @@ module PostForMe
307
322
  #
308
323
  # @param title [String, nil] Overrides the `title` from the post
309
324
 
325
+ class Media < PostForMe::Internal::Type::BaseModel
326
+ # @!attribute url
327
+ # Public URL of the media
328
+ #
329
+ # @return [String]
330
+ required :url, String
331
+
332
+ # @!attribute tags
333
+ # List of tags to attach to the media
334
+ #
335
+ # @return [Array<PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag>, nil]
336
+ optional :tags,
337
+ -> {
338
+ PostForMe::Internal::Type::ArrayOf[PostForMe::SocialPost::AccountConfiguration::Configuration::Media::Tag]
339
+ },
340
+ nil?: true
341
+
342
+ # @!attribute thumbnail_timestamp_ms
343
+ # Timestamp in milliseconds of frame to use as thumbnail for the media
344
+ #
345
+ # @return [Object, nil]
346
+ optional :thumbnail_timestamp_ms, PostForMe::Internal::Type::Unknown, nil?: true
347
+
348
+ # @!attribute thumbnail_url
349
+ # Public URL of the thumbnail for the media
350
+ #
351
+ # @return [Object, nil]
352
+ optional :thumbnail_url, PostForMe::Internal::Type::Unknown, nil?: true
353
+
354
+ # @!method initialize(url:, tags: nil, thumbnail_timestamp_ms: nil, thumbnail_url: nil)
355
+ # @param url [String] Public URL of the media
356
+ #
357
+ # @param tags [Array<PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag>, nil] List of tags to attach to the media
358
+ #
359
+ # @param thumbnail_timestamp_ms [Object, nil] Timestamp in milliseconds of frame to use as thumbnail for the media
360
+ #
361
+ # @param thumbnail_url [Object, nil] Public URL of the thumbnail for the media
362
+
363
+ class Tag < PostForMe::Internal::Type::BaseModel
364
+ # @!attribute id
365
+ # Facebook User ID, Instagram Username or Instagram product id to tag
366
+ #
367
+ # @return [String]
368
+ required :id, String
369
+
370
+ # @!attribute platform
371
+ # The platform for the tags
372
+ #
373
+ # @return [Symbol, PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag::Platform]
374
+ required :platform,
375
+ enum: -> { PostForMe::SocialPost::AccountConfiguration::Configuration::Media::Tag::Platform }
376
+
377
+ # @!attribute type
378
+ # The type of tag, user to tag accounts, product to tag products (only supported
379
+ # for instagram)
380
+ #
381
+ # @return [Symbol, PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag::Type]
382
+ required :type, enum: -> { PostForMe::SocialPost::AccountConfiguration::Configuration::Media::Tag::Type }
383
+
384
+ # @!attribute x
385
+ # Percentage distance from left edge of the image, Not required for videos or
386
+ # stories
387
+ #
388
+ # @return [Float, nil]
389
+ optional :x, Float
390
+
391
+ # @!attribute y_
392
+ # Percentage distance from top edge of the image, Not required for videos or
393
+ # stories
394
+ #
395
+ # @return [Float, nil]
396
+ optional :y_, Float, api_name: :y
397
+
398
+ # @!method initialize(id:, platform:, type:, x: nil, y_: nil)
399
+ # Some parameter documentations has been truncated, see
400
+ # {PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag}
401
+ # for more details.
402
+ #
403
+ # @param id [String] Facebook User ID, Instagram Username or Instagram product id to tag
404
+ #
405
+ # @param platform [Symbol, PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag::Platform] The platform for the tags
406
+ #
407
+ # @param type [Symbol, PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag::Type] The type of tag, user to tag accounts, product to tag products (only supported f
408
+ #
409
+ # @param x [Float] Percentage distance from left edge of the image, Not required for videos or stor
410
+ #
411
+ # @param y_ [Float] Percentage distance from top edge of the image, Not required for videos or stori
412
+
413
+ # The platform for the tags
414
+ #
415
+ # @see PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag#platform
416
+ module Platform
417
+ extend PostForMe::Internal::Type::Enum
418
+
419
+ FACEBOOK = :facebook
420
+ INSTAGRAM = :instagram
421
+
422
+ # @!method self.values
423
+ # @return [Array<Symbol>]
424
+ end
425
+
426
+ # The type of tag, user to tag accounts, product to tag products (only supported
427
+ # for instagram)
428
+ #
429
+ # @see PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag#type
430
+ module Type
431
+ extend PostForMe::Internal::Type::Enum
432
+
433
+ USER = :user
434
+ PRODUCT = :product
435
+
436
+ # @!method self.values
437
+ # @return [Array<Symbol>]
438
+ end
439
+ end
440
+ end
441
+
310
442
  # Post placement for Facebook/Instagram/Threads
311
443
  #
312
444
  # @see PostForMe::Models::SocialPost::AccountConfiguration::Configuration#placement
@@ -367,6 +499,21 @@ module PostForMe
367
499
  end
368
500
  end
369
501
 
502
+ # Sets the privacy status for TikTok (private, public), or YouTube (private,
503
+ # public, unlisted)
504
+ #
505
+ # @see PostForMe::Models::SocialPost::AccountConfiguration::Configuration#privacy_status
506
+ module PrivacyStatus
507
+ extend PostForMe::Internal::Type::Enum
508
+
509
+ PUBLIC = :public
510
+ PRIVATE = :private
511
+ UNLISTED = :unlisted
512
+
513
+ # @!method self.values
514
+ # @return [Array<Symbol>]
515
+ end
516
+
370
517
  # Who can reply to the tweet
371
518
  #
372
519
  # @see PostForMe::Models::SocialPost::AccountConfiguration::Configuration#reply_settings
@@ -32,13 +32,19 @@ module PostForMe
32
32
  optional :platform,
33
33
  -> { PostForMe::Internal::Type::ArrayOf[enum: PostForMe::SocialPostListParams::Platform] }
34
34
 
35
+ # @!attribute social_account_id
36
+ # Filter by social account ID. Multiple values imply OR logic.
37
+ #
38
+ # @return [Array<String>, nil]
39
+ optional :social_account_id, PostForMe::Internal::Type::ArrayOf[String]
40
+
35
41
  # @!attribute status
36
42
  # Filter by post status. Multiple values imply OR logic.
37
43
  #
38
44
  # @return [Array<Symbol, PostForMe::Models::SocialPostListParams::Status>, nil]
39
45
  optional :status, -> { PostForMe::Internal::Type::ArrayOf[enum: PostForMe::SocialPostListParams::Status] }
40
46
 
41
- # @!method initialize(external_id: nil, limit: nil, offset: nil, platform: nil, status: nil, request_options: {})
47
+ # @!method initialize(external_id: nil, limit: nil, offset: nil, platform: nil, social_account_id: nil, status: nil, request_options: {})
42
48
  # @param external_id [Array<String>] Filter by external ID. Multiple values imply OR logic.
43
49
  #
44
50
  # @param limit [Float] Number of items to return
@@ -47,6 +53,8 @@ module PostForMe
47
53
  #
48
54
  # @param platform [Array<Symbol, PostForMe::Models::SocialPostListParams::Platform>] Filter by platforms. Multiple values imply OR logic.
49
55
  #
56
+ # @param social_account_id [Array<String>] Filter by social account ID. Multiple values imply OR logic.
57
+ #
50
58
  # @param status [Array<Symbol, PostForMe::Models::SocialPostListParams::Status>] Filter by post status. Multiple values imply OR logic.
51
59
  #
52
60
  # @param request_options [PostForMe::RequestOptions, Hash{Symbol=>Object}]
@@ -33,7 +33,14 @@ module PostForMe
33
33
  # @return [Array<String>, nil]
34
34
  optional :post_id, PostForMe::Internal::Type::ArrayOf[String]
35
35
 
36
- # @!method initialize(limit: nil, offset: nil, platform: nil, post_id: nil, request_options: {})
36
+ # @!attribute social_account_id
37
+ # Filter by social account ID(s). Multiple values imply OR logic (e.g.,
38
+ # ?social_account_id=123&social_account_id=456).
39
+ #
40
+ # @return [Array<String>, nil]
41
+ optional :social_account_id, PostForMe::Internal::Type::ArrayOf[String]
42
+
43
+ # @!method initialize(limit: nil, offset: nil, platform: nil, post_id: nil, social_account_id: nil, request_options: {})
37
44
  # Some parameter documentations has been truncated, see
38
45
  # {PostForMe::Models::SocialPostResultListParams} for more details.
39
46
  #
@@ -45,6 +52,8 @@ module PostForMe
45
52
  #
46
53
  # @param post_id [Array<String>] Filter by post IDs. Multiple values imply OR logic (e.g., ?post_id=123&post_id=4
47
54
  #
55
+ # @param social_account_id [Array<String>] Filter by social account ID(s). Multiple values imply OR logic (e.g., ?social_ac
56
+ #
48
57
  # @param request_options [PostForMe::RequestOptions, Hash{Symbol=>Object}]
49
58
  end
50
59
  end
@@ -9,6 +9,12 @@ module PostForMe
9
9
  # @return [Object, nil]
10
10
  optional :caption, PostForMe::Internal::Type::Unknown, nil?: true
11
11
 
12
+ # @!attribute made_for_kids
13
+ # If true will notify YouTube the video is intended for kids, defaults to false
14
+ #
15
+ # @return [Boolean, nil]
16
+ optional :made_for_kids, PostForMe::Internal::Type::Boolean, nil?: true
17
+
12
18
  # @!attribute media
13
19
  # Overrides the `media` from the post
14
20
  #
@@ -17,17 +23,27 @@ module PostForMe
17
23
  -> { PostForMe::Internal::Type::ArrayOf[PostForMe::YoutubeConfigurationDto::Media] },
18
24
  nil?: true
19
25
 
26
+ # @!attribute privacy_status
27
+ # Sets the privacy status of the video, will default to public
28
+ #
29
+ # @return [Symbol, PostForMe::Models::YoutubeConfigurationDto::PrivacyStatus, nil]
30
+ optional :privacy_status, enum: -> { PostForMe::YoutubeConfigurationDto::PrivacyStatus }, nil?: true
31
+
20
32
  # @!attribute title
21
33
  # Overrides the `title` from the post
22
34
  #
23
35
  # @return [String, nil]
24
36
  optional :title, String, nil?: true
25
37
 
26
- # @!method initialize(caption: nil, media: nil, title: nil)
38
+ # @!method initialize(caption: nil, made_for_kids: nil, media: nil, privacy_status: nil, title: nil)
27
39
  # @param caption [Object, nil] Overrides the `caption` from the post
28
40
  #
41
+ # @param made_for_kids [Boolean, nil] If true will notify YouTube the video is intended for kids, defaults to false
42
+ #
29
43
  # @param media [Array<PostForMe::Models::YoutubeConfigurationDto::Media>, nil] Overrides the `media` from the post
30
44
  #
45
+ # @param privacy_status [Symbol, PostForMe::Models::YoutubeConfigurationDto::PrivacyStatus, nil] Sets the privacy status of the video, will default to public
46
+ #
31
47
  # @param title [String, nil] Overrides the `title` from the post
32
48
 
33
49
  class Media < PostForMe::Internal::Type::BaseModel
@@ -142,6 +158,20 @@ module PostForMe
142
158
  end
143
159
  end
144
160
  end
161
+
162
+ # Sets the privacy status of the video, will default to public
163
+ #
164
+ # @see PostForMe::Models::YoutubeConfigurationDto#privacy_status
165
+ module PrivacyStatus
166
+ extend PostForMe::Internal::Type::Enum
167
+
168
+ PUBLIC = :public
169
+ PRIVATE = :private
170
+ UNLISTED = :unlisted
171
+
172
+ # @!method self.values
173
+ # @return [Array<Symbol>]
174
+ end
145
175
  end
146
176
  end
147
177
  end
@@ -28,7 +28,7 @@ module PostForMe
28
28
  #
29
29
  # Get a paginated result for post results based on the applied filters
30
30
  #
31
- # @overload list(limit: nil, offset: nil, platform: nil, post_id: nil, request_options: {})
31
+ # @overload list(limit: nil, offset: nil, platform: nil, post_id: nil, social_account_id: nil, request_options: {})
32
32
  #
33
33
  # @param limit [Float] Number of items to return
34
34
  #
@@ -38,6 +38,8 @@ module PostForMe
38
38
  #
39
39
  # @param post_id [Array<String>] Filter by post IDs. Multiple values imply OR logic (e.g., ?post_id=123&post_id=4
40
40
  #
41
+ # @param social_account_id [Array<String>] Filter by social account ID(s). Multiple values imply OR logic (e.g., ?social_ac
42
+ #
41
43
  # @param request_options [PostForMe::RequestOptions, Hash{Symbol=>Object}, nil]
42
44
  #
43
45
  # @return [PostForMe::Models::SocialPostResultListResponse]
@@ -105,7 +105,7 @@ module PostForMe
105
105
 
106
106
  # Get a paginated result for posts based on the applied filters
107
107
  #
108
- # @overload list(external_id: nil, limit: nil, offset: nil, platform: nil, status: nil, request_options: {})
108
+ # @overload list(external_id: nil, limit: nil, offset: nil, platform: nil, social_account_id: nil, status: nil, request_options: {})
109
109
  #
110
110
  # @param external_id [Array<String>] Filter by external ID. Multiple values imply OR logic.
111
111
  #
@@ -115,6 +115,8 @@ module PostForMe
115
115
  #
116
116
  # @param platform [Array<Symbol, PostForMe::Models::SocialPostListParams::Platform>] Filter by platforms. Multiple values imply OR logic.
117
117
  #
118
+ # @param social_account_id [Array<String>] Filter by social account ID. Multiple values imply OR logic.
119
+ #
118
120
  # @param status [Array<Symbol, PostForMe::Models::SocialPostListParams::Status>] Filter by post status. Multiple values imply OR logic.
119
121
  #
120
122
  # @param request_options [PostForMe::RequestOptions, Hash{Symbol=>Object}, nil]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PostForMe
4
- VERSION = "0.1.0.pre.alpha.11"
4
+ VERSION = "0.1.0.pre.alpha.12"
5
5
  end