@vendasta/social-posts 5.4.0 → 5.5.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/enums/index.mjs +2 -2
- package/esm2020/lib/_internal/enums/social-posts.enum.mjs +6 -1
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.mjs +7 -1
- package/esm2020/lib/index.mjs +2 -2
- package/esm2020/lib/social-posts.service.mjs +3 -3
- package/fesm2015/vendasta-social-posts.mjs +14 -3
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +14 -3
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/lib/_internal/enums/index.d.ts +1 -1
- package/lib/_internal/enums/social-posts.enum.d.ts +4 -0
- package/lib/_internal/interfaces/api.interface.d.ts +1 -0
- package/lib/_internal/objects/api.d.ts +1 -0
- package/lib/index.d.ts +1 -1
- package/lib/social-posts.service.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { CallToActionCallToActionType, SocialPostDeletionStatus, PostingStatus, SocialPostService, } from './social-posts.enum';
|
|
1
|
+
export { CallToActionCallToActionType, SocialPostDeletionStatus, PostLength, PostingStatus, SocialPostService, } from './social-posts.enum';
|
|
2
2
|
export { RemoveReason, } from './multilocation-post.enum';
|
|
@@ -262,6 +262,7 @@ export interface SearchHashtagResponseInterface {
|
|
|
262
262
|
export interface SuggestMessageRequestInterface {
|
|
263
263
|
prompt?: string;
|
|
264
264
|
businessId?: string;
|
|
265
|
+
length?: e.PostLength;
|
|
265
266
|
}
|
|
266
267
|
export interface SuggestMessageResponseInterface {
|
|
267
268
|
message?: string;
|
|
@@ -411,6 +411,7 @@ export declare class SearchHashtagResponse implements i.SearchHashtagResponseInt
|
|
|
411
411
|
export declare class SuggestMessageRequest implements i.SuggestMessageRequestInterface {
|
|
412
412
|
prompt: string;
|
|
413
413
|
businessId: string;
|
|
414
|
+
length: e.PostLength;
|
|
414
415
|
static fromProto(proto: any): SuggestMessageRequest;
|
|
415
416
|
constructor(kwargs?: i.SuggestMessageRequestInterface);
|
|
416
417
|
toApiJson(): object;
|
package/lib/index.d.ts
CHANGED
|
@@ -5,4 +5,4 @@ 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 { FieldMask, Location, MultilocationPost, PostingStatus, RemoveReason, MultilocationPostApiService, GetMultilocationPostRequest, DeleteMultilocationPostRequest, ListMultilocationPostsForBrandRequest, PostPerformanceApiService, } from './_internal';
|
|
8
|
+
export { FieldMask, Location, MultilocationPost, PostingStatus, RemoveReason, MultilocationPostApiService, GetMultilocationPostRequest, DeleteMultilocationPostRequest, ListMultilocationPostsForBrandRequest, PostPerformanceApiService, PostLength, } from './_internal';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { ListSocialPostsResponse, GetMultiSocialPostsResponse, GetScheduledPostCountResponse, SuggestMessageResponse } from './_internal/objects/api';
|
|
3
3
|
import { SocialPostsApiService } from './_internal/social-posts.api.service';
|
|
4
|
+
import { PostLength } from "./_internal";
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class SocialPostsService {
|
|
6
7
|
private socialPostsApiService;
|
|
@@ -8,7 +9,7 @@ export declare class SocialPostsService {
|
|
|
8
9
|
list(start: Date, end: Date, socialServiceIds: string[], businessId: string, partnerId: string, cursor: string, tags: string[], pageSize: number): Observable<ListSocialPostsResponse>;
|
|
9
10
|
getMultiSocialPosts(businessId: string, internalPostIds: string[]): Observable<GetMultiSocialPostsResponse>;
|
|
10
11
|
getScheduledPostCount(partnerId: string, businessId: string, socialServiceIds: string[]): Observable<GetScheduledPostCountResponse>;
|
|
11
|
-
suggestMessage(businessId: string, prompt: string): Observable<SuggestMessageResponse>;
|
|
12
|
+
suggestMessage(businessId: string, prompt: string, postLength: PostLength): Observable<SuggestMessageResponse>;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<SocialPostsService, never>;
|
|
13
14
|
static ɵprov: i0.ɵɵInjectableDeclaration<SocialPostsService>;
|
|
14
15
|
}
|