@vendasta/social-posts 5.33.1 → 5.34.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.
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/wordpress-plugin.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/esm2020/lib/_internal/objects/wordpress-plugin.mjs +24 -1
- package/esm2020/lib/_internal/wordpress-plugin.api.service.mjs +6 -2
- package/esm2020/lib/wordpress-plugin.service.mjs +4 -1
- package/fesm2015/vendasta-social-posts.mjs +31 -1
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +31 -1
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/interfaces/wordpress-plugin.interface.d.ts +4 -0
- package/lib/_internal/objects/index.d.ts +1 -1
- package/lib/_internal/objects/wordpress-plugin.d.ts +7 -0
- package/lib/_internal/wordpress-plugin.api.service.d.ts +4 -2
- package/lib/wordpress-plugin.service.d.ts +3 -1
- package/package.json +1 -1
|
@@ -14,4 +14,4 @@ export { AiInstructionsInterface, CreateCommonAiInstructionsRequestInterface, Cr
|
|
|
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, 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';
|
|
@@ -93,6 +93,10 @@ export interface PublishPostRequestInterface {
|
|
|
93
93
|
export interface PublishPostResponseInterface {
|
|
94
94
|
internalPostId?: string;
|
|
95
95
|
}
|
|
96
|
+
export interface RepostBlogPostRequestInterface {
|
|
97
|
+
blogPostId?: string;
|
|
98
|
+
accountGroupId?: string;
|
|
99
|
+
}
|
|
96
100
|
export interface StatusRequestInterface {
|
|
97
101
|
businessId?: string;
|
|
98
102
|
apiKey?: string;
|
|
@@ -14,4 +14,4 @@ export { AiInstructions, CreateCommonAiInstructionsRequest, CreateCommonAiInstru
|
|
|
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, 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';
|
|
@@ -140,6 +140,13 @@ export declare class PublishPostResponse implements i.PublishPostResponseInterfa
|
|
|
140
140
|
constructor(kwargs?: i.PublishPostResponseInterface);
|
|
141
141
|
toApiJson(): object;
|
|
142
142
|
}
|
|
143
|
+
export declare class RepostBlogPostRequest implements i.RepostBlogPostRequestInterface {
|
|
144
|
+
blogPostId: string;
|
|
145
|
+
accountGroupId: string;
|
|
146
|
+
static fromProto(proto: any): RepostBlogPostRequest;
|
|
147
|
+
constructor(kwargs?: i.RepostBlogPostRequestInterface);
|
|
148
|
+
toApiJson(): object;
|
|
149
|
+
}
|
|
143
150
|
export declare class StatusRequest implements i.StatusRequestInterface {
|
|
144
151
|
businessId: string;
|
|
145
152
|
apiKey: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { AuthorsRequest, AuthorsResponse, CategoryRequest, CategoryResponse, PublishPostRequest, PublishPostResponse, StatusRequest, StatusResponse } from './objects/';
|
|
2
|
-
import { AuthorsRequestInterface, CategoryRequestInterface, PublishPostRequestInterface, StatusRequestInterface } from './interfaces/';
|
|
1
|
+
import { AuthorsRequest, AuthorsResponse, CategoryRequest, CategoryResponse, PublishPostRequest, PublishPostResponse, RepostBlogPostRequest, StatusRequest, StatusResponse } from './objects/';
|
|
2
|
+
import { AuthorsRequestInterface, CategoryRequestInterface, PublishPostRequestInterface, RepostBlogPostRequestInterface, StatusRequestInterface } from './interfaces/';
|
|
3
|
+
import { HttpResponse } from '@angular/common/http';
|
|
3
4
|
import { Observable } from 'rxjs';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class WordpressPluginApiService {
|
|
@@ -11,6 +12,7 @@ export declare class WordpressPluginApiService {
|
|
|
11
12
|
getAuthors(r: AuthorsRequest | AuthorsRequestInterface): Observable<AuthorsResponse>;
|
|
12
13
|
getCategories(r: CategoryRequest | CategoryRequestInterface): Observable<CategoryResponse>;
|
|
13
14
|
publishPost(r: PublishPostRequest | PublishPostRequestInterface): Observable<PublishPostResponse>;
|
|
15
|
+
repostBlogPost(r: RepostBlogPostRequest | RepostBlogPostRequestInterface): Observable<HttpResponse<null>>;
|
|
14
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<WordpressPluginApiService, never>;
|
|
15
17
|
static ɵprov: i0.ɵɵInjectableDeclaration<WordpressPluginApiService>;
|
|
16
18
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import {
|
|
2
|
+
import { HttpResponse } from '@angular/common/http';
|
|
3
|
+
import { CategoryRequestInterface, CategoryResponse, StatusRequestInterface, StatusResponse, PublishPostRequestInterface, WordpressPluginApiService, PublishPostResponse, AuthorsRequestInterface, AuthorsResponse, RepostBlogPostRequestInterface } from './_internal';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class WordpressPluginService {
|
|
5
6
|
private wordpressPluginApiService;
|
|
@@ -8,6 +9,7 @@ export declare class WordpressPluginService {
|
|
|
8
9
|
getCategories(categoryRequestInterface: CategoryRequestInterface): Observable<CategoryResponse>;
|
|
9
10
|
publishPost(PublishPostRequestInterface: PublishPostRequestInterface): Observable<PublishPostResponse>;
|
|
10
11
|
getAuthors(authorsRequestInterface: AuthorsRequestInterface): Observable<AuthorsResponse>;
|
|
12
|
+
repostBlogPost(RepostBlogPostRequestInterface: RepostBlogPostRequestInterface): Observable<HttpResponse<null>>;
|
|
11
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<WordpressPluginService, never>;
|
|
12
14
|
static ɵprov: i0.ɵɵInjectableDeclaration<WordpressPluginService>;
|
|
13
15
|
}
|