late-sdk 0.0.52 → 0.0.53

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 (105) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -0
  3. data/docs/AnalyticsListResponsePostsInner.md +1 -1
  4. data/docs/AnalyticsSinglePostResponse.md +7 -1
  5. data/docs/AnalyticsSinglePostResponseMediaItemsInner.md +22 -0
  6. data/docs/BookmarkPost200Response.md +24 -0
  7. data/docs/BookmarkPostRequest.md +20 -0
  8. data/docs/CommentsApi.md +2 -2
  9. data/docs/FollowUser200Response.md +26 -0
  10. data/docs/FollowUserRequest.md +20 -0
  11. data/docs/GMBLocationDetailsApi.md +4 -4
  12. data/docs/GbpFreeFormServiceItemLabel.md +20 -0
  13. data/docs/GbpUpdateFreeFormServiceItemLabel.md +20 -0
  14. data/docs/GetGoogleBusinessLocationDetails200Response.md +5 -1
  15. data/docs/GetGoogleBusinessLocationDetails200ResponseCategories.md +20 -0
  16. data/docs/GetGoogleBusinessLocationDetails200ResponseCategoriesAdditionalCategoriesInner.md +20 -0
  17. data/docs/GetGoogleBusinessLocationDetails200ResponseCategoriesPrimaryCategory.md +20 -0
  18. data/docs/GetGoogleBusinessLocationDetails200ResponseServiceItemsInner.md +22 -0
  19. data/docs/GetGoogleBusinessLocationDetails200ResponseServiceItemsInnerFreeFormServiceItem.md +20 -0
  20. data/docs/GetGoogleBusinessLocationDetails200ResponseServiceItemsInnerPrice.md +22 -0
  21. data/docs/GetGoogleBusinessLocationDetails200ResponseServiceItemsInnerStructuredServiceItem.md +20 -0
  22. data/docs/RemoveBookmark200Response.md +24 -0
  23. data/docs/RetweetPost200Response.md +24 -0
  24. data/docs/RetweetPostRequest.md +20 -0
  25. data/docs/TwitterEngagementApi.md +433 -0
  26. data/docs/UndoRetweet200Response.md +24 -0
  27. data/docs/UnfollowUser200Response.md +24 -0
  28. data/docs/UpdateGoogleBusinessLocationDetailsRequest.md +6 -2
  29. data/docs/UpdateGoogleBusinessLocationDetailsRequestCategories.md +20 -0
  30. data/docs/UpdateGoogleBusinessLocationDetailsRequestCategoriesAdditionalCategoriesInner.md +18 -0
  31. data/docs/UpdateGoogleBusinessLocationDetailsRequestCategoriesPrimaryCategory.md +18 -0
  32. data/docs/UpdateGoogleBusinessLocationDetailsRequestServiceItemsInner.md +22 -0
  33. data/docs/UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerFreeFormServiceItem.md +20 -0
  34. data/docs/UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerPrice.md +22 -0
  35. data/docs/UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerStructuredServiceItem.md +20 -0
  36. data/lib/late-sdk/api/comments_api.rb +4 -4
  37. data/lib/late-sdk/api/gmb_location_details_api.rb +6 -6
  38. data/lib/late-sdk/api/twitter_engagement_api.rb +439 -0
  39. data/lib/late-sdk/models/analytics_list_response_posts_inner.rb +4 -3
  40. data/lib/late-sdk/models/analytics_single_post_response.rb +68 -4
  41. data/lib/late-sdk/models/analytics_single_post_response_media_items_inner.rb +201 -0
  42. data/lib/late-sdk/models/bookmark_post200_response.rb +174 -0
  43. data/lib/late-sdk/models/bookmark_post_request.rb +192 -0
  44. data/lib/late-sdk/models/follow_user200_response.rb +184 -0
  45. data/lib/late-sdk/models/follow_user_request.rb +192 -0
  46. data/lib/late-sdk/models/gbp_free_form_service_item_label.rb +156 -0
  47. data/lib/late-sdk/models/gbp_update_free_form_service_item_label.rb +158 -0
  48. data/lib/late-sdk/models/get_google_business_location_details200_response.rb +25 -4
  49. data/lib/late-sdk/models/get_google_business_location_details200_response_categories.rb +159 -0
  50. data/lib/late-sdk/models/get_google_business_location_details200_response_categories_additional_categories_inner.rb +156 -0
  51. data/lib/late-sdk/models/get_google_business_location_details200_response_categories_primary_category.rb +158 -0
  52. data/lib/late-sdk/models/get_google_business_location_details200_response_service_items_inner.rb +165 -0
  53. data/lib/late-sdk/models/get_google_business_location_details200_response_service_items_inner_free_form_service_item.rb +156 -0
  54. data/lib/late-sdk/models/get_google_business_location_details200_response_service_items_inner_price.rb +165 -0
  55. data/lib/late-sdk/models/get_google_business_location_details200_response_service_items_inner_structured_service_item.rb +156 -0
  56. data/lib/late-sdk/models/remove_bookmark200_response.rb +174 -0
  57. data/lib/late-sdk/models/retweet_post200_response.rb +174 -0
  58. data/lib/late-sdk/models/retweet_post_request.rb +192 -0
  59. data/lib/late-sdk/models/undo_retweet200_response.rb +174 -0
  60. data/lib/late-sdk/models/unfollow_user200_response.rb +174 -0
  61. data/lib/late-sdk/models/update_google_business_location_details_request.rb +26 -5
  62. data/lib/late-sdk/models/update_google_business_location_details_request_categories.rb +159 -0
  63. data/lib/late-sdk/models/update_google_business_location_details_request_categories_additional_categories_inner.rb +148 -0
  64. data/lib/late-sdk/models/update_google_business_location_details_request_categories_primary_category.rb +148 -0
  65. data/lib/late-sdk/models/update_google_business_location_details_request_service_items_inner.rb +165 -0
  66. data/lib/late-sdk/models/update_google_business_location_details_request_service_items_inner_free_form_service_item.rb +158 -0
  67. data/lib/late-sdk/models/update_google_business_location_details_request_service_items_inner_price.rb +169 -0
  68. data/lib/late-sdk/models/update_google_business_location_details_request_service_items_inner_structured_service_item.rb +159 -0
  69. data/lib/late-sdk/version.rb +1 -1
  70. data/lib/late-sdk.rb +27 -0
  71. data/openapi.yaml +406 -29
  72. data/spec/api/comments_api_spec.rb +2 -2
  73. data/spec/api/gmb_location_details_api_spec.rb +3 -3
  74. data/spec/api/twitter_engagement_api_spec.rb +110 -0
  75. data/spec/models/analytics_list_response_posts_inner_spec.rb +1 -1
  76. data/spec/models/analytics_single_post_response_media_items_inner_spec.rb +52 -0
  77. data/spec/models/analytics_single_post_response_spec.rb +22 -0
  78. data/spec/models/bookmark_post200_response_spec.rb +54 -0
  79. data/spec/models/bookmark_post_request_spec.rb +42 -0
  80. data/spec/models/follow_user200_response_spec.rb +60 -0
  81. data/spec/models/follow_user_request_spec.rb +42 -0
  82. data/spec/models/gbp_free_form_service_item_label_spec.rb +42 -0
  83. data/spec/models/gbp_update_free_form_service_item_label_spec.rb +42 -0
  84. data/spec/models/get_google_business_location_details200_response_categories_additional_categories_inner_spec.rb +42 -0
  85. data/spec/models/get_google_business_location_details200_response_categories_primary_category_spec.rb +42 -0
  86. data/spec/models/get_google_business_location_details200_response_categories_spec.rb +42 -0
  87. data/spec/models/get_google_business_location_details200_response_service_items_inner_free_form_service_item_spec.rb +42 -0
  88. data/spec/models/get_google_business_location_details200_response_service_items_inner_price_spec.rb +48 -0
  89. data/spec/models/get_google_business_location_details200_response_service_items_inner_spec.rb +48 -0
  90. data/spec/models/get_google_business_location_details200_response_service_items_inner_structured_service_item_spec.rb +42 -0
  91. data/spec/models/get_google_business_location_details200_response_spec.rb +12 -0
  92. data/spec/models/remove_bookmark200_response_spec.rb +54 -0
  93. data/spec/models/retweet_post200_response_spec.rb +54 -0
  94. data/spec/models/retweet_post_request_spec.rb +42 -0
  95. data/spec/models/undo_retweet200_response_spec.rb +54 -0
  96. data/spec/models/unfollow_user200_response_spec.rb +54 -0
  97. data/spec/models/update_google_business_location_details_request_categories_additional_categories_inner_spec.rb +36 -0
  98. data/spec/models/update_google_business_location_details_request_categories_primary_category_spec.rb +36 -0
  99. data/spec/models/update_google_business_location_details_request_categories_spec.rb +42 -0
  100. data/spec/models/update_google_business_location_details_request_service_items_inner_free_form_service_item_spec.rb +42 -0
  101. data/spec/models/update_google_business_location_details_request_service_items_inner_price_spec.rb +48 -0
  102. data/spec/models/update_google_business_location_details_request_service_items_inner_spec.rb +48 -0
  103. data/spec/models/update_google_business_location_details_request_service_items_inner_structured_service_item_spec.rb +42 -0
  104. data/spec/models/update_google_business_location_details_request_spec.rb +12 -0
  105. metadata +110 -2
@@ -0,0 +1,433 @@
1
+ # Late::TwitterEngagementApi
2
+
3
+ All URIs are relative to *https://getlate.dev/api*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**bookmark_post**](TwitterEngagementApi.md#bookmark_post) | **POST** /v1/twitter/bookmark | Bookmark a tweet |
8
+ | [**follow_user**](TwitterEngagementApi.md#follow_user) | **POST** /v1/twitter/follow | Follow a user |
9
+ | [**remove_bookmark**](TwitterEngagementApi.md#remove_bookmark) | **DELETE** /v1/twitter/bookmark | Remove bookmark |
10
+ | [**retweet_post**](TwitterEngagementApi.md#retweet_post) | **POST** /v1/twitter/retweet | Retweet a post |
11
+ | [**undo_retweet**](TwitterEngagementApi.md#undo_retweet) | **DELETE** /v1/twitter/retweet | Undo retweet |
12
+ | [**unfollow_user**](TwitterEngagementApi.md#unfollow_user) | **DELETE** /v1/twitter/follow | Unfollow a user |
13
+
14
+
15
+ ## bookmark_post
16
+
17
+ > <BookmarkPost200Response> bookmark_post(bookmark_post_request)
18
+
19
+ Bookmark a tweet
20
+
21
+ Bookmark a tweet by ID. Requires X API Basic tier ($200/mo) or higher. Requires the bookmark.write OAuth scope. Rate limit: 50 requests per 15-min window.
22
+
23
+ ### Examples
24
+
25
+ ```ruby
26
+ require 'time'
27
+ require 'late-sdk'
28
+ # setup authorization
29
+ Late.configure do |config|
30
+ # Configure Bearer authorization (JWT): bearerAuth
31
+ config.access_token = 'YOUR_BEARER_TOKEN'
32
+ end
33
+
34
+ api_instance = Late::TwitterEngagementApi.new
35
+ bookmark_post_request = Late::BookmarkPostRequest.new({account_id: 'account_id_example', tweet_id: 'tweet_id_example'}) # BookmarkPostRequest |
36
+
37
+ begin
38
+ # Bookmark a tweet
39
+ result = api_instance.bookmark_post(bookmark_post_request)
40
+ p result
41
+ rescue Late::ApiError => e
42
+ puts "Error when calling TwitterEngagementApi->bookmark_post: #{e}"
43
+ end
44
+ ```
45
+
46
+ #### Using the bookmark_post_with_http_info variant
47
+
48
+ This returns an Array which contains the response data, status code and headers.
49
+
50
+ > <Array(<BookmarkPost200Response>, Integer, Hash)> bookmark_post_with_http_info(bookmark_post_request)
51
+
52
+ ```ruby
53
+ begin
54
+ # Bookmark a tweet
55
+ data, status_code, headers = api_instance.bookmark_post_with_http_info(bookmark_post_request)
56
+ p status_code # => 2xx
57
+ p headers # => { ... }
58
+ p data # => <BookmarkPost200Response>
59
+ rescue Late::ApiError => e
60
+ puts "Error when calling TwitterEngagementApi->bookmark_post_with_http_info: #{e}"
61
+ end
62
+ ```
63
+
64
+ ### Parameters
65
+
66
+ | Name | Type | Description | Notes |
67
+ | ---- | ---- | ----------- | ----- |
68
+ | **bookmark_post_request** | [**BookmarkPostRequest**](BookmarkPostRequest.md) | | |
69
+
70
+ ### Return type
71
+
72
+ [**BookmarkPost200Response**](BookmarkPost200Response.md)
73
+
74
+ ### Authorization
75
+
76
+ [bearerAuth](../README.md#bearerAuth)
77
+
78
+ ### HTTP request headers
79
+
80
+ - **Content-Type**: application/json
81
+ - **Accept**: application/json
82
+
83
+
84
+ ## follow_user
85
+
86
+ > <FollowUser200Response> follow_user(follow_user_request)
87
+
88
+ Follow a user
89
+
90
+ Follow a user on X/Twitter. Requires X API Basic tier ($200/mo) or higher. Requires the follows.write OAuth scope. For protected accounts, a follow request is sent instead (pending_follow will be true).
91
+
92
+ ### Examples
93
+
94
+ ```ruby
95
+ require 'time'
96
+ require 'late-sdk'
97
+ # setup authorization
98
+ Late.configure do |config|
99
+ # Configure Bearer authorization (JWT): bearerAuth
100
+ config.access_token = 'YOUR_BEARER_TOKEN'
101
+ end
102
+
103
+ api_instance = Late::TwitterEngagementApi.new
104
+ follow_user_request = Late::FollowUserRequest.new({account_id: 'account_id_example', target_user_id: 'target_user_id_example'}) # FollowUserRequest |
105
+
106
+ begin
107
+ # Follow a user
108
+ result = api_instance.follow_user(follow_user_request)
109
+ p result
110
+ rescue Late::ApiError => e
111
+ puts "Error when calling TwitterEngagementApi->follow_user: #{e}"
112
+ end
113
+ ```
114
+
115
+ #### Using the follow_user_with_http_info variant
116
+
117
+ This returns an Array which contains the response data, status code and headers.
118
+
119
+ > <Array(<FollowUser200Response>, Integer, Hash)> follow_user_with_http_info(follow_user_request)
120
+
121
+ ```ruby
122
+ begin
123
+ # Follow a user
124
+ data, status_code, headers = api_instance.follow_user_with_http_info(follow_user_request)
125
+ p status_code # => 2xx
126
+ p headers # => { ... }
127
+ p data # => <FollowUser200Response>
128
+ rescue Late::ApiError => e
129
+ puts "Error when calling TwitterEngagementApi->follow_user_with_http_info: #{e}"
130
+ end
131
+ ```
132
+
133
+ ### Parameters
134
+
135
+ | Name | Type | Description | Notes |
136
+ | ---- | ---- | ----------- | ----- |
137
+ | **follow_user_request** | [**FollowUserRequest**](FollowUserRequest.md) | | |
138
+
139
+ ### Return type
140
+
141
+ [**FollowUser200Response**](FollowUser200Response.md)
142
+
143
+ ### Authorization
144
+
145
+ [bearerAuth](../README.md#bearerAuth)
146
+
147
+ ### HTTP request headers
148
+
149
+ - **Content-Type**: application/json
150
+ - **Accept**: application/json
151
+
152
+
153
+ ## remove_bookmark
154
+
155
+ > <RemoveBookmark200Response> remove_bookmark(account_id, tweet_id)
156
+
157
+ Remove bookmark
158
+
159
+ Remove a bookmark from a tweet.
160
+
161
+ ### Examples
162
+
163
+ ```ruby
164
+ require 'time'
165
+ require 'late-sdk'
166
+ # setup authorization
167
+ Late.configure do |config|
168
+ # Configure Bearer authorization (JWT): bearerAuth
169
+ config.access_token = 'YOUR_BEARER_TOKEN'
170
+ end
171
+
172
+ api_instance = Late::TwitterEngagementApi.new
173
+ account_id = 'account_id_example' # String |
174
+ tweet_id = 'tweet_id_example' # String | The ID of the tweet to unbookmark
175
+
176
+ begin
177
+ # Remove bookmark
178
+ result = api_instance.remove_bookmark(account_id, tweet_id)
179
+ p result
180
+ rescue Late::ApiError => e
181
+ puts "Error when calling TwitterEngagementApi->remove_bookmark: #{e}"
182
+ end
183
+ ```
184
+
185
+ #### Using the remove_bookmark_with_http_info variant
186
+
187
+ This returns an Array which contains the response data, status code and headers.
188
+
189
+ > <Array(<RemoveBookmark200Response>, Integer, Hash)> remove_bookmark_with_http_info(account_id, tweet_id)
190
+
191
+ ```ruby
192
+ begin
193
+ # Remove bookmark
194
+ data, status_code, headers = api_instance.remove_bookmark_with_http_info(account_id, tweet_id)
195
+ p status_code # => 2xx
196
+ p headers # => { ... }
197
+ p data # => <RemoveBookmark200Response>
198
+ rescue Late::ApiError => e
199
+ puts "Error when calling TwitterEngagementApi->remove_bookmark_with_http_info: #{e}"
200
+ end
201
+ ```
202
+
203
+ ### Parameters
204
+
205
+ | Name | Type | Description | Notes |
206
+ | ---- | ---- | ----------- | ----- |
207
+ | **account_id** | **String** | | |
208
+ | **tweet_id** | **String** | The ID of the tweet to unbookmark | |
209
+
210
+ ### Return type
211
+
212
+ [**RemoveBookmark200Response**](RemoveBookmark200Response.md)
213
+
214
+ ### Authorization
215
+
216
+ [bearerAuth](../README.md#bearerAuth)
217
+
218
+ ### HTTP request headers
219
+
220
+ - **Content-Type**: Not defined
221
+ - **Accept**: application/json
222
+
223
+
224
+ ## retweet_post
225
+
226
+ > <RetweetPost200Response> retweet_post(retweet_post_request)
227
+
228
+ Retweet a post
229
+
230
+ Retweet (repost) a tweet by ID. Requires X API Basic tier ($200/mo) or higher. Rate limit: 50 requests per 15-min window. Shares the 300/3hr creation limit with tweet creation.
231
+
232
+ ### Examples
233
+
234
+ ```ruby
235
+ require 'time'
236
+ require 'late-sdk'
237
+ # setup authorization
238
+ Late.configure do |config|
239
+ # Configure Bearer authorization (JWT): bearerAuth
240
+ config.access_token = 'YOUR_BEARER_TOKEN'
241
+ end
242
+
243
+ api_instance = Late::TwitterEngagementApi.new
244
+ retweet_post_request = Late::RetweetPostRequest.new({account_id: 'account_id_example', tweet_id: 'tweet_id_example'}) # RetweetPostRequest |
245
+
246
+ begin
247
+ # Retweet a post
248
+ result = api_instance.retweet_post(retweet_post_request)
249
+ p result
250
+ rescue Late::ApiError => e
251
+ puts "Error when calling TwitterEngagementApi->retweet_post: #{e}"
252
+ end
253
+ ```
254
+
255
+ #### Using the retweet_post_with_http_info variant
256
+
257
+ This returns an Array which contains the response data, status code and headers.
258
+
259
+ > <Array(<RetweetPost200Response>, Integer, Hash)> retweet_post_with_http_info(retweet_post_request)
260
+
261
+ ```ruby
262
+ begin
263
+ # Retweet a post
264
+ data, status_code, headers = api_instance.retweet_post_with_http_info(retweet_post_request)
265
+ p status_code # => 2xx
266
+ p headers # => { ... }
267
+ p data # => <RetweetPost200Response>
268
+ rescue Late::ApiError => e
269
+ puts "Error when calling TwitterEngagementApi->retweet_post_with_http_info: #{e}"
270
+ end
271
+ ```
272
+
273
+ ### Parameters
274
+
275
+ | Name | Type | Description | Notes |
276
+ | ---- | ---- | ----------- | ----- |
277
+ | **retweet_post_request** | [**RetweetPostRequest**](RetweetPostRequest.md) | | |
278
+
279
+ ### Return type
280
+
281
+ [**RetweetPost200Response**](RetweetPost200Response.md)
282
+
283
+ ### Authorization
284
+
285
+ [bearerAuth](../README.md#bearerAuth)
286
+
287
+ ### HTTP request headers
288
+
289
+ - **Content-Type**: application/json
290
+ - **Accept**: application/json
291
+
292
+
293
+ ## undo_retweet
294
+
295
+ > <UndoRetweet200Response> undo_retweet(account_id, tweet_id)
296
+
297
+ Undo retweet
298
+
299
+ Undo a retweet (un-repost a tweet).
300
+
301
+ ### Examples
302
+
303
+ ```ruby
304
+ require 'time'
305
+ require 'late-sdk'
306
+ # setup authorization
307
+ Late.configure do |config|
308
+ # Configure Bearer authorization (JWT): bearerAuth
309
+ config.access_token = 'YOUR_BEARER_TOKEN'
310
+ end
311
+
312
+ api_instance = Late::TwitterEngagementApi.new
313
+ account_id = 'account_id_example' # String |
314
+ tweet_id = 'tweet_id_example' # String | The ID of the original tweet to un-retweet
315
+
316
+ begin
317
+ # Undo retweet
318
+ result = api_instance.undo_retweet(account_id, tweet_id)
319
+ p result
320
+ rescue Late::ApiError => e
321
+ puts "Error when calling TwitterEngagementApi->undo_retweet: #{e}"
322
+ end
323
+ ```
324
+
325
+ #### Using the undo_retweet_with_http_info variant
326
+
327
+ This returns an Array which contains the response data, status code and headers.
328
+
329
+ > <Array(<UndoRetweet200Response>, Integer, Hash)> undo_retweet_with_http_info(account_id, tweet_id)
330
+
331
+ ```ruby
332
+ begin
333
+ # Undo retweet
334
+ data, status_code, headers = api_instance.undo_retweet_with_http_info(account_id, tweet_id)
335
+ p status_code # => 2xx
336
+ p headers # => { ... }
337
+ p data # => <UndoRetweet200Response>
338
+ rescue Late::ApiError => e
339
+ puts "Error when calling TwitterEngagementApi->undo_retweet_with_http_info: #{e}"
340
+ end
341
+ ```
342
+
343
+ ### Parameters
344
+
345
+ | Name | Type | Description | Notes |
346
+ | ---- | ---- | ----------- | ----- |
347
+ | **account_id** | **String** | | |
348
+ | **tweet_id** | **String** | The ID of the original tweet to un-retweet | |
349
+
350
+ ### Return type
351
+
352
+ [**UndoRetweet200Response**](UndoRetweet200Response.md)
353
+
354
+ ### Authorization
355
+
356
+ [bearerAuth](../README.md#bearerAuth)
357
+
358
+ ### HTTP request headers
359
+
360
+ - **Content-Type**: Not defined
361
+ - **Accept**: application/json
362
+
363
+
364
+ ## unfollow_user
365
+
366
+ > <UnfollowUser200Response> unfollow_user(account_id, target_user_id)
367
+
368
+ Unfollow a user
369
+
370
+ Unfollow a user on X/Twitter.
371
+
372
+ ### Examples
373
+
374
+ ```ruby
375
+ require 'time'
376
+ require 'late-sdk'
377
+ # setup authorization
378
+ Late.configure do |config|
379
+ # Configure Bearer authorization (JWT): bearerAuth
380
+ config.access_token = 'YOUR_BEARER_TOKEN'
381
+ end
382
+
383
+ api_instance = Late::TwitterEngagementApi.new
384
+ account_id = 'account_id_example' # String |
385
+ target_user_id = 'target_user_id_example' # String | The Twitter ID of the user to unfollow
386
+
387
+ begin
388
+ # Unfollow a user
389
+ result = api_instance.unfollow_user(account_id, target_user_id)
390
+ p result
391
+ rescue Late::ApiError => e
392
+ puts "Error when calling TwitterEngagementApi->unfollow_user: #{e}"
393
+ end
394
+ ```
395
+
396
+ #### Using the unfollow_user_with_http_info variant
397
+
398
+ This returns an Array which contains the response data, status code and headers.
399
+
400
+ > <Array(<UnfollowUser200Response>, Integer, Hash)> unfollow_user_with_http_info(account_id, target_user_id)
401
+
402
+ ```ruby
403
+ begin
404
+ # Unfollow a user
405
+ data, status_code, headers = api_instance.unfollow_user_with_http_info(account_id, target_user_id)
406
+ p status_code # => 2xx
407
+ p headers # => { ... }
408
+ p data # => <UnfollowUser200Response>
409
+ rescue Late::ApiError => e
410
+ puts "Error when calling TwitterEngagementApi->unfollow_user_with_http_info: #{e}"
411
+ end
412
+ ```
413
+
414
+ ### Parameters
415
+
416
+ | Name | Type | Description | Notes |
417
+ | ---- | ---- | ----------- | ----- |
418
+ | **account_id** | **String** | | |
419
+ | **target_user_id** | **String** | The Twitter ID of the user to unfollow | |
420
+
421
+ ### Return type
422
+
423
+ [**UnfollowUser200Response**](UnfollowUser200Response.md)
424
+
425
+ ### Authorization
426
+
427
+ [bearerAuth](../README.md#bearerAuth)
428
+
429
+ ### HTTP request headers
430
+
431
+ - **Content-Type**: Not defined
432
+ - **Accept**: application/json
433
+
@@ -0,0 +1,24 @@
1
+ # Late::UndoRetweet200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **status** | **String** | | [optional] |
8
+ | **tweet_id** | **String** | | [optional] |
9
+ | **retweeted** | **Boolean** | | [optional] |
10
+ | **platform** | **String** | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'late-sdk'
16
+
17
+ instance = Late::UndoRetweet200Response.new(
18
+ status: success,
19
+ tweet_id: null,
20
+ retweeted: false,
21
+ platform: twitter
22
+ )
23
+ ```
24
+
@@ -0,0 +1,24 @@
1
+ # Late::UnfollowUser200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **status** | **String** | | [optional] |
8
+ | **target_user_id** | **String** | | [optional] |
9
+ | **following** | **Boolean** | | [optional] |
10
+ | **platform** | **String** | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'late-sdk'
16
+
17
+ instance = Late::UnfollowUser200Response.new(
18
+ status: success,
19
+ target_user_id: null,
20
+ following: false,
21
+ platform: twitter
22
+ )
23
+ ```
24
+
@@ -4,12 +4,14 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **update_mask** | **String** | Required. Comma-separated fields to update (e.g. &#39;regularHours&#39;, &#39;specialHours&#39;, &#39;profile.description&#39;) | |
7
+ | **update_mask** | **String** | Required. Comma-separated fields to update (e.g. &#39;regularHours&#39;, &#39;specialHours&#39;, &#39;profile.description&#39;, &#39;categories&#39;, &#39;serviceItems&#39;). Any valid Google Business Information API updateMask field is supported. | |
8
8
  | **regular_hours** | [**UpdateGoogleBusinessLocationDetailsRequestRegularHours**](UpdateGoogleBusinessLocationDetailsRequestRegularHours.md) | | [optional] |
9
9
  | **special_hours** | [**GetGoogleBusinessLocationDetails200ResponseSpecialHours**](GetGoogleBusinessLocationDetails200ResponseSpecialHours.md) | | [optional] |
10
10
  | **profile** | [**UpdateGoogleBusinessLocationDetailsRequestProfile**](UpdateGoogleBusinessLocationDetailsRequestProfile.md) | | [optional] |
11
11
  | **website_uri** | **String** | | [optional] |
12
12
  | **phone_numbers** | [**GetGoogleBusinessLocationDetails200ResponsePhoneNumbers**](GetGoogleBusinessLocationDetails200ResponsePhoneNumbers.md) | | [optional] |
13
+ | **categories** | [**UpdateGoogleBusinessLocationDetailsRequestCategories**](UpdateGoogleBusinessLocationDetailsRequestCategories.md) | | [optional] |
14
+ | **service_items** | [**Array&lt;UpdateGoogleBusinessLocationDetailsRequestServiceItemsInner&gt;**](UpdateGoogleBusinessLocationDetailsRequestServiceItemsInner.md) | Services offered by the business. Use updateMask&#x3D;&#39;serviceItems&#39; to update. | [optional] |
13
15
 
14
16
  ## Example
15
17
 
@@ -22,7 +24,9 @@ instance = Late::UpdateGoogleBusinessLocationDetailsRequest.new(
22
24
  special_hours: null,
23
25
  profile: null,
24
26
  website_uri: null,
25
- phone_numbers: null
27
+ phone_numbers: null,
28
+ categories: null,
29
+ service_items: null
26
30
  )
27
31
  ```
28
32
 
@@ -0,0 +1,20 @@
1
+ # Late::UpdateGoogleBusinessLocationDetailsRequestCategories
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **primary_category** | [**UpdateGoogleBusinessLocationDetailsRequestCategoriesPrimaryCategory**](UpdateGoogleBusinessLocationDetailsRequestCategoriesPrimaryCategory.md) | | [optional] |
8
+ | **additional_categories** | [**Array&lt;UpdateGoogleBusinessLocationDetailsRequestCategoriesAdditionalCategoriesInner&gt;**](UpdateGoogleBusinessLocationDetailsRequestCategoriesAdditionalCategoriesInner.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'late-sdk'
14
+
15
+ instance = Late::UpdateGoogleBusinessLocationDetailsRequestCategories.new(
16
+ primary_category: null,
17
+ additional_categories: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,18 @@
1
+ # Late::UpdateGoogleBusinessLocationDetailsRequestCategoriesAdditionalCategoriesInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | Category resource name (e.g. &#39;categories/gcid:dry_cleaner&#39;) | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'late-sdk'
13
+
14
+ instance = Late::UpdateGoogleBusinessLocationDetailsRequestCategoriesAdditionalCategoriesInner.new(
15
+ name: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # Late::UpdateGoogleBusinessLocationDetailsRequestCategoriesPrimaryCategory
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | Category resource name (e.g. &#39;categories/gcid:laundromat&#39;). Use Google&#39;s Categories API to look up valid IDs. | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'late-sdk'
13
+
14
+ instance = Late::UpdateGoogleBusinessLocationDetailsRequestCategoriesPrimaryCategory.new(
15
+ name: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,22 @@
1
+ # Late::UpdateGoogleBusinessLocationDetailsRequestServiceItemsInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **structured_service_item** | [**UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerStructuredServiceItem**](UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerStructuredServiceItem.md) | | [optional] |
8
+ | **free_form_service_item** | [**UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerFreeFormServiceItem**](UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerFreeFormServiceItem.md) | | [optional] |
9
+ | **price** | [**UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerPrice**](UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerPrice.md) | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'late-sdk'
15
+
16
+ instance = Late::UpdateGoogleBusinessLocationDetailsRequestServiceItemsInner.new(
17
+ structured_service_item: null,
18
+ free_form_service_item: null,
19
+ price: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,20 @@
1
+ # Late::UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerFreeFormServiceItem
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **category** | **String** | Category resource name this service belongs to (e.g. &#39;categories/gcid:laundromat&#39;) | [optional] |
8
+ | **label** | [**GbpUpdateFreeFormServiceItemLabel**](GbpUpdateFreeFormServiceItemLabel.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'late-sdk'
14
+
15
+ instance = Late::UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerFreeFormServiceItem.new(
16
+ category: null,
17
+ label: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,22 @@
1
+ # Late::UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerPrice
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **currency_code** | **String** | ISO 4217 currency code (e.g. &#39;USD&#39;) | [optional] |
8
+ | **units** | **String** | Whole units of the amount | [optional] |
9
+ | **nanos** | **Integer** | Nano units (10^-9) of the amount | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'late-sdk'
15
+
16
+ instance = Late::UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerPrice.new(
17
+ currency_code: null,
18
+ units: null,
19
+ nanos: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,20 @@
1
+ # Late::UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerStructuredServiceItem
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **service_type_id** | **String** | Service type ID from Google&#39;s catalog (e.g. &#39;job_type_id:plumbing_drain_repair&#39;) | [optional] |
8
+ | **description** | **String** | Optional description of the service | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'late-sdk'
14
+
15
+ instance = Late::UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerStructuredServiceItem.new(
16
+ service_type_id: null,
17
+ description: null
18
+ )
19
+ ```
20
+
@@ -187,7 +187,7 @@ module Late
187
187
  end
188
188
 
189
189
  # Hide comment
190
- # Hide a comment on a post. Supported by Facebook, Instagram, and Threads. Hidden comments are only visible to the commenter and page admin.
190
+ # Hide a comment on a post. Supported by Facebook, Instagram, Threads, and X/Twitter. Hidden comments are only visible to the commenter and page admin. For X/Twitter, the reply must belong to a conversation started by the authenticated user. Requires the tweet.moderate.write scope and X API Basic tier or higher.
191
191
  # @param post_id [String]
192
192
  # @param comment_id [String]
193
193
  # @param hide_inbox_comment_request [HideInboxCommentRequest]
@@ -199,7 +199,7 @@ module Late
199
199
  end
200
200
 
201
201
  # Hide comment
202
- # Hide a comment on a post. Supported by Facebook, Instagram, and Threads. Hidden comments are only visible to the commenter and page admin.
202
+ # Hide a comment on a post. Supported by Facebook, Instagram, Threads, and X/Twitter. Hidden comments are only visible to the commenter and page admin. For X/Twitter, the reply must belong to a conversation started by the authenticated user. Requires the tweet.moderate.write scope and X API Basic tier or higher.
203
203
  # @param post_id [String]
204
204
  # @param comment_id [String]
205
205
  # @param hide_inbox_comment_request [HideInboxCommentRequest]
@@ -609,7 +609,7 @@ module Late
609
609
  end
610
610
 
611
611
  # Unhide comment
612
- # Unhide a previously hidden comment. Supported by Facebook, Instagram, and Threads.
612
+ # Unhide a previously hidden comment. Supported by Facebook, Instagram, Threads, and X/Twitter.
613
613
  # @param post_id [String]
614
614
  # @param comment_id [String]
615
615
  # @param account_id [String]
@@ -621,7 +621,7 @@ module Late
621
621
  end
622
622
 
623
623
  # Unhide comment
624
- # Unhide a previously hidden comment. Supported by Facebook, Instagram, and Threads.
624
+ # Unhide a previously hidden comment. Supported by Facebook, Instagram, Threads, and X/Twitter.
625
625
  # @param post_id [String]
626
626
  # @param comment_id [String]
627
627
  # @param account_id [String]