@vendasta/social-posts 5.45.8 → 5.46.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 (29) hide show
  1. package/esm2020/lib/_internal/index.mjs +2 -1
  2. package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
  3. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  4. package/esm2020/lib/_internal/interfaces/social-post-stats.interface.mjs +1 -1
  5. package/esm2020/lib/_internal/interfaces/social-posts.interface.mjs +1 -1
  6. package/esm2020/lib/_internal/objects/api.mjs +83 -2
  7. package/esm2020/lib/_internal/objects/index.mjs +4 -4
  8. package/esm2020/lib/_internal/objects/social-post-stats.mjs +207 -1
  9. package/esm2020/lib/_internal/objects/social-posts.mjs +33 -1
  10. package/esm2020/lib/_internal/social-mentions.api.service.mjs +40 -0
  11. package/esm2020/lib/index.mjs +2 -1
  12. package/esm2020/lib/social-mentions.service.mjs +27 -0
  13. package/fesm2015/vendasta-social-posts.mjs +375 -1
  14. package/fesm2015/vendasta-social-posts.mjs.map +1 -1
  15. package/fesm2020/vendasta-social-posts.mjs +375 -1
  16. package/fesm2020/vendasta-social-posts.mjs.map +1 -1
  17. package/lib/_internal/index.d.ts +1 -0
  18. package/lib/_internal/interfaces/api.interface.d.ts +17 -1
  19. package/lib/_internal/interfaces/index.d.ts +3 -3
  20. package/lib/_internal/interfaces/social-post-stats.interface.d.ts +31 -0
  21. package/lib/_internal/interfaces/social-posts.interface.d.ts +7 -0
  22. package/lib/_internal/objects/api.d.ts +26 -1
  23. package/lib/_internal/objects/index.d.ts +3 -3
  24. package/lib/_internal/objects/social-post-stats.d.ts +43 -0
  25. package/lib/_internal/objects/social-posts.d.ts +10 -0
  26. package/lib/_internal/social-mentions.api.service.d.ts +13 -0
  27. package/lib/index.d.ts +1 -0
  28. package/lib/social-mentions.service.d.ts +11 -0
  29. package/package.json +1 -1
@@ -17,6 +17,7 @@ export { PexelsImagesApiService } from './pexels-images.api.service';
17
17
  export { PixabayImagesApiService } from './pixabay-images.api.service';
18
18
  export { PostPerformanceApiService } from './post-performance.api.service';
19
19
  export { PostTemplatesApiService } from './post-templates.api.service';
20
+ export { SocialMentionsApiService } from './social-mentions.api.service';
20
21
  export { SocialPostsApiService } from './social-posts.api.service';
21
22
  export { SocialPostsV2ApiService } from './social-posts-v2.api.service';
22
23
  export { TenorGifsApiService } from './tenor-gifs.api.service';
@@ -1,7 +1,7 @@
1
1
  import { FieldMaskInterface } from './field-mask.interface';
2
2
  import { HashtagInterface } from './hashtag.interface';
3
3
  import { LocationInterface, BulkUploadMultilocationInterface, MultilocationPostErrorInterface, PostCustomizationInterface, PostCustomizationByLocationInterface, MultilocationPostInterface, MultilocationServicesInterface } from './multilocation-post.interface';
4
- import { MediaEntryInterface, MetaDataInterface, SSIDPostTypeInterface, MLPostCategoryInterface, YoutubeCustomizationInterface, SocialPostInterface, PostTemplateInterface, SocialPostDataInterface, SchedulePostStatusInterface } from './social-posts.interface';
4
+ import { MediaEntryInterface, MetaDataInterface, SSIDPostTypeInterface, MLPostCategoryInterface, YoutubeCustomizationInterface, SocialPostInterface, PostTemplateInterface, FacebookPageInfoInterface, SocialPostDataInterface, SchedulePostStatusInterface } from './social-posts.interface';
5
5
  import { PexelsImageInterface } from './pexels-image.interface';
6
6
  import { PixabayImageInterface } from './pixabay-image.interface';
7
7
  import { SocialPostStatsInterface } from './social-post-stats.interface';
@@ -107,6 +107,18 @@ export interface EditMultilocationPostResponseInterface {
107
107
  post?: MultilocationPostInterface;
108
108
  errors?: MultilocationPostErrorInterface[];
109
109
  }
110
+ export interface FetchFacebookMentionInfoRequestInterface {
111
+ accountGroupId?: string;
112
+ partnerId?: string;
113
+ socialServiceId?: string;
114
+ socialProfileId?: string;
115
+ pageIds?: string[];
116
+ }
117
+ export interface FetchFacebookMentionInfoResponseInterface {
118
+ pageInfo?: {
119
+ [key: string]: FacebookPageInfoInterface;
120
+ };
121
+ }
110
122
  export interface PartnerListScheduledSocialPostsRequestFiltersInterface {
111
123
  dateRange?: DateRangeFilterInterface;
112
124
  partnerId?: string;
@@ -241,6 +253,10 @@ export interface ListTenorGifsResponseInterface {
241
253
  next?: string;
242
254
  results?: TenorGifInterface[];
243
255
  }
256
+ export interface FetchFacebookMentionInfoResponsePageInfoEntryInterface {
257
+ key?: string;
258
+ value?: FacebookPageInfoInterface;
259
+ }
244
260
  export interface PartnerListScheduledPostsResponseInterface {
245
261
  socialPosts?: SocialPostInterface[];
246
262
  nextCursor?: string;
@@ -1,13 +1,13 @@
1
1
  export { FieldMaskInterface, } from './field-mask.interface';
2
2
  export { HashtagInterface, } from './hashtag.interface';
3
- export { AuthorInterface, BlogPostCustomizationInterface, CallToActionInterface, CategoryInterface, ErrorInterface, EventInterface, MLPostCategoryInterface, MediaEntryInterface, MetaDataInterface, PostTemplateInterface, SSIDPostTypeInterface, SchedulePostStatusInterface, SocialCampaignInterface, SocialPostInterface, SocialPostDataInterface, TikTokCustomizationInterface, YoutubeCustomizationInterface, } from './social-posts.interface';
3
+ export { AuthorInterface, BlogPostCustomizationInterface, CallToActionInterface, CategoryInterface, ErrorInterface, EventInterface, FacebookPageInfoInterface, MLPostCategoryInterface, MediaEntryInterface, MetaDataInterface, PostTemplateInterface, SSIDPostTypeInterface, SchedulePostStatusInterface, SocialCampaignInterface, SocialPostInterface, SocialPostDataInterface, TikTokCustomizationInterface, YoutubeCustomizationInterface, } from './social-posts.interface';
4
4
  export { BulkUploadMultilocationInterface, LocationInterface, MultilocationPostInterface, MultilocationPostErrorInterface, MultilocationServicesInterface, PostActionInterface, PostCustomizationInterface, PostCustomizationByLocationInterface, PostEventInterface, } from './multilocation-post.interface';
5
5
  export { PixabayImageInterface, } from './pixabay-image.interface';
6
- export { FacebookPostStatsInterface, SocialPostStatsInterface, TwitterPostStatsInterface, } from './social-post-stats.interface';
6
+ export { FacebookPostStatsInterface, InstagramPostStatsInterface, LinkedInPostStatsInterface, SocialPostStatsInterface, TikTokPostStatsInterface, TwitterPostStatsInterface, YoutubePostStatsInterface, } from './social-post-stats.interface';
7
7
  export { TenorGifMediaMapEntryInterface, TenorGifInterface, TenorMediaObjectInterface, } from './tenor-gif.interface';
8
8
  export { PexelsImageInterface, } from './pexels-image.interface';
9
9
  export { AccessInterface, MCPOptionsInterface, } from './annotations.interface';
10
- export { BulkCreateMultilocationPostRequestInterface, BulkCreateMultilocationPostResponseInterface, CreateMultilocationPostRequestInterface, CreateMultilocationPostResponseInterface, CreatePostTemplateRequestInterface, CreatePostTemplateResponseInterface, DateRangeFilterInterface, DeleteHashtagsRequestInterface, DeleteMultilocationPostRequestInterface, DeletePostTemplateRequestInterface, DeleteSocialPostRequestInterface, EditMultilocationPostRequestInterface, EditMultilocationPostResponseInterface, PartnerListScheduledSocialPostsRequestFiltersInterface, GenerateCSVForPerformanceStatsRequestInterface, GenerateCSVForPerformanceStatsResponseInterface, GetGeneratedCSVForPerformanceStatsRequestInterface, GetGeneratedCSVForPerformanceStatsResponseInterface, GetMultiSocialPostStatsRequestInterface, GetMultiSocialPostStatsResponseInterface, GetMultiSocialPostsRequestInterface, GetMultiSocialPostsResponseInterface, GetMultilocationPostRequestInterface, GetMultilocationPostResponseInterface, GetPostTemplateRequestInterface, GetPostTemplateResponseInterface, GetScheduledPostCountRequestInterface, GetScheduledPostCountResponseInterface, GetTenorAnonymousIdRequestInterface, GetTenorAnonymousIdResponseInterface, ListMultilocationPostsForBrandRequestInterface, ListMultilocationPostsForBrandResponseInterface, ListPexelsImagesRequestInterface, ListPexelsImagesResponseInterface, ListPixabayImagesRequestInterface, ListPixabayImagesResponseInterface, ListPostTemplatesRequestInterface, ListPostTemplatesResponseInterface, ListSocialPostsRequestInterface, ListSocialPostsResponseInterface, ListTenorGifsRequestInterface, ListTenorGifsResponseInterface, PartnerListScheduledPostsResponseInterface, PartnerListScheduledSocialPostsRequestInterface, PostDataInterface, RemoveFromMultilocationPostRequestInterface, ReplaceHashtagsRequestInterface, SchedulePostRequestInterface, SchedulePostResponseInterface, ScheduleToAllPagesRequestInterface, ScheduleToAllPagesResponseInterface, SearchHashtagRequestInterface, SearchHashtagResponseInterface, SuggestMessageRequestInterface, SuggestMessageResponseInterface, UpdatePostTemplateRequestInterface, } from './api.interface';
10
+ export { BulkCreateMultilocationPostRequestInterface, BulkCreateMultilocationPostResponseInterface, CreateMultilocationPostRequestInterface, CreateMultilocationPostResponseInterface, CreatePostTemplateRequestInterface, CreatePostTemplateResponseInterface, DateRangeFilterInterface, DeleteHashtagsRequestInterface, DeleteMultilocationPostRequestInterface, DeletePostTemplateRequestInterface, DeleteSocialPostRequestInterface, EditMultilocationPostRequestInterface, EditMultilocationPostResponseInterface, FetchFacebookMentionInfoRequestInterface, FetchFacebookMentionInfoResponseInterface, PartnerListScheduledSocialPostsRequestFiltersInterface, GenerateCSVForPerformanceStatsRequestInterface, GenerateCSVForPerformanceStatsResponseInterface, GetGeneratedCSVForPerformanceStatsRequestInterface, GetGeneratedCSVForPerformanceStatsResponseInterface, GetMultiSocialPostStatsRequestInterface, GetMultiSocialPostStatsResponseInterface, GetMultiSocialPostsRequestInterface, GetMultiSocialPostsResponseInterface, GetMultilocationPostRequestInterface, GetMultilocationPostResponseInterface, GetPostTemplateRequestInterface, GetPostTemplateResponseInterface, GetScheduledPostCountRequestInterface, GetScheduledPostCountResponseInterface, GetTenorAnonymousIdRequestInterface, GetTenorAnonymousIdResponseInterface, ListMultilocationPostsForBrandRequestInterface, ListMultilocationPostsForBrandResponseInterface, ListPexelsImagesRequestInterface, ListPexelsImagesResponseInterface, ListPixabayImagesRequestInterface, ListPixabayImagesResponseInterface, ListPostTemplatesRequestInterface, ListPostTemplatesResponseInterface, ListSocialPostsRequestInterface, ListSocialPostsResponseInterface, ListTenorGifsRequestInterface, ListTenorGifsResponseInterface, FetchFacebookMentionInfoResponsePageInfoEntryInterface, PartnerListScheduledPostsResponseInterface, PartnerListScheduledSocialPostsRequestInterface, PostDataInterface, RemoveFromMultilocationPostRequestInterface, ReplaceHashtagsRequestInterface, SchedulePostRequestInterface, SchedulePostResponseInterface, ScheduleToAllPagesRequestInterface, ScheduleToAllPagesResponseInterface, SearchHashtagRequestInterface, SearchHashtagResponseInterface, SuggestMessageRequestInterface, SuggestMessageResponseInterface, UpdatePostTemplateRequestInterface, } from './api.interface';
11
11
  export { LinkV2Interface, MetadataV2Interface, PostActionV2Interface, PostContentV2Interface, PostCustomizationV2Interface, PostEventV2Interface, PostMediaV2Interface, SocialPostV2Interface, TikTokCustomizationV2Interface, YoutubeCustomizationV2Interface, } from './social-post-v2.interface';
12
12
  export { MediaInterface, } from './linkedin-v2.interface';
13
13
  export { AncestryInterface, CollectionInterface, ImageInterface, LinksInterface, PhotoInterface, SocialInterface, SourceInterface, SubAncestryInterface, TagsInterface, UrlsInterface, UserInterface, UserLinkInterface, } from './unsplash-image.interface';
@@ -7,10 +7,34 @@ export interface FacebookPostStatsInterface {
7
7
  reactions?: number;
8
8
  peopleReached?: number;
9
9
  }
10
+ export interface InstagramPostStatsInterface {
11
+ likeCount?: number;
12
+ commentCount?: number;
13
+ saves?: number;
14
+ reach?: number;
15
+ videoViews?: number;
16
+ }
17
+ export interface LinkedInPostStatsInterface {
18
+ likeCount?: number;
19
+ commentCount?: number;
20
+ shareCount?: number;
21
+ clicks?: number;
22
+ impressions?: number;
23
+ }
10
24
  export interface SocialPostStatsInterface {
11
25
  internalPostId?: string;
12
26
  facebookPostStats?: FacebookPostStatsInterface;
13
27
  twitterPostStats?: TwitterPostStatsInterface;
28
+ linkedinPostStats?: LinkedInPostStatsInterface;
29
+ instagramPostStats?: InstagramPostStatsInterface;
30
+ youtubePostStats?: YoutubePostStatsInterface;
31
+ tiktokPostStats?: TikTokPostStatsInterface;
32
+ }
33
+ export interface TikTokPostStatsInterface {
34
+ likeCount?: number;
35
+ commentCount?: number;
36
+ shareCount?: number;
37
+ peopleReached?: number;
14
38
  }
15
39
  export interface TwitterPostStatsInterface {
16
40
  favourites?: number;
@@ -18,3 +42,10 @@ export interface TwitterPostStatsInterface {
18
42
  retweets?: number;
19
43
  hasRetweeted?: boolean;
20
44
  }
45
+ export interface YoutubePostStatsInterface {
46
+ likeCount?: number;
47
+ commentCount?: number;
48
+ favourites?: number;
49
+ views?: number;
50
+ videoViews?: number;
51
+ }
@@ -26,6 +26,13 @@ export interface EventInterface {
26
26
  startDatetime?: Date;
27
27
  endDatetime?: Date;
28
28
  }
29
+ export interface FacebookPageInfoInterface {
30
+ id?: string;
31
+ name?: string;
32
+ category?: string;
33
+ profileUrl?: string;
34
+ profileImageUrl?: string;
35
+ }
29
36
  export interface MLPostCategoryInterface {
30
37
  isDraft?: boolean;
31
38
  isHidden?: boolean;
@@ -2,7 +2,7 @@ import * as i from '../interfaces';
2
2
  import { FieldMask } from './field-mask';
3
3
  import { Hashtag } from './hashtag';
4
4
  import { Location, BulkUploadMultilocation, MultilocationPostError, PostCustomization, PostCustomizationByLocation, MultilocationPost, MultilocationServices } from './multilocation-post';
5
- import { MediaEntry, MetaData, SSIDPostType, MLPostCategory, YoutubeCustomization, SocialPost, PostTemplate, SocialPostData, SchedulePostStatus } from './social-posts';
5
+ import { MediaEntry, MetaData, SSIDPostType, MLPostCategory, YoutubeCustomization, SocialPost, PostTemplate, FacebookPageInfo, SocialPostData, SchedulePostStatus } from './social-posts';
6
6
  import { PexelsImage } from './pexels-image';
7
7
  import { PixabayImage } from './pixabay-image';
8
8
  import { SocialPostStats } from './social-post-stats';
@@ -148,6 +148,24 @@ export declare class EditMultilocationPostResponse implements i.EditMultilocatio
148
148
  constructor(kwargs?: i.EditMultilocationPostResponseInterface);
149
149
  toApiJson(): object;
150
150
  }
151
+ export declare class FetchFacebookMentionInfoRequest implements i.FetchFacebookMentionInfoRequestInterface {
152
+ accountGroupId: string;
153
+ partnerId: string;
154
+ socialServiceId: string;
155
+ socialProfileId: string;
156
+ pageIds: string[];
157
+ static fromProto(proto: any): FetchFacebookMentionInfoRequest;
158
+ constructor(kwargs?: i.FetchFacebookMentionInfoRequestInterface);
159
+ toApiJson(): object;
160
+ }
161
+ export declare class FetchFacebookMentionInfoResponse implements i.FetchFacebookMentionInfoResponseInterface {
162
+ pageInfo: {
163
+ [key: string]: FacebookPageInfo;
164
+ };
165
+ static fromProto(proto: any): FetchFacebookMentionInfoResponse;
166
+ constructor(kwargs?: i.FetchFacebookMentionInfoResponseInterface);
167
+ toApiJson(): object;
168
+ }
151
169
  export declare class PartnerListScheduledSocialPostsRequestFilters implements i.PartnerListScheduledSocialPostsRequestFiltersInterface {
152
170
  dateRange: DateRangeFilter;
153
171
  partnerId: string;
@@ -369,6 +387,13 @@ export declare class ListTenorGifsResponse implements i.ListTenorGifsResponseInt
369
387
  constructor(kwargs?: i.ListTenorGifsResponseInterface);
370
388
  toApiJson(): object;
371
389
  }
390
+ export declare class FetchFacebookMentionInfoResponsePageInfoEntry implements i.FetchFacebookMentionInfoResponsePageInfoEntryInterface {
391
+ key: string;
392
+ value: FacebookPageInfo;
393
+ static fromProto(proto: any): FetchFacebookMentionInfoResponsePageInfoEntry;
394
+ constructor(kwargs?: i.FetchFacebookMentionInfoResponsePageInfoEntryInterface);
395
+ toApiJson(): object;
396
+ }
372
397
  export declare class PartnerListScheduledPostsResponse implements i.PartnerListScheduledPostsResponseInterface {
373
398
  socialPosts: SocialPost[];
374
399
  nextCursor: string;
@@ -1,13 +1,13 @@
1
1
  export { FieldMask, } from './field-mask';
2
2
  export { Hashtag, } from './hashtag';
3
- export { Author, BlogPostCustomization, CallToAction, Category, Error, Event, MLPostCategory, MediaEntry, MetaData, PostTemplate, SSIDPostType, SchedulePostStatus, SocialCampaign, SocialPost, SocialPostData, TikTokCustomization, YoutubeCustomization, } from './social-posts';
3
+ export { Author, BlogPostCustomization, CallToAction, Category, Error, Event, FacebookPageInfo, MLPostCategory, MediaEntry, MetaData, PostTemplate, SSIDPostType, SchedulePostStatus, SocialCampaign, SocialPost, SocialPostData, TikTokCustomization, YoutubeCustomization, } from './social-posts';
4
4
  export { BulkUploadMultilocation, Location, MultilocationPost, MultilocationPostError, MultilocationServices, PostAction, PostCustomization, PostCustomizationByLocation, PostEvent, } from './multilocation-post';
5
5
  export { PixabayImage, } from './pixabay-image';
6
- export { FacebookPostStats, SocialPostStats, TwitterPostStats, } from './social-post-stats';
6
+ export { FacebookPostStats, InstagramPostStats, LinkedInPostStats, SocialPostStats, TikTokPostStats, TwitterPostStats, YoutubePostStats, } from './social-post-stats';
7
7
  export { TenorGifMediaMapEntry, TenorGif, TenorMediaObject, } from './tenor-gif';
8
8
  export { PexelsImage, } from './pexels-image';
9
9
  export { Access, MCPOptions, } from './annotations';
10
- export { BulkCreateMultilocationPostRequest, BulkCreateMultilocationPostResponse, CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, DateRangeFilter, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, PartnerListScheduledSocialPostsRequestFilters, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPexelsImagesRequest, ListPexelsImagesResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PostData, RemoveFromMultilocationPostRequest, ReplaceHashtagsRequest, SchedulePostRequest, SchedulePostResponse, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SearchHashtagRequest, SearchHashtagResponse, SuggestMessageRequest, SuggestMessageResponse, UpdatePostTemplateRequest, } from './api';
10
+ export { BulkCreateMultilocationPostRequest, BulkCreateMultilocationPostResponse, CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, DateRangeFilter, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, FetchFacebookMentionInfoRequest, FetchFacebookMentionInfoResponse, PartnerListScheduledSocialPostsRequestFilters, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPexelsImagesRequest, ListPexelsImagesResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, FetchFacebookMentionInfoResponsePageInfoEntry, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PostData, RemoveFromMultilocationPostRequest, ReplaceHashtagsRequest, SchedulePostRequest, SchedulePostResponse, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SearchHashtagRequest, SearchHashtagResponse, SuggestMessageRequest, SuggestMessageResponse, UpdatePostTemplateRequest, } from './api';
11
11
  export { LinkV2, MetadataV2, PostActionV2, PostContentV2, PostCustomizationV2, PostEventV2, PostMediaV2, SocialPostV2, TikTokCustomizationV2, YoutubeCustomizationV2, } from './social-post-v2';
12
12
  export { Media, } from './linkedin-v2';
13
13
  export { Ancestry, Collection, Image, Links, Photo, Social, Source, SubAncestry, Tags, Urls, User, UserLink, } from './unsplash-image';
@@ -12,14 +12,47 @@ export declare class FacebookPostStats implements i.FacebookPostStatsInterface {
12
12
  constructor(kwargs?: i.FacebookPostStatsInterface);
13
13
  toApiJson(): object;
14
14
  }
15
+ export declare class InstagramPostStats implements i.InstagramPostStatsInterface {
16
+ likeCount: number;
17
+ commentCount: number;
18
+ saves: number;
19
+ reach: number;
20
+ videoViews: number;
21
+ static fromProto(proto: any): InstagramPostStats;
22
+ constructor(kwargs?: i.InstagramPostStatsInterface);
23
+ toApiJson(): object;
24
+ }
25
+ export declare class LinkedInPostStats implements i.LinkedInPostStatsInterface {
26
+ likeCount: number;
27
+ commentCount: number;
28
+ shareCount: number;
29
+ clicks: number;
30
+ impressions: number;
31
+ static fromProto(proto: any): LinkedInPostStats;
32
+ constructor(kwargs?: i.LinkedInPostStatsInterface);
33
+ toApiJson(): object;
34
+ }
15
35
  export declare class SocialPostStats implements i.SocialPostStatsInterface {
16
36
  internalPostId: string;
17
37
  facebookPostStats: FacebookPostStats;
18
38
  twitterPostStats: TwitterPostStats;
39
+ linkedinPostStats: LinkedInPostStats;
40
+ instagramPostStats: InstagramPostStats;
41
+ youtubePostStats: YoutubePostStats;
42
+ tiktokPostStats: TikTokPostStats;
19
43
  static fromProto(proto: any): SocialPostStats;
20
44
  constructor(kwargs?: i.SocialPostStatsInterface);
21
45
  toApiJson(): object;
22
46
  }
47
+ export declare class TikTokPostStats implements i.TikTokPostStatsInterface {
48
+ likeCount: number;
49
+ commentCount: number;
50
+ shareCount: number;
51
+ peopleReached: number;
52
+ static fromProto(proto: any): TikTokPostStats;
53
+ constructor(kwargs?: i.TikTokPostStatsInterface);
54
+ toApiJson(): object;
55
+ }
23
56
  export declare class TwitterPostStats implements i.TwitterPostStatsInterface {
24
57
  favourites: number;
25
58
  hasFavourited: boolean;
@@ -29,3 +62,13 @@ export declare class TwitterPostStats implements i.TwitterPostStatsInterface {
29
62
  constructor(kwargs?: i.TwitterPostStatsInterface);
30
63
  toApiJson(): object;
31
64
  }
65
+ export declare class YoutubePostStats implements i.YoutubePostStatsInterface {
66
+ likeCount: number;
67
+ commentCount: number;
68
+ favourites: number;
69
+ views: number;
70
+ videoViews: number;
71
+ static fromProto(proto: any): YoutubePostStats;
72
+ constructor(kwargs?: i.YoutubePostStatsInterface);
73
+ toApiJson(): object;
74
+ }
@@ -46,6 +46,16 @@ export declare class Event implements i.EventInterface {
46
46
  constructor(kwargs?: i.EventInterface);
47
47
  toApiJson(): object;
48
48
  }
49
+ export declare class FacebookPageInfo implements i.FacebookPageInfoInterface {
50
+ id: string;
51
+ name: string;
52
+ category: string;
53
+ profileUrl: string;
54
+ profileImageUrl: string;
55
+ static fromProto(proto: any): FacebookPageInfo;
56
+ constructor(kwargs?: i.FacebookPageInfoInterface);
57
+ toApiJson(): object;
58
+ }
49
59
  export declare class MLPostCategory implements i.MLPostCategoryInterface {
50
60
  isDraft: boolean;
51
61
  isHidden: boolean;
@@ -0,0 +1,13 @@
1
+ import { FetchFacebookMentionInfoRequest, FetchFacebookMentionInfoResponse } from './objects/';
2
+ import { FetchFacebookMentionInfoRequestInterface } from './interfaces/';
3
+ import { Observable } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SocialMentionsApiService {
6
+ private readonly hostService;
7
+ private readonly http;
8
+ private _host;
9
+ private apiOptions;
10
+ fetchFacebookMentionInfo(r: FetchFacebookMentionInfoRequest | FetchFacebookMentionInfoRequestInterface): Observable<FetchFacebookMentionInfoResponse>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<SocialMentionsApiService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<SocialMentionsApiService>;
13
+ }
package/lib/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export { SocialPostsService } from './social-posts.service';
2
+ export { SocialMentionsService } from './social-mentions.service';
2
3
  export { PostTemplatesService } from './post-templates.service';
3
4
  export { MultilocationPostsService } from './multilocation-posts.service';
4
5
  export { TenorGifsService } from './tenor-gifs.service';
@@ -0,0 +1,11 @@
1
+ import { Observable } from 'rxjs';
2
+ import { FetchFacebookMentionInfoResponse } from './_internal/objects/api';
3
+ import { SocialMentionsApiService } from './_internal/social-mentions.api.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class SocialMentionsService {
6
+ private socialMentionsApiService;
7
+ constructor(socialMentionsApiService: SocialMentionsApiService);
8
+ fetchFacebookMentionInfo(accountGroupId: string, partnerId: string, socialServiceId: string, socialProfileId: string, pageIds: string[]): Observable<FetchFacebookMentionInfoResponse>;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SocialMentionsService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<SocialMentionsService>;
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/social-posts",
3
- "version": "5.45.8",
3
+ "version": "5.46.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"