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.
@@ -88,10 +88,11 @@ 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?,
@@ -129,7 +130,9 @@ module PostForMe
129
130
 
130
131
  attr_accessor location: String?
131
132
 
132
- attr_accessor media: ::Array[String]?
133
+ attr_accessor made_for_kids: bool?
134
+
135
+ attr_accessor media: ::Array[PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media]?
133
136
 
134
137
  attr_accessor placement: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::placement?
135
138
 
@@ -139,7 +142,7 @@ module PostForMe
139
142
  PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Poll
140
143
  ) -> PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Poll
141
144
 
142
- attr_accessor privacy_status: String?
145
+ attr_accessor privacy_status: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::privacy_status?
143
146
 
144
147
  attr_reader quote_tweet_id: String?
145
148
 
@@ -166,10 +169,11 @@ module PostForMe
166
169
  ?is_draft: bool?,
167
170
  ?link: String?,
168
171
  ?location: String?,
169
- ?media: ::Array[String]?,
172
+ ?made_for_kids: bool?,
173
+ ?media: ::Array[PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media]?,
170
174
  ?placement: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::placement?,
171
175
  ?poll: PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Poll,
172
- ?privacy_status: String?,
176
+ ?privacy_status: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::privacy_status?,
173
177
  ?quote_tweet_id: String,
174
178
  ?reply_settings: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::reply_settings?,
175
179
  ?share_to_feed: bool?,
@@ -191,16 +195,112 @@ module PostForMe
191
195
  is_draft: bool?,
192
196
  link: String?,
193
197
  location: String?,
194
- media: ::Array[String]?,
198
+ made_for_kids: bool?,
199
+ media: ::Array[PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media]?,
195
200
  placement: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::placement?,
196
201
  poll: PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Poll,
197
- privacy_status: String?,
202
+ privacy_status: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::privacy_status?,
198
203
  quote_tweet_id: String,
199
204
  reply_settings: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::reply_settings?,
200
205
  share_to_feed: bool?,
201
206
  title: String?
202
207
  }
203
208
 
209
+ type media =
210
+ {
211
+ url: String,
212
+ tags: ::Array[PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag]?,
213
+ thumbnail_timestamp_ms: top?,
214
+ thumbnail_url: top?
215
+ }
216
+
217
+ class Media < PostForMe::Internal::Type::BaseModel
218
+ attr_accessor url: String
219
+
220
+ attr_accessor tags: ::Array[PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag]?
221
+
222
+ attr_accessor thumbnail_timestamp_ms: top?
223
+
224
+ attr_accessor thumbnail_url: top?
225
+
226
+ def initialize: (
227
+ url: String,
228
+ ?tags: ::Array[PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag]?,
229
+ ?thumbnail_timestamp_ms: top?,
230
+ ?thumbnail_url: top?
231
+ ) -> void
232
+
233
+ def to_hash: -> {
234
+ url: String,
235
+ tags: ::Array[PostForMe::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag]?,
236
+ thumbnail_timestamp_ms: top?,
237
+ thumbnail_url: top?
238
+ }
239
+
240
+ type tag =
241
+ {
242
+ id: String,
243
+ platform: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::platform,
244
+ type: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::type_,
245
+ x: Float,
246
+ y_: Float
247
+ }
248
+
249
+ class Tag < PostForMe::Internal::Type::BaseModel
250
+ attr_accessor id: String
251
+
252
+ attr_accessor platform: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::platform
253
+
254
+ attr_accessor type: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::type_
255
+
256
+ attr_reader x: Float?
257
+
258
+ def x=: (Float) -> Float
259
+
260
+ attr_reader y_: Float?
261
+
262
+ def y_=: (Float) -> Float
263
+
264
+ def initialize: (
265
+ id: String,
266
+ platform: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::platform,
267
+ type: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::type_,
268
+ ?x: Float,
269
+ ?y_: Float
270
+ ) -> void
271
+
272
+ def to_hash: -> {
273
+ id: String,
274
+ platform: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::platform,
275
+ type: PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::type_,
276
+ x: Float,
277
+ y_: Float
278
+ }
279
+
280
+ type platform = :facebook | :instagram
281
+
282
+ module Platform
283
+ extend PostForMe::Internal::Type::Enum
284
+
285
+ FACEBOOK: :facebook
286
+ INSTAGRAM: :instagram
287
+
288
+ def self?.values: -> ::Array[PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::platform]
289
+ end
290
+
291
+ type type_ = :user | :product
292
+
293
+ module Type
294
+ extend PostForMe::Internal::Type::Enum
295
+
296
+ USER: :user
297
+ PRODUCT: :product
298
+
299
+ def self?.values: -> ::Array[PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag::type_]
300
+ end
301
+ end
302
+ end
303
+
204
304
  type placement = :reels | :timeline | :stories
205
305
 
206
306
  module Placement
@@ -258,6 +358,18 @@ module PostForMe
258
358
  end
259
359
  end
260
360
 
361
+ type privacy_status = :public | :private | :unlisted
362
+
363
+ module PrivacyStatus
364
+ extend PostForMe::Internal::Type::Enum
365
+
366
+ PUBLIC: :public
367
+ PRIVATE: :private
368
+ UNLISTED: :unlisted
369
+
370
+ def self?.values: -> ::Array[PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::privacy_status]
371
+ end
372
+
261
373
  type reply_settings =
262
374
  :following | :mentionedUsers | :subscribers | :verified
263
375
 
@@ -103,10 +103,11 @@ 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?,
@@ -144,7 +145,9 @@ module PostForMe
144
145
 
145
146
  attr_accessor location: String?
146
147
 
147
- attr_accessor media: ::Array[String]?
148
+ attr_accessor made_for_kids: bool?
149
+
150
+ attr_accessor media: ::Array[PostForMe::SocialPost::AccountConfiguration::Configuration::Media]?
148
151
 
149
152
  attr_accessor placement: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::placement?
150
153
 
@@ -154,7 +157,7 @@ module PostForMe
154
157
  PostForMe::SocialPost::AccountConfiguration::Configuration::Poll
155
158
  ) -> PostForMe::SocialPost::AccountConfiguration::Configuration::Poll
156
159
 
157
- attr_accessor privacy_status: String?
160
+ attr_accessor privacy_status: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::privacy_status?
158
161
 
159
162
  attr_reader quote_tweet_id: String?
160
163
 
@@ -181,10 +184,11 @@ module PostForMe
181
184
  ?is_draft: bool?,
182
185
  ?link: String?,
183
186
  ?location: String?,
184
- ?media: ::Array[String]?,
187
+ ?made_for_kids: bool?,
188
+ ?media: ::Array[PostForMe::SocialPost::AccountConfiguration::Configuration::Media]?,
185
189
  ?placement: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::placement?,
186
190
  ?poll: PostForMe::SocialPost::AccountConfiguration::Configuration::Poll,
187
- ?privacy_status: String?,
191
+ ?privacy_status: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::privacy_status?,
188
192
  ?quote_tweet_id: String,
189
193
  ?reply_settings: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::reply_settings?,
190
194
  ?share_to_feed: bool?,
@@ -206,16 +210,112 @@ module PostForMe
206
210
  is_draft: bool?,
207
211
  link: String?,
208
212
  location: String?,
209
- media: ::Array[String]?,
213
+ made_for_kids: bool?,
214
+ media: ::Array[PostForMe::SocialPost::AccountConfiguration::Configuration::Media]?,
210
215
  placement: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::placement?,
211
216
  poll: PostForMe::SocialPost::AccountConfiguration::Configuration::Poll,
212
- privacy_status: String?,
217
+ privacy_status: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::privacy_status?,
213
218
  quote_tweet_id: String,
214
219
  reply_settings: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::reply_settings?,
215
220
  share_to_feed: bool?,
216
221
  title: String?
217
222
  }
218
223
 
224
+ type media =
225
+ {
226
+ url: String,
227
+ tags: ::Array[PostForMe::SocialPost::AccountConfiguration::Configuration::Media::Tag]?,
228
+ thumbnail_timestamp_ms: top?,
229
+ thumbnail_url: top?
230
+ }
231
+
232
+ class Media < PostForMe::Internal::Type::BaseModel
233
+ attr_accessor url: String
234
+
235
+ attr_accessor tags: ::Array[PostForMe::SocialPost::AccountConfiguration::Configuration::Media::Tag]?
236
+
237
+ attr_accessor thumbnail_timestamp_ms: top?
238
+
239
+ attr_accessor thumbnail_url: top?
240
+
241
+ def initialize: (
242
+ url: String,
243
+ ?tags: ::Array[PostForMe::SocialPost::AccountConfiguration::Configuration::Media::Tag]?,
244
+ ?thumbnail_timestamp_ms: top?,
245
+ ?thumbnail_url: top?
246
+ ) -> void
247
+
248
+ def to_hash: -> {
249
+ url: String,
250
+ tags: ::Array[PostForMe::SocialPost::AccountConfiguration::Configuration::Media::Tag]?,
251
+ thumbnail_timestamp_ms: top?,
252
+ thumbnail_url: top?
253
+ }
254
+
255
+ type tag =
256
+ {
257
+ id: String,
258
+ platform: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag::platform,
259
+ type: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag::type_,
260
+ x: Float,
261
+ y_: Float
262
+ }
263
+
264
+ class Tag < PostForMe::Internal::Type::BaseModel
265
+ attr_accessor id: String
266
+
267
+ attr_accessor platform: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag::platform
268
+
269
+ attr_accessor type: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag::type_
270
+
271
+ attr_reader x: Float?
272
+
273
+ def x=: (Float) -> Float
274
+
275
+ attr_reader y_: Float?
276
+
277
+ def y_=: (Float) -> Float
278
+
279
+ def initialize: (
280
+ id: String,
281
+ platform: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag::platform,
282
+ type: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag::type_,
283
+ ?x: Float,
284
+ ?y_: Float
285
+ ) -> void
286
+
287
+ def to_hash: -> {
288
+ id: String,
289
+ platform: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag::platform,
290
+ type: PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag::type_,
291
+ x: Float,
292
+ y_: Float
293
+ }
294
+
295
+ type platform = :facebook | :instagram
296
+
297
+ module Platform
298
+ extend PostForMe::Internal::Type::Enum
299
+
300
+ FACEBOOK: :facebook
301
+ INSTAGRAM: :instagram
302
+
303
+ def self?.values: -> ::Array[PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag::platform]
304
+ end
305
+
306
+ type type_ = :user | :product
307
+
308
+ module Type
309
+ extend PostForMe::Internal::Type::Enum
310
+
311
+ USER: :user
312
+ PRODUCT: :product
313
+
314
+ def self?.values: -> ::Array[PostForMe::Models::SocialPost::AccountConfiguration::Configuration::Media::Tag::type_]
315
+ end
316
+ end
317
+ end
318
+
219
319
  type placement = :reels | :timeline | :stories
220
320
 
221
321
  module Placement
@@ -273,6 +373,18 @@ module PostForMe
273
373
  end
274
374
  end
275
375
 
376
+ type privacy_status = :public | :private | :unlisted
377
+
378
+ module PrivacyStatus
379
+ extend PostForMe::Internal::Type::Enum
380
+
381
+ PUBLIC: :public
382
+ PRIVATE: :private
383
+ UNLISTED: :unlisted
384
+
385
+ def self?.values: -> ::Array[PostForMe::Models::SocialPost::AccountConfiguration::Configuration::privacy_status]
386
+ end
387
+
276
388
  type reply_settings =
277
389
  :following | :mentionedUsers | :subscribers | :verified
278
390
 
@@ -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
  }
@@ -5,7 +5,8 @@ module PostForMe
5
5
  limit: Float,
6
6
  offset: Float,
7
7
  platform: ::Array[String],
8
- post_id: ::Array[String]
8
+ post_id: ::Array[String],
9
+ social_account_id: ::Array[String]
9
10
  }
10
11
  & PostForMe::Internal::Type::request_parameters
11
12
 
@@ -29,11 +30,16 @@ module PostForMe
29
30
 
30
31
  def post_id=: (::Array[String]) -> ::Array[String]
31
32
 
33
+ attr_reader social_account_id: ::Array[String]?
34
+
35
+ def social_account_id=: (::Array[String]) -> ::Array[String]
36
+
32
37
  def initialize: (
33
38
  ?limit: Float,
34
39
  ?offset: Float,
35
40
  ?platform: ::Array[String],
36
41
  ?post_id: ::Array[String],
42
+ ?social_account_id: ::Array[String],
37
43
  ?request_options: PostForMe::request_opts
38
44
  ) -> void
39
45
 
@@ -42,6 +48,7 @@ module PostForMe
42
48
  offset: Float,
43
49
  platform: ::Array[String],
44
50
  post_id: ::Array[String],
51
+ social_account_id: ::Array[String],
45
52
  request_options: PostForMe::RequestOptions
46
53
  }
47
54
  end
@@ -3,26 +3,36 @@ module PostForMe
3
3
  type youtube_configuration_dto =
4
4
  {
5
5
  caption: top?,
6
+ made_for_kids: bool?,
6
7
  media: ::Array[PostForMe::YoutubeConfigurationDto::Media]?,
8
+ privacy_status: PostForMe::Models::YoutubeConfigurationDto::privacy_status?,
7
9
  title: String?
8
10
  }
9
11
 
10
12
  class YoutubeConfigurationDto < PostForMe::Internal::Type::BaseModel
11
13
  attr_accessor caption: top?
12
14
 
15
+ attr_accessor made_for_kids: bool?
16
+
13
17
  attr_accessor media: ::Array[PostForMe::YoutubeConfigurationDto::Media]?
14
18
 
19
+ attr_accessor privacy_status: PostForMe::Models::YoutubeConfigurationDto::privacy_status?
20
+
15
21
  attr_accessor title: String?
16
22
 
17
23
  def initialize: (
18
24
  ?caption: top?,
25
+ ?made_for_kids: bool?,
19
26
  ?media: ::Array[PostForMe::YoutubeConfigurationDto::Media]?,
27
+ ?privacy_status: PostForMe::Models::YoutubeConfigurationDto::privacy_status?,
20
28
  ?title: String?
21
29
  ) -> void
22
30
 
23
31
  def to_hash: -> {
24
32
  caption: top?,
33
+ made_for_kids: bool?,
25
34
  media: ::Array[PostForMe::YoutubeConfigurationDto::Media]?,
35
+ privacy_status: PostForMe::Models::YoutubeConfigurationDto::privacy_status?,
26
36
  title: String?
27
37
  }
28
38
 
@@ -120,6 +130,18 @@ module PostForMe
120
130
  end
121
131
  end
122
132
  end
133
+
134
+ type privacy_status = :public | :private | :unlisted
135
+
136
+ module PrivacyStatus
137
+ extend PostForMe::Internal::Type::Enum
138
+
139
+ PUBLIC: :public
140
+ PRIVATE: :private
141
+ UNLISTED: :unlisted
142
+
143
+ def self?.values: -> ::Array[PostForMe::Models::YoutubeConfigurationDto::privacy_status]
144
+ end
123
145
  end
124
146
  end
125
147
  end
@@ -11,6 +11,7 @@ module PostForMe
11
11
  ?offset: Float,
12
12
  ?platform: ::Array[String],
13
13
  ?post_id: ::Array[String],
14
+ ?social_account_id: ::Array[String],
14
15
  ?request_options: PostForMe::request_opts
15
16
  ) -> PostForMe::Models::SocialPostResultListResponse
16
17
 
@@ -36,6 +36,7 @@ module PostForMe
36
36
  ?limit: Float,
37
37
  ?offset: Float,
38
38
  ?platform: ::Array[PostForMe::Models::SocialPostListParams::platform],
39
+ ?social_account_id: ::Array[String],
39
40
  ?status: ::Array[PostForMe::Models::SocialPostListParams::status],
40
41
  ?request_options: PostForMe::request_opts
41
42
  ) -> PostForMe::Models::SocialPostListResponse
metadata CHANGED
@@ -1,15 +1,29 @@
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.11
4
+ version: 0.1.0.pre.alpha.12
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: 2025-12-30 00:00:00.000000000 Z
11
+ date: 2026-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: cgi
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: connection_pool
15
29
  requirement: !ruby/object:Gem::Requirement