@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.
@@ -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 { CategoryRequestInterface, CategoryResponse, StatusRequestInterface, StatusResponse, PublishPostRequestInterface, WordpressPluginApiService, PublishPostResponse, AuthorsRequestInterface, AuthorsResponse } from './_internal';
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/social-posts",
3
- "version": "5.33.1",
3
+ "version": "5.34.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"