@vendasta/social-posts 5.42.2 → 5.42.4

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,7 +1,7 @@
1
1
  import { FieldMaskInterface } from './field-mask.interface';
2
2
  import { HashtagInterface } from './hashtag.interface';
3
- import { LocationInterface, BulkUploadMultilocationInterface, MultilocationPostErrorInterface, PostCustomizationInterface, MultilocationPostInterface } from './multilocation-post.interface';
4
- import { MediaEntryInterface, MetaDataInterface, SSIDPostTypeInterface, YoutubeCustomizationInterface, SocialPostInterface, PostTemplateInterface, SocialPostDataInterface, SchedulePostStatusInterface } from './social-posts.interface';
3
+ import { LocationInterface, BulkUploadMultilocationInterface, MultilocationPostErrorInterface, PostCustomizationInterface, MultilocationPostInterface, MultilocationServicesInterface } from './multilocation-post.interface';
4
+ import { MediaEntryInterface, MetaDataInterface, SSIDPostTypeInterface, MLPostCategoryInterface, YoutubeCustomizationInterface, SocialPostInterface, PostTemplateInterface, SocialPostDataInterface, SchedulePostStatusInterface } from './social-posts.interface';
5
5
  import { PixabayImageInterface } from './pixabay-image.interface';
6
6
  import { SocialPostStatsInterface } from './social-post-stats.interface';
7
7
  import { TenorGifInterface } from './tenor-gif.interface';
@@ -29,6 +29,7 @@ export interface CreateMultilocationPostRequestInterface {
29
29
  customization?: PostCustomizationInterface;
30
30
  linkShortCode?: string;
31
31
  postTypes?: SSIDPostTypeInterface[];
32
+ postCategory?: MLPostCategoryInterface;
32
33
  }
33
34
  export interface CreateMultilocationPostResponseInterface {
34
35
  post?: MultilocationPostInterface;
@@ -91,6 +92,8 @@ export interface EditMultilocationPostRequestInterface {
91
92
  customization?: PostCustomizationInterface;
92
93
  linkShortCode?: string;
93
94
  postTypes?: SSIDPostTypeInterface[];
95
+ newServices?: MultilocationServicesInterface[];
96
+ deletedServices?: MultilocationServicesInterface[];
94
97
  }
95
98
  export interface EditMultilocationPostResponseInterface {
96
99
  post?: MultilocationPostInterface;
@@ -1,7 +1,7 @@
1
1
  export { FieldMaskInterface, } from './field-mask.interface';
2
2
  export { HashtagInterface, } from './hashtag.interface';
3
- export { BlogPostCustomizationInterface, CallToActionInterface, ErrorInterface, EventInterface, MediaEntryInterface, MetaDataInterface, PostTemplateInterface, SSIDPostTypeInterface, SchedulePostStatusInterface, SocialCampaignInterface, SocialPostInterface, SocialPostDataInterface, TikTokCustomizationInterface, YoutubeCustomizationInterface, } from './social-posts.interface';
4
- export { BulkUploadMultilocationInterface, LocationInterface, MultilocationPostInterface, MultilocationPostErrorInterface, PostActionInterface, PostCustomizationInterface, PostEventInterface, } from './multilocation-post.interface';
3
+ export { AuthorInterface, BlogPostCustomizationInterface, CallToActionInterface, CategoryInterface, ErrorInterface, EventInterface, MLPostCategoryInterface, MediaEntryInterface, MetaDataInterface, PostTemplateInterface, SSIDPostTypeInterface, SchedulePostStatusInterface, SocialCampaignInterface, SocialPostInterface, SocialPostDataInterface, TikTokCustomizationInterface, YoutubeCustomizationInterface, } from './social-posts.interface';
4
+ export { BulkUploadMultilocationInterface, LocationInterface, MultilocationPostInterface, MultilocationPostErrorInterface, MultilocationServicesInterface, PostActionInterface, PostCustomizationInterface, PostEventInterface, } from './multilocation-post.interface';
5
5
  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';
@@ -14,5 +14,5 @@ export { AiInstructionsInterface, BlogPostCampaignInterface, CreateCommonAiInstr
14
14
  export { ActionInterface, EndChatRequestInterface, SendMessageRequestInterface, SendMessageResponseInterface, StartChatRequestInterface, StartChatResponseInterface, } from './chat-bot.interface';
15
15
  export { ChatMessageInterface, SendMessageV2RequestInterface, SendMessageV2ResponseInterface, } from './chat-bot-v2.interface';
16
16
  export { BlogConnectionInterface, CreateBlogConnectionRequestInterface, CreateBlogConnectionResponseInterface, DeleteBlogConnectionRequestInterface, GetBlogConnectionRequestInterface, GetBlogConnectionResponseInterface, ListBlogConnectionRequestInterface, ListBlogConnectionResponseInterface, UpdateBlogConnectionRequestInterface, } from './blog-connection.interface';
17
- export { AuthorInterface, AuthorsRequestInterface, AuthorsResponseInterface, BlogImageInterface, BlogPostInterface, BlogVideoInterface, CategoryInterface, CategoryRequestInterface, CategoryResponseInterface, DeleteBlogPostRequestInterface, GetMultiBlogPostsRequestInterface, GetMultiBlogPostsResponseInterface, MediaPropertyInterface, PublishPostRequestInterface, PublishPostResponseInterface, RepostBlogPostRequestInterface, StatusRequestInterface, StatusResponseInterface, UpdateBlogPostRequestInterface, } from './wordpress-plugin.interface';
17
+ export { AuthorsRequestInterface, AuthorsResponseInterface, BlogImageInterface, BlogPostInterface, BlogVideoInterface, CategoryRequestInterface, CategoryResponseInterface, DeleteBlogPostRequestInterface, GetMultiBlogPostsRequestInterface, GetMultiBlogPostsResponseInterface, MediaPropertyInterface, PublishPostRequestInterface, PublishPostResponseInterface, RepostBlogPostRequestInterface, StatusRequestInterface, StatusResponseInterface, UpdateBlogPostRequestInterface, } from './wordpress-plugin.interface';
18
18
  export { CampaignInterface, CreateCampaignRequestInterface, CreateCampaignResponseInterface, DeleteCampaignRequestInterface, GetCampaignRequestInterface, GetCampaignResponseInterface, GetMultiCampaignsRequestInterface, GetMultiCampaignsResponseInterface, UpdateCampaignIdRequestInterface, UpdateCampaignRequestInterface, } from './campaign.interface';
@@ -1,4 +1,4 @@
1
- import { MediaEntryInterface, MetaDataInterface, SSIDPostTypeInterface } from './social-posts.interface';
1
+ import { MediaEntryInterface, MetaDataInterface, SSIDPostTypeInterface, MLPostCategoryInterface } from './social-posts.interface';
2
2
  export interface BulkUploadMultilocationInterface {
3
3
  text?: string;
4
4
  media?: string[];
@@ -35,12 +35,17 @@ export interface MultilocationPostInterface {
35
35
  customization?: PostCustomizationInterface;
36
36
  linkShortCode?: string;
37
37
  postTypes?: SSIDPostTypeInterface[];
38
+ postCategory?: MLPostCategoryInterface;
38
39
  }
39
40
  export interface MultilocationPostErrorInterface {
40
41
  socialServiceId?: string;
41
42
  accountGroupId?: string;
42
43
  errorReason?: string;
43
44
  }
45
+ export interface MultilocationServicesInterface {
46
+ serviceIds?: string[];
47
+ accountGroupId?: string;
48
+ }
44
49
  export interface PostActionInterface {
45
50
  type?: string;
46
51
  linkUrl?: string;
@@ -26,6 +26,10 @@ export interface EventInterface {
26
26
  startDatetime?: Date;
27
27
  endDatetime?: Date;
28
28
  }
29
+ export interface MLPostCategoryInterface {
30
+ isDraft?: boolean;
31
+ isHidden?: boolean;
32
+ }
29
33
  export interface MediaEntryInterface {
30
34
  mediaEntryId?: string;
31
35
  mediaUrl?: string;
@@ -1,8 +1,8 @@
1
1
  import * as i from '../interfaces';
2
2
  import { FieldMask } from './field-mask';
3
3
  import { Hashtag } from './hashtag';
4
- import { Location, BulkUploadMultilocation, MultilocationPostError, PostCustomization, MultilocationPost } from './multilocation-post';
5
- import { MediaEntry, MetaData, SSIDPostType, YoutubeCustomization, SocialPost, PostTemplate, SocialPostData, SchedulePostStatus } from './social-posts';
4
+ import { Location, BulkUploadMultilocation, MultilocationPostError, PostCustomization, MultilocationPost, MultilocationServices } from './multilocation-post';
5
+ import { MediaEntry, MetaData, SSIDPostType, MLPostCategory, YoutubeCustomization, SocialPost, PostTemplate, SocialPostData, SchedulePostStatus } from './social-posts';
6
6
  import { PixabayImage } from './pixabay-image';
7
7
  import { SocialPostStats } from './social-post-stats';
8
8
  import { TenorGif } from './tenor-gif';
@@ -37,6 +37,7 @@ export declare class CreateMultilocationPostRequest implements i.CreateMultiloca
37
37
  customization: PostCustomization;
38
38
  linkShortCode: string;
39
39
  postTypes: SSIDPostType[];
40
+ postCategory: MLPostCategory;
40
41
  static fromProto(proto: any): CreateMultilocationPostRequest;
41
42
  constructor(kwargs?: i.CreateMultilocationPostRequestInterface);
42
43
  toApiJson(): object;
@@ -126,6 +127,8 @@ export declare class EditMultilocationPostRequest implements i.EditMultilocation
126
127
  customization: PostCustomization;
127
128
  linkShortCode: string;
128
129
  postTypes: SSIDPostType[];
130
+ newServices: MultilocationServices[];
131
+ deletedServices: MultilocationServices[];
129
132
  static fromProto(proto: any): EditMultilocationPostRequest;
130
133
  constructor(kwargs?: i.EditMultilocationPostRequestInterface);
131
134
  toApiJson(): object;
@@ -1,7 +1,7 @@
1
1
  export { FieldMask, } from './field-mask';
2
2
  export { Hashtag, } from './hashtag';
3
- export { BlogPostCustomization, CallToAction, Error, Event, MediaEntry, MetaData, PostTemplate, SSIDPostType, SchedulePostStatus, SocialCampaign, SocialPost, SocialPostData, TikTokCustomization, YoutubeCustomization, } from './social-posts';
4
- export { BulkUploadMultilocation, Location, MultilocationPost, MultilocationPostError, PostAction, PostCustomization, PostEvent, } from './multilocation-post';
3
+ export { Author, BlogPostCustomization, CallToAction, Category, Error, Event, MLPostCategory, MediaEntry, MetaData, PostTemplate, SSIDPostType, SchedulePostStatus, SocialCampaign, SocialPost, SocialPostData, TikTokCustomization, YoutubeCustomization, } from './social-posts';
4
+ export { BulkUploadMultilocation, Location, MultilocationPost, MultilocationPostError, MultilocationServices, PostAction, PostCustomization, PostEvent, } from './multilocation-post';
5
5
  export { PixabayImage, } from './pixabay-image';
6
6
  export { FacebookPostStats, SocialPostStats, TwitterPostStats, } from './social-post-stats';
7
7
  export { TenorGifMediaMapEntry, TenorGif, TenorMediaObject, } from './tenor-gif';
@@ -14,5 +14,5 @@ export { AiInstructions, BlogPostCampaign, CreateCommonAiInstructionsRequest, Cr
14
14
  export { Action, EndChatRequest, SendMessageRequest, SendMessageResponse, StartChatRequest, StartChatResponse, } from './chat-bot';
15
15
  export { ChatMessage, SendMessageV2Request, SendMessageV2Response, } from './chat-bot-v2';
16
16
  export { BlogConnection, CreateBlogConnectionRequest, CreateBlogConnectionResponse, DeleteBlogConnectionRequest, GetBlogConnectionRequest, GetBlogConnectionResponse, ListBlogConnectionRequest, ListBlogConnectionResponse, UpdateBlogConnectionRequest, } from './blog-connection';
17
- export { Author, AuthorsRequest, AuthorsResponse, BlogImage, BlogPost, BlogVideo, Category, CategoryRequest, CategoryResponse, DeleteBlogPostRequest, GetMultiBlogPostsRequest, GetMultiBlogPostsResponse, MediaProperty, PublishPostRequest, PublishPostResponse, RepostBlogPostRequest, StatusRequest, StatusResponse, UpdateBlogPostRequest, } from './wordpress-plugin';
17
+ export { AuthorsRequest, AuthorsResponse, BlogImage, BlogPost, BlogVideo, CategoryRequest, CategoryResponse, DeleteBlogPostRequest, GetMultiBlogPostsRequest, GetMultiBlogPostsResponse, MediaProperty, PublishPostRequest, PublishPostResponse, RepostBlogPostRequest, StatusRequest, StatusResponse, UpdateBlogPostRequest, } from './wordpress-plugin';
18
18
  export { Campaign, CreateCampaignRequest, CreateCampaignResponse, DeleteCampaignRequest, GetCampaignRequest, GetCampaignResponse, GetMultiCampaignsRequest, GetMultiCampaignsResponse, UpdateCampaignIdRequest, UpdateCampaignRequest, } from './campaign';
@@ -1,5 +1,5 @@
1
1
  import * as i from '../interfaces';
2
- import { MediaEntry, MetaData, SSIDPostType } from './social-posts';
2
+ import { MediaEntry, MetaData, SSIDPostType, MLPostCategory } from './social-posts';
3
3
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
4
4
  export declare class BulkUploadMultilocation implements i.BulkUploadMultilocationInterface {
5
5
  text: string;
@@ -43,6 +43,7 @@ export declare class MultilocationPost implements i.MultilocationPostInterface {
43
43
  customization: PostCustomization;
44
44
  linkShortCode: string;
45
45
  postTypes: SSIDPostType[];
46
+ postCategory: MLPostCategory;
46
47
  static fromProto(proto: any): MultilocationPost;
47
48
  constructor(kwargs?: i.MultilocationPostInterface);
48
49
  toApiJson(): object;
@@ -55,6 +56,13 @@ export declare class MultilocationPostError implements i.MultilocationPostErrorI
55
56
  constructor(kwargs?: i.MultilocationPostErrorInterface);
56
57
  toApiJson(): object;
57
58
  }
59
+ export declare class MultilocationServices implements i.MultilocationServicesInterface {
60
+ serviceIds: string[];
61
+ accountGroupId: string;
62
+ static fromProto(proto: any): MultilocationServices;
63
+ constructor(kwargs?: i.MultilocationServicesInterface);
64
+ toApiJson(): object;
65
+ }
58
66
  export declare class PostAction implements i.PostActionInterface {
59
67
  type: string;
60
68
  linkUrl: string;
@@ -46,6 +46,13 @@ export declare class Event implements i.EventInterface {
46
46
  constructor(kwargs?: i.EventInterface);
47
47
  toApiJson(): object;
48
48
  }
49
+ export declare class MLPostCategory implements i.MLPostCategoryInterface {
50
+ isDraft: boolean;
51
+ isHidden: boolean;
52
+ static fromProto(proto: any): MLPostCategory;
53
+ constructor(kwargs?: i.MLPostCategoryInterface);
54
+ toApiJson(): object;
55
+ }
49
56
  export declare class MediaEntry implements i.MediaEntryInterface {
50
57
  mediaEntryId: string;
51
58
  mediaUrl: string;
@@ -5,12 +5,12 @@ import { MultilocationPostApiService } from './_internal/multilocation-post.api.
5
5
  import { FieldMask } from './_internal/objects/field-mask';
6
6
  import { Location, PostCustomization } from './_internal/objects/multilocation-post';
7
7
  import { RemoveReason } from './_internal/enums/multilocation-post.enum';
8
- import { MediaEntry, MetaData, SSIDPostType } from "./_internal";
8
+ import { MediaEntry, MetaData, MLPostCategory, SSIDPostType } from "./_internal";
9
9
  import * as i0 from "@angular/core";
10
10
  export declare class MultilocationPostsService {
11
11
  private multilocationApiService;
12
12
  constructor(multilocationApiService: MultilocationPostApiService);
13
- createMultilocationPost(brandId: string, text: string, media: string[], gifs: string[], videos: string[], scheduledDate: Date, locations: Location[], mediaEntries?: MediaEntry[], postCustomization?: PostCustomization, linkShortCode?: string, metadata?: MetaData[], postTypes?: SSIDPostType[]): Observable<CreateMultilocationPostResponse>;
13
+ createMultilocationPost(brandId: string, text: string, media: string[], gifs: string[], videos: string[], scheduledDate: Date, locations: Location[], mediaEntries?: MediaEntry[], postCustomization?: PostCustomization, linkShortCode?: string, metadata?: MetaData[], postTypes?: SSIDPostType[], postCategory?: MLPostCategory): Observable<CreateMultilocationPostResponse>;
14
14
  editMultilocationPost(brandId: string, multilocationId: string, text: string, media: string[], gifs: string[], videos: string[], scheduledDate: Date, locations: Location[], fieldMask: FieldMask, mediaEntries?: MediaEntry[], postCustomization?: PostCustomization, linkShortCode?: string, metadata?: MetaData[], postTypes?: SSIDPostType[]): Observable<EditMultilocationPostResponse>;
15
15
  removeFromMultilocationPost(reason: RemoveReason, brandId: string, multilocationId: string, locations: Location[]): Observable<HttpResponse<null>>;
16
16
  listMultilocationPostsForBrand(brandId: string, startDate: Date, endDate: Date, cursor: string, pageSize: number): Observable<ListMultilocationPostsForBrandResponse>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/social-posts",
3
- "version": "5.42.2",
3
+ "version": "5.42.4",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"