@vendasta/social-posts 5.31.1 → 5.32.1

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.
Files changed (63) hide show
  1. package/esm2020/lib/_internal/blog-connection.api.service.mjs +7 -8
  2. package/esm2020/lib/_internal/blog-posts.api.service.mjs +44 -0
  3. package/esm2020/lib/_internal/chat-bot-v2.api.service.mjs +7 -8
  4. package/esm2020/lib/_internal/chat-bot.api.service.mjs +7 -8
  5. package/esm2020/lib/_internal/common-ai-instructions.api.service.mjs +7 -8
  6. package/esm2020/lib/_internal/content-generation.api.service.mjs +7 -8
  7. package/esm2020/lib/_internal/curated-content.api.service.mjs +7 -8
  8. package/esm2020/lib/_internal/enums/social-posts.enum.mjs +2 -1
  9. package/esm2020/lib/_internal/hash-tags.api.service.mjs +7 -8
  10. package/esm2020/lib/_internal/index.mjs +2 -1
  11. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  12. package/esm2020/lib/_internal/interfaces/social-posts.interface.mjs +1 -1
  13. package/esm2020/lib/_internal/interfaces/wordpress-plugin.interface.mjs +1 -1
  14. package/esm2020/lib/_internal/linkedin.api.service.mjs +7 -8
  15. package/esm2020/lib/_internal/multilocation-post.api.service.mjs +7 -8
  16. package/esm2020/lib/_internal/objects/index.mjs +3 -3
  17. package/esm2020/lib/_internal/objects/social-posts.mjs +97 -1
  18. package/esm2020/lib/_internal/objects/wordpress-plugin.mjs +224 -1
  19. package/esm2020/lib/_internal/partner-social-posts.api.service.mjs +7 -8
  20. package/esm2020/lib/_internal/pixabay-images.api.service.mjs +7 -8
  21. package/esm2020/lib/_internal/post-performance.api.service.mjs +7 -8
  22. package/esm2020/lib/_internal/post-templates.api.service.mjs +7 -8
  23. package/esm2020/lib/_internal/social-posts-v2.api.service.mjs +7 -8
  24. package/esm2020/lib/_internal/social-posts.api.service.mjs +7 -8
  25. package/esm2020/lib/_internal/tenor-gifs.api.service.mjs +7 -8
  26. package/esm2020/lib/_internal/unsplash.api.service.mjs +7 -8
  27. package/esm2020/lib/_internal/wordpress-plugin.api.service.mjs +7 -8
  28. package/esm2020/lib/blog-posts.service.mjs +22 -0
  29. package/esm2020/lib/index.mjs +2 -1
  30. package/fesm2015/vendasta-social-posts.mjs +468 -94
  31. package/fesm2015/vendasta-social-posts.mjs.map +1 -1
  32. package/fesm2020/vendasta-social-posts.mjs +468 -94
  33. package/fesm2020/vendasta-social-posts.mjs.map +1 -1
  34. package/lib/_internal/blog-connection.api.service.d.ts +3 -5
  35. package/lib/_internal/blog-posts.api.service.d.ts +15 -0
  36. package/lib/_internal/chat-bot-v2.api.service.d.ts +2 -5
  37. package/lib/_internal/chat-bot.api.service.d.ts +3 -5
  38. package/lib/_internal/common-ai-instructions.api.service.d.ts +2 -5
  39. package/lib/_internal/content-generation.api.service.d.ts +2 -5
  40. package/lib/_internal/curated-content.api.service.d.ts +2 -5
  41. package/lib/_internal/enums/social-posts.enum.d.ts +2 -1
  42. package/lib/_internal/hash-tags.api.service.d.ts +3 -5
  43. package/lib/_internal/index.d.ts +1 -0
  44. package/lib/_internal/interfaces/index.d.ts +2 -2
  45. package/lib/_internal/interfaces/social-posts.interface.d.ts +16 -0
  46. package/lib/_internal/interfaces/wordpress-plugin.interface.d.ts +43 -0
  47. package/lib/_internal/linkedin.api.service.d.ts +3 -5
  48. package/lib/_internal/multilocation-post.api.service.d.ts +3 -5
  49. package/lib/_internal/objects/index.d.ts +2 -2
  50. package/lib/_internal/objects/social-posts.d.ts +25 -0
  51. package/lib/_internal/objects/wordpress-plugin.d.ts +58 -0
  52. package/lib/_internal/partner-social-posts.api.service.d.ts +2 -5
  53. package/lib/_internal/pixabay-images.api.service.d.ts +2 -5
  54. package/lib/_internal/post-performance.api.service.d.ts +2 -5
  55. package/lib/_internal/post-templates.api.service.d.ts +3 -5
  56. package/lib/_internal/social-posts-v2.api.service.d.ts +3 -5
  57. package/lib/_internal/social-posts.api.service.d.ts +3 -5
  58. package/lib/_internal/tenor-gifs.api.service.d.ts +2 -5
  59. package/lib/_internal/unsplash.api.service.d.ts +2 -5
  60. package/lib/_internal/wordpress-plugin.api.service.d.ts +2 -5
  61. package/lib/blog-posts.service.d.ts +12 -0
  62. package/lib/index.d.ts +1 -0
  63. package/package.json +1 -1
@@ -1,14 +1,12 @@
1
1
  import { CreateBlogConnectionRequest, CreateBlogConnectionResponse, DeleteBlogConnectionRequest, GetBlogConnectionRequest, GetBlogConnectionResponse, ListBlogConnectionRequest, ListBlogConnectionResponse, UpdateBlogConnectionRequest } from './objects/';
2
2
  import { CreateBlogConnectionRequestInterface, DeleteBlogConnectionRequestInterface, GetBlogConnectionRequestInterface, ListBlogConnectionRequestInterface, UpdateBlogConnectionRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class BlogConnectionApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  create(r: CreateBlogConnectionRequest | CreateBlogConnectionRequestInterface): Observable<CreateBlogConnectionResponse>;
14
12
  update(r: UpdateBlogConnectionRequest | UpdateBlogConnectionRequestInterface): Observable<HttpResponse<null>>;
@@ -0,0 +1,15 @@
1
+ import { GetMultiBlogPostsRequest, GetMultiBlogPostsResponse, UpdateBlogPostRequest } from './objects/';
2
+ import { GetMultiBlogPostsRequestInterface, UpdateBlogPostRequestInterface } from './interfaces/';
3
+ import { HttpResponse } from '@angular/common/http';
4
+ import { Observable } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ export declare class BlogPostsApiService {
7
+ private readonly hostService;
8
+ private readonly http;
9
+ private _host;
10
+ private apiOptions;
11
+ getMultiBlogPosts(r: GetMultiBlogPostsRequest | GetMultiBlogPostsRequestInterface): Observable<GetMultiBlogPostsResponse>;
12
+ updateBlogPost(r: UpdateBlogPostRequest | UpdateBlogPostRequestInterface): Observable<HttpResponse<null>>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<BlogPostsApiService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<BlogPostsApiService>;
15
+ }
@@ -1,14 +1,11 @@
1
1
  import { SendMessageV2Request, SendMessageV2Response } from './objects/';
2
2
  import { SendMessageV2RequestInterface } from './interfaces/';
3
- import { HttpClient } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
5
3
  import { Observable } from 'rxjs';
6
4
  import * as i0 from "@angular/core";
7
5
  export declare class ChatBotV2ApiService {
8
- private http;
9
- private hostService;
6
+ private readonly hostService;
7
+ private readonly http;
10
8
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
9
  private apiOptions;
13
10
  sendMessageV2(r: SendMessageV2Request | SendMessageV2RequestInterface): Observable<SendMessageV2Response>;
14
11
  static ɵfac: i0.ɵɵFactoryDeclaration<ChatBotV2ApiService, never>;
@@ -1,14 +1,12 @@
1
1
  import { EndChatRequest, SendMessageRequest, SendMessageResponse, StartChatRequest, StartChatResponse } from './objects/';
2
2
  import { EndChatRequestInterface, SendMessageRequestInterface, StartChatRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class ChatBotApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  startChat(r: StartChatRequest | StartChatRequestInterface): Observable<StartChatResponse>;
14
12
  sendMessage(r: SendMessageRequest | SendMessageRequestInterface): Observable<SendMessageResponse>;
@@ -1,14 +1,11 @@
1
1
  import { CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse } from './objects/';
2
2
  import { CreateCommonAiInstructionsRequestInterface, GetCommonAiInstructionsRequestInterface, UpdateCommonAiInstructionsRequestInterface } from './interfaces/';
3
- import { HttpClient } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
5
3
  import { Observable } from 'rxjs';
6
4
  import * as i0 from "@angular/core";
7
5
  export declare class CommonAiInstructionsApiService {
8
- private http;
9
- private hostService;
6
+ private readonly hostService;
7
+ private readonly http;
10
8
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
9
  private apiOptions;
13
10
  createCommonAiInstructions(r: CreateCommonAiInstructionsRequest | CreateCommonAiInstructionsRequestInterface): Observable<CreateCommonAiInstructionsResponse>;
14
11
  updateCommonAiInstructions(r: UpdateCommonAiInstructionsRequest | UpdateCommonAiInstructionsRequestInterface): Observable<UpdateCommonAiInstructionsResponse>;
@@ -1,14 +1,11 @@
1
1
  import { GenerateAiRequest, GenerateAiResponse, GeneratePostsRequest, GeneratePostsResponse } from './objects/';
2
2
  import { GenerateAiRequestInterface, GeneratePostsRequestInterface } from './interfaces/';
3
- import { HttpClient } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
5
3
  import { Observable } from 'rxjs';
6
4
  import * as i0 from "@angular/core";
7
5
  export declare class ContentGenerationApiService {
8
- private http;
9
- private hostService;
6
+ private readonly hostService;
7
+ private readonly http;
10
8
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
9
  private apiOptions;
13
10
  generatePosts(r: GeneratePostsRequest | GeneratePostsRequestInterface): Observable<GeneratePostsResponse>;
14
11
  generate(r: GenerateAiRequest | GenerateAiRequestInterface): Observable<GenerateAiResponse>;
@@ -1,14 +1,11 @@
1
1
  import { ListCuratedContentRequest, ListCuratedContentResponse } from './objects/';
2
2
  import { ListCuratedContentRequestInterface } from './interfaces/';
3
- import { HttpClient } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
5
3
  import { Observable } from 'rxjs';
6
4
  import * as i0 from "@angular/core";
7
5
  export declare class CuratedContentApiService {
8
- private http;
9
- private hostService;
6
+ private readonly hostService;
7
+ private readonly http;
10
8
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
9
  private apiOptions;
13
10
  list(r: ListCuratedContentRequest | ListCuratedContentRequestInterface): Observable<ListCuratedContentResponse>;
14
11
  static ɵfac: i0.ɵɵFactoryDeclaration<CuratedContentApiService, never>;
@@ -47,7 +47,8 @@ export declare enum SocialPostService {
47
47
  INSTAGRAM = 6,
48
48
  CURATED_CONTENT = 7,
49
49
  YOUTUBE = 8,
50
- TIKTOK = 9
50
+ TIKTOK = 9,
51
+ WORDPRESS = 10
51
52
  }
52
53
  export declare enum TemplateType {
53
54
  TEMPLATE_UNSET = 0,
@@ -1,14 +1,12 @@
1
1
  import { DeleteHashtagsRequest, ReplaceHashtagsRequest, SearchHashtagRequest, SearchHashtagResponse } from './objects/';
2
2
  import { DeleteHashtagsRequestInterface, ReplaceHashtagsRequestInterface, SearchHashtagRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class HashTagsApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  replaceHashtags(r: ReplaceHashtagsRequest | ReplaceHashtagsRequestInterface): Observable<HttpResponse<null>>;
14
12
  deleteHashtags(r: DeleteHashtagsRequest | DeleteHashtagsRequestInterface): Observable<HttpResponse<null>>;
@@ -2,6 +2,7 @@ export * from './enums';
2
2
  export * from './objects';
3
3
  export * from './interfaces';
4
4
  export { BlogConnectionApiService } from './blog-connection.api.service';
5
+ export { BlogPostsApiService } from './blog-posts.api.service';
5
6
  export { ChatBotApiService } from './chat-bot.api.service';
6
7
  export { ChatBotV2ApiService } from './chat-bot-v2.api.service';
7
8
  export { CommonAiInstructionsApiService } from './common-ai-instructions.api.service';
@@ -1,6 +1,6 @@
1
1
  export { FieldMaskInterface, } from './field-mask.interface';
2
2
  export { HashtagInterface, } from './hashtag.interface';
3
- export { CallToActionInterface, ErrorInterface, EventInterface, MediaEntryInterface, MetaDataInterface, PostTemplateInterface, SSIDPostTypeInterface, SchedulePostStatusInterface, SocialPostInterface, SocialPostDataInterface, TikTokCustomizationInterface, YoutubeCustomizationInterface, } from './social-posts.interface';
3
+ export { BlogPostCustomizationInterface, CallToActionInterface, ErrorInterface, EventInterface, MediaEntryInterface, MetaDataInterface, PostTemplateInterface, SSIDPostTypeInterface, SchedulePostStatusInterface, SocialPostInterface, SocialPostDataInterface, TikTokCustomizationInterface, YoutubeCustomizationInterface, } from './social-posts.interface';
4
4
  export { LocationInterface, MultilocationPostInterface, MultilocationPostErrorInterface, 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,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 { AuthorInterface, AuthorsRequestInterface, AuthorsResponseInterface, BlogImageInterface, BlogVideoInterface, CategoryInterface, CategoryRequestInterface, CategoryResponseInterface, PublishPostRequestInterface, PublishPostResponseInterface, StatusRequestInterface, StatusResponseInterface, } from './wordpress-plugin.interface';
17
+ export { AuthorInterface, AuthorsRequestInterface, AuthorsResponseInterface, BlogImageInterface, BlogPostInterface, BlogVideoInterface, CategoryInterface, CategoryRequestInterface, CategoryResponseInterface, GetMultiBlogPostsRequestInterface, GetMultiBlogPostsResponseInterface, MediaPropertyInterface, PublishPostRequestInterface, PublishPostResponseInterface, StatusRequestInterface, StatusResponseInterface, UpdateBlogPostRequestInterface, } from './wordpress-plugin.interface';
@@ -1,8 +1,22 @@
1
1
  import * as e from '../enums';
2
+ export interface AuthorInterface {
3
+ name?: string;
4
+ id?: number;
5
+ }
6
+ export interface BlogPostCustomizationInterface {
7
+ siteType?: string;
8
+ author?: AuthorInterface;
9
+ categories?: CategoryInterface[];
10
+ tags?: string[];
11
+ }
2
12
  export interface CallToActionInterface {
3
13
  url?: string;
4
14
  actionType?: e.CallToActionCallToActionType;
5
15
  }
16
+ export interface CategoryInterface {
17
+ id?: number;
18
+ name?: string;
19
+ }
6
20
  export interface ErrorInterface {
7
21
  reason?: string;
8
22
  category?: string;
@@ -18,6 +32,7 @@ export interface MediaEntryInterface {
18
32
  mediaType?: string;
19
33
  containerId?: string;
20
34
  metaData?: MetaDataInterface[];
35
+ mediaPath?: string;
21
36
  }
22
37
  export interface MetaDataInterface {
23
38
  propertyName?: string;
@@ -87,6 +102,7 @@ export interface SocialPostInterface {
87
102
  title?: string;
88
103
  youtubeCustomization?: YoutubeCustomizationInterface;
89
104
  tiktokCustomization?: TikTokCustomizationInterface;
105
+ blogPostCustomization?: BlogPostCustomizationInterface;
90
106
  }
91
107
  export interface SocialPostDataInterface {
92
108
  postText?: string;
@@ -13,6 +13,33 @@ export interface BlogImageInterface {
13
13
  path?: string;
14
14
  publicUrl?: string;
15
15
  }
16
+ export interface BlogPostInterface {
17
+ internalPostId?: string;
18
+ socialServiceId?: string;
19
+ businessId?: string;
20
+ partnerId?: string;
21
+ postId?: string;
22
+ title?: string;
23
+ content?: string;
24
+ images?: MediaPropertyInterface[];
25
+ video?: MediaPropertyInterface[];
26
+ permalink?: string;
27
+ siteType?: string;
28
+ author?: AuthorInterface;
29
+ categories?: CategoryInterface[];
30
+ tags?: string[];
31
+ postTags?: string[];
32
+ error?: string;
33
+ postDateTime?: Date;
34
+ postedDateTime?: Date;
35
+ userId?: string;
36
+ userName?: string;
37
+ pageViews?: number;
38
+ commentsCount?: number;
39
+ created?: Date;
40
+ updated?: Date;
41
+ deleted?: Date;
42
+ }
16
43
  export interface BlogVideoInterface {
17
44
  path?: string;
18
45
  publicUrl?: string;
@@ -28,6 +55,19 @@ export interface CategoryRequestInterface {
28
55
  export interface CategoryResponseInterface {
29
56
  categories?: CategoryInterface[];
30
57
  }
58
+ export interface GetMultiBlogPostsRequestInterface {
59
+ partnerId?: string;
60
+ businessId?: string;
61
+ socialServiceId?: string;
62
+ blogPostId?: string[];
63
+ }
64
+ export interface GetMultiBlogPostsResponseInterface {
65
+ blogPosts?: BlogPostInterface[];
66
+ }
67
+ export interface MediaPropertyInterface {
68
+ path?: string;
69
+ publicUrl?: string;
70
+ }
31
71
  export interface PublishPostRequestInterface {
32
72
  businessId?: string;
33
73
  socialServiceId?: string;
@@ -60,3 +100,6 @@ export interface StatusResponseInterface {
60
100
  logo?: string;
61
101
  name?: string;
62
102
  }
103
+ export interface UpdateBlogPostRequestInterface {
104
+ blogPost?: BlogPostInterface;
105
+ }
@@ -1,14 +1,12 @@
1
1
  import { DeletePostRequest, MediaUploadRequest, MediaUploadResponse } from './objects/';
2
2
  import { DeletePostRequestInterface, MediaUploadRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class LinkedinApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  deletePost(r: DeletePostRequest | DeletePostRequestInterface): Observable<HttpResponse<null>>;
14
12
  uploadMedia(r: MediaUploadRequest | MediaUploadRequestInterface): Observable<MediaUploadResponse>;
@@ -1,14 +1,12 @@
1
1
  import { CreateMultilocationPostRequest, CreateMultilocationPostResponse, DeleteMultilocationPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, RemoveFromMultilocationPostRequest } from './objects/';
2
2
  import { CreateMultilocationPostRequestInterface, DeleteMultilocationPostRequestInterface, EditMultilocationPostRequestInterface, GetMultilocationPostRequestInterface, ListMultilocationPostsForBrandRequestInterface, RemoveFromMultilocationPostRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class MultilocationPostApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  createMultilocationPost(r: CreateMultilocationPostRequest | CreateMultilocationPostRequestInterface): Observable<CreateMultilocationPostResponse>;
14
12
  editMultilocationPost(r: EditMultilocationPostRequest | EditMultilocationPostRequestInterface): Observable<EditMultilocationPostResponse>;
@@ -1,6 +1,6 @@
1
1
  export { FieldMask, } from './field-mask';
2
2
  export { Hashtag, } from './hashtag';
3
- export { CallToAction, Error, Event, MediaEntry, MetaData, PostTemplate, SSIDPostType, SchedulePostStatus, SocialPost, SocialPostData, TikTokCustomization, YoutubeCustomization, } from './social-posts';
3
+ export { BlogPostCustomization, CallToAction, Error, Event, MediaEntry, MetaData, PostTemplate, SSIDPostType, SchedulePostStatus, SocialPost, SocialPostData, TikTokCustomization, YoutubeCustomization, } from './social-posts';
4
4
  export { Location, MultilocationPost, MultilocationPostError, PostAction, PostCustomization, PostEvent, } from './multilocation-post';
5
5
  export { PixabayImage, } from './pixabay-image';
6
6
  export { FacebookPostStats, SocialPostStats, TwitterPostStats, } from './social-post-stats';
@@ -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 { Author, AuthorsRequest, AuthorsResponse, BlogImage, BlogVideo, Category, CategoryRequest, CategoryResponse, PublishPostRequest, PublishPostResponse, StatusRequest, StatusResponse, } from './wordpress-plugin';
17
+ export { Author, AuthorsRequest, AuthorsResponse, BlogImage, BlogPost, BlogVideo, Category, CategoryRequest, CategoryResponse, GetMultiBlogPostsRequest, GetMultiBlogPostsResponse, MediaProperty, PublishPostRequest, PublishPostResponse, StatusRequest, StatusResponse, UpdateBlogPostRequest, } from './wordpress-plugin';
@@ -1,6 +1,22 @@
1
1
  import * as i from '../interfaces';
2
2
  import * as e from '../enums';
3
3
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
4
+ export declare class Author implements i.AuthorInterface {
5
+ name: string;
6
+ id: number;
7
+ static fromProto(proto: any): Author;
8
+ constructor(kwargs?: i.AuthorInterface);
9
+ toApiJson(): object;
10
+ }
11
+ export declare class BlogPostCustomization implements i.BlogPostCustomizationInterface {
12
+ siteType: string;
13
+ author: Author;
14
+ categories: Category[];
15
+ tags: string[];
16
+ static fromProto(proto: any): BlogPostCustomization;
17
+ constructor(kwargs?: i.BlogPostCustomizationInterface);
18
+ toApiJson(): object;
19
+ }
4
20
  export declare class CallToAction implements i.CallToActionInterface {
5
21
  url: string;
6
22
  actionType: e.CallToActionCallToActionType;
@@ -8,6 +24,13 @@ export declare class CallToAction implements i.CallToActionInterface {
8
24
  constructor(kwargs?: i.CallToActionInterface);
9
25
  toApiJson(): object;
10
26
  }
27
+ export declare class Category implements i.CategoryInterface {
28
+ id: number;
29
+ name: string;
30
+ static fromProto(proto: any): Category;
31
+ constructor(kwargs?: i.CategoryInterface);
32
+ toApiJson(): object;
33
+ }
11
34
  export declare class Error implements i.ErrorInterface {
12
35
  reason: string;
13
36
  category: string;
@@ -29,6 +52,7 @@ export declare class MediaEntry implements i.MediaEntryInterface {
29
52
  mediaType: string;
30
53
  containerId: string;
31
54
  metaData: MetaData[];
55
+ mediaPath: string;
32
56
  static fromProto(proto: any): MediaEntry;
33
57
  constructor(kwargs?: i.MediaEntryInterface);
34
58
  toApiJson(): object;
@@ -113,6 +137,7 @@ export declare class SocialPost implements i.SocialPostInterface {
113
137
  title: string;
114
138
  youtubeCustomization: YoutubeCustomization;
115
139
  tiktokCustomization: TikTokCustomization;
140
+ blogPostCustomization: BlogPostCustomization;
116
141
  static fromProto(proto: any): SocialPost;
117
142
  constructor(kwargs?: i.SocialPostInterface);
118
143
  toApiJson(): object;
@@ -27,6 +27,36 @@ export declare class BlogImage implements i.BlogImageInterface {
27
27
  constructor(kwargs?: i.BlogImageInterface);
28
28
  toApiJson(): object;
29
29
  }
30
+ export declare class BlogPost implements i.BlogPostInterface {
31
+ internalPostId: string;
32
+ socialServiceId: string;
33
+ businessId: string;
34
+ partnerId: string;
35
+ postId: string;
36
+ title: string;
37
+ content: string;
38
+ images: MediaProperty[];
39
+ video: MediaProperty[];
40
+ permalink: string;
41
+ siteType: string;
42
+ author: Author;
43
+ categories: Category[];
44
+ tags: string[];
45
+ postTags: string[];
46
+ error: string;
47
+ postDateTime: Date;
48
+ postedDateTime: Date;
49
+ userId: string;
50
+ userName: string;
51
+ pageViews: number;
52
+ commentsCount: number;
53
+ created: Date;
54
+ updated: Date;
55
+ deleted: Date;
56
+ static fromProto(proto: any): BlogPost;
57
+ constructor(kwargs?: i.BlogPostInterface);
58
+ toApiJson(): object;
59
+ }
30
60
  export declare class BlogVideo implements i.BlogVideoInterface {
31
61
  path: string;
32
62
  publicUrl: string;
@@ -54,6 +84,28 @@ export declare class CategoryResponse implements i.CategoryResponseInterface {
54
84
  constructor(kwargs?: i.CategoryResponseInterface);
55
85
  toApiJson(): object;
56
86
  }
87
+ export declare class GetMultiBlogPostsRequest implements i.GetMultiBlogPostsRequestInterface {
88
+ partnerId: string;
89
+ businessId: string;
90
+ socialServiceId: string;
91
+ blogPostId: string[];
92
+ static fromProto(proto: any): GetMultiBlogPostsRequest;
93
+ constructor(kwargs?: i.GetMultiBlogPostsRequestInterface);
94
+ toApiJson(): object;
95
+ }
96
+ export declare class GetMultiBlogPostsResponse implements i.GetMultiBlogPostsResponseInterface {
97
+ blogPosts: BlogPost[];
98
+ static fromProto(proto: any): GetMultiBlogPostsResponse;
99
+ constructor(kwargs?: i.GetMultiBlogPostsResponseInterface);
100
+ toApiJson(): object;
101
+ }
102
+ export declare class MediaProperty implements i.MediaPropertyInterface {
103
+ path: string;
104
+ publicUrl: string;
105
+ static fromProto(proto: any): MediaProperty;
106
+ constructor(kwargs?: i.MediaPropertyInterface);
107
+ toApiJson(): object;
108
+ }
57
109
  export declare class PublishPostRequest implements i.PublishPostRequestInterface {
58
110
  businessId: string;
59
111
  socialServiceId: string;
@@ -98,3 +150,9 @@ export declare class StatusResponse implements i.StatusResponseInterface {
98
150
  constructor(kwargs?: i.StatusResponseInterface);
99
151
  toApiJson(): object;
100
152
  }
153
+ export declare class UpdateBlogPostRequest implements i.UpdateBlogPostRequestInterface {
154
+ blogPost: BlogPost;
155
+ static fromProto(proto: any): UpdateBlogPostRequest;
156
+ constructor(kwargs?: i.UpdateBlogPostRequestInterface);
157
+ toApiJson(): object;
158
+ }
@@ -1,14 +1,11 @@
1
1
  import { PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest } from './objects/';
2
2
  import { PartnerListScheduledSocialPostsRequestInterface } from './interfaces/';
3
- import { HttpClient } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
5
3
  import { Observable } from 'rxjs';
6
4
  import * as i0 from "@angular/core";
7
5
  export declare class PartnerSocialPostsApiService {
8
- private http;
9
- private hostService;
6
+ private readonly hostService;
7
+ private readonly http;
10
8
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
9
  private apiOptions;
13
10
  listScheduled(r: PartnerListScheduledSocialPostsRequest | PartnerListScheduledSocialPostsRequestInterface): Observable<PartnerListScheduledPostsResponse>;
14
11
  listScheduledByCreated(r: PartnerListScheduledSocialPostsRequest | PartnerListScheduledSocialPostsRequestInterface): Observable<PartnerListScheduledPostsResponse>;
@@ -1,14 +1,11 @@
1
1
  import { ListPixabayImagesRequest, ListPixabayImagesResponse } from './objects/';
2
2
  import { ListPixabayImagesRequestInterface } from './interfaces/';
3
- import { HttpClient } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
5
3
  import { Observable } from 'rxjs';
6
4
  import * as i0 from "@angular/core";
7
5
  export declare class PixabayImagesApiService {
8
- private http;
9
- private hostService;
6
+ private readonly hostService;
7
+ private readonly http;
10
8
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
9
  private apiOptions;
13
10
  listPixabayImages(r: ListPixabayImagesRequest | ListPixabayImagesRequestInterface): Observable<ListPixabayImagesResponse>;
14
11
  static ɵfac: i0.ɵɵFactoryDeclaration<PixabayImagesApiService, never>;
@@ -1,14 +1,11 @@
1
1
  import { GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse } from './objects/';
2
2
  import { GenerateCSVForPerformanceStatsRequestInterface, GetGeneratedCSVForPerformanceStatsRequestInterface } from './interfaces/';
3
- import { HttpClient } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
5
3
  import { Observable } from 'rxjs';
6
4
  import * as i0 from "@angular/core";
7
5
  export declare class PostPerformanceApiService {
8
- private http;
9
- private hostService;
6
+ private readonly hostService;
7
+ private readonly http;
10
8
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
9
  private apiOptions;
13
10
  generateCsvForPerformanceStats(r: GenerateCSVForPerformanceStatsRequest | GenerateCSVForPerformanceStatsRequestInterface): Observable<GenerateCSVForPerformanceStatsResponse>;
14
11
  getGeneratedCsvForPerformanceStats(r: GetGeneratedCSVForPerformanceStatsRequest | GetGeneratedCSVForPerformanceStatsRequestInterface): Observable<GetGeneratedCSVForPerformanceStatsResponse>;
@@ -1,14 +1,12 @@
1
1
  import { CreatePostTemplateRequest, CreatePostTemplateResponse, DeletePostTemplateRequest, GetPostTemplateRequest, GetPostTemplateResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, UpdatePostTemplateRequest } from './objects/';
2
2
  import { CreatePostTemplateRequestInterface, DeletePostTemplateRequestInterface, GetPostTemplateRequestInterface, ListPostTemplatesRequestInterface, UpdatePostTemplateRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class PostTemplatesApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  updatePostTemplate(r: UpdatePostTemplateRequest | UpdatePostTemplateRequestInterface): Observable<HttpResponse<null>>;
14
12
  createPostTemplate(r: CreatePostTemplateRequest | CreatePostTemplateRequestInterface): Observable<CreatePostTemplateResponse>;
@@ -1,14 +1,12 @@
1
1
  import { CreateImageRequest, CreateImageResponse, ImageBlob, ImageUrl, RepostSocialPostRequest, SocialPostRequest, SocialPostResponse, UpdateSocialPostRequest, UpdateSocialPostResponse } from './objects/';
2
2
  import { CreateImageRequestInterface, ImageUrlInterface, RepostSocialPostRequestInterface, SocialPostRequestInterface, UpdateSocialPostRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class SocialPostsV2ApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  scheduleSocialPosts(r: SocialPostRequest | SocialPostRequestInterface): Observable<SocialPostResponse>;
14
12
  updateSocialPosts(r: UpdateSocialPostRequest | UpdateSocialPostRequestInterface): Observable<UpdateSocialPostResponse>;
@@ -1,14 +1,12 @@
1
1
  import { DeleteSocialPostRequest, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, ListSocialPostsRequest, ListSocialPostsResponse, SchedulePostRequest, SchedulePostResponse, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SuggestMessageRequest, SuggestMessageResponse } from './objects/';
2
2
  import { DeleteSocialPostRequestInterface, GetMultiSocialPostStatsRequestInterface, GetMultiSocialPostsRequestInterface, GetScheduledPostCountRequestInterface, ListSocialPostsRequestInterface, SchedulePostRequestInterface, ScheduleToAllPagesRequestInterface, SuggestMessageRequestInterface } from './interfaces/';
3
- import { HttpClient, HttpResponse } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
3
+ import { HttpResponse } from '@angular/common/http';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class SocialPostsApiService {
8
- private http;
9
- private hostService;
7
+ private readonly hostService;
8
+ private readonly http;
10
9
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
10
  private apiOptions;
13
11
  list(r: ListSocialPostsRequest | ListSocialPostsRequestInterface): Observable<ListSocialPostsResponse>;
14
12
  deleteSocialPost(r: DeleteSocialPostRequest | DeleteSocialPostRequestInterface): Observable<HttpResponse<null>>;
@@ -1,14 +1,11 @@
1
1
  import { GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, ListTenorGifsRequest, ListTenorGifsResponse } from './objects/';
2
2
  import { GetTenorAnonymousIdRequestInterface, ListTenorGifsRequestInterface } from './interfaces/';
3
- import { HttpClient } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
5
3
  import { Observable } from 'rxjs';
6
4
  import * as i0 from "@angular/core";
7
5
  export declare class TenorGifsApiService {
8
- private http;
9
- private hostService;
6
+ private readonly hostService;
7
+ private readonly http;
10
8
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
9
  private apiOptions;
13
10
  getTenorAnonymousId(r: GetTenorAnonymousIdRequest | GetTenorAnonymousIdRequestInterface): Observable<GetTenorAnonymousIdResponse>;
14
11
  listTenorGifs(r: ListTenorGifsRequest | ListTenorGifsRequestInterface): Observable<ListTenorGifsResponse>;
@@ -1,14 +1,11 @@
1
1
  import { ListUnsplashImagesRequest, ListUnsplashImagesResponse, UploadToStorageRequest, UploadToStorageResponse } from './objects/';
2
2
  import { ListUnsplashImagesRequestInterface, UploadToStorageRequestInterface } from './interfaces/';
3
- import { HttpClient } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
5
3
  import { Observable } from 'rxjs';
6
4
  import * as i0 from "@angular/core";
7
5
  export declare class UnsplashApiService {
8
- private http;
9
- private hostService;
6
+ private readonly hostService;
7
+ private readonly http;
10
8
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
9
  private apiOptions;
13
10
  listUnsplashImages(r: ListUnsplashImagesRequest | ListUnsplashImagesRequestInterface): Observable<ListUnsplashImagesResponse>;
14
11
  uploadToStorage(r: UploadToStorageRequest | UploadToStorageRequestInterface): Observable<UploadToStorageResponse>;
@@ -1,14 +1,11 @@
1
1
  import { AuthorsRequest, AuthorsResponse, CategoryRequest, CategoryResponse, PublishPostRequest, PublishPostResponse, StatusRequest, StatusResponse } from './objects/';
2
2
  import { AuthorsRequestInterface, CategoryRequestInterface, PublishPostRequestInterface, StatusRequestInterface } from './interfaces/';
3
- import { HttpClient } from '@angular/common/http';
4
- import { HostService } from '../_generated/host.service';
5
3
  import { Observable } from 'rxjs';
6
4
  import * as i0 from "@angular/core";
7
5
  export declare class WordpressPluginApiService {
8
- private http;
9
- private hostService;
6
+ private readonly hostService;
7
+ private readonly http;
10
8
  private _host;
11
- constructor(http: HttpClient, hostService: HostService);
12
9
  private apiOptions;
13
10
  status(r: StatusRequest | StatusRequestInterface): Observable<StatusResponse>;
14
11
  getAuthors(r: AuthorsRequest | AuthorsRequestInterface): Observable<AuthorsResponse>;