@vendasta/social-posts 5.45.6 → 5.45.7
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/multilocation-post.api.service.mjs +6 -1
- package/esm2020/lib/multilocation-posts.service.mjs +4 -1
- package/fesm2015/vendasta-social-posts.mjs +8 -0
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +8 -0
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/lib/_internal/multilocation-post.api.service.d.ts +1 -0
- package/lib/multilocation-posts.service.d.ts +3 -2
- package/package.json +1 -1
|
@@ -8453,6 +8453,11 @@ class MultilocationPostApiService {
|
|
|
8453
8453
|
return this.http.post(this._host + "/socialposts.v1.MultilocationPostService/EditMultilocationPost", request.toApiJson(), this.apiOptions())
|
|
8454
8454
|
.pipe(map(resp => EditMultilocationPostResponse.fromProto(resp)));
|
|
8455
8455
|
}
|
|
8456
|
+
editMultilocationPostV2(r) {
|
|
8457
|
+
const request = (r.toApiJson) ? r : new EditMultilocationPostRequest(r);
|
|
8458
|
+
return this.http.post(this._host + "/socialposts.v1.MultilocationPostService/EditMultilocationPostV2", request.toApiJson(), this.apiOptions())
|
|
8459
|
+
.pipe(map(resp => EditMultilocationPostResponse.fromProto(resp)));
|
|
8460
|
+
}
|
|
8456
8461
|
removeFromMultilocationPost(r) {
|
|
8457
8462
|
const request = (r.toApiJson) ? r : new RemoveFromMultilocationPostRequest(r);
|
|
8458
8463
|
return this.http.post(this._host + "/socialposts.v1.MultilocationPostService/RemoveFromMultilocationPost", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
@@ -8949,6 +8954,9 @@ class MultilocationPostsService {
|
|
|
8949
8954
|
});
|
|
8950
8955
|
return this.multilocationApiService.editMultilocationPost(req);
|
|
8951
8956
|
}
|
|
8957
|
+
editMultilocationPostV2(req) {
|
|
8958
|
+
return this.multilocationApiService.editMultilocationPostV2(req);
|
|
8959
|
+
}
|
|
8952
8960
|
removeFromMultilocationPost(reason, brandId, multilocationId, locations) {
|
|
8953
8961
|
const req = new RemoveFromMultilocationPostRequest({
|
|
8954
8962
|
reason: reason,
|