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
@@ -15,12 +15,24 @@ module PostForMe
15
15
  sig { returns(T.nilable(T.anything)) }
16
16
  attr_accessor :caption
17
17
 
18
+ # If true will notify YouTube the video is intended for kids, defaults to false
19
+ sig { returns(T.nilable(T::Boolean)) }
20
+ attr_accessor :made_for_kids
21
+
18
22
  # Overrides the `media` from the post
19
23
  sig do
20
24
  returns(T.nilable(T::Array[PostForMe::YoutubeConfigurationDto::Media]))
21
25
  end
22
26
  attr_accessor :media
23
27
 
28
+ # Sets the privacy status of the video, will default to public
29
+ sig do
30
+ returns(
31
+ T.nilable(PostForMe::YoutubeConfigurationDto::PrivacyStatus::OrSymbol)
32
+ )
33
+ end
34
+ attr_accessor :privacy_status
35
+
24
36
  # Overrides the `title` from the post
25
37
  sig { returns(T.nilable(String)) }
26
38
  attr_accessor :title
@@ -28,18 +40,27 @@ module PostForMe
28
40
  sig do
29
41
  params(
30
42
  caption: T.nilable(T.anything),
43
+ made_for_kids: T.nilable(T::Boolean),
31
44
  media:
32
45
  T.nilable(
33
46
  T::Array[PostForMe::YoutubeConfigurationDto::Media::OrHash]
34
47
  ),
48
+ privacy_status:
49
+ T.nilable(
50
+ PostForMe::YoutubeConfigurationDto::PrivacyStatus::OrSymbol
51
+ ),
35
52
  title: T.nilable(String)
36
53
  ).returns(T.attached_class)
37
54
  end
38
55
  def self.new(
39
56
  # Overrides the `caption` from the post
40
57
  caption: nil,
58
+ # If true will notify YouTube the video is intended for kids, defaults to false
59
+ made_for_kids: nil,
41
60
  # Overrides the `media` from the post
42
61
  media: nil,
62
+ # Sets the privacy status of the video, will default to public
63
+ privacy_status: nil,
43
64
  # Overrides the `title` from the post
44
65
  title: nil
45
66
  )
@@ -49,8 +70,13 @@ module PostForMe
49
70
  override.returns(
50
71
  {
51
72
  caption: T.nilable(T.anything),
73
+ made_for_kids: T.nilable(T::Boolean),
52
74
  media:
53
75
  T.nilable(T::Array[PostForMe::YoutubeConfigurationDto::Media]),
76
+ privacy_status:
77
+ T.nilable(
78
+ PostForMe::YoutubeConfigurationDto::PrivacyStatus::OrSymbol
79
+ ),
54
80
  title: T.nilable(String)
55
81
  }
56
82
  )
@@ -288,6 +314,43 @@ module PostForMe
288
314
  end
289
315
  end
290
316
  end
317
+
318
+ # Sets the privacy status of the video, will default to public
319
+ module PrivacyStatus
320
+ extend PostForMe::Internal::Type::Enum
321
+
322
+ TaggedSymbol =
323
+ T.type_alias do
324
+ T.all(Symbol, PostForMe::YoutubeConfigurationDto::PrivacyStatus)
325
+ end
326
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
327
+
328
+ PUBLIC =
329
+ T.let(
330
+ :public,
331
+ PostForMe::YoutubeConfigurationDto::PrivacyStatus::TaggedSymbol
332
+ )
333
+ PRIVATE =
334
+ T.let(
335
+ :private,
336
+ PostForMe::YoutubeConfigurationDto::PrivacyStatus::TaggedSymbol
337
+ )
338
+ UNLISTED =
339
+ T.let(
340
+ :unlisted,
341
+ PostForMe::YoutubeConfigurationDto::PrivacyStatus::TaggedSymbol
342
+ )
343
+
344
+ sig do
345
+ override.returns(
346
+ T::Array[
347
+ PostForMe::YoutubeConfigurationDto::PrivacyStatus::TaggedSymbol
348
+ ]
349
+ )
350
+ end
351
+ def self.values
352
+ end
353
+ end
291
354
  end
292
355
  end
293
356
  end
@@ -24,6 +24,7 @@ module PostForMe
24
24
  offset: Float,
25
25
  platform: T::Array[String],
26
26
  post_id: T::Array[String],
27
+ social_account_id: T::Array[String],
27
28
  request_options: PostForMe::RequestOptions::OrHash
28
29
  ).returns(PostForMe::Models::SocialPostResultListResponse)
29
30
  end
@@ -38,6 +39,9 @@ module PostForMe
38
39
  # Filter by post IDs. Multiple values imply OR logic (e.g.,
39
40
  # ?post_id=123&post_id=456).
40
41
  post_id: nil,
42
+ # Filter by social account ID(s). Multiple values imply OR logic (e.g.,
43
+ # ?social_account_id=123&social_account_id=456).
44
+ social_account_id: nil,
41
45
  request_options: {}
42
46
  )
43
47
  end
@@ -114,6 +114,7 @@ module PostForMe
114
114
  offset: Float,
115
115
  platform:
116
116
  T::Array[PostForMe::SocialPostListParams::Platform::OrSymbol],
117
+ social_account_id: T::Array[String],
117
118
  status: T::Array[PostForMe::SocialPostListParams::Status::OrSymbol],
118
119
  request_options: PostForMe::RequestOptions::OrHash
119
120
  ).returns(PostForMe::Models::SocialPostListResponse)
@@ -127,6 +128,8 @@ module PostForMe
127
128
  offset: nil,
128
129
  # Filter by platforms. Multiple values imply OR logic.
129
130
  platform: nil,
131
+ # Filter by social account ID. Multiple values imply OR logic.
132
+ social_account_id: nil,
130
133
  # Filter by post status. Multiple values imply OR logic.
131
134
  status: nil,
132
135
  request_options: {}
@@ -88,14 +88,16 @@ module PostForMe
88
88
  is_draft: bool?,
89
89
  link: String?,
90
90
  location: String?,
91
- media: ::Array[String]?,
91
+ made_for_kids: bool?,
92
+ media: ::Array[PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media]?,
92
93
  placement: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::placement?,
93
94
  poll: PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Poll,
94
- privacy_status: String?,
95
+ privacy_status: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::privacy_status?,
95
96
  quote_tweet_id: String,
96
97
  reply_settings: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::reply_settings?,
97
98
  share_to_feed: bool?,
98
- title: String?
99
+ title: String?,
100
+ trial_reel_type: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::trial_reel_type?
99
101
  }
100
102
 
101
103
  class Configuration < PostForMe::Internal::Type::BaseModel
@@ -129,7 +131,9 @@ module PostForMe
129
131
 
130
132
  attr_accessor location: String?
131
133
 
132
- attr_accessor media: ::Array[String]?
134
+ attr_accessor made_for_kids: bool?
135
+
136
+ attr_accessor media: ::Array[PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media]?
133
137
 
134
138
  attr_accessor placement: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::placement?
135
139
 
@@ -139,7 +143,7 @@ module PostForMe
139
143
  PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Poll
140
144
  ) -> PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Poll
141
145
 
142
- attr_accessor privacy_status: String?
146
+ attr_accessor privacy_status: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::privacy_status?
143
147
 
144
148
  attr_reader quote_tweet_id: String?
145
149
 
@@ -151,6 +155,8 @@ module PostForMe
151
155
 
152
156
  attr_accessor title: String?
153
157
 
158
+ attr_accessor trial_reel_type: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::trial_reel_type?
159
+
154
160
  def initialize: (
155
161
  ?allow_comment: bool?,
156
162
  ?allow_duet: bool?,
@@ -166,14 +172,16 @@ module PostForMe
166
172
  ?is_draft: bool?,
167
173
  ?link: String?,
168
174
  ?location: String?,
169
- ?media: ::Array[String]?,
175
+ ?made_for_kids: bool?,
176
+ ?media: ::Array[PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media]?,
170
177
  ?placement: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::placement?,
171
178
  ?poll: PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Poll,
172
- ?privacy_status: String?,
179
+ ?privacy_status: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::privacy_status?,
173
180
  ?quote_tweet_id: String,
174
181
  ?reply_settings: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::reply_settings?,
175
182
  ?share_to_feed: bool?,
176
- ?title: String?
183
+ ?title: String?,
184
+ ?trial_reel_type: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::trial_reel_type?
177
185
  ) -> void
178
186
 
179
187
  def to_hash: -> {
@@ -191,16 +199,113 @@ module PostForMe
191
199
  is_draft: bool?,
192
200
  link: String?,
193
201
  location: String?,
194
- media: ::Array[String]?,
202
+ made_for_kids: bool?,
203
+ media: ::Array[PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media]?,
195
204
  placement: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::placement?,
196
205
  poll: PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Poll,
197
- privacy_status: String?,
206
+ privacy_status: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::privacy_status?,
198
207
  quote_tweet_id: String,
199
208
  reply_settings: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::reply_settings?,
200
209
  share_to_feed: bool?,
201
- title: String?
210
+ title: String?,
211
+ trial_reel_type: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::trial_reel_type?
202
212
  }
203
213
 
214
+ type media =
215
+ {
216
+ url: String,
217
+ tags: ::Array[PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag]?,
218
+ thumbnail_timestamp_ms: top?,
219
+ thumbnail_url: top?
220
+ }
221
+
222
+ class Media < PostForMe::Internal::Type::BaseModel
223
+ attr_accessor url: String
224
+
225
+ attr_accessor tags: ::Array[PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag]?
226
+
227
+ attr_accessor thumbnail_timestamp_ms: top?
228
+
229
+ attr_accessor thumbnail_url: top?
230
+
231
+ def initialize: (
232
+ url: String,
233
+ ?tags: ::Array[PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag]?,
234
+ ?thumbnail_timestamp_ms: top?,
235
+ ?thumbnail_url: top?
236
+ ) -> void
237
+
238
+ def to_hash: -> {
239
+ url: String,
240
+ tags: ::Array[PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag]?,
241
+ thumbnail_timestamp_ms: top?,
242
+ thumbnail_url: top?
243
+ }
244
+
245
+ type tag =
246
+ {
247
+ id: String,
248
+ platform: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::platform,
249
+ type: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::type_,
250
+ x: Float,
251
+ y_: Float
252
+ }
253
+
254
+ class Tag < PostForMe::Internal::Type::BaseModel
255
+ attr_accessor id: String
256
+
257
+ attr_accessor platform: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::platform
258
+
259
+ attr_accessor type: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::type_
260
+
261
+ attr_reader x: Float?
262
+
263
+ def x=: (Float) -> Float
264
+
265
+ attr_reader y_: Float?
266
+
267
+ def y_=: (Float) -> Float
268
+
269
+ def initialize: (
270
+ id: String,
271
+ platform: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::platform,
272
+ type: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::type_,
273
+ ?x: Float,
274
+ ?y_: Float
275
+ ) -> void
276
+
277
+ def to_hash: -> {
278
+ id: String,
279
+ platform: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::platform,
280
+ type: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::type_,
281
+ x: Float,
282
+ y_: Float
283
+ }
284
+
285
+ type platform = :facebook | :instagram
286
+
287
+ module Platform
288
+ extend PostForMe::Internal::Type::Enum
289
+
290
+ FACEBOOK: :facebook
291
+ INSTAGRAM: :instagram
292
+
293
+ def self?.values: -> ::Array[PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::platform]
294
+ end
295
+
296
+ type type_ = :user | :product
297
+
298
+ module Type
299
+ extend PostForMe::Internal::Type::Enum
300
+
301
+ USER: :user
302
+ PRODUCT: :product
303
+
304
+ def self?.values: -> ::Array[PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::type_]
305
+ end
306
+ end
307
+ end
308
+
204
309
  type placement = :reels | :timeline | :stories
205
310
 
206
311
  module Placement
@@ -258,6 +363,18 @@ module PostForMe
258
363
  end
259
364
  end
260
365
 
366
+ type privacy_status = :public | :private | :unlisted
367
+
368
+ module PrivacyStatus
369
+ extend PostForMe::Internal::Type::Enum
370
+
371
+ PUBLIC: :public
372
+ PRIVATE: :private
373
+ UNLISTED: :unlisted
374
+
375
+ def self?.values: -> ::Array[PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::privacy_status]
376
+ end
377
+
261
378
  type reply_settings =
262
379
  :following | :mentionedUsers | :subscribers | :verified
263
380
 
@@ -271,6 +388,17 @@ module PostForMe
271
388
 
272
389
  def self?.values: -> ::Array[PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::reply_settings]
273
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
274
402
  end
275
403
  end
276
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
@@ -103,14 +103,16 @@ module PostForMe
103
103
  is_draft: bool?,
104
104
  link: String?,
105
105
  location: String?,
106
- media: ::Array[String]?,
106
+ made_for_kids: bool?,
107
+ media: ::Array[PostForMe::SocialPost::AccountConfiguration::Configuration::Media]?,
107
108
  placement: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::placement?,
108
109
  poll: PostForMe::SocialPost::AccountConfiguration::Configuration::Poll,
109
- privacy_status: String?,
110
+ privacy_status: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::privacy_status?,
110
111
  quote_tweet_id: String,
111
112
  reply_settings: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::reply_settings?,
112
113
  share_to_feed: bool?,
113
- title: String?
114
+ title: String?,
115
+ trial_reel_type: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::trial_reel_type?
114
116
  }
115
117
 
116
118
  class Configuration < PostForMe::Internal::Type::BaseModel
@@ -144,7 +146,9 @@ module PostForMe
144
146
 
145
147
  attr_accessor location: String?
146
148
 
147
- attr_accessor media: ::Array[String]?
149
+ attr_accessor made_for_kids: bool?
150
+
151
+ attr_accessor media: ::Array[PostForMe::SocialPost::AccountConfiguration::Configuration::Media]?
148
152
 
149
153
  attr_accessor placement: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::placement?
150
154
 
@@ -154,7 +158,7 @@ module PostForMe
154
158
  PostForMe::SocialPost::AccountConfiguration::Configuration::Poll
155
159
  ) -> PostForMe::SocialPost::AccountConfiguration::Configuration::Poll
156
160
 
157
- attr_accessor privacy_status: String?
161
+ attr_accessor privacy_status: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::privacy_status?
158
162
 
159
163
  attr_reader quote_tweet_id: String?
160
164
 
@@ -166,6 +170,8 @@ module PostForMe
166
170
 
167
171
  attr_accessor title: String?
168
172
 
173
+ attr_accessor trial_reel_type: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::trial_reel_type?
174
+
169
175
  def initialize: (
170
176
  ?allow_comment: bool?,
171
177
  ?allow_duet: bool?,
@@ -181,14 +187,16 @@ module PostForMe
181
187
  ?is_draft: bool?,
182
188
  ?link: String?,
183
189
  ?location: String?,
184
- ?media: ::Array[String]?,
190
+ ?made_for_kids: bool?,
191
+ ?media: ::Array[PostForMe::SocialPost::AccountConfiguration::Configuration::Media]?,
185
192
  ?placement: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::placement?,
186
193
  ?poll: PostForMe::SocialPost::AccountConfiguration::Configuration::Poll,
187
- ?privacy_status: String?,
194
+ ?privacy_status: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::privacy_status?,
188
195
  ?quote_tweet_id: String,
189
196
  ?reply_settings: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::reply_settings?,
190
197
  ?share_to_feed: bool?,
191
- ?title: String?
198
+ ?title: String?,
199
+ ?trial_reel_type: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::trial_reel_type?
192
200
  ) -> void
193
201
 
194
202
  def to_hash: -> {
@@ -206,16 +214,113 @@ module PostForMe
206
214
  is_draft: bool?,
207
215
  link: String?,
208
216
  location: String?,
209
- media: ::Array[String]?,
217
+ made_for_kids: bool?,
218
+ media: ::Array[PostForMe::SocialPost::AccountConfiguration::Configuration::Media]?,
210
219
  placement: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::placement?,
211
220
  poll: PostForMe::SocialPost::AccountConfiguration::Configuration::Poll,
212
- privacy_status: String?,
221
+ privacy_status: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::privacy_status?,
213
222
  quote_tweet_id: String,
214
223
  reply_settings: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::reply_settings?,
215
224
  share_to_feed: bool?,
216
- title: String?
225
+ title: String?,
226
+ trial_reel_type: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::trial_reel_type?
217
227
  }
218
228
 
229
+ type media =
230
+ {
231
+ url: String,
232
+ tags: ::Array[PostForMe::SocialPost::AccountConfiguration::Configuration::Media::Tag]?,
233
+ thumbnail_timestamp_ms: top?,
234
+ thumbnail_url: top?
235
+ }
236
+
237
+ class Media < PostForMe::Internal::Type::BaseModel
238
+ attr_accessor url: String
239
+
240
+ attr_accessor tags: ::Array[PostForMe::SocialPost::AccountConfiguration::Configuration::Media::Tag]?
241
+
242
+ attr_accessor thumbnail_timestamp_ms: top?
243
+
244
+ attr_accessor thumbnail_url: top?
245
+
246
+ def initialize: (
247
+ url: String,
248
+ ?tags: ::Array[PostForMe::SocialPost::AccountConfiguration::Configuration::Media::Tag]?,
249
+ ?thumbnail_timestamp_ms: top?,
250
+ ?thumbnail_url: top?
251
+ ) -> void
252
+
253
+ def to_hash: -> {
254
+ url: String,
255
+ tags: ::Array[PostForMe::SocialPost::AccountConfiguration::Configuration::Media::Tag]?,
256
+ thumbnail_timestamp_ms: top?,
257
+ thumbnail_url: top?
258
+ }
259
+
260
+ type tag =
261
+ {
262
+ id: String,
263
+ platform: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag::platform,
264
+ type: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag::type_,
265
+ x: Float,
266
+ y_: Float
267
+ }
268
+
269
+ class Tag < PostForMe::Internal::Type::BaseModel
270
+ attr_accessor id: String
271
+
272
+ attr_accessor platform: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag::platform
273
+
274
+ attr_accessor type: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag::type_
275
+
276
+ attr_reader x: Float?
277
+
278
+ def x=: (Float) -> Float
279
+
280
+ attr_reader y_: Float?
281
+
282
+ def y_=: (Float) -> Float
283
+
284
+ def initialize: (
285
+ id: String,
286
+ platform: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag::platform,
287
+ type: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag::type_,
288
+ ?x: Float,
289
+ ?y_: Float
290
+ ) -> void
291
+
292
+ def to_hash: -> {
293
+ id: String,
294
+ platform: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag::platform,
295
+ type: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag::type_,
296
+ x: Float,
297
+ y_: Float
298
+ }
299
+
300
+ type platform = :facebook | :instagram
301
+
302
+ module Platform
303
+ extend PostForMe::Internal::Type::Enum
304
+
305
+ FACEBOOK: :facebook
306
+ INSTAGRAM: :instagram
307
+
308
+ def self?.values: -> ::Array[PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag::platform]
309
+ end
310
+
311
+ type type_ = :user | :product
312
+
313
+ module Type
314
+ extend PostForMe::Internal::Type::Enum
315
+
316
+ USER: :user
317
+ PRODUCT: :product
318
+
319
+ def self?.values: -> ::Array[PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag::type_]
320
+ end
321
+ end
322
+ end
323
+
219
324
  type placement = :reels | :timeline | :stories
220
325
 
221
326
  module Placement
@@ -273,6 +378,18 @@ module PostForMe
273
378
  end
274
379
  end
275
380
 
381
+ type privacy_status = :public | :private | :unlisted
382
+
383
+ module PrivacyStatus
384
+ extend PostForMe::Internal::Type::Enum
385
+
386
+ PUBLIC: :public
387
+ PRIVATE: :private
388
+ UNLISTED: :unlisted
389
+
390
+ def self?.values: -> ::Array[PostForMe::Models::SocialPost::AccountConfiguration::Configuration::privacy_status]
391
+ end
392
+
276
393
  type reply_settings =
277
394
  :following | :mentionedUsers | :subscribers | :verified
278
395
 
@@ -286,6 +403,17 @@ module PostForMe
286
403
 
287
404
  def self?.values: -> ::Array[PostForMe::Models::SocialPost::AccountConfiguration::Configuration::reply_settings]
288
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
289
417
  end
290
418
  end
291
419
 
@@ -6,6 +6,7 @@ module PostForMe
6
6
  limit: Float,
7
7
  offset: Float,
8
8
  platform: ::Array[PostForMe::Models::SocialPostListParams::platform],
9
+ social_account_id: ::Array[String],
9
10
  status: ::Array[PostForMe::Models::SocialPostListParams::status]
10
11
  }
11
12
  & PostForMe::Internal::Type::request_parameters
@@ -32,6 +33,10 @@ module PostForMe
32
33
  ::Array[PostForMe::Models::SocialPostListParams::platform]
33
34
  ) -> ::Array[PostForMe::Models::SocialPostListParams::platform]
34
35
 
36
+ attr_reader social_account_id: ::Array[String]?
37
+
38
+ def social_account_id=: (::Array[String]) -> ::Array[String]
39
+
35
40
  attr_reader status: ::Array[PostForMe::Models::SocialPostListParams::status]?
36
41
 
37
42
  def status=: (
@@ -43,6 +48,7 @@ module PostForMe
43
48
  ?limit: Float,
44
49
  ?offset: Float,
45
50
  ?platform: ::Array[PostForMe::Models::SocialPostListParams::platform],
51
+ ?social_account_id: ::Array[String],
46
52
  ?status: ::Array[PostForMe::Models::SocialPostListParams::status],
47
53
  ?request_options: PostForMe::request_opts
48
54
  ) -> void
@@ -52,6 +58,7 @@ module PostForMe
52
58
  limit: Float,
53
59
  offset: Float,
54
60
  platform: ::Array[PostForMe::Models::SocialPostListParams::platform],
61
+ social_account_id: ::Array[String],
55
62
  status: ::Array[PostForMe::Models::SocialPostListParams::status],
56
63
  request_options: PostForMe::RequestOptions
57
64
  }