@vendasta/social-posts 5.39.0 → 5.40.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.
@@ -1,5 +1,5 @@
1
- import { GenerateAiRequest, GenerateAiResponse, GenerateBlogPostCampaignRequest, GenerateBlogPostCampaignResponse, GenerateContentMetaDataRequest, GenerateContentMetaDataResponse, GeneratePostCampaignRequest, GeneratePostCampaignResponse, GeneratePostsRequest, GeneratePostsResponse } from './objects/';
2
- import { GenerateAiRequestInterface, GenerateBlogPostCampaignRequestInterface, GenerateContentMetaDataRequestInterface, GeneratePostCampaignRequestInterface, GeneratePostsRequestInterface } from './interfaces/';
1
+ import { FetchLibraryImagesRequest, FetchLibraryImagesResponse, GenerateAiRequest, GenerateAiResponse, GenerateBlogPostCampaignRequest, GenerateContentMetaDataRequest, GenerateContentMetaDataResponse, GeneratePostCampaignRequest, GeneratePostCampaignResponse, GeneratePostsRequest, GeneratePostsResponse } from './objects/';
2
+ import { FetchLibraryImagesRequestInterface, GenerateAiRequestInterface, GenerateBlogPostCampaignRequestInterface, GenerateContentMetaDataRequestInterface, GeneratePostCampaignRequestInterface, GeneratePostsRequestInterface } from './interfaces/';
3
3
  import { Observable } from 'rxjs';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ContentGenerationApiService {
@@ -10,8 +10,9 @@ export declare class ContentGenerationApiService {
10
10
  generatePosts(r: GeneratePostsRequest | GeneratePostsRequestInterface): Observable<GeneratePostsResponse>;
11
11
  generate(r: GenerateAiRequest | GenerateAiRequestInterface): Observable<GenerateAiResponse>;
12
12
  generateContentMetaData(r: GenerateContentMetaDataRequest | GenerateContentMetaDataRequestInterface): Observable<GenerateContentMetaDataResponse>;
13
- generateBlogPostCampaign(r: GenerateBlogPostCampaignRequest | GenerateBlogPostCampaignRequestInterface): Observable<GenerateBlogPostCampaignResponse>;
13
+ generateBlogPostCampaign(r: GenerateBlogPostCampaignRequest | GenerateBlogPostCampaignRequestInterface): Observable<GeneratePostCampaignResponse>;
14
14
  generatePostCampaign(r: GeneratePostCampaignRequest | GeneratePostCampaignRequestInterface): Observable<GeneratePostCampaignResponse>;
15
+ fetchLibraryImages(r: FetchLibraryImagesRequest | FetchLibraryImagesRequestInterface): Observable<FetchLibraryImagesResponse>;
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ContentGenerationApiService, never>;
16
17
  static ɵprov: i0.ɵɵInjectableDeclaration<ContentGenerationApiService>;
17
18
  }
@@ -12,6 +12,7 @@ export interface AiInstructionsInterface {
12
12
  export interface BlogPostCampaignInterface {
13
13
  blogPostId?: string;
14
14
  blogPostType?: e.PostCategory;
15
+ noOfPosts?: number;
15
16
  }
16
17
  export interface CreateCommonAiInstructionsRequestInterface {
17
18
  businessId?: string;
@@ -49,6 +50,14 @@ export interface DeletePostRequestInterface {
49
50
  accessToken?: string;
50
51
  postId?: string;
51
52
  }
53
+ export interface FetchLibraryImagesRequestInterface {
54
+ businessId?: string;
55
+ keywordInput?: KeywordGenerationInterface;
56
+ imageCount?: number;
57
+ }
58
+ export interface FetchLibraryImagesResponseInterface {
59
+ images?: ImageResponseInterface[];
60
+ }
52
61
  export interface GenerateAiRequestInterface {
53
62
  goal?: string;
54
63
  instruction?: string;
@@ -68,9 +77,6 @@ export interface GenerateBlogPostCampaignRequestInterface {
68
77
  blogCampaign?: BlogPostCampaignInterface;
69
78
  partnerId?: string;
70
79
  }
71
- export interface GenerateBlogPostCampaignResponseInterface {
72
- posts?: PostsInterface[];
73
- }
74
80
  export interface GenerateContentMetaDataRequestInterface {
75
81
  businessId?: string;
76
82
  titleInput?: TitleGenerationInterface;
@@ -87,7 +93,7 @@ export interface GeneratePostCampaignRequestInterface {
87
93
  partnerId?: string;
88
94
  }
89
95
  export interface GeneratePostCampaignResponseInterface {
90
- postList?: PostListInterface;
96
+ posts?: PostInterface[];
91
97
  }
92
98
  export interface GeneratePostsRequestInterface {
93
99
  numberOfPosts?: number;
@@ -116,12 +122,18 @@ export interface ImageCreatedInterface {
116
122
  b64Json?: string;
117
123
  revisedPrompt?: string;
118
124
  }
125
+ export interface ImageResponseInterface {
126
+ type?: string;
127
+ webformatUrl?: string;
128
+ fullHdUrl?: string;
129
+ }
119
130
  export interface ImageUrlInterface {
120
131
  url?: string;
121
132
  }
122
133
  export interface KeywordGenerationInterface {
123
134
  blogPostId?: string;
124
135
  keywordCount?: number;
136
+ postType?: e.PostCategory;
125
137
  }
126
138
  export interface KeywordListInterface {
127
139
  keywords?: string[];
@@ -169,16 +181,14 @@ export interface MultiResponseInterface {
169
181
  export interface GeneratePostsResponsePostInterface {
170
182
  text?: string;
171
183
  }
172
- export interface PostContentInterface {
173
- singlePost?: SinglePostInterface[];
174
- }
175
- export interface PostListInterface {
184
+ export interface PostInterface {
176
185
  topic?: string;
177
- posts?: PostsInterface[];
178
- }
179
- export interface PostsInterface {
180
186
  postContent?: PostContentInterface[];
181
187
  }
188
+ export interface PostContentInterface {
189
+ socialNetwork?: e.Network;
190
+ post?: string;
191
+ }
182
192
  export interface PostsGenerationInterface {
183
193
  topic?: string[];
184
194
  goal?: string;
@@ -194,10 +204,6 @@ export interface RepostSocialPostRequestInterface {
194
204
  export interface ResponseInterface {
195
205
  content?: string;
196
206
  }
197
- export interface SinglePostInterface {
198
- socialNetwork?: e.Network;
199
- post?: string;
200
- }
201
207
  export interface SocialPostOutputInterface {
202
208
  internalPostId?: string;
203
209
  socialPost?: SocialPostV2Interface;
@@ -1,6 +1,6 @@
1
1
  export { FieldMaskInterface, } from './field-mask.interface';
2
2
  export { HashtagInterface, } from './hashtag.interface';
3
- export { BlogPostCustomizationInterface, 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, SocialCampaignInterface, 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';
@@ -10,7 +10,7 @@ export { AccessInterface, } from './annotations.interface';
10
10
  export { LinkV2Interface, MetadataV2Interface, PostActionV2Interface, PostContentV2Interface, PostCustomizationV2Interface, PostEventV2Interface, PostMediaV2Interface, SocialPostV2Interface, TikTokCustomizationV2Interface, YoutubeCustomizationV2Interface, } from './social-post-v2.interface';
11
11
  export { MediaInterface, } from './linkedin-v2.interface';
12
12
  export { AncestryInterface, CollectionInterface, ImageInterface, LinksInterface, PhotoInterface, SocialInterface, SourceInterface, SubAncestryInterface, TagsInterface, UrlsInterface, UserInterface, UserLinkInterface, } from './unsplash-image.interface';
13
- export { AiInstructionsInterface, BlogPostCampaignInterface, CreateCommonAiInstructionsRequestInterface, CreateCommonAiInstructionsResponseInterface, CreateImageRequestInterface, CreateImageResponseInterface, CuratedContentPostInterface, DeletePostRequestInterface, GenerateAiRequestInterface, GenerateAiResponseInterface, GenerateBlogPostCampaignRequestInterface, GenerateBlogPostCampaignResponseInterface, GenerateContentMetaDataRequestInterface, GenerateContentMetaDataResponseInterface, GeneratePostCampaignRequestInterface, GeneratePostCampaignResponseInterface, GeneratePostsRequestInterface, GeneratePostsResponseInterface, GetCommonAiInstructionsRequestInterface, GetCommonAiInstructionsResponseInterface, ImageBlobInterface, ImageCreatedInterface, ImageUrlInterface, KeywordGenerationInterface, KeywordListInterface, ListCuratedContentRequestInterface, ListCuratedContentResponseInterface, ListUnsplashImagesRequestInterface, ListUnsplashImagesResponseInterface, MediaUploadRequestInterface, MediaUploadResponseInterface, MultiResponseInterface, GeneratePostsResponsePostInterface, PostContentInterface, PostListInterface, PostsInterface, PostsGenerationInterface, RepostSocialPostRequestInterface, ResponseInterface, SinglePostInterface, SocialPostOutputInterface, SocialPostRequestInterface, SocialPostResponseInterface, TitleGenerationInterface, UpdateCommonAiInstructionsRequestInterface, UpdateCommonAiInstructionsResponseInterface, UpdateSocialPostRequestInterface, UpdateSocialPostResponseInterface, UploadToStorageRequestInterface, UploadToStorageResponseInterface, UploadedMediaInterface, } from './api-v2.interface';
13
+ export { AiInstructionsInterface, BlogPostCampaignInterface, CreateCommonAiInstructionsRequestInterface, CreateCommonAiInstructionsResponseInterface, CreateImageRequestInterface, CreateImageResponseInterface, CuratedContentPostInterface, DeletePostRequestInterface, FetchLibraryImagesRequestInterface, FetchLibraryImagesResponseInterface, GenerateAiRequestInterface, GenerateAiResponseInterface, GenerateBlogPostCampaignRequestInterface, GenerateContentMetaDataRequestInterface, GenerateContentMetaDataResponseInterface, GeneratePostCampaignRequestInterface, GeneratePostCampaignResponseInterface, GeneratePostsRequestInterface, GeneratePostsResponseInterface, GetCommonAiInstructionsRequestInterface, GetCommonAiInstructionsResponseInterface, ImageBlobInterface, ImageCreatedInterface, ImageResponseInterface, ImageUrlInterface, KeywordGenerationInterface, KeywordListInterface, ListCuratedContentRequestInterface, ListCuratedContentResponseInterface, ListUnsplashImagesRequestInterface, ListUnsplashImagesResponseInterface, MediaUploadRequestInterface, MediaUploadResponseInterface, MultiResponseInterface, GeneratePostsResponsePostInterface, PostInterface, PostContentInterface, PostsGenerationInterface, RepostSocialPostRequestInterface, ResponseInterface, SocialPostOutputInterface, SocialPostRequestInterface, SocialPostResponseInterface, TitleGenerationInterface, UpdateCommonAiInstructionsRequestInterface, UpdateCommonAiInstructionsResponseInterface, UpdateSocialPostRequestInterface, UpdateSocialPostResponseInterface, UploadToStorageRequestInterface, UploadToStorageResponseInterface, UploadedMediaInterface, } from './api-v2.interface';
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';
@@ -69,6 +69,10 @@ export interface SchedulePostStatusInterface {
69
69
  socialServiceLabel?: string;
70
70
  error?: ErrorInterface;
71
71
  }
72
+ export interface SocialCampaignInterface {
73
+ name?: string;
74
+ id?: string;
75
+ }
72
76
  export interface SocialPostInterface {
73
77
  businessId?: string;
74
78
  socialPostId?: string;
@@ -103,6 +107,7 @@ export interface SocialPostInterface {
103
107
  youtubeCustomization?: YoutubeCustomizationInterface;
104
108
  tiktokCustomization?: TikTokCustomizationInterface;
105
109
  blogPostCustomization?: BlogPostCustomizationInterface;
110
+ campaign?: SocialCampaignInterface;
106
111
  }
107
112
  export interface SocialPostDataInterface {
108
113
  postText?: string;
@@ -17,6 +17,7 @@ export declare class AiInstructions implements i.AiInstructionsInterface {
17
17
  export declare class BlogPostCampaign implements i.BlogPostCampaignInterface {
18
18
  blogPostId: string;
19
19
  blogPostType: e.PostCategory;
20
+ noOfPosts: number;
20
21
  static fromProto(proto: any): BlogPostCampaign;
21
22
  constructor(kwargs?: i.BlogPostCampaignInterface);
22
23
  toApiJson(): object;
@@ -75,6 +76,20 @@ export declare class DeletePostRequest implements i.DeletePostRequestInterface {
75
76
  constructor(kwargs?: i.DeletePostRequestInterface);
76
77
  toApiJson(): object;
77
78
  }
79
+ export declare class FetchLibraryImagesRequest implements i.FetchLibraryImagesRequestInterface {
80
+ businessId: string;
81
+ keywordInput: KeywordGeneration;
82
+ imageCount: number;
83
+ static fromProto(proto: any): FetchLibraryImagesRequest;
84
+ constructor(kwargs?: i.FetchLibraryImagesRequestInterface);
85
+ toApiJson(): object;
86
+ }
87
+ export declare class FetchLibraryImagesResponse implements i.FetchLibraryImagesResponseInterface {
88
+ images: ImageResponse[];
89
+ static fromProto(proto: any): FetchLibraryImagesResponse;
90
+ constructor(kwargs?: i.FetchLibraryImagesResponseInterface);
91
+ toApiJson(): object;
92
+ }
78
93
  export declare class GenerateAiRequest implements i.GenerateAiRequestInterface {
79
94
  goal: string;
80
95
  instruction: string;
@@ -103,12 +118,6 @@ export declare class GenerateBlogPostCampaignRequest implements i.GenerateBlogPo
103
118
  constructor(kwargs?: i.GenerateBlogPostCampaignRequestInterface);
104
119
  toApiJson(): object;
105
120
  }
106
- export declare class GenerateBlogPostCampaignResponse implements i.GenerateBlogPostCampaignResponseInterface {
107
- posts: Posts[];
108
- static fromProto(proto: any): GenerateBlogPostCampaignResponse;
109
- constructor(kwargs?: i.GenerateBlogPostCampaignResponseInterface);
110
- toApiJson(): object;
111
- }
112
121
  export declare class GenerateContentMetaDataRequest implements i.GenerateContentMetaDataRequestInterface {
113
122
  businessId: string;
114
123
  titleInput: TitleGeneration;
@@ -134,7 +143,7 @@ export declare class GeneratePostCampaignRequest implements i.GeneratePostCampai
134
143
  toApiJson(): object;
135
144
  }
136
145
  export declare class GeneratePostCampaignResponse implements i.GeneratePostCampaignResponseInterface {
137
- postList: PostList;
146
+ posts: Post[];
138
147
  static fromProto(proto: any): GeneratePostCampaignResponse;
139
148
  constructor(kwargs?: i.GeneratePostCampaignResponseInterface);
140
149
  toApiJson(): object;
@@ -184,6 +193,14 @@ export declare class ImageCreated implements i.ImageCreatedInterface {
184
193
  constructor(kwargs?: i.ImageCreatedInterface);
185
194
  toApiJson(): object;
186
195
  }
196
+ export declare class ImageResponse implements i.ImageResponseInterface {
197
+ type: string;
198
+ webformatUrl: string;
199
+ fullHdUrl: string;
200
+ static fromProto(proto: any): ImageResponse;
201
+ constructor(kwargs?: i.ImageResponseInterface);
202
+ toApiJson(): object;
203
+ }
187
204
  export declare class ImageUrl implements i.ImageUrlInterface {
188
205
  url: string;
189
206
  static fromProto(proto: any): ImageUrl;
@@ -193,6 +210,7 @@ export declare class ImageUrl implements i.ImageUrlInterface {
193
210
  export declare class KeywordGeneration implements i.KeywordGenerationInterface {
194
211
  blogPostId: string;
195
212
  keywordCount: number;
213
+ postType: e.PostCategory;
196
214
  static fromProto(proto: any): KeywordGeneration;
197
215
  constructor(kwargs?: i.KeywordGenerationInterface);
198
216
  toApiJson(): object;
@@ -270,23 +288,18 @@ export declare class GeneratePostsResponsePost implements i.GeneratePostsRespons
270
288
  constructor(kwargs?: i.GeneratePostsResponsePostInterface);
271
289
  toApiJson(): object;
272
290
  }
273
- export declare class PostContent implements i.PostContentInterface {
274
- singlePost: SinglePost[];
275
- static fromProto(proto: any): PostContent;
276
- constructor(kwargs?: i.PostContentInterface);
277
- toApiJson(): object;
278
- }
279
- export declare class PostList implements i.PostListInterface {
291
+ export declare class Post implements i.PostInterface {
280
292
  topic: string;
281
- posts: Posts[];
282
- static fromProto(proto: any): PostList;
283
- constructor(kwargs?: i.PostListInterface);
293
+ postContent: PostContent[];
294
+ static fromProto(proto: any): Post;
295
+ constructor(kwargs?: i.PostInterface);
284
296
  toApiJson(): object;
285
297
  }
286
- export declare class Posts implements i.PostsInterface {
287
- postContent: PostContent[];
288
- static fromProto(proto: any): Posts;
289
- constructor(kwargs?: i.PostsInterface);
298
+ export declare class PostContent implements i.PostContentInterface {
299
+ socialNetwork: e.Network;
300
+ post: string;
301
+ static fromProto(proto: any): PostContent;
302
+ constructor(kwargs?: i.PostContentInterface);
290
303
  toApiJson(): object;
291
304
  }
292
305
  export declare class PostsGeneration implements i.PostsGenerationInterface {
@@ -313,13 +326,6 @@ export declare class Response implements i.ResponseInterface {
313
326
  constructor(kwargs?: i.ResponseInterface);
314
327
  toApiJson(): object;
315
328
  }
316
- export declare class SinglePost implements i.SinglePostInterface {
317
- socialNetwork: e.Network;
318
- post: string;
319
- static fromProto(proto: any): SinglePost;
320
- constructor(kwargs?: i.SinglePostInterface);
321
- toApiJson(): object;
322
- }
323
329
  export declare class SocialPostOutput implements i.SocialPostOutputInterface {
324
330
  internalPostId: string;
325
331
  socialPost: SocialPostV2;
@@ -1,6 +1,6 @@
1
1
  export { FieldMask, } from './field-mask';
2
2
  export { Hashtag, } from './hashtag';
3
- export { BlogPostCustomization, 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, SocialCampaign, 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';
@@ -10,7 +10,7 @@ export { Access, } from './annotations';
10
10
  export { LinkV2, MetadataV2, PostActionV2, PostContentV2, PostCustomizationV2, PostEventV2, PostMediaV2, SocialPostV2, TikTokCustomizationV2, YoutubeCustomizationV2, } from './social-post-v2';
11
11
  export { Media, } from './linkedin-v2';
12
12
  export { Ancestry, Collection, Image, Links, Photo, Social, Source, SubAncestry, Tags, Urls, User, UserLink, } from './unsplash-image';
13
- export { AiInstructions, BlogPostCampaign, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateImageRequest, CreateImageResponse, CuratedContentPost, DeletePostRequest, GenerateAiRequest, GenerateAiResponse, GenerateBlogPostCampaignRequest, GenerateBlogPostCampaignResponse, GenerateContentMetaDataRequest, GenerateContentMetaDataResponse, GeneratePostCampaignRequest, GeneratePostCampaignResponse, GeneratePostsRequest, GeneratePostsResponse, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, ImageBlob, ImageCreated, ImageUrl, KeywordGeneration, KeywordList, ListCuratedContentRequest, ListCuratedContentResponse, ListUnsplashImagesRequest, ListUnsplashImagesResponse, MediaUploadRequest, MediaUploadResponse, MultiResponse, GeneratePostsResponsePost, PostContent, PostList, Posts, PostsGeneration, RepostSocialPostRequest, Response, SinglePost, SocialPostOutput, SocialPostRequest, SocialPostResponse, TitleGeneration, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse, UpdateSocialPostRequest, UpdateSocialPostResponse, UploadToStorageRequest, UploadToStorageResponse, UploadedMedia, } from './api-v2';
13
+ export { AiInstructions, BlogPostCampaign, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateImageRequest, CreateImageResponse, CuratedContentPost, DeletePostRequest, FetchLibraryImagesRequest, FetchLibraryImagesResponse, GenerateAiRequest, GenerateAiResponse, GenerateBlogPostCampaignRequest, GenerateContentMetaDataRequest, GenerateContentMetaDataResponse, GeneratePostCampaignRequest, GeneratePostCampaignResponse, GeneratePostsRequest, GeneratePostsResponse, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, ImageBlob, ImageCreated, ImageResponse, ImageUrl, KeywordGeneration, KeywordList, ListCuratedContentRequest, ListCuratedContentResponse, ListUnsplashImagesRequest, ListUnsplashImagesResponse, MediaUploadRequest, MediaUploadResponse, MultiResponse, GeneratePostsResponsePost, Post, PostContent, PostsGeneration, RepostSocialPostRequest, Response, SocialPostOutput, SocialPostRequest, SocialPostResponse, TitleGeneration, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse, UpdateSocialPostRequest, UpdateSocialPostResponse, UploadToStorageRequest, UploadToStorageResponse, UploadedMedia, } from './api-v2';
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';
@@ -104,6 +104,13 @@ export declare class SchedulePostStatus implements i.SchedulePostStatusInterface
104
104
  constructor(kwargs?: i.SchedulePostStatusInterface);
105
105
  toApiJson(): object;
106
106
  }
107
+ export declare class SocialCampaign implements i.SocialCampaignInterface {
108
+ name: string;
109
+ id: string;
110
+ static fromProto(proto: any): SocialCampaign;
111
+ constructor(kwargs?: i.SocialCampaignInterface);
112
+ toApiJson(): object;
113
+ }
107
114
  export declare class SocialPost implements i.SocialPostInterface {
108
115
  businessId: string;
109
116
  socialPostId: string;
@@ -138,6 +145,7 @@ export declare class SocialPost implements i.SocialPostInterface {
138
145
  youtubeCustomization: YoutubeCustomization;
139
146
  tiktokCustomization: TikTokCustomization;
140
147
  blogPostCustomization: BlogPostCustomization;
148
+ campaign: SocialCampaign;
141
149
  static fromProto(proto: any): SocialPost;
142
150
  constructor(kwargs?: i.SocialPostInterface);
143
151
  toApiJson(): object;
@@ -1,5 +1,5 @@
1
1
  import { Observable } from 'rxjs';
2
- import { ContentGenerationApiService, GenerateAiRequest, GenerateAiRequestInterface, GenerateAiResponse, GenerateContentMetaDataRequest, GenerateContentMetaDataRequestInterface, GenerateContentMetaDataResponse, GeneratePostsRequest, GeneratePostsRequestInterface, GeneratePostsResponse } from './_internal';
2
+ import { ContentGenerationApiService, FetchLibraryImagesRequest, FetchLibraryImagesRequestInterface, FetchLibraryImagesResponse, GenerateAiRequest, GenerateAiRequestInterface, GenerateAiResponse, GenerateContentMetaDataRequest, GenerateContentMetaDataRequestInterface, GenerateContentMetaDataResponse, GeneratePostsRequest, GeneratePostsRequestInterface, GeneratePostsResponse } from './_internal';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ContentGenerationService {
5
5
  private contentGenerationApiService;
@@ -7,6 +7,7 @@ export declare class ContentGenerationService {
7
7
  generatePosts(r: GeneratePostsRequest | GeneratePostsRequestInterface): Observable<GeneratePostsResponse>;
8
8
  generate(r: GenerateAiRequest | GenerateAiRequestInterface): Observable<GenerateAiResponse>;
9
9
  generateContentMetaData(r: GenerateContentMetaDataRequest | GenerateContentMetaDataRequestInterface): Observable<GenerateContentMetaDataResponse>;
10
+ fetchLibraryImages(r: FetchLibraryImagesRequest | FetchLibraryImagesRequestInterface): Observable<FetchLibraryImagesResponse>;
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<ContentGenerationService, never>;
11
12
  static ɵprov: i0.ɵɵInjectableDeclaration<ContentGenerationService>;
12
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/social-posts",
3
- "version": "5.39.0",
3
+ "version": "5.40.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"