@vendasta/social-posts 5.42.7 → 5.43.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.
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/api.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/api.interface.d.ts +1 -0
- package/lib/_internal/objects/api.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2136,6 +2136,9 @@ class EditMultilocationPostRequest {
|
|
|
2136
2136
|
if (proto.deletedServices) {
|
|
2137
2137
|
m.deletedServices = proto.deletedServices.map(MultilocationServices.fromProto);
|
|
2138
2138
|
}
|
|
2139
|
+
if (proto.postCategory) {
|
|
2140
|
+
m.postCategory = MLPostCategory.fromProto(proto.postCategory);
|
|
2141
|
+
}
|
|
2139
2142
|
return m;
|
|
2140
2143
|
}
|
|
2141
2144
|
constructor(kwargs) {
|
|
@@ -2197,6 +2200,9 @@ class EditMultilocationPostRequest {
|
|
|
2197
2200
|
if (typeof this.deletedServices !== 'undefined' && this.deletedServices !== null) {
|
|
2198
2201
|
toReturn['deletedServices'] = 'toApiJson' in this.deletedServices ? this.deletedServices.toApiJson() : this.deletedServices;
|
|
2199
2202
|
}
|
|
2203
|
+
if (typeof this.postCategory !== 'undefined' && this.postCategory !== null) {
|
|
2204
|
+
toReturn['postCategory'] = 'toApiJson' in this.postCategory ? this.postCategory.toApiJson() : this.postCategory;
|
|
2205
|
+
}
|
|
2200
2206
|
return toReturn;
|
|
2201
2207
|
}
|
|
2202
2208
|
}
|