@getlatedev/node 0.1.11 → 0.1.13

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.
package/src/client.ts CHANGED
@@ -6,6 +6,8 @@ import {
6
6
  connectBlueskyCredentials,
7
7
  createAccountGroup,
8
8
  createApiKey,
9
+ createGoogleBusinessMedia,
10
+ createGoogleBusinessPlaceAction,
9
11
  createInviteToken,
10
12
  createPost,
11
13
  createProfile,
@@ -14,6 +16,8 @@ import {
14
16
  deleteAccount,
15
17
  deleteAccountGroup,
16
18
  deleteApiKey,
19
+ deleteGoogleBusinessMedia,
20
+ deleteGoogleBusinessPlaceAction,
17
21
  deleteInboxComment,
18
22
  deleteInboxReviewReply,
19
23
  deletePost,
@@ -34,7 +38,9 @@ import {
34
38
  getFacebookPages,
35
39
  getFollowerStats,
36
40
  getGmbLocations,
41
+ getGoogleBusinessAttributes,
37
42
  getGoogleBusinessFoodMenus,
43
+ getGoogleBusinessLocationDetails,
38
44
  getGoogleBusinessReviews,
39
45
  getInboxConversation,
40
46
  getInboxConversationMessages,
@@ -69,6 +75,8 @@ import {
69
75
  listApiKeys,
70
76
  listFacebookPages,
71
77
  listGoogleBusinessLocations,
78
+ listGoogleBusinessMedia,
79
+ listGoogleBusinessPlaceActions,
72
80
  listInboxComments,
73
81
  listInboxConversations,
74
82
  listInboxReviews,
@@ -99,7 +107,9 @@ import {
99
107
  updateAccountGroup,
100
108
  updateFacebookPage,
101
109
  updateGmbLocation,
110
+ updateGoogleBusinessAttributes,
102
111
  updateGoogleBusinessFoodMenus,
112
+ updateGoogleBusinessLocationDetails,
103
113
  updateInboxConversation,
104
114
  updateLinkedInOrganization,
105
115
  updatePinterestBoards,
@@ -346,6 +356,40 @@ export class Late {
346
356
  updateGoogleBusinessFoodMenus: updateGoogleBusinessFoodMenus,
347
357
  };
348
358
 
359
+ /**
360
+ * gmblocationdetails API
361
+ */
362
+ gmblocationdetails = {
363
+ getGoogleBusinessLocationDetails: getGoogleBusinessLocationDetails,
364
+ updateGoogleBusinessLocationDetails: updateGoogleBusinessLocationDetails,
365
+ };
366
+
367
+ /**
368
+ * gmbmedia API
369
+ */
370
+ gmbmedia = {
371
+ listGoogleBusinessMedia: listGoogleBusinessMedia,
372
+ createGoogleBusinessMedia: createGoogleBusinessMedia,
373
+ deleteGoogleBusinessMedia: deleteGoogleBusinessMedia,
374
+ };
375
+
376
+ /**
377
+ * gmbattributes API
378
+ */
379
+ gmbattributes = {
380
+ getGoogleBusinessAttributes: getGoogleBusinessAttributes,
381
+ updateGoogleBusinessAttributes: updateGoogleBusinessAttributes,
382
+ };
383
+
384
+ /**
385
+ * gmbplaceactions API
386
+ */
387
+ gmbplaceactions = {
388
+ listGoogleBusinessPlaceActions: listGoogleBusinessPlaceActions,
389
+ createGoogleBusinessPlaceAction: createGoogleBusinessPlaceAction,
390
+ deleteGoogleBusinessPlaceAction: deleteGoogleBusinessPlaceAction,
391
+ };
392
+
349
393
  /**
350
394
  * Queue API - Manage posting queue
351
395
  */
@@ -1,7 +1,7 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
2
 
3
3
  import { createClient, createConfig, type OptionsLegacyParser, formDataBodySerializer } from '@hey-api/client-fetch';
4
- import type { DownloadYouTubeVideoData, DownloadYouTubeVideoError, DownloadYouTubeVideoResponse, GetYouTubeTranscriptData, GetYouTubeTranscriptError, GetYouTubeTranscriptResponse, DownloadInstagramMediaData, DownloadInstagramMediaError, DownloadInstagramMediaResponse, CheckInstagramHashtagsData, CheckInstagramHashtagsError, CheckInstagramHashtagsResponse, DownloadTikTokVideoData, DownloadTikTokVideoError, DownloadTikTokVideoResponse, DownloadTwitterMediaData, DownloadTwitterMediaError, DownloadTwitterMediaResponse, DownloadFacebookVideoData, DownloadFacebookVideoError, DownloadFacebookVideoResponse, DownloadLinkedInVideoData, DownloadLinkedInVideoError, DownloadLinkedInVideoResponse, DownloadBlueskyMediaData, DownloadBlueskyMediaError, DownloadBlueskyMediaResponse, GetAnalyticsData, GetAnalyticsError, GetAnalyticsResponse, GetYouTubeDailyViewsData, GetYouTubeDailyViewsError, GetYouTubeDailyViewsResponse, ListAccountGroupsError, ListAccountGroupsResponse, CreateAccountGroupData, CreateAccountGroupError, CreateAccountGroupResponse, UpdateAccountGroupData, UpdateAccountGroupError, UpdateAccountGroupResponse, DeleteAccountGroupData, DeleteAccountGroupError, DeleteAccountGroupResponse, GetMediaPresignedUrlData, GetMediaPresignedUrlError, GetMediaPresignedUrlResponse, SearchRedditData, SearchRedditError, SearchRedditResponse, GetRedditFeedData, GetRedditFeedError, GetRedditFeedResponse, GetUsageStatsError, GetUsageStatsResponse, ListPostsData, ListPostsError, ListPostsResponse, CreatePostData, CreatePostError, CreatePostResponse, GetPostData, GetPostError, GetPostResponse, UpdatePostData, UpdatePostError, UpdatePostResponse, DeletePostData, DeletePostError, DeletePostResponse, BulkUploadPostsData, BulkUploadPostsError, BulkUploadPostsResponse, RetryPostData, RetryPostError, RetryPostResponse, ListUsersError, ListUsersResponse, GetUserData, GetUserError, GetUserResponse, ListProfilesData, ListProfilesError, ListProfilesResponse, CreateProfileData, CreateProfileError, CreateProfileResponse, GetProfileData, GetProfileError, GetProfileResponse, UpdateProfileData, UpdateProfileError, UpdateProfileResponse, DeleteProfileData, DeleteProfileError, DeleteProfileResponse, ListAccountsData, ListAccountsError, ListAccountsResponse, GetFollowerStatsData, GetFollowerStatsError, GetFollowerStatsResponse, UpdateAccountData, UpdateAccountError, UpdateAccountResponse, DeleteAccountData, DeleteAccountError, DeleteAccountResponse, GetAllAccountsHealthData, GetAllAccountsHealthError, GetAllAccountsHealthResponse, GetAccountHealthData, GetAccountHealthError, GetAccountHealthResponse, ListApiKeysError, ListApiKeysResponse, CreateApiKeyData, CreateApiKeyError, CreateApiKeyResponse, DeleteApiKeyData, DeleteApiKeyError, DeleteApiKeyResponse, CreateInviteTokenData, CreateInviteTokenError, CreateInviteTokenResponse, GetConnectUrlData, GetConnectUrlError, GetConnectUrlResponse, HandleOAuthCallbackData, HandleOAuthCallbackError, HandleOAuthCallbackResponse, ListFacebookPagesData, ListFacebookPagesError, ListFacebookPagesResponse, SelectFacebookPageData, SelectFacebookPageError, SelectFacebookPageResponse, ListGoogleBusinessLocationsData, ListGoogleBusinessLocationsError, ListGoogleBusinessLocationsResponse, SelectGoogleBusinessLocationData, SelectGoogleBusinessLocationError, SelectGoogleBusinessLocationResponse, GetGoogleBusinessReviewsData, GetGoogleBusinessReviewsError, GetGoogleBusinessReviewsResponse, GetGoogleBusinessFoodMenusData, GetGoogleBusinessFoodMenusError, GetGoogleBusinessFoodMenusResponse, UpdateGoogleBusinessFoodMenusData, UpdateGoogleBusinessFoodMenusError, UpdateGoogleBusinessFoodMenusResponse, GetPendingOAuthDataData, GetPendingOAuthDataError, GetPendingOAuthDataResponse, ListLinkedInOrganizationsData, ListLinkedInOrganizationsError, ListLinkedInOrganizationsResponse, SelectLinkedInOrganizationData, SelectLinkedInOrganizationError, SelectLinkedInOrganizationResponse, ListPinterestBoardsForSelectionData, ListPinterestBoardsForSelectionError, ListPinterestBoardsForSelectionResponse, SelectPinterestBoardData, SelectPinterestBoardError, SelectPinterestBoardResponse, ListSnapchatProfilesData, ListSnapchatProfilesError, ListSnapchatProfilesResponse, SelectSnapchatProfileData, SelectSnapchatProfileError, SelectSnapchatProfileResponse, ConnectBlueskyCredentialsData, ConnectBlueskyCredentialsError, ConnectBlueskyCredentialsResponse, GetTelegramConnectStatusData, GetTelegramConnectStatusError, GetTelegramConnectStatusResponse, InitiateTelegramConnectData, InitiateTelegramConnectError, InitiateTelegramConnectResponse, CompleteTelegramConnectData, CompleteTelegramConnectError, CompleteTelegramConnectResponse, GetFacebookPagesData, GetFacebookPagesError, GetFacebookPagesResponse, UpdateFacebookPageData, UpdateFacebookPageError, UpdateFacebookPageResponse, GetLinkedInOrganizationsData, GetLinkedInOrganizationsError, GetLinkedInOrganizationsResponse, GetLinkedInAggregateAnalyticsData, GetLinkedInAggregateAnalyticsError, GetLinkedInAggregateAnalyticsResponse, GetLinkedInPostAnalyticsData, GetLinkedInPostAnalyticsError, GetLinkedInPostAnalyticsResponse, UpdateLinkedInOrganizationData, UpdateLinkedInOrganizationError, UpdateLinkedInOrganizationResponse, GetLinkedInMentionsData, GetLinkedInMentionsError, GetLinkedInMentionsResponse, GetPinterestBoardsData, GetPinterestBoardsError, GetPinterestBoardsResponse, UpdatePinterestBoardsData, UpdatePinterestBoardsError, UpdatePinterestBoardsResponse, GetGmbLocationsData, GetGmbLocationsError, GetGmbLocationsResponse, UpdateGmbLocationData, UpdateGmbLocationError, UpdateGmbLocationResponse, GetRedditSubredditsData, GetRedditSubredditsError, GetRedditSubredditsResponse, UpdateRedditSubredditsData, UpdateRedditSubredditsError, UpdateRedditSubredditsResponse, ListQueueSlotsData, ListQueueSlotsError, ListQueueSlotsResponse, CreateQueueSlotData, CreateQueueSlotError, CreateQueueSlotResponse, UpdateQueueSlotData, UpdateQueueSlotError, UpdateQueueSlotResponse, DeleteQueueSlotData, DeleteQueueSlotError, DeleteQueueSlotResponse, PreviewQueueData, PreviewQueueError, PreviewQueueResponse, GetNextQueueSlotData, GetNextQueueSlotError, GetNextQueueSlotResponse, GetWebhookSettingsError, GetWebhookSettingsResponse, CreateWebhookSettingsData, CreateWebhookSettingsError, CreateWebhookSettingsResponse, UpdateWebhookSettingsData, UpdateWebhookSettingsError, UpdateWebhookSettingsResponse, DeleteWebhookSettingsData, DeleteWebhookSettingsError, DeleteWebhookSettingsResponse, TestWebhookData, TestWebhookError, TestWebhookResponse, GetWebhookLogsData, GetWebhookLogsError, GetWebhookLogsResponse, ListLogsData, ListLogsError, ListLogsResponse, GetLogData, GetLogError, GetLogResponse, GetPostLogsData, GetPostLogsError, GetPostLogsResponse, ListInboxConversationsData, ListInboxConversationsError, ListInboxConversationsResponse, GetInboxConversationData, GetInboxConversationError, GetInboxConversationResponse, UpdateInboxConversationData, UpdateInboxConversationError, UpdateInboxConversationResponse, GetInboxConversationMessagesData, GetInboxConversationMessagesError, GetInboxConversationMessagesResponse, SendInboxMessageData, SendInboxMessageError, SendInboxMessageResponse, ListInboxCommentsData, ListInboxCommentsError, ListInboxCommentsResponse, GetInboxPostCommentsData, GetInboxPostCommentsError, GetInboxPostCommentsResponse, ReplyToInboxPostData, ReplyToInboxPostError, ReplyToInboxPostResponse, DeleteInboxCommentData, DeleteInboxCommentError, DeleteInboxCommentResponse, HideInboxCommentData, HideInboxCommentError, HideInboxCommentResponse, UnhideInboxCommentData, UnhideInboxCommentError, UnhideInboxCommentResponse, LikeInboxCommentData, LikeInboxCommentError, LikeInboxCommentResponse, UnlikeInboxCommentData, UnlikeInboxCommentError, UnlikeInboxCommentResponse, SendPrivateReplyToCommentData, SendPrivateReplyToCommentError, SendPrivateReplyToCommentResponse, ListInboxReviewsData, ListInboxReviewsError, ListInboxReviewsResponse, ReplyToInboxReviewData, ReplyToInboxReviewError, ReplyToInboxReviewResponse, DeleteInboxReviewReplyData, DeleteInboxReviewReplyError, DeleteInboxReviewReplyResponse } from './types.gen';
4
+ import type { DownloadYouTubeVideoData, DownloadYouTubeVideoError, DownloadYouTubeVideoResponse, GetYouTubeTranscriptData, GetYouTubeTranscriptError, GetYouTubeTranscriptResponse, DownloadInstagramMediaData, DownloadInstagramMediaError, DownloadInstagramMediaResponse, CheckInstagramHashtagsData, CheckInstagramHashtagsError, CheckInstagramHashtagsResponse, DownloadTikTokVideoData, DownloadTikTokVideoError, DownloadTikTokVideoResponse, DownloadTwitterMediaData, DownloadTwitterMediaError, DownloadTwitterMediaResponse, DownloadFacebookVideoData, DownloadFacebookVideoError, DownloadFacebookVideoResponse, DownloadLinkedInVideoData, DownloadLinkedInVideoError, DownloadLinkedInVideoResponse, DownloadBlueskyMediaData, DownloadBlueskyMediaError, DownloadBlueskyMediaResponse, GetAnalyticsData, GetAnalyticsError, GetAnalyticsResponse, GetYouTubeDailyViewsData, GetYouTubeDailyViewsError, GetYouTubeDailyViewsResponse, ListAccountGroupsError, ListAccountGroupsResponse, CreateAccountGroupData, CreateAccountGroupError, CreateAccountGroupResponse, UpdateAccountGroupData, UpdateAccountGroupError, UpdateAccountGroupResponse, DeleteAccountGroupData, DeleteAccountGroupError, DeleteAccountGroupResponse, GetMediaPresignedUrlData, GetMediaPresignedUrlError, GetMediaPresignedUrlResponse, SearchRedditData, SearchRedditError, SearchRedditResponse, GetRedditFeedData, GetRedditFeedError, GetRedditFeedResponse, GetUsageStatsError, GetUsageStatsResponse, ListPostsData, ListPostsError, ListPostsResponse, CreatePostData, CreatePostError, CreatePostResponse, GetPostData, GetPostError, GetPostResponse, UpdatePostData, UpdatePostError, UpdatePostResponse, DeletePostData, DeletePostError, DeletePostResponse, BulkUploadPostsData, BulkUploadPostsError, BulkUploadPostsResponse, RetryPostData, RetryPostError, RetryPostResponse, ListUsersError, ListUsersResponse, GetUserData, GetUserError, GetUserResponse, ListProfilesData, ListProfilesError, ListProfilesResponse, CreateProfileData, CreateProfileError, CreateProfileResponse, GetProfileData, GetProfileError, GetProfileResponse, UpdateProfileData, UpdateProfileError, UpdateProfileResponse, DeleteProfileData, DeleteProfileError, DeleteProfileResponse, ListAccountsData, ListAccountsError, ListAccountsResponse, GetFollowerStatsData, GetFollowerStatsError, GetFollowerStatsResponse, UpdateAccountData, UpdateAccountError, UpdateAccountResponse, DeleteAccountData, DeleteAccountError, DeleteAccountResponse, GetAllAccountsHealthData, GetAllAccountsHealthError, GetAllAccountsHealthResponse, GetAccountHealthData, GetAccountHealthError, GetAccountHealthResponse, ListApiKeysError, ListApiKeysResponse, CreateApiKeyData, CreateApiKeyError, CreateApiKeyResponse, DeleteApiKeyData, DeleteApiKeyError, DeleteApiKeyResponse, CreateInviteTokenData, CreateInviteTokenError, CreateInviteTokenResponse, GetConnectUrlData, GetConnectUrlError, GetConnectUrlResponse, HandleOAuthCallbackData, HandleOAuthCallbackError, HandleOAuthCallbackResponse, ListFacebookPagesData, ListFacebookPagesError, ListFacebookPagesResponse, SelectFacebookPageData, SelectFacebookPageError, SelectFacebookPageResponse, ListGoogleBusinessLocationsData, ListGoogleBusinessLocationsError, ListGoogleBusinessLocationsResponse, SelectGoogleBusinessLocationData, SelectGoogleBusinessLocationError, SelectGoogleBusinessLocationResponse, GetGoogleBusinessReviewsData, GetGoogleBusinessReviewsError, GetGoogleBusinessReviewsResponse, GetGoogleBusinessFoodMenusData, GetGoogleBusinessFoodMenusError, GetGoogleBusinessFoodMenusResponse, UpdateGoogleBusinessFoodMenusData, UpdateGoogleBusinessFoodMenusError, UpdateGoogleBusinessFoodMenusResponse, GetGoogleBusinessLocationDetailsData, GetGoogleBusinessLocationDetailsError, GetGoogleBusinessLocationDetailsResponse, UpdateGoogleBusinessLocationDetailsData, UpdateGoogleBusinessLocationDetailsError, UpdateGoogleBusinessLocationDetailsResponse, ListGoogleBusinessMediaData, ListGoogleBusinessMediaError, ListGoogleBusinessMediaResponse, CreateGoogleBusinessMediaData, CreateGoogleBusinessMediaError, CreateGoogleBusinessMediaResponse, DeleteGoogleBusinessMediaData, DeleteGoogleBusinessMediaError, DeleteGoogleBusinessMediaResponse, GetGoogleBusinessAttributesData, GetGoogleBusinessAttributesError, GetGoogleBusinessAttributesResponse, UpdateGoogleBusinessAttributesData, UpdateGoogleBusinessAttributesError, UpdateGoogleBusinessAttributesResponse, ListGoogleBusinessPlaceActionsData, ListGoogleBusinessPlaceActionsError, ListGoogleBusinessPlaceActionsResponse, CreateGoogleBusinessPlaceActionData, CreateGoogleBusinessPlaceActionError, CreateGoogleBusinessPlaceActionResponse, DeleteGoogleBusinessPlaceActionData, DeleteGoogleBusinessPlaceActionError, DeleteGoogleBusinessPlaceActionResponse, GetPendingOAuthDataData, GetPendingOAuthDataError, GetPendingOAuthDataResponse, ListLinkedInOrganizationsData, ListLinkedInOrganizationsError, ListLinkedInOrganizationsResponse, SelectLinkedInOrganizationData, SelectLinkedInOrganizationError, SelectLinkedInOrganizationResponse, ListPinterestBoardsForSelectionData, ListPinterestBoardsForSelectionError, ListPinterestBoardsForSelectionResponse, SelectPinterestBoardData, SelectPinterestBoardError, SelectPinterestBoardResponse, ListSnapchatProfilesData, ListSnapchatProfilesError, ListSnapchatProfilesResponse, SelectSnapchatProfileData, SelectSnapchatProfileError, SelectSnapchatProfileResponse, ConnectBlueskyCredentialsData, ConnectBlueskyCredentialsError, ConnectBlueskyCredentialsResponse, GetTelegramConnectStatusData, GetTelegramConnectStatusError, GetTelegramConnectStatusResponse, InitiateTelegramConnectData, InitiateTelegramConnectError, InitiateTelegramConnectResponse, CompleteTelegramConnectData, CompleteTelegramConnectError, CompleteTelegramConnectResponse, GetFacebookPagesData, GetFacebookPagesError, GetFacebookPagesResponse, UpdateFacebookPageData, UpdateFacebookPageError, UpdateFacebookPageResponse, GetLinkedInOrganizationsData, GetLinkedInOrganizationsError, GetLinkedInOrganizationsResponse, GetLinkedInAggregateAnalyticsData, GetLinkedInAggregateAnalyticsError, GetLinkedInAggregateAnalyticsResponse, GetLinkedInPostAnalyticsData, GetLinkedInPostAnalyticsError, GetLinkedInPostAnalyticsResponse, UpdateLinkedInOrganizationData, UpdateLinkedInOrganizationError, UpdateLinkedInOrganizationResponse, GetLinkedInMentionsData, GetLinkedInMentionsError, GetLinkedInMentionsResponse, GetPinterestBoardsData, GetPinterestBoardsError, GetPinterestBoardsResponse, UpdatePinterestBoardsData, UpdatePinterestBoardsError, UpdatePinterestBoardsResponse, GetGmbLocationsData, GetGmbLocationsError, GetGmbLocationsResponse, UpdateGmbLocationData, UpdateGmbLocationError, UpdateGmbLocationResponse, GetRedditSubredditsData, GetRedditSubredditsError, GetRedditSubredditsResponse, UpdateRedditSubredditsData, UpdateRedditSubredditsError, UpdateRedditSubredditsResponse, ListQueueSlotsData, ListQueueSlotsError, ListQueueSlotsResponse, CreateQueueSlotData, CreateQueueSlotError, CreateQueueSlotResponse, UpdateQueueSlotData, UpdateQueueSlotError, UpdateQueueSlotResponse, DeleteQueueSlotData, DeleteQueueSlotError, DeleteQueueSlotResponse, PreviewQueueData, PreviewQueueError, PreviewQueueResponse, GetNextQueueSlotData, GetNextQueueSlotError, GetNextQueueSlotResponse, GetWebhookSettingsError, GetWebhookSettingsResponse, CreateWebhookSettingsData, CreateWebhookSettingsError, CreateWebhookSettingsResponse, UpdateWebhookSettingsData, UpdateWebhookSettingsError, UpdateWebhookSettingsResponse, DeleteWebhookSettingsData, DeleteWebhookSettingsError, DeleteWebhookSettingsResponse, TestWebhookData, TestWebhookError, TestWebhookResponse, GetWebhookLogsData, GetWebhookLogsError, GetWebhookLogsResponse, ListLogsData, ListLogsError, ListLogsResponse, GetLogData, GetLogError, GetLogResponse, GetPostLogsData, GetPostLogsError, GetPostLogsResponse, ListInboxConversationsData, ListInboxConversationsError, ListInboxConversationsResponse, GetInboxConversationData, GetInboxConversationError, GetInboxConversationResponse, UpdateInboxConversationData, UpdateInboxConversationError, UpdateInboxConversationResponse, GetInboxConversationMessagesData, GetInboxConversationMessagesError, GetInboxConversationMessagesResponse, SendInboxMessageData, SendInboxMessageError, SendInboxMessageResponse, ListInboxCommentsData, ListInboxCommentsError, ListInboxCommentsResponse, GetInboxPostCommentsData, GetInboxPostCommentsError, GetInboxPostCommentsResponse, ReplyToInboxPostData, ReplyToInboxPostError, ReplyToInboxPostResponse, DeleteInboxCommentData, DeleteInboxCommentError, DeleteInboxCommentResponse, HideInboxCommentData, HideInboxCommentError, HideInboxCommentResponse, UnhideInboxCommentData, UnhideInboxCommentError, UnhideInboxCommentResponse, LikeInboxCommentData, LikeInboxCommentError, LikeInboxCommentResponse, UnlikeInboxCommentData, UnlikeInboxCommentError, UnlikeInboxCommentResponse, SendPrivateReplyToCommentData, SendPrivateReplyToCommentError, SendPrivateReplyToCommentResponse, ListInboxReviewsData, ListInboxReviewsError, ListInboxReviewsResponse, ReplyToInboxReviewData, ReplyToInboxReviewError, ReplyToInboxReviewResponse, DeleteInboxReviewReplyData, DeleteInboxReviewReplyError, DeleteInboxReviewReplyResponse } from './types.gen';
5
5
 
6
6
  export const client = createClient(createConfig());
7
7
 
@@ -883,6 +883,169 @@ export const updateGoogleBusinessFoodMenus = <ThrowOnError extends boolean = fal
883
883
  });
884
884
  };
885
885
 
886
+ /**
887
+ * Get Google Business Profile location details
888
+ * Fetches detailed location information including opening hours, special hours,
889
+ * business description, phone numbers, website, categories, and more.
890
+ *
891
+ * Use the `readMask` query parameter to request specific fields.
892
+ *
893
+ */
894
+ export const getGoogleBusinessLocationDetails = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetGoogleBusinessLocationDetailsData, ThrowOnError>) => {
895
+ return (options?.client ?? client).get<GetGoogleBusinessLocationDetailsResponse, GetGoogleBusinessLocationDetailsError, ThrowOnError>({
896
+ ...options,
897
+ url: '/v1/accounts/{accountId}/gmb-location-details'
898
+ });
899
+ };
900
+
901
+ /**
902
+ * Update Google Business Profile location details
903
+ * Updates location details such as opening hours, special hours, business description, phone, and website.
904
+ *
905
+ * The `updateMask` field is required and specifies which fields to update.
906
+ *
907
+ * Common update masks:
908
+ * - `regularHours` - Update opening hours
909
+ * - `specialHours` - Update holiday/special hours
910
+ * - `profile.description` - Update business description
911
+ * - `websiteUri` - Update website URL
912
+ * - `phoneNumbers` - Update phone numbers
913
+ * - `regularHours,specialHours` - Update both at once
914
+ *
915
+ */
916
+ export const updateGoogleBusinessLocationDetails = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateGoogleBusinessLocationDetailsData, ThrowOnError>) => {
917
+ return (options?.client ?? client).put<UpdateGoogleBusinessLocationDetailsResponse, UpdateGoogleBusinessLocationDetailsError, ThrowOnError>({
918
+ ...options,
919
+ url: '/v1/accounts/{accountId}/gmb-location-details'
920
+ });
921
+ };
922
+
923
+ /**
924
+ * List Google Business Profile media (photos)
925
+ * Lists media items (photos) for a Google Business Profile location.
926
+ * Returns photo URLs, descriptions, categories, and metadata.
927
+ *
928
+ */
929
+ export const listGoogleBusinessMedia = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ListGoogleBusinessMediaData, ThrowOnError>) => {
930
+ return (options?.client ?? client).get<ListGoogleBusinessMediaResponse, ListGoogleBusinessMediaError, ThrowOnError>({
931
+ ...options,
932
+ url: '/v1/accounts/{accountId}/gmb-media'
933
+ });
934
+ };
935
+
936
+ /**
937
+ * Upload a photo to Google Business Profile
938
+ * Creates a media item (photo) for a location from a publicly accessible URL.
939
+ *
940
+ * Categories determine where the photo appears:
941
+ * - `COVER` - Cover photo
942
+ * - `PROFILE` - Profile photo
943
+ * - `LOGO` - Business logo
944
+ * - `EXTERIOR` - Exterior shots
945
+ * - `INTERIOR` - Interior shots
946
+ * - `FOOD_AND_DRINK` - Food and drink photos
947
+ * - `MENU` - Menu photos
948
+ * - `PRODUCT` - Product photos
949
+ * - `TEAMS` - Team/staff photos
950
+ * - `ADDITIONAL` - Other photos
951
+ *
952
+ */
953
+ export const createGoogleBusinessMedia = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<CreateGoogleBusinessMediaData, ThrowOnError>) => {
954
+ return (options?.client ?? client).post<CreateGoogleBusinessMediaResponse, CreateGoogleBusinessMediaError, ThrowOnError>({
955
+ ...options,
956
+ url: '/v1/accounts/{accountId}/gmb-media'
957
+ });
958
+ };
959
+
960
+ /**
961
+ * Delete a photo from Google Business Profile
962
+ */
963
+ export const deleteGoogleBusinessMedia = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<DeleteGoogleBusinessMediaData, ThrowOnError>) => {
964
+ return (options?.client ?? client).delete<DeleteGoogleBusinessMediaResponse, DeleteGoogleBusinessMediaError, ThrowOnError>({
965
+ ...options,
966
+ url: '/v1/accounts/{accountId}/gmb-media'
967
+ });
968
+ };
969
+
970
+ /**
971
+ * Get Google Business Profile location attributes
972
+ * Fetches location attributes such as amenities, services, and accessibility features.
973
+ *
974
+ * Common attributes for restaurants include:
975
+ * - Dining options: has_dine_in, has_takeout, has_delivery
976
+ * - Amenities: has_outdoor_seating, has_wifi, has_parking
977
+ * - Accessibility: has_wheelchair_accessible_entrance
978
+ * - Payments: pay_credit_card_types_accepted
979
+ *
980
+ * Available attributes vary by business category.
981
+ *
982
+ */
983
+ export const getGoogleBusinessAttributes = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetGoogleBusinessAttributesData, ThrowOnError>) => {
984
+ return (options?.client ?? client).get<GetGoogleBusinessAttributesResponse, GetGoogleBusinessAttributesError, ThrowOnError>({
985
+ ...options,
986
+ url: '/v1/accounts/{accountId}/gmb-attributes'
987
+ });
988
+ };
989
+
990
+ /**
991
+ * Update Google Business Profile location attributes
992
+ * Updates location attributes (amenities, services, etc.).
993
+ *
994
+ * The `attributeMask` specifies which attributes to update (comma-separated).
995
+ *
996
+ */
997
+ export const updateGoogleBusinessAttributes = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateGoogleBusinessAttributesData, ThrowOnError>) => {
998
+ return (options?.client ?? client).put<UpdateGoogleBusinessAttributesResponse, UpdateGoogleBusinessAttributesError, ThrowOnError>({
999
+ ...options,
1000
+ url: '/v1/accounts/{accountId}/gmb-attributes'
1001
+ });
1002
+ };
1003
+
1004
+ /**
1005
+ * List place action links (booking, ordering, reservations)
1006
+ * Lists place action links for a Google Business Profile location.
1007
+ *
1008
+ * Place actions are the booking, ordering, and reservation buttons that appear on your listing.
1009
+ *
1010
+ */
1011
+ export const listGoogleBusinessPlaceActions = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ListGoogleBusinessPlaceActionsData, ThrowOnError>) => {
1012
+ return (options?.client ?? client).get<ListGoogleBusinessPlaceActionsResponse, ListGoogleBusinessPlaceActionsError, ThrowOnError>({
1013
+ ...options,
1014
+ url: '/v1/accounts/{accountId}/gmb-place-actions'
1015
+ });
1016
+ };
1017
+
1018
+ /**
1019
+ * Create a place action link (booking, ordering, reservation)
1020
+ * Creates a place action link for a location.
1021
+ *
1022
+ * Available action types:
1023
+ * - `APPOINTMENT` - Booking an appointment
1024
+ * - `ONLINE_APPOINTMENT` - Booking an online appointment
1025
+ * - `DINING_RESERVATION` - Making a dining reservation (OpenTable, Resy, etc.)
1026
+ * - `FOOD_ORDERING` - Ordering food for delivery and/or takeout (DoorDash, Uber Eats, etc.)
1027
+ * - `FOOD_DELIVERY` - Ordering food for delivery only
1028
+ * - `FOOD_TAKEOUT` - Ordering food for takeout only
1029
+ * - `SHOP_ONLINE` - Shopping with delivery and/or pickup
1030
+ *
1031
+ */
1032
+ export const createGoogleBusinessPlaceAction = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<CreateGoogleBusinessPlaceActionData, ThrowOnError>) => {
1033
+ return (options?.client ?? client).post<CreateGoogleBusinessPlaceActionResponse, CreateGoogleBusinessPlaceActionError, ThrowOnError>({
1034
+ ...options,
1035
+ url: '/v1/accounts/{accountId}/gmb-place-actions'
1036
+ });
1037
+ };
1038
+
1039
+ /**
1040
+ * Delete a place action link
1041
+ */
1042
+ export const deleteGoogleBusinessPlaceAction = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<DeleteGoogleBusinessPlaceActionData, ThrowOnError>) => {
1043
+ return (options?.client ?? client).delete<DeleteGoogleBusinessPlaceActionResponse, DeleteGoogleBusinessPlaceActionError, ThrowOnError>({
1044
+ ...options,
1045
+ url: '/v1/accounts/{accountId}/gmb-place-actions'
1046
+ });
1047
+ };
1048
+
886
1049
  /**
887
1050
  * Fetch pending OAuth selection data (Headless Mode)
888
1051
  * **Fetch Pending OAuth Data for Headless Mode**
@@ -665,6 +665,9 @@ export type PlatformTarget = {
665
665
  */
666
666
  platform?: string;
667
667
  accountId?: (string | SocialAccount);
668
+ /**
669
+ * Platform-specific text override. When set, this content is used instead of the top-level post content for this platform. Useful for tailoring captions per platform (e.g. keeping tweets under 280 characters).
670
+ */
668
671
  customContent?: string;
669
672
  customMedia?: Array<MediaItem>;
670
673
  /**
@@ -2302,6 +2305,9 @@ export type CreatePostData = {
2302
2305
  platforms?: Array<{
2303
2306
  platform?: string;
2304
2307
  accountId?: string;
2308
+ /**
2309
+ * Platform-specific text override. When set, this content is used instead of the top-level post content for this platform. Useful for tailoring captions per platform (e.g. keeping tweets under 280 characters).
2310
+ */
2305
2311
  customContent?: string;
2306
2312
  customMedia?: Array<{
2307
2313
  type?: 'image' | 'video' | 'gif' | 'document';
@@ -3312,6 +3318,369 @@ export type UpdateGoogleBusinessFoodMenusError = (ErrorResponse | {
3312
3318
  error?: string;
3313
3319
  });
3314
3320
 
3321
+ export type GetGoogleBusinessLocationDetailsData = {
3322
+ path: {
3323
+ /**
3324
+ * The Late account ID (from /v1/accounts)
3325
+ */
3326
+ accountId: string;
3327
+ };
3328
+ query?: {
3329
+ /**
3330
+ * Comma-separated fields to return. Defaults to common fields.
3331
+ * Available: name, title, phoneNumbers, categories, storefrontAddress, websiteUri,
3332
+ * regularHours, specialHours, serviceArea, profile, openInfo, metadata, moreHours
3333
+ *
3334
+ */
3335
+ readMask?: string;
3336
+ };
3337
+ };
3338
+
3339
+ export type GetGoogleBusinessLocationDetailsResponse = ({
3340
+ success?: boolean;
3341
+ accountId?: string;
3342
+ locationId?: string;
3343
+ /**
3344
+ * Business name
3345
+ */
3346
+ title?: string;
3347
+ regularHours?: {
3348
+ periods?: Array<{
3349
+ openDay?: 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
3350
+ /**
3351
+ * Opening time in HH:MM format
3352
+ */
3353
+ openTime?: string;
3354
+ closeDay?: string;
3355
+ closeTime?: string;
3356
+ }>;
3357
+ };
3358
+ specialHours?: {
3359
+ specialHourPeriods?: Array<{
3360
+ startDate?: {
3361
+ year?: number;
3362
+ month?: number;
3363
+ day?: number;
3364
+ };
3365
+ endDate?: {
3366
+ year?: number;
3367
+ month?: number;
3368
+ day?: number;
3369
+ };
3370
+ openTime?: string;
3371
+ closeTime?: string;
3372
+ closed?: boolean;
3373
+ }>;
3374
+ };
3375
+ profile?: {
3376
+ /**
3377
+ * Business description
3378
+ */
3379
+ description?: string;
3380
+ };
3381
+ websiteUri?: string;
3382
+ phoneNumbers?: {
3383
+ primaryPhone?: string;
3384
+ additionalPhones?: Array<(string)>;
3385
+ };
3386
+ });
3387
+
3388
+ export type GetGoogleBusinessLocationDetailsError = (ErrorResponse | {
3389
+ error?: string;
3390
+ });
3391
+
3392
+ export type UpdateGoogleBusinessLocationDetailsData = {
3393
+ body: {
3394
+ /**
3395
+ * Required. Comma-separated fields to update (e.g. 'regularHours', 'specialHours', 'profile.description')
3396
+ */
3397
+ updateMask: string;
3398
+ regularHours?: {
3399
+ periods?: Array<{
3400
+ openDay?: string;
3401
+ openTime?: string;
3402
+ closeDay?: string;
3403
+ closeTime?: string;
3404
+ }>;
3405
+ };
3406
+ specialHours?: {
3407
+ specialHourPeriods?: Array<{
3408
+ startDate?: {
3409
+ year?: number;
3410
+ month?: number;
3411
+ day?: number;
3412
+ };
3413
+ endDate?: {
3414
+ year?: number;
3415
+ month?: number;
3416
+ day?: number;
3417
+ };
3418
+ openTime?: string;
3419
+ closeTime?: string;
3420
+ closed?: boolean;
3421
+ }>;
3422
+ };
3423
+ profile?: {
3424
+ description?: string;
3425
+ };
3426
+ websiteUri?: string;
3427
+ phoneNumbers?: {
3428
+ primaryPhone?: string;
3429
+ additionalPhones?: Array<(string)>;
3430
+ };
3431
+ };
3432
+ path: {
3433
+ /**
3434
+ * The Late account ID (from /v1/accounts)
3435
+ */
3436
+ accountId: string;
3437
+ };
3438
+ };
3439
+
3440
+ export type UpdateGoogleBusinessLocationDetailsResponse = ({
3441
+ success?: boolean;
3442
+ accountId?: string;
3443
+ locationId?: string;
3444
+ });
3445
+
3446
+ export type UpdateGoogleBusinessLocationDetailsError = (ErrorResponse | {
3447
+ error?: string;
3448
+ });
3449
+
3450
+ export type ListGoogleBusinessMediaData = {
3451
+ path: {
3452
+ accountId: string;
3453
+ };
3454
+ query?: {
3455
+ /**
3456
+ * Number of items to return (max 100)
3457
+ */
3458
+ pageSize?: number;
3459
+ /**
3460
+ * Pagination token from previous response
3461
+ */
3462
+ pageToken?: string;
3463
+ };
3464
+ };
3465
+
3466
+ export type ListGoogleBusinessMediaResponse = ({
3467
+ success?: boolean;
3468
+ accountId?: string;
3469
+ locationId?: string;
3470
+ mediaItems?: Array<{
3471
+ /**
3472
+ * Resource name
3473
+ */
3474
+ name?: string;
3475
+ mediaFormat?: 'PHOTO' | 'VIDEO';
3476
+ sourceUrl?: string;
3477
+ /**
3478
+ * Google-hosted URL
3479
+ */
3480
+ googleUrl?: string;
3481
+ thumbnailUrl?: string;
3482
+ description?: string;
3483
+ createTime?: string;
3484
+ locationAssociation?: {
3485
+ category?: string;
3486
+ };
3487
+ }>;
3488
+ nextPageToken?: string;
3489
+ totalMediaItemsCount?: number;
3490
+ });
3491
+
3492
+ export type ListGoogleBusinessMediaError = (ErrorResponse);
3493
+
3494
+ export type CreateGoogleBusinessMediaData = {
3495
+ body: {
3496
+ /**
3497
+ * Publicly accessible image URL
3498
+ */
3499
+ sourceUrl: string;
3500
+ mediaFormat?: 'PHOTO' | 'VIDEO';
3501
+ /**
3502
+ * Photo description
3503
+ */
3504
+ description?: string;
3505
+ /**
3506
+ * Where the photo appears on the listing
3507
+ */
3508
+ category?: 'COVER' | 'PROFILE' | 'LOGO' | 'EXTERIOR' | 'INTERIOR' | 'FOOD_AND_DRINK' | 'MENU' | 'PRODUCT' | 'TEAMS' | 'ADDITIONAL';
3509
+ };
3510
+ path: {
3511
+ accountId: string;
3512
+ };
3513
+ };
3514
+
3515
+ export type CreateGoogleBusinessMediaResponse = ({
3516
+ success?: boolean;
3517
+ name?: string;
3518
+ mediaFormat?: string;
3519
+ googleUrl?: string;
3520
+ });
3521
+
3522
+ export type CreateGoogleBusinessMediaError = (ErrorResponse);
3523
+
3524
+ export type DeleteGoogleBusinessMediaData = {
3525
+ path: {
3526
+ accountId: string;
3527
+ };
3528
+ query: {
3529
+ /**
3530
+ * The media item ID to delete
3531
+ */
3532
+ mediaId: string;
3533
+ };
3534
+ };
3535
+
3536
+ export type DeleteGoogleBusinessMediaResponse = ({
3537
+ success?: boolean;
3538
+ deleted?: boolean;
3539
+ mediaId?: string;
3540
+ });
3541
+
3542
+ export type DeleteGoogleBusinessMediaError = (ErrorResponse);
3543
+
3544
+ export type GetGoogleBusinessAttributesData = {
3545
+ path: {
3546
+ accountId: string;
3547
+ };
3548
+ };
3549
+
3550
+ export type GetGoogleBusinessAttributesResponse = ({
3551
+ success?: boolean;
3552
+ accountId?: string;
3553
+ locationId?: string;
3554
+ attributes?: Array<{
3555
+ /**
3556
+ * Attribute identifier (e.g. has_delivery)
3557
+ */
3558
+ name?: string;
3559
+ /**
3560
+ * Value type (BOOL, ENUM, URL, REPEATED_ENUM)
3561
+ */
3562
+ valueType?: string;
3563
+ values?: Array<unknown>;
3564
+ repeatedEnumValue?: {
3565
+ setValues?: Array<(string)>;
3566
+ unsetValues?: Array<(string)>;
3567
+ };
3568
+ }>;
3569
+ });
3570
+
3571
+ export type GetGoogleBusinessAttributesError = (ErrorResponse);
3572
+
3573
+ export type UpdateGoogleBusinessAttributesData = {
3574
+ body: {
3575
+ attributes: Array<{
3576
+ name?: string;
3577
+ values?: Array<unknown>;
3578
+ repeatedEnumValue?: {
3579
+ setValues?: Array<(string)>;
3580
+ unsetValues?: Array<(string)>;
3581
+ };
3582
+ }>;
3583
+ /**
3584
+ * Comma-separated attribute names to update (e.g. 'has_delivery,has_takeout')
3585
+ */
3586
+ attributeMask: string;
3587
+ };
3588
+ path: {
3589
+ accountId: string;
3590
+ };
3591
+ };
3592
+
3593
+ export type UpdateGoogleBusinessAttributesResponse = ({
3594
+ success?: boolean;
3595
+ accountId?: string;
3596
+ locationId?: string;
3597
+ attributes?: Array<{
3598
+ [key: string]: unknown;
3599
+ }>;
3600
+ });
3601
+
3602
+ export type UpdateGoogleBusinessAttributesError = (ErrorResponse);
3603
+
3604
+ export type ListGoogleBusinessPlaceActionsData = {
3605
+ path: {
3606
+ accountId: string;
3607
+ };
3608
+ query?: {
3609
+ pageSize?: number;
3610
+ pageToken?: string;
3611
+ };
3612
+ };
3613
+
3614
+ export type ListGoogleBusinessPlaceActionsResponse = ({
3615
+ success?: boolean;
3616
+ accountId?: string;
3617
+ locationId?: string;
3618
+ placeActionLinks?: Array<{
3619
+ /**
3620
+ * Resource name
3621
+ */
3622
+ name?: string;
3623
+ /**
3624
+ * Action URL
3625
+ */
3626
+ uri?: string;
3627
+ placeActionType?: string;
3628
+ createTime?: string;
3629
+ updateTime?: string;
3630
+ }>;
3631
+ nextPageToken?: string;
3632
+ });
3633
+
3634
+ export type ListGoogleBusinessPlaceActionsError = (ErrorResponse);
3635
+
3636
+ export type CreateGoogleBusinessPlaceActionData = {
3637
+ body: {
3638
+ /**
3639
+ * The action URL
3640
+ */
3641
+ uri: string;
3642
+ /**
3643
+ * Type of action
3644
+ */
3645
+ placeActionType: 'APPOINTMENT' | 'ONLINE_APPOINTMENT' | 'DINING_RESERVATION' | 'FOOD_ORDERING' | 'FOOD_DELIVERY' | 'FOOD_TAKEOUT' | 'SHOP_ONLINE';
3646
+ };
3647
+ path: {
3648
+ accountId: string;
3649
+ };
3650
+ };
3651
+
3652
+ export type CreateGoogleBusinessPlaceActionResponse = ({
3653
+ success?: boolean;
3654
+ /**
3655
+ * Resource name of the created link
3656
+ */
3657
+ name?: string;
3658
+ uri?: string;
3659
+ placeActionType?: string;
3660
+ });
3661
+
3662
+ export type CreateGoogleBusinessPlaceActionError = (ErrorResponse);
3663
+
3664
+ export type DeleteGoogleBusinessPlaceActionData = {
3665
+ path: {
3666
+ accountId: string;
3667
+ };
3668
+ query: {
3669
+ /**
3670
+ * The resource name of the place action link (e.g. locations/123/placeActionLinks/456)
3671
+ */
3672
+ name: string;
3673
+ };
3674
+ };
3675
+
3676
+ export type DeleteGoogleBusinessPlaceActionResponse = ({
3677
+ success?: boolean;
3678
+ deleted?: boolean;
3679
+ name?: string;
3680
+ });
3681
+
3682
+ export type DeleteGoogleBusinessPlaceActionError = (ErrorResponse);
3683
+
3315
3684
  export type GetPendingOAuthDataData = {
3316
3685
  query: {
3317
3686
  /**