@vendasta/social-posts 5.41.0 → 5.41.1
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/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
|
@@ -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
|
}
|