protobuf-platform 1.2.4 → 1.2.5

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/cms/cms.proto CHANGED
@@ -33,9 +33,9 @@ service CMS {
33
33
  rpc deleteSinglePage(GetPageRequest) returns (PageStatusResponse);
34
34
  rpc readListPages(PaginationRequest) returns (PagesItemsResponse);
35
35
  //Pages
36
- rpc createSinglePromo(PromoRequest) returns (PromoResponse);
36
+ rpc createSinglePromo(stream PromoRequest) returns (PromoResponse);
37
37
  rpc readSinglePromo(GetPromoRequest) returns (PromoResponse);
38
- rpc updateSinglePromo(PromoRequest) returns (PromoResponse);
38
+ rpc updateSinglePromo(stream PromoRequest) returns (PromoResponse);
39
39
  rpc deleteSinglePromo(GetPromoRequest) returns (PromoStatusResponse);
40
40
  rpc readListPromos(PaginationRequest) returns (PromosItemsResponse);
41
41
  }
@@ -651,7 +651,7 @@ createSinglePage: {
651
651
  // Pages
652
652
  createSinglePromo: {
653
653
  path: '/cms.CMS/createSinglePromo',
654
- requestStream: false,
654
+ requestStream: true,
655
655
  responseStream: false,
656
656
  requestType: cms_pb.PromoRequest,
657
657
  responseType: cms_pb.PromoResponse,
@@ -673,7 +673,7 @@ createSinglePromo: {
673
673
  },
674
674
  updateSinglePromo: {
675
675
  path: '/cms.CMS/updateSinglePromo',
676
- requestStream: false,
676
+ requestStream: true,
677
677
  responseStream: false,
678
678
  requestType: cms_pb.PromoRequest,
679
679
  responseType: cms_pb.PromoResponse,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {