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

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 (33) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -0
  3. data/README.md +1 -1
  4. data/lib/post_for_me/client.rb +4 -0
  5. data/lib/post_for_me/internal/transport/pooled_net_requester.rb +12 -10
  6. data/lib/post_for_me/internal/util.rb +7 -2
  7. data/lib/post_for_me/models/platform_post.rb +843 -0
  8. data/lib/post_for_me/models/social_account_create_auth_url_params.rb +245 -9
  9. data/lib/post_for_me/models/social_account_feed_list_params.rb +81 -0
  10. data/lib/post_for_me/models/social_account_feed_list_response.rb +58 -0
  11. data/lib/post_for_me/models.rb +4 -0
  12. data/lib/post_for_me/resources/social_account_feeds.rb +51 -0
  13. data/lib/post_for_me/resources/social_accounts.rb +8 -1
  14. data/lib/post_for_me/version.rb +1 -1
  15. data/lib/post_for_me.rb +5 -0
  16. data/manifest.yaml +1 -0
  17. data/rbi/post_for_me/client.rbi +3 -0
  18. data/rbi/post_for_me/models/platform_post.rbi +1287 -0
  19. data/rbi/post_for_me/models/social_account_create_auth_url_params.rbi +545 -15
  20. data/rbi/post_for_me/models/social_account_feed_list_params.rbi +157 -0
  21. data/rbi/post_for_me/models/social_account_feed_list_response.rbi +110 -0
  22. data/rbi/post_for_me/models.rbi +4 -0
  23. data/rbi/post_for_me/resources/social_account_feeds.rbi +51 -0
  24. data/rbi/post_for_me/resources/social_accounts.rbi +13 -0
  25. data/sig/post_for_me/client.rbs +2 -0
  26. data/sig/post_for_me/models/platform_post.rbs +660 -0
  27. data/sig/post_for_me/models/social_account_create_auth_url_params.rbs +193 -10
  28. data/sig/post_for_me/models/social_account_feed_list_params.rbs +75 -0
  29. data/sig/post_for_me/models/social_account_feed_list_response.rbs +54 -0
  30. data/sig/post_for_me/models.rbs +4 -0
  31. data/sig/post_for_me/resources/social_account_feeds.rbs +18 -0
  32. data/sig/post_for_me/resources/social_accounts.rbs +2 -0
  33. metadata +14 -2
@@ -0,0 +1,660 @@
1
+ module PostForMe
2
+ module Models
3
+ type platform_post =
4
+ {
5
+ caption: String,
6
+ media: ::Array[::Array[top]],
7
+ platform: String,
8
+ platform_account_id: String,
9
+ platform_post_id: String,
10
+ platform_url: String,
11
+ social_account_id: String,
12
+ external_account_id: String?,
13
+ external_post_id: String?,
14
+ metrics: PostForMe::Models::PlatformPost::metrics,
15
+ posted_at: Time,
16
+ social_post_id: String?,
17
+ social_post_result_id: String?
18
+ }
19
+
20
+ class PlatformPost < PostForMe::Internal::Type::BaseModel
21
+ attr_accessor caption: String
22
+
23
+ attr_accessor media: ::Array[::Array[top]]
24
+
25
+ attr_accessor platform: String
26
+
27
+ attr_accessor platform_account_id: String
28
+
29
+ attr_accessor platform_post_id: String
30
+
31
+ attr_accessor platform_url: String
32
+
33
+ attr_accessor social_account_id: String
34
+
35
+ attr_accessor external_account_id: String?
36
+
37
+ attr_accessor external_post_id: String?
38
+
39
+ attr_reader metrics: PostForMe::Models::PlatformPost::metrics?
40
+
41
+ def metrics=: (
42
+ PostForMe::Models::PlatformPost::metrics
43
+ ) -> PostForMe::Models::PlatformPost::metrics
44
+
45
+ attr_reader posted_at: Time?
46
+
47
+ def posted_at=: (Time) -> Time
48
+
49
+ attr_accessor social_post_id: String?
50
+
51
+ attr_accessor social_post_result_id: String?
52
+
53
+ def initialize: (
54
+ caption: String,
55
+ media: ::Array[::Array[top]],
56
+ platform: String,
57
+ platform_account_id: String,
58
+ platform_post_id: String,
59
+ platform_url: String,
60
+ social_account_id: String,
61
+ ?external_account_id: String?,
62
+ ?external_post_id: String?,
63
+ ?metrics: PostForMe::Models::PlatformPost::metrics,
64
+ ?posted_at: Time,
65
+ ?social_post_id: String?,
66
+ ?social_post_result_id: String?
67
+ ) -> void
68
+
69
+ def to_hash: -> {
70
+ caption: String,
71
+ media: ::Array[::Array[top]],
72
+ platform: String,
73
+ platform_account_id: String,
74
+ platform_post_id: String,
75
+ platform_url: String,
76
+ social_account_id: String,
77
+ external_account_id: String?,
78
+ external_post_id: String?,
79
+ metrics: PostForMe::Models::PlatformPost::metrics,
80
+ posted_at: Time,
81
+ social_post_id: String?,
82
+ social_post_result_id: String?
83
+ }
84
+
85
+ type metrics =
86
+ PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto
87
+ | PostForMe::PlatformPost::Metrics::TikTokPostMetricsDto
88
+ | PostForMe::PlatformPost::Metrics::InstagramPostMetricsDto
89
+ | PostForMe::PlatformPost::Metrics::YouTubePostMetricsDto
90
+
91
+ module Metrics
92
+ extend PostForMe::Internal::Type::Union
93
+
94
+ type tik_tok_business_metrics_dto =
95
+ {
96
+ address_clicks: Float,
97
+ app_download_clicks: Float,
98
+ audience_cities: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::AudienceCity],
99
+ audience_countries: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::AudienceCountry],
100
+ audience_genders: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::AudienceGender],
101
+ audience_types: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::AudienceType],
102
+ average_time_watched: Float,
103
+ comments: Float,
104
+ email_clicks: Float,
105
+ engagement_likes: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::EngagementLike],
106
+ favorites: Float,
107
+ full_video_watched_rate: Float,
108
+ impression_sources: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::ImpressionSource],
109
+ lead_submissions: Float,
110
+ likes: Float,
111
+ new_followers: Float,
112
+ phone_number_clicks: Float,
113
+ profile_views: Float,
114
+ reach: Float,
115
+ shares: Float,
116
+ total_time_watched: Float,
117
+ video_view_retention: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::VideoViewRetention],
118
+ video_views: Float,
119
+ website_clicks: Float
120
+ }
121
+
122
+ class TikTokBusinessMetricsDto < PostForMe::Internal::Type::BaseModel
123
+ attr_accessor address_clicks: Float
124
+
125
+ attr_accessor app_download_clicks: Float
126
+
127
+ attr_accessor audience_cities: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::AudienceCity]
128
+
129
+ attr_accessor audience_countries: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::AudienceCountry]
130
+
131
+ attr_accessor audience_genders: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::AudienceGender]
132
+
133
+ attr_accessor audience_types: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::AudienceType]
134
+
135
+ attr_accessor average_time_watched: Float
136
+
137
+ attr_accessor comments: Float
138
+
139
+ attr_accessor email_clicks: Float
140
+
141
+ attr_accessor engagement_likes: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::EngagementLike]
142
+
143
+ attr_accessor favorites: Float
144
+
145
+ attr_accessor full_video_watched_rate: Float
146
+
147
+ attr_accessor impression_sources: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::ImpressionSource]
148
+
149
+ attr_accessor lead_submissions: Float
150
+
151
+ attr_accessor likes: Float
152
+
153
+ attr_accessor new_followers: Float
154
+
155
+ attr_accessor phone_number_clicks: Float
156
+
157
+ attr_accessor profile_views: Float
158
+
159
+ attr_accessor reach: Float
160
+
161
+ attr_accessor shares: Float
162
+
163
+ attr_accessor total_time_watched: Float
164
+
165
+ attr_accessor video_view_retention: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::VideoViewRetention]
166
+
167
+ attr_accessor video_views: Float
168
+
169
+ attr_accessor website_clicks: Float
170
+
171
+ def initialize: (
172
+ address_clicks: Float,
173
+ app_download_clicks: Float,
174
+ audience_cities: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::AudienceCity],
175
+ audience_countries: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::AudienceCountry],
176
+ audience_genders: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::AudienceGender],
177
+ audience_types: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::AudienceType],
178
+ average_time_watched: Float,
179
+ comments: Float,
180
+ email_clicks: Float,
181
+ engagement_likes: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::EngagementLike],
182
+ favorites: Float,
183
+ full_video_watched_rate: Float,
184
+ impression_sources: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::ImpressionSource],
185
+ lead_submissions: Float,
186
+ likes: Float,
187
+ new_followers: Float,
188
+ phone_number_clicks: Float,
189
+ profile_views: Float,
190
+ reach: Float,
191
+ shares: Float,
192
+ total_time_watched: Float,
193
+ video_view_retention: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::VideoViewRetention],
194
+ video_views: Float,
195
+ website_clicks: Float
196
+ ) -> void
197
+
198
+ def to_hash: -> {
199
+ address_clicks: Float,
200
+ app_download_clicks: Float,
201
+ audience_cities: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::AudienceCity],
202
+ audience_countries: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::AudienceCountry],
203
+ audience_genders: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::AudienceGender],
204
+ audience_types: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::AudienceType],
205
+ average_time_watched: Float,
206
+ comments: Float,
207
+ email_clicks: Float,
208
+ engagement_likes: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::EngagementLike],
209
+ favorites: Float,
210
+ full_video_watched_rate: Float,
211
+ impression_sources: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::ImpressionSource],
212
+ lead_submissions: Float,
213
+ likes: Float,
214
+ new_followers: Float,
215
+ phone_number_clicks: Float,
216
+ profile_views: Float,
217
+ reach: Float,
218
+ shares: Float,
219
+ total_time_watched: Float,
220
+ video_view_retention: ::Array[PostForMe::PlatformPost::Metrics::TikTokBusinessMetricsDto::VideoViewRetention],
221
+ video_views: Float,
222
+ website_clicks: Float
223
+ }
224
+
225
+ type audience_city = { city_name: String, percentage: Float }
226
+
227
+ class AudienceCity < PostForMe::Internal::Type::BaseModel
228
+ attr_accessor city_name: String
229
+
230
+ attr_accessor percentage: Float
231
+
232
+ def initialize: (city_name: String, percentage: Float) -> void
233
+
234
+ def to_hash: -> { city_name: String, percentage: Float }
235
+ end
236
+
237
+ type audience_country = { country: String, percentage: Float }
238
+
239
+ class AudienceCountry < PostForMe::Internal::Type::BaseModel
240
+ attr_accessor country: String
241
+
242
+ attr_accessor percentage: Float
243
+
244
+ def initialize: (country: String, percentage: Float) -> void
245
+
246
+ def to_hash: -> { country: String, percentage: Float }
247
+ end
248
+
249
+ type audience_gender = { gender: String, percentage: Float }
250
+
251
+ class AudienceGender < PostForMe::Internal::Type::BaseModel
252
+ attr_accessor gender: String
253
+
254
+ attr_accessor percentage: Float
255
+
256
+ def initialize: (gender: String, percentage: Float) -> void
257
+
258
+ def to_hash: -> { gender: String, percentage: Float }
259
+ end
260
+
261
+ type audience_type = { percentage: Float, type: String }
262
+
263
+ class AudienceType < PostForMe::Internal::Type::BaseModel
264
+ attr_accessor percentage: Float
265
+
266
+ attr_accessor type: String
267
+
268
+ def initialize: (percentage: Float, type: String) -> void
269
+
270
+ def to_hash: -> { percentage: Float, type: String }
271
+ end
272
+
273
+ type engagement_like = { percentage: Float, second: String }
274
+
275
+ class EngagementLike < PostForMe::Internal::Type::BaseModel
276
+ attr_accessor percentage: Float
277
+
278
+ attr_accessor second: String
279
+
280
+ def initialize: (percentage: Float, second: String) -> void
281
+
282
+ def to_hash: -> { percentage: Float, second: String }
283
+ end
284
+
285
+ type impression_source =
286
+ { impression_source: String, percentage: Float }
287
+
288
+ class ImpressionSource < PostForMe::Internal::Type::BaseModel
289
+ attr_accessor impression_source: String
290
+
291
+ attr_accessor percentage: Float
292
+
293
+ def initialize: (
294
+ impression_source: String,
295
+ percentage: Float
296
+ ) -> void
297
+
298
+ def to_hash: -> { impression_source: String, percentage: Float }
299
+ end
300
+
301
+ type video_view_retention = { percentage: Float, second: String }
302
+
303
+ class VideoViewRetention < PostForMe::Internal::Type::BaseModel
304
+ attr_accessor percentage: Float
305
+
306
+ attr_accessor second: String
307
+
308
+ def initialize: (percentage: Float, second: String) -> void
309
+
310
+ def to_hash: -> { percentage: Float, second: String }
311
+ end
312
+ end
313
+
314
+ type tik_tok_post_metrics_dto =
315
+ {
316
+ comment_count: Float,
317
+ like_count: Float,
318
+ share_count: Float,
319
+ view_count: Float
320
+ }
321
+
322
+ class TikTokPostMetricsDto < PostForMe::Internal::Type::BaseModel
323
+ attr_accessor comment_count: Float
324
+
325
+ attr_accessor like_count: Float
326
+
327
+ attr_accessor share_count: Float
328
+
329
+ attr_accessor view_count: Float
330
+
331
+ def initialize: (
332
+ comment_count: Float,
333
+ like_count: Float,
334
+ share_count: Float,
335
+ view_count: Float
336
+ ) -> void
337
+
338
+ def to_hash: -> {
339
+ comment_count: Float,
340
+ like_count: Float,
341
+ share_count: Float,
342
+ view_count: Float
343
+ }
344
+ end
345
+
346
+ type instagram_post_metrics_dto =
347
+ {
348
+ comments: Float,
349
+ follows: Float,
350
+ ig_reels_avg_watch_time: Float,
351
+ ig_reels_video_view_total_time: Float,
352
+ likes: Float,
353
+ navigation: Float,
354
+ profile_activity: Float,
355
+ profile_visits: Float,
356
+ reach: Float,
357
+ replies: Float,
358
+ saved: Float,
359
+ shares: Float,
360
+ total_interactions: Float,
361
+ views: Float
362
+ }
363
+
364
+ class InstagramPostMetricsDto < PostForMe::Internal::Type::BaseModel
365
+ attr_reader comments: Float?
366
+
367
+ def comments=: (Float) -> Float
368
+
369
+ attr_reader follows: Float?
370
+
371
+ def follows=: (Float) -> Float
372
+
373
+ attr_reader ig_reels_avg_watch_time: Float?
374
+
375
+ def ig_reels_avg_watch_time=: (Float) -> Float
376
+
377
+ attr_reader ig_reels_video_view_total_time: Float?
378
+
379
+ def ig_reels_video_view_total_time=: (Float) -> Float
380
+
381
+ attr_reader likes: Float?
382
+
383
+ def likes=: (Float) -> Float
384
+
385
+ attr_reader navigation: Float?
386
+
387
+ def navigation=: (Float) -> Float
388
+
389
+ attr_reader profile_activity: Float?
390
+
391
+ def profile_activity=: (Float) -> Float
392
+
393
+ attr_reader profile_visits: Float?
394
+
395
+ def profile_visits=: (Float) -> Float
396
+
397
+ attr_reader reach: Float?
398
+
399
+ def reach=: (Float) -> Float
400
+
401
+ attr_reader replies: Float?
402
+
403
+ def replies=: (Float) -> Float
404
+
405
+ attr_reader saved: Float?
406
+
407
+ def saved=: (Float) -> Float
408
+
409
+ attr_reader shares: Float?
410
+
411
+ def shares=: (Float) -> Float
412
+
413
+ attr_reader total_interactions: Float?
414
+
415
+ def total_interactions=: (Float) -> Float
416
+
417
+ attr_reader views: Float?
418
+
419
+ def views=: (Float) -> Float
420
+
421
+ def initialize: (
422
+ ?comments: Float,
423
+ ?follows: Float,
424
+ ?ig_reels_avg_watch_time: Float,
425
+ ?ig_reels_video_view_total_time: Float,
426
+ ?likes: Float,
427
+ ?navigation: Float,
428
+ ?profile_activity: Float,
429
+ ?profile_visits: Float,
430
+ ?reach: Float,
431
+ ?replies: Float,
432
+ ?saved: Float,
433
+ ?shares: Float,
434
+ ?total_interactions: Float,
435
+ ?views: Float
436
+ ) -> void
437
+
438
+ def to_hash: -> {
439
+ comments: Float,
440
+ follows: Float,
441
+ ig_reels_avg_watch_time: Float,
442
+ ig_reels_video_view_total_time: Float,
443
+ likes: Float,
444
+ navigation: Float,
445
+ profile_activity: Float,
446
+ profile_visits: Float,
447
+ reach: Float,
448
+ replies: Float,
449
+ saved: Float,
450
+ shares: Float,
451
+ total_interactions: Float,
452
+ views: Float
453
+ }
454
+ end
455
+
456
+ type you_tube_post_metrics_dto =
457
+ {
458
+ comments: Float,
459
+ dislikes: Float,
460
+ likes: Float,
461
+ views: Float,
462
+ annotation_clickable_impressions: Float,
463
+ annotation_clicks: Float,
464
+ annotation_click_through_rate: Float,
465
+ annotation_closable_impressions: Float,
466
+ annotation_close_rate: Float,
467
+ annotation_closes: Float,
468
+ annotation_impressions: Float,
469
+ average_view_duration: Float,
470
+ average_view_percentage: Float,
471
+ card_click_rate: Float,
472
+ card_clicks: Float,
473
+ card_impressions: Float,
474
+ card_teaser_click_rate: Float,
475
+ card_teaser_clicks: Float,
476
+ card_teaser_impressions: Float,
477
+ engaged_views: Float,
478
+ estimated_minutes_watched: Float,
479
+ estimated_red_minutes_watched: Float,
480
+ red_views: Float,
481
+ shares: Float,
482
+ subscribers_gained: Float,
483
+ subscribers_lost: Float,
484
+ videos_added_to_playlists: Float,
485
+ videos_removed_from_playlists: Float
486
+ }
487
+
488
+ class YouTubePostMetricsDto < PostForMe::Internal::Type::BaseModel
489
+ attr_accessor comments: Float
490
+
491
+ attr_accessor dislikes: Float
492
+
493
+ attr_accessor likes: Float
494
+
495
+ attr_accessor views: Float
496
+
497
+ attr_reader annotation_clickable_impressions: Float?
498
+
499
+ def annotation_clickable_impressions=: (Float) -> Float
500
+
501
+ attr_reader annotation_clicks: Float?
502
+
503
+ def annotation_clicks=: (Float) -> Float
504
+
505
+ attr_reader annotation_click_through_rate: Float?
506
+
507
+ def annotation_click_through_rate=: (Float) -> Float
508
+
509
+ attr_reader annotation_closable_impressions: Float?
510
+
511
+ def annotation_closable_impressions=: (Float) -> Float
512
+
513
+ attr_reader annotation_close_rate: Float?
514
+
515
+ def annotation_close_rate=: (Float) -> Float
516
+
517
+ attr_reader annotation_closes: Float?
518
+
519
+ def annotation_closes=: (Float) -> Float
520
+
521
+ attr_reader annotation_impressions: Float?
522
+
523
+ def annotation_impressions=: (Float) -> Float
524
+
525
+ attr_reader average_view_duration: Float?
526
+
527
+ def average_view_duration=: (Float) -> Float
528
+
529
+ attr_reader average_view_percentage: Float?
530
+
531
+ def average_view_percentage=: (Float) -> Float
532
+
533
+ attr_reader card_click_rate: Float?
534
+
535
+ def card_click_rate=: (Float) -> Float
536
+
537
+ attr_reader card_clicks: Float?
538
+
539
+ def card_clicks=: (Float) -> Float
540
+
541
+ attr_reader card_impressions: Float?
542
+
543
+ def card_impressions=: (Float) -> Float
544
+
545
+ attr_reader card_teaser_click_rate: Float?
546
+
547
+ def card_teaser_click_rate=: (Float) -> Float
548
+
549
+ attr_reader card_teaser_clicks: Float?
550
+
551
+ def card_teaser_clicks=: (Float) -> Float
552
+
553
+ attr_reader card_teaser_impressions: Float?
554
+
555
+ def card_teaser_impressions=: (Float) -> Float
556
+
557
+ attr_reader engaged_views: Float?
558
+
559
+ def engaged_views=: (Float) -> Float
560
+
561
+ attr_reader estimated_minutes_watched: Float?
562
+
563
+ def estimated_minutes_watched=: (Float) -> Float
564
+
565
+ attr_reader estimated_red_minutes_watched: Float?
566
+
567
+ def estimated_red_minutes_watched=: (Float) -> Float
568
+
569
+ attr_reader red_views: Float?
570
+
571
+ def red_views=: (Float) -> Float
572
+
573
+ attr_reader shares: Float?
574
+
575
+ def shares=: (Float) -> Float
576
+
577
+ attr_reader subscribers_gained: Float?
578
+
579
+ def subscribers_gained=: (Float) -> Float
580
+
581
+ attr_reader subscribers_lost: Float?
582
+
583
+ def subscribers_lost=: (Float) -> Float
584
+
585
+ attr_reader videos_added_to_playlists: Float?
586
+
587
+ def videos_added_to_playlists=: (Float) -> Float
588
+
589
+ attr_reader videos_removed_from_playlists: Float?
590
+
591
+ def videos_removed_from_playlists=: (Float) -> Float
592
+
593
+ def initialize: (
594
+ comments: Float,
595
+ dislikes: Float,
596
+ likes: Float,
597
+ views: Float,
598
+ ?annotation_clickable_impressions: Float,
599
+ ?annotation_clicks: Float,
600
+ ?annotation_click_through_rate: Float,
601
+ ?annotation_closable_impressions: Float,
602
+ ?annotation_close_rate: Float,
603
+ ?annotation_closes: Float,
604
+ ?annotation_impressions: Float,
605
+ ?average_view_duration: Float,
606
+ ?average_view_percentage: Float,
607
+ ?card_click_rate: Float,
608
+ ?card_clicks: Float,
609
+ ?card_impressions: Float,
610
+ ?card_teaser_click_rate: Float,
611
+ ?card_teaser_clicks: Float,
612
+ ?card_teaser_impressions: Float,
613
+ ?engaged_views: Float,
614
+ ?estimated_minutes_watched: Float,
615
+ ?estimated_red_minutes_watched: Float,
616
+ ?red_views: Float,
617
+ ?shares: Float,
618
+ ?subscribers_gained: Float,
619
+ ?subscribers_lost: Float,
620
+ ?videos_added_to_playlists: Float,
621
+ ?videos_removed_from_playlists: Float
622
+ ) -> void
623
+
624
+ def to_hash: -> {
625
+ comments: Float,
626
+ dislikes: Float,
627
+ likes: Float,
628
+ views: Float,
629
+ annotation_clickable_impressions: Float,
630
+ annotation_clicks: Float,
631
+ annotation_click_through_rate: Float,
632
+ annotation_closable_impressions: Float,
633
+ annotation_close_rate: Float,
634
+ annotation_closes: Float,
635
+ annotation_impressions: Float,
636
+ average_view_duration: Float,
637
+ average_view_percentage: Float,
638
+ card_click_rate: Float,
639
+ card_clicks: Float,
640
+ card_impressions: Float,
641
+ card_teaser_click_rate: Float,
642
+ card_teaser_clicks: Float,
643
+ card_teaser_impressions: Float,
644
+ engaged_views: Float,
645
+ estimated_minutes_watched: Float,
646
+ estimated_red_minutes_watched: Float,
647
+ red_views: Float,
648
+ shares: Float,
649
+ subscribers_gained: Float,
650
+ subscribers_lost: Float,
651
+ videos_added_to_playlists: Float,
652
+ videos_removed_from_playlists: Float
653
+ }
654
+ end
655
+
656
+ def self?.variants: -> ::Array[PostForMe::Models::PlatformPost::metrics]
657
+ end
658
+ end
659
+ end
660
+ end