@vendasta/social-posts 5.43.0 → 5.43.2
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/api-v2.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/objects/api-v2.mjs +36 -1
- package/esm2020/lib/_internal/objects/index.mjs +4 -4
- package/esm2020/lib/multilocation-posts.service.mjs +4 -3
- package/fesm2015/vendasta-social-posts.mjs +39 -3
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +39 -3
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/lib/_internal/interfaces/api-v2.interface.d.ts +7 -0
- package/lib/_internal/interfaces/index.d.ts +3 -3
- package/lib/_internal/objects/api-v2.d.ts +10 -0
- package/lib/_internal/objects/index.d.ts +3 -3
- package/lib/multilocation-posts.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -5202,6 +5202,35 @@ class ImageCreated {
|
|
|
5202
5202
|
return toReturn;
|
|
5203
5203
|
}
|
|
5204
5204
|
}
|
|
5205
|
+
class GeneratePostsResponseImageResponse {
|
|
5206
|
+
static fromProto(proto) {
|
|
5207
|
+
let m = new GeneratePostsResponseImageResponse();
|
|
5208
|
+
m = Object.assign(m, proto);
|
|
5209
|
+
return m;
|
|
5210
|
+
}
|
|
5211
|
+
constructor(kwargs) {
|
|
5212
|
+
if (!kwargs) {
|
|
5213
|
+
return;
|
|
5214
|
+
}
|
|
5215
|
+
Object.assign(this, kwargs);
|
|
5216
|
+
}
|
|
5217
|
+
toApiJson() {
|
|
5218
|
+
const toReturn = {};
|
|
5219
|
+
if (typeof this.type !== 'undefined') {
|
|
5220
|
+
toReturn['type'] = this.type;
|
|
5221
|
+
}
|
|
5222
|
+
if (typeof this.webFormatUrl !== 'undefined') {
|
|
5223
|
+
toReturn['webFormatUrl'] = this.webFormatUrl;
|
|
5224
|
+
}
|
|
5225
|
+
if (typeof this.fullHdUrl !== 'undefined') {
|
|
5226
|
+
toReturn['fullHdUrl'] = this.fullHdUrl;
|
|
5227
|
+
}
|
|
5228
|
+
if (typeof this.storageUrl !== 'undefined') {
|
|
5229
|
+
toReturn['storageUrl'] = this.storageUrl;
|
|
5230
|
+
}
|
|
5231
|
+
return toReturn;
|
|
5232
|
+
}
|
|
5233
|
+
}
|
|
5205
5234
|
class ImageResponse {
|
|
5206
5235
|
static fromProto(proto) {
|
|
5207
5236
|
let m = new ImageResponse();
|
|
@@ -5525,6 +5554,9 @@ class GeneratePostsResponsePost {
|
|
|
5525
5554
|
static fromProto(proto) {
|
|
5526
5555
|
let m = new GeneratePostsResponsePost();
|
|
5527
5556
|
m = Object.assign(m, proto);
|
|
5557
|
+
if (proto.imageResponse) {
|
|
5558
|
+
m.imageResponse = GeneratePostsResponseImageResponse.fromProto(proto.imageResponse);
|
|
5559
|
+
}
|
|
5528
5560
|
return m;
|
|
5529
5561
|
}
|
|
5530
5562
|
constructor(kwargs) {
|
|
@@ -5538,6 +5570,9 @@ class GeneratePostsResponsePost {
|
|
|
5538
5570
|
if (typeof this.text !== 'undefined') {
|
|
5539
5571
|
toReturn['text'] = this.text;
|
|
5540
5572
|
}
|
|
5573
|
+
if (typeof this.imageResponse !== 'undefined' && this.imageResponse !== null) {
|
|
5574
|
+
toReturn['imageResponse'] = 'toApiJson' in this.imageResponse ? this.imageResponse.toApiJson() : this.imageResponse;
|
|
5575
|
+
}
|
|
5541
5576
|
return toReturn;
|
|
5542
5577
|
}
|
|
5543
5578
|
}
|
|
@@ -8489,7 +8524,7 @@ class MultilocationPostsService {
|
|
|
8489
8524
|
});
|
|
8490
8525
|
return this.multilocationApiService.createMultilocationPost(req);
|
|
8491
8526
|
}
|
|
8492
|
-
editMultilocationPost(brandId, multilocationId, text, media, gifs, videos, scheduledDate, locations, fieldMask, mediaEntries, postCustomization, linkShortCode, metadata, postTypes) {
|
|
8527
|
+
editMultilocationPost(brandId, multilocationId, text, media, gifs, videos, scheduledDate, locations, fieldMask, mediaEntries, postCustomization, linkShortCode, metadata, postTypes, postCategory) {
|
|
8493
8528
|
const req = new EditMultilocationPostRequest({
|
|
8494
8529
|
brandId: brandId,
|
|
8495
8530
|
multilocationId: multilocationId,
|
|
@@ -8504,7 +8539,8 @@ class MultilocationPostsService {
|
|
|
8504
8539
|
customization: postCustomization,
|
|
8505
8540
|
linkShortCode: linkShortCode,
|
|
8506
8541
|
metaData: metadata,
|
|
8507
|
-
postTypes: postTypes
|
|
8542
|
+
postTypes: postTypes,
|
|
8543
|
+
postCategory: postCategory
|
|
8508
8544
|
});
|
|
8509
8545
|
return this.multilocationApiService.editMultilocationPost(req);
|
|
8510
8546
|
}
|
|
@@ -8943,5 +8979,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
8943
8979
|
* Generated bundle index. Do not edit.
|
|
8944
8980
|
*/
|
|
8945
8981
|
|
|
8946
|
-
export { Access, Action, ActionType, AiInstructionService, AiInstructions, Ancestry, Author, AuthorsRequest, AuthorsResponse, BlogConnection, BlogConnectionService, BlogImage, BlogPost, BlogPostCampaign, BlogPostCustomization, BlogPostsService, BlogVideo, BulkCreateMultilocationPostRequest, BulkCreateMultilocationPostResponse, BulkPostStatus, BulkUploadMultilocation, CallToAction, CallToActionCallToActionType, Campaign, CampaignService, Category, CategoryRequest, CategoryResponse, ChatBotService, ChatBotV2Service, ChatMessage, Collection, ContentGenerationService, ContentLength, CreateBlogConnectionRequest, CreateBlogConnectionResponse, CreateCampaignRequest, CreateCampaignResponse, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateImageRequest, CreateImageResponse, CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, CuratedContentPost, DateRangeFilter, DeleteBlogConnectionRequest, DeleteBlogPostRequest, DeleteCampaignRequest, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, EndChatRequest, Error, Event, FacebookPostStats, FetchLibraryImagesRequest, FetchLibraryImagesResponse, FieldMask, GenerateAiRequest, GenerateAiResponse, GenerateBlogPostCampaignRequest, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GenerateContentMetaDataRequest, GenerateContentMetaDataResponse, GeneratePostCampaignRequest, GeneratePostCampaignResponse, GeneratePostsRequest, GeneratePostsResponse, GeneratePostsResponsePost, GenerateType, GetBlogConnectionRequest, GetBlogConnectionResponse, GetCampaignRequest, GetCampaignResponse, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiBlogPostsRequest, GetMultiBlogPostsResponse, GetMultiCampaignsRequest, GetMultiCampaignsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, HashTagsService, Hashtag, Image, ImageBlob, ImageCreated, ImageResponse, ImageUrl, KeywordGeneration, KeywordList, LinkV2, Links, ListBlogConnectionRequest, ListBlogConnectionResponse, ListCuratedContentRequest, ListCuratedContentResponse, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, ListUnsplashImagesRequest, ListUnsplashImagesResponse, Location, MCPOptions, MLPostCategory, MLPostState, Media, MediaEntry, MediaProperty, MediaType, MediaUploadRequest, MediaUploadResponse, MessageLength, MetaData, MetadataV2, MultiResponse, MultilocationPost, MultilocationPostApiService, MultilocationPostError, MultilocationPostsService, MultilocationServices, Network, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PartnerListScheduledSocialPostsRequestFilters, Photo, PixabayImage, PixabayImageService, Post, PostAction, PostActionV2, PostCategory, PostContent, PostContentV2, PostCustomization, PostCustomizationV2, PostData, PostEvent, PostEventV2, PostMediaV2, PostPerformanceApiService, PostPerformanceService, PostStatusV2, PostTemplate, PostTemplatesService, PostType, PostTypeV2, PostingStatus, PostsGeneration, PublishPostRequest, PublishPostResponse, RemoveFromMultilocationPostRequest, RemoveReason, ReplaceHashtagsRequest, RepostBlogPostRequest, RepostSocialPostRequest, Response, Role, SSIDPostType, SchedulePostRequest, SchedulePostResponse, SchedulePostStatus, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SearchHashtagRequest, SearchHashtagResponse, SendMessageRequest, SendMessageResponse, SendMessageV2Request, SendMessageV2Response, Social, SocialCampaign, SocialPost, SocialPostData, SocialPostDeletionStatus, SocialPostOutput, SocialPostRequest, SocialPostResponse, SocialPostService, SocialPostStats, SocialPostV2, SocialPostsService, SocialPostsV2Service, Source, StartChatRequest, StartChatResponse, StatusRequest, StatusResponse, SubAncestry, SuggestMessageRequest, SuggestMessageResponse, Tags, TemplateType, TenorGif, TenorGifMediaMapEntry, TenorGifsService, TenorMediaObject, TikTokCustomization, TikTokCustomizationV2, TitleGeneration, Tone, TwitterPostStats, UnsplashImageService, UpdateBlogConnectionRequest, UpdateBlogPostRequest, UpdateCampaignIdRequest, UpdateCampaignRequest, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse, UpdatePostTemplateRequest, UpdateSocialPostRequest, UpdateSocialPostResponse, UploadToStorageRequest, UploadToStorageResponse, UploadedMedia, Urls, User, UserLink, WordpressPluginService, YoutubeCustomization, YoutubeCustomizationPrivacyStatus, YoutubeCustomizationV2, YoutubeCustomizationV2PrivacyStatusV2 };
|
|
8982
|
+
export { Access, Action, ActionType, AiInstructionService, AiInstructions, Ancestry, Author$1 as Author, AuthorsRequest, AuthorsResponse, BlogConnection, BlogConnectionService, BlogImage, BlogPost, BlogPostCampaign, BlogPostCustomization, BlogPostsService, BlogVideo, BulkCreateMultilocationPostRequest, BulkCreateMultilocationPostResponse, BulkPostStatus, BulkUploadMultilocation, CallToAction, CallToActionCallToActionType, Campaign, CampaignService, Category$1 as Category, CategoryRequest, CategoryResponse, ChatBotService, ChatBotV2Service, ChatMessage, Collection, ContentGenerationService, ContentLength, CreateBlogConnectionRequest, CreateBlogConnectionResponse, CreateCampaignRequest, CreateCampaignResponse, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateImageRequest, CreateImageResponse, CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, CuratedContentPost, DateRangeFilter, DeleteBlogConnectionRequest, DeleteBlogPostRequest, DeleteCampaignRequest, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, EndChatRequest, Error, Event, FacebookPostStats, FetchLibraryImagesRequest, FetchLibraryImagesResponse, FieldMask, GenerateAiRequest, GenerateAiResponse, GenerateBlogPostCampaignRequest, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GenerateContentMetaDataRequest, GenerateContentMetaDataResponse, GeneratePostCampaignRequest, GeneratePostCampaignResponse, GeneratePostsRequest, GeneratePostsResponse, GeneratePostsResponseImageResponse, GeneratePostsResponsePost, GenerateType, GetBlogConnectionRequest, GetBlogConnectionResponse, GetCampaignRequest, GetCampaignResponse, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiBlogPostsRequest, GetMultiBlogPostsResponse, GetMultiCampaignsRequest, GetMultiCampaignsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, HashTagsService, Hashtag, Image, ImageBlob, ImageCreated, ImageResponse, ImageUrl, KeywordGeneration, KeywordList, LinkV2, Links, ListBlogConnectionRequest, ListBlogConnectionResponse, ListCuratedContentRequest, ListCuratedContentResponse, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, ListUnsplashImagesRequest, ListUnsplashImagesResponse, Location, MCPOptions, MLPostCategory, MLPostState, Media, MediaEntry, MediaProperty, MediaType, MediaUploadRequest, MediaUploadResponse, MessageLength, MetaData, MetadataV2, MultiResponse, MultilocationPost, MultilocationPostApiService, MultilocationPostError, MultilocationPostsService, MultilocationServices, Network, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PartnerListScheduledSocialPostsRequestFilters, Photo, PixabayImage, PixabayImageService, Post, PostAction, PostActionV2, PostCategory, PostContent, PostContentV2, PostCustomization, PostCustomizationV2, PostData, PostEvent, PostEventV2, PostMediaV2, PostPerformanceApiService, PostPerformanceService, PostStatusV2, PostTemplate, PostTemplatesService, PostType, PostTypeV2, PostingStatus, PostsGeneration, PublishPostRequest, PublishPostResponse, RemoveFromMultilocationPostRequest, RemoveReason, ReplaceHashtagsRequest, RepostBlogPostRequest, RepostSocialPostRequest, Response, Role, SSIDPostType, SchedulePostRequest, SchedulePostResponse, SchedulePostStatus, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SearchHashtagRequest, SearchHashtagResponse, SendMessageRequest, SendMessageResponse, SendMessageV2Request, SendMessageV2Response, Social, SocialCampaign, SocialPost, SocialPostData, SocialPostDeletionStatus, SocialPostOutput, SocialPostRequest, SocialPostResponse, SocialPostService, SocialPostStats, SocialPostV2, SocialPostsService, SocialPostsV2Service, Source, StartChatRequest, StartChatResponse, StatusRequest, StatusResponse, SubAncestry, SuggestMessageRequest, SuggestMessageResponse, Tags, TemplateType, TenorGif, TenorGifMediaMapEntry, TenorGifsService, TenorMediaObject, TikTokCustomization, TikTokCustomizationV2, TitleGeneration, Tone, TwitterPostStats, UnsplashImageService, UpdateBlogConnectionRequest, UpdateBlogPostRequest, UpdateCampaignIdRequest, UpdateCampaignRequest, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse, UpdatePostTemplateRequest, UpdateSocialPostRequest, UpdateSocialPostResponse, UploadToStorageRequest, UploadToStorageResponse, UploadedMedia, Urls, User, UserLink, WordpressPluginService, YoutubeCustomization, YoutubeCustomizationPrivacyStatus, YoutubeCustomizationV2, YoutubeCustomizationV2PrivacyStatusV2 };
|
|
8947
8983
|
//# sourceMappingURL=vendasta-social-posts.mjs.map
|