@vendasta/social-posts 5.42.5 → 5.42.7

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.
@@ -1,4 +1,4 @@
1
- export { CallToActionCallToActionType, SocialPostDeletionStatus, MessageLength, PostType, PostingStatus, YoutubeCustomizationPrivacyStatus, SocialPostService, TemplateType, } from './social-posts.enum';
1
+ export { CallToActionCallToActionType, SocialPostDeletionStatus, MLPostState, MessageLength, PostType, PostingStatus, YoutubeCustomizationPrivacyStatus, SocialPostService, TemplateType, } from './social-posts.enum';
2
2
  export { RemoveReason, } from './multilocation-post.enum';
3
3
  export { BulkPostStatus, } from './api.enum';
4
4
  export { PostStatusV2, PostTypeV2, YoutubeCustomizationV2PrivacyStatusV2, } from './social-post-v2.enum';
@@ -12,6 +12,12 @@ export declare enum SocialPostDeletionStatus {
12
12
  FAILED = 1,
13
13
  IN_PROGRESS = 2
14
14
  }
15
+ export declare enum MLPostState {
16
+ DRAFT = 0,
17
+ HIDDEN_DRAFT = 1,
18
+ SCHEDULED = 2,
19
+ PUBLISHED = 3
20
+ }
15
21
  export declare enum MessageLength {
16
22
  SHORT_FORM = 0,
17
23
  LONG_FORM = 1
@@ -2,3 +2,6 @@ export interface AccessInterface {
2
2
  scope?: string[];
3
3
  public?: boolean;
4
4
  }
5
+ export interface MCPOptionsInterface {
6
+ serverId?: string[];
7
+ }
@@ -165,6 +165,7 @@ export interface ListMultilocationPostsForBrandRequestInterface {
165
165
  endDate?: Date;
166
166
  cursor?: string;
167
167
  pageSize?: number;
168
+ isDraft?: boolean;
168
169
  }
169
170
  export interface ListMultilocationPostsForBrandResponseInterface {
170
171
  multilocationPosts?: MultilocationPostInterface[];
@@ -6,7 +6,7 @@ export { PixabayImageInterface, } from './pixabay-image.interface';
6
6
  export { FacebookPostStatsInterface, SocialPostStatsInterface, TwitterPostStatsInterface, } from './social-post-stats.interface';
7
7
  export { TenorGifMediaMapEntryInterface, TenorGifInterface, TenorMediaObjectInterface, } from './tenor-gif.interface';
8
8
  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, 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';
9
- export { AccessInterface, } from './annotations.interface';
9
+ export { AccessInterface, MCPOptionsInterface, } from './annotations.interface';
10
10
  export { LinkV2Interface, MetadataV2Interface, PostActionV2Interface, PostContentV2Interface, PostCustomizationV2Interface, PostEventV2Interface, PostMediaV2Interface, SocialPostV2Interface, TikTokCustomizationV2Interface, YoutubeCustomizationV2Interface, } from './social-post-v2.interface';
11
11
  export { MediaInterface, } from './linkedin-v2.interface';
12
12
  export { AncestryInterface, CollectionInterface, ImageInterface, LinksInterface, PhotoInterface, SocialInterface, SourceInterface, SubAncestryInterface, TagsInterface, UrlsInterface, UserInterface, UserLinkInterface, } from './unsplash-image.interface';
@@ -1,4 +1,5 @@
1
1
  import { MediaEntryInterface, MetaDataInterface, SSIDPostTypeInterface, MLPostCategoryInterface } from './social-posts.interface';
2
+ import * as e from '../enums';
2
3
  export interface BulkUploadMultilocationInterface {
3
4
  text?: string;
4
5
  media?: string[];
@@ -13,6 +14,7 @@ export interface BulkUploadMultilocationInterface {
13
14
  postTypes?: SSIDPostTypeInterface[];
14
15
  multilocationId?: string;
15
16
  locations?: LocationInterface[];
17
+ postCategory?: MLPostCategoryInterface;
16
18
  }
17
19
  export interface LocationInterface {
18
20
  socialServiceIds?: string[];
@@ -36,6 +38,7 @@ export interface MultilocationPostInterface {
36
38
  linkShortCode?: string;
37
39
  postTypes?: SSIDPostTypeInterface[];
38
40
  postCategory?: MLPostCategoryInterface;
41
+ postState?: e.MLPostState;
39
42
  }
40
43
  export interface MultilocationPostErrorInterface {
41
44
  socialServiceId?: string;
@@ -7,3 +7,9 @@ export declare class Access implements i.AccessInterface {
7
7
  constructor(kwargs?: i.AccessInterface);
8
8
  toApiJson(): object;
9
9
  }
10
+ export declare class MCPOptions implements i.MCPOptionsInterface {
11
+ serverId: string[];
12
+ static fromProto(proto: any): MCPOptions;
13
+ constructor(kwargs?: i.MCPOptionsInterface);
14
+ toApiJson(): object;
15
+ }
@@ -257,6 +257,7 @@ export declare class ListMultilocationPostsForBrandRequest implements i.ListMult
257
257
  endDate: Date;
258
258
  cursor: string;
259
259
  pageSize: number;
260
+ isDraft: boolean;
260
261
  static fromProto(proto: any): ListMultilocationPostsForBrandRequest;
261
262
  constructor(kwargs?: i.ListMultilocationPostsForBrandRequestInterface);
262
263
  toApiJson(): object;
@@ -6,7 +6,7 @@ export { PixabayImage, } from './pixabay-image';
6
6
  export { FacebookPostStats, SocialPostStats, TwitterPostStats, } from './social-post-stats';
7
7
  export { TenorGifMediaMapEntry, TenorGif, TenorMediaObject, } from './tenor-gif';
8
8
  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, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PostData, RemoveFromMultilocationPostRequest, ReplaceHashtagsRequest, SchedulePostRequest, SchedulePostResponse, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SearchHashtagRequest, SearchHashtagResponse, SuggestMessageRequest, SuggestMessageResponse, UpdatePostTemplateRequest, } from './api';
9
- export { Access, } from './annotations';
9
+ export { Access, MCPOptions, } from './annotations';
10
10
  export { LinkV2, MetadataV2, PostActionV2, PostContentV2, PostCustomizationV2, PostEventV2, PostMediaV2, SocialPostV2, TikTokCustomizationV2, YoutubeCustomizationV2, } from './social-post-v2';
11
11
  export { Media, } from './linkedin-v2';
12
12
  export { Ancestry, Collection, Image, Links, Photo, Social, Source, SubAncestry, Tags, Urls, User, UserLink, } from './unsplash-image';
@@ -1,5 +1,6 @@
1
1
  import * as i from '../interfaces';
2
2
  import { MediaEntry, MetaData, SSIDPostType, MLPostCategory } from './social-posts';
3
+ import * as e from '../enums';
3
4
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
4
5
  export declare class BulkUploadMultilocation implements i.BulkUploadMultilocationInterface {
5
6
  text: string;
@@ -15,6 +16,7 @@ export declare class BulkUploadMultilocation implements i.BulkUploadMultilocatio
15
16
  postTypes: SSIDPostType[];
16
17
  multilocationId: string;
17
18
  locations: Location[];
19
+ postCategory: MLPostCategory;
18
20
  static fromProto(proto: any): BulkUploadMultilocation;
19
21
  constructor(kwargs?: i.BulkUploadMultilocationInterface);
20
22
  toApiJson(): object;
@@ -44,6 +46,7 @@ export declare class MultilocationPost implements i.MultilocationPostInterface {
44
46
  linkShortCode: string;
45
47
  postTypes: SSIDPostType[];
46
48
  postCategory: MLPostCategory;
49
+ postState: e.MLPostState;
47
50
  static fromProto(proto: any): MultilocationPost;
48
51
  constructor(kwargs?: i.MultilocationPostInterface);
49
52
  toApiJson(): object;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/social-posts",
3
- "version": "5.42.5",
3
+ "version": "5.42.7",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"