@vendasta/social-posts 5.51.0 → 5.52.0

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 (70) hide show
  1. package/esm2020/lib/_internal/enums/image-generation.enum.mjs +2 -1
  2. package/esm2020/lib/_internal/enums/index.mjs +2 -2
  3. package/esm2020/lib/_internal/enums/social-content.enum.mjs +20 -1
  4. package/esm2020/lib/_internal/index.mjs +2 -1
  5. package/esm2020/lib/_internal/interfaces/annotations.interface.mjs +1 -1
  6. package/esm2020/lib/_internal/interfaces/api-v2.interface.mjs +1 -1
  7. package/esm2020/lib/_internal/interfaces/drafts-api.interface.mjs +1 -1
  8. package/esm2020/lib/_internal/interfaces/drafts.interface.mjs +1 -1
  9. package/esm2020/lib/_internal/interfaces/image-generation.interface.mjs +1 -1
  10. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  11. package/esm2020/lib/_internal/interfaces/social-comment.interface.mjs +8 -0
  12. package/esm2020/lib/_internal/interfaces/social-comments.interface.mjs +2 -0
  13. package/esm2020/lib/_internal/interfaces/social-content.interface.mjs +1 -1
  14. package/esm2020/lib/_internal/interfaces/social-post-v2.interface.mjs +1 -1
  15. package/esm2020/lib/_internal/interfaces/social-posts.interface.mjs +1 -1
  16. package/esm2020/lib/_internal/interfaces/wordpress-plugin.interface.mjs +1 -7
  17. package/esm2020/lib/_internal/objects/annotations.mjs +7 -1
  18. package/esm2020/lib/_internal/objects/api-v2.mjs +345 -1
  19. package/esm2020/lib/_internal/objects/chat-bot-v2.mjs +1 -1
  20. package/esm2020/lib/_internal/objects/drafts-api.mjs +7 -1
  21. package/esm2020/lib/_internal/objects/drafts.mjs +7 -1
  22. package/esm2020/lib/_internal/objects/image-generation.mjs +4 -1
  23. package/esm2020/lib/_internal/objects/index.mjs +5 -3
  24. package/esm2020/lib/_internal/objects/social-comment.mjs +54 -0
  25. package/esm2020/lib/_internal/objects/social-comments.mjs +134 -0
  26. package/esm2020/lib/_internal/objects/social-content.mjs +454 -1
  27. package/esm2020/lib/_internal/objects/social-post-v2.mjs +7 -1
  28. package/esm2020/lib/_internal/objects/social-posts.mjs +7 -1
  29. package/esm2020/lib/_internal/objects/wordpress-plugin.mjs +23 -1
  30. package/esm2020/lib/_internal/social-comments.api.service.mjs +45 -0
  31. package/esm2020/lib/_internal/social-content.api.service.mjs +17 -2
  32. package/esm2020/lib/_internal/social-posts-v2.api.service.mjs +7 -2
  33. package/esm2020/lib/social-post-v2.service.mjs +6 -2
  34. package/fesm2015/vendasta-social-posts.mjs +1351 -232
  35. package/fesm2015/vendasta-social-posts.mjs.map +1 -1
  36. package/fesm2020/vendasta-social-posts.mjs +1351 -232
  37. package/fesm2020/vendasta-social-posts.mjs.map +1 -1
  38. package/lib/_internal/enums/image-generation.enum.d.ts +2 -1
  39. package/lib/_internal/enums/index.d.ts +1 -1
  40. package/lib/_internal/enums/social-content.enum.d.ts +16 -0
  41. package/lib/_internal/index.d.ts +1 -0
  42. package/lib/_internal/interfaces/annotations.interface.d.ts +2 -0
  43. package/lib/_internal/interfaces/api-v2.interface.d.ts +69 -0
  44. package/lib/_internal/interfaces/drafts-api.interface.d.ts +2 -0
  45. package/lib/_internal/interfaces/drafts.interface.d.ts +2 -0
  46. package/lib/_internal/interfaces/image-generation.interface.d.ts +1 -0
  47. package/lib/_internal/interfaces/index.d.ts +4 -2
  48. package/lib/_internal/interfaces/social-comment.interface.d.ts +10 -0
  49. package/lib/_internal/interfaces/social-comments.interface.d.ts +25 -0
  50. package/lib/_internal/interfaces/social-content.interface.d.ts +75 -0
  51. package/lib/_internal/interfaces/social-post-v2.interface.d.ts +2 -0
  52. package/lib/_internal/interfaces/social-posts.interface.d.ts +2 -0
  53. package/lib/_internal/interfaces/wordpress-plugin.interface.d.ts +6 -0
  54. package/lib/_internal/objects/annotations.d.ts +2 -0
  55. package/lib/_internal/objects/api-v2.d.ts +99 -0
  56. package/lib/_internal/objects/drafts-api.d.ts +2 -0
  57. package/lib/_internal/objects/drafts.d.ts +2 -0
  58. package/lib/_internal/objects/image-generation.d.ts +1 -0
  59. package/lib/_internal/objects/index.d.ts +4 -2
  60. package/lib/_internal/objects/social-comment.d.ts +15 -0
  61. package/lib/_internal/objects/social-comments.d.ts +39 -0
  62. package/lib/_internal/objects/social-content.d.ts +120 -0
  63. package/lib/_internal/objects/social-post-v2.d.ts +2 -0
  64. package/lib/_internal/objects/social-posts.d.ts +2 -0
  65. package/lib/_internal/objects/wordpress-plugin.d.ts +6 -0
  66. package/lib/_internal/social-comments.api.service.d.ts +14 -0
  67. package/lib/_internal/social-content.api.service.d.ts +5 -2
  68. package/lib/_internal/social-posts-v2.api.service.d.ts +3 -2
  69. package/lib/social-post-v2.service.d.ts +2 -1
  70. package/package.json +1 -1
@@ -9,7 +9,8 @@ export declare enum ImageModel {
9
9
  DALL_E_2 = 1,
10
10
  DALL_E_3 = 2,
11
11
  GPT_IMAGE_1 = 3,
12
- GPT_IMAGE_1_5 = 4
12
+ GPT_IMAGE_1_5 = 4,
13
+ GEMINI_3_1_FLASH_IMAGE = 5
13
14
  }
14
15
  export declare enum ImageOutputFormat {
15
16
  IMAGE_OUTPUT_FORMAT_UNSPECIFIED = 0,
@@ -12,5 +12,5 @@ export { ActionType, } from './chat-bot.enum';
12
12
  export { ContentType, Role, } from './chat-bot-v2.enum';
13
13
  export { DraftType, DraftYoutubeCustomizationPrivacyStatus, } from './drafts.enum';
14
14
  export { FilterBy, VisibilityType, } from './drafts-api.enum';
15
- export { CallToActionType, MediaContentType, MediaType as SocialContentMediaType, PublishMode, SocialContentType, } from './social-content.enum';
15
+ export { CallToActionType, ContentState, ContentStatus, MediaContentType, MediaType as SocialContentMediaType, PublishMode, SocialContentType, SortDirection, } from './social-content.enum';
16
16
  export { ImageBackground, ImageModel, ImageOutputFormat, ImageQuality, ImageStyle, } from './image-generation.enum';
@@ -8,6 +8,17 @@ export declare enum CallToActionType {
8
8
  CALL_TO_ACTION_TYPE_GET_OFFER = 6,
9
9
  CALL_TO_ACTION_TYPE_CALL = 7
10
10
  }
11
+ export declare enum ContentState {
12
+ CONTENT_STATE_INVALID = 0,
13
+ CONTENT_STATE_DRAFT = 1,
14
+ CONTENT_STATE_SCHEDULED = 2,
15
+ CONTENT_STATE_PUBLISHED = 3
16
+ }
17
+ export declare enum ContentStatus {
18
+ CONTENT_STATUS_INVALID = 0,
19
+ CONTENT_STATUS_OK = 1,
20
+ CONTENT_STATUS_FAILED = 2
21
+ }
11
22
  export declare enum MediaContentType {
12
23
  MEDIA_CONTENT_TYPE_INVALID = 0,
13
24
  MEDIA_CONTENT_TYPE_IMAGE = 1,
@@ -37,3 +48,8 @@ export declare enum SocialContentType {
37
48
  SOCIAL_CONTENT_TYPE_SOCIAL_POST = 1,
38
49
  SOCIAL_CONTENT_TYPE_BLOG_ARTICLE = 2
39
50
  }
51
+ export declare enum SortDirection {
52
+ SORT_DIRECTION_INVALID = 0,
53
+ SORT_DIRECTION_ASCENDING = 1,
54
+ SORT_DIRECTION_DESCENDING = 2
55
+ }
@@ -22,6 +22,7 @@ export { PixabayImagesApiService } from './pixabay-images.api.service';
22
22
  export { PostPerformanceApiService } from './post-performance.api.service';
23
23
  export { PostTemplatesApiService } from './post-templates.api.service';
24
24
  export { ProvisioningApiService } from './provisioning.api.service';
25
+ export { SocialCommentsApiService } from './social-comments.api.service';
25
26
  export { SocialContentApiService } from './social-content.api.service';
26
27
  export { SocialMentionsApiService } from './social-mentions.api.service';
27
28
  export { SocialPostEngagementsApiService } from './social-post-engagements.api.service';
@@ -4,4 +4,6 @@ export interface AccessInterface {
4
4
  }
5
5
  export interface MCPOptionsInterface {
6
6
  serverId?: string[];
7
+ toolId?: string;
8
+ requiredFields?: string[];
7
9
  }
@@ -2,6 +2,20 @@ import { MediaInterface } from './linkedin-v2.interface';
2
2
  import { MetadataV2Interface, SocialPostV2Interface } from './social-post-v2.interface';
3
3
  import { PhotoInterface } from './unsplash-image.interface';
4
4
  import * as e from '../enums';
5
+ export interface AccountGroupInfoInterface {
6
+ partnerId?: string;
7
+ address?: string;
8
+ city?: string;
9
+ state?: string;
10
+ businessName?: string;
11
+ workNumbers?: string[];
12
+ customerIdentifier?: string;
13
+ tags?: string[];
14
+ }
15
+ export interface ListSocialConnectionsByBusinessesResponseAccountsByBusinessEntryInterface {
16
+ key?: string;
17
+ value?: BusinessConnectedSocialAccountsInterface;
18
+ }
5
19
  export interface AiInstructionsInterface {
6
20
  commonAiInstructions?: string;
7
21
  dataUsageStatus?: boolean;
@@ -14,6 +28,53 @@ export interface BlogPostCampaignInterface {
14
28
  blogPostType?: e.PostCategory;
15
29
  noOfPosts?: number;
16
30
  }
31
+ export interface BusinessConnectedSocialAccountsInterface {
32
+ agidInfo?: AccountGroupInfoInterface;
33
+ facebookInfo?: ConnectedFacebookPageInterface;
34
+ gmbInfo?: ConnectedGmbLocationInterface;
35
+ linkedinInfo?: ConnectedLinkedinAccountInterface;
36
+ facebookPages?: ConnectedFacebookPageInterface[];
37
+ linkedinAccounts?: ConnectedLinkedinAccountsInterface;
38
+ instagramAccounts?: ConnectedInstagramAccountInterface[];
39
+ }
40
+ export interface ConnectedFacebookPageInterface {
41
+ ssid?: string;
42
+ name?: string;
43
+ profileUrl?: string;
44
+ profileImageUrl?: string;
45
+ clientTags?: string[];
46
+ isMasterFacebookPage?: boolean;
47
+ tokenIsBroken?: boolean;
48
+ isDefault?: boolean;
49
+ }
50
+ export interface ConnectedGmbLocationInterface {
51
+ ssid?: string;
52
+ name?: string;
53
+ tokenIsBroken?: boolean;
54
+ accountVerified?: boolean;
55
+ isDefault?: boolean;
56
+ }
57
+ export interface ConnectedInstagramAccountInterface {
58
+ ssid?: string;
59
+ username?: string;
60
+ fullName?: string;
61
+ profileImageUrl?: string;
62
+ tokenIsBroken?: boolean;
63
+ isDefault?: boolean;
64
+ }
65
+ export interface ConnectedLinkedinAccountInterface {
66
+ ssid?: string;
67
+ name?: string;
68
+ profileUrl?: string;
69
+ profileImageUrl?: string;
70
+ clientTags?: string[];
71
+ tokenIsBroken?: boolean;
72
+ isDefault?: boolean;
73
+ }
74
+ export interface ConnectedLinkedinAccountsInterface {
75
+ company?: ConnectedLinkedinAccountInterface[];
76
+ user?: ConnectedLinkedinAccountInterface[];
77
+ }
17
78
  export interface CreateCommonAiInstructionsRequestInterface {
18
79
  businessId?: string;
19
80
  partnerId?: string;
@@ -181,6 +242,14 @@ export interface ListPostableSocialServiceRequestInterface {
181
242
  export interface ListPostableSocialServiceResponseInterface {
182
243
  postableSocialService?: SocialServiceInterface[];
183
244
  }
245
+ export interface ListSocialConnectionsByBusinessesRequestInterface {
246
+ accountGroupIds?: string[];
247
+ }
248
+ export interface ListSocialConnectionsByBusinessesResponseInterface {
249
+ accountsByBusiness?: {
250
+ [key: string]: BusinessConnectedSocialAccountsInterface;
251
+ };
252
+ }
184
253
  export interface ListUnsplashImagesRequestInterface {
185
254
  query?: string;
186
255
  page?: number;
@@ -20,6 +20,7 @@ export interface CreateDraftRequestInterface {
20
20
  brandId?: string;
21
21
  multilocationPostId?: string;
22
22
  socialNetworkIdentifier?: string;
23
+ createdBy?: string;
23
24
  }
24
25
  export interface CreateDraftResponseInterface {
25
26
  draft?: DraftInterface;
@@ -101,6 +102,7 @@ export interface UpdateDraftRequestInterface {
101
102
  brandId?: string;
102
103
  multilocationPostId?: string;
103
104
  socialNetworkIdentifier?: string;
105
+ updatedBy?: string;
104
106
  }
105
107
  export interface UpdateDraftResponseInterface {
106
108
  draft?: DraftInterface;
@@ -31,6 +31,8 @@ export interface DraftInterface {
31
31
  brandId?: string;
32
32
  multilocationPostId?: string;
33
33
  socialNetworkIdentifier?: string;
34
+ createdBy?: string;
35
+ updatedBy?: string;
34
36
  }
35
37
  export interface DraftAuthorInterface {
36
38
  id?: number;
@@ -13,6 +13,7 @@ export interface CreateOrEditRequestInterface {
13
13
  background?: e.ImageBackground;
14
14
  outputFormat?: e.ImageOutputFormat;
15
15
  moderation?: string;
16
+ assistantType?: string;
16
17
  }
17
18
  export interface CreateOrEditResponseInterface {
18
19
  images?: GeneratedImageInterface[];
@@ -16,7 +16,7 @@ export { LinkV2Interface, MetadataV2Interface, PostActionV2Interface, PostConten
16
16
  export { MediaInterface, } from './linkedin-v2.interface';
17
17
  export { AncestryInterface, CollectionInterface, ImageInterface, LinksInterface, PhotoInterface, SocialInterface, SourceInterface, SubAncestryInterface, TagsInterface, UrlsInterface, UserInterface, UserLinkInterface, } from './unsplash-image.interface';
18
18
  export { ProvisionRequestInterface, } from './provisioning.interface';
19
- export { AiInstructionsInterface, BlogPostCampaignInterface, CreateCommonAiInstructionsRequestInterface, CreateCommonAiInstructionsResponseInterface, CreateImageRequestInterface, CreateImageResponseInterface, CuratedContentPostInterface, DeletePostRequestInterface, FetchLibraryImagesRequestInterface, FetchLibraryImagesResponseInterface, GenerateAiRequestInterface, GenerateAiResponseInterface, GenerateBlogPostCampaignRequestInterface, GenerateContentMetaDataRequestInterface, GenerateContentMetaDataResponseInterface, GeneratePostCampaignRequestInterface, GeneratePostCampaignResponseInterface, GeneratePostsRequestInterface, GeneratePostsResponseInterface, GetCommonAiInstructionsRequestInterface, GetCommonAiInstructionsResponseInterface, GetMediaMetadataFromURLRequestInterface, GetMediaMetadataFromURLResponseInterface, GetXSubscriptionTypeRequestInterface, GetXSubscriptionTypeResponseInterface, ImageBlobInterface, ImageCreatedInterface, ImageResponseInterface, GeneratePostsResponseImageResponseInterface, ImageUrlInterface, KeywordGenerationInterface, KeywordListInterface, ListCuratedContentRequestInterface, ListCuratedContentResponseInterface, ListPostableSocialServiceRequestInterface, ListPostableSocialServiceResponseInterface, ListUnsplashImagesRequestInterface, ListUnsplashImagesResponseInterface, MediaUploadRequestInterface, MediaUploadResponseInterface, MultiResponseInterface, GeneratePostsResponsePostInterface, PostInterface, PostContentInterface, PostsGenerationInterface, RepostSocialPostRequestInterface, ResponseInterface, SocialPostOutputInterface, SocialPostRequestInterface, SocialPostResponseInterface, SocialServiceInterface, TitleGenerationInterface, UpdateCommonAiInstructionsRequestInterface, UpdateCommonAiInstructionsResponseInterface, UpdateSocialPostRequestInterface, UpdateSocialPostResponseInterface, UploadToStorageRequestInterface, UploadToStorageResponseInterface, UploadedMediaInterface, } from './api-v2.interface';
19
+ export { AccountGroupInfoInterface, ListSocialConnectionsByBusinessesResponseAccountsByBusinessEntryInterface, AiInstructionsInterface, BlogPostCampaignInterface, BusinessConnectedSocialAccountsInterface, ConnectedFacebookPageInterface, ConnectedGmbLocationInterface, ConnectedInstagramAccountInterface, ConnectedLinkedinAccountInterface, ConnectedLinkedinAccountsInterface, CreateCommonAiInstructionsRequestInterface, CreateCommonAiInstructionsResponseInterface, CreateImageRequestInterface, CreateImageResponseInterface, CuratedContentPostInterface, DeletePostRequestInterface, FetchLibraryImagesRequestInterface, FetchLibraryImagesResponseInterface, GenerateAiRequestInterface, GenerateAiResponseInterface, GenerateBlogPostCampaignRequestInterface, GenerateContentMetaDataRequestInterface, GenerateContentMetaDataResponseInterface, GeneratePostCampaignRequestInterface, GeneratePostCampaignResponseInterface, GeneratePostsRequestInterface, GeneratePostsResponseInterface, GetCommonAiInstructionsRequestInterface, GetCommonAiInstructionsResponseInterface, GetMediaMetadataFromURLRequestInterface, GetMediaMetadataFromURLResponseInterface, GetXSubscriptionTypeRequestInterface, GetXSubscriptionTypeResponseInterface, ImageBlobInterface, ImageCreatedInterface, ImageResponseInterface, GeneratePostsResponseImageResponseInterface, ImageUrlInterface, KeywordGenerationInterface, KeywordListInterface, ListCuratedContentRequestInterface, ListCuratedContentResponseInterface, ListPostableSocialServiceRequestInterface, ListPostableSocialServiceResponseInterface, ListSocialConnectionsByBusinessesRequestInterface, ListSocialConnectionsByBusinessesResponseInterface, ListUnsplashImagesRequestInterface, ListUnsplashImagesResponseInterface, MediaUploadRequestInterface, MediaUploadResponseInterface, MultiResponseInterface, GeneratePostsResponsePostInterface, PostInterface, PostContentInterface, PostsGenerationInterface, RepostSocialPostRequestInterface, ResponseInterface, SocialPostOutputInterface, SocialPostRequestInterface, SocialPostResponseInterface, SocialServiceInterface, TitleGenerationInterface, UpdateCommonAiInstructionsRequestInterface, UpdateCommonAiInstructionsResponseInterface, UpdateSocialPostRequestInterface, UpdateSocialPostResponseInterface, UploadToStorageRequestInterface, UploadToStorageResponseInterface, UploadedMediaInterface, } from './api-v2.interface';
20
20
  export { ActionInterface, EndChatRequestInterface, SendMessageRequestInterface, SendMessageResponseInterface, StartChatRequestInterface, StartChatResponseInterface, } from './chat-bot.interface';
21
21
  export { ChatMessageInterface, SendMessageV2RequestInterface, SendMessageV2ResponseInterface, } from './chat-bot-v2.interface';
22
22
  export { BlogConnectionInterface, CreateBlogConnectionRequestInterface, CreateBlogConnectionResponseInterface, DeleteBlogConnectionRequestInterface, GetBlogConnectionRequestInterface, GetBlogConnectionResponseInterface, ListBlogConnectionRequestInterface, ListBlogConnectionResponseInterface, UpdateBlogConnectionRequestInterface, } from './blog-connection.interface';
@@ -24,5 +24,7 @@ export { AuthorInterface as WpAuthorInterface, AuthorsRequestInterface, AuthorsR
24
24
  export { CampaignInterface, CreateCampaignRequestInterface, CreateCampaignResponseInterface, DeleteCampaignRequestInterface, GetCampaignRequestInterface, GetCampaignResponseInterface, GetMultiCampaignsRequestInterface, GetMultiCampaignsResponseInterface, UpdateCampaignIdRequestInterface, UpdateCampaignRequestInterface, } from './campaign.interface';
25
25
  export { CampaignCustomizationInterface, CategoriesInterface, DraftInterface, DraftAuthorInterface, DraftBlogPostCustomizationInterface, DraftMediaInterface, DraftMetaDataInterface, DraftTikTokCustomizationInterface, DraftYoutubeCustomizationInterface, GMBPostCustomizationInterface, MlDraftPostInterface, SSIDDraftTypeInterface, } from './drafts.interface';
26
26
  export { CreateDraftRequestInterface, CreateDraftResponseInterface, CreateMultiDraftsRequestInterface, CreateMultiDraftsResponseInterface, DeleteDraftRequestInterface, GetDraftRequestInterface, GetDraftResponseInterface, ListDraftsByNetworkIdentifierRequestInterface, ListDraftsByNetworkIdentifierResponseInterface, ListDraftsRequestInterface, ListDraftsResponseInterface, ListMultilocationDraftsRequestInterface, ListMultilocationDraftsResponseInterface, MultiDeleteMLDraftPostsRequestInterface, UpdateDraftRequestInterface, UpdateDraftResponseInterface, UpdateMultiMLDraftsRequestInterface, } from './drafts-api.interface';
27
- export { BlogPostOptionsInterface, ContentMetadataInterface, CreateContentRequestInterface, CreateContentResponseInterface, GMBCustomizationInterface, LinkInterface, MediaItemInterface, SocialContentItemInterface, SocialContentResultInterface, SsidPostTypeInterface, } from './social-content.interface';
27
+ export { BlogPostOptionsInterface, ContentItemInterface, ContentMetadataInterface, CreateContentRequestInterface, CreateContentResponseInterface, DateFilterInterface, DeleteContentRequestInterface, DeleteContentResponseInterface, DeleteResultInterface, FieldFilterInterface, GMBCustomizationInterface, LinkInterface, ListContentRequestInterface, ListContentResponseInterface, MediaItemInterface, PostInterface as SocialContentPostInterface, SocialContentFilterInterface, SocialContentItemInterface, SocialContentResultInterface, SortInterface, SsidPostTypeInterface, UpdateContentItemInterface, UpdateContentRequestInterface, UpdateContentResponseInterface, UpdateResultInterface, } from './social-content.interface';
28
28
  export { CreateOrEditRequestInterface, CreateOrEditResponseInterface, GeneratedImageInterface, ImageInputSourceInterface, } from './image-generation.interface';
29
+ export { SocialCommentInterface, } from './social-comment.interface';
30
+ export { ListCommentsRequestInterface, ListCommentsResponseInterface, PostReplyRequestInterface, PostReplyResponseInterface, } from './social-comments.interface';
@@ -0,0 +1,10 @@
1
+ export interface SocialCommentInterface {
2
+ commentId?: string;
3
+ parentId?: string;
4
+ postId?: string;
5
+ text?: string;
6
+ username?: string;
7
+ postedOn?: Date;
8
+ likeCount?: number;
9
+ hasReplies?: boolean;
10
+ }
@@ -0,0 +1,25 @@
1
+ import { SocialCommentInterface } from './social-comment.interface';
2
+ import * as e from '../enums';
3
+ export interface ListCommentsRequestInterface {
4
+ platform?: e.Network;
5
+ accountGroupId?: string;
6
+ postId?: string;
7
+ parentCommentId?: string;
8
+ cursor?: string;
9
+ pageSize?: number;
10
+ }
11
+ export interface ListCommentsResponseInterface {
12
+ comments?: SocialCommentInterface[];
13
+ nextCursor?: string;
14
+ hasMore?: boolean;
15
+ }
16
+ export interface PostReplyRequestInterface {
17
+ platform?: e.Network;
18
+ accountGroupId?: string;
19
+ postId?: string;
20
+ parentCommentId?: string;
21
+ text?: string;
22
+ }
23
+ export interface PostReplyResponseInterface {
24
+ commentId?: string;
25
+ }
@@ -8,6 +8,16 @@ export interface BlogPostOptionsInterface {
8
8
  tags?: string[];
9
9
  siteType?: string;
10
10
  }
11
+ export interface ContentItemInterface {
12
+ postId?: string;
13
+ content?: SocialContentItemInterface;
14
+ status?: e.ContentStatus;
15
+ errorMessage?: string;
16
+ createdAt?: Date;
17
+ createdBy?: string;
18
+ updatedAt?: Date;
19
+ updatedBy?: string;
20
+ }
11
21
  export interface ContentMetadataInterface {
12
22
  name?: string;
13
23
  value?: string;
@@ -21,6 +31,28 @@ export interface CreateContentRequestInterface {
21
31
  export interface CreateContentResponseInterface {
22
32
  results?: SocialContentResultInterface[];
23
33
  }
34
+ export interface DateFilterInterface {
35
+ field?: string;
36
+ from?: Date;
37
+ to?: Date;
38
+ }
39
+ export interface DeleteContentRequestInterface {
40
+ accountGroupId?: string;
41
+ post?: PostInterface[];
42
+ userId?: string;
43
+ }
44
+ export interface DeleteContentResponseInterface {
45
+ results?: DeleteResultInterface[];
46
+ }
47
+ export interface DeleteResultInterface {
48
+ postId?: string;
49
+ status?: string;
50
+ errorMessage?: string;
51
+ }
52
+ export interface FieldFilterInterface {
53
+ field?: string;
54
+ values?: string[];
55
+ }
24
56
  export interface GMBCustomizationInterface {
25
57
  title?: string;
26
58
  eventStart?: Date;
@@ -36,12 +68,33 @@ export interface LinkInterface {
36
68
  url?: string;
37
69
  shortcode?: string;
38
70
  }
71
+ export interface ListContentRequestInterface {
72
+ namespace?: string;
73
+ filter?: SocialContentFilterInterface;
74
+ sort?: SortInterface;
75
+ cursor?: string;
76
+ pageSize?: number;
77
+ }
78
+ export interface ListContentResponseInterface {
79
+ items?: ContentItemInterface[];
80
+ nextCursor?: string;
81
+ hasMore?: boolean;
82
+ }
39
83
  export interface MediaItemInterface {
40
84
  mediaId?: string;
41
85
  mediaType?: e.MediaType;
42
86
  path?: string;
43
87
  url?: string;
44
88
  }
89
+ export interface PostInterface {
90
+ postId?: string;
91
+ state?: e.ContentState;
92
+ }
93
+ export interface SocialContentFilterInterface {
94
+ mode?: e.PublishMode;
95
+ dateFilter?: DateFilterInterface;
96
+ filters?: FieldFilterInterface[];
97
+ }
45
98
  export interface SocialContentItemInterface {
46
99
  type?: e.SocialContentType;
47
100
  mode?: e.PublishMode;
@@ -65,7 +118,29 @@ export interface SocialContentResultInterface {
65
118
  status?: string;
66
119
  errorMessage?: string;
67
120
  }
121
+ export interface SortInterface {
122
+ field?: string;
123
+ direction?: e.SortDirection;
124
+ }
68
125
  export interface SsidPostTypeInterface {
69
126
  ssid?: string;
70
127
  mediaContentType?: e.MediaContentType;
71
128
  }
129
+ export interface UpdateContentItemInterface {
130
+ postId?: string;
131
+ content?: SocialContentItemInterface;
132
+ }
133
+ export interface UpdateContentRequestInterface {
134
+ accountGroupId?: string;
135
+ username?: string;
136
+ userId?: string;
137
+ items?: UpdateContentItemInterface[];
138
+ }
139
+ export interface UpdateContentResponseInterface {
140
+ results?: UpdateResultInterface[];
141
+ }
142
+ export interface UpdateResultInterface {
143
+ item?: ContentItemInterface;
144
+ status?: string;
145
+ errorMessage?: string;
146
+ }
@@ -55,6 +55,8 @@ export interface SocialPostV2Interface {
55
55
  shareId?: string;
56
56
  tiktokCustomization?: TikTokCustomizationV2Interface;
57
57
  campaignId?: string;
58
+ createdBy?: string;
59
+ updatedBy?: string;
58
60
  }
59
61
  export interface TikTokCustomizationV2Interface {
60
62
  allowComment?: boolean;
@@ -119,6 +119,8 @@ export interface SocialPostInterface {
119
119
  tiktokCustomization?: TikTokCustomizationInterface;
120
120
  blogPostCustomization?: BlogPostCustomizationInterface;
121
121
  campaign?: SocialCampaignInterface;
122
+ createdBy?: string;
123
+ updatedBy?: string;
122
124
  }
123
125
  export interface SocialPostDataInterface {
124
126
  postText?: string;
@@ -1,3 +1,4 @@
1
+ import { MetadataV2Interface } from './social-post-v2.interface';
1
2
  export interface AuthorInterface {
2
3
  id?: number;
3
4
  name?: string;
@@ -38,6 +39,9 @@ export interface BlogPostInterface {
38
39
  created?: Date;
39
40
  updated?: Date;
40
41
  deleted?: Date;
42
+ metadata?: MetadataV2Interface[];
43
+ createdBy?: string;
44
+ updatedBy?: string;
41
45
  }
42
46
  export interface BlogVideoInterface {
43
47
  path?: string;
@@ -89,6 +93,8 @@ export interface PublishPostRequestInterface {
89
93
  userName?: string;
90
94
  partnerId?: string;
91
95
  internalPostId?: string;
96
+ metadata?: MetadataV2Interface[];
97
+ createdBy?: string;
92
98
  }
93
99
  export interface PublishPostResponseInterface {
94
100
  internalPostId?: string;
@@ -9,6 +9,8 @@ export declare class Access implements i.AccessInterface {
9
9
  }
10
10
  export declare class MCPOptions implements i.MCPOptionsInterface {
11
11
  serverId: string[];
12
+ toolId: string;
13
+ requiredFields: string[];
12
14
  static fromProto(proto: any): MCPOptions;
13
15
  constructor(kwargs?: i.MCPOptionsInterface);
14
16
  toApiJson(): object;
@@ -4,6 +4,26 @@ import { MetadataV2, SocialPostV2 } from './social-post-v2';
4
4
  import { Photo } from './unsplash-image';
5
5
  import * as e from '../enums';
6
6
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
7
+ export declare class AccountGroupInfo implements i.AccountGroupInfoInterface {
8
+ partnerId: string;
9
+ address: string;
10
+ city: string;
11
+ state: string;
12
+ businessName: string;
13
+ workNumbers: string[];
14
+ customerIdentifier: string;
15
+ tags: string[];
16
+ static fromProto(proto: any): AccountGroupInfo;
17
+ constructor(kwargs?: i.AccountGroupInfoInterface);
18
+ toApiJson(): object;
19
+ }
20
+ export declare class ListSocialConnectionsByBusinessesResponseAccountsByBusinessEntry implements i.ListSocialConnectionsByBusinessesResponseAccountsByBusinessEntryInterface {
21
+ key: string;
22
+ value: BusinessConnectedSocialAccounts;
23
+ static fromProto(proto: any): ListSocialConnectionsByBusinessesResponseAccountsByBusinessEntry;
24
+ constructor(kwargs?: i.ListSocialConnectionsByBusinessesResponseAccountsByBusinessEntryInterface);
25
+ toApiJson(): object;
26
+ }
7
27
  export declare class AiInstructions implements i.AiInstructionsInterface {
8
28
  commonAiInstructions: string;
9
29
  dataUsageStatus: boolean;
@@ -22,6 +42,71 @@ export declare class BlogPostCampaign implements i.BlogPostCampaignInterface {
22
42
  constructor(kwargs?: i.BlogPostCampaignInterface);
23
43
  toApiJson(): object;
24
44
  }
45
+ export declare class BusinessConnectedSocialAccounts implements i.BusinessConnectedSocialAccountsInterface {
46
+ agidInfo: AccountGroupInfo;
47
+ facebookInfo: ConnectedFacebookPage;
48
+ gmbInfo: ConnectedGmbLocation;
49
+ linkedinInfo: ConnectedLinkedinAccount;
50
+ facebookPages: ConnectedFacebookPage[];
51
+ linkedinAccounts: ConnectedLinkedinAccounts;
52
+ instagramAccounts: ConnectedInstagramAccount[];
53
+ static fromProto(proto: any): BusinessConnectedSocialAccounts;
54
+ constructor(kwargs?: i.BusinessConnectedSocialAccountsInterface);
55
+ toApiJson(): object;
56
+ }
57
+ export declare class ConnectedFacebookPage implements i.ConnectedFacebookPageInterface {
58
+ ssid: string;
59
+ name: string;
60
+ profileUrl: string;
61
+ profileImageUrl: string;
62
+ clientTags: string[];
63
+ isMasterFacebookPage: boolean;
64
+ tokenIsBroken: boolean;
65
+ isDefault: boolean;
66
+ static fromProto(proto: any): ConnectedFacebookPage;
67
+ constructor(kwargs?: i.ConnectedFacebookPageInterface);
68
+ toApiJson(): object;
69
+ }
70
+ export declare class ConnectedGmbLocation implements i.ConnectedGmbLocationInterface {
71
+ ssid: string;
72
+ name: string;
73
+ tokenIsBroken: boolean;
74
+ accountVerified: boolean;
75
+ isDefault: boolean;
76
+ static fromProto(proto: any): ConnectedGmbLocation;
77
+ constructor(kwargs?: i.ConnectedGmbLocationInterface);
78
+ toApiJson(): object;
79
+ }
80
+ export declare class ConnectedInstagramAccount implements i.ConnectedInstagramAccountInterface {
81
+ ssid: string;
82
+ username: string;
83
+ fullName: string;
84
+ profileImageUrl: string;
85
+ tokenIsBroken: boolean;
86
+ isDefault: boolean;
87
+ static fromProto(proto: any): ConnectedInstagramAccount;
88
+ constructor(kwargs?: i.ConnectedInstagramAccountInterface);
89
+ toApiJson(): object;
90
+ }
91
+ export declare class ConnectedLinkedinAccount implements i.ConnectedLinkedinAccountInterface {
92
+ ssid: string;
93
+ name: string;
94
+ profileUrl: string;
95
+ profileImageUrl: string;
96
+ clientTags: string[];
97
+ tokenIsBroken: boolean;
98
+ isDefault: boolean;
99
+ static fromProto(proto: any): ConnectedLinkedinAccount;
100
+ constructor(kwargs?: i.ConnectedLinkedinAccountInterface);
101
+ toApiJson(): object;
102
+ }
103
+ export declare class ConnectedLinkedinAccounts implements i.ConnectedLinkedinAccountsInterface {
104
+ company: ConnectedLinkedinAccount[];
105
+ user: ConnectedLinkedinAccount[];
106
+ static fromProto(proto: any): ConnectedLinkedinAccounts;
107
+ constructor(kwargs?: i.ConnectedLinkedinAccountsInterface);
108
+ toApiJson(): object;
109
+ }
25
110
  export declare class CreateCommonAiInstructionsRequest implements i.CreateCommonAiInstructionsRequestInterface {
26
111
  businessId: string;
27
112
  partnerId: string;
@@ -291,6 +376,20 @@ export declare class ListPostableSocialServiceResponse implements i.ListPostable
291
376
  constructor(kwargs?: i.ListPostableSocialServiceResponseInterface);
292
377
  toApiJson(): object;
293
378
  }
379
+ export declare class ListSocialConnectionsByBusinessesRequest implements i.ListSocialConnectionsByBusinessesRequestInterface {
380
+ accountGroupIds: string[];
381
+ static fromProto(proto: any): ListSocialConnectionsByBusinessesRequest;
382
+ constructor(kwargs?: i.ListSocialConnectionsByBusinessesRequestInterface);
383
+ toApiJson(): object;
384
+ }
385
+ export declare class ListSocialConnectionsByBusinessesResponse implements i.ListSocialConnectionsByBusinessesResponseInterface {
386
+ accountsByBusiness: {
387
+ [key: string]: BusinessConnectedSocialAccounts;
388
+ };
389
+ static fromProto(proto: any): ListSocialConnectionsByBusinessesResponse;
390
+ constructor(kwargs?: i.ListSocialConnectionsByBusinessesResponseInterface);
391
+ toApiJson(): object;
392
+ }
294
393
  export declare class ListUnsplashImagesRequest implements i.ListUnsplashImagesRequestInterface {
295
394
  query: string;
296
395
  page: number;
@@ -22,6 +22,7 @@ export declare class CreateDraftRequest implements i.CreateDraftRequestInterface
22
22
  brandId: string;
23
23
  multilocationPostId: string;
24
24
  socialNetworkIdentifier: string;
25
+ createdBy: string;
25
26
  static fromProto(proto: any): CreateDraftRequest;
26
27
  constructor(kwargs?: i.CreateDraftRequestInterface);
27
28
  toApiJson(): object;
@@ -145,6 +146,7 @@ export declare class UpdateDraftRequest implements i.UpdateDraftRequestInterface
145
146
  brandId: string;
146
147
  multilocationPostId: string;
147
148
  socialNetworkIdentifier: string;
149
+ updatedBy: string;
148
150
  static fromProto(proto: any): UpdateDraftRequest;
149
151
  constructor(kwargs?: i.UpdateDraftRequestInterface);
150
152
  toApiJson(): object;
@@ -39,6 +39,8 @@ export declare class Draft implements i.DraftInterface {
39
39
  brandId: string;
40
40
  multilocationPostId: string;
41
41
  socialNetworkIdentifier: string;
42
+ createdBy: string;
43
+ updatedBy: string;
42
44
  static fromProto(proto: any): Draft;
43
45
  constructor(kwargs?: i.DraftInterface);
44
46
  toApiJson(): object;
@@ -15,6 +15,7 @@ export declare class CreateOrEditRequest implements i.CreateOrEditRequestInterfa
15
15
  background: e.ImageBackground;
16
16
  outputFormat: e.ImageOutputFormat;
17
17
  moderation: string;
18
+ assistantType: string;
18
19
  static fromProto(proto: any): CreateOrEditRequest;
19
20
  constructor(kwargs?: i.CreateOrEditRequestInterface);
20
21
  toApiJson(): object;
@@ -16,7 +16,7 @@ export { LinkV2, MetadataV2, PostActionV2, PostContentV2, PostCustomizationV2, P
16
16
  export { Media, } from './linkedin-v2';
17
17
  export { Ancestry, Collection, Image, Links, Photo, Social, Source, SubAncestry, Tags, Urls, User, UserLink, } from './unsplash-image';
18
18
  export { ProvisionRequest, } from './provisioning';
19
- export { AiInstructions, BlogPostCampaign, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateImageRequest, CreateImageResponse, CuratedContentPost, DeletePostRequest, FetchLibraryImagesRequest, FetchLibraryImagesResponse, GenerateAiRequest, GenerateAiResponse, GenerateBlogPostCampaignRequest, GenerateContentMetaDataRequest, GenerateContentMetaDataResponse, GeneratePostCampaignRequest, GeneratePostCampaignResponse, GeneratePostsRequest, GeneratePostsResponse, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, GetMediaMetadataFromURLRequest, GetMediaMetadataFromURLResponse, GetXSubscriptionTypeRequest, GetXSubscriptionTypeResponse, ImageBlob, ImageCreated, ImageResponse, GeneratePostsResponseImageResponse, ImageUrl, KeywordGeneration, KeywordList, ListCuratedContentRequest, ListCuratedContentResponse, ListPostableSocialServiceRequest, ListPostableSocialServiceResponse, ListUnsplashImagesRequest, ListUnsplashImagesResponse, MediaUploadRequest, MediaUploadResponse, MultiResponse, GeneratePostsResponsePost, Post, PostContent, PostsGeneration, RepostSocialPostRequest, Response, SocialPostOutput, SocialPostRequest, SocialPostResponse, SocialService, TitleGeneration, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse, UpdateSocialPostRequest, UpdateSocialPostResponse, UploadToStorageRequest, UploadToStorageResponse, UploadedMedia, } from './api-v2';
19
+ export { AccountGroupInfo, ListSocialConnectionsByBusinessesResponseAccountsByBusinessEntry, AiInstructions, BlogPostCampaign, BusinessConnectedSocialAccounts, ConnectedFacebookPage, ConnectedGmbLocation, ConnectedInstagramAccount, ConnectedLinkedinAccount, ConnectedLinkedinAccounts, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateImageRequest, CreateImageResponse, CuratedContentPost, DeletePostRequest, FetchLibraryImagesRequest, FetchLibraryImagesResponse, GenerateAiRequest, GenerateAiResponse, GenerateBlogPostCampaignRequest, GenerateContentMetaDataRequest, GenerateContentMetaDataResponse, GeneratePostCampaignRequest, GeneratePostCampaignResponse, GeneratePostsRequest, GeneratePostsResponse, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, GetMediaMetadataFromURLRequest, GetMediaMetadataFromURLResponse, GetXSubscriptionTypeRequest, GetXSubscriptionTypeResponse, ImageBlob, ImageCreated, ImageResponse, GeneratePostsResponseImageResponse, ImageUrl, KeywordGeneration, KeywordList, ListCuratedContentRequest, ListCuratedContentResponse, ListPostableSocialServiceRequest, ListPostableSocialServiceResponse, ListSocialConnectionsByBusinessesRequest, ListSocialConnectionsByBusinessesResponse, ListUnsplashImagesRequest, ListUnsplashImagesResponse, MediaUploadRequest, MediaUploadResponse, MultiResponse, GeneratePostsResponsePost, Post, PostContent, PostsGeneration, RepostSocialPostRequest, Response, SocialPostOutput, SocialPostRequest, SocialPostResponse, SocialService, TitleGeneration, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse, UpdateSocialPostRequest, UpdateSocialPostResponse, UploadToStorageRequest, UploadToStorageResponse, UploadedMedia, } from './api-v2';
20
20
  export { Action, EndChatRequest, SendMessageRequest, SendMessageResponse, StartChatRequest, StartChatResponse, } from './chat-bot';
21
21
  export { ChatMessage, SendMessageV2Request, SendMessageV2Response, } from './chat-bot-v2';
22
22
  export { BlogConnection, CreateBlogConnectionRequest, CreateBlogConnectionResponse, DeleteBlogConnectionRequest, GetBlogConnectionRequest, GetBlogConnectionResponse, ListBlogConnectionRequest, ListBlogConnectionResponse, UpdateBlogConnectionRequest, } from './blog-connection';
@@ -24,5 +24,7 @@ export { Author as WpAuthor, AuthorsRequest, AuthorsResponse, BlogImage, BlogPos
24
24
  export { Campaign, CreateCampaignRequest, CreateCampaignResponse, DeleteCampaignRequest, GetCampaignRequest, GetCampaignResponse, GetMultiCampaignsRequest, GetMultiCampaignsResponse, UpdateCampaignIdRequest, UpdateCampaignRequest, } from './campaign';
25
25
  export { CampaignCustomization, Categories, Draft, DraftAuthor, DraftBlogPostCustomization, DraftMedia, DraftMetaData, DraftTikTokCustomization, DraftYoutubeCustomization, GMBPostCustomization, MlDraftPost, SSIDDraftType, } from './drafts';
26
26
  export { CreateDraftRequest, CreateDraftResponse, CreateMultiDraftsRequest, CreateMultiDraftsResponse, DeleteDraftRequest, GetDraftRequest, GetDraftResponse, ListDraftsByNetworkIdentifierRequest, ListDraftsByNetworkIdentifierResponse, ListDraftsRequest, ListDraftsResponse, ListMultilocationDraftsRequest, ListMultilocationDraftsResponse, MultiDeleteMLDraftPostsRequest, UpdateDraftRequest, UpdateDraftResponse, UpdateMultiMLDraftsRequest, } from './drafts-api';
27
- export { BlogPostOptions, ContentMetadata, CreateContentRequest, CreateContentResponse, GMBCustomization, Link, MediaItem, SocialContentItem, SocialContentResult, SsidPostType, } from './social-content';
27
+ export { BlogPostOptions, ContentItem, ContentMetadata, CreateContentRequest, CreateContentResponse, DateFilter, DeleteContentRequest, DeleteContentResponse, DeleteResult, FieldFilter, GMBCustomization, Link, ListContentRequest, ListContentResponse, MediaItem, Post as SocialContentPost, SocialContentFilter, SocialContentItem, SocialContentResult, Sort, SsidPostType, UpdateContentItem, UpdateContentRequest, UpdateContentResponse, UpdateResult, } from './social-content';
28
28
  export { CreateOrEditRequest, CreateOrEditResponse, GeneratedImage, ImageInputSource, } from './image-generation';
29
+ export { SocialComment, } from './social-comment';
30
+ export { ListCommentsRequest, ListCommentsResponse, PostReplyRequest, PostReplyResponse, } from './social-comments';
@@ -0,0 +1,15 @@
1
+ import * as i from '../interfaces';
2
+ export declare function enumStringToValue<E>(enumRef: any, value: string): E;
3
+ export declare class SocialComment implements i.SocialCommentInterface {
4
+ commentId: string;
5
+ parentId: string;
6
+ postId: string;
7
+ text: string;
8
+ username: string;
9
+ postedOn: Date;
10
+ likeCount: number;
11
+ hasReplies: boolean;
12
+ static fromProto(proto: any): SocialComment;
13
+ constructor(kwargs?: i.SocialCommentInterface);
14
+ toApiJson(): object;
15
+ }
@@ -0,0 +1,39 @@
1
+ import * as i from '../interfaces';
2
+ import { SocialComment } from './social-comment';
3
+ import * as e from '../enums';
4
+ export declare function enumStringToValue<E>(enumRef: any, value: string): E;
5
+ export declare class ListCommentsRequest implements i.ListCommentsRequestInterface {
6
+ platform: e.Network;
7
+ accountGroupId: string;
8
+ postId: string;
9
+ parentCommentId: string;
10
+ cursor: string;
11
+ pageSize: number;
12
+ static fromProto(proto: any): ListCommentsRequest;
13
+ constructor(kwargs?: i.ListCommentsRequestInterface);
14
+ toApiJson(): object;
15
+ }
16
+ export declare class ListCommentsResponse implements i.ListCommentsResponseInterface {
17
+ comments: SocialComment[];
18
+ nextCursor: string;
19
+ hasMore: boolean;
20
+ static fromProto(proto: any): ListCommentsResponse;
21
+ constructor(kwargs?: i.ListCommentsResponseInterface);
22
+ toApiJson(): object;
23
+ }
24
+ export declare class PostReplyRequest implements i.PostReplyRequestInterface {
25
+ platform: e.Network;
26
+ accountGroupId: string;
27
+ postId: string;
28
+ parentCommentId: string;
29
+ text: string;
30
+ static fromProto(proto: any): PostReplyRequest;
31
+ constructor(kwargs?: i.PostReplyRequestInterface);
32
+ toApiJson(): object;
33
+ }
34
+ export declare class PostReplyResponse implements i.PostReplyResponseInterface {
35
+ commentId: string;
36
+ static fromProto(proto: any): PostReplyResponse;
37
+ constructor(kwargs?: i.PostReplyResponseInterface);
38
+ toApiJson(): object;
39
+ }