@vendasta/social-posts 5.42.5 → 5.42.6
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/multilocation-post.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/annotations.mjs +1 -1
- package/esm2020/lib/_internal/objects/multilocation-post.mjs +7 -1
- package/fesm2015/vendasta-social-posts.mjs +6 -0
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +6 -0
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/lib/_internal/interfaces/multilocation-post.interface.d.ts +1 -0
- package/lib/_internal/objects/multilocation-post.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1011,6 +1011,9 @@ class BulkUploadMultilocation {
|
|
|
1011
1011
|
if (proto.locations) {
|
|
1012
1012
|
m.locations = proto.locations.map(Location.fromProto);
|
|
1013
1013
|
}
|
|
1014
|
+
if (proto.postCategory) {
|
|
1015
|
+
m.postCategory = MLPostCategory.fromProto(proto.postCategory);
|
|
1016
|
+
}
|
|
1014
1017
|
return m;
|
|
1015
1018
|
}
|
|
1016
1019
|
constructor(kwargs) {
|
|
@@ -1060,6 +1063,9 @@ class BulkUploadMultilocation {
|
|
|
1060
1063
|
if (typeof this.locations !== 'undefined' && this.locations !== null) {
|
|
1061
1064
|
toReturn['locations'] = 'toApiJson' in this.locations ? this.locations.toApiJson() : this.locations;
|
|
1062
1065
|
}
|
|
1066
|
+
if (typeof this.postCategory !== 'undefined' && this.postCategory !== null) {
|
|
1067
|
+
toReturn['postCategory'] = 'toApiJson' in this.postCategory ? this.postCategory.toApiJson() : this.postCategory;
|
|
1068
|
+
}
|
|
1063
1069
|
return toReturn;
|
|
1064
1070
|
}
|
|
1065
1071
|
}
|