@vendasta/social-posts 5.17.0 → 5.18.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/common-ai-instructions.api.service.mjs +51 -0
- package/esm2020/lib/_internal/content-generation.api.service.mjs +41 -0
- package/esm2020/lib/_internal/index.mjs +3 -1
- package/esm2020/lib/_internal/interfaces/api-v2.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/objects/api-v2.mjs +252 -1
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/esm2020/lib/ai-instructions.service.mjs +46 -0
- package/esm2020/lib/content-generation.service.mjs +19 -0
- package/esm2020/lib/index.mjs +3 -1
- package/fesm2015/vendasta-social-posts.mjs +384 -1
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +384 -1
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/lib/_internal/common-ai-instructions.api.service.d.ts +18 -0
- package/lib/_internal/content-generation.api.service.d.ts +16 -0
- package/lib/_internal/index.d.ts +2 -0
- package/lib/_internal/interfaces/api-v2.interface.d.ts +39 -0
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/objects/api-v2.d.ts +69 -0
- package/lib/_internal/objects/index.d.ts +1 -1
- package/lib/ai-instructions.service.d.ts +13 -0
- package/lib/content-generation.service.d.ts +10 -0
- package/lib/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse } from './objects/';
|
|
2
|
+
import { CreateCommonAiInstructionsRequestInterface, GetCommonAiInstructionsRequestInterface, UpdateCommonAiInstructionsRequestInterface } from './interfaces/';
|
|
3
|
+
import { HttpClient } from '@angular/common/http';
|
|
4
|
+
import { HostService } from '../_generated/host.service';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class CommonAiInstructionsApiService {
|
|
8
|
+
private http;
|
|
9
|
+
private hostService;
|
|
10
|
+
private _host;
|
|
11
|
+
constructor(http: HttpClient, hostService: HostService);
|
|
12
|
+
private apiOptions;
|
|
13
|
+
createCommonAiInstructions(r: CreateCommonAiInstructionsRequest | CreateCommonAiInstructionsRequestInterface): Observable<CreateCommonAiInstructionsResponse>;
|
|
14
|
+
updateCommonAiInstructions(r: UpdateCommonAiInstructionsRequest | UpdateCommonAiInstructionsRequestInterface): Observable<UpdateCommonAiInstructionsResponse>;
|
|
15
|
+
getCommonAiInstructions(r: GetCommonAiInstructionsRequest | GetCommonAiInstructionsRequestInterface): Observable<GetCommonAiInstructionsResponse>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommonAiInstructionsApiService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CommonAiInstructionsApiService>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { GeneratePostsRequest, GeneratePostsResponse } from './objects/';
|
|
2
|
+
import { GeneratePostsRequestInterface } from './interfaces/';
|
|
3
|
+
import { HttpClient } from '@angular/common/http';
|
|
4
|
+
import { HostService } from '../_generated/host.service';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ContentGenerationApiService {
|
|
8
|
+
private http;
|
|
9
|
+
private hostService;
|
|
10
|
+
private _host;
|
|
11
|
+
constructor(http: HttpClient, hostService: HostService);
|
|
12
|
+
private apiOptions;
|
|
13
|
+
generatePosts(r: GeneratePostsRequest | GeneratePostsRequestInterface): Observable<GeneratePostsResponse>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentGenerationApiService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ContentGenerationApiService>;
|
|
16
|
+
}
|
package/lib/_internal/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from './enums';
|
|
2
2
|
export * from './objects';
|
|
3
3
|
export * from './interfaces';
|
|
4
|
+
export { CommonAiInstructionsApiService } from './common-ai-instructions.api.service';
|
|
5
|
+
export { ContentGenerationApiService } from './content-generation.api.service';
|
|
4
6
|
export { HashTagsApiService } from './hash-tags.api.service';
|
|
5
7
|
export { LinkedinApiService } from './linkedin.api.service';
|
|
6
8
|
export { MultilocationPostApiService } from './multilocation-post.api.service';
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
import { MediaInterface } from './linkedin-v2.interface';
|
|
2
2
|
import { MetadataV2Interface, SocialPostV2Interface } from './social-post-v2.interface';
|
|
3
3
|
import * as e from '../enums';
|
|
4
|
+
export interface AiInstructionsInterface {
|
|
5
|
+
commonAiInstructions?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface CreateCommonAiInstructionsRequestInterface {
|
|
8
|
+
businessId?: string;
|
|
9
|
+
partnerId?: string;
|
|
10
|
+
aiInstructions?: AiInstructionsInterface;
|
|
11
|
+
}
|
|
12
|
+
export interface CreateCommonAiInstructionsResponseInterface {
|
|
13
|
+
aiInstructions?: AiInstructionsInterface;
|
|
14
|
+
}
|
|
4
15
|
export interface CreateImageRequestInterface {
|
|
5
16
|
businessId?: string;
|
|
6
17
|
prompt?: string;
|
|
@@ -20,6 +31,23 @@ export interface DeletePostRequestInterface {
|
|
|
20
31
|
accessToken?: string;
|
|
21
32
|
postId?: string;
|
|
22
33
|
}
|
|
34
|
+
export interface GeneratePostsRequestInterface {
|
|
35
|
+
numberOfPosts?: number;
|
|
36
|
+
topic?: string;
|
|
37
|
+
commonInstructions?: string;
|
|
38
|
+
tone?: string;
|
|
39
|
+
postLength?: number;
|
|
40
|
+
}
|
|
41
|
+
export interface GeneratePostsResponseInterface {
|
|
42
|
+
posts?: GeneratePostsResponsePostInterface[];
|
|
43
|
+
}
|
|
44
|
+
export interface GetCommonAiInstructionsRequestInterface {
|
|
45
|
+
businessId?: string;
|
|
46
|
+
partnerId?: string;
|
|
47
|
+
}
|
|
48
|
+
export interface GetCommonAiInstructionsResponseInterface {
|
|
49
|
+
aiInstructions?: AiInstructionsInterface;
|
|
50
|
+
}
|
|
23
51
|
export interface ImageBlobInterface {
|
|
24
52
|
blob?: string;
|
|
25
53
|
}
|
|
@@ -39,6 +67,9 @@ export interface MediaUploadRequestInterface {
|
|
|
39
67
|
export interface MediaUploadResponseInterface {
|
|
40
68
|
uploadUrns?: string[];
|
|
41
69
|
}
|
|
70
|
+
export interface GeneratePostsResponsePostInterface {
|
|
71
|
+
text?: string;
|
|
72
|
+
}
|
|
42
73
|
export interface RepostSocialPostRequestInterface {
|
|
43
74
|
socialPostId?: string;
|
|
44
75
|
accountGroupId?: string;
|
|
@@ -56,6 +87,14 @@ export interface SocialPostRequestInterface {
|
|
|
56
87
|
export interface SocialPostResponseInterface {
|
|
57
88
|
socialPosts?: SocialPostOutputInterface[];
|
|
58
89
|
}
|
|
90
|
+
export interface UpdateCommonAiInstructionsRequestInterface {
|
|
91
|
+
businessId?: string;
|
|
92
|
+
partnerId?: string;
|
|
93
|
+
aiInstructions?: AiInstructionsInterface;
|
|
94
|
+
}
|
|
95
|
+
export interface UpdateCommonAiInstructionsResponseInterface {
|
|
96
|
+
aiInstructions?: AiInstructionsInterface;
|
|
97
|
+
}
|
|
59
98
|
export interface UpdateSocialPostRequestInterface {
|
|
60
99
|
socialPost?: SocialPostV2Interface;
|
|
61
100
|
isError?: boolean;
|
|
@@ -8,4 +8,4 @@ export { TenorGifMediaMapEntryInterface, TenorGifInterface, TenorMediaObjectInte
|
|
|
8
8
|
export { CreateMultilocationPostRequestInterface, CreateMultilocationPostResponseInterface, CreatePostTemplateRequestInterface, CreatePostTemplateResponseInterface, DateRangeFilterInterface, DeleteHashtagsRequestInterface, DeleteMultilocationPostRequestInterface, DeletePostTemplateRequestInterface, DeleteSocialPostRequestInterface, EditMultilocationPostRequestInterface, EditMultilocationPostResponseInterface, PartnerListScheduledSocialPostsRequestFiltersInterface, GenerateCSVForPerformanceStatsRequestInterface, GenerateCSVForPerformanceStatsResponseInterface, GetGeneratedCSVForPerformanceStatsRequestInterface, GetGeneratedCSVForPerformanceStatsResponseInterface, GetMultiSocialPostStatsRequestInterface, GetMultiSocialPostStatsResponseInterface, GetMultiSocialPostsRequestInterface, GetMultiSocialPostsResponseInterface, GetMultilocationPostRequestInterface, GetMultilocationPostResponseInterface, GetPostTemplateRequestInterface, GetPostTemplateResponseInterface, GetScheduledPostCountRequestInterface, GetScheduledPostCountResponseInterface, GetTenorAnonymousIdRequestInterface, GetTenorAnonymousIdResponseInterface, ListMultilocationPostsForBrandRequestInterface, ListMultilocationPostsForBrandResponseInterface, ListPixabayImagesRequestInterface, ListPixabayImagesResponseInterface, ListPostTemplatesRequestInterface, ListPostTemplatesResponseInterface, ListSocialPostsRequestInterface, ListSocialPostsResponseInterface, ListTenorGifsRequestInterface, ListTenorGifsResponseInterface, PartnerListScheduledPostsResponseInterface, PartnerListScheduledSocialPostsRequestInterface, PostDataInterface, RemoveFromMultilocationPostRequestInterface, ReplaceHashtagsRequestInterface, SchedulePostRequestInterface, SchedulePostResponseInterface, ScheduleToAllPagesRequestInterface, ScheduleToAllPagesResponseInterface, SearchHashtagRequestInterface, SearchHashtagResponseInterface, SuggestMessageRequestInterface, SuggestMessageResponseInterface, UpdatePostTemplateRequestInterface, } from './api.interface';
|
|
9
9
|
export { LinkV2Interface, MetadataV2Interface, PostActionV2Interface, PostContentV2Interface, PostCustomizationV2Interface, PostEventV2Interface, PostMediaV2Interface, SocialPostV2Interface, YoutubeCustomizationV2Interface, } from './social-post-v2.interface';
|
|
10
10
|
export { MediaInterface, } from './linkedin-v2.interface';
|
|
11
|
-
export { CreateImageRequestInterface, CreateImageResponseInterface, DeletePostRequestInterface, ImageBlobInterface, ImageCreatedInterface, ImageUrlInterface, MediaUploadRequestInterface, MediaUploadResponseInterface, RepostSocialPostRequestInterface, SocialPostOutputInterface, SocialPostRequestInterface, SocialPostResponseInterface, UpdateSocialPostRequestInterface, UpdateSocialPostResponseInterface, } from './api-v2.interface';
|
|
11
|
+
export { AiInstructionsInterface, CreateCommonAiInstructionsRequestInterface, CreateCommonAiInstructionsResponseInterface, CreateImageRequestInterface, CreateImageResponseInterface, DeletePostRequestInterface, GeneratePostsRequestInterface, GeneratePostsResponseInterface, GetCommonAiInstructionsRequestInterface, GetCommonAiInstructionsResponseInterface, ImageBlobInterface, ImageCreatedInterface, ImageUrlInterface, MediaUploadRequestInterface, MediaUploadResponseInterface, GeneratePostsResponsePostInterface, RepostSocialPostRequestInterface, SocialPostOutputInterface, SocialPostRequestInterface, SocialPostResponseInterface, UpdateCommonAiInstructionsRequestInterface, UpdateCommonAiInstructionsResponseInterface, UpdateSocialPostRequestInterface, UpdateSocialPostResponseInterface, } from './api-v2.interface';
|
|
@@ -3,6 +3,26 @@ import { Media } from './linkedin-v2';
|
|
|
3
3
|
import { MetadataV2, SocialPostV2 } from './social-post-v2';
|
|
4
4
|
import * as e from '../enums';
|
|
5
5
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
6
|
+
export declare class AiInstructions implements i.AiInstructionsInterface {
|
|
7
|
+
commonAiInstructions: string;
|
|
8
|
+
static fromProto(proto: any): AiInstructions;
|
|
9
|
+
constructor(kwargs?: i.AiInstructionsInterface);
|
|
10
|
+
toApiJson(): object;
|
|
11
|
+
}
|
|
12
|
+
export declare class CreateCommonAiInstructionsRequest implements i.CreateCommonAiInstructionsRequestInterface {
|
|
13
|
+
businessId: string;
|
|
14
|
+
partnerId: string;
|
|
15
|
+
aiInstructions: AiInstructions;
|
|
16
|
+
static fromProto(proto: any): CreateCommonAiInstructionsRequest;
|
|
17
|
+
constructor(kwargs?: i.CreateCommonAiInstructionsRequestInterface);
|
|
18
|
+
toApiJson(): object;
|
|
19
|
+
}
|
|
20
|
+
export declare class CreateCommonAiInstructionsResponse implements i.CreateCommonAiInstructionsResponseInterface {
|
|
21
|
+
aiInstructions: AiInstructions;
|
|
22
|
+
static fromProto(proto: any): CreateCommonAiInstructionsResponse;
|
|
23
|
+
constructor(kwargs?: i.CreateCommonAiInstructionsResponseInterface);
|
|
24
|
+
toApiJson(): object;
|
|
25
|
+
}
|
|
6
26
|
export declare class CreateImageRequest implements i.CreateImageRequestInterface {
|
|
7
27
|
businessId: string;
|
|
8
28
|
prompt: string;
|
|
@@ -31,6 +51,35 @@ export declare class DeletePostRequest implements i.DeletePostRequestInterface {
|
|
|
31
51
|
constructor(kwargs?: i.DeletePostRequestInterface);
|
|
32
52
|
toApiJson(): object;
|
|
33
53
|
}
|
|
54
|
+
export declare class GeneratePostsRequest implements i.GeneratePostsRequestInterface {
|
|
55
|
+
numberOfPosts: number;
|
|
56
|
+
topic: string;
|
|
57
|
+
commonInstructions: string;
|
|
58
|
+
tone: string;
|
|
59
|
+
postLength: number;
|
|
60
|
+
static fromProto(proto: any): GeneratePostsRequest;
|
|
61
|
+
constructor(kwargs?: i.GeneratePostsRequestInterface);
|
|
62
|
+
toApiJson(): object;
|
|
63
|
+
}
|
|
64
|
+
export declare class GeneratePostsResponse implements i.GeneratePostsResponseInterface {
|
|
65
|
+
posts: GeneratePostsResponsePost[];
|
|
66
|
+
static fromProto(proto: any): GeneratePostsResponse;
|
|
67
|
+
constructor(kwargs?: i.GeneratePostsResponseInterface);
|
|
68
|
+
toApiJson(): object;
|
|
69
|
+
}
|
|
70
|
+
export declare class GetCommonAiInstructionsRequest implements i.GetCommonAiInstructionsRequestInterface {
|
|
71
|
+
businessId: string;
|
|
72
|
+
partnerId: string;
|
|
73
|
+
static fromProto(proto: any): GetCommonAiInstructionsRequest;
|
|
74
|
+
constructor(kwargs?: i.GetCommonAiInstructionsRequestInterface);
|
|
75
|
+
toApiJson(): object;
|
|
76
|
+
}
|
|
77
|
+
export declare class GetCommonAiInstructionsResponse implements i.GetCommonAiInstructionsResponseInterface {
|
|
78
|
+
aiInstructions: AiInstructions;
|
|
79
|
+
static fromProto(proto: any): GetCommonAiInstructionsResponse;
|
|
80
|
+
constructor(kwargs?: i.GetCommonAiInstructionsResponseInterface);
|
|
81
|
+
toApiJson(): object;
|
|
82
|
+
}
|
|
34
83
|
export declare class ImageBlob implements i.ImageBlobInterface {
|
|
35
84
|
blob: string;
|
|
36
85
|
static fromProto(proto: any): ImageBlob;
|
|
@@ -65,6 +114,12 @@ export declare class MediaUploadResponse implements i.MediaUploadResponseInterfa
|
|
|
65
114
|
constructor(kwargs?: i.MediaUploadResponseInterface);
|
|
66
115
|
toApiJson(): object;
|
|
67
116
|
}
|
|
117
|
+
export declare class GeneratePostsResponsePost implements i.GeneratePostsResponsePostInterface {
|
|
118
|
+
text: string;
|
|
119
|
+
static fromProto(proto: any): GeneratePostsResponsePost;
|
|
120
|
+
constructor(kwargs?: i.GeneratePostsResponsePostInterface);
|
|
121
|
+
toApiJson(): object;
|
|
122
|
+
}
|
|
68
123
|
export declare class RepostSocialPostRequest implements i.RepostSocialPostRequestInterface {
|
|
69
124
|
socialPostId: string;
|
|
70
125
|
accountGroupId: string;
|
|
@@ -94,6 +149,20 @@ export declare class SocialPostResponse implements i.SocialPostResponseInterface
|
|
|
94
149
|
constructor(kwargs?: i.SocialPostResponseInterface);
|
|
95
150
|
toApiJson(): object;
|
|
96
151
|
}
|
|
152
|
+
export declare class UpdateCommonAiInstructionsRequest implements i.UpdateCommonAiInstructionsRequestInterface {
|
|
153
|
+
businessId: string;
|
|
154
|
+
partnerId: string;
|
|
155
|
+
aiInstructions: AiInstructions;
|
|
156
|
+
static fromProto(proto: any): UpdateCommonAiInstructionsRequest;
|
|
157
|
+
constructor(kwargs?: i.UpdateCommonAiInstructionsRequestInterface);
|
|
158
|
+
toApiJson(): object;
|
|
159
|
+
}
|
|
160
|
+
export declare class UpdateCommonAiInstructionsResponse implements i.UpdateCommonAiInstructionsResponseInterface {
|
|
161
|
+
aiInstructions: AiInstructions;
|
|
162
|
+
static fromProto(proto: any): UpdateCommonAiInstructionsResponse;
|
|
163
|
+
constructor(kwargs?: i.UpdateCommonAiInstructionsResponseInterface);
|
|
164
|
+
toApiJson(): object;
|
|
165
|
+
}
|
|
97
166
|
export declare class UpdateSocialPostRequest implements i.UpdateSocialPostRequestInterface {
|
|
98
167
|
socialPost: SocialPostV2;
|
|
99
168
|
isError: boolean;
|
|
@@ -8,4 +8,4 @@ export { TenorGifMediaMapEntry, TenorGif, TenorMediaObject, } from './tenor-gif'
|
|
|
8
8
|
export { CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, DateRangeFilter, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, PartnerListScheduledSocialPostsRequestFilters, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PostData, RemoveFromMultilocationPostRequest, ReplaceHashtagsRequest, SchedulePostRequest, SchedulePostResponse, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SearchHashtagRequest, SearchHashtagResponse, SuggestMessageRequest, SuggestMessageResponse, UpdatePostTemplateRequest, } from './api';
|
|
9
9
|
export { LinkV2, MetadataV2, PostActionV2, PostContentV2, PostCustomizationV2, PostEventV2, PostMediaV2, SocialPostV2, YoutubeCustomizationV2, } from './social-post-v2';
|
|
10
10
|
export { Media, } from './linkedin-v2';
|
|
11
|
-
export { CreateImageRequest, CreateImageResponse, DeletePostRequest, ImageBlob, ImageCreated, ImageUrl, MediaUploadRequest, MediaUploadResponse, RepostSocialPostRequest, SocialPostOutput, SocialPostRequest, SocialPostResponse, UpdateSocialPostRequest, UpdateSocialPostResponse, } from './api-v2';
|
|
11
|
+
export { AiInstructions, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateImageRequest, CreateImageResponse, DeletePostRequest, GeneratePostsRequest, GeneratePostsResponse, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, ImageBlob, ImageCreated, ImageUrl, MediaUploadRequest, MediaUploadResponse, GeneratePostsResponsePost, RepostSocialPostRequest, SocialPostOutput, SocialPostRequest, SocialPostResponse, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse, UpdateSocialPostRequest, UpdateSocialPostResponse, } from './api-v2';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { GetCommonAiInstructionsResponse, CreateCommonAiInstructionsResponse, UpdateCommonAiInstructionsResponse } from './_internal/objects';
|
|
3
|
+
import { CommonAiInstructionsApiService } from './_internal/common-ai-instructions.api.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AiInstructionService {
|
|
6
|
+
private instructionsService;
|
|
7
|
+
constructor(instructionsService: CommonAiInstructionsApiService);
|
|
8
|
+
getAiInstructions(businessId: string, partnerId: string): Observable<GetCommonAiInstructionsResponse>;
|
|
9
|
+
createAiInstructions(businessId: string, partnerId: string, instructions: string): Observable<CreateCommonAiInstructionsResponse>;
|
|
10
|
+
updateAiInstructions(businessId: string, partnerId: string, instructions: string): Observable<UpdateCommonAiInstructionsResponse>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AiInstructionService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AiInstructionService>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { ContentGenerationApiService, GeneratePostsRequest, GeneratePostsRequestInterface, GeneratePostsResponse } from './_internal';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ContentGenerationService {
|
|
5
|
+
private contentGenerationApiService;
|
|
6
|
+
constructor(contentGenerationApiService: ContentGenerationApiService);
|
|
7
|
+
generatePosts(r: GeneratePostsRequest | GeneratePostsRequestInterface): Observable<GeneratePostsResponse>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContentGenerationService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ContentGenerationService>;
|
|
10
|
+
}
|
package/lib/index.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ export { TenorGifsService } from './tenor-gifs.service';
|
|
|
5
5
|
export { PixabayImageService } from './pixabay-image.service';
|
|
6
6
|
export { HashTagsService } from './hashtag.service';
|
|
7
7
|
export { PostPerformanceService } from './post-performance.service';
|
|
8
|
+
export { AiInstructionService } from './ai-instructions.service';
|
|
9
|
+
export { ContentGenerationService } from './content-generation.service';
|
|
8
10
|
export { FieldMask, Location, MultilocationPost, PostingStatus, RemoveReason, MultilocationPostApiService, GetMultilocationPostRequest, DeleteMultilocationPostRequest, ListMultilocationPostsForBrandRequest, PostPerformanceApiService, MessageLength, TemplateType, MediaEntry, MetaData, PostCustomization, } from './_internal';
|
|
9
11
|
export * from './_internal/interfaces';
|
|
10
12
|
export * from './_internal/enums';
|