protobuf-platform 1.2.273 → 1.2.275
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 +71 -0
- package/cms/cms_grpc_pb.js +165 -0
- package/cms/cms_pb.js +3152 -0
- package/package.json +1 -1
package/cms/cms.proto
CHANGED
|
@@ -47,6 +47,13 @@ service CMS {
|
|
|
47
47
|
rpc setPageTranslation(PageTranslationRequest) returns (PageStatusResponse);
|
|
48
48
|
rpc getPageTranslation(GetPageTranslationRequest) returns (PageTranslationResponse);
|
|
49
49
|
rpc updatePagesInBunch(ItemsBunchRequest) returns (PageStatusResponse);
|
|
50
|
+
rpc createSinglePageSeo(PageSeoRequest) returns (PageSeoResponse);
|
|
51
|
+
rpc readSinglePageSeo(GetPageSeoRequest) returns (PageSeoResponse);
|
|
52
|
+
rpc updateSinglePageSeo(PageSeoRequest) returns (PageSeoResponse);
|
|
53
|
+
rpc deleteSinglePageSeo(GetPageSeoRequest) returns (PageSeoStatusResponse);
|
|
54
|
+
rpc readListPageSeo(PaginationRequest) returns (PageSeoItemsResponse);
|
|
55
|
+
rpc setPageSeoAttributes(SetPageSeoAttributesRequest) returns (PageSeoStatusResponse);
|
|
56
|
+
rpc getPageSeoAttributes(GetPageSeoAttributesRequest) returns (PageSeoAttributesResponse);
|
|
50
57
|
//Promo
|
|
51
58
|
rpc createSinglePromo(stream PromoRequest) returns (PromoResponse);
|
|
52
59
|
rpc readSinglePromo(GetPromoRequest) returns (PromoResponse);
|
|
@@ -372,6 +379,70 @@ message PageTranslationResponse {
|
|
|
372
379
|
optional string content = 2;
|
|
373
380
|
optional int32 is_active = 3;
|
|
374
381
|
}
|
|
382
|
+
message PageSeoRequest {
|
|
383
|
+
optional int32 id = 1;
|
|
384
|
+
optional string title = 2;
|
|
385
|
+
optional string type = 3;
|
|
386
|
+
int32 entity_id = 4;
|
|
387
|
+
optional int32 is_active = 5;
|
|
388
|
+
}
|
|
389
|
+
message PageSeoItem {
|
|
390
|
+
optional int32 id = 1;
|
|
391
|
+
optional string title = 2;
|
|
392
|
+
optional string type = 3;
|
|
393
|
+
optional int32 entity_id = 4;
|
|
394
|
+
optional int32 is_active = 5;
|
|
395
|
+
}
|
|
396
|
+
message PageSeoResponse {
|
|
397
|
+
PageSeoItem data = 1;
|
|
398
|
+
}
|
|
399
|
+
message GetPageSeoRequest {
|
|
400
|
+
optional int32 id = 1;
|
|
401
|
+
}
|
|
402
|
+
message PageSeoStatusResponse {
|
|
403
|
+
string status = 1;
|
|
404
|
+
}
|
|
405
|
+
message PageSeoItemsResponse {
|
|
406
|
+
repeated PageSeoItem items = 1;
|
|
407
|
+
optional int32 total_pages = 2;
|
|
408
|
+
optional int32 total_items = 3;
|
|
409
|
+
}
|
|
410
|
+
message SetPageSeoAttributesRequest {
|
|
411
|
+
int32 page_seo_id = 1;
|
|
412
|
+
string geo = 2;
|
|
413
|
+
string locale = 3;
|
|
414
|
+
optional string head_title = 4;
|
|
415
|
+
optional string meta_description = 5;
|
|
416
|
+
optional string open_graph_title = 6;
|
|
417
|
+
optional string open_graph_description = 7;
|
|
418
|
+
optional string twitter_title = 8;
|
|
419
|
+
optional string twitter_description = 9;
|
|
420
|
+
optional string h1 = 10;
|
|
421
|
+
optional string description = 11;
|
|
422
|
+
optional string full_description = 12;
|
|
423
|
+
}
|
|
424
|
+
message GetPageSeoAttributesRequest {
|
|
425
|
+
int32 page_seo_id = 1;
|
|
426
|
+
string geo = 2;
|
|
427
|
+
string locale = 3;
|
|
428
|
+
}
|
|
429
|
+
message PageSeoAttributesItem {
|
|
430
|
+
int32 page_seo_id = 1;
|
|
431
|
+
string geo = 2;
|
|
432
|
+
string locale = 3;
|
|
433
|
+
optional string head_title = 4;
|
|
434
|
+
optional string meta_description = 5;
|
|
435
|
+
optional string open_graph_title = 6;
|
|
436
|
+
optional string open_graph_description = 7;
|
|
437
|
+
optional string twitter_title = 8;
|
|
438
|
+
optional string twitter_description = 9;
|
|
439
|
+
optional string h1 = 10;
|
|
440
|
+
optional string description = 11;
|
|
441
|
+
optional string full_description = 12;
|
|
442
|
+
}
|
|
443
|
+
message PageSeoAttributesResponse {
|
|
444
|
+
PageSeoAttributesItem data = 1;
|
|
445
|
+
}
|
|
375
446
|
//Promo CRUD
|
|
376
447
|
message PromoRequest {
|
|
377
448
|
oneof request {
|
package/cms/cms_grpc_pb.js
CHANGED
|
@@ -631,6 +631,28 @@ function deserialize_cms_GetPageRequest(buffer_arg) {
|
|
|
631
631
|
return cms_pb.GetPageRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
632
632
|
}
|
|
633
633
|
|
|
634
|
+
function serialize_cms_GetPageSeoAttributesRequest(arg) {
|
|
635
|
+
if (!(arg instanceof cms_pb.GetPageSeoAttributesRequest)) {
|
|
636
|
+
throw new Error('Expected argument of type cms.GetPageSeoAttributesRequest');
|
|
637
|
+
}
|
|
638
|
+
return Buffer.from(arg.serializeBinary());
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
function deserialize_cms_GetPageSeoAttributesRequest(buffer_arg) {
|
|
642
|
+
return cms_pb.GetPageSeoAttributesRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
function serialize_cms_GetPageSeoRequest(arg) {
|
|
646
|
+
if (!(arg instanceof cms_pb.GetPageSeoRequest)) {
|
|
647
|
+
throw new Error('Expected argument of type cms.GetPageSeoRequest');
|
|
648
|
+
}
|
|
649
|
+
return Buffer.from(arg.serializeBinary());
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
function deserialize_cms_GetPageSeoRequest(buffer_arg) {
|
|
653
|
+
return cms_pb.GetPageSeoRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
654
|
+
}
|
|
655
|
+
|
|
634
656
|
function serialize_cms_GetPageTranslationRequest(arg) {
|
|
635
657
|
if (!(arg instanceof cms_pb.GetPageTranslationRequest)) {
|
|
636
658
|
throw new Error('Expected argument of type cms.GetPageTranslationRequest');
|
|
@@ -763,6 +785,61 @@ function deserialize_cms_PageResponse(buffer_arg) {
|
|
|
763
785
|
return cms_pb.PageResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
764
786
|
}
|
|
765
787
|
|
|
788
|
+
function serialize_cms_PageSeoAttributesResponse(arg) {
|
|
789
|
+
if (!(arg instanceof cms_pb.PageSeoAttributesResponse)) {
|
|
790
|
+
throw new Error('Expected argument of type cms.PageSeoAttributesResponse');
|
|
791
|
+
}
|
|
792
|
+
return Buffer.from(arg.serializeBinary());
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
function deserialize_cms_PageSeoAttributesResponse(buffer_arg) {
|
|
796
|
+
return cms_pb.PageSeoAttributesResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
function serialize_cms_PageSeoItemsResponse(arg) {
|
|
800
|
+
if (!(arg instanceof cms_pb.PageSeoItemsResponse)) {
|
|
801
|
+
throw new Error('Expected argument of type cms.PageSeoItemsResponse');
|
|
802
|
+
}
|
|
803
|
+
return Buffer.from(arg.serializeBinary());
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
function deserialize_cms_PageSeoItemsResponse(buffer_arg) {
|
|
807
|
+
return cms_pb.PageSeoItemsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
function serialize_cms_PageSeoRequest(arg) {
|
|
811
|
+
if (!(arg instanceof cms_pb.PageSeoRequest)) {
|
|
812
|
+
throw new Error('Expected argument of type cms.PageSeoRequest');
|
|
813
|
+
}
|
|
814
|
+
return Buffer.from(arg.serializeBinary());
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
function deserialize_cms_PageSeoRequest(buffer_arg) {
|
|
818
|
+
return cms_pb.PageSeoRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
function serialize_cms_PageSeoResponse(arg) {
|
|
822
|
+
if (!(arg instanceof cms_pb.PageSeoResponse)) {
|
|
823
|
+
throw new Error('Expected argument of type cms.PageSeoResponse');
|
|
824
|
+
}
|
|
825
|
+
return Buffer.from(arg.serializeBinary());
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
function deserialize_cms_PageSeoResponse(buffer_arg) {
|
|
829
|
+
return cms_pb.PageSeoResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
function serialize_cms_PageSeoStatusResponse(arg) {
|
|
833
|
+
if (!(arg instanceof cms_pb.PageSeoStatusResponse)) {
|
|
834
|
+
throw new Error('Expected argument of type cms.PageSeoStatusResponse');
|
|
835
|
+
}
|
|
836
|
+
return Buffer.from(arg.serializeBinary());
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
function deserialize_cms_PageSeoStatusResponse(buffer_arg) {
|
|
840
|
+
return cms_pb.PageSeoStatusResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
841
|
+
}
|
|
842
|
+
|
|
766
843
|
function serialize_cms_PageStatusResponse(arg) {
|
|
767
844
|
if (!(arg instanceof cms_pb.PageStatusResponse)) {
|
|
768
845
|
throw new Error('Expected argument of type cms.PageStatusResponse');
|
|
@@ -917,6 +994,17 @@ function deserialize_cms_PromosItemsResponse(buffer_arg) {
|
|
|
917
994
|
return cms_pb.PromosItemsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
918
995
|
}
|
|
919
996
|
|
|
997
|
+
function serialize_cms_SetPageSeoAttributesRequest(arg) {
|
|
998
|
+
if (!(arg instanceof cms_pb.SetPageSeoAttributesRequest)) {
|
|
999
|
+
throw new Error('Expected argument of type cms.SetPageSeoAttributesRequest');
|
|
1000
|
+
}
|
|
1001
|
+
return Buffer.from(arg.serializeBinary());
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
function deserialize_cms_SetPageSeoAttributesRequest(buffer_arg) {
|
|
1005
|
+
return cms_pb.SetPageSeoAttributesRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1006
|
+
}
|
|
1007
|
+
|
|
920
1008
|
function serialize_cms_SignUpFormWidgetItem(arg) {
|
|
921
1009
|
if (!(arg instanceof cms_pb.SignUpFormWidgetItem)) {
|
|
922
1010
|
throw new Error('Expected argument of type cms.SignUpFormWidgetItem');
|
|
@@ -1385,6 +1473,83 @@ createSinglePage: {
|
|
|
1385
1473
|
responseSerialize: serialize_cms_PageStatusResponse,
|
|
1386
1474
|
responseDeserialize: deserialize_cms_PageStatusResponse,
|
|
1387
1475
|
},
|
|
1476
|
+
createSinglePageSeo: {
|
|
1477
|
+
path: '/cms.CMS/createSinglePageSeo',
|
|
1478
|
+
requestStream: false,
|
|
1479
|
+
responseStream: false,
|
|
1480
|
+
requestType: cms_pb.PageSeoRequest,
|
|
1481
|
+
responseType: cms_pb.PageSeoResponse,
|
|
1482
|
+
requestSerialize: serialize_cms_PageSeoRequest,
|
|
1483
|
+
requestDeserialize: deserialize_cms_PageSeoRequest,
|
|
1484
|
+
responseSerialize: serialize_cms_PageSeoResponse,
|
|
1485
|
+
responseDeserialize: deserialize_cms_PageSeoResponse,
|
|
1486
|
+
},
|
|
1487
|
+
readSinglePageSeo: {
|
|
1488
|
+
path: '/cms.CMS/readSinglePageSeo',
|
|
1489
|
+
requestStream: false,
|
|
1490
|
+
responseStream: false,
|
|
1491
|
+
requestType: cms_pb.GetPageSeoRequest,
|
|
1492
|
+
responseType: cms_pb.PageSeoResponse,
|
|
1493
|
+
requestSerialize: serialize_cms_GetPageSeoRequest,
|
|
1494
|
+
requestDeserialize: deserialize_cms_GetPageSeoRequest,
|
|
1495
|
+
responseSerialize: serialize_cms_PageSeoResponse,
|
|
1496
|
+
responseDeserialize: deserialize_cms_PageSeoResponse,
|
|
1497
|
+
},
|
|
1498
|
+
updateSinglePageSeo: {
|
|
1499
|
+
path: '/cms.CMS/updateSinglePageSeo',
|
|
1500
|
+
requestStream: false,
|
|
1501
|
+
responseStream: false,
|
|
1502
|
+
requestType: cms_pb.PageSeoRequest,
|
|
1503
|
+
responseType: cms_pb.PageSeoResponse,
|
|
1504
|
+
requestSerialize: serialize_cms_PageSeoRequest,
|
|
1505
|
+
requestDeserialize: deserialize_cms_PageSeoRequest,
|
|
1506
|
+
responseSerialize: serialize_cms_PageSeoResponse,
|
|
1507
|
+
responseDeserialize: deserialize_cms_PageSeoResponse,
|
|
1508
|
+
},
|
|
1509
|
+
deleteSinglePageSeo: {
|
|
1510
|
+
path: '/cms.CMS/deleteSinglePageSeo',
|
|
1511
|
+
requestStream: false,
|
|
1512
|
+
responseStream: false,
|
|
1513
|
+
requestType: cms_pb.GetPageSeoRequest,
|
|
1514
|
+
responseType: cms_pb.PageSeoStatusResponse,
|
|
1515
|
+
requestSerialize: serialize_cms_GetPageSeoRequest,
|
|
1516
|
+
requestDeserialize: deserialize_cms_GetPageSeoRequest,
|
|
1517
|
+
responseSerialize: serialize_cms_PageSeoStatusResponse,
|
|
1518
|
+
responseDeserialize: deserialize_cms_PageSeoStatusResponse,
|
|
1519
|
+
},
|
|
1520
|
+
readListPageSeo: {
|
|
1521
|
+
path: '/cms.CMS/readListPageSeo',
|
|
1522
|
+
requestStream: false,
|
|
1523
|
+
responseStream: false,
|
|
1524
|
+
requestType: cms_pb.PaginationRequest,
|
|
1525
|
+
responseType: cms_pb.PageSeoItemsResponse,
|
|
1526
|
+
requestSerialize: serialize_cms_PaginationRequest,
|
|
1527
|
+
requestDeserialize: deserialize_cms_PaginationRequest,
|
|
1528
|
+
responseSerialize: serialize_cms_PageSeoItemsResponse,
|
|
1529
|
+
responseDeserialize: deserialize_cms_PageSeoItemsResponse,
|
|
1530
|
+
},
|
|
1531
|
+
setPageSeoAttributes: {
|
|
1532
|
+
path: '/cms.CMS/setPageSeoAttributes',
|
|
1533
|
+
requestStream: false,
|
|
1534
|
+
responseStream: false,
|
|
1535
|
+
requestType: cms_pb.SetPageSeoAttributesRequest,
|
|
1536
|
+
responseType: cms_pb.PageSeoStatusResponse,
|
|
1537
|
+
requestSerialize: serialize_cms_SetPageSeoAttributesRequest,
|
|
1538
|
+
requestDeserialize: deserialize_cms_SetPageSeoAttributesRequest,
|
|
1539
|
+
responseSerialize: serialize_cms_PageSeoStatusResponse,
|
|
1540
|
+
responseDeserialize: deserialize_cms_PageSeoStatusResponse,
|
|
1541
|
+
},
|
|
1542
|
+
getPageSeoAttributes: {
|
|
1543
|
+
path: '/cms.CMS/getPageSeoAttributes',
|
|
1544
|
+
requestStream: false,
|
|
1545
|
+
responseStream: false,
|
|
1546
|
+
requestType: cms_pb.GetPageSeoAttributesRequest,
|
|
1547
|
+
responseType: cms_pb.PageSeoAttributesResponse,
|
|
1548
|
+
requestSerialize: serialize_cms_GetPageSeoAttributesRequest,
|
|
1549
|
+
requestDeserialize: deserialize_cms_GetPageSeoAttributesRequest,
|
|
1550
|
+
responseSerialize: serialize_cms_PageSeoAttributesResponse,
|
|
1551
|
+
responseDeserialize: deserialize_cms_PageSeoAttributesResponse,
|
|
1552
|
+
},
|
|
1388
1553
|
// Promo
|
|
1389
1554
|
createSinglePromo: {
|
|
1390
1555
|
path: '/cms.CMS/createSinglePromo',
|