post-for-me 0.1.0.pre.alpha.12 → 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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/post_for_me/models/create_social_post.rb +30 -1
- data/lib/post_for_me/models/instagram_configuration_dto.rb +29 -1
- data/lib/post_for_me/models/social_post.rb +28 -1
- data/lib/post_for_me/version.rb +1 -1
- data/rbi/post_for_me/models/create_social_post.rbi +64 -3
- data/rbi/post_for_me/models/instagram_configuration_dto.rbi +61 -3
- data/rbi/post_for_me/models/social_post.rbi +64 -3
- data/sig/post_for_me/models/create_social_post.rbs +19 -3
- data/sig/post_for_me/models/instagram_configuration_dto.rbs +19 -3
- data/sig/post_for_me/models/social_post.rbs +19 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a04140ad9183779eafdac4c5896072954ff1f6d3b2c457cad4faff40d5270bbd
|
|
4
|
+
data.tar.gz: f724a3670613af4937a1f3a35036c884afc6f12d20d67eb7712bdc5db5ab7614
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5d0cd04d669cc5b4f6ce7f26b4d0fb338981c1dfafe35d755b9dad9468026e965b6b8a5d6912219a24f830e8761f8ecae14b797093bd5f673d308328ca8e3ce4
|
|
7
|
+
data.tar.gz: 48f2d22f67dbca0981c5609924512d7921ded4fd2c8fa0d6f9f708918b48c5ecdbbb3724a065e9eec9efd7ebb147d82961fe6426856c817330e0cf9705a19fa9
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.13 (2026-01-14)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.12...v0.1.0-alpha.13](https://github.com/DayMoonDevelopment/post-for-me-ruby/compare/v0.1.0-alpha.12...v0.1.0-alpha.13)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([4cc1346](https://github.com/DayMoonDevelopment/post-for-me-ruby/commit/4cc1346e6eac118d092a04c4f4c79109af1978b8))
|
|
10
|
+
|
|
3
11
|
## 0.1.0-alpha.12 (2026-01-10)
|
|
4
12
|
|
|
5
13
|
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)
|
data/README.md
CHANGED
|
@@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
|
|
|
26
26
|
<!-- x-release-please-start-version -->
|
|
27
27
|
|
|
28
28
|
```ruby
|
|
29
|
-
gem "post-for-me", "~> 0.1.0.pre.alpha.
|
|
29
|
+
gem "post-for-me", "~> 0.1.0.pre.alpha.13"
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
<!-- x-release-please-end -->
|
|
@@ -256,7 +256,19 @@ module PostForMe
|
|
|
256
256
|
# @return [String, nil]
|
|
257
257
|
optional :title, String, nil?: true
|
|
258
258
|
|
|
259
|
-
# @!
|
|
259
|
+
# @!attribute trial_reel_type
|
|
260
|
+
# Instagram trial reel type, when passed will be created as a trial reel. If
|
|
261
|
+
# manual the trial reel can be manually graduated in the native app. If perfomance
|
|
262
|
+
# the trial reel will be automatically graduated if the trial reel performs well.
|
|
263
|
+
#
|
|
264
|
+
# @return [Symbol, PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::TrialReelType, nil]
|
|
265
|
+
optional :trial_reel_type,
|
|
266
|
+
enum: -> {
|
|
267
|
+
PostForMe::CreateSocialPost::AccountConfiguration::Configuration::TrialReelType
|
|
268
|
+
},
|
|
269
|
+
nil?: true
|
|
270
|
+
|
|
271
|
+
# @!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, trial_reel_type: nil)
|
|
260
272
|
# Some parameter documentations has been truncated, see
|
|
261
273
|
# {PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration} for
|
|
262
274
|
# more details.
|
|
@@ -308,6 +320,8 @@ module PostForMe
|
|
|
308
320
|
# @param share_to_feed [Boolean, nil] If false Instagram video posts will only be shown in the Reels tab
|
|
309
321
|
#
|
|
310
322
|
# @param title [String, nil] Overrides the `title` from the post
|
|
323
|
+
#
|
|
324
|
+
# @param trial_reel_type [Symbol, PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::TrialReelType, nil] Instagram trial reel type, when passed will be created as a trial reel. If manua
|
|
311
325
|
|
|
312
326
|
class Media < PostForMe::Internal::Type::BaseModel
|
|
313
327
|
# @!attribute url
|
|
@@ -516,6 +530,21 @@ module PostForMe
|
|
|
516
530
|
# @!method self.values
|
|
517
531
|
# @return [Array<Symbol>]
|
|
518
532
|
end
|
|
533
|
+
|
|
534
|
+
# Instagram trial reel type, when passed will be created as a trial reel. If
|
|
535
|
+
# manual the trial reel can be manually graduated in the native app. If perfomance
|
|
536
|
+
# the trial reel will be automatically graduated if the trial reel performs well.
|
|
537
|
+
#
|
|
538
|
+
# @see PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration#trial_reel_type
|
|
539
|
+
module TrialReelType
|
|
540
|
+
extend PostForMe::Internal::Type::Enum
|
|
541
|
+
|
|
542
|
+
MANUAL = :manual
|
|
543
|
+
PERFORMANCE = :performance
|
|
544
|
+
|
|
545
|
+
# @!method self.values
|
|
546
|
+
# @return [Array<Symbol>]
|
|
547
|
+
end
|
|
519
548
|
end
|
|
520
549
|
end
|
|
521
550
|
|
|
@@ -41,7 +41,18 @@ module PostForMe
|
|
|
41
41
|
# @return [Boolean, nil]
|
|
42
42
|
optional :share_to_feed, PostForMe::Internal::Type::Boolean, nil?: true
|
|
43
43
|
|
|
44
|
-
# @!
|
|
44
|
+
# @!attribute trial_reel_type
|
|
45
|
+
# Instagram trial reel type, when passed will be created as a trial reel. If
|
|
46
|
+
# manual the trial reel can be manually graduated in the native app. If perfomance
|
|
47
|
+
# the trial reel will be automatically graduated if the trial reel performs well.
|
|
48
|
+
#
|
|
49
|
+
# @return [Symbol, PostForMe::Models::InstagramConfigurationDto::TrialReelType, nil]
|
|
50
|
+
optional :trial_reel_type, enum: -> { PostForMe::InstagramConfigurationDto::TrialReelType }, nil?: true
|
|
51
|
+
|
|
52
|
+
# @!method initialize(caption: nil, collaborators: nil, location: nil, media: nil, placement: nil, share_to_feed: nil, trial_reel_type: nil)
|
|
53
|
+
# Some parameter documentations has been truncated, see
|
|
54
|
+
# {PostForMe::Models::InstagramConfigurationDto} for more details.
|
|
55
|
+
#
|
|
45
56
|
# @param caption [Object, nil] Overrides the `caption` from the post
|
|
46
57
|
#
|
|
47
58
|
# @param collaborators [Array<String>, nil] Instagram usernames to be tagged as a collaborator
|
|
@@ -53,6 +64,8 @@ module PostForMe
|
|
|
53
64
|
# @param placement [Symbol, PostForMe::Models::InstagramConfigurationDto::Placement, nil] Instagram post placement
|
|
54
65
|
#
|
|
55
66
|
# @param share_to_feed [Boolean, nil] If false video posts will only be shown in the Reels tab
|
|
67
|
+
#
|
|
68
|
+
# @param trial_reel_type [Symbol, PostForMe::Models::InstagramConfigurationDto::TrialReelType, nil] Instagram trial reel type, when passed will be created as a trial reel. If manua
|
|
56
69
|
|
|
57
70
|
class Media < PostForMe::Internal::Type::BaseModel
|
|
58
71
|
# @!attribute url
|
|
@@ -180,6 +193,21 @@ module PostForMe
|
|
|
180
193
|
# @!method self.values
|
|
181
194
|
# @return [Array<Symbol>]
|
|
182
195
|
end
|
|
196
|
+
|
|
197
|
+
# Instagram trial reel type, when passed will be created as a trial reel. If
|
|
198
|
+
# manual the trial reel can be manually graduated in the native app. If perfomance
|
|
199
|
+
# the trial reel will be automatically graduated if the trial reel performs well.
|
|
200
|
+
#
|
|
201
|
+
# @see PostForMe::Models::InstagramConfigurationDto#trial_reel_type
|
|
202
|
+
module TrialReelType
|
|
203
|
+
extend PostForMe::Internal::Type::Enum
|
|
204
|
+
|
|
205
|
+
MANUAL = :manual
|
|
206
|
+
PERFORMANCE = :performance
|
|
207
|
+
|
|
208
|
+
# @!method self.values
|
|
209
|
+
# @return [Array<Symbol>]
|
|
210
|
+
end
|
|
183
211
|
end
|
|
184
212
|
end
|
|
185
213
|
end
|
|
@@ -269,7 +269,17 @@ module PostForMe
|
|
|
269
269
|
# @return [String, nil]
|
|
270
270
|
optional :title, String, nil?: true
|
|
271
271
|
|
|
272
|
-
# @!
|
|
272
|
+
# @!attribute trial_reel_type
|
|
273
|
+
# Instagram trial reel type, when passed will be created as a trial reel. If
|
|
274
|
+
# manual the trial reel can be manually graduated in the native app. If perfomance
|
|
275
|
+
# the trial reel will be automatically graduated if the trial reel performs well.
|
|
276
|
+
#
|
|
277
|
+
# @return [Symbol, PostForMe::Models::SocialPost::AccountConfiguration::Configuration::TrialReelType, nil]
|
|
278
|
+
optional :trial_reel_type,
|
|
279
|
+
enum: -> { PostForMe::SocialPost::AccountConfiguration::Configuration::TrialReelType },
|
|
280
|
+
nil?: true
|
|
281
|
+
|
|
282
|
+
# @!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, trial_reel_type: nil)
|
|
273
283
|
# Some parameter documentations has been truncated, see
|
|
274
284
|
# {PostForMe::Models::SocialPost::AccountConfiguration::Configuration} for more
|
|
275
285
|
# details.
|
|
@@ -321,6 +331,8 @@ module PostForMe
|
|
|
321
331
|
# @param share_to_feed [Boolean, nil] If false Instagram video posts will only be shown in the Reels tab
|
|
322
332
|
#
|
|
323
333
|
# @param title [String, nil] Overrides the `title` from the post
|
|
334
|
+
#
|
|
335
|
+
# @param trial_reel_type [Symbol, PostForMe::Models::SocialPost::AccountConfiguration::Configuration::TrialReelType, nil] Instagram trial reel type, when passed will be created as a trial reel. If manua
|
|
324
336
|
|
|
325
337
|
class Media < PostForMe::Internal::Type::BaseModel
|
|
326
338
|
# @!attribute url
|
|
@@ -528,6 +540,21 @@ module PostForMe
|
|
|
528
540
|
# @!method self.values
|
|
529
541
|
# @return [Array<Symbol>]
|
|
530
542
|
end
|
|
543
|
+
|
|
544
|
+
# Instagram trial reel type, when passed will be created as a trial reel. If
|
|
545
|
+
# manual the trial reel can be manually graduated in the native app. If perfomance
|
|
546
|
+
# the trial reel will be automatically graduated if the trial reel performs well.
|
|
547
|
+
#
|
|
548
|
+
# @see PostForMe::Models::SocialPost::AccountConfiguration::Configuration#trial_reel_type
|
|
549
|
+
module TrialReelType
|
|
550
|
+
extend PostForMe::Internal::Type::Enum
|
|
551
|
+
|
|
552
|
+
MANUAL = :manual
|
|
553
|
+
PERFORMANCE = :performance
|
|
554
|
+
|
|
555
|
+
# @!method self.values
|
|
556
|
+
# @return [Array<Symbol>]
|
|
557
|
+
end
|
|
531
558
|
end
|
|
532
559
|
end
|
|
533
560
|
|
data/lib/post_for_me/version.rb
CHANGED
|
@@ -321,6 +321,18 @@ module PostForMe
|
|
|
321
321
|
sig { returns(T.nilable(String)) }
|
|
322
322
|
attr_accessor :title
|
|
323
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
|
+
|
|
324
336
|
# Configuration for the social account
|
|
325
337
|
sig do
|
|
326
338
|
params(
|
|
@@ -361,7 +373,11 @@ module PostForMe
|
|
|
361
373
|
PostForMe::CreateSocialPost::AccountConfiguration::Configuration::ReplySettings::OrSymbol
|
|
362
374
|
),
|
|
363
375
|
share_to_feed: T.nilable(T::Boolean),
|
|
364
|
-
title: T.nilable(String)
|
|
376
|
+
title: T.nilable(String),
|
|
377
|
+
trial_reel_type:
|
|
378
|
+
T.nilable(
|
|
379
|
+
PostForMe::CreateSocialPost::AccountConfiguration::Configuration::TrialReelType::OrSymbol
|
|
380
|
+
)
|
|
365
381
|
).returns(T.attached_class)
|
|
366
382
|
end
|
|
367
383
|
def self.new(
|
|
@@ -414,7 +430,11 @@ module PostForMe
|
|
|
414
430
|
# If false Instagram video posts will only be shown in the Reels tab
|
|
415
431
|
share_to_feed: nil,
|
|
416
432
|
# Overrides the `title` from the post
|
|
417
|
-
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
|
|
418
438
|
)
|
|
419
439
|
end
|
|
420
440
|
|
|
@@ -458,7 +478,11 @@ module PostForMe
|
|
|
458
478
|
PostForMe::CreateSocialPost::AccountConfiguration::Configuration::ReplySettings::OrSymbol
|
|
459
479
|
),
|
|
460
480
|
share_to_feed: T.nilable(T::Boolean),
|
|
461
|
-
title: T.nilable(String)
|
|
481
|
+
title: T.nilable(String),
|
|
482
|
+
trial_reel_type:
|
|
483
|
+
T.nilable(
|
|
484
|
+
PostForMe::CreateSocialPost::AccountConfiguration::Configuration::TrialReelType::OrSymbol
|
|
485
|
+
)
|
|
462
486
|
}
|
|
463
487
|
)
|
|
464
488
|
end
|
|
@@ -942,6 +966,43 @@ module PostForMe
|
|
|
942
966
|
def self.values
|
|
943
967
|
end
|
|
944
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
|
|
945
1006
|
end
|
|
946
1007
|
end
|
|
947
1008
|
|
|
@@ -43,6 +43,18 @@ module PostForMe
|
|
|
43
43
|
sig { returns(T.nilable(T::Boolean)) }
|
|
44
44
|
attr_accessor :share_to_feed
|
|
45
45
|
|
|
46
|
+
# Instagram trial reel type, when passed will be created as a trial reel. If
|
|
47
|
+
# manual the trial reel can be manually graduated in the native app. If perfomance
|
|
48
|
+
# the trial reel will be automatically graduated if the trial reel performs well.
|
|
49
|
+
sig do
|
|
50
|
+
returns(
|
|
51
|
+
T.nilable(
|
|
52
|
+
PostForMe::InstagramConfigurationDto::TrialReelType::OrSymbol
|
|
53
|
+
)
|
|
54
|
+
)
|
|
55
|
+
end
|
|
56
|
+
attr_accessor :trial_reel_type
|
|
57
|
+
|
|
46
58
|
sig do
|
|
47
59
|
params(
|
|
48
60
|
caption: T.nilable(T.anything),
|
|
@@ -56,7 +68,11 @@ module PostForMe
|
|
|
56
68
|
T.nilable(
|
|
57
69
|
PostForMe::InstagramConfigurationDto::Placement::OrSymbol
|
|
58
70
|
),
|
|
59
|
-
share_to_feed: T.nilable(T::Boolean)
|
|
71
|
+
share_to_feed: T.nilable(T::Boolean),
|
|
72
|
+
trial_reel_type:
|
|
73
|
+
T.nilable(
|
|
74
|
+
PostForMe::InstagramConfigurationDto::TrialReelType::OrSymbol
|
|
75
|
+
)
|
|
60
76
|
).returns(T.attached_class)
|
|
61
77
|
end
|
|
62
78
|
def self.new(
|
|
@@ -71,7 +87,11 @@ module PostForMe
|
|
|
71
87
|
# Instagram post placement
|
|
72
88
|
placement: nil,
|
|
73
89
|
# If false video posts will only be shown in the Reels tab
|
|
74
|
-
share_to_feed: nil
|
|
90
|
+
share_to_feed: nil,
|
|
91
|
+
# Instagram trial reel type, when passed will be created as a trial reel. If
|
|
92
|
+
# manual the trial reel can be manually graduated in the native app. If perfomance
|
|
93
|
+
# the trial reel will be automatically graduated if the trial reel performs well.
|
|
94
|
+
trial_reel_type: nil
|
|
75
95
|
)
|
|
76
96
|
end
|
|
77
97
|
|
|
@@ -87,7 +107,11 @@ module PostForMe
|
|
|
87
107
|
T.nilable(
|
|
88
108
|
PostForMe::InstagramConfigurationDto::Placement::OrSymbol
|
|
89
109
|
),
|
|
90
|
-
share_to_feed: T.nilable(T::Boolean)
|
|
110
|
+
share_to_feed: T.nilable(T::Boolean),
|
|
111
|
+
trial_reel_type:
|
|
112
|
+
T.nilable(
|
|
113
|
+
PostForMe::InstagramConfigurationDto::TrialReelType::OrSymbol
|
|
114
|
+
)
|
|
91
115
|
}
|
|
92
116
|
)
|
|
93
117
|
end
|
|
@@ -365,6 +389,40 @@ module PostForMe
|
|
|
365
389
|
def self.values
|
|
366
390
|
end
|
|
367
391
|
end
|
|
392
|
+
|
|
393
|
+
# Instagram trial reel type, when passed will be created as a trial reel. If
|
|
394
|
+
# manual the trial reel can be manually graduated in the native app. If perfomance
|
|
395
|
+
# the trial reel will be automatically graduated if the trial reel performs well.
|
|
396
|
+
module TrialReelType
|
|
397
|
+
extend PostForMe::Internal::Type::Enum
|
|
398
|
+
|
|
399
|
+
TaggedSymbol =
|
|
400
|
+
T.type_alias do
|
|
401
|
+
T.all(Symbol, PostForMe::InstagramConfigurationDto::TrialReelType)
|
|
402
|
+
end
|
|
403
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
404
|
+
|
|
405
|
+
MANUAL =
|
|
406
|
+
T.let(
|
|
407
|
+
:manual,
|
|
408
|
+
PostForMe::InstagramConfigurationDto::TrialReelType::TaggedSymbol
|
|
409
|
+
)
|
|
410
|
+
PERFORMANCE =
|
|
411
|
+
T.let(
|
|
412
|
+
:performance,
|
|
413
|
+
PostForMe::InstagramConfigurationDto::TrialReelType::TaggedSymbol
|
|
414
|
+
)
|
|
415
|
+
|
|
416
|
+
sig do
|
|
417
|
+
override.returns(
|
|
418
|
+
T::Array[
|
|
419
|
+
PostForMe::InstagramConfigurationDto::TrialReelType::TaggedSymbol
|
|
420
|
+
]
|
|
421
|
+
)
|
|
422
|
+
end
|
|
423
|
+
def self.values
|
|
424
|
+
end
|
|
425
|
+
end
|
|
368
426
|
end
|
|
369
427
|
end
|
|
370
428
|
end
|
|
@@ -336,6 +336,18 @@ module PostForMe
|
|
|
336
336
|
sig { returns(T.nilable(String)) }
|
|
337
337
|
attr_accessor :title
|
|
338
338
|
|
|
339
|
+
# Instagram trial reel type, when passed will be created as a trial reel. If
|
|
340
|
+
# manual the trial reel can be manually graduated in the native app. If perfomance
|
|
341
|
+
# the trial reel will be automatically graduated if the trial reel performs well.
|
|
342
|
+
sig do
|
|
343
|
+
returns(
|
|
344
|
+
T.nilable(
|
|
345
|
+
PostForMe::SocialPost::AccountConfiguration::Configuration::TrialReelType::TaggedSymbol
|
|
346
|
+
)
|
|
347
|
+
)
|
|
348
|
+
end
|
|
349
|
+
attr_accessor :trial_reel_type
|
|
350
|
+
|
|
339
351
|
# Configuration for the social account
|
|
340
352
|
sig do
|
|
341
353
|
params(
|
|
@@ -376,7 +388,11 @@ module PostForMe
|
|
|
376
388
|
PostForMe::SocialPost::AccountConfiguration::Configuration::ReplySettings::OrSymbol
|
|
377
389
|
),
|
|
378
390
|
share_to_feed: T.nilable(T::Boolean),
|
|
379
|
-
title: T.nilable(String)
|
|
391
|
+
title: T.nilable(String),
|
|
392
|
+
trial_reel_type:
|
|
393
|
+
T.nilable(
|
|
394
|
+
PostForMe::SocialPost::AccountConfiguration::Configuration::TrialReelType::OrSymbol
|
|
395
|
+
)
|
|
380
396
|
).returns(T.attached_class)
|
|
381
397
|
end
|
|
382
398
|
def self.new(
|
|
@@ -429,7 +445,11 @@ module PostForMe
|
|
|
429
445
|
# If false Instagram video posts will only be shown in the Reels tab
|
|
430
446
|
share_to_feed: nil,
|
|
431
447
|
# Overrides the `title` from the post
|
|
432
|
-
title: nil
|
|
448
|
+
title: nil,
|
|
449
|
+
# Instagram trial reel type, when passed will be created as a trial reel. If
|
|
450
|
+
# manual the trial reel can be manually graduated in the native app. If perfomance
|
|
451
|
+
# the trial reel will be automatically graduated if the trial reel performs well.
|
|
452
|
+
trial_reel_type: nil
|
|
433
453
|
)
|
|
434
454
|
end
|
|
435
455
|
|
|
@@ -473,7 +493,11 @@ module PostForMe
|
|
|
473
493
|
PostForMe::SocialPost::AccountConfiguration::Configuration::ReplySettings::TaggedSymbol
|
|
474
494
|
),
|
|
475
495
|
share_to_feed: T.nilable(T::Boolean),
|
|
476
|
-
title: T.nilable(String)
|
|
496
|
+
title: T.nilable(String),
|
|
497
|
+
trial_reel_type:
|
|
498
|
+
T.nilable(
|
|
499
|
+
PostForMe::SocialPost::AccountConfiguration::Configuration::TrialReelType::TaggedSymbol
|
|
500
|
+
)
|
|
477
501
|
}
|
|
478
502
|
)
|
|
479
503
|
end
|
|
@@ -957,6 +981,43 @@ module PostForMe
|
|
|
957
981
|
def self.values
|
|
958
982
|
end
|
|
959
983
|
end
|
|
984
|
+
|
|
985
|
+
# Instagram trial reel type, when passed will be created as a trial reel. If
|
|
986
|
+
# manual the trial reel can be manually graduated in the native app. If perfomance
|
|
987
|
+
# the trial reel will be automatically graduated if the trial reel performs well.
|
|
988
|
+
module TrialReelType
|
|
989
|
+
extend PostForMe::Internal::Type::Enum
|
|
990
|
+
|
|
991
|
+
TaggedSymbol =
|
|
992
|
+
T.type_alias do
|
|
993
|
+
T.all(
|
|
994
|
+
Symbol,
|
|
995
|
+
PostForMe::SocialPost::AccountConfiguration::Configuration::TrialReelType
|
|
996
|
+
)
|
|
997
|
+
end
|
|
998
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
999
|
+
|
|
1000
|
+
MANUAL =
|
|
1001
|
+
T.let(
|
|
1002
|
+
:manual,
|
|
1003
|
+
PostForMe::SocialPost::AccountConfiguration::Configuration::TrialReelType::TaggedSymbol
|
|
1004
|
+
)
|
|
1005
|
+
PERFORMANCE =
|
|
1006
|
+
T.let(
|
|
1007
|
+
:performance,
|
|
1008
|
+
PostForMe::SocialPost::AccountConfiguration::Configuration::TrialReelType::TaggedSymbol
|
|
1009
|
+
)
|
|
1010
|
+
|
|
1011
|
+
sig do
|
|
1012
|
+
override.returns(
|
|
1013
|
+
T::Array[
|
|
1014
|
+
PostForMe::SocialPost::AccountConfiguration::Configuration::TrialReelType::TaggedSymbol
|
|
1015
|
+
]
|
|
1016
|
+
)
|
|
1017
|
+
end
|
|
1018
|
+
def self.values
|
|
1019
|
+
end
|
|
1020
|
+
end
|
|
960
1021
|
end
|
|
961
1022
|
end
|
|
962
1023
|
|
|
@@ -96,7 +96,8 @@ module PostForMe
|
|
|
96
96
|
quote_tweet_id: String,
|
|
97
97
|
reply_settings: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::reply_settings?,
|
|
98
98
|
share_to_feed: bool?,
|
|
99
|
-
title: String
|
|
99
|
+
title: String?,
|
|
100
|
+
trial_reel_type: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::trial_reel_type?
|
|
100
101
|
}
|
|
101
102
|
|
|
102
103
|
class Configuration < PostForMe::Internal::Type::BaseModel
|
|
@@ -154,6 +155,8 @@ module PostForMe
|
|
|
154
155
|
|
|
155
156
|
attr_accessor title: String?
|
|
156
157
|
|
|
158
|
+
attr_accessor trial_reel_type: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::trial_reel_type?
|
|
159
|
+
|
|
157
160
|
def initialize: (
|
|
158
161
|
?allow_comment: bool?,
|
|
159
162
|
?allow_duet: bool?,
|
|
@@ -177,7 +180,8 @@ module PostForMe
|
|
|
177
180
|
?quote_tweet_id: String,
|
|
178
181
|
?reply_settings: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::reply_settings?,
|
|
179
182
|
?share_to_feed: bool?,
|
|
180
|
-
?title: String
|
|
183
|
+
?title: String?,
|
|
184
|
+
?trial_reel_type: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::trial_reel_type?
|
|
181
185
|
) -> void
|
|
182
186
|
|
|
183
187
|
def to_hash: -> {
|
|
@@ -203,7 +207,8 @@ module PostForMe
|
|
|
203
207
|
quote_tweet_id: String,
|
|
204
208
|
reply_settings: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::reply_settings?,
|
|
205
209
|
share_to_feed: bool?,
|
|
206
|
-
title: String
|
|
210
|
+
title: String?,
|
|
211
|
+
trial_reel_type: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::trial_reel_type?
|
|
207
212
|
}
|
|
208
213
|
|
|
209
214
|
type media =
|
|
@@ -383,6 +388,17 @@ module PostForMe
|
|
|
383
388
|
|
|
384
389
|
def self?.values: -> ::Array[PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::reply_settings]
|
|
385
390
|
end
|
|
391
|
+
|
|
392
|
+
type trial_reel_type = :manual | :performance
|
|
393
|
+
|
|
394
|
+
module TrialReelType
|
|
395
|
+
extend PostForMe::Internal::Type::Enum
|
|
396
|
+
|
|
397
|
+
MANUAL: :manual
|
|
398
|
+
PERFORMANCE: :performance
|
|
399
|
+
|
|
400
|
+
def self?.values: -> ::Array[PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::trial_reel_type]
|
|
401
|
+
end
|
|
386
402
|
end
|
|
387
403
|
end
|
|
388
404
|
|
|
@@ -7,7 +7,8 @@ module PostForMe
|
|
|
7
7
|
location: String?,
|
|
8
8
|
media: ::Array[PostForMe::InstagramConfigurationDto::Media]?,
|
|
9
9
|
placement: PostForMe::Models::InstagramConfigurationDto::placement?,
|
|
10
|
-
share_to_feed: bool
|
|
10
|
+
share_to_feed: bool?,
|
|
11
|
+
trial_reel_type: PostForMe::Models::InstagramConfigurationDto::trial_reel_type?
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
class InstagramConfigurationDto < PostForMe::Internal::Type::BaseModel
|
|
@@ -23,13 +24,16 @@ module PostForMe
|
|
|
23
24
|
|
|
24
25
|
attr_accessor share_to_feed: bool?
|
|
25
26
|
|
|
27
|
+
attr_accessor trial_reel_type: PostForMe::Models::InstagramConfigurationDto::trial_reel_type?
|
|
28
|
+
|
|
26
29
|
def initialize: (
|
|
27
30
|
?caption: top?,
|
|
28
31
|
?collaborators: ::Array[String]?,
|
|
29
32
|
?location: String?,
|
|
30
33
|
?media: ::Array[PostForMe::InstagramConfigurationDto::Media]?,
|
|
31
34
|
?placement: PostForMe::Models::InstagramConfigurationDto::placement?,
|
|
32
|
-
?share_to_feed: bool
|
|
35
|
+
?share_to_feed: bool?,
|
|
36
|
+
?trial_reel_type: PostForMe::Models::InstagramConfigurationDto::trial_reel_type?
|
|
33
37
|
) -> void
|
|
34
38
|
|
|
35
39
|
def to_hash: -> {
|
|
@@ -38,7 +42,8 @@ module PostForMe
|
|
|
38
42
|
location: String?,
|
|
39
43
|
media: ::Array[PostForMe::InstagramConfigurationDto::Media]?,
|
|
40
44
|
placement: PostForMe::Models::InstagramConfigurationDto::placement?,
|
|
41
|
-
share_to_feed: bool
|
|
45
|
+
share_to_feed: bool?,
|
|
46
|
+
trial_reel_type: PostForMe::Models::InstagramConfigurationDto::trial_reel_type?
|
|
42
47
|
}
|
|
43
48
|
|
|
44
49
|
type media =
|
|
@@ -147,6 +152,17 @@ module PostForMe
|
|
|
147
152
|
|
|
148
153
|
def self?.values: -> ::Array[PostForMe::Models::InstagramConfigurationDto::placement]
|
|
149
154
|
end
|
|
155
|
+
|
|
156
|
+
type trial_reel_type = :manual | :performance
|
|
157
|
+
|
|
158
|
+
module TrialReelType
|
|
159
|
+
extend PostForMe::Internal::Type::Enum
|
|
160
|
+
|
|
161
|
+
MANUAL: :manual
|
|
162
|
+
PERFORMANCE: :performance
|
|
163
|
+
|
|
164
|
+
def self?.values: -> ::Array[PostForMe::Models::InstagramConfigurationDto::trial_reel_type]
|
|
165
|
+
end
|
|
150
166
|
end
|
|
151
167
|
end
|
|
152
168
|
end
|
|
@@ -111,7 +111,8 @@ module PostForMe
|
|
|
111
111
|
quote_tweet_id: String,
|
|
112
112
|
reply_settings: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::reply_settings?,
|
|
113
113
|
share_to_feed: bool?,
|
|
114
|
-
title: String
|
|
114
|
+
title: String?,
|
|
115
|
+
trial_reel_type: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::trial_reel_type?
|
|
115
116
|
}
|
|
116
117
|
|
|
117
118
|
class Configuration < PostForMe::Internal::Type::BaseModel
|
|
@@ -169,6 +170,8 @@ module PostForMe
|
|
|
169
170
|
|
|
170
171
|
attr_accessor title: String?
|
|
171
172
|
|
|
173
|
+
attr_accessor trial_reel_type: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::trial_reel_type?
|
|
174
|
+
|
|
172
175
|
def initialize: (
|
|
173
176
|
?allow_comment: bool?,
|
|
174
177
|
?allow_duet: bool?,
|
|
@@ -192,7 +195,8 @@ module PostForMe
|
|
|
192
195
|
?quote_tweet_id: String,
|
|
193
196
|
?reply_settings: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::reply_settings?,
|
|
194
197
|
?share_to_feed: bool?,
|
|
195
|
-
?title: String
|
|
198
|
+
?title: String?,
|
|
199
|
+
?trial_reel_type: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::trial_reel_type?
|
|
196
200
|
) -> void
|
|
197
201
|
|
|
198
202
|
def to_hash: -> {
|
|
@@ -218,7 +222,8 @@ module PostForMe
|
|
|
218
222
|
quote_tweet_id: String,
|
|
219
223
|
reply_settings: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::reply_settings?,
|
|
220
224
|
share_to_feed: bool?,
|
|
221
|
-
title: String
|
|
225
|
+
title: String?,
|
|
226
|
+
trial_reel_type: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::trial_reel_type?
|
|
222
227
|
}
|
|
223
228
|
|
|
224
229
|
type media =
|
|
@@ -398,6 +403,17 @@ module PostForMe
|
|
|
398
403
|
|
|
399
404
|
def self?.values: -> ::Array[PostForMe::Models::SocialPost::AccountConfiguration::Configuration::reply_settings]
|
|
400
405
|
end
|
|
406
|
+
|
|
407
|
+
type trial_reel_type = :manual | :performance
|
|
408
|
+
|
|
409
|
+
module TrialReelType
|
|
410
|
+
extend PostForMe::Internal::Type::Enum
|
|
411
|
+
|
|
412
|
+
MANUAL: :manual
|
|
413
|
+
PERFORMANCE: :performance
|
|
414
|
+
|
|
415
|
+
def self?.values: -> ::Array[PostForMe::Models::SocialPost::AccountConfiguration::Configuration::trial_reel_type]
|
|
416
|
+
end
|
|
401
417
|
end
|
|
402
418
|
end
|
|
403
419
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: post-for-me
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.0.pre.alpha.
|
|
4
|
+
version: 0.1.0.pre.alpha.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Post For Me
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-01-
|
|
11
|
+
date: 2026-01-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|