@vendasta/social-posts 5.13.0 → 5.14.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.
@@ -71,133 +71,6 @@ class Hashtag {
71
71
  }
72
72
  }
73
73
 
74
- function enumStringToValue$8(enumRef, value) {
75
- if (typeof value === 'number') {
76
- return value;
77
- }
78
- return enumRef[value];
79
- }
80
- class Location {
81
- static fromProto(proto) {
82
- let m = new Location();
83
- m = Object.assign(m, proto);
84
- return m;
85
- }
86
- constructor(kwargs) {
87
- if (!kwargs) {
88
- return;
89
- }
90
- Object.assign(this, kwargs);
91
- }
92
- toApiJson() {
93
- const toReturn = {};
94
- if (typeof this.socialServiceIds !== 'undefined') {
95
- toReturn['socialServiceIds'] = this.socialServiceIds;
96
- }
97
- if (typeof this.accountGroupId !== 'undefined') {
98
- toReturn['accountGroupId'] = this.accountGroupId;
99
- }
100
- return toReturn;
101
- }
102
- }
103
- class MultilocationPost {
104
- static fromProto(proto) {
105
- let m = new MultilocationPost();
106
- m = Object.assign(m, proto);
107
- if (proto.originalScheduledDate) {
108
- m.originalScheduledDate = new Date(proto.originalScheduledDate);
109
- }
110
- if (proto.originalLocations) {
111
- m.originalLocations = proto.originalLocations.map(Location.fromProto);
112
- }
113
- if (proto.editedLocations) {
114
- m.editedLocations = proto.editedLocations.map(Location.fromProto);
115
- }
116
- if (proto.deletedLocations) {
117
- m.deletedLocations = proto.deletedLocations.map(Location.fromProto);
118
- }
119
- return m;
120
- }
121
- constructor(kwargs) {
122
- if (!kwargs) {
123
- return;
124
- }
125
- Object.assign(this, kwargs);
126
- }
127
- toApiJson() {
128
- const toReturn = {};
129
- if (typeof this.brandId !== 'undefined') {
130
- toReturn['brandId'] = this.brandId;
131
- }
132
- if (typeof this.multilocationId !== 'undefined') {
133
- toReturn['multilocationId'] = this.multilocationId;
134
- }
135
- if (typeof this.originalText !== 'undefined') {
136
- toReturn['originalText'] = this.originalText;
137
- }
138
- if (typeof this.originalScheduledDate !== 'undefined' && this.originalScheduledDate !== null) {
139
- toReturn['originalScheduledDate'] = 'toApiJson' in this.originalScheduledDate ? this.originalScheduledDate.toApiJson() : this.originalScheduledDate;
140
- }
141
- if (typeof this.originalMedia !== 'undefined') {
142
- toReturn['originalMedia'] = this.originalMedia;
143
- }
144
- if (typeof this.originalLocations !== 'undefined' && this.originalLocations !== null) {
145
- toReturn['originalLocations'] = 'toApiJson' in this.originalLocations ? this.originalLocations.toApiJson() : this.originalLocations;
146
- }
147
- if (typeof this.editedLocations !== 'undefined' && this.editedLocations !== null) {
148
- toReturn['editedLocations'] = 'toApiJson' in this.editedLocations ? this.editedLocations.toApiJson() : this.editedLocations;
149
- }
150
- if (typeof this.deletedLocations !== 'undefined' && this.deletedLocations !== null) {
151
- toReturn['deletedLocations'] = 'toApiJson' in this.deletedLocations ? this.deletedLocations.toApiJson() : this.deletedLocations;
152
- }
153
- if (typeof this.originalGifs !== 'undefined') {
154
- toReturn['originalGifs'] = this.originalGifs;
155
- }
156
- if (typeof this.originalVideos !== 'undefined') {
157
- toReturn['originalVideos'] = this.originalVideos;
158
- }
159
- return toReturn;
160
- }
161
- }
162
- class MultilocationPostError {
163
- static fromProto(proto) {
164
- let m = new MultilocationPostError();
165
- m = Object.assign(m, proto);
166
- return m;
167
- }
168
- constructor(kwargs) {
169
- if (!kwargs) {
170
- return;
171
- }
172
- Object.assign(this, kwargs);
173
- }
174
- toApiJson() {
175
- const toReturn = {};
176
- if (typeof this.socialServiceId !== 'undefined') {
177
- toReturn['socialServiceId'] = this.socialServiceId;
178
- }
179
- if (typeof this.accountGroupId !== 'undefined') {
180
- toReturn['accountGroupId'] = this.accountGroupId;
181
- }
182
- if (typeof this.errorReason !== 'undefined') {
183
- toReturn['errorReason'] = this.errorReason;
184
- }
185
- return toReturn;
186
- }
187
- }
188
-
189
- // *********************************
190
- // Code generated by sdkgen
191
- // DO NOT EDIT!.
192
- //
193
- // Enums.
194
- // *********************************
195
- var RemoveReason;
196
- (function (RemoveReason) {
197
- RemoveReason[RemoveReason["REMOVE_REASON_EDIT"] = 0] = "REMOVE_REASON_EDIT";
198
- RemoveReason[RemoveReason["REMOVE_REASON_DELETE"] = 1] = "REMOVE_REASON_DELETE";
199
- })(RemoveReason || (RemoveReason = {}));
200
-
201
74
  // *********************************
202
75
  // Code generated by sdkgen
203
76
  // DO NOT EDIT!.
@@ -257,6 +130,18 @@ var TemplateType;
257
130
  TemplateType[TemplateType["TEMPLATE_SOCIAL_POST"] = 2] = "TEMPLATE_SOCIAL_POST";
258
131
  })(TemplateType || (TemplateType = {}));
259
132
 
133
+ // *********************************
134
+ // Code generated by sdkgen
135
+ // DO NOT EDIT!.
136
+ //
137
+ // Enums.
138
+ // *********************************
139
+ var RemoveReason;
140
+ (function (RemoveReason) {
141
+ RemoveReason[RemoveReason["REMOVE_REASON_EDIT"] = 0] = "REMOVE_REASON_EDIT";
142
+ RemoveReason[RemoveReason["REMOVE_REASON_DELETE"] = 1] = "REMOVE_REASON_DELETE";
143
+ })(RemoveReason || (RemoveReason = {}));
144
+
260
145
  // *********************************
261
146
  // Code generated by sdkgen
262
147
  // DO NOT EDIT!.
@@ -296,7 +181,7 @@ var MediaType;
296
181
 
297
182
  // *********************************
298
183
 
299
- function enumStringToValue$7(enumRef, value) {
184
+ function enumStringToValue$8(enumRef, value) {
300
185
  if (typeof value === 'number') {
301
186
  return value;
302
187
  }
@@ -307,7 +192,7 @@ class CallToAction {
307
192
  let m = new CallToAction();
308
193
  m = Object.assign(m, proto);
309
194
  if (proto.actionType) {
310
- m.actionType = enumStringToValue$7(CallToActionCallToActionType, proto.actionType);
195
+ m.actionType = enumStringToValue$8(CallToActionCallToActionType, proto.actionType);
311
196
  }
312
197
  return m;
313
198
  }
@@ -461,7 +346,7 @@ class PostTemplate {
461
346
  m.metaData = proto.metaData.map(MetaData.fromProto);
462
347
  }
463
348
  if (proto.postType) {
464
- m.postType = enumStringToValue$7(PostType, proto.postType);
349
+ m.postType = enumStringToValue$8(PostType, proto.postType);
465
350
  }
466
351
  return m;
467
352
  }
@@ -567,10 +452,10 @@ class SocialPost {
567
452
  m.posted = new Date(proto.posted);
568
453
  }
569
454
  if (proto.deletionStatus) {
570
- m.deletionStatus = enumStringToValue$7(SocialPostDeletionStatus, proto.deletionStatus);
455
+ m.deletionStatus = enumStringToValue$8(SocialPostDeletionStatus, proto.deletionStatus);
571
456
  }
572
457
  if (proto.service) {
573
- m.service = enumStringToValue$7(SocialPostService, proto.service);
458
+ m.service = enumStringToValue$8(SocialPostService, proto.service);
574
459
  }
575
460
  if (proto.created) {
576
461
  m.created = new Date(proto.created);
@@ -579,7 +464,7 @@ class SocialPost {
579
464
  m.scheduled = new Date(proto.scheduled);
580
465
  }
581
466
  if (proto.status) {
582
- m.status = enumStringToValue$7(PostingStatus, proto.status);
467
+ m.status = enumStringToValue$8(PostingStatus, proto.status);
583
468
  }
584
469
  if (proto.event) {
585
470
  m.event = Event.fromProto(proto.event);
@@ -591,7 +476,7 @@ class SocialPost {
591
476
  m.error = Error.fromProto(proto.error);
592
477
  }
593
478
  if (proto.postType) {
594
- m.postType = enumStringToValue$7(PostType, proto.postType);
479
+ m.postType = enumStringToValue$8(PostType, proto.postType);
595
480
  }
596
481
  if (proto.mediaEntries) {
597
482
  m.mediaEntries = proto.mediaEntries.map(MediaEntry.fromProto);
@@ -729,6 +614,229 @@ class SocialPostData {
729
614
  }
730
615
  }
731
616
 
617
+ function enumStringToValue$7(enumRef, value) {
618
+ if (typeof value === 'number') {
619
+ return value;
620
+ }
621
+ return enumRef[value];
622
+ }
623
+ class Location {
624
+ static fromProto(proto) {
625
+ let m = new Location();
626
+ m = Object.assign(m, proto);
627
+ return m;
628
+ }
629
+ constructor(kwargs) {
630
+ if (!kwargs) {
631
+ return;
632
+ }
633
+ Object.assign(this, kwargs);
634
+ }
635
+ toApiJson() {
636
+ const toReturn = {};
637
+ if (typeof this.socialServiceIds !== 'undefined') {
638
+ toReturn['socialServiceIds'] = this.socialServiceIds;
639
+ }
640
+ if (typeof this.accountGroupId !== 'undefined') {
641
+ toReturn['accountGroupId'] = this.accountGroupId;
642
+ }
643
+ return toReturn;
644
+ }
645
+ }
646
+ class MultilocationPost {
647
+ static fromProto(proto) {
648
+ let m = new MultilocationPost();
649
+ m = Object.assign(m, proto);
650
+ if (proto.originalScheduledDate) {
651
+ m.originalScheduledDate = new Date(proto.originalScheduledDate);
652
+ }
653
+ if (proto.originalLocations) {
654
+ m.originalLocations = proto.originalLocations.map(Location.fromProto);
655
+ }
656
+ if (proto.editedLocations) {
657
+ m.editedLocations = proto.editedLocations.map(Location.fromProto);
658
+ }
659
+ if (proto.deletedLocations) {
660
+ m.deletedLocations = proto.deletedLocations.map(Location.fromProto);
661
+ }
662
+ if (proto.mediaEntries) {
663
+ m.mediaEntries = proto.mediaEntries.map(MediaEntry.fromProto);
664
+ }
665
+ if (proto.metaData) {
666
+ m.metaData = proto.metaData.map(MetaData.fromProto);
667
+ }
668
+ if (proto.customization) {
669
+ m.customization = PostCustomization.fromProto(proto.customization);
670
+ }
671
+ return m;
672
+ }
673
+ constructor(kwargs) {
674
+ if (!kwargs) {
675
+ return;
676
+ }
677
+ Object.assign(this, kwargs);
678
+ }
679
+ toApiJson() {
680
+ const toReturn = {};
681
+ if (typeof this.brandId !== 'undefined') {
682
+ toReturn['brandId'] = this.brandId;
683
+ }
684
+ if (typeof this.multilocationId !== 'undefined') {
685
+ toReturn['multilocationId'] = this.multilocationId;
686
+ }
687
+ if (typeof this.originalText !== 'undefined') {
688
+ toReturn['originalText'] = this.originalText;
689
+ }
690
+ if (typeof this.originalScheduledDate !== 'undefined' && this.originalScheduledDate !== null) {
691
+ toReturn['originalScheduledDate'] = 'toApiJson' in this.originalScheduledDate ? this.originalScheduledDate.toApiJson() : this.originalScheduledDate;
692
+ }
693
+ if (typeof this.originalMedia !== 'undefined') {
694
+ toReturn['originalMedia'] = this.originalMedia;
695
+ }
696
+ if (typeof this.originalLocations !== 'undefined' && this.originalLocations !== null) {
697
+ toReturn['originalLocations'] = 'toApiJson' in this.originalLocations ? this.originalLocations.toApiJson() : this.originalLocations;
698
+ }
699
+ if (typeof this.editedLocations !== 'undefined' && this.editedLocations !== null) {
700
+ toReturn['editedLocations'] = 'toApiJson' in this.editedLocations ? this.editedLocations.toApiJson() : this.editedLocations;
701
+ }
702
+ if (typeof this.deletedLocations !== 'undefined' && this.deletedLocations !== null) {
703
+ toReturn['deletedLocations'] = 'toApiJson' in this.deletedLocations ? this.deletedLocations.toApiJson() : this.deletedLocations;
704
+ }
705
+ if (typeof this.originalGifs !== 'undefined') {
706
+ toReturn['originalGifs'] = this.originalGifs;
707
+ }
708
+ if (typeof this.originalVideos !== 'undefined') {
709
+ toReturn['originalVideos'] = this.originalVideos;
710
+ }
711
+ if (typeof this.mediaEntries !== 'undefined' && this.mediaEntries !== null) {
712
+ toReturn['mediaEntries'] = 'toApiJson' in this.mediaEntries ? this.mediaEntries.toApiJson() : this.mediaEntries;
713
+ }
714
+ if (typeof this.metaData !== 'undefined' && this.metaData !== null) {
715
+ toReturn['metaData'] = 'toApiJson' in this.metaData ? this.metaData.toApiJson() : this.metaData;
716
+ }
717
+ if (typeof this.tags !== 'undefined') {
718
+ toReturn['tags'] = this.tags;
719
+ }
720
+ if (typeof this.customization !== 'undefined' && this.customization !== null) {
721
+ toReturn['customization'] = 'toApiJson' in this.customization ? this.customization.toApiJson() : this.customization;
722
+ }
723
+ if (typeof this.linkShortCode !== 'undefined') {
724
+ toReturn['linkShortCode'] = this.linkShortCode;
725
+ }
726
+ return toReturn;
727
+ }
728
+ }
729
+ class MultilocationPostError {
730
+ static fromProto(proto) {
731
+ let m = new MultilocationPostError();
732
+ m = Object.assign(m, proto);
733
+ return m;
734
+ }
735
+ constructor(kwargs) {
736
+ if (!kwargs) {
737
+ return;
738
+ }
739
+ Object.assign(this, kwargs);
740
+ }
741
+ toApiJson() {
742
+ const toReturn = {};
743
+ if (typeof this.socialServiceId !== 'undefined') {
744
+ toReturn['socialServiceId'] = this.socialServiceId;
745
+ }
746
+ if (typeof this.accountGroupId !== 'undefined') {
747
+ toReturn['accountGroupId'] = this.accountGroupId;
748
+ }
749
+ if (typeof this.errorReason !== 'undefined') {
750
+ toReturn['errorReason'] = this.errorReason;
751
+ }
752
+ return toReturn;
753
+ }
754
+ }
755
+ class PostAction {
756
+ static fromProto(proto) {
757
+ let m = new PostAction();
758
+ m = Object.assign(m, proto);
759
+ return m;
760
+ }
761
+ constructor(kwargs) {
762
+ if (!kwargs) {
763
+ return;
764
+ }
765
+ Object.assign(this, kwargs);
766
+ }
767
+ toApiJson() {
768
+ const toReturn = {};
769
+ if (typeof this.type !== 'undefined') {
770
+ toReturn['type'] = this.type;
771
+ }
772
+ if (typeof this.linkUrl !== 'undefined') {
773
+ toReturn['linkUrl'] = this.linkUrl;
774
+ }
775
+ return toReturn;
776
+ }
777
+ }
778
+ class PostCustomization {
779
+ static fromProto(proto) {
780
+ let m = new PostCustomization();
781
+ m = Object.assign(m, proto);
782
+ if (proto.event) {
783
+ m.event = PostEvent.fromProto(proto.event);
784
+ }
785
+ if (proto.action) {
786
+ m.action = PostAction.fromProto(proto.action);
787
+ }
788
+ return m;
789
+ }
790
+ constructor(kwargs) {
791
+ if (!kwargs) {
792
+ return;
793
+ }
794
+ Object.assign(this, kwargs);
795
+ }
796
+ toApiJson() {
797
+ const toReturn = {};
798
+ if (typeof this.event !== 'undefined' && this.event !== null) {
799
+ toReturn['event'] = 'toApiJson' in this.event ? this.event.toApiJson() : this.event;
800
+ }
801
+ if (typeof this.action !== 'undefined' && this.action !== null) {
802
+ toReturn['action'] = 'toApiJson' in this.action ? this.action.toApiJson() : this.action;
803
+ }
804
+ return toReturn;
805
+ }
806
+ }
807
+ class PostEvent {
808
+ static fromProto(proto) {
809
+ let m = new PostEvent();
810
+ m = Object.assign(m, proto);
811
+ if (proto.start) {
812
+ m.start = new Date(proto.start);
813
+ }
814
+ if (proto.end) {
815
+ m.end = new Date(proto.end);
816
+ }
817
+ return m;
818
+ }
819
+ constructor(kwargs) {
820
+ if (!kwargs) {
821
+ return;
822
+ }
823
+ Object.assign(this, kwargs);
824
+ }
825
+ toApiJson() {
826
+ const toReturn = {};
827
+ if (typeof this.title !== 'undefined') {
828
+ toReturn['title'] = this.title;
829
+ }
830
+ if (typeof this.start !== 'undefined' && this.start !== null) {
831
+ toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;
832
+ }
833
+ if (typeof this.end !== 'undefined' && this.end !== null) {
834
+ toReturn['end'] = 'toApiJson' in this.end ? this.end.toApiJson() : this.end;
835
+ }
836
+ return toReturn;
837
+ }
838
+ }
839
+
732
840
  function enumStringToValue$6(enumRef, value) {
733
841
  if (typeof value === 'number') {
734
842
  return value;
@@ -1000,9 +1108,9 @@ function enumStringToValue$4(enumRef, value) {
1000
1108
  }
1001
1109
  return enumRef[value];
1002
1110
  }
1003
- class TenorGifMediaEntry {
1111
+ class TenorGifMediaMapEntry {
1004
1112
  static fromProto(proto) {
1005
- let m = new TenorGifMediaEntry();
1113
+ let m = new TenorGifMediaMapEntry();
1006
1114
  m = Object.assign(m, proto);
1007
1115
  if (proto.value) {
1008
1116
  m.value = TenorMediaObject.fromProto(proto.value);
@@ -1030,8 +1138,8 @@ class TenorGif {
1030
1138
  static fromProto(proto) {
1031
1139
  let m = new TenorGif();
1032
1140
  m = Object.assign(m, proto);
1033
- if (proto.media) {
1034
- m.media = Object.keys(proto.media).reduce((obj, k) => { obj[k] = TenorMediaObject.fromProto(proto.media[k]); return obj; }, {});
1141
+ if (proto.mediaMap) {
1142
+ m.mediaMap = Object.keys(proto.mediaMap).reduce((obj, k) => { obj[k] = TenorMediaObject.fromProto(proto.mediaMap[k]); return obj; }, {});
1035
1143
  }
1036
1144
  return m;
1037
1145
  }
@@ -1043,8 +1151,8 @@ class TenorGif {
1043
1151
  }
1044
1152
  toApiJson() {
1045
1153
  const toReturn = {};
1046
- if (typeof this.media !== 'undefined' && this.media !== null) {
1047
- toReturn['media'] = 'toApiJson' in this.media ? this.media.toApiJson() : this.media;
1154
+ if (typeof this.mediaMap !== 'undefined' && this.mediaMap !== null) {
1155
+ toReturn['mediaMap'] = 'toApiJson' in this.mediaMap ? this.mediaMap.toApiJson() : this.mediaMap;
1048
1156
  }
1049
1157
  if (typeof this.tags !== 'undefined') {
1050
1158
  toReturn['tags'] = this.tags;
@@ -1116,6 +1224,15 @@ class CreateMultilocationPostRequest {
1116
1224
  if (proto.locations) {
1117
1225
  m.locations = proto.locations.map(Location.fromProto);
1118
1226
  }
1227
+ if (proto.mediaEntries) {
1228
+ m.mediaEntries = proto.mediaEntries.map(MediaEntry.fromProto);
1229
+ }
1230
+ if (proto.metaData) {
1231
+ m.metaData = proto.metaData.map(MetaData.fromProto);
1232
+ }
1233
+ if (proto.customization) {
1234
+ m.customization = PostCustomization.fromProto(proto.customization);
1235
+ }
1119
1236
  return m;
1120
1237
  }
1121
1238
  constructor(kwargs) {
@@ -1147,6 +1264,21 @@ class CreateMultilocationPostRequest {
1147
1264
  if (typeof this.videos !== 'undefined') {
1148
1265
  toReturn['videos'] = this.videos;
1149
1266
  }
1267
+ if (typeof this.mediaEntries !== 'undefined' && this.mediaEntries !== null) {
1268
+ toReturn['mediaEntries'] = 'toApiJson' in this.mediaEntries ? this.mediaEntries.toApiJson() : this.mediaEntries;
1269
+ }
1270
+ if (typeof this.metaData !== 'undefined' && this.metaData !== null) {
1271
+ toReturn['metaData'] = 'toApiJson' in this.metaData ? this.metaData.toApiJson() : this.metaData;
1272
+ }
1273
+ if (typeof this.tags !== 'undefined') {
1274
+ toReturn['tags'] = this.tags;
1275
+ }
1276
+ if (typeof this.customization !== 'undefined' && this.customization !== null) {
1277
+ toReturn['customization'] = 'toApiJson' in this.customization ? this.customization.toApiJson() : this.customization;
1278
+ }
1279
+ if (typeof this.linkShortCode !== 'undefined') {
1280
+ toReturn['linkShortCode'] = this.linkShortCode;
1281
+ }
1150
1282
  return toReturn;
1151
1283
  }
1152
1284
  }
@@ -1407,6 +1539,15 @@ class EditMultilocationPostRequest {
1407
1539
  if (proto.locations) {
1408
1540
  m.locations = proto.locations.map(Location.fromProto);
1409
1541
  }
1542
+ if (proto.mediaEntries) {
1543
+ m.mediaEntries = proto.mediaEntries.map(MediaEntry.fromProto);
1544
+ }
1545
+ if (proto.metaData) {
1546
+ m.metaData = proto.metaData.map(MetaData.fromProto);
1547
+ }
1548
+ if (proto.customization) {
1549
+ m.customization = PostCustomization.fromProto(proto.customization);
1550
+ }
1410
1551
  return m;
1411
1552
  }
1412
1553
  constructor(kwargs) {
@@ -1444,6 +1585,21 @@ class EditMultilocationPostRequest {
1444
1585
  if (typeof this.locations !== 'undefined' && this.locations !== null) {
1445
1586
  toReturn['locations'] = 'toApiJson' in this.locations ? this.locations.toApiJson() : this.locations;
1446
1587
  }
1588
+ if (typeof this.mediaEntries !== 'undefined' && this.mediaEntries !== null) {
1589
+ toReturn['mediaEntries'] = 'toApiJson' in this.mediaEntries ? this.mediaEntries.toApiJson() : this.mediaEntries;
1590
+ }
1591
+ if (typeof this.metaData !== 'undefined' && this.metaData !== null) {
1592
+ toReturn['metaData'] = 'toApiJson' in this.metaData ? this.metaData.toApiJson() : this.metaData;
1593
+ }
1594
+ if (typeof this.tags !== 'undefined') {
1595
+ toReturn['tags'] = this.tags;
1596
+ }
1597
+ if (typeof this.customization !== 'undefined' && this.customization !== null) {
1598
+ toReturn['customization'] = 'toApiJson' in this.customization ? this.customization.toApiJson() : this.customization;
1599
+ }
1600
+ if (typeof this.linkShortCode !== 'undefined') {
1601
+ toReturn['linkShortCode'] = this.linkShortCode;
1602
+ }
1447
1603
  return toReturn;
1448
1604
  }
1449
1605
  }
@@ -3969,7 +4125,7 @@ class MultilocationPostsService {
3969
4125
  constructor(multilocationApiService) {
3970
4126
  this.multilocationApiService = multilocationApiService;
3971
4127
  }
3972
- createMultilocationPost(brandId, text, media, gifs, videos, scheduledDate, locations) {
4128
+ createMultilocationPost(brandId, text, media, gifs, videos, scheduledDate, locations, mediaEntries, metadata) {
3973
4129
  const req = new CreateMultilocationPostRequest({
3974
4130
  brandId: brandId,
3975
4131
  text: text,
@@ -3977,11 +4133,13 @@ class MultilocationPostsService {
3977
4133
  gifs: gifs,
3978
4134
  videos: videos,
3979
4135
  scheduledDate: scheduledDate,
3980
- locations: locations
4136
+ locations: locations,
4137
+ mediaEntries: mediaEntries,
4138
+ metaData: metadata
3981
4139
  });
3982
4140
  return this.multilocationApiService.createMultilocationPost(req);
3983
4141
  }
3984
- editMultilocationPost(brandId, multilocationId, text, media, gifs, videos, scheduledDate, locations, fieldMask) {
4142
+ editMultilocationPost(brandId, multilocationId, text, media, gifs, videos, scheduledDate, locations, fieldMask, mediaEntries, metadata) {
3985
4143
  const req = new EditMultilocationPostRequest({
3986
4144
  brandId: brandId,
3987
4145
  multilocationId: multilocationId,
@@ -3991,7 +4149,9 @@ class MultilocationPostsService {
3991
4149
  videos: videos,
3992
4150
  scheduledDate: scheduledDate,
3993
4151
  locations: locations,
3994
- fieldMask: fieldMask
4152
+ fieldMask: fieldMask,
4153
+ mediaEntries: mediaEntries,
4154
+ metaData: metadata
3995
4155
  });
3996
4156
  return this.multilocationApiService.editMultilocationPost(req);
3997
4157
  }
@@ -4171,5 +4331,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
4171
4331
  * Generated bundle index. Do not edit.
4172
4332
  */
4173
4333
 
4174
- export { CallToAction, CallToActionCallToActionType, CreateImageRequest, CreateImageResponse, CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, DateRangeFilter, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, Error, Event, FacebookPostStats, FieldMask, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, HashTagsService, Hashtag, ImageBlob, ImageCreated, ImageUrl, LinkV2, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, Location, Media, MediaEntry, MediaType, MediaUploadRequest, MediaUploadResponse, MessageLength, MetaData, MetadataV2, MultilocationPost, MultilocationPostApiService, MultilocationPostError, MultilocationPostsService, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PartnerListScheduledSocialPostsRequestFilters, PixabayImage, PixabayImageService, PostActionV2, PostContentV2, PostCustomizationV2, PostData, PostEventV2, PostMediaV2, PostPerformanceApiService, PostPerformanceService, PostStatusV2, PostTemplate, PostTemplatesService, PostType, PostTypeV2, PostingStatus, RemoveFromMultilocationPostRequest, RemoveReason, ReplaceHashtagsRequest, SchedulePostRequest, SchedulePostResponse, SchedulePostStatus, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SearchHashtagRequest, SearchHashtagResponse, SocialPost, SocialPostData, SocialPostDeletionStatus, SocialPostOutput, SocialPostRequest, SocialPostResponse, SocialPostService, SocialPostStats, SocialPostV2, SocialPostsService, SocialPostsV2Service, SuggestMessageRequest, SuggestMessageResponse, TemplateType, TenorGif, TenorGifMediaEntry, TenorGifsService, TenorMediaObject, TwitterPostStats, UpdatePostTemplateRequest, UpdateSocialPostRequest, UpdateSocialPostResponse };
4334
+ export { CallToAction, CallToActionCallToActionType, CreateImageRequest, CreateImageResponse, CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, DateRangeFilter, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, Error, Event, FacebookPostStats, FieldMask, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, HashTagsService, Hashtag, ImageBlob, ImageCreated, ImageUrl, LinkV2, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, Location, Media, MediaEntry, MediaType, MediaUploadRequest, MediaUploadResponse, MessageLength, MetaData, MetadataV2, MultilocationPost, MultilocationPostApiService, MultilocationPostError, MultilocationPostsService, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PartnerListScheduledSocialPostsRequestFilters, PixabayImage, PixabayImageService, PostAction, PostActionV2, PostContentV2, PostCustomization, PostCustomizationV2, PostData, PostEvent, PostEventV2, PostMediaV2, PostPerformanceApiService, PostPerformanceService, PostStatusV2, PostTemplate, PostTemplatesService, PostType, PostTypeV2, PostingStatus, RemoveFromMultilocationPostRequest, RemoveReason, ReplaceHashtagsRequest, SchedulePostRequest, SchedulePostResponse, SchedulePostStatus, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SearchHashtagRequest, SearchHashtagResponse, SocialPost, SocialPostData, SocialPostDeletionStatus, SocialPostOutput, SocialPostRequest, SocialPostResponse, SocialPostService, SocialPostStats, SocialPostV2, SocialPostsService, SocialPostsV2Service, SuggestMessageRequest, SuggestMessageResponse, TemplateType, TenorGif, TenorGifMediaMapEntry, TenorGifsService, TenorMediaObject, TwitterPostStats, UpdatePostTemplateRequest, UpdateSocialPostRequest, UpdateSocialPostResponse };
4175
4335
  //# sourceMappingURL=vendasta-social-posts.mjs.map