late-sdk 0.0.96 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2717864079f8ab4dad84f4a81988f8b2d9b518d34e6069c52b0c4ce2e71e4de3
4
- data.tar.gz: df29f816d2bf25dc10531ea3b794b12257bdd9cc5c60c6d1acd996504c99962b
3
+ metadata.gz: 39c846eef788dd434b0192d23ae87b3978ad601cc264d341822ceee16137ec5d
4
+ data.tar.gz: 52c55c9b957696fca2ba4e5247abace7311cb9dbdc2d84beab03ff4b51773149
5
5
  SHA512:
6
- metadata.gz: 6f21dbc4619729a471e7a6bb217928e41554b0bc2b9c5254b1914db464bf9e06f329667208c240a7590380d0b6a481ca21ce1dfc48bd34a9978c951098d06473
7
- data.tar.gz: 99f279fb6ff56242de7139b3fd8527d366503cc2fa62d7abebdce8e7aee01e8ee37bd971cbba20e57b6d96d6534d4bbc539255b8fd1530ebba6c201cfcdf0f74
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
- | **phone_number** | **String** | | [optional] |
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
- phone_number: null,
28
- verified_name: null,
29
- quality_rating: null
25
+ selected_phone_number: null
30
26
  )
31
27
  ```
32
28
 
@@ -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
 
@@ -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
- attr_accessor :phone_number
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
- :'phone_number' => :'phoneNumber',
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
- :'phone_number' => :'String',
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?(:'phone_number')
140
- self.phone_number = attributes[:'phone_number']
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
- phone_number == o.phone_number &&
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, phone_number, verified_name, quality_rating].hash
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
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Late
14
- VERSION = '0.0.96'
14
+ VERSION = '0.0.97'
15
15
  end
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'
@@ -9002,9 +9013,7 @@ paths:
9002
9013
  username: { type: string, description: Display phone number }
9003
9014
  displayName: { type: string, description: Meta-verified business name }
9004
9015
  isActive: { type: boolean }
9005
- phoneNumber: { type: string }
9006
- verifiedName: { type: string }
9007
- qualityRating: { type: string, description: "GREEN, YELLOW, or RED" }
9016
+ selectedPhoneNumber: { type: string, description: The connected phone number }
9008
9017
  example:
9009
9018
  message: "WhatsApp connected successfully"
9010
9019
  account:
@@ -9013,9 +9022,7 @@ paths:
9013
9022
  username: "+1 555-123-4567"
9014
9023
  displayName: "Acme Corp"
9015
9024
  isActive: true
9016
- phoneNumber: "+1 555-123-4567"
9017
- verifiedName: "Acme Corp"
9018
- qualityRating: "GREEN"
9025
+ selectedPhoneNumber: "+1 555-123-4567"
9019
9026
  '400':
9020
9027
  description: |
9021
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 "phone_number"' do
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
@@ -81,4 +81,10 @@ describe Late::SocialAccount 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
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: late-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.96
4
+ version: 0.0.97
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -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.96.gem
2250
+ - zernio-sdk-0.0.97.gem
2251
2251
  homepage: https://openapi-generator.tech
2252
2252
  licenses:
2253
2253
  - Unlicense
Binary file