@vendasta/social-posts 5.19.5 → 5.20.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/social-posts.enum.mjs +2 -1
- 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/objects/index.mjs +2 -2
- package/esm2020/lib/_internal/objects/social-post-v2.mjs +39 -1
- package/fesm2015/vendasta-social-posts.mjs +40 -1
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +40 -1
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/lib/_internal/enums/social-posts.enum.d.ts +2 -1
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/interfaces/social-post-v2.interface.d.ts +8 -0
- package/lib/_internal/objects/index.d.ts +1 -1
- package/lib/_internal/objects/social-post-v2.d.ts +11 -0
- package/package.json +1 -1
|
@@ -133,6 +133,7 @@ var SocialPostService;
|
|
|
133
133
|
SocialPostService[SocialPostService["INSTAGRAM"] = 6] = "INSTAGRAM";
|
|
134
134
|
SocialPostService[SocialPostService["CURATED_CONTENT"] = 7] = "CURATED_CONTENT";
|
|
135
135
|
SocialPostService[SocialPostService["YOUTUBE"] = 8] = "YOUTUBE";
|
|
136
|
+
SocialPostService[SocialPostService["TIKTOK"] = 9] = "TIKTOK";
|
|
136
137
|
})(SocialPostService || (SocialPostService = {}));
|
|
137
138
|
var TemplateType;
|
|
138
139
|
(function (TemplateType) {
|
|
@@ -3267,6 +3268,9 @@ class SocialPostV2 {
|
|
|
3267
3268
|
if (proto.youtubeCustomization) {
|
|
3268
3269
|
m.youtubeCustomization = YoutubeCustomizationV2.fromProto(proto.youtubeCustomization);
|
|
3269
3270
|
}
|
|
3271
|
+
if (proto.tilktokCustomization) {
|
|
3272
|
+
m.tilktokCustomization = TikTokCustomizationV2.fromProto(proto.tilktokCustomization);
|
|
3273
|
+
}
|
|
3270
3274
|
return m;
|
|
3271
3275
|
}
|
|
3272
3276
|
constructor(kwargs) {
|
|
@@ -3313,6 +3317,41 @@ class SocialPostV2 {
|
|
|
3313
3317
|
if (typeof this.youtubeCustomization !== 'undefined' && this.youtubeCustomization !== null) {
|
|
3314
3318
|
toReturn['youtubeCustomization'] = 'toApiJson' in this.youtubeCustomization ? this.youtubeCustomization.toApiJson() : this.youtubeCustomization;
|
|
3315
3319
|
}
|
|
3320
|
+
if (typeof this.userId !== 'undefined') {
|
|
3321
|
+
toReturn['userId'] = this.userId;
|
|
3322
|
+
}
|
|
3323
|
+
if (typeof this.shareId !== 'undefined') {
|
|
3324
|
+
toReturn['shareId'] = this.shareId;
|
|
3325
|
+
}
|
|
3326
|
+
if (typeof this.tilktokCustomization !== 'undefined' && this.tilktokCustomization !== null) {
|
|
3327
|
+
toReturn['tilktokCustomization'] = 'toApiJson' in this.tilktokCustomization ? this.tilktokCustomization.toApiJson() : this.tilktokCustomization;
|
|
3328
|
+
}
|
|
3329
|
+
return toReturn;
|
|
3330
|
+
}
|
|
3331
|
+
}
|
|
3332
|
+
class TikTokCustomizationV2 {
|
|
3333
|
+
static fromProto(proto) {
|
|
3334
|
+
let m = new TikTokCustomizationV2();
|
|
3335
|
+
m = Object.assign(m, proto);
|
|
3336
|
+
return m;
|
|
3337
|
+
}
|
|
3338
|
+
constructor(kwargs) {
|
|
3339
|
+
if (!kwargs) {
|
|
3340
|
+
return;
|
|
3341
|
+
}
|
|
3342
|
+
Object.assign(this, kwargs);
|
|
3343
|
+
}
|
|
3344
|
+
toApiJson() {
|
|
3345
|
+
const toReturn = {};
|
|
3346
|
+
if (typeof this.allowComment !== 'undefined') {
|
|
3347
|
+
toReturn['allowComment'] = this.allowComment;
|
|
3348
|
+
}
|
|
3349
|
+
if (typeof this.allowDuet !== 'undefined') {
|
|
3350
|
+
toReturn['allowDuet'] = this.allowDuet;
|
|
3351
|
+
}
|
|
3352
|
+
if (typeof this.allowStitch !== 'undefined') {
|
|
3353
|
+
toReturn['allowStitch'] = this.allowStitch;
|
|
3354
|
+
}
|
|
3316
3355
|
return toReturn;
|
|
3317
3356
|
}
|
|
3318
3357
|
}
|
|
@@ -5737,5 +5776,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5737
5776
|
* Generated bundle index. Do not edit.
|
|
5738
5777
|
*/
|
|
5739
5778
|
|
|
5740
|
-
export { AiInstructionService, AiInstructions, Ancestry, CallToAction, CallToActionCallToActionType, Collection, ContentGenerationService, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateImageRequest, CreateImageResponse, CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, DateRangeFilter, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, Error, Event, FacebookPostStats, FieldMask, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GeneratePostsRequest, GeneratePostsResponse, GeneratePostsResponsePost, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, HashTagsService, Hashtag, Image, ImageBlob, ImageCreated, ImageUrl, LinkV2, Links, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, ListUnsplashImagesRequest, ListUnsplashImagesResponse, Location, Media, MediaEntry, MediaType, MediaUploadRequest, MediaUploadResponse, MessageLength, MetaData, MetadataV2, MultilocationPost, MultilocationPostApiService, MultilocationPostError, MultilocationPostsService, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PartnerListScheduledSocialPostsRequestFilters, Photo, PixabayImage, PixabayImageService, PostAction, PostActionV2, PostContentV2, PostCustomization, PostCustomizationV2, PostData, PostEvent, PostEventV2, PostMediaV2, PostPerformanceApiService, PostPerformanceService, PostStatusV2, PostTemplate, PostTemplatesService, PostType, PostTypeV2, PostingStatus, RemoveFromMultilocationPostRequest, RemoveReason, ReplaceHashtagsRequest, RepostSocialPostRequest, SSIDPostType, SchedulePostRequest, SchedulePostResponse, SchedulePostStatus, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SearchHashtagRequest, SearchHashtagResponse, Social, SocialPost, SocialPostData, SocialPostDeletionStatus, SocialPostOutput, SocialPostRequest, SocialPostResponse, SocialPostService, SocialPostStats, SocialPostV2, SocialPostsService, SocialPostsV2Service, Source, SubAncestry, SuggestMessageRequest, SuggestMessageResponse, Tags, TemplateType, TenorGif, TenorGifMediaMapEntry, TenorGifsService, TenorMediaObject, TwitterPostStats, UnsplashImageService, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse, UpdatePostTemplateRequest, UpdateSocialPostRequest, UpdateSocialPostResponse, UploadToStorageRequest, UploadToStorageResponse, Urls, User, UserLink, YoutubeCustomization, YoutubeCustomizationPrivacyStatus, YoutubeCustomizationV2, YoutubeCustomizationV2PrivacyStatusV2 };
|
|
5779
|
+
export { AiInstructionService, AiInstructions, Ancestry, CallToAction, CallToActionCallToActionType, Collection, ContentGenerationService, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateImageRequest, CreateImageResponse, CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, DateRangeFilter, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, Error, Event, FacebookPostStats, FieldMask, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GeneratePostsRequest, GeneratePostsResponse, GeneratePostsResponsePost, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, HashTagsService, Hashtag, Image, ImageBlob, ImageCreated, ImageUrl, LinkV2, Links, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, ListUnsplashImagesRequest, ListUnsplashImagesResponse, Location, Media, MediaEntry, MediaType, MediaUploadRequest, MediaUploadResponse, MessageLength, MetaData, MetadataV2, MultilocationPost, MultilocationPostApiService, MultilocationPostError, MultilocationPostsService, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PartnerListScheduledSocialPostsRequestFilters, Photo, PixabayImage, PixabayImageService, PostAction, PostActionV2, PostContentV2, PostCustomization, PostCustomizationV2, PostData, PostEvent, PostEventV2, PostMediaV2, PostPerformanceApiService, PostPerformanceService, PostStatusV2, PostTemplate, PostTemplatesService, PostType, PostTypeV2, PostingStatus, RemoveFromMultilocationPostRequest, RemoveReason, ReplaceHashtagsRequest, RepostSocialPostRequest, SSIDPostType, SchedulePostRequest, SchedulePostResponse, SchedulePostStatus, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SearchHashtagRequest, SearchHashtagResponse, Social, SocialPost, SocialPostData, SocialPostDeletionStatus, SocialPostOutput, SocialPostRequest, SocialPostResponse, SocialPostService, SocialPostStats, SocialPostV2, SocialPostsService, SocialPostsV2Service, Source, SubAncestry, SuggestMessageRequest, SuggestMessageResponse, Tags, TemplateType, TenorGif, TenorGifMediaMapEntry, TenorGifsService, TenorMediaObject, TikTokCustomizationV2, TwitterPostStats, UnsplashImageService, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse, UpdatePostTemplateRequest, UpdateSocialPostRequest, UpdateSocialPostResponse, UploadToStorageRequest, UploadToStorageResponse, Urls, User, UserLink, YoutubeCustomization, YoutubeCustomizationPrivacyStatus, YoutubeCustomizationV2, YoutubeCustomizationV2PrivacyStatusV2 };
|
|
5741
5780
|
//# sourceMappingURL=vendasta-social-posts.mjs.map
|