zernio-sdk 0.0.125 → 0.0.126
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/ConnectApi.md +1 -1
- data/docs/SelectFacebookPageRequest.md +1 -1
- data/lib/late-sdk/models/select_facebook_page_request.rb +17 -0
- data/lib/late-sdk/version.rb +1 -1
- data/openapi.yaml +2 -2
- 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: 5fd4da8efd37ba68ed9e0ec96be7ec946b30aac36a47d37f55f3885f5ffe4a45
|
|
4
|
+
data.tar.gz: '062853e3517e94ae39fb03a1dc8a2783fa8c1adaac018e6f1e4ce7bb1cf180e6'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f01faf7549cb69eb3abd2abd2453da485e9deea15d3449df12a8e3058ae655c23caf4472bd2be24808e0004b04cefd32b70105878bce69064af515e7d334ac6
|
|
7
|
+
data.tar.gz: 0ab03261f7f375142b2b751cdaf5a1fa39309fe0c768909b585fbfc87f8abeacb9e5aa9a032912595d5b5869f91b2be2686c105f25f76c375fbc0aaef5f94423
|
data/docs/ConnectApi.md
CHANGED
|
@@ -1561,7 +1561,7 @@ Late.configure do |config|
|
|
|
1561
1561
|
end
|
|
1562
1562
|
|
|
1563
1563
|
api_instance = Late::ConnectApi.new
|
|
1564
|
-
select_facebook_page_request = Late::SelectFacebookPageRequest.new({profile_id: 'profile_id_example', page_id: 'page_id_example', temp_token: 'temp_token_example'}) # SelectFacebookPageRequest |
|
|
1564
|
+
select_facebook_page_request = Late::SelectFacebookPageRequest.new({profile_id: 'profile_id_example', page_id: 'page_id_example', temp_token: 'temp_token_example', user_profile: Late::SelectFacebookPageRequestUserProfile.new}) # SelectFacebookPageRequest |
|
|
1565
1565
|
|
|
1566
1566
|
begin
|
|
1567
1567
|
# Select Facebook page
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
| **profile_id** | **String** | Profile ID from your connection flow | |
|
|
8
8
|
| **page_id** | **String** | The Facebook Page ID selected by the user | |
|
|
9
9
|
| **temp_token** | **String** | Temporary Facebook access token from OAuth | |
|
|
10
|
-
| **user_profile** | [**SelectFacebookPageRequestUserProfile**](SelectFacebookPageRequestUserProfile.md) | |
|
|
10
|
+
| **user_profile** | [**SelectFacebookPageRequestUserProfile**](SelectFacebookPageRequestUserProfile.md) | | |
|
|
11
11
|
| **redirect_url** | **String** | Optional custom redirect URL to return to after selection | [optional] |
|
|
12
12
|
|
|
13
13
|
## Example
|
|
@@ -103,6 +103,8 @@ module Late
|
|
|
103
103
|
|
|
104
104
|
if attributes.key?(:'user_profile')
|
|
105
105
|
self.user_profile = attributes[:'user_profile']
|
|
106
|
+
else
|
|
107
|
+
self.user_profile = nil
|
|
106
108
|
end
|
|
107
109
|
|
|
108
110
|
if attributes.key?(:'redirect_url')
|
|
@@ -127,6 +129,10 @@ module Late
|
|
|
127
129
|
invalid_properties.push('invalid value for "temp_token", temp_token cannot be nil.')
|
|
128
130
|
end
|
|
129
131
|
|
|
132
|
+
if @user_profile.nil?
|
|
133
|
+
invalid_properties.push('invalid value for "user_profile", user_profile cannot be nil.')
|
|
134
|
+
end
|
|
135
|
+
|
|
130
136
|
invalid_properties
|
|
131
137
|
end
|
|
132
138
|
|
|
@@ -137,6 +143,7 @@ module Late
|
|
|
137
143
|
return false if @profile_id.nil?
|
|
138
144
|
return false if @page_id.nil?
|
|
139
145
|
return false if @temp_token.nil?
|
|
146
|
+
return false if @user_profile.nil?
|
|
140
147
|
true
|
|
141
148
|
end
|
|
142
149
|
|
|
@@ -170,6 +177,16 @@ module Late
|
|
|
170
177
|
@temp_token = temp_token
|
|
171
178
|
end
|
|
172
179
|
|
|
180
|
+
# Custom attribute writer method with validation
|
|
181
|
+
# @param [Object] user_profile Value to be assigned
|
|
182
|
+
def user_profile=(user_profile)
|
|
183
|
+
if user_profile.nil?
|
|
184
|
+
fail ArgumentError, 'user_profile cannot be nil'
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
@user_profile = user_profile
|
|
188
|
+
end
|
|
189
|
+
|
|
173
190
|
# Checks equality by comparing each attribute.
|
|
174
191
|
# @param [Object] Object to be compared
|
|
175
192
|
def ==(o)
|
data/lib/late-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -7482,7 +7482,7 @@ paths:
|
|
|
7482
7482
|
application/json:
|
|
7483
7483
|
schema:
|
|
7484
7484
|
type: object
|
|
7485
|
-
required: [profileId, pageId, tempToken]
|
|
7485
|
+
required: [profileId, pageId, tempToken, userProfile]
|
|
7486
7486
|
properties:
|
|
7487
7487
|
profileId:
|
|
7488
7488
|
type: string
|
|
@@ -7552,7 +7552,7 @@ paths:
|
|
|
7552
7552
|
isActive: true
|
|
7553
7553
|
selectedPageName: "My Brand Page"
|
|
7554
7554
|
'400':
|
|
7555
|
-
description: "Missing required fields (profileId, pageId, or
|
|
7555
|
+
description: "Missing required fields (profileId, pageId, tempToken, or userProfile)"
|
|
7556
7556
|
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
7557
7557
|
'403':
|
|
7558
7558
|
description: User does not have access to the specified profile
|
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.126
|
|
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-04-
|
|
11
|
+
date: 2026-04-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|