@vendasta/social-posts 5.35.0 → 5.37.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/campaign.api.service.mjs +11 -2
- package/esm2020/lib/_internal/content-generation.api.service.mjs +12 -2
- package/esm2020/lib/_internal/enums/api-v2.enum.mjs +33 -1
- package/esm2020/lib/_internal/enums/index.mjs +2 -2
- package/esm2020/lib/_internal/interfaces/api-v2.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/campaign.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/objects/api-v2.mjs +276 -1
- package/esm2020/lib/_internal/objects/campaign.mjs +105 -1
- package/esm2020/lib/_internal/objects/index.mjs +3 -3
- package/fesm2015/vendasta-social-posts.mjs +440 -10
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +440 -10
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/lib/_internal/campaign.api.service.d.ts +5 -2
- package/lib/_internal/content-generation.api.service.d.ts +4 -2
- package/lib/_internal/enums/api-v2.enum.d.ts +30 -1
- package/lib/_internal/enums/index.d.ts +1 -1
- package/lib/_internal/interfaces/api-v2.interface.d.ts +42 -0
- package/lib/_internal/interfaces/campaign.interface.d.ts +19 -0
- package/lib/_internal/interfaces/index.d.ts +2 -2
- package/lib/_internal/objects/api-v2.d.ts +72 -0
- package/lib/_internal/objects/campaign.d.ts +31 -0
- package/lib/_internal/objects/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { CreateCampaignRequest, CreateCampaignResponse } from './objects/';
|
|
2
|
-
import { CreateCampaignRequestInterface } from './interfaces/';
|
|
1
|
+
import { CreateCampaignRequest, CreateCampaignResponse, GetCampaignRequest, GetCampaignResponse, UpdateCampaignRequest } from './objects/';
|
|
2
|
+
import { CreateCampaignRequestInterface, GetCampaignRequestInterface, UpdateCampaignRequestInterface } 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 CampaignApiService {
|
|
@@ -8,6 +9,8 @@ export declare class CampaignApiService {
|
|
|
8
9
|
private _host;
|
|
9
10
|
private apiOptions;
|
|
10
11
|
create(r: CreateCampaignRequest | CreateCampaignRequestInterface): Observable<CreateCampaignResponse>;
|
|
12
|
+
get(r: GetCampaignRequest | GetCampaignRequestInterface): Observable<GetCampaignResponse>;
|
|
13
|
+
update(r: UpdateCampaignRequest | UpdateCampaignRequestInterface): Observable<HttpResponse<null>>;
|
|
11
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<CampaignApiService, never>;
|
|
12
15
|
static ɵprov: i0.ɵɵInjectableDeclaration<CampaignApiService>;
|
|
13
16
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GenerateAiRequest, GenerateAiResponse, GenerateContentMetaDataRequest, GenerateContentMetaDataResponse, GeneratePostsRequest, GeneratePostsResponse } from './objects/';
|
|
2
|
-
import { GenerateAiRequestInterface, GenerateContentMetaDataRequestInterface, GeneratePostsRequestInterface } from './interfaces/';
|
|
1
|
+
import { GenerateAiRequest, GenerateAiResponse, GenerateBlogPostCampaignRequest, GenerateBlogPostCampaignResponse, GenerateContentMetaDataRequest, GenerateContentMetaDataResponse, GeneratePostCampaignRequest, GeneratePostCampaignResponse, GeneratePostsRequest, GeneratePostsResponse } from './objects/';
|
|
2
|
+
import { 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,6 +10,8 @@ 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>;
|
|
14
|
+
generatePostCampaign(r: GeneratePostCampaignRequest | GeneratePostCampaignRequestInterface): Observable<GeneratePostCampaignResponse>;
|
|
13
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContentGenerationApiService, never>;
|
|
14
16
|
static ɵprov: i0.ɵɵInjectableDeclaration<ContentGenerationApiService>;
|
|
15
17
|
}
|
|
@@ -1,10 +1,39 @@
|
|
|
1
1
|
export declare enum ContentLength {
|
|
2
2
|
SHORT_FORM = 0,
|
|
3
3
|
MEDIUM_FORM = 1,
|
|
4
|
-
LONG_FORM = 2
|
|
4
|
+
LONG_FORM = 2,
|
|
5
|
+
OPTIMIZED_FORM = 3
|
|
5
6
|
}
|
|
6
7
|
export declare enum GenerateType {
|
|
7
8
|
TITLE = 0,
|
|
8
9
|
OUTLINE = 1,
|
|
9
10
|
BLOG = 2
|
|
10
11
|
}
|
|
12
|
+
export declare enum Network {
|
|
13
|
+
FACEBOOK = 0,
|
|
14
|
+
INSTAGRAM = 1,
|
|
15
|
+
LINKEDIN = 2,
|
|
16
|
+
TWITTER = 3,
|
|
17
|
+
GMB = 4,
|
|
18
|
+
TIKOTOK = 5,
|
|
19
|
+
YOUTUBE = 6,
|
|
20
|
+
CUSTOM_FEED = 7,
|
|
21
|
+
WORDPRESS = 8
|
|
22
|
+
}
|
|
23
|
+
export declare enum PostType {
|
|
24
|
+
DRAFT = 0,
|
|
25
|
+
SCHEDULED = 1,
|
|
26
|
+
PUBLISHED = 2
|
|
27
|
+
}
|
|
28
|
+
export declare enum Tone {
|
|
29
|
+
DEFAULT = 0,
|
|
30
|
+
FRIENDLY = 1,
|
|
31
|
+
LUXURIOUS = 2,
|
|
32
|
+
PROFESSIONAL = 3,
|
|
33
|
+
RELAXED = 4,
|
|
34
|
+
BOLD = 5,
|
|
35
|
+
ADVENTUROUS = 6,
|
|
36
|
+
WITTY = 7,
|
|
37
|
+
PERSUASIVE = 8,
|
|
38
|
+
EMPATHETIC = 9
|
|
39
|
+
}
|
|
@@ -2,6 +2,6 @@ export { CallToActionCallToActionType, SocialPostDeletionStatus, MessageLength,
|
|
|
2
2
|
export { RemoveReason, } from './multilocation-post.enum';
|
|
3
3
|
export { PostStatusV2, PostTypeV2, YoutubeCustomizationV2PrivacyStatusV2, } from './social-post-v2.enum';
|
|
4
4
|
export { MediaType, } from './linkedin-v2.enum';
|
|
5
|
-
export { ContentLength, GenerateType, } from './api-v2.enum';
|
|
5
|
+
export { ContentLength, GenerateType, Network, Tone, } from './api-v2.enum';
|
|
6
6
|
export { ActionType, } from './chat-bot.enum';
|
|
7
7
|
export { Role, } from './chat-bot-v2.enum';
|
|
@@ -9,6 +9,10 @@ export interface AiInstructionsInterface {
|
|
|
9
9
|
created?: Date;
|
|
10
10
|
updated?: Date;
|
|
11
11
|
}
|
|
12
|
+
export interface BlogPostCampaignInterface {
|
|
13
|
+
blogPostId?: string;
|
|
14
|
+
blogPostType?: e.PostType;
|
|
15
|
+
}
|
|
12
16
|
export interface CreateCommonAiInstructionsRequestInterface {
|
|
13
17
|
businessId?: string;
|
|
14
18
|
partnerId?: string;
|
|
@@ -58,6 +62,14 @@ export interface GenerateAiResponseInterface {
|
|
|
58
62
|
multiResult?: MultiResponseInterface;
|
|
59
63
|
result?: ResponseInterface;
|
|
60
64
|
}
|
|
65
|
+
export interface GenerateBlogPostCampaignRequestInterface {
|
|
66
|
+
businessId?: string;
|
|
67
|
+
networkType?: e.Network[];
|
|
68
|
+
blogCampaign?: BlogPostCampaignInterface;
|
|
69
|
+
}
|
|
70
|
+
export interface GenerateBlogPostCampaignResponseInterface {
|
|
71
|
+
posts?: PostsInterface[];
|
|
72
|
+
}
|
|
61
73
|
export interface GenerateContentMetaDataRequestInterface {
|
|
62
74
|
businessId?: string;
|
|
63
75
|
titleInput?: TitleGenerationInterface;
|
|
@@ -67,6 +79,14 @@ export interface GenerateContentMetaDataResponseInterface {
|
|
|
67
79
|
generatedTitle?: string;
|
|
68
80
|
generatedKeywords?: KeywordListInterface;
|
|
69
81
|
}
|
|
82
|
+
export interface GeneratePostCampaignRequestInterface {
|
|
83
|
+
businessId?: string;
|
|
84
|
+
networkType?: e.Network[];
|
|
85
|
+
postGeneration?: PostsGenerationInterface;
|
|
86
|
+
}
|
|
87
|
+
export interface GeneratePostCampaignResponseInterface {
|
|
88
|
+
postList?: PostListInterface;
|
|
89
|
+
}
|
|
70
90
|
export interface GeneratePostsRequestInterface {
|
|
71
91
|
numberOfPosts?: number;
|
|
72
92
|
topic?: string;
|
|
@@ -147,6 +167,24 @@ export interface MultiResponseInterface {
|
|
|
147
167
|
export interface GeneratePostsResponsePostInterface {
|
|
148
168
|
text?: string;
|
|
149
169
|
}
|
|
170
|
+
export interface PostContentInterface {
|
|
171
|
+
singlePost?: SinglePostInterface[];
|
|
172
|
+
}
|
|
173
|
+
export interface PostListInterface {
|
|
174
|
+
topic?: string;
|
|
175
|
+
posts?: PostsInterface[];
|
|
176
|
+
}
|
|
177
|
+
export interface PostsInterface {
|
|
178
|
+
postContent?: PostContentInterface[];
|
|
179
|
+
}
|
|
180
|
+
export interface PostsGenerationInterface {
|
|
181
|
+
topic?: string[];
|
|
182
|
+
goal?: string;
|
|
183
|
+
tone?: e.Tone;
|
|
184
|
+
contentLength?: e.ContentLength;
|
|
185
|
+
noOfPosts?: number;
|
|
186
|
+
useCommonInstr?: boolean;
|
|
187
|
+
}
|
|
150
188
|
export interface RepostSocialPostRequestInterface {
|
|
151
189
|
socialPostId?: string;
|
|
152
190
|
accountGroupId?: string;
|
|
@@ -154,6 +192,10 @@ export interface RepostSocialPostRequestInterface {
|
|
|
154
192
|
export interface ResponseInterface {
|
|
155
193
|
content?: string;
|
|
156
194
|
}
|
|
195
|
+
export interface SinglePostInterface {
|
|
196
|
+
socialNetwork?: e.Network;
|
|
197
|
+
post?: string;
|
|
198
|
+
}
|
|
157
199
|
export interface SocialPostOutputInterface {
|
|
158
200
|
internalPostId?: string;
|
|
159
201
|
socialPost?: SocialPostV2Interface;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
export interface CampaignInterface {
|
|
2
|
+
campaignName?: string;
|
|
3
|
+
businessId?: string;
|
|
4
|
+
partnerId?: string;
|
|
5
|
+
id?: string;
|
|
6
|
+
}
|
|
1
7
|
export interface CreateCampaignRequestInterface {
|
|
2
8
|
name?: string;
|
|
3
9
|
businessId?: string;
|
|
@@ -6,3 +12,16 @@ export interface CreateCampaignRequestInterface {
|
|
|
6
12
|
export interface CreateCampaignResponseInterface {
|
|
7
13
|
campaignId?: string;
|
|
8
14
|
}
|
|
15
|
+
export interface GetCampaignRequestInterface {
|
|
16
|
+
campaignId?: string;
|
|
17
|
+
businessId?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface GetCampaignResponseInterface {
|
|
20
|
+
campaign?: CampaignInterface;
|
|
21
|
+
}
|
|
22
|
+
export interface UpdateCampaignRequestInterface {
|
|
23
|
+
campaignId?: string;
|
|
24
|
+
name?: string;
|
|
25
|
+
businessId?: string;
|
|
26
|
+
partnerId?: string;
|
|
27
|
+
}
|
|
@@ -10,9 +10,9 @@ 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, CreateCommonAiInstructionsRequestInterface, CreateCommonAiInstructionsResponseInterface, CreateImageRequestInterface, CreateImageResponseInterface, CuratedContentPostInterface, DeletePostRequestInterface, GenerateAiRequestInterface, GenerateAiResponseInterface, GenerateContentMetaDataRequestInterface, GenerateContentMetaDataResponseInterface, GeneratePostsRequestInterface, GeneratePostsResponseInterface, GetCommonAiInstructionsRequestInterface, GetCommonAiInstructionsResponseInterface, ImageBlobInterface, ImageCreatedInterface, ImageUrlInterface, KeywordGenerationInterface, KeywordListInterface, ListCuratedContentRequestInterface, ListCuratedContentResponseInterface, ListUnsplashImagesRequestInterface, ListUnsplashImagesResponseInterface, MediaUploadRequestInterface, MediaUploadResponseInterface, MultiResponseInterface, GeneratePostsResponsePostInterface, RepostSocialPostRequestInterface, ResponseInterface, 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, 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';
|
|
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
17
|
export { AuthorInterface, AuthorsRequestInterface, AuthorsResponseInterface, BlogImageInterface, BlogPostInterface, BlogVideoInterface, CategoryInterface, CategoryRequestInterface, CategoryResponseInterface, DeleteBlogPostRequestInterface, GetMultiBlogPostsRequestInterface, GetMultiBlogPostsResponseInterface, MediaPropertyInterface, PublishPostRequestInterface, PublishPostResponseInterface, RepostBlogPostRequestInterface, StatusRequestInterface, StatusResponseInterface, UpdateBlogPostRequestInterface, } from './wordpress-plugin.interface';
|
|
18
|
-
export { CreateCampaignRequestInterface, CreateCampaignResponseInterface, } from './campaign.interface';
|
|
18
|
+
export { CampaignInterface, CreateCampaignRequestInterface, CreateCampaignResponseInterface, GetCampaignRequestInterface, GetCampaignResponseInterface, UpdateCampaignRequestInterface, } from './campaign.interface';
|
|
@@ -14,6 +14,13 @@ export declare class AiInstructions implements i.AiInstructionsInterface {
|
|
|
14
14
|
constructor(kwargs?: i.AiInstructionsInterface);
|
|
15
15
|
toApiJson(): object;
|
|
16
16
|
}
|
|
17
|
+
export declare class BlogPostCampaign implements i.BlogPostCampaignInterface {
|
|
18
|
+
blogPostId: string;
|
|
19
|
+
blogPostType: e.PostType;
|
|
20
|
+
static fromProto(proto: any): BlogPostCampaign;
|
|
21
|
+
constructor(kwargs?: i.BlogPostCampaignInterface);
|
|
22
|
+
toApiJson(): object;
|
|
23
|
+
}
|
|
17
24
|
export declare class CreateCommonAiInstructionsRequest implements i.CreateCommonAiInstructionsRequestInterface {
|
|
18
25
|
businessId: string;
|
|
19
26
|
partnerId: string;
|
|
@@ -87,6 +94,20 @@ export declare class GenerateAiResponse implements i.GenerateAiResponseInterface
|
|
|
87
94
|
constructor(kwargs?: i.GenerateAiResponseInterface);
|
|
88
95
|
toApiJson(): object;
|
|
89
96
|
}
|
|
97
|
+
export declare class GenerateBlogPostCampaignRequest implements i.GenerateBlogPostCampaignRequestInterface {
|
|
98
|
+
businessId: string;
|
|
99
|
+
networkType: e.Network[];
|
|
100
|
+
blogCampaign: BlogPostCampaign;
|
|
101
|
+
static fromProto(proto: any): GenerateBlogPostCampaignRequest;
|
|
102
|
+
constructor(kwargs?: i.GenerateBlogPostCampaignRequestInterface);
|
|
103
|
+
toApiJson(): object;
|
|
104
|
+
}
|
|
105
|
+
export declare class GenerateBlogPostCampaignResponse implements i.GenerateBlogPostCampaignResponseInterface {
|
|
106
|
+
posts: Posts[];
|
|
107
|
+
static fromProto(proto: any): GenerateBlogPostCampaignResponse;
|
|
108
|
+
constructor(kwargs?: i.GenerateBlogPostCampaignResponseInterface);
|
|
109
|
+
toApiJson(): object;
|
|
110
|
+
}
|
|
90
111
|
export declare class GenerateContentMetaDataRequest implements i.GenerateContentMetaDataRequestInterface {
|
|
91
112
|
businessId: string;
|
|
92
113
|
titleInput: TitleGeneration;
|
|
@@ -102,6 +123,20 @@ export declare class GenerateContentMetaDataResponse implements i.GenerateConten
|
|
|
102
123
|
constructor(kwargs?: i.GenerateContentMetaDataResponseInterface);
|
|
103
124
|
toApiJson(): object;
|
|
104
125
|
}
|
|
126
|
+
export declare class GeneratePostCampaignRequest implements i.GeneratePostCampaignRequestInterface {
|
|
127
|
+
businessId: string;
|
|
128
|
+
networkType: e.Network[];
|
|
129
|
+
postGeneration: PostsGeneration;
|
|
130
|
+
static fromProto(proto: any): GeneratePostCampaignRequest;
|
|
131
|
+
constructor(kwargs?: i.GeneratePostCampaignRequestInterface);
|
|
132
|
+
toApiJson(): object;
|
|
133
|
+
}
|
|
134
|
+
export declare class GeneratePostCampaignResponse implements i.GeneratePostCampaignResponseInterface {
|
|
135
|
+
postList: PostList;
|
|
136
|
+
static fromProto(proto: any): GeneratePostCampaignResponse;
|
|
137
|
+
constructor(kwargs?: i.GeneratePostCampaignResponseInterface);
|
|
138
|
+
toApiJson(): object;
|
|
139
|
+
}
|
|
105
140
|
export declare class GeneratePostsRequest implements i.GeneratePostsRequestInterface {
|
|
106
141
|
numberOfPosts: number;
|
|
107
142
|
topic: string;
|
|
@@ -233,6 +268,36 @@ export declare class GeneratePostsResponsePost implements i.GeneratePostsRespons
|
|
|
233
268
|
constructor(kwargs?: i.GeneratePostsResponsePostInterface);
|
|
234
269
|
toApiJson(): object;
|
|
235
270
|
}
|
|
271
|
+
export declare class PostContent implements i.PostContentInterface {
|
|
272
|
+
singlePost: SinglePost[];
|
|
273
|
+
static fromProto(proto: any): PostContent;
|
|
274
|
+
constructor(kwargs?: i.PostContentInterface);
|
|
275
|
+
toApiJson(): object;
|
|
276
|
+
}
|
|
277
|
+
export declare class PostList implements i.PostListInterface {
|
|
278
|
+
topic: string;
|
|
279
|
+
posts: Posts[];
|
|
280
|
+
static fromProto(proto: any): PostList;
|
|
281
|
+
constructor(kwargs?: i.PostListInterface);
|
|
282
|
+
toApiJson(): object;
|
|
283
|
+
}
|
|
284
|
+
export declare class Posts implements i.PostsInterface {
|
|
285
|
+
postContent: PostContent[];
|
|
286
|
+
static fromProto(proto: any): Posts;
|
|
287
|
+
constructor(kwargs?: i.PostsInterface);
|
|
288
|
+
toApiJson(): object;
|
|
289
|
+
}
|
|
290
|
+
export declare class PostsGeneration implements i.PostsGenerationInterface {
|
|
291
|
+
topic: string[];
|
|
292
|
+
goal: string;
|
|
293
|
+
tone: e.Tone;
|
|
294
|
+
contentLength: e.ContentLength;
|
|
295
|
+
noOfPosts: number;
|
|
296
|
+
useCommonInstr: boolean;
|
|
297
|
+
static fromProto(proto: any): PostsGeneration;
|
|
298
|
+
constructor(kwargs?: i.PostsGenerationInterface);
|
|
299
|
+
toApiJson(): object;
|
|
300
|
+
}
|
|
236
301
|
export declare class RepostSocialPostRequest implements i.RepostSocialPostRequestInterface {
|
|
237
302
|
socialPostId: string;
|
|
238
303
|
accountGroupId: string;
|
|
@@ -246,6 +311,13 @@ export declare class Response implements i.ResponseInterface {
|
|
|
246
311
|
constructor(kwargs?: i.ResponseInterface);
|
|
247
312
|
toApiJson(): object;
|
|
248
313
|
}
|
|
314
|
+
export declare class SinglePost implements i.SinglePostInterface {
|
|
315
|
+
socialNetwork: e.Network;
|
|
316
|
+
post: string;
|
|
317
|
+
static fromProto(proto: any): SinglePost;
|
|
318
|
+
constructor(kwargs?: i.SinglePostInterface);
|
|
319
|
+
toApiJson(): object;
|
|
320
|
+
}
|
|
249
321
|
export declare class SocialPostOutput implements i.SocialPostOutputInterface {
|
|
250
322
|
internalPostId: string;
|
|
251
323
|
socialPost: SocialPostV2;
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import * as i from '../interfaces';
|
|
2
2
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
3
|
+
export declare class Campaign implements i.CampaignInterface {
|
|
4
|
+
campaignName: string;
|
|
5
|
+
businessId: string;
|
|
6
|
+
partnerId: string;
|
|
7
|
+
id: string;
|
|
8
|
+
static fromProto(proto: any): Campaign;
|
|
9
|
+
constructor(kwargs?: i.CampaignInterface);
|
|
10
|
+
toApiJson(): object;
|
|
11
|
+
}
|
|
3
12
|
export declare class CreateCampaignRequest implements i.CreateCampaignRequestInterface {
|
|
4
13
|
name: string;
|
|
5
14
|
businessId: string;
|
|
@@ -14,3 +23,25 @@ export declare class CreateCampaignResponse implements i.CreateCampaignResponseI
|
|
|
14
23
|
constructor(kwargs?: i.CreateCampaignResponseInterface);
|
|
15
24
|
toApiJson(): object;
|
|
16
25
|
}
|
|
26
|
+
export declare class GetCampaignRequest implements i.GetCampaignRequestInterface {
|
|
27
|
+
campaignId: string;
|
|
28
|
+
businessId: string;
|
|
29
|
+
static fromProto(proto: any): GetCampaignRequest;
|
|
30
|
+
constructor(kwargs?: i.GetCampaignRequestInterface);
|
|
31
|
+
toApiJson(): object;
|
|
32
|
+
}
|
|
33
|
+
export declare class GetCampaignResponse implements i.GetCampaignResponseInterface {
|
|
34
|
+
campaign: Campaign;
|
|
35
|
+
static fromProto(proto: any): GetCampaignResponse;
|
|
36
|
+
constructor(kwargs?: i.GetCampaignResponseInterface);
|
|
37
|
+
toApiJson(): object;
|
|
38
|
+
}
|
|
39
|
+
export declare class UpdateCampaignRequest implements i.UpdateCampaignRequestInterface {
|
|
40
|
+
campaignId: string;
|
|
41
|
+
name: string;
|
|
42
|
+
businessId: string;
|
|
43
|
+
partnerId: string;
|
|
44
|
+
static fromProto(proto: any): UpdateCampaignRequest;
|
|
45
|
+
constructor(kwargs?: i.UpdateCampaignRequestInterface);
|
|
46
|
+
toApiJson(): object;
|
|
47
|
+
}
|
|
@@ -10,9 +10,9 @@ 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, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateImageRequest, CreateImageResponse, CuratedContentPost, DeletePostRequest, GenerateAiRequest, GenerateAiResponse, GenerateContentMetaDataRequest, GenerateContentMetaDataResponse, GeneratePostsRequest, GeneratePostsResponse, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, ImageBlob, ImageCreated, ImageUrl, KeywordGeneration, KeywordList, ListCuratedContentRequest, ListCuratedContentResponse, ListUnsplashImagesRequest, ListUnsplashImagesResponse, MediaUploadRequest, MediaUploadResponse, MultiResponse, GeneratePostsResponsePost, RepostSocialPostRequest, Response, SocialPostOutput, SocialPostRequest, SocialPostResponse, TitleGeneration, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse, UpdateSocialPostRequest, UpdateSocialPostResponse, UploadToStorageRequest, UploadToStorageResponse, UploadedMedia, } from './api-v2';
|
|
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';
|
|
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
17
|
export { Author, AuthorsRequest, AuthorsResponse, BlogImage, BlogPost, BlogVideo, Category, CategoryRequest, CategoryResponse, DeleteBlogPostRequest, GetMultiBlogPostsRequest, GetMultiBlogPostsResponse, MediaProperty, PublishPostRequest, PublishPostResponse, RepostBlogPostRequest, StatusRequest, StatusResponse, UpdateBlogPostRequest, } from './wordpress-plugin';
|
|
18
|
-
export { CreateCampaignRequest, CreateCampaignResponse, } from './campaign';
|
|
18
|
+
export { Campaign, CreateCampaignRequest, CreateCampaignResponse, GetCampaignRequest, GetCampaignResponse, UpdateCampaignRequest, } from './campaign';
|