@vendasta/social-posts 5.42.3 → 5.42.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/_internal/interfaces/api-v2.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/multilocation-post.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/social-posts.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/api-v2.mjs +7 -1
- package/esm2020/lib/_internal/objects/api.mjs +8 -2
- package/esm2020/lib/_internal/objects/index.mjs +3 -3
- package/esm2020/lib/_internal/objects/multilocation-post.mjs +8 -2
- package/esm2020/lib/_internal/objects/social-posts.mjs +24 -1
- package/esm2020/lib/multilocation-posts.service.mjs +4 -3
- package/fesm2015/vendasta-social-posts.mjs +45 -3
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +45 -3
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/lib/_internal/interfaces/api-v2.interface.d.ts +2 -0
- package/lib/_internal/interfaces/api.interface.d.ts +2 -1
- package/lib/_internal/interfaces/index.d.ts +2 -2
- package/lib/_internal/interfaces/multilocation-post.interface.d.ts +2 -1
- package/lib/_internal/interfaces/social-posts.interface.d.ts +4 -0
- package/lib/_internal/objects/api-v2.d.ts +2 -0
- package/lib/_internal/objects/api.d.ts +2 -1
- package/lib/_internal/objects/index.d.ts +2 -2
- package/lib/_internal/objects/multilocation-post.d.ts +2 -1
- package/lib/_internal/objects/social-posts.d.ts +7 -0
- package/lib/multilocation-posts.service.d.ts +2 -2
- package/package.json +1 -1
|
@@ -55,6 +55,8 @@ export interface FetchLibraryImagesRequestInterface {
|
|
|
55
55
|
keywordInput?: KeywordGenerationInterface;
|
|
56
56
|
imageCount?: number;
|
|
57
57
|
includeLocalUrl?: boolean;
|
|
58
|
+
pageNumber?: number;
|
|
59
|
+
order?: string;
|
|
58
60
|
}
|
|
59
61
|
export interface FetchLibraryImagesResponseInterface {
|
|
60
62
|
images?: ImageResponseInterface[];
|
|
@@ -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, MultilocationPostInterface, MultilocationServicesInterface } from './multilocation-post.interface';
|
|
4
|
-
import { MediaEntryInterface, MetaDataInterface, SSIDPostTypeInterface, YoutubeCustomizationInterface, SocialPostInterface, PostTemplateInterface, SocialPostDataInterface, SchedulePostStatusInterface } from './social-posts.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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { FieldMaskInterface, } from './field-mask.interface';
|
|
2
2
|
export { HashtagInterface, } from './hashtag.interface';
|
|
3
|
-
export {
|
|
3
|
+
export { BlogPostCustomizationInterface, CallToActionInterface, ErrorInterface, EventInterface, 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, PostEventInterface, } from './multilocation-post.interface';
|
|
5
5
|
export { PixabayImageInterface, } from './pixabay-image.interface';
|
|
6
6
|
export { FacebookPostStatsInterface, SocialPostStatsInterface, TwitterPostStatsInterface, } from './social-post-stats.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 { AuthorsRequestInterface, AuthorsResponseInterface, BlogImageInterface, BlogPostInterface, BlogVideoInterface, CategoryRequestInterface, CategoryResponseInterface, DeleteBlogPostRequestInterface, GetMultiBlogPostsRequestInterface, GetMultiBlogPostsResponseInterface, MediaPropertyInterface, PublishPostRequestInterface, PublishPostResponseInterface, RepostBlogPostRequestInterface, StatusRequestInterface, StatusResponseInterface, UpdateBlogPostRequestInterface, } from './wordpress-plugin.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';
|
|
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,6 +35,7 @@ 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;
|
|
@@ -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;
|
|
@@ -81,6 +81,8 @@ export declare class FetchLibraryImagesRequest implements i.FetchLibraryImagesRe
|
|
|
81
81
|
keywordInput: KeywordGeneration;
|
|
82
82
|
imageCount: number;
|
|
83
83
|
includeLocalUrl: boolean;
|
|
84
|
+
pageNumber: number;
|
|
85
|
+
order: string;
|
|
84
86
|
static fromProto(proto: any): FetchLibraryImagesRequest;
|
|
85
87
|
constructor(kwargs?: i.FetchLibraryImagesRequestInterface);
|
|
86
88
|
toApiJson(): object;
|
|
@@ -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, MultilocationPost, MultilocationServices } from './multilocation-post';
|
|
5
|
-
import { MediaEntry, MetaData, SSIDPostType, YoutubeCustomization, SocialPost, PostTemplate, SocialPostData, SchedulePostStatus } from './social-posts';
|
|
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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { FieldMask, } from './field-mask';
|
|
2
2
|
export { Hashtag, } from './hashtag';
|
|
3
|
-
export {
|
|
3
|
+
export { BlogPostCustomization, CallToAction, Error, Event, MLPostCategory, MediaEntry, MetaData, PostTemplate, SSIDPostType, SchedulePostStatus, SocialCampaign, SocialPost, SocialPostData, TikTokCustomization, YoutubeCustomization, } from './social-posts';
|
|
4
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';
|
|
@@ -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 { AuthorsRequest, AuthorsResponse, BlogImage, BlogPost, BlogVideo, CategoryRequest, CategoryResponse, DeleteBlogPostRequest, GetMultiBlogPostsRequest, GetMultiBlogPostsResponse, MediaProperty, PublishPostRequest, PublishPostResponse, RepostBlogPostRequest, StatusRequest, StatusResponse, UpdateBlogPostRequest, } from './wordpress-plugin';
|
|
17
|
+
export { Author, AuthorsRequest, AuthorsResponse, BlogImage, BlogPost, BlogVideo, Category, 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;
|
|
@@ -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>;
|