late-sdk 0.0.95 → 0.0.97
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 +3 -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 +14 -4
- data/lib/late-sdk/version.rb +1 -1
- data/openapi.yaml +24 -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 +6 -0
- data/zernio-sdk-0.0.97.gem +0 -0
- metadata +3 -3
- data/zernio-sdk-0.0.95.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 39c846eef788dd434b0192d23ae87b3978ad601cc264d341822ceee16137ec5d
|
|
4
|
+
data.tar.gz: 52c55c9b957696fca2ba4e5247abace7311cb9dbdc2d84beab03ff4b51773149
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eba450490aac8d8c7c848675b7942dfd9f21aa286d749386c313daa30b05ba34c8655e4bb6ee50124b4c8a9c7da6112071871b6a175b2ae695842ed3b57a0c7b
|
|
7
|
+
data.tar.gz: 2447ed89f9ff7f6056662d31e128f821b37ea059f299a232ebf97d0e97b5e2cfdbb7f3e9c576e9eb15f2daf7492a4f2fe2d63af7bd0da9f7470edc43c9cd7a73
|
|
@@ -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
|
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
| **tags** | **Array<String>** | Array of keyword tags (max 500 characters combined for YouTube) | [optional] |
|
|
13
13
|
| **category_id** | **String** | YouTube video category ID | [optional] |
|
|
14
14
|
| **privacy_status** | **String** | Video privacy setting | [optional] |
|
|
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] |
|
|
15
16
|
|
|
16
17
|
## Example
|
|
17
18
|
|
|
@@ -26,7 +27,8 @@ instance = Late::UpdatePostMetadataRequest.new(
|
|
|
26
27
|
description: null,
|
|
27
28
|
tags: null,
|
|
28
29
|
category_id: null,
|
|
29
|
-
privacy_status: null
|
|
30
|
+
privacy_status: null,
|
|
31
|
+
thumbnail_url: null
|
|
30
32
|
)
|
|
31
33
|
```
|
|
32
34
|
|
|
@@ -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
|
|
@@ -39,6 +39,9 @@ module Late
|
|
|
39
39
|
# Video privacy setting
|
|
40
40
|
attr_accessor :privacy_status
|
|
41
41
|
|
|
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
|
+
attr_accessor :thumbnail_url
|
|
44
|
+
|
|
42
45
|
class EnumAttributeValidator
|
|
43
46
|
attr_reader :datatype
|
|
44
47
|
attr_reader :allowable_values
|
|
@@ -71,7 +74,8 @@ module Late
|
|
|
71
74
|
:'description' => :'description',
|
|
72
75
|
:'tags' => :'tags',
|
|
73
76
|
:'category_id' => :'categoryId',
|
|
74
|
-
:'privacy_status' => :'privacyStatus'
|
|
77
|
+
:'privacy_status' => :'privacyStatus',
|
|
78
|
+
:'thumbnail_url' => :'thumbnailUrl'
|
|
75
79
|
}
|
|
76
80
|
end
|
|
77
81
|
|
|
@@ -95,7 +99,8 @@ module Late
|
|
|
95
99
|
:'description' => :'String',
|
|
96
100
|
:'tags' => :'Array<String>',
|
|
97
101
|
:'category_id' => :'String',
|
|
98
|
-
:'privacy_status' => :'String'
|
|
102
|
+
:'privacy_status' => :'String',
|
|
103
|
+
:'thumbnail_url' => :'String'
|
|
99
104
|
}
|
|
100
105
|
end
|
|
101
106
|
|
|
@@ -156,6 +161,10 @@ module Late
|
|
|
156
161
|
if attributes.key?(:'privacy_status')
|
|
157
162
|
self.privacy_status = attributes[:'privacy_status']
|
|
158
163
|
end
|
|
164
|
+
|
|
165
|
+
if attributes.key?(:'thumbnail_url')
|
|
166
|
+
self.thumbnail_url = attributes[:'thumbnail_url']
|
|
167
|
+
end
|
|
159
168
|
end
|
|
160
169
|
|
|
161
170
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -233,7 +242,8 @@ module Late
|
|
|
233
242
|
description == o.description &&
|
|
234
243
|
tags == o.tags &&
|
|
235
244
|
category_id == o.category_id &&
|
|
236
|
-
privacy_status == o.privacy_status
|
|
245
|
+
privacy_status == o.privacy_status &&
|
|
246
|
+
thumbnail_url == o.thumbnail_url
|
|
237
247
|
end
|
|
238
248
|
|
|
239
249
|
# @see the `==` method
|
|
@@ -245,7 +255,7 @@ module Late
|
|
|
245
255
|
# Calculates hash code according to all attributes.
|
|
246
256
|
# @return [Integer] Hash code
|
|
247
257
|
def hash
|
|
248
|
-
[platform, video_id, account_id, title, description, tags, category_id, privacy_status].hash
|
|
258
|
+
[platform, video_id, account_id, title, description, tags, category_id, privacy_status, thumbnail_url].hash
|
|
249
259
|
end
|
|
250
260
|
|
|
251
261
|
# 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'
|
|
@@ -5777,6 +5788,10 @@ paths:
|
|
|
5777
5788
|
type: string
|
|
5778
5789
|
enum: [public, private, unlisted]
|
|
5779
5790
|
description: Video privacy setting
|
|
5791
|
+
thumbnailUrl:
|
|
5792
|
+
type: string
|
|
5793
|
+
format: uri
|
|
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."
|
|
5780
5795
|
examples:
|
|
5781
5796
|
post-based:
|
|
5782
5797
|
summary: Update a video published through Zernio
|
|
@@ -5793,6 +5808,13 @@ paths:
|
|
|
5793
5808
|
accountId: "68fb37418bbca9c10cbfef26"
|
|
5794
5809
|
title: "Updated Title with SEO Keywords"
|
|
5795
5810
|
tags: ["seo", "youtube", "optimization"]
|
|
5811
|
+
update-thumbnail:
|
|
5812
|
+
summary: Update thumbnail on an existing video
|
|
5813
|
+
value:
|
|
5814
|
+
platform: "youtube"
|
|
5815
|
+
videoId: "dQw4w9WgXcQ"
|
|
5816
|
+
accountId: "68fb37418bbca9c10cbfef26"
|
|
5817
|
+
thumbnailUrl: "https://example.com/my-thumbnail.jpg"
|
|
5796
5818
|
responses:
|
|
5797
5819
|
'200':
|
|
5798
5820
|
description: Metadata updated successfully
|
|
@@ -8991,9 +9013,7 @@ paths:
|
|
|
8991
9013
|
username: { type: string, description: Display phone number }
|
|
8992
9014
|
displayName: { type: string, description: Meta-verified business name }
|
|
8993
9015
|
isActive: { type: boolean }
|
|
8994
|
-
|
|
8995
|
-
verifiedName: { type: string }
|
|
8996
|
-
qualityRating: { type: string, description: "GREEN, YELLOW, or RED" }
|
|
9016
|
+
selectedPhoneNumber: { type: string, description: The connected phone number }
|
|
8997
9017
|
example:
|
|
8998
9018
|
message: "WhatsApp connected successfully"
|
|
8999
9019
|
account:
|
|
@@ -9002,9 +9022,7 @@ paths:
|
|
|
9002
9022
|
username: "+1 555-123-4567"
|
|
9003
9023
|
displayName: "Acme Corp"
|
|
9004
9024
|
isActive: true
|
|
9005
|
-
|
|
9006
|
-
verifiedName: "Acme Corp"
|
|
9007
|
-
qualityRating: "GREEN"
|
|
9025
|
+
selectedPhoneNumber: "+1 555-123-4567"
|
|
9008
9026
|
'400':
|
|
9009
9027
|
description: |
|
|
9010
9028
|
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
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: late-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.97
|
|
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-03-
|
|
11
|
+
date: 2026-03-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -2247,7 +2247,7 @@ files:
|
|
|
2247
2247
|
- spec/models/you_tube_scope_missing_response_scope_status_spec.rb
|
|
2248
2248
|
- spec/models/you_tube_scope_missing_response_spec.rb
|
|
2249
2249
|
- spec/spec_helper.rb
|
|
2250
|
-
- zernio-sdk-0.0.
|
|
2250
|
+
- zernio-sdk-0.0.97.gem
|
|
2251
2251
|
homepage: https://openapi-generator.tech
|
|
2252
2252
|
licenses:
|
|
2253
2253
|
- Unlicense
|
data/zernio-sdk-0.0.95.gem
DELETED
|
Binary file
|