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

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.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +28 -0
  3. data/README.md +10 -1
  4. data/lib/post_for_me/models/create_social_post.rb +187 -8
  5. data/lib/post_for_me/models/instagram_configuration_dto.rb +29 -1
  6. data/lib/post_for_me/models/social_post.rb +182 -8
  7. data/lib/post_for_me/models/social_post_list_params.rb +9 -1
  8. data/lib/post_for_me/models/social_post_result_list_params.rb +10 -1
  9. data/lib/post_for_me/models/youtube_configuration_dto.rb +31 -1
  10. data/lib/post_for_me/resources/social_post_results.rb +3 -1
  11. data/lib/post_for_me/resources/social_posts.rb +3 -1
  12. data/lib/post_for_me/version.rb +1 -1
  13. data/rbi/post_for_me/models/create_social_post.rbi +392 -11
  14. data/rbi/post_for_me/models/instagram_configuration_dto.rbi +61 -3
  15. data/rbi/post_for_me/models/social_post.rbi +392 -11
  16. data/rbi/post_for_me/models/social_post_list_params.rbi +11 -0
  17. data/rbi/post_for_me/models/social_post_result_list_params.rbi +13 -0
  18. data/rbi/post_for_me/models/youtube_configuration_dto.rbi +63 -0
  19. data/rbi/post_for_me/resources/social_post_results.rbi +4 -0
  20. data/rbi/post_for_me/resources/social_posts.rbi +3 -0
  21. data/sig/post_for_me/models/create_social_post.rbs +139 -11
  22. data/sig/post_for_me/models/instagram_configuration_dto.rbs +19 -3
  23. data/sig/post_for_me/models/social_post.rbs +139 -11
  24. data/sig/post_for_me/models/social_post_list_params.rbs +7 -0
  25. data/sig/post_for_me/models/social_post_result_list_params.rbs +8 -1
  26. data/sig/post_for_me/models/youtube_configuration_dto.rbs +22 -0
  27. data/sig/post_for_me/resources/social_post_results.rbs +1 -0
  28. data/sig/post_for_me/resources/social_posts.rbs +1 -0
  29. metadata +16 -2
@@ -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.13"
5
5
  end
@@ -241,8 +241,20 @@ module PostForMe
241
241
  sig { returns(T.nilable(String)) }
242
242
  attr_accessor :location
243
243
 
244
+ # If true will notify YouTube the video is intended for kids, defaults to false
245
+ sig { returns(T.nilable(T::Boolean)) }
246
+ attr_accessor :made_for_kids
247
+
244
248
  # Overrides the `media` from the post
245
- sig { returns(T.nilable(T::Array[String])) }
249
+ sig do
250
+ returns(
251
+ T.nilable(
252
+ T::Array[
253
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media
254
+ ]
255
+ )
256
+ )
257
+ end
246
258
  attr_accessor :media
247
259
 
248
260
  # Post placement for Facebook/Instagram/Threads
@@ -273,8 +285,15 @@ module PostForMe
273
285
  end
274
286
  attr_writer :poll
275
287
 
276
- # Sets the privacy status for TikTok (private, public)
277
- sig { returns(T.nilable(String)) }
288
+ # Sets the privacy status for TikTok (private, public), or YouTube (private,
289
+ # public, unlisted)
290
+ sig do
291
+ returns(
292
+ T.nilable(
293
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::PrivacyStatus::OrSymbol
294
+ )
295
+ )
296
+ end
278
297
  attr_accessor :privacy_status
279
298
 
280
299
  # Id of the tweet you want to quote
@@ -302,6 +321,18 @@ module PostForMe
302
321
  sig { returns(T.nilable(String)) }
303
322
  attr_accessor :title
304
323
 
324
+ # Instagram trial reel type, when passed will be created as a trial reel. If
325
+ # manual the trial reel can be manually graduated in the native app. If perfomance
326
+ # the trial reel will be automatically graduated if the trial reel performs well.
327
+ sig do
328
+ returns(
329
+ T.nilable(
330
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::TrialReelType::OrSymbol
331
+ )
332
+ )
333
+ end
334
+ attr_accessor :trial_reel_type
335
+
305
336
  # Configuration for the social account
306
337
  sig do
307
338
  params(
@@ -319,21 +350,34 @@ module PostForMe
319
350
  is_draft: T.nilable(T::Boolean),
320
351
  link: T.nilable(String),
321
352
  location: T.nilable(String),
322
- media: T.nilable(T::Array[String]),
353
+ made_for_kids: T.nilable(T::Boolean),
354
+ media:
355
+ T.nilable(
356
+ T::Array[
357
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::OrHash
358
+ ]
359
+ ),
323
360
  placement:
324
361
  T.nilable(
325
362
  PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Placement::OrSymbol
326
363
  ),
327
364
  poll:
328
365
  PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Poll::OrHash,
329
- privacy_status: T.nilable(String),
366
+ privacy_status:
367
+ T.nilable(
368
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::PrivacyStatus::OrSymbol
369
+ ),
330
370
  quote_tweet_id: String,
331
371
  reply_settings:
332
372
  T.nilable(
333
373
  PostForMe::CreateSocialPost::AccountConfiguration::Configuration::ReplySettings::OrSymbol
334
374
  ),
335
375
  share_to_feed: T.nilable(T::Boolean),
336
- title: T.nilable(String)
376
+ title: T.nilable(String),
377
+ trial_reel_type:
378
+ T.nilable(
379
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::TrialReelType::OrSymbol
380
+ )
337
381
  ).returns(T.attached_class)
338
382
  end
339
383
  def self.new(
@@ -368,13 +412,16 @@ module PostForMe
368
412
  # Page id with a location that you want to tag the image or video with (Instagram
369
413
  # and Facebook)
370
414
  location: nil,
415
+ # If true will notify YouTube the video is intended for kids, defaults to false
416
+ made_for_kids: nil,
371
417
  # Overrides the `media` from the post
372
418
  media: nil,
373
419
  # Post placement for Facebook/Instagram/Threads
374
420
  placement: nil,
375
421
  # Poll options for the twitter
376
422
  poll: nil,
377
- # Sets the privacy status for TikTok (private, public)
423
+ # Sets the privacy status for TikTok (private, public), or YouTube (private,
424
+ # public, unlisted)
378
425
  privacy_status: nil,
379
426
  # Id of the tweet you want to quote
380
427
  quote_tweet_id: nil,
@@ -383,7 +430,11 @@ module PostForMe
383
430
  # If false Instagram video posts will only be shown in the Reels tab
384
431
  share_to_feed: nil,
385
432
  # Overrides the `title` from the post
386
- title: nil
433
+ title: nil,
434
+ # Instagram trial reel type, when passed will be created as a trial reel. If
435
+ # manual the trial reel can be manually graduated in the native app. If perfomance
436
+ # the trial reel will be automatically graduated if the trial reel performs well.
437
+ trial_reel_type: nil
387
438
  )
388
439
  end
389
440
 
@@ -404,27 +455,279 @@ module PostForMe
404
455
  is_draft: T.nilable(T::Boolean),
405
456
  link: T.nilable(String),
406
457
  location: T.nilable(String),
407
- media: T.nilable(T::Array[String]),
458
+ made_for_kids: T.nilable(T::Boolean),
459
+ media:
460
+ T.nilable(
461
+ T::Array[
462
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media
463
+ ]
464
+ ),
408
465
  placement:
409
466
  T.nilable(
410
467
  PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Placement::OrSymbol
411
468
  ),
412
469
  poll:
413
470
  PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Poll,
414
- privacy_status: T.nilable(String),
471
+ privacy_status:
472
+ T.nilable(
473
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::PrivacyStatus::OrSymbol
474
+ ),
415
475
  quote_tweet_id: String,
416
476
  reply_settings:
417
477
  T.nilable(
418
478
  PostForMe::CreateSocialPost::AccountConfiguration::Configuration::ReplySettings::OrSymbol
419
479
  ),
420
480
  share_to_feed: T.nilable(T::Boolean),
421
- title: T.nilable(String)
481
+ title: T.nilable(String),
482
+ trial_reel_type:
483
+ T.nilable(
484
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::TrialReelType::OrSymbol
485
+ )
422
486
  }
423
487
  )
424
488
  end
425
489
  def to_hash
426
490
  end
427
491
 
492
+ class Media < PostForMe::Internal::Type::BaseModel
493
+ OrHash =
494
+ T.type_alias do
495
+ T.any(
496
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media,
497
+ PostForMe::Internal::AnyHash
498
+ )
499
+ end
500
+
501
+ # Public URL of the media
502
+ sig { returns(String) }
503
+ attr_accessor :url
504
+
505
+ # List of tags to attach to the media
506
+ sig do
507
+ returns(
508
+ T.nilable(
509
+ T::Array[
510
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag
511
+ ]
512
+ )
513
+ )
514
+ end
515
+ attr_accessor :tags
516
+
517
+ # Timestamp in milliseconds of frame to use as thumbnail for the media
518
+ sig { returns(T.nilable(T.anything)) }
519
+ attr_accessor :thumbnail_timestamp_ms
520
+
521
+ # Public URL of the thumbnail for the media
522
+ sig { returns(T.nilable(T.anything)) }
523
+ attr_accessor :thumbnail_url
524
+
525
+ sig do
526
+ params(
527
+ url: String,
528
+ tags:
529
+ T.nilable(
530
+ T::Array[
531
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::OrHash
532
+ ]
533
+ ),
534
+ thumbnail_timestamp_ms: T.nilable(T.anything),
535
+ thumbnail_url: T.nilable(T.anything)
536
+ ).returns(T.attached_class)
537
+ end
538
+ def self.new(
539
+ # Public URL of the media
540
+ url:,
541
+ # List of tags to attach to the media
542
+ tags: nil,
543
+ # Timestamp in milliseconds of frame to use as thumbnail for the media
544
+ thumbnail_timestamp_ms: nil,
545
+ # Public URL of the thumbnail for the media
546
+ thumbnail_url: nil
547
+ )
548
+ end
549
+
550
+ sig do
551
+ override.returns(
552
+ {
553
+ url: String,
554
+ tags:
555
+ T.nilable(
556
+ T::Array[
557
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag
558
+ ]
559
+ ),
560
+ thumbnail_timestamp_ms: T.nilable(T.anything),
561
+ thumbnail_url: T.nilable(T.anything)
562
+ }
563
+ )
564
+ end
565
+ def to_hash
566
+ end
567
+
568
+ class Tag < PostForMe::Internal::Type::BaseModel
569
+ OrHash =
570
+ T.type_alias do
571
+ T.any(
572
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag,
573
+ PostForMe::Internal::AnyHash
574
+ )
575
+ end
576
+
577
+ # Facebook User ID, Instagram Username or Instagram product id to tag
578
+ sig { returns(String) }
579
+ attr_accessor :id
580
+
581
+ # The platform for the tags
582
+ sig do
583
+ returns(
584
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::Platform::OrSymbol
585
+ )
586
+ end
587
+ attr_accessor :platform
588
+
589
+ # The type of tag, user to tag accounts, product to tag products (only supported
590
+ # for instagram)
591
+ sig do
592
+ returns(
593
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::Type::OrSymbol
594
+ )
595
+ end
596
+ attr_accessor :type
597
+
598
+ # Percentage distance from left edge of the image, Not required for videos or
599
+ # stories
600
+ sig { returns(T.nilable(Float)) }
601
+ attr_reader :x
602
+
603
+ sig { params(x: Float).void }
604
+ attr_writer :x
605
+
606
+ # Percentage distance from top edge of the image, Not required for videos or
607
+ # stories
608
+ sig { returns(T.nilable(Float)) }
609
+ attr_reader :y_
610
+
611
+ sig { params(y_: Float).void }
612
+ attr_writer :y_
613
+
614
+ sig do
615
+ params(
616
+ id: String,
617
+ platform:
618
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::Platform::OrSymbol,
619
+ type:
620
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::Type::OrSymbol,
621
+ x: Float,
622
+ y_: Float
623
+ ).returns(T.attached_class)
624
+ end
625
+ def self.new(
626
+ # Facebook User ID, Instagram Username or Instagram product id to tag
627
+ id:,
628
+ # The platform for the tags
629
+ platform:,
630
+ # The type of tag, user to tag accounts, product to tag products (only supported
631
+ # for instagram)
632
+ type:,
633
+ # Percentage distance from left edge of the image, Not required for videos or
634
+ # stories
635
+ x: nil,
636
+ # Percentage distance from top edge of the image, Not required for videos or
637
+ # stories
638
+ y_: nil
639
+ )
640
+ end
641
+
642
+ sig do
643
+ override.returns(
644
+ {
645
+ id: String,
646
+ platform:
647
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::Platform::OrSymbol,
648
+ type:
649
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::Type::OrSymbol,
650
+ x: Float,
651
+ y_: Float
652
+ }
653
+ )
654
+ end
655
+ def to_hash
656
+ end
657
+
658
+ # The platform for the tags
659
+ module Platform
660
+ extend PostForMe::Internal::Type::Enum
661
+
662
+ TaggedSymbol =
663
+ T.type_alias do
664
+ T.all(
665
+ Symbol,
666
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::Platform
667
+ )
668
+ end
669
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
670
+
671
+ FACEBOOK =
672
+ T.let(
673
+ :facebook,
674
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::Platform::TaggedSymbol
675
+ )
676
+ INSTAGRAM =
677
+ T.let(
678
+ :instagram,
679
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::Platform::TaggedSymbol
680
+ )
681
+
682
+ sig do
683
+ override.returns(
684
+ T::Array[
685
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::Platform::TaggedSymbol
686
+ ]
687
+ )
688
+ end
689
+ def self.values
690
+ end
691
+ end
692
+
693
+ # The type of tag, user to tag accounts, product to tag products (only supported
694
+ # for instagram)
695
+ module Type
696
+ extend PostForMe::Internal::Type::Enum
697
+
698
+ TaggedSymbol =
699
+ T.type_alias do
700
+ T.all(
701
+ Symbol,
702
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::Type
703
+ )
704
+ end
705
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
706
+
707
+ USER =
708
+ T.let(
709
+ :user,
710
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::Type::TaggedSymbol
711
+ )
712
+ PRODUCT =
713
+ T.let(
714
+ :product,
715
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::Type::TaggedSymbol
716
+ )
717
+
718
+ sig do
719
+ override.returns(
720
+ T::Array[
721
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::Type::TaggedSymbol
722
+ ]
723
+ )
724
+ end
725
+ def self.values
726
+ end
727
+ end
728
+ end
729
+ end
730
+
428
731
  # Post placement for Facebook/Instagram/Threads
429
732
  module Placement
430
733
  extend PostForMe::Internal::Type::Enum
@@ -578,6 +881,47 @@ module PostForMe
578
881
  end
579
882
  end
580
883
 
884
+ # Sets the privacy status for TikTok (private, public), or YouTube (private,
885
+ # public, unlisted)
886
+ module PrivacyStatus
887
+ extend PostForMe::Internal::Type::Enum
888
+
889
+ TaggedSymbol =
890
+ T.type_alias do
891
+ T.all(
892
+ Symbol,
893
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::PrivacyStatus
894
+ )
895
+ end
896
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
897
+
898
+ PUBLIC =
899
+ T.let(
900
+ :public,
901
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::PrivacyStatus::TaggedSymbol
902
+ )
903
+ PRIVATE =
904
+ T.let(
905
+ :private,
906
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::PrivacyStatus::TaggedSymbol
907
+ )
908
+ UNLISTED =
909
+ T.let(
910
+ :unlisted,
911
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::PrivacyStatus::TaggedSymbol
912
+ )
913
+
914
+ sig do
915
+ override.returns(
916
+ T::Array[
917
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::PrivacyStatus::TaggedSymbol
918
+ ]
919
+ )
920
+ end
921
+ def self.values
922
+ end
923
+ end
924
+
581
925
  # Who can reply to the tweet
582
926
  module ReplySettings
583
927
  extend PostForMe::Internal::Type::Enum
@@ -622,6 +966,43 @@ module PostForMe
622
966
  def self.values
623
967
  end
624
968
  end
969
+
970
+ # Instagram trial reel type, when passed will be created as a trial reel. If
971
+ # manual the trial reel can be manually graduated in the native app. If perfomance
972
+ # the trial reel will be automatically graduated if the trial reel performs well.
973
+ module TrialReelType
974
+ extend PostForMe::Internal::Type::Enum
975
+
976
+ TaggedSymbol =
977
+ T.type_alias do
978
+ T.all(
979
+ Symbol,
980
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::TrialReelType
981
+ )
982
+ end
983
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
984
+
985
+ MANUAL =
986
+ T.let(
987
+ :manual,
988
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::TrialReelType::TaggedSymbol
989
+ )
990
+ PERFORMANCE =
991
+ T.let(
992
+ :performance,
993
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::TrialReelType::TaggedSymbol
994
+ )
995
+
996
+ sig do
997
+ override.returns(
998
+ T::Array[
999
+ PostForMe::CreateSocialPost::AccountConfiguration::Configuration::TrialReelType::TaggedSymbol
1000
+ ]
1001
+ )
1002
+ end
1003
+ def self.values
1004
+ end
1005
+ end
625
1006
  end
626
1007
  end
627
1008