@vendasta/social-posts 5.9.3 → 5.9.4
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/social-post-v2.service.mjs +4 -1
- package/fesm2015/vendasta-social-posts.mjs +3 -0
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +3 -0
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/lib/social-post-v2.service.d.ts +2 -1
- package/package.json +1 -1
|
@@ -4024,6 +4024,9 @@ class SocialPostsV2Service {
|
|
|
4024
4024
|
constructor(socialpostV2ApiService) {
|
|
4025
4025
|
this.socialpostV2ApiService = socialpostV2ApiService;
|
|
4026
4026
|
}
|
|
4027
|
+
scheduleSocialPostV2(socialPost) {
|
|
4028
|
+
return this.socialpostV2ApiService.scheduleSocialPosts(socialPost);
|
|
4029
|
+
}
|
|
4027
4030
|
createImage(businessId, prompt, imageAmount = 3, size = '1024x1024') {
|
|
4028
4031
|
const req = new CreateImageRequest({ businessId: businessId, prompt: prompt, imageAmount: imageAmount, size: size, responseFormat: 'url' });
|
|
4029
4032
|
return this.socialpostV2ApiService.createImages(req);
|