@vendasta/social-posts 5.45.5 → 5.45.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.
- package/esm2020/lib/_internal/enums/social-post-v2.enum.mjs +3 -1
- package/esm2020/lib/_internal/enums/social-posts.enum.mjs +3 -1
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/multilocation-post.api.service.mjs +6 -1
- package/esm2020/lib/_internal/objects/api.mjs +10 -1
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/esm2020/lib/multilocation-posts.service.mjs +4 -1
- package/fesm2015/vendasta-social-posts.mjs +22 -1
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +22 -1
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/lib/_internal/enums/social-post-v2.enum.d.ts +3 -1
- package/lib/_internal/enums/social-posts.enum.d.ts +3 -1
- package/lib/_internal/interfaces/api.interface.d.ts +2 -0
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/multilocation-post.api.service.d.ts +1 -0
- package/lib/_internal/objects/api.d.ts +2 -0
- package/lib/_internal/objects/index.d.ts +1 -1
- package/lib/multilocation-posts.service.d.ts +3 -2
- package/package.json +1 -1
|
@@ -10,7 +10,9 @@ export declare enum PostTypeV2 {
|
|
|
10
10
|
POST_TYPE_GIF = 3,
|
|
11
11
|
POST_TYPE_MULTI_MEDIA = 4,
|
|
12
12
|
POST_TYPE_TEXT = 5,
|
|
13
|
-
POST_TYPE_STORIES = 6
|
|
13
|
+
POST_TYPE_STORIES = 6,
|
|
14
|
+
POST_TYPE_IMAGE_STORY = 7,
|
|
15
|
+
POST_TYPE_VIDEO_STORY = 8
|
|
14
16
|
}
|
|
15
17
|
export declare enum YoutubeCustomizationV2PrivacyStatusV2 {
|
|
16
18
|
YOUTUBE_PRIVACY_STATUS_INVALID = 0,
|
|
@@ -30,7 +30,9 @@ export declare enum PostType {
|
|
|
30
30
|
POST_TYPE_REEL = 4,
|
|
31
31
|
POST_TYPE_CAROUSEL = 5,
|
|
32
32
|
POST_TYPE_STORIES = 6,
|
|
33
|
-
POST_TYPE_TEXT = 7
|
|
33
|
+
POST_TYPE_TEXT = 7,
|
|
34
|
+
POST_TYPE_IMAGE_STORY = 8,
|
|
35
|
+
POST_TYPE_VIDEO_STORY = 9
|
|
34
36
|
}
|
|
35
37
|
export declare enum PostingStatus {
|
|
36
38
|
POSTING_IN_PROGRESS = 0,
|
|
@@ -11,6 +11,7 @@ export interface BulkCreateMultilocationPostRequestInterface {
|
|
|
11
11
|
brandId?: string;
|
|
12
12
|
locations?: LocationInterface[];
|
|
13
13
|
request?: BulkUploadMultilocationInterface[];
|
|
14
|
+
mlPosts?: CreateMultilocationPostRequestInterface[];
|
|
14
15
|
}
|
|
15
16
|
export interface BulkCreateMultilocationPostResponseInterface {
|
|
16
17
|
status?: e.BulkPostStatus;
|
|
@@ -33,6 +34,7 @@ export interface CreateMultilocationPostRequestInterface {
|
|
|
33
34
|
postCategory?: MLPostCategoryInterface;
|
|
34
35
|
postCustomizationByLocation?: PostCustomizationByLocationInterface;
|
|
35
36
|
partnerId?: string;
|
|
37
|
+
multilocationId?: string;
|
|
36
38
|
}
|
|
37
39
|
export interface CreateMultilocationPostResponseInterface {
|
|
38
40
|
post?: MultilocationPostInterface;
|
|
@@ -15,5 +15,5 @@ export { AiInstructionsInterface, BlogPostCampaignInterface, CreateCommonAiInstr
|
|
|
15
15
|
export { ActionInterface, EndChatRequestInterface, SendMessageRequestInterface, SendMessageResponseInterface, StartChatRequestInterface, StartChatResponseInterface, } from './chat-bot.interface';
|
|
16
16
|
export { ChatMessageInterface, SendMessageV2RequestInterface, SendMessageV2ResponseInterface, } from './chat-bot-v2.interface';
|
|
17
17
|
export { BlogConnectionInterface, CreateBlogConnectionRequestInterface, CreateBlogConnectionResponseInterface, DeleteBlogConnectionRequestInterface, GetBlogConnectionRequestInterface, GetBlogConnectionResponseInterface, ListBlogConnectionRequestInterface, ListBlogConnectionResponseInterface, UpdateBlogConnectionRequestInterface, } from './blog-connection.interface';
|
|
18
|
-
export { AuthorsRequestInterface, AuthorsResponseInterface, BlogImageInterface, BlogPostInterface, BlogVideoInterface, CategoryRequestInterface, CategoryResponseInterface, DeleteBlogPostRequestInterface, GetMultiBlogPostsRequestInterface, GetMultiBlogPostsResponseInterface, MediaPropertyInterface, PublishPostRequestInterface, PublishPostResponseInterface, RepostBlogPostRequestInterface, StatusRequestInterface, StatusResponseInterface, UpdateBlogPostRequestInterface, } from './wordpress-plugin.interface';
|
|
18
|
+
export { AuthorInterface as WordpressAuthorInterface, AuthorsRequestInterface, AuthorsResponseInterface, BlogImageInterface, BlogPostInterface, BlogVideoInterface, CategoryInterface as WordpressCategoryInterface, CategoryRequestInterface, CategoryResponseInterface, DeleteBlogPostRequestInterface, GetMultiBlogPostsRequestInterface, GetMultiBlogPostsResponseInterface, MediaPropertyInterface, PublishPostRequestInterface, PublishPostResponseInterface, RepostBlogPostRequestInterface, StatusRequestInterface, StatusResponseInterface, UpdateBlogPostRequestInterface, } from './wordpress-plugin.interface';
|
|
19
19
|
export { CampaignInterface, CreateCampaignRequestInterface, CreateCampaignResponseInterface, DeleteCampaignRequestInterface, GetCampaignRequestInterface, GetCampaignResponseInterface, GetMultiCampaignsRequestInterface, GetMultiCampaignsResponseInterface, UpdateCampaignIdRequestInterface, UpdateCampaignRequestInterface, } from './campaign.interface';
|
|
@@ -10,6 +10,7 @@ export declare class MultilocationPostApiService {
|
|
|
10
10
|
private apiOptions;
|
|
11
11
|
createMultilocationPost(r: CreateMultilocationPostRequest | CreateMultilocationPostRequestInterface): Observable<CreateMultilocationPostResponse>;
|
|
12
12
|
editMultilocationPost(r: EditMultilocationPostRequest | EditMultilocationPostRequestInterface): Observable<EditMultilocationPostResponse>;
|
|
13
|
+
editMultilocationPostV2(r: EditMultilocationPostRequest | EditMultilocationPostRequestInterface): Observable<EditMultilocationPostResponse>;
|
|
13
14
|
removeFromMultilocationPost(r: RemoveFromMultilocationPostRequest | RemoveFromMultilocationPostRequestInterface): Observable<HttpResponse<null>>;
|
|
14
15
|
listMultilocationPostsForBrand(r: ListMultilocationPostsForBrandRequest | ListMultilocationPostsForBrandRequestInterface): Observable<ListMultilocationPostsForBrandResponse>;
|
|
15
16
|
deleteMultilocationPost(r: DeleteMultilocationPostRequest | DeleteMultilocationPostRequestInterface): Observable<HttpResponse<null>>;
|
|
@@ -13,6 +13,7 @@ export declare class BulkCreateMultilocationPostRequest implements i.BulkCreateM
|
|
|
13
13
|
brandId: string;
|
|
14
14
|
locations: Location[];
|
|
15
15
|
request: BulkUploadMultilocation[];
|
|
16
|
+
mlPosts: CreateMultilocationPostRequest[];
|
|
16
17
|
static fromProto(proto: any): BulkCreateMultilocationPostRequest;
|
|
17
18
|
constructor(kwargs?: i.BulkCreateMultilocationPostRequestInterface);
|
|
18
19
|
toApiJson(): object;
|
|
@@ -41,6 +42,7 @@ export declare class CreateMultilocationPostRequest implements i.CreateMultiloca
|
|
|
41
42
|
postCategory: MLPostCategory;
|
|
42
43
|
postCustomizationByLocation: PostCustomizationByLocation;
|
|
43
44
|
partnerId: string;
|
|
45
|
+
multilocationId: string;
|
|
44
46
|
static fromProto(proto: any): CreateMultilocationPostRequest;
|
|
45
47
|
constructor(kwargs?: i.CreateMultilocationPostRequestInterface);
|
|
46
48
|
toApiJson(): object;
|
|
@@ -15,5 +15,5 @@ export { AiInstructions, BlogPostCampaign, CreateCommonAiInstructionsRequest, Cr
|
|
|
15
15
|
export { Action, EndChatRequest, SendMessageRequest, SendMessageResponse, StartChatRequest, StartChatResponse, } from './chat-bot';
|
|
16
16
|
export { ChatMessage, SendMessageV2Request, SendMessageV2Response, } from './chat-bot-v2';
|
|
17
17
|
export { BlogConnection, CreateBlogConnectionRequest, CreateBlogConnectionResponse, DeleteBlogConnectionRequest, GetBlogConnectionRequest, GetBlogConnectionResponse, ListBlogConnectionRequest, ListBlogConnectionResponse, UpdateBlogConnectionRequest, } from './blog-connection';
|
|
18
|
-
export { AuthorsRequest, AuthorsResponse, BlogImage, BlogPost, BlogVideo, CategoryRequest, CategoryResponse, DeleteBlogPostRequest, GetMultiBlogPostsRequest, GetMultiBlogPostsResponse, MediaProperty, PublishPostRequest, PublishPostResponse, RepostBlogPostRequest, StatusRequest, StatusResponse, UpdateBlogPostRequest, } from './wordpress-plugin';
|
|
18
|
+
export { Author as WordpressAuthor, AuthorsRequest, AuthorsResponse, BlogImage, BlogPost, BlogVideo, Category as WordpressCategory, CategoryRequest, CategoryResponse, DeleteBlogPostRequest, GetMultiBlogPostsRequest, GetMultiBlogPostsResponse, MediaProperty, PublishPostRequest, PublishPostResponse, RepostBlogPostRequest, StatusRequest, StatusResponse, UpdateBlogPostRequest, } from './wordpress-plugin';
|
|
19
19
|
export { Campaign, CreateCampaignRequest, CreateCampaignResponse, DeleteCampaignRequest, GetCampaignRequest, GetCampaignResponse, GetMultiCampaignsRequest, GetMultiCampaignsResponse, UpdateCampaignIdRequest, UpdateCampaignRequest, } from './campaign';
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { HttpResponse } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { CreateMultilocationPostResponse, EditMultilocationPostResponse, GetMultilocationPostResponse, ListMultilocationPostsForBrandResponse, BulkCreateMultilocationPostRequest, BulkCreateMultilocationPostResponse } from './_internal/objects/api';
|
|
3
|
+
import { CreateMultilocationPostResponse, EditMultilocationPostRequest, EditMultilocationPostResponse, GetMultilocationPostResponse, ListMultilocationPostsForBrandResponse, BulkCreateMultilocationPostRequest, BulkCreateMultilocationPostResponse } from './_internal/objects/api';
|
|
4
4
|
import { MultilocationPostApiService } from './_internal/multilocation-post.api.service';
|
|
5
5
|
import { FieldMask } from './_internal/objects/field-mask';
|
|
6
6
|
import { Location, MultilocationServices, PostCustomization } from './_internal/objects/multilocation-post';
|
|
7
7
|
import { RemoveReason } from './_internal/enums/multilocation-post.enum';
|
|
8
|
-
import { MediaEntry, MetaData, MLPostCategory, PostCustomizationByLocationInterface, SSIDPostType } from "./_internal";
|
|
8
|
+
import { EditMultilocationPostRequestInterface, MediaEntry, MetaData, MLPostCategory, PostCustomizationByLocationInterface, 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
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, postCustomizationByLocation?: PostCustomizationByLocationInterface): 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[], postCategory?: MLPostCategory, newServices?: MultilocationServices[], deletedServices?: MultilocationServices[], postCustomizationByLocation?: PostCustomizationByLocationInterface): Observable<EditMultilocationPostResponse>;
|
|
15
|
+
editMultilocationPostV2(req: EditMultilocationPostRequest | EditMultilocationPostRequestInterface): Observable<EditMultilocationPostResponse>;
|
|
15
16
|
removeFromMultilocationPost(reason: RemoveReason, brandId: string, multilocationId: string, locations: Location[]): Observable<HttpResponse<null>>;
|
|
16
17
|
listMultilocationPostsForBrand(brandId: string, startDate: Date, endDate: Date, cursor: string, pageSize: number): Observable<ListMultilocationPostsForBrandResponse>;
|
|
17
18
|
deleteMultilocationPost(brandId: string, multilocationId: string): Observable<HttpResponse<null>>;
|