@vendasta/social-posts 5.41.0 → 5.42.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.
@@ -985,6 +985,9 @@ class BulkUploadMultilocation {
985
985
  if (proto.postTypes) {
986
986
  m.postTypes = proto.postTypes.map(SSIDPostType.fromProto);
987
987
  }
988
+ if (proto.locations) {
989
+ m.locations = proto.locations.map(Location.fromProto);
990
+ }
988
991
  return m;
989
992
  }
990
993
  constructor(kwargs) {
@@ -1031,6 +1034,9 @@ class BulkUploadMultilocation {
1031
1034
  if (typeof this.multilocationId !== 'undefined') {
1032
1035
  toReturn['multilocationId'] = this.multilocationId;
1033
1036
  }
1037
+ if (typeof this.locations !== 'undefined' && this.locations !== null) {
1038
+ toReturn['locations'] = 'toApiJson' in this.locations ? this.locations.toApiJson() : this.locations;
1039
+ }
1034
1040
  return toReturn;
1035
1041
  }
1036
1042
  }
@@ -4654,6 +4660,9 @@ class FetchLibraryImagesRequest {
4654
4660
  if (typeof this.imageCount !== 'undefined') {
4655
4661
  toReturn['imageCount'] = this.imageCount;
4656
4662
  }
4663
+ if (typeof this.includeLocalUrl !== 'undefined') {
4664
+ toReturn['includeLocalUrl'] = this.includeLocalUrl;
4665
+ }
4657
4666
  return toReturn;
4658
4667
  }
4659
4668
  }
@@ -5092,6 +5101,9 @@ class ImageResponse {
5092
5101
  if (typeof this.fullHdUrl !== 'undefined') {
5093
5102
  toReturn['fullHdUrl'] = this.fullHdUrl;
5094
5103
  }
5104
+ if (typeof this.storageUrl !== 'undefined') {
5105
+ toReturn['storageUrl'] = this.storageUrl;
5106
+ }
5095
5107
  return toReturn;
5096
5108
  }
5097
5109
  }
@@ -5141,6 +5153,9 @@ class KeywordGeneration {
5141
5153
  if (typeof this.postType !== 'undefined') {
5142
5154
  toReturn['postType'] = this.postType;
5143
5155
  }
5156
+ if (typeof this.userPrompt !== 'undefined') {
5157
+ toReturn['userPrompt'] = this.userPrompt;
5158
+ }
5144
5159
  return toReturn;
5145
5160
  }
5146
5161
  }
@@ -8577,6 +8592,9 @@ class ContentGenerationService {
8577
8592
  fetchLibraryImages(r) {
8578
8593
  return this.fetchLibraryImages(r);
8579
8594
  }
8595
+ generateBlogPostCampaign(r) {
8596
+ return this.contentGenerationApiService.generateBlogPostCampaign(r);
8597
+ }
8580
8598
  }
8581
8599
  ContentGenerationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContentGenerationService, deps: [{ token: ContentGenerationApiService }], target: i0.ɵɵFactoryTarget.Injectable });
8582
8600
  ContentGenerationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContentGenerationService, providedIn: 'root' });