@vendasta/social-posts 5.20.0 → 5.20.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.
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/social-post-v2.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/social-posts.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/esm2020/lib/_internal/objects/social-post-v2.mjs +5 -5
- package/esm2020/lib/_internal/objects/social-posts.mjs +39 -1
- package/fesm2015/vendasta-social-posts.mjs +43 -5
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +43 -5
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/interfaces/social-post-v2.interface.d.ts +1 -1
- package/lib/_internal/interfaces/social-posts.interface.d.ts +7 -0
- package/lib/_internal/objects/index.d.ts +1 -1
- package/lib/_internal/objects/social-post-v2.d.ts +1 -1
- package/lib/_internal/objects/social-posts.d.ts +10 -0
- package/package.json +1 -1
|
@@ -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, YoutubeCustomizationInterface, } from './social-posts.interface';
|
|
3
|
+
export { 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';
|
|
@@ -53,7 +53,7 @@ export interface SocialPostV2Interface {
|
|
|
53
53
|
youtubeCustomization?: YoutubeCustomizationV2Interface;
|
|
54
54
|
userId?: string;
|
|
55
55
|
shareId?: string;
|
|
56
|
-
|
|
56
|
+
tiktokCustomization?: TikTokCustomizationV2Interface;
|
|
57
57
|
}
|
|
58
58
|
export interface TikTokCustomizationV2Interface {
|
|
59
59
|
allowComment?: boolean;
|
|
@@ -42,6 +42,7 @@ export interface PostTemplateInterface {
|
|
|
42
42
|
metaData?: MetaDataInterface[];
|
|
43
43
|
postType?: e.PostType;
|
|
44
44
|
youtubeCustomization?: YoutubeCustomizationInterface;
|
|
45
|
+
tiktokCustomization?: TikTokCustomizationInterface;
|
|
45
46
|
}
|
|
46
47
|
export interface SSIDPostTypeInterface {
|
|
47
48
|
socialServiceId?: string;
|
|
@@ -85,12 +86,18 @@ export interface SocialPostInterface {
|
|
|
85
86
|
metaData?: MetaDataInterface[];
|
|
86
87
|
title?: string;
|
|
87
88
|
youtubeCustomization?: YoutubeCustomizationInterface;
|
|
89
|
+
tiktokCustomization?: TikTokCustomizationInterface;
|
|
88
90
|
}
|
|
89
91
|
export interface SocialPostDataInterface {
|
|
90
92
|
postText?: string;
|
|
91
93
|
imageUrl?: string;
|
|
92
94
|
scheduleFor?: Date;
|
|
93
95
|
}
|
|
96
|
+
export interface TikTokCustomizationInterface {
|
|
97
|
+
allowComment?: boolean;
|
|
98
|
+
allowDuet?: boolean;
|
|
99
|
+
allowStitch?: boolean;
|
|
100
|
+
}
|
|
94
101
|
export interface YoutubeCustomizationInterface {
|
|
95
102
|
title?: string;
|
|
96
103
|
privacyStatus?: e.YoutubeCustomizationPrivacyStatus;
|
|
@@ -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, YoutubeCustomization, } from './social-posts';
|
|
3
|
+
export { 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';
|
|
@@ -76,7 +76,7 @@ export declare class SocialPostV2 implements i.SocialPostV2Interface {
|
|
|
76
76
|
youtubeCustomization: YoutubeCustomizationV2;
|
|
77
77
|
userId: string;
|
|
78
78
|
shareId: string;
|
|
79
|
-
|
|
79
|
+
tiktokCustomization: TikTokCustomizationV2;
|
|
80
80
|
static fromProto(proto: any): SocialPostV2;
|
|
81
81
|
constructor(kwargs?: i.SocialPostV2Interface);
|
|
82
82
|
toApiJson(): object;
|
|
@@ -59,6 +59,7 @@ export declare class PostTemplate implements i.PostTemplateInterface {
|
|
|
59
59
|
metaData: MetaData[];
|
|
60
60
|
postType: e.PostType;
|
|
61
61
|
youtubeCustomization: YoutubeCustomization;
|
|
62
|
+
tiktokCustomization: TikTokCustomization;
|
|
62
63
|
static fromProto(proto: any): PostTemplate;
|
|
63
64
|
constructor(kwargs?: i.PostTemplateInterface);
|
|
64
65
|
toApiJson(): object;
|
|
@@ -111,6 +112,7 @@ export declare class SocialPost implements i.SocialPostInterface {
|
|
|
111
112
|
metaData: MetaData[];
|
|
112
113
|
title: string;
|
|
113
114
|
youtubeCustomization: YoutubeCustomization;
|
|
115
|
+
tiktokCustomization: TikTokCustomization;
|
|
114
116
|
static fromProto(proto: any): SocialPost;
|
|
115
117
|
constructor(kwargs?: i.SocialPostInterface);
|
|
116
118
|
toApiJson(): object;
|
|
@@ -123,6 +125,14 @@ export declare class SocialPostData implements i.SocialPostDataInterface {
|
|
|
123
125
|
constructor(kwargs?: i.SocialPostDataInterface);
|
|
124
126
|
toApiJson(): object;
|
|
125
127
|
}
|
|
128
|
+
export declare class TikTokCustomization implements i.TikTokCustomizationInterface {
|
|
129
|
+
allowComment: boolean;
|
|
130
|
+
allowDuet: boolean;
|
|
131
|
+
allowStitch: boolean;
|
|
132
|
+
static fromProto(proto: any): TikTokCustomization;
|
|
133
|
+
constructor(kwargs?: i.TikTokCustomizationInterface);
|
|
134
|
+
toApiJson(): object;
|
|
135
|
+
}
|
|
126
136
|
export declare class YoutubeCustomization implements i.YoutubeCustomizationInterface {
|
|
127
137
|
title: string;
|
|
128
138
|
privacyStatus: e.YoutubeCustomizationPrivacyStatus;
|