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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5f21e007ea6defb8f1a50468897f79a01f466c9b5ceda5316c5ae8c15356552
4
- data.tar.gz: a6e303152b62fa4c198e240a8c4ebfc40dedc35adffe4d64371677538228cf89
3
+ metadata.gz: 5fd4da8efd37ba68ed9e0ec96be7ec946b30aac36a47d37f55f3885f5ffe4a45
4
+ data.tar.gz: '062853e3517e94ae39fb03a1dc8a2783fa8c1adaac018e6f1e4ce7bb1cf180e6'
5
5
  SHA512:
6
- metadata.gz: 29d745468ae60e990ef0240a124dcf190d014891e0e52baf862fa8f3bb76517029f805ffd2c71b18adcfd906f782a2848e3bf11d129dd950000f3694a440094f
7
- data.tar.gz: '092d8579e259120241cfc29d0cf63bb2f756a55a2fadb380bb08e0687ac3805e45c45b872ed2597c0616c89e20570aa70740451f7848e89b9965b61c3ff535eb'
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) | | [optional] |
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)
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Late
14
- VERSION = '0.0.125'
14
+ VERSION = '0.0.126'
15
15
  end
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 tempToken)"
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.125
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-10 00:00:00.000000000 Z
11
+ date: 2026-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus