late-sdk 0.0.81 → 0.0.83

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.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/docs/AnalyticsListResponsePostsInner.md +1 -1
  3. data/docs/AnalyticsSinglePostResponse.md +1 -1
  4. data/docs/ConnectWhatsAppCredentialsRequest.md +1 -1
  5. data/docs/CreatePostRequest.md +1 -1
  6. data/docs/GetInboxConversation200ResponseData.md +2 -0
  7. data/docs/GetInboxConversationMessages200ResponseMessagesInner.md +2 -0
  8. data/docs/GetInboxPostComments200ResponseCommentsInnerFrom.md +3 -1
  9. data/docs/LinkedInMentionsApi.md +1 -1
  10. data/docs/ListInboxConversations200ResponseDataInner.md +2 -0
  11. data/docs/Post.md +1 -1
  12. data/docs/WebhookPayloadMessageConversation.md +2 -0
  13. data/lib/late-sdk/api/linked_in_mentions_api.rb +2 -2
  14. data/lib/late-sdk/models/analytics_list_response_posts_inner.rb +1 -1
  15. data/lib/late-sdk/models/analytics_single_post_response.rb +1 -1
  16. data/lib/late-sdk/models/connect_whats_app_credentials_request.rb +1 -1
  17. data/lib/late-sdk/models/create_post_request.rb +1 -0
  18. data/lib/late-sdk/models/get_inbox_conversation200_response_data.rb +23 -1
  19. data/lib/late-sdk/models/get_inbox_conversation_messages200_response_messages_inner.rb +23 -1
  20. data/lib/late-sdk/models/get_inbox_post_comments200_response_comments_inner_from.rb +48 -4
  21. data/lib/late-sdk/models/list_inbox_conversations200_response_data_inner.rb +23 -1
  22. data/lib/late-sdk/models/post.rb +1 -0
  23. data/lib/late-sdk/models/webhook_payload_message_conversation.rb +23 -1
  24. data/lib/late-sdk/version.rb +1 -1
  25. data/openapi.yaml +50 -5
  26. data/spec/api/linked_in_mentions_api_spec.rb +1 -1
  27. data/spec/models/get_inbox_conversation200_response_data_spec.rb +10 -0
  28. data/spec/models/get_inbox_conversation_messages200_response_messages_inner_spec.rb +10 -0
  29. data/spec/models/get_inbox_post_comments200_response_comments_inner_from_spec.rb +10 -0
  30. data/spec/models/list_inbox_conversations200_response_data_inner_spec.rb +10 -0
  31. data/spec/models/webhook_payload_message_conversation_spec.rb +10 -0
  32. data/zernio-sdk-0.0.83.gem +0 -0
  33. metadata +2 -2
  34. data/zernio-sdk-0.0.81.gem +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1d5a11b8aa4bfc6573f9f7425dda88a5339a40ccb4087d16cb1a8b95b64d8ec2
4
- data.tar.gz: fd778a60713ae521418526d90f62f15600e13ed7050863c2af4167cb9b852fd2
3
+ metadata.gz: d2982803b725c6158190642ead7c98916a1056d61950f5b6784ced0b9ee2a954
4
+ data.tar.gz: 760f9b597669ddd198b9ac9839bbba27564078b1c6e2fcd1bbc1e17301f1dcc4
5
5
  SHA512:
6
- metadata.gz: 7935023416ac4f624f54fe84e93a177d8da59f2134dabba3fbcbc2d86a0547cbfb22594ed7a321b58856b3647d9d66b61cdc0af1e0bb2687f53248e18b6a69b4
7
- data.tar.gz: a37380a6b28b1ceb2b1ebd01c2221360729f1a104913efcb369c60e7868cead6193061f871a35820a4b01434f0ec6671965af28fabe4e564442e2576a8031748
6
+ metadata.gz: 9bbd2b4692f385091867297ac3fde07a54ea4e5ac55e1ae2a2a79fd06761dbd8a2dc441d0924bc84033cd8ae35122e33f311ecf8b4f23b5af1aef51ed58b280a
7
+ data.tar.gz: e4b5e914177caf8f2aaa80b00ff6b01145fae5e4a11a6f8c9c8e57c9f9a2506bd355b9c4d5f3380d90d3cfc5070f0ceabbc5988ee59b778b2fb137510a279359
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **_id** | **String** | | [optional] |
8
- | **late_post_id** | **String** | Original Late post ID if scheduled via Late | [optional] |
8
+ | **late_post_id** | **String** | Original Zernio post ID if scheduled via Zernio | [optional] |
9
9
  | **content** | **String** | | [optional] |
10
10
  | **scheduled_for** | **Time** | | [optional] |
11
11
  | **published_at** | **Time** | | [optional] |
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **post_id** | **String** | | [optional] |
8
- | **late_post_id** | **String** | Original Late post ID if scheduled via Late | [optional] |
8
+ | **late_post_id** | **String** | Original Zernio post ID if scheduled via Zernio | [optional] |
9
9
  | **status** | **String** | Overall post status. \"partial\" when some platforms published and others failed. | [optional] |
10
10
  | **content** | **String** | | [optional] |
11
11
  | **scheduled_for** | **Time** | | [optional] |
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **profile_id** | **String** | Your Late profile ID | |
7
+ | **profile_id** | **String** | Your Zernio profile ID | |
8
8
  | **access_token** | **String** | Permanent System User access token from Meta Business Suite | |
9
9
  | **waba_id** | **String** | WhatsApp Business Account ID from Meta | |
10
10
  | **phone_number_id** | **String** | Phone Number ID from Meta WhatsApp Manager | |
@@ -14,7 +14,7 @@
14
14
  | **timezone** | **String** | | [optional][default to 'UTC'] |
15
15
  | **tags** | **Array<String>** | Tags/keywords. YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates auto-removed. | [optional] |
16
16
  | **hashtags** | **Array<String>** | | [optional] |
17
- | **mentions** | **Array<String>** | | [optional] |
17
+ | **mentions** | **Array<String>** | Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, use the /v1/accounts/{accountId}/linkedin-mentions endpoint to resolve profile URLs to URNs, then embed the returned mentionFormat directly in the post content field. | [optional] |
18
18
  | **crossposting_enabled** | **Boolean** | | [optional][default to true] |
19
19
  | **metadata** | **Hash<String, Object>** | | [optional] |
20
20
  | **tiktok_settings** | [**TikTokPlatformData**](TikTokPlatformData.md) | Root-level TikTok settings applied to all TikTok platforms. Merged into each platform's platformSpecificData, with platform-specific settings taking precedence. | [optional] |
@@ -11,6 +11,7 @@
11
11
  | **status** | **String** | | [optional] |
12
12
  | **participant_name** | **String** | | [optional] |
13
13
  | **participant_id** | **String** | | [optional] |
14
+ | **participant_verified_type** | **String** | X/Twitter verified badge type. Only present for Twitter/X conversations. | [optional] |
14
15
  | **last_message** | **String** | | [optional] |
15
16
  | **last_message_at** | **Time** | | [optional] |
16
17
  | **updated_time** | **Time** | | [optional] |
@@ -30,6 +31,7 @@ instance = Late::GetInboxConversation200ResponseData.new(
30
31
  status: null,
31
32
  participant_name: null,
32
33
  participant_id: null,
34
+ participant_verified_type: null,
33
35
  last_message: null,
34
36
  last_message_at: null,
35
37
  updated_time: null,
@@ -11,6 +11,7 @@
11
11
  | **message** | **String** | | [optional] |
12
12
  | **sender_id** | **String** | | [optional] |
13
13
  | **sender_name** | **String** | | [optional] |
14
+ | **sender_verified_type** | **String** | X/Twitter verified badge type. Only present for Twitter/X messages. | [optional] |
14
15
  | **direction** | **String** | | [optional] |
15
16
  | **created_at** | **Time** | | [optional] |
16
17
  | **attachments** | [**Array<GetInboxConversationMessages200ResponseMessagesInnerAttachmentsInner>**](GetInboxConversationMessages200ResponseMessagesInnerAttachmentsInner.md) | | [optional] |
@@ -31,6 +32,7 @@ instance = Late::GetInboxConversationMessages200ResponseMessagesInner.new(
31
32
  message: null,
32
33
  sender_id: null,
33
34
  sender_name: null,
35
+ sender_verified_type: null,
34
36
  direction: null,
35
37
  created_at: null,
36
38
  attachments: null,
@@ -9,6 +9,7 @@
9
9
  | **username** | **String** | | [optional] |
10
10
  | **picture** | **String** | | [optional] |
11
11
  | **is_owner** | **Boolean** | | [optional] |
12
+ | **verified_type** | **String** | X/Twitter verified badge type. Only present for Twitter/X comments. | [optional] |
12
13
 
13
14
  ## Example
14
15
 
@@ -20,7 +21,8 @@ instance = Late::GetInboxPostComments200ResponseCommentsInnerFrom.new(
20
21
  name: null,
21
22
  username: null,
22
23
  picture: null,
23
- is_owner: null
24
+ is_owner: null,
25
+ verified_type: null
24
26
  )
25
27
  ```
26
28
 
@@ -13,7 +13,7 @@ All URIs are relative to *https://zernio.com/api*
13
13
 
14
14
  Resolve LinkedIn mention
15
15
 
16
- Converts a LinkedIn profile or company URL to a URN for @mentions in posts. Person mentions require org admin access. Use the returned mentionFormat in post content.
16
+ Converts a LinkedIn profile or company URL to a URN for @mentions in posts. **How to use LinkedIn @mentions (2-step workflow):** 1. Call this endpoint with the LinkedIn profile/company URL to get the mention URN and format. 2. Embed the returned `mentionFormat` (e.g. `@[Vincent Jong](urn:li:person:xxx)`) directly in your post's `content` field. **Example:** - Resolve: `GET /v1/accounts/{id}/linkedin-mentions?url=linkedin.com/in/vincentjong&displayName=Vincent Jong` - Returns: `mentionFormat: \"@[Vincent Jong](urn:li:person:xxx)\"` - Use in post content: `\"Great talk with @[Vincent Jong](urn:li:person:xxx) today!\"` **Important:** The `mentions` array field in POST /v1/posts is stored for reference only and does NOT trigger @mentions on LinkedIn. You must embed the mention format directly in the content text. **Requirements:** - Person mentions require the LinkedIn account to be admin of at least one organization. - Organization mentions (e.g. @Microsoft) work without this requirement. - For person mentions to be clickable, the `displayName` parameter must exactly match the name shown on their LinkedIn profile.
17
17
 
18
18
  ### Examples
19
19
 
@@ -11,6 +11,7 @@
11
11
  | **participant_id** | **String** | | [optional] |
12
12
  | **participant_name** | **String** | | [optional] |
13
13
  | **participant_picture** | **String** | | [optional] |
14
+ | **participant_verified_type** | **String** | X/Twitter verified badge type. Only present for Twitter/X conversations. | [optional] |
14
15
  | **last_message** | **String** | | [optional] |
15
16
  | **updated_time** | **Time** | | [optional] |
16
17
  | **status** | **String** | | [optional] |
@@ -31,6 +32,7 @@ instance = Late::ListInboxConversations200ResponseDataInner.new(
31
32
  participant_id: null,
32
33
  participant_name: null,
33
34
  participant_picture: null,
35
+ participant_verified_type: null,
34
36
  last_message: null,
35
37
  updated_time: null,
36
38
  status: null,
data/docs/Post.md CHANGED
@@ -15,7 +15,7 @@
15
15
  | **status** | **String** | | [optional] |
16
16
  | **tags** | **Array<String>** | YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates removed. | [optional] |
17
17
  | **hashtags** | **Array<String>** | | [optional] |
18
- | **mentions** | **Array<String>** | | [optional] |
18
+ | **mentions** | **Array<String>** | Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, use the /v1/accounts/{accountId}/linkedin-mentions endpoint to resolve profile URLs to URNs, then embed the returned mentionFormat directly in the post content field. | [optional] |
19
19
  | **visibility** | **String** | | [optional] |
20
20
  | **metadata** | **Hash<String, Object>** | | [optional] |
21
21
  | **recycling** | [**RecyclingState**](RecyclingState.md) | | [optional] |
@@ -10,6 +10,7 @@
10
10
  | **participant_name** | **String** | | [optional] |
11
11
  | **participant_username** | **String** | | [optional] |
12
12
  | **participant_picture** | **String** | | [optional] |
13
+ | **participant_verified_type** | **String** | X/Twitter verified badge type. Only present for Twitter/X conversations. | [optional] |
13
14
  | **status** | **String** | | [optional] |
14
15
 
15
16
  ## Example
@@ -24,6 +25,7 @@ instance = Late::WebhookPayloadMessageConversation.new(
24
25
  participant_name: null,
25
26
  participant_username: null,
26
27
  participant_picture: null,
28
+ participant_verified_type: null,
27
29
  status: null
28
30
  )
29
31
  ```
@@ -20,7 +20,7 @@ module Late
20
20
  @api_client = api_client
21
21
  end
22
22
  # Resolve LinkedIn mention
23
- # Converts a LinkedIn profile or company URL to a URN for @mentions in posts. Person mentions require org admin access. Use the returned mentionFormat in post content.
23
+ # Converts a LinkedIn profile or company URL to a URN for @mentions in posts. **How to use LinkedIn @mentions (2-step workflow):** 1. Call this endpoint with the LinkedIn profile/company URL to get the mention URN and format. 2. Embed the returned `mentionFormat` (e.g. `@[Vincent Jong](urn:li:person:xxx)`) directly in your post's `content` field. **Example:** - Resolve: `GET /v1/accounts/{id}/linkedin-mentions?url=linkedin.com/in/vincentjong&displayName=Vincent Jong` - Returns: `mentionFormat: \"@[Vincent Jong](urn:li:person:xxx)\"` - Use in post content: `\"Great talk with @[Vincent Jong](urn:li:person:xxx) today!\"` **Important:** The `mentions` array field in POST /v1/posts is stored for reference only and does NOT trigger @mentions on LinkedIn. You must embed the mention format directly in the content text. **Requirements:** - Person mentions require the LinkedIn account to be admin of at least one organization. - Organization mentions (e.g. @Microsoft) work without this requirement. - For person mentions to be clickable, the `displayName` parameter must exactly match the name shown on their LinkedIn profile.
24
24
  # @param account_id [String] The LinkedIn account ID
25
25
  # @param url [String] LinkedIn profile URL, company URL, or vanity name.
26
26
  # @param [Hash] opts the optional parameters
@@ -32,7 +32,7 @@ module Late
32
32
  end
33
33
 
34
34
  # Resolve LinkedIn mention
35
- # Converts a LinkedIn profile or company URL to a URN for @mentions in posts. Person mentions require org admin access. Use the returned mentionFormat in post content.
35
+ # Converts a LinkedIn profile or company URL to a URN for @mentions in posts. **How to use LinkedIn @mentions (2-step workflow):** 1. Call this endpoint with the LinkedIn profile/company URL to get the mention URN and format. 2. Embed the returned `mentionFormat` (e.g. `@[Vincent Jong](urn:li:person:xxx)`) directly in your post's `content` field. **Example:** - Resolve: `GET /v1/accounts/{id}/linkedin-mentions?url=linkedin.com/in/vincentjong&displayName=Vincent Jong` - Returns: `mentionFormat: \"@[Vincent Jong](urn:li:person:xxx)\"` - Use in post content: `\"Great talk with @[Vincent Jong](urn:li:person:xxx) today!\"` **Important:** The `mentions` array field in POST /v1/posts is stored for reference only and does NOT trigger @mentions on LinkedIn. You must embed the mention format directly in the content text. **Requirements:** - Person mentions require the LinkedIn account to be admin of at least one organization. - Organization mentions (e.g. @Microsoft) work without this requirement. - For person mentions to be clickable, the `displayName` parameter must exactly match the name shown on their LinkedIn profile.
36
36
  # @param account_id [String] The LinkedIn account ID
37
37
  # @param url [String] LinkedIn profile URL, company URL, or vanity name.
38
38
  # @param [Hash] opts the optional parameters
@@ -17,7 +17,7 @@ module Late
17
17
  class AnalyticsListResponsePostsInner < ApiModelBase
18
18
  attr_accessor :_id
19
19
 
20
- # Original Late post ID if scheduled via Late
20
+ # Original Zernio post ID if scheduled via Zernio
21
21
  attr_accessor :late_post_id
22
22
 
23
23
  attr_accessor :content
@@ -17,7 +17,7 @@ module Late
17
17
  class AnalyticsSinglePostResponse < ApiModelBase
18
18
  attr_accessor :post_id
19
19
 
20
- # Original Late post ID if scheduled via Late
20
+ # Original Zernio post ID if scheduled via Zernio
21
21
  attr_accessor :late_post_id
22
22
 
23
23
  # Overall post status. \"partial\" when some platforms published and others failed.
@@ -15,7 +15,7 @@ require 'time'
15
15
 
16
16
  module Late
17
17
  class ConnectWhatsAppCredentialsRequest < ApiModelBase
18
- # Your Late profile ID
18
+ # Your Zernio profile ID
19
19
  attr_accessor :profile_id
20
20
 
21
21
  # Permanent System User access token from Meta Business Suite
@@ -39,6 +39,7 @@ module Late
39
39
 
40
40
  attr_accessor :hashtags
41
41
 
42
+ # Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, use the /v1/accounts/{accountId}/linkedin-mentions endpoint to resolve profile URLs to URNs, then embed the returned mentionFormat directly in the post content field.
42
43
  attr_accessor :mentions
43
44
 
44
45
  attr_accessor :crossposting_enabled
@@ -29,6 +29,9 @@ module Late
29
29
 
30
30
  attr_accessor :participant_id
31
31
 
32
+ # X/Twitter verified badge type. Only present for Twitter/X conversations.
33
+ attr_accessor :participant_verified_type
34
+
32
35
  attr_accessor :last_message
33
36
 
34
37
  attr_accessor :last_message_at
@@ -71,6 +74,7 @@ module Late
71
74
  :'status' => :'status',
72
75
  :'participant_name' => :'participantName',
73
76
  :'participant_id' => :'participantId',
77
+ :'participant_verified_type' => :'participantVerifiedType',
74
78
  :'last_message' => :'lastMessage',
75
79
  :'last_message_at' => :'lastMessageAt',
76
80
  :'updated_time' => :'updatedTime',
@@ -99,6 +103,7 @@ module Late
99
103
  :'status' => :'String',
100
104
  :'participant_name' => :'String',
101
105
  :'participant_id' => :'String',
106
+ :'participant_verified_type' => :'String',
102
107
  :'last_message' => :'String',
103
108
  :'last_message_at' => :'Time',
104
109
  :'updated_time' => :'Time',
@@ -157,6 +162,10 @@ module Late
157
162
  self.participant_id = attributes[:'participant_id']
158
163
  end
159
164
 
165
+ if attributes.key?(:'participant_verified_type')
166
+ self.participant_verified_type = attributes[:'participant_verified_type']
167
+ end
168
+
160
169
  if attributes.key?(:'last_message')
161
170
  self.last_message = attributes[:'last_message']
162
171
  end
@@ -194,6 +203,8 @@ module Late
194
203
  warn '[DEPRECATED] the `valid?` method is obsolete'
195
204
  status_validator = EnumAttributeValidator.new('String', ["active", "archived"])
196
205
  return false unless status_validator.valid?(@status)
206
+ participant_verified_type_validator = EnumAttributeValidator.new('String', ["blue", "government", "business", "none"])
207
+ return false unless participant_verified_type_validator.valid?(@participant_verified_type)
197
208
  true
198
209
  end
199
210
 
@@ -207,6 +218,16 @@ module Late
207
218
  @status = status
208
219
  end
209
220
 
221
+ # Custom attribute writer method checking allowed values (enum).
222
+ # @param [Object] participant_verified_type Object to be assigned
223
+ def participant_verified_type=(participant_verified_type)
224
+ validator = EnumAttributeValidator.new('String', ["blue", "government", "business", "none"])
225
+ unless validator.valid?(participant_verified_type)
226
+ fail ArgumentError, "invalid value for \"participant_verified_type\", must be one of #{validator.allowable_values}."
227
+ end
228
+ @participant_verified_type = participant_verified_type
229
+ end
230
+
210
231
  # Checks equality by comparing each attribute.
211
232
  # @param [Object] Object to be compared
212
233
  def ==(o)
@@ -219,6 +240,7 @@ module Late
219
240
  status == o.status &&
220
241
  participant_name == o.participant_name &&
221
242
  participant_id == o.participant_id &&
243
+ participant_verified_type == o.participant_verified_type &&
222
244
  last_message == o.last_message &&
223
245
  last_message_at == o.last_message_at &&
224
246
  updated_time == o.updated_time &&
@@ -235,7 +257,7 @@ module Late
235
257
  # Calculates hash code according to all attributes.
236
258
  # @return [Integer] Hash code
237
259
  def hash
238
- [id, account_id, account_username, platform, status, participant_name, participant_id, last_message, last_message_at, updated_time, participants, instagram_profile].hash
260
+ [id, account_id, account_username, platform, status, participant_name, participant_id, participant_verified_type, last_message, last_message_at, updated_time, participants, instagram_profile].hash
239
261
  end
240
262
 
241
263
  # Builds the object from hash
@@ -29,6 +29,9 @@ module Late
29
29
 
30
30
  attr_accessor :sender_name
31
31
 
32
+ # X/Twitter verified badge type. Only present for Twitter/X messages.
33
+ attr_accessor :sender_verified_type
34
+
32
35
  attr_accessor :direction
33
36
 
34
37
  attr_accessor :created_at
@@ -76,6 +79,7 @@ module Late
76
79
  :'message' => :'message',
77
80
  :'sender_id' => :'senderId',
78
81
  :'sender_name' => :'senderName',
82
+ :'sender_verified_type' => :'senderVerifiedType',
79
83
  :'direction' => :'direction',
80
84
  :'created_at' => :'createdAt',
81
85
  :'attachments' => :'attachments',
@@ -105,6 +109,7 @@ module Late
105
109
  :'message' => :'String',
106
110
  :'sender_id' => :'String',
107
111
  :'sender_name' => :'String',
112
+ :'sender_verified_type' => :'String',
108
113
  :'direction' => :'String',
109
114
  :'created_at' => :'Time',
110
115
  :'attachments' => :'Array<GetInboxConversationMessages200ResponseMessagesInnerAttachmentsInner>',
@@ -164,6 +169,10 @@ module Late
164
169
  self.sender_name = attributes[:'sender_name']
165
170
  end
166
171
 
172
+ if attributes.key?(:'sender_verified_type')
173
+ self.sender_verified_type = attributes[:'sender_verified_type']
174
+ end
175
+
167
176
  if attributes.key?(:'direction')
168
177
  self.direction = attributes[:'direction']
169
178
  end
@@ -203,11 +212,23 @@ module Late
203
212
  # @return true if the model is valid
204
213
  def valid?
205
214
  warn '[DEPRECATED] the `valid?` method is obsolete'
215
+ sender_verified_type_validator = EnumAttributeValidator.new('String', ["blue", "government", "business", "none"])
216
+ return false unless sender_verified_type_validator.valid?(@sender_verified_type)
206
217
  direction_validator = EnumAttributeValidator.new('String', ["incoming", "outgoing"])
207
218
  return false unless direction_validator.valid?(@direction)
208
219
  true
209
220
  end
210
221
 
222
+ # Custom attribute writer method checking allowed values (enum).
223
+ # @param [Object] sender_verified_type Object to be assigned
224
+ def sender_verified_type=(sender_verified_type)
225
+ validator = EnumAttributeValidator.new('String', ["blue", "government", "business", "none"])
226
+ unless validator.valid?(sender_verified_type)
227
+ fail ArgumentError, "invalid value for \"sender_verified_type\", must be one of #{validator.allowable_values}."
228
+ end
229
+ @sender_verified_type = sender_verified_type
230
+ end
231
+
211
232
  # Custom attribute writer method checking allowed values (enum).
212
233
  # @param [Object] direction Object to be assigned
213
234
  def direction=(direction)
@@ -230,6 +251,7 @@ module Late
230
251
  message == o.message &&
231
252
  sender_id == o.sender_id &&
232
253
  sender_name == o.sender_name &&
254
+ sender_verified_type == o.sender_verified_type &&
233
255
  direction == o.direction &&
234
256
  created_at == o.created_at &&
235
257
  attachments == o.attachments &&
@@ -247,7 +269,7 @@ module Late
247
269
  # Calculates hash code according to all attributes.
248
270
  # @return [Integer] Hash code
249
271
  def hash
250
- [id, conversation_id, account_id, platform, message, sender_id, sender_name, direction, created_at, attachments, subject, story_reply, is_story_mention].hash
272
+ [id, conversation_id, account_id, platform, message, sender_id, sender_name, sender_verified_type, direction, created_at, attachments, subject, story_reply, is_story_mention].hash
251
273
  end
252
274
 
253
275
  # Builds the object from hash
@@ -25,6 +25,31 @@ module Late
25
25
 
26
26
  attr_accessor :is_owner
27
27
 
28
+ # X/Twitter verified badge type. Only present for Twitter/X comments.
29
+ attr_accessor :verified_type
30
+
31
+ class EnumAttributeValidator
32
+ attr_reader :datatype
33
+ attr_reader :allowable_values
34
+
35
+ def initialize(datatype, allowable_values)
36
+ @allowable_values = allowable_values.map do |value|
37
+ case datatype.to_s
38
+ when /Integer/i
39
+ value.to_i
40
+ when /Float/i
41
+ value.to_f
42
+ else
43
+ value
44
+ end
45
+ end
46
+ end
47
+
48
+ def valid?(value)
49
+ !value || allowable_values.include?(value)
50
+ end
51
+ end
52
+
28
53
  # Attribute mapping from ruby-style variable name to JSON key.
29
54
  def self.attribute_map
30
55
  {
@@ -32,7 +57,8 @@ module Late
32
57
  :'name' => :'name',
33
58
  :'username' => :'username',
34
59
  :'picture' => :'picture',
35
- :'is_owner' => :'isOwner'
60
+ :'is_owner' => :'isOwner',
61
+ :'verified_type' => :'verifiedType'
36
62
  }
37
63
  end
38
64
 
@@ -53,7 +79,8 @@ module Late
53
79
  :'name' => :'String',
54
80
  :'username' => :'String',
55
81
  :'picture' => :'String',
56
- :'is_owner' => :'Boolean'
82
+ :'is_owner' => :'Boolean',
83
+ :'verified_type' => :'String'
57
84
  }
58
85
  end
59
86
 
@@ -98,6 +125,10 @@ module Late
98
125
  if attributes.key?(:'is_owner')
99
126
  self.is_owner = attributes[:'is_owner']
100
127
  end
128
+
129
+ if attributes.key?(:'verified_type')
130
+ self.verified_type = attributes[:'verified_type']
131
+ end
101
132
  end
102
133
 
103
134
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -112,9 +143,21 @@ module Late
112
143
  # @return true if the model is valid
113
144
  def valid?
114
145
  warn '[DEPRECATED] the `valid?` method is obsolete'
146
+ verified_type_validator = EnumAttributeValidator.new('String', ["blue", "government", "business", "none"])
147
+ return false unless verified_type_validator.valid?(@verified_type)
115
148
  true
116
149
  end
117
150
 
151
+ # Custom attribute writer method checking allowed values (enum).
152
+ # @param [Object] verified_type Object to be assigned
153
+ def verified_type=(verified_type)
154
+ validator = EnumAttributeValidator.new('String', ["blue", "government", "business", "none"])
155
+ unless validator.valid?(verified_type)
156
+ fail ArgumentError, "invalid value for \"verified_type\", must be one of #{validator.allowable_values}."
157
+ end
158
+ @verified_type = verified_type
159
+ end
160
+
118
161
  # Checks equality by comparing each attribute.
119
162
  # @param [Object] Object to be compared
120
163
  def ==(o)
@@ -124,7 +167,8 @@ module Late
124
167
  name == o.name &&
125
168
  username == o.username &&
126
169
  picture == o.picture &&
127
- is_owner == o.is_owner
170
+ is_owner == o.is_owner &&
171
+ verified_type == o.verified_type
128
172
  end
129
173
 
130
174
  # @see the `==` method
@@ -136,7 +180,7 @@ module Late
136
180
  # Calculates hash code according to all attributes.
137
181
  # @return [Integer] Hash code
138
182
  def hash
139
- [id, name, username, picture, is_owner].hash
183
+ [id, name, username, picture, is_owner, verified_type].hash
140
184
  end
141
185
 
142
186
  # Builds the object from hash
@@ -29,6 +29,9 @@ module Late
29
29
 
30
30
  attr_accessor :participant_picture
31
31
 
32
+ # X/Twitter verified badge type. Only present for Twitter/X conversations.
33
+ attr_accessor :participant_verified_type
34
+
32
35
  attr_accessor :last_message
33
36
 
34
37
  attr_accessor :updated_time
@@ -75,6 +78,7 @@ module Late
75
78
  :'participant_id' => :'participantId',
76
79
  :'participant_name' => :'participantName',
77
80
  :'participant_picture' => :'participantPicture',
81
+ :'participant_verified_type' => :'participantVerifiedType',
78
82
  :'last_message' => :'lastMessage',
79
83
  :'updated_time' => :'updatedTime',
80
84
  :'status' => :'status',
@@ -104,6 +108,7 @@ module Late
104
108
  :'participant_id' => :'String',
105
109
  :'participant_name' => :'String',
106
110
  :'participant_picture' => :'String',
111
+ :'participant_verified_type' => :'String',
107
112
  :'last_message' => :'String',
108
113
  :'updated_time' => :'Time',
109
114
  :'status' => :'String',
@@ -163,6 +168,10 @@ module Late
163
168
  self.participant_picture = attributes[:'participant_picture']
164
169
  end
165
170
 
171
+ if attributes.key?(:'participant_verified_type')
172
+ self.participant_verified_type = attributes[:'participant_verified_type']
173
+ end
174
+
166
175
  if attributes.key?(:'last_message')
167
176
  self.last_message = attributes[:'last_message']
168
177
  end
@@ -200,11 +209,23 @@ module Late
200
209
  # @return true if the model is valid
201
210
  def valid?
202
211
  warn '[DEPRECATED] the `valid?` method is obsolete'
212
+ participant_verified_type_validator = EnumAttributeValidator.new('String', ["blue", "government", "business", "none"])
213
+ return false unless participant_verified_type_validator.valid?(@participant_verified_type)
203
214
  status_validator = EnumAttributeValidator.new('String', ["active", "archived"])
204
215
  return false unless status_validator.valid?(@status)
205
216
  true
206
217
  end
207
218
 
219
+ # Custom attribute writer method checking allowed values (enum).
220
+ # @param [Object] participant_verified_type Object to be assigned
221
+ def participant_verified_type=(participant_verified_type)
222
+ validator = EnumAttributeValidator.new('String', ["blue", "government", "business", "none"])
223
+ unless validator.valid?(participant_verified_type)
224
+ fail ArgumentError, "invalid value for \"participant_verified_type\", must be one of #{validator.allowable_values}."
225
+ end
226
+ @participant_verified_type = participant_verified_type
227
+ end
228
+
208
229
  # Custom attribute writer method checking allowed values (enum).
209
230
  # @param [Object] status Object to be assigned
210
231
  def status=(status)
@@ -227,6 +248,7 @@ module Late
227
248
  participant_id == o.participant_id &&
228
249
  participant_name == o.participant_name &&
229
250
  participant_picture == o.participant_picture &&
251
+ participant_verified_type == o.participant_verified_type &&
230
252
  last_message == o.last_message &&
231
253
  updated_time == o.updated_time &&
232
254
  status == o.status &&
@@ -244,7 +266,7 @@ module Late
244
266
  # Calculates hash code according to all attributes.
245
267
  # @return [Integer] Hash code
246
268
  def hash
247
- [id, platform, account_id, account_username, participant_id, participant_name, participant_picture, last_message, updated_time, status, unread_count, url, instagram_profile].hash
269
+ [id, platform, account_id, account_username, participant_id, participant_name, participant_picture, participant_verified_type, last_message, updated_time, status, unread_count, url, instagram_profile].hash
248
270
  end
249
271
 
250
272
  # Builds the object from hash
@@ -39,6 +39,7 @@ module Late
39
39
 
40
40
  attr_accessor :hashtags
41
41
 
42
+ # Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, use the /v1/accounts/{accountId}/linkedin-mentions endpoint to resolve profile URLs to URNs, then embed the returned mentionFormat directly in the post content field.
42
43
  attr_accessor :mentions
43
44
 
44
45
  attr_accessor :visibility
@@ -27,6 +27,9 @@ module Late
27
27
 
28
28
  attr_accessor :participant_picture
29
29
 
30
+ # X/Twitter verified badge type. Only present for Twitter/X conversations.
31
+ attr_accessor :participant_verified_type
32
+
30
33
  attr_accessor :status
31
34
 
32
35
  class EnumAttributeValidator
@@ -60,6 +63,7 @@ module Late
60
63
  :'participant_name' => :'participantName',
61
64
  :'participant_username' => :'participantUsername',
62
65
  :'participant_picture' => :'participantPicture',
66
+ :'participant_verified_type' => :'participantVerifiedType',
63
67
  :'status' => :'status'
64
68
  }
65
69
  end
@@ -83,6 +87,7 @@ module Late
83
87
  :'participant_name' => :'String',
84
88
  :'participant_username' => :'String',
85
89
  :'participant_picture' => :'String',
90
+ :'participant_verified_type' => :'String',
86
91
  :'status' => :'String'
87
92
  }
88
93
  end
@@ -133,6 +138,10 @@ module Late
133
138
  self.participant_picture = attributes[:'participant_picture']
134
139
  end
135
140
 
141
+ if attributes.key?(:'participant_verified_type')
142
+ self.participant_verified_type = attributes[:'participant_verified_type']
143
+ end
144
+
136
145
  if attributes.key?(:'status')
137
146
  self.status = attributes[:'status']
138
147
  end
@@ -150,11 +159,23 @@ module Late
150
159
  # @return true if the model is valid
151
160
  def valid?
152
161
  warn '[DEPRECATED] the `valid?` method is obsolete'
162
+ participant_verified_type_validator = EnumAttributeValidator.new('String', ["blue", "government", "business", "none"])
163
+ return false unless participant_verified_type_validator.valid?(@participant_verified_type)
153
164
  status_validator = EnumAttributeValidator.new('String', ["active", "archived"])
154
165
  return false unless status_validator.valid?(@status)
155
166
  true
156
167
  end
157
168
 
169
+ # Custom attribute writer method checking allowed values (enum).
170
+ # @param [Object] participant_verified_type Object to be assigned
171
+ def participant_verified_type=(participant_verified_type)
172
+ validator = EnumAttributeValidator.new('String', ["blue", "government", "business", "none"])
173
+ unless validator.valid?(participant_verified_type)
174
+ fail ArgumentError, "invalid value for \"participant_verified_type\", must be one of #{validator.allowable_values}."
175
+ end
176
+ @participant_verified_type = participant_verified_type
177
+ end
178
+
158
179
  # Custom attribute writer method checking allowed values (enum).
159
180
  # @param [Object] status Object to be assigned
160
181
  def status=(status)
@@ -176,6 +197,7 @@ module Late
176
197
  participant_name == o.participant_name &&
177
198
  participant_username == o.participant_username &&
178
199
  participant_picture == o.participant_picture &&
200
+ participant_verified_type == o.participant_verified_type &&
179
201
  status == o.status
180
202
  end
181
203
 
@@ -188,7 +210,7 @@ module Late
188
210
  # Calculates hash code according to all attributes.
189
211
  # @return [Integer] Hash code
190
212
  def hash
191
- [id, platform_conversation_id, participant_id, participant_name, participant_username, participant_picture, status].hash
213
+ [id, platform_conversation_id, participant_id, participant_name, participant_username, participant_picture, participant_verified_type, status].hash
192
214
  end
193
215
 
194
216
  # 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.81'
14
+ VERSION = '0.0.83'
15
15
  end
data/openapi.yaml CHANGED
@@ -905,6 +905,11 @@ components:
905
905
  type: string
906
906
  participantPicture:
907
907
  type: string
908
+ participantVerifiedType:
909
+ type: string
910
+ nullable: true
911
+ enum: [blue, government, business, none]
912
+ description: X/Twitter verified badge type. Only present for Twitter/X conversations.
908
913
  status:
909
914
  type: string
910
915
  enum: [active, archived]
@@ -1247,6 +1252,7 @@ components:
1247
1252
  items: { type: string }
1248
1253
  mentions:
1249
1254
  type: array
1255
+ description: "Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, use the /v1/accounts/{accountId}/linkedin-mentions endpoint to resolve profile URLs to URNs, then embed the returned mentionFormat directly in the post content field."
1250
1256
  items: { type: string }
1251
1257
  visibility: { type: string, enum: [public, private, unlisted] }
1252
1258
  metadata:
@@ -1928,7 +1934,7 @@ components:
1928
1934
  type: object
1929
1935
  properties:
1930
1936
  postId: { type: string }
1931
- latePostId: { type: string, nullable: true, description: 'Original Late post ID if scheduled via Late' }
1937
+ latePostId: { type: string, nullable: true, description: 'Original Zernio post ID if scheduled via Zernio' }
1932
1938
  status: { type: string, enum: [published, failed, partial], description: 'Overall post status. "partial" when some platforms published and others failed.' }
1933
1939
  content: { type: string }
1934
1940
  scheduledFor: { type: string, format: date-time }
@@ -1966,7 +1972,7 @@ components:
1966
1972
  type: object
1967
1973
  properties:
1968
1974
  _id: { type: string }
1969
- latePostId: { type: string, nullable: true, description: 'Original Late post ID if scheduled via Late' }
1975
+ latePostId: { type: string, nullable: true, description: 'Original Zernio post ID if scheduled via Zernio' }
1970
1976
  content: { type: string }
1971
1977
  scheduledFor: { type: string, format: date-time }
1972
1978
  publishedAt: { type: string, format: date-time }
@@ -3129,7 +3135,7 @@ paths:
3129
3135
  - $ref: '#/components/schemas/AnalyticsListResponse'
3130
3136
  examples:
3131
3137
  singlePost:
3132
- summary: Single post analytics (Late post with synced analytics)
3138
+ summary: Single post analytics (Zernio post with synced analytics)
3133
3139
  value:
3134
3140
  postId: "65f1c0a9e2b5af0012ab34cd"
3135
3141
  latePostId: null
@@ -4749,6 +4755,7 @@ paths:
4749
4755
  items: { type: string }
4750
4756
  mentions:
4751
4757
  type: array
4758
+ description: "Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, use the /v1/accounts/{accountId}/linkedin-mentions endpoint to resolve profile URLs to URNs, then embed the returned mentionFormat directly in the post content field."
4752
4759
  items: { type: string }
4753
4760
  crosspostingEnabled: { type: boolean, default: true }
4754
4761
  metadata: { type: object, additionalProperties: true }
@@ -8493,7 +8500,7 @@ paths:
8493
8500
  properties:
8494
8501
  profileId:
8495
8502
  type: string
8496
- description: Your Late profile ID
8503
+ description: Your Zernio profile ID
8497
8504
  accessToken:
8498
8505
  type: string
8499
8506
  description: Permanent System User access token from Meta Business Suite
@@ -9337,7 +9344,25 @@ paths:
9337
9344
  operationId: getLinkedInMentions
9338
9345
  tags: [LinkedIn Mentions]
9339
9346
  summary: Resolve LinkedIn mention
9340
- description: Converts a LinkedIn profile or company URL to a URN for @mentions in posts. Person mentions require org admin access. Use the returned mentionFormat in post content.
9347
+ description: |
9348
+ Converts a LinkedIn profile or company URL to a URN for @mentions in posts.
9349
+
9350
+ **How to use LinkedIn @mentions (2-step workflow):**
9351
+
9352
+ 1. Call this endpoint with the LinkedIn profile/company URL to get the mention URN and format.
9353
+ 2. Embed the returned `mentionFormat` (e.g. `@[Vincent Jong](urn:li:person:xxx)`) directly in your post's `content` field.
9354
+
9355
+ **Example:**
9356
+ - Resolve: `GET /v1/accounts/{id}/linkedin-mentions?url=linkedin.com/in/vincentjong&displayName=Vincent Jong`
9357
+ - Returns: `mentionFormat: "@[Vincent Jong](urn:li:person:xxx)"`
9358
+ - Use in post content: `"Great talk with @[Vincent Jong](urn:li:person:xxx) today!"`
9359
+
9360
+ **Important:** The `mentions` array field in POST /v1/posts is stored for reference only and does NOT trigger @mentions on LinkedIn. You must embed the mention format directly in the content text.
9361
+
9362
+ **Requirements:**
9363
+ - Person mentions require the LinkedIn account to be admin of at least one organization.
9364
+ - Organization mentions (e.g. @Microsoft) work without this requirement.
9365
+ - For person mentions to be clickable, the `displayName` parameter must exactly match the name shown on their LinkedIn profile.
9341
9366
  parameters:
9342
9367
  - name: accountId
9343
9368
  in: path
@@ -10779,6 +10804,11 @@ paths:
10779
10804
  participantId: { type: string }
10780
10805
  participantName: { type: string }
10781
10806
  participantPicture: { type: string, nullable: true }
10807
+ participantVerifiedType:
10808
+ type: string
10809
+ nullable: true
10810
+ enum: [blue, government, business, none]
10811
+ description: X/Twitter verified badge type. Only present for Twitter/X conversations.
10782
10812
  lastMessage: { type: string }
10783
10813
  updatedTime: { type: string, format: date-time }
10784
10814
  status: { type: string, enum: [active, archived] }
@@ -10874,6 +10904,11 @@ paths:
10874
10904
  status: { type: string, enum: [active, archived] }
10875
10905
  participantName: { type: string }
10876
10906
  participantId: { type: string }
10907
+ participantVerifiedType:
10908
+ type: string
10909
+ nullable: true
10910
+ enum: [blue, government, business, none]
10911
+ description: X/Twitter verified badge type. Only present for Twitter/X conversations.
10877
10912
  lastMessage: { type: string }
10878
10913
  lastMessageAt: { type: string, format: date-time }
10879
10914
  updatedTime: { type: string, format: date-time }
@@ -10997,6 +11032,11 @@ paths:
10997
11032
  message: { type: string }
10998
11033
  senderId: { type: string }
10999
11034
  senderName: { type: string, nullable: true }
11035
+ senderVerifiedType:
11036
+ type: string
11037
+ nullable: true
11038
+ enum: [blue, government, business, none]
11039
+ description: X/Twitter verified badge type. Only present for Twitter/X messages.
11000
11040
  direction: { type: string, enum: [incoming, outgoing] }
11001
11041
  createdAt: { type: string, format: date-time }
11002
11042
  attachments:
@@ -11620,6 +11660,11 @@ paths:
11620
11660
  username: { type: string }
11621
11661
  picture: { type: string, nullable: true }
11622
11662
  isOwner: { type: boolean }
11663
+ verifiedType:
11664
+ type: string
11665
+ nullable: true
11666
+ enum: [blue, government, business, none]
11667
+ description: X/Twitter verified badge type. Only present for Twitter/X comments.
11623
11668
  likeCount: { type: integer }
11624
11669
  replyCount: { type: integer }
11625
11670
  platform: { type: string, description: The platform this comment is from }
@@ -34,7 +34,7 @@ describe 'LinkedInMentionsApi' do
34
34
 
35
35
  # unit tests for get_linked_in_mentions
36
36
  # Resolve LinkedIn mention
37
- # Converts a LinkedIn profile or company URL to a URN for @mentions in posts. Person mentions require org admin access. Use the returned mentionFormat in post content.
37
+ # Converts a LinkedIn profile or company URL to a URN for @mentions in posts. **How to use LinkedIn @mentions (2-step workflow):** 1. Call this endpoint with the LinkedIn profile/company URL to get the mention URN and format. 2. Embed the returned &#x60;mentionFormat&#x60; (e.g. &#x60;@[Vincent Jong](urn:li:person:xxx)&#x60;) directly in your post&#39;s &#x60;content&#x60; field. **Example:** - Resolve: &#x60;GET /v1/accounts/{id}/linkedin-mentions?url&#x3D;linkedin.com/in/vincentjong&amp;displayName&#x3D;Vincent Jong&#x60; - Returns: &#x60;mentionFormat: \&quot;@[Vincent Jong](urn:li:person:xxx)\&quot;&#x60; - Use in post content: &#x60;\&quot;Great talk with @[Vincent Jong](urn:li:person:xxx) today!\&quot;&#x60; **Important:** The &#x60;mentions&#x60; array field in POST /v1/posts is stored for reference only and does NOT trigger @mentions on LinkedIn. You must embed the mention format directly in the content text. **Requirements:** - Person mentions require the LinkedIn account to be admin of at least one organization. - Organization mentions (e.g. @Microsoft) work without this requirement. - For person mentions to be clickable, the &#x60;displayName&#x60; parameter must exactly match the name shown on their LinkedIn profile.
38
38
  # @param account_id The LinkedIn account ID
39
39
  # @param url LinkedIn profile URL, company URL, or vanity name.
40
40
  # @param [Hash] opts the optional parameters
@@ -73,6 +73,16 @@ describe Late::GetInboxConversation200ResponseData do
73
73
  end
74
74
  end
75
75
 
76
+ describe 'test attribute "participant_verified_type"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
79
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["blue", "government", "business", "none"])
80
+ # validator.allowable_values.each do |value|
81
+ # expect { instance.participant_verified_type = value }.not_to raise_error
82
+ # end
83
+ end
84
+ end
85
+
76
86
  describe 'test attribute "last_message"' do
77
87
  it 'should work' do
78
88
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -69,6 +69,16 @@ describe Late::GetInboxConversationMessages200ResponseMessagesInner do
69
69
  end
70
70
  end
71
71
 
72
+ describe 'test attribute "sender_verified_type"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["blue", "government", "business", "none"])
76
+ # validator.allowable_values.each do |value|
77
+ # expect { instance.sender_verified_type = value }.not_to raise_error
78
+ # end
79
+ end
80
+ end
81
+
72
82
  describe 'test attribute "direction"' do
73
83
  it 'should work' do
74
84
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -57,4 +57,14 @@ describe Late::GetInboxPostComments200ResponseCommentsInnerFrom do
57
57
  end
58
58
  end
59
59
 
60
+ describe 'test attribute "verified_type"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["blue", "government", "business", "none"])
64
+ # validator.allowable_values.each do |value|
65
+ # expect { instance.verified_type = value }.not_to raise_error
66
+ # end
67
+ end
68
+ end
69
+
60
70
  end
@@ -69,6 +69,16 @@ describe Late::ListInboxConversations200ResponseDataInner do
69
69
  end
70
70
  end
71
71
 
72
+ describe 'test attribute "participant_verified_type"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["blue", "government", "business", "none"])
76
+ # validator.allowable_values.each do |value|
77
+ # expect { instance.participant_verified_type = value }.not_to raise_error
78
+ # end
79
+ end
80
+ end
81
+
72
82
  describe 'test attribute "last_message"' do
73
83
  it 'should work' do
74
84
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -63,6 +63,16 @@ describe Late::WebhookPayloadMessageConversation do
63
63
  end
64
64
  end
65
65
 
66
+ describe 'test attribute "participant_verified_type"' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["blue", "government", "business", "none"])
70
+ # validator.allowable_values.each do |value|
71
+ # expect { instance.participant_verified_type = value }.not_to raise_error
72
+ # end
73
+ end
74
+ end
75
+
66
76
  describe 'test attribute "status"' do
67
77
  it 'should work' do
68
78
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
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.81
4
+ version: 0.0.83
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -2140,7 +2140,7 @@ files:
2140
2140
  - spec/models/you_tube_scope_missing_response_scope_status_spec.rb
2141
2141
  - spec/models/you_tube_scope_missing_response_spec.rb
2142
2142
  - spec/spec_helper.rb
2143
- - zernio-sdk-0.0.81.gem
2143
+ - zernio-sdk-0.0.83.gem
2144
2144
  homepage: https://openapi-generator.tech
2145
2145
  licenses:
2146
2146
  - Unlicense
Binary file