zernio-sdk 0.0.96 → 0.0.98
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/docs/AccountWithFollowerStats.md +2 -0
- data/docs/ConnectWhatsAppCredentials200ResponseAccount.md +2 -6
- data/docs/SocialAccount.md +3 -1
- data/docs/UpdatePostMetadataRequest.md +7 -1
- data/lib/late-sdk/models/account_with_follower_stats.rb +11 -1
- data/lib/late-sdk/models/connect_whats_app_credentials200_response_account.rb +8 -26
- data/lib/late-sdk/models/social_account.rb +14 -4
- data/lib/late-sdk/models/update_post_metadata_request.rb +34 -4
- data/lib/late-sdk/version.rb +1 -1
- data/openapi.yaml +22 -6
- data/spec/models/account_with_follower_stats_spec.rb +6 -0
- data/spec/models/connect_whats_app_credentials200_response_account_spec.rb +1 -13
- data/spec/models/social_account_spec.rb +6 -0
- data/spec/models/update_post_metadata_request_spec.rb +18 -0
- 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: 25f9fffc9f8bb4e3e84bfc70b0c87d0ab30a1aa0d1b7acc4d90c4a03d02b046f
|
|
4
|
+
data.tar.gz: 8b6f2bd7ff2cf225d89d94ee1a076c28eabe917ec6846ec8b443ce3bdafb3c26
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 400824e76b734f8a62fa2acca8b8fc39d5c9edb9517eafa7c02c48b6ab2be58a65abd5d4b571b00eb43e8ad5d38d862a26c986fa5b09ebd42da580bc43c86d22
|
|
7
|
+
data.tar.gz: 26555e192e9eece7c51ab65a0652f5710995795fe52c4621cff19cd286c87b7b307529ffb84594169866d523e6f0fce7413567864acbbb029af3f72af88a6d2a
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
| **is_active** | **Boolean** | | [optional] |
|
|
14
14
|
| **followers_count** | **Float** | Follower count (only included if user has analytics add-on) | [optional] |
|
|
15
15
|
| **followers_last_updated** | **Time** | Last time follower count was updated (only included if user has analytics add-on) | [optional] |
|
|
16
|
+
| **metadata** | **Object** | Platform-specific metadata. Fields vary by platform. For WhatsApp accounts, includes: - `qualityRating`: Phone number quality rating from Meta (`GREEN`, `YELLOW`, `RED`, or `UNKNOWN`) - `nameStatus`: Display name review status (`APPROVED`, `PENDING_REVIEW`, `DECLINED`, or `NONE`). Messages cannot be sent until the display name is approved by Meta. - `messagingLimitTier`: Maximum unique business-initiated conversations per 24h rolling window (`TIER_250`, `TIER_1K`, `TIER_10K`, `TIER_100K`, or `TIER_UNLIMITED`). Scales automatically as quality rating improves. - `verifiedName`: Meta-verified business display name - `displayPhoneNumber`: Formatted phone number (e.g., \"+1 555-123-4567\") - `wabaId`: WhatsApp Business Account ID - `phoneNumberId`: Meta phone number ID | [optional] |
|
|
16
17
|
| **profile_picture** | **String** | | [optional] |
|
|
17
18
|
| **current_followers** | **Float** | Current follower count | [optional] |
|
|
18
19
|
| **last_updated** | **Time** | | [optional] |
|
|
@@ -36,6 +37,7 @@ instance = Late::AccountWithFollowerStats.new(
|
|
|
36
37
|
is_active: null,
|
|
37
38
|
followers_count: null,
|
|
38
39
|
followers_last_updated: null,
|
|
40
|
+
metadata: null,
|
|
39
41
|
profile_picture: null,
|
|
40
42
|
current_followers: null,
|
|
41
43
|
last_updated: null,
|
|
@@ -9,9 +9,7 @@
|
|
|
9
9
|
| **username** | **String** | Display phone number | [optional] |
|
|
10
10
|
| **display_name** | **String** | Meta-verified business name | [optional] |
|
|
11
11
|
| **is_active** | **Boolean** | | [optional] |
|
|
12
|
-
| **
|
|
13
|
-
| **verified_name** | **String** | | [optional] |
|
|
14
|
-
| **quality_rating** | **String** | GREEN, YELLOW, or RED | [optional] |
|
|
12
|
+
| **selected_phone_number** | **String** | The connected phone number | [optional] |
|
|
15
13
|
|
|
16
14
|
## Example
|
|
17
15
|
|
|
@@ -24,9 +22,7 @@ instance = Late::ConnectWhatsAppCredentials200ResponseAccount.new(
|
|
|
24
22
|
username: null,
|
|
25
23
|
display_name: null,
|
|
26
24
|
is_active: null,
|
|
27
|
-
|
|
28
|
-
verified_name: null,
|
|
29
|
-
quality_rating: null
|
|
25
|
+
selected_phone_number: null
|
|
30
26
|
)
|
|
31
27
|
```
|
|
32
28
|
|
data/docs/SocialAccount.md
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
| **is_active** | **Boolean** | | [optional] |
|
|
14
14
|
| **followers_count** | **Float** | Follower count (only included if user has analytics add-on) | [optional] |
|
|
15
15
|
| **followers_last_updated** | **Time** | Last time follower count was updated (only included if user has analytics add-on) | [optional] |
|
|
16
|
+
| **metadata** | **Object** | Platform-specific metadata. Fields vary by platform. For WhatsApp accounts, includes: - `qualityRating`: Phone number quality rating from Meta (`GREEN`, `YELLOW`, `RED`, or `UNKNOWN`) - `nameStatus`: Display name review status (`APPROVED`, `PENDING_REVIEW`, `DECLINED`, or `NONE`). Messages cannot be sent until the display name is approved by Meta. - `messagingLimitTier`: Maximum unique business-initiated conversations per 24h rolling window (`TIER_250`, `TIER_1K`, `TIER_10K`, `TIER_100K`, or `TIER_UNLIMITED`). Scales automatically as quality rating improves. - `verifiedName`: Meta-verified business display name - `displayPhoneNumber`: Formatted phone number (e.g., \"+1 555-123-4567\") - `wabaId`: WhatsApp Business Account ID - `phoneNumberId`: Meta phone number ID | [optional] |
|
|
16
17
|
|
|
17
18
|
## Example
|
|
18
19
|
|
|
@@ -28,7 +29,8 @@ instance = Late::SocialAccount.new(
|
|
|
28
29
|
profile_url: null,
|
|
29
30
|
is_active: null,
|
|
30
31
|
followers_count: null,
|
|
31
|
-
followers_last_updated: null
|
|
32
|
+
followers_last_updated: null,
|
|
33
|
+
metadata: null
|
|
32
34
|
)
|
|
33
35
|
```
|
|
34
36
|
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
| **category_id** | **String** | YouTube video category ID | [optional] |
|
|
14
14
|
| **privacy_status** | **String** | Video privacy setting | [optional] |
|
|
15
15
|
| **thumbnail_url** | **String** | Public URL of a custom thumbnail image (JPEG, PNG, or GIF, max 2 MB, recommended 1280x720). Works on any video you own, including existing videos not published through Zernio. The channel must be verified (phone verification) to set custom thumbnails. | [optional] |
|
|
16
|
+
| **made_for_kids** | **Boolean** | COPPA compliance flag. Set true for child-directed content (restricts comments, notifications, ad targeting). | [optional] |
|
|
17
|
+
| **contains_synthetic_media** | **Boolean** | AI-generated content disclosure. Set true if the video contains synthetic content that could be mistaken for real. YouTube may add a label. | [optional] |
|
|
18
|
+
| **playlist_id** | **String** | YouTube playlist ID to add the video to (e.g. 'PLxxxxxxxxxxxxx'). Use GET /v1/accounts/{id}/youtube-playlists to list available playlists. Only playlists owned by the channel are supported. | [optional] |
|
|
16
19
|
|
|
17
20
|
## Example
|
|
18
21
|
|
|
@@ -28,7 +31,10 @@ instance = Late::UpdatePostMetadataRequest.new(
|
|
|
28
31
|
tags: null,
|
|
29
32
|
category_id: null,
|
|
30
33
|
privacy_status: null,
|
|
31
|
-
thumbnail_url: null
|
|
34
|
+
thumbnail_url: null,
|
|
35
|
+
made_for_kids: null,
|
|
36
|
+
contains_synthetic_media: null,
|
|
37
|
+
playlist_id: null
|
|
32
38
|
)
|
|
33
39
|
```
|
|
34
40
|
|
|
@@ -36,6 +36,9 @@ module Late
|
|
|
36
36
|
# Last time follower count was updated (only included if user has analytics add-on)
|
|
37
37
|
attr_accessor :followers_last_updated
|
|
38
38
|
|
|
39
|
+
# Platform-specific metadata. Fields vary by platform. For WhatsApp accounts, includes: - `qualityRating`: Phone number quality rating from Meta (`GREEN`, `YELLOW`, `RED`, or `UNKNOWN`) - `nameStatus`: Display name review status (`APPROVED`, `PENDING_REVIEW`, `DECLINED`, or `NONE`). Messages cannot be sent until the display name is approved by Meta. - `messagingLimitTier`: Maximum unique business-initiated conversations per 24h rolling window (`TIER_250`, `TIER_1K`, `TIER_10K`, `TIER_100K`, or `TIER_UNLIMITED`). Scales automatically as quality rating improves. - `verifiedName`: Meta-verified business display name - `displayPhoneNumber`: Formatted phone number (e.g., \"+1 555-123-4567\") - `wabaId`: WhatsApp Business Account ID - `phoneNumberId`: Meta phone number ID
|
|
40
|
+
attr_accessor :metadata
|
|
41
|
+
|
|
39
42
|
attr_accessor :profile_picture
|
|
40
43
|
|
|
41
44
|
# Current follower count
|
|
@@ -66,6 +69,7 @@ module Late
|
|
|
66
69
|
:'is_active' => :'isActive',
|
|
67
70
|
:'followers_count' => :'followersCount',
|
|
68
71
|
:'followers_last_updated' => :'followersLastUpdated',
|
|
72
|
+
:'metadata' => :'metadata',
|
|
69
73
|
:'profile_picture' => :'profilePicture',
|
|
70
74
|
:'current_followers' => :'currentFollowers',
|
|
71
75
|
:'last_updated' => :'lastUpdated',
|
|
@@ -98,6 +102,7 @@ module Late
|
|
|
98
102
|
:'is_active' => :'Boolean',
|
|
99
103
|
:'followers_count' => :'Float',
|
|
100
104
|
:'followers_last_updated' => :'Time',
|
|
105
|
+
:'metadata' => :'Object',
|
|
101
106
|
:'profile_picture' => :'String',
|
|
102
107
|
:'current_followers' => :'Float',
|
|
103
108
|
:'last_updated' => :'Time',
|
|
@@ -173,6 +178,10 @@ module Late
|
|
|
173
178
|
self.followers_last_updated = attributes[:'followers_last_updated']
|
|
174
179
|
end
|
|
175
180
|
|
|
181
|
+
if attributes.key?(:'metadata')
|
|
182
|
+
self.metadata = attributes[:'metadata']
|
|
183
|
+
end
|
|
184
|
+
|
|
176
185
|
if attributes.key?(:'profile_picture')
|
|
177
186
|
self.profile_picture = attributes[:'profile_picture']
|
|
178
187
|
end
|
|
@@ -231,6 +240,7 @@ module Late
|
|
|
231
240
|
is_active == o.is_active &&
|
|
232
241
|
followers_count == o.followers_count &&
|
|
233
242
|
followers_last_updated == o.followers_last_updated &&
|
|
243
|
+
metadata == o.metadata &&
|
|
234
244
|
profile_picture == o.profile_picture &&
|
|
235
245
|
current_followers == o.current_followers &&
|
|
236
246
|
last_updated == o.last_updated &&
|
|
@@ -249,7 +259,7 @@ module Late
|
|
|
249
259
|
# Calculates hash code according to all attributes.
|
|
250
260
|
# @return [Integer] Hash code
|
|
251
261
|
def hash
|
|
252
|
-
[_id, platform, profile_id, username, display_name, profile_url, is_active, followers_count, followers_last_updated, profile_picture, current_followers, last_updated, growth, growth_percentage, data_points, account_stats].hash
|
|
262
|
+
[_id, platform, profile_id, username, display_name, profile_url, is_active, followers_count, followers_last_updated, metadata, profile_picture, current_followers, last_updated, growth, growth_percentage, data_points, account_stats].hash
|
|
253
263
|
end
|
|
254
264
|
|
|
255
265
|
# Builds the object from hash
|
|
@@ -27,12 +27,8 @@ module Late
|
|
|
27
27
|
|
|
28
28
|
attr_accessor :is_active
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
attr_accessor :verified_name
|
|
33
|
-
|
|
34
|
-
# GREEN, YELLOW, or RED
|
|
35
|
-
attr_accessor :quality_rating
|
|
30
|
+
# The connected phone number
|
|
31
|
+
attr_accessor :selected_phone_number
|
|
36
32
|
|
|
37
33
|
class EnumAttributeValidator
|
|
38
34
|
attr_reader :datatype
|
|
@@ -64,9 +60,7 @@ module Late
|
|
|
64
60
|
:'username' => :'username',
|
|
65
61
|
:'display_name' => :'displayName',
|
|
66
62
|
:'is_active' => :'isActive',
|
|
67
|
-
:'
|
|
68
|
-
:'verified_name' => :'verifiedName',
|
|
69
|
-
:'quality_rating' => :'qualityRating'
|
|
63
|
+
:'selected_phone_number' => :'selectedPhoneNumber'
|
|
70
64
|
}
|
|
71
65
|
end
|
|
72
66
|
|
|
@@ -88,9 +82,7 @@ module Late
|
|
|
88
82
|
:'username' => :'String',
|
|
89
83
|
:'display_name' => :'String',
|
|
90
84
|
:'is_active' => :'Boolean',
|
|
91
|
-
:'
|
|
92
|
-
:'verified_name' => :'String',
|
|
93
|
-
:'quality_rating' => :'String'
|
|
85
|
+
:'selected_phone_number' => :'String'
|
|
94
86
|
}
|
|
95
87
|
end
|
|
96
88
|
|
|
@@ -136,16 +128,8 @@ module Late
|
|
|
136
128
|
self.is_active = attributes[:'is_active']
|
|
137
129
|
end
|
|
138
130
|
|
|
139
|
-
if attributes.key?(:'
|
|
140
|
-
self.
|
|
141
|
-
end
|
|
142
|
-
|
|
143
|
-
if attributes.key?(:'verified_name')
|
|
144
|
-
self.verified_name = attributes[:'verified_name']
|
|
145
|
-
end
|
|
146
|
-
|
|
147
|
-
if attributes.key?(:'quality_rating')
|
|
148
|
-
self.quality_rating = attributes[:'quality_rating']
|
|
131
|
+
if attributes.key?(:'selected_phone_number')
|
|
132
|
+
self.selected_phone_number = attributes[:'selected_phone_number']
|
|
149
133
|
end
|
|
150
134
|
end
|
|
151
135
|
|
|
@@ -186,9 +170,7 @@ module Late
|
|
|
186
170
|
username == o.username &&
|
|
187
171
|
display_name == o.display_name &&
|
|
188
172
|
is_active == o.is_active &&
|
|
189
|
-
|
|
190
|
-
verified_name == o.verified_name &&
|
|
191
|
-
quality_rating == o.quality_rating
|
|
173
|
+
selected_phone_number == o.selected_phone_number
|
|
192
174
|
end
|
|
193
175
|
|
|
194
176
|
# @see the `==` method
|
|
@@ -200,7 +182,7 @@ module Late
|
|
|
200
182
|
# Calculates hash code according to all attributes.
|
|
201
183
|
# @return [Integer] Hash code
|
|
202
184
|
def hash
|
|
203
|
-
[account_id, platform, username, display_name, is_active,
|
|
185
|
+
[account_id, platform, username, display_name, is_active, selected_phone_number].hash
|
|
204
186
|
end
|
|
205
187
|
|
|
206
188
|
# Builds the object from hash
|
|
@@ -36,6 +36,9 @@ module Late
|
|
|
36
36
|
# Last time follower count was updated (only included if user has analytics add-on)
|
|
37
37
|
attr_accessor :followers_last_updated
|
|
38
38
|
|
|
39
|
+
# Platform-specific metadata. Fields vary by platform. For WhatsApp accounts, includes: - `qualityRating`: Phone number quality rating from Meta (`GREEN`, `YELLOW`, `RED`, or `UNKNOWN`) - `nameStatus`: Display name review status (`APPROVED`, `PENDING_REVIEW`, `DECLINED`, or `NONE`). Messages cannot be sent until the display name is approved by Meta. - `messagingLimitTier`: Maximum unique business-initiated conversations per 24h rolling window (`TIER_250`, `TIER_1K`, `TIER_10K`, `TIER_100K`, or `TIER_UNLIMITED`). Scales automatically as quality rating improves. - `verifiedName`: Meta-verified business display name - `displayPhoneNumber`: Formatted phone number (e.g., \"+1 555-123-4567\") - `wabaId`: WhatsApp Business Account ID - `phoneNumberId`: Meta phone number ID
|
|
40
|
+
attr_accessor :metadata
|
|
41
|
+
|
|
39
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
40
43
|
def self.attribute_map
|
|
41
44
|
{
|
|
@@ -47,7 +50,8 @@ module Late
|
|
|
47
50
|
:'profile_url' => :'profileUrl',
|
|
48
51
|
:'is_active' => :'isActive',
|
|
49
52
|
:'followers_count' => :'followersCount',
|
|
50
|
-
:'followers_last_updated' => :'followersLastUpdated'
|
|
53
|
+
:'followers_last_updated' => :'followersLastUpdated',
|
|
54
|
+
:'metadata' => :'metadata'
|
|
51
55
|
}
|
|
52
56
|
end
|
|
53
57
|
|
|
@@ -72,7 +76,8 @@ module Late
|
|
|
72
76
|
:'profile_url' => :'String',
|
|
73
77
|
:'is_active' => :'Boolean',
|
|
74
78
|
:'followers_count' => :'Float',
|
|
75
|
-
:'followers_last_updated' => :'Time'
|
|
79
|
+
:'followers_last_updated' => :'Time',
|
|
80
|
+
:'metadata' => :'Object'
|
|
76
81
|
}
|
|
77
82
|
end
|
|
78
83
|
|
|
@@ -133,6 +138,10 @@ module Late
|
|
|
133
138
|
if attributes.key?(:'followers_last_updated')
|
|
134
139
|
self.followers_last_updated = attributes[:'followers_last_updated']
|
|
135
140
|
end
|
|
141
|
+
|
|
142
|
+
if attributes.key?(:'metadata')
|
|
143
|
+
self.metadata = attributes[:'metadata']
|
|
144
|
+
end
|
|
136
145
|
end
|
|
137
146
|
|
|
138
147
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -163,7 +172,8 @@ module Late
|
|
|
163
172
|
profile_url == o.profile_url &&
|
|
164
173
|
is_active == o.is_active &&
|
|
165
174
|
followers_count == o.followers_count &&
|
|
166
|
-
followers_last_updated == o.followers_last_updated
|
|
175
|
+
followers_last_updated == o.followers_last_updated &&
|
|
176
|
+
metadata == o.metadata
|
|
167
177
|
end
|
|
168
178
|
|
|
169
179
|
# @see the `==` method
|
|
@@ -175,7 +185,7 @@ module Late
|
|
|
175
185
|
# Calculates hash code according to all attributes.
|
|
176
186
|
# @return [Integer] Hash code
|
|
177
187
|
def hash
|
|
178
|
-
[_id, platform, profile_id, username, display_name, profile_url, is_active, followers_count, followers_last_updated].hash
|
|
188
|
+
[_id, platform, profile_id, username, display_name, profile_url, is_active, followers_count, followers_last_updated, metadata].hash
|
|
179
189
|
end
|
|
180
190
|
|
|
181
191
|
# Builds the object from hash
|
|
@@ -42,6 +42,15 @@ module Late
|
|
|
42
42
|
# Public URL of a custom thumbnail image (JPEG, PNG, or GIF, max 2 MB, recommended 1280x720). Works on any video you own, including existing videos not published through Zernio. The channel must be verified (phone verification) to set custom thumbnails.
|
|
43
43
|
attr_accessor :thumbnail_url
|
|
44
44
|
|
|
45
|
+
# COPPA compliance flag. Set true for child-directed content (restricts comments, notifications, ad targeting).
|
|
46
|
+
attr_accessor :made_for_kids
|
|
47
|
+
|
|
48
|
+
# AI-generated content disclosure. Set true if the video contains synthetic content that could be mistaken for real. YouTube may add a label.
|
|
49
|
+
attr_accessor :contains_synthetic_media
|
|
50
|
+
|
|
51
|
+
# YouTube playlist ID to add the video to (e.g. 'PLxxxxxxxxxxxxx'). Use GET /v1/accounts/{id}/youtube-playlists to list available playlists. Only playlists owned by the channel are supported.
|
|
52
|
+
attr_accessor :playlist_id
|
|
53
|
+
|
|
45
54
|
class EnumAttributeValidator
|
|
46
55
|
attr_reader :datatype
|
|
47
56
|
attr_reader :allowable_values
|
|
@@ -75,7 +84,10 @@ module Late
|
|
|
75
84
|
:'tags' => :'tags',
|
|
76
85
|
:'category_id' => :'categoryId',
|
|
77
86
|
:'privacy_status' => :'privacyStatus',
|
|
78
|
-
:'thumbnail_url' => :'thumbnailUrl'
|
|
87
|
+
:'thumbnail_url' => :'thumbnailUrl',
|
|
88
|
+
:'made_for_kids' => :'madeForKids',
|
|
89
|
+
:'contains_synthetic_media' => :'containsSyntheticMedia',
|
|
90
|
+
:'playlist_id' => :'playlistId'
|
|
79
91
|
}
|
|
80
92
|
end
|
|
81
93
|
|
|
@@ -100,7 +112,10 @@ module Late
|
|
|
100
112
|
:'tags' => :'Array<String>',
|
|
101
113
|
:'category_id' => :'String',
|
|
102
114
|
:'privacy_status' => :'String',
|
|
103
|
-
:'thumbnail_url' => :'String'
|
|
115
|
+
:'thumbnail_url' => :'String',
|
|
116
|
+
:'made_for_kids' => :'Boolean',
|
|
117
|
+
:'contains_synthetic_media' => :'Boolean',
|
|
118
|
+
:'playlist_id' => :'String'
|
|
104
119
|
}
|
|
105
120
|
end
|
|
106
121
|
|
|
@@ -165,6 +180,18 @@ module Late
|
|
|
165
180
|
if attributes.key?(:'thumbnail_url')
|
|
166
181
|
self.thumbnail_url = attributes[:'thumbnail_url']
|
|
167
182
|
end
|
|
183
|
+
|
|
184
|
+
if attributes.key?(:'made_for_kids')
|
|
185
|
+
self.made_for_kids = attributes[:'made_for_kids']
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
if attributes.key?(:'contains_synthetic_media')
|
|
189
|
+
self.contains_synthetic_media = attributes[:'contains_synthetic_media']
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
if attributes.key?(:'playlist_id')
|
|
193
|
+
self.playlist_id = attributes[:'playlist_id']
|
|
194
|
+
end
|
|
168
195
|
end
|
|
169
196
|
|
|
170
197
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -243,7 +270,10 @@ module Late
|
|
|
243
270
|
tags == o.tags &&
|
|
244
271
|
category_id == o.category_id &&
|
|
245
272
|
privacy_status == o.privacy_status &&
|
|
246
|
-
thumbnail_url == o.thumbnail_url
|
|
273
|
+
thumbnail_url == o.thumbnail_url &&
|
|
274
|
+
made_for_kids == o.made_for_kids &&
|
|
275
|
+
contains_synthetic_media == o.contains_synthetic_media &&
|
|
276
|
+
playlist_id == o.playlist_id
|
|
247
277
|
end
|
|
248
278
|
|
|
249
279
|
# @see the `==` method
|
|
@@ -255,7 +285,7 @@ module Late
|
|
|
255
285
|
# Calculates hash code according to all attributes.
|
|
256
286
|
# @return [Integer] Hash code
|
|
257
287
|
def hash
|
|
258
|
-
[platform, video_id, account_id, title, description, tags, category_id, privacy_status, thumbnail_url].hash
|
|
288
|
+
[platform, video_id, account_id, title, description, tags, category_id, privacy_status, thumbnail_url, made_for_kids, contains_synthetic_media, playlist_id].hash
|
|
259
289
|
end
|
|
260
290
|
|
|
261
291
|
# Builds the object from hash
|
data/lib/late-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -2005,6 +2005,17 @@ components:
|
|
|
2005
2005
|
type: string
|
|
2006
2006
|
format: date-time
|
|
2007
2007
|
description: Last time follower count was updated (only included if user has analytics add-on)
|
|
2008
|
+
metadata:
|
|
2009
|
+
type: object
|
|
2010
|
+
description: |
|
|
2011
|
+
Platform-specific metadata. Fields vary by platform. For WhatsApp accounts, includes:
|
|
2012
|
+
- `qualityRating`: Phone number quality rating from Meta (`GREEN`, `YELLOW`, `RED`, or `UNKNOWN`)
|
|
2013
|
+
- `nameStatus`: Display name review status (`APPROVED`, `PENDING_REVIEW`, `DECLINED`, or `NONE`). Messages cannot be sent until the display name is approved by Meta.
|
|
2014
|
+
- `messagingLimitTier`: Maximum unique business-initiated conversations per 24h rolling window (`TIER_250`, `TIER_1K`, `TIER_10K`, `TIER_100K`, or `TIER_UNLIMITED`). Scales automatically as quality rating improves.
|
|
2015
|
+
- `verifiedName`: Meta-verified business display name
|
|
2016
|
+
- `displayPhoneNumber`: Formatted phone number (e.g., "+1 555-123-4567")
|
|
2017
|
+
- `wabaId`: WhatsApp Business Account ID
|
|
2018
|
+
- `phoneNumberId`: Meta phone number ID
|
|
2008
2019
|
AccountWithFollowerStats:
|
|
2009
2020
|
allOf:
|
|
2010
2021
|
- $ref: '#/components/schemas/SocialAccount'
|
|
@@ -5781,6 +5792,15 @@ paths:
|
|
|
5781
5792
|
type: string
|
|
5782
5793
|
format: uri
|
|
5783
5794
|
description: "Public URL of a custom thumbnail image (JPEG, PNG, or GIF, max 2 MB, recommended 1280x720). Works on any video you own, including existing videos not published through Zernio. The channel must be verified (phone verification) to set custom thumbnails."
|
|
5795
|
+
madeForKids:
|
|
5796
|
+
type: boolean
|
|
5797
|
+
description: "COPPA compliance flag. Set true for child-directed content (restricts comments, notifications, ad targeting)."
|
|
5798
|
+
containsSyntheticMedia:
|
|
5799
|
+
type: boolean
|
|
5800
|
+
description: "AI-generated content disclosure. Set true if the video contains synthetic content that could be mistaken for real. YouTube may add a label."
|
|
5801
|
+
playlistId:
|
|
5802
|
+
type: string
|
|
5803
|
+
description: "YouTube playlist ID to add the video to (e.g. 'PLxxxxxxxxxxxxx'). Use GET /v1/accounts/{id}/youtube-playlists to list available playlists. Only playlists owned by the channel are supported."
|
|
5784
5804
|
examples:
|
|
5785
5805
|
post-based:
|
|
5786
5806
|
summary: Update a video published through Zernio
|
|
@@ -9002,9 +9022,7 @@ paths:
|
|
|
9002
9022
|
username: { type: string, description: Display phone number }
|
|
9003
9023
|
displayName: { type: string, description: Meta-verified business name }
|
|
9004
9024
|
isActive: { type: boolean }
|
|
9005
|
-
|
|
9006
|
-
verifiedName: { type: string }
|
|
9007
|
-
qualityRating: { type: string, description: "GREEN, YELLOW, or RED" }
|
|
9025
|
+
selectedPhoneNumber: { type: string, description: The connected phone number }
|
|
9008
9026
|
example:
|
|
9009
9027
|
message: "WhatsApp connected successfully"
|
|
9010
9028
|
account:
|
|
@@ -9013,9 +9031,7 @@ paths:
|
|
|
9013
9031
|
username: "+1 555-123-4567"
|
|
9014
9032
|
displayName: "Acme Corp"
|
|
9015
9033
|
isActive: true
|
|
9016
|
-
|
|
9017
|
-
verifiedName: "Acme Corp"
|
|
9018
|
-
qualityRating: "GREEN"
|
|
9034
|
+
selectedPhoneNumber: "+1 555-123-4567"
|
|
9019
9035
|
'400':
|
|
9020
9036
|
description: |
|
|
9021
9037
|
Invalid request. Either missing fields or the phoneNumberId was not found
|
|
@@ -81,6 +81,12 @@ describe Late::AccountWithFollowerStats do
|
|
|
81
81
|
end
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
+
describe 'test attribute "metadata"' do
|
|
85
|
+
it 'should work' do
|
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
|
|
84
90
|
describe 'test attribute "profile_picture"' do
|
|
85
91
|
it 'should work' do
|
|
86
92
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -61,19 +61,7 @@ describe Late::ConnectWhatsAppCredentials200ResponseAccount do
|
|
|
61
61
|
end
|
|
62
62
|
end
|
|
63
63
|
|
|
64
|
-
describe 'test attribute "
|
|
65
|
-
it 'should work' do
|
|
66
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
67
|
-
end
|
|
68
|
-
end
|
|
69
|
-
|
|
70
|
-
describe 'test attribute "verified_name"' do
|
|
71
|
-
it 'should work' do
|
|
72
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
73
|
-
end
|
|
74
|
-
end
|
|
75
|
-
|
|
76
|
-
describe 'test attribute "quality_rating"' do
|
|
64
|
+
describe 'test attribute "selected_phone_number"' do
|
|
77
65
|
it 'should work' do
|
|
78
66
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
79
67
|
end
|
|
@@ -89,4 +89,22 @@ describe Late::UpdatePostMetadataRequest do
|
|
|
89
89
|
end
|
|
90
90
|
end
|
|
91
91
|
|
|
92
|
+
describe 'test attribute "made_for_kids"' do
|
|
93
|
+
it 'should work' do
|
|
94
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
describe 'test attribute "contains_synthetic_media"' do
|
|
99
|
+
it 'should work' do
|
|
100
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
describe 'test attribute "playlist_id"' do
|
|
105
|
+
it 'should work' do
|
|
106
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
107
|
+
end
|
|
108
|
+
end
|
|
109
|
+
|
|
92
110
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zernio-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.98
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-04-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|