@aldiokta/protocgen 1.1.38 → 1.1.39
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/package.json +1 -1
- package/prisca/v1/core/chat_messaging/chat_messaging_pb.js +259 -58
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +22 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +436 -0
- package/prisca/v1/core/workspace/workspace_grpc_pb.js +101 -0
- package/prisca/v1/core/workspace/workspace_pb.js +1381 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +22 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +182 -0
package/package.json
CHANGED
|
@@ -208,7 +208,10 @@ message: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
|
208
208
|
sender: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
209
209
|
receiver: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
210
210
|
createdAt: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
211
|
-
documentReferencesId: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
211
|
+
documentReferencesId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
212
|
+
senderEmail: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
213
|
+
senderName: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
214
|
+
senderDomain: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
212
215
|
};
|
|
213
216
|
|
|
214
217
|
if (includeInstance) {
|
|
@@ -269,6 +272,18 @@ proto.Message.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
269
272
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
270
273
|
msg.setDocumentReferencesId(value);
|
|
271
274
|
break;
|
|
275
|
+
case 7:
|
|
276
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
277
|
+
msg.setSenderEmail(value);
|
|
278
|
+
break;
|
|
279
|
+
case 8:
|
|
280
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
281
|
+
msg.setSenderName(value);
|
|
282
|
+
break;
|
|
283
|
+
case 9:
|
|
284
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
285
|
+
msg.setSenderDomain(value);
|
|
286
|
+
break;
|
|
272
287
|
default:
|
|
273
288
|
reader.skipField();
|
|
274
289
|
break;
|
|
@@ -340,6 +355,27 @@ proto.Message.serializeBinaryToWriter = function(message, writer) {
|
|
|
340
355
|
f
|
|
341
356
|
);
|
|
342
357
|
}
|
|
358
|
+
f = message.getSenderEmail();
|
|
359
|
+
if (f.length > 0) {
|
|
360
|
+
writer.writeString(
|
|
361
|
+
7,
|
|
362
|
+
f
|
|
363
|
+
);
|
|
364
|
+
}
|
|
365
|
+
f = message.getSenderName();
|
|
366
|
+
if (f.length > 0) {
|
|
367
|
+
writer.writeString(
|
|
368
|
+
8,
|
|
369
|
+
f
|
|
370
|
+
);
|
|
371
|
+
}
|
|
372
|
+
f = message.getSenderDomain();
|
|
373
|
+
if (f.length > 0) {
|
|
374
|
+
writer.writeString(
|
|
375
|
+
9,
|
|
376
|
+
f
|
|
377
|
+
);
|
|
378
|
+
}
|
|
343
379
|
};
|
|
344
380
|
|
|
345
381
|
|
|
@@ -451,6 +487,60 @@ proto.Message.prototype.setDocumentReferencesId = function(value) {
|
|
|
451
487
|
};
|
|
452
488
|
|
|
453
489
|
|
|
490
|
+
/**
|
|
491
|
+
* optional string sender_email = 7;
|
|
492
|
+
* @return {string}
|
|
493
|
+
*/
|
|
494
|
+
proto.Message.prototype.getSenderEmail = function() {
|
|
495
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
496
|
+
};
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* @param {string} value
|
|
501
|
+
* @return {!proto.Message} returns this
|
|
502
|
+
*/
|
|
503
|
+
proto.Message.prototype.setSenderEmail = function(value) {
|
|
504
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
505
|
+
};
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* optional string sender_name = 8;
|
|
510
|
+
* @return {string}
|
|
511
|
+
*/
|
|
512
|
+
proto.Message.prototype.getSenderName = function() {
|
|
513
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
514
|
+
};
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* @param {string} value
|
|
519
|
+
* @return {!proto.Message} returns this
|
|
520
|
+
*/
|
|
521
|
+
proto.Message.prototype.setSenderName = function(value) {
|
|
522
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
523
|
+
};
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* optional string sender_domain = 9;
|
|
528
|
+
* @return {string}
|
|
529
|
+
*/
|
|
530
|
+
proto.Message.prototype.getSenderDomain = function() {
|
|
531
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
532
|
+
};
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* @param {string} value
|
|
537
|
+
* @return {!proto.Message} returns this
|
|
538
|
+
*/
|
|
539
|
+
proto.Message.prototype.setSenderDomain = function(value) {
|
|
540
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
541
|
+
};
|
|
542
|
+
|
|
543
|
+
|
|
454
544
|
|
|
455
545
|
|
|
456
546
|
|
|
@@ -485,7 +575,10 @@ proto.Room.toObject = function(includeInstance, msg) {
|
|
|
485
575
|
var f, obj = {
|
|
486
576
|
roomId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
487
577
|
documentReferencesId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
488
|
-
documentType: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
578
|
+
documentType: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
579
|
+
lastMessage: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
580
|
+
sender: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
581
|
+
senderDomain: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
489
582
|
};
|
|
490
583
|
|
|
491
584
|
if (includeInstance) {
|
|
@@ -534,6 +627,18 @@ proto.Room.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
534
627
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
535
628
|
msg.setDocumentType(value);
|
|
536
629
|
break;
|
|
630
|
+
case 4:
|
|
631
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
632
|
+
msg.setLastMessage(value);
|
|
633
|
+
break;
|
|
634
|
+
case 5:
|
|
635
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
636
|
+
msg.setSender(value);
|
|
637
|
+
break;
|
|
638
|
+
case 6:
|
|
639
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
640
|
+
msg.setSenderDomain(value);
|
|
641
|
+
break;
|
|
537
642
|
default:
|
|
538
643
|
reader.skipField();
|
|
539
644
|
break;
|
|
@@ -584,6 +689,27 @@ proto.Room.serializeBinaryToWriter = function(message, writer) {
|
|
|
584
689
|
f
|
|
585
690
|
);
|
|
586
691
|
}
|
|
692
|
+
f = message.getLastMessage();
|
|
693
|
+
if (f.length > 0) {
|
|
694
|
+
writer.writeString(
|
|
695
|
+
4,
|
|
696
|
+
f
|
|
697
|
+
);
|
|
698
|
+
}
|
|
699
|
+
f = message.getSender();
|
|
700
|
+
if (f.length > 0) {
|
|
701
|
+
writer.writeString(
|
|
702
|
+
5,
|
|
703
|
+
f
|
|
704
|
+
);
|
|
705
|
+
}
|
|
706
|
+
f = message.getSenderDomain();
|
|
707
|
+
if (f.length > 0) {
|
|
708
|
+
writer.writeString(
|
|
709
|
+
6,
|
|
710
|
+
f
|
|
711
|
+
);
|
|
712
|
+
}
|
|
587
713
|
};
|
|
588
714
|
|
|
589
715
|
|
|
@@ -641,6 +767,60 @@ proto.Room.prototype.setDocumentType = function(value) {
|
|
|
641
767
|
};
|
|
642
768
|
|
|
643
769
|
|
|
770
|
+
/**
|
|
771
|
+
* optional string last_message = 4;
|
|
772
|
+
* @return {string}
|
|
773
|
+
*/
|
|
774
|
+
proto.Room.prototype.getLastMessage = function() {
|
|
775
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
776
|
+
};
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* @param {string} value
|
|
781
|
+
* @return {!proto.Room} returns this
|
|
782
|
+
*/
|
|
783
|
+
proto.Room.prototype.setLastMessage = function(value) {
|
|
784
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
785
|
+
};
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* optional string sender = 5;
|
|
790
|
+
* @return {string}
|
|
791
|
+
*/
|
|
792
|
+
proto.Room.prototype.getSender = function() {
|
|
793
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
794
|
+
};
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* @param {string} value
|
|
799
|
+
* @return {!proto.Room} returns this
|
|
800
|
+
*/
|
|
801
|
+
proto.Room.prototype.setSender = function(value) {
|
|
802
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
803
|
+
};
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
/**
|
|
807
|
+
* optional string sender_domain = 6;
|
|
808
|
+
* @return {string}
|
|
809
|
+
*/
|
|
810
|
+
proto.Room.prototype.getSenderDomain = function() {
|
|
811
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
812
|
+
};
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* @param {string} value
|
|
817
|
+
* @return {!proto.Room} returns this
|
|
818
|
+
*/
|
|
819
|
+
proto.Room.prototype.setSenderDomain = function(value) {
|
|
820
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
821
|
+
};
|
|
822
|
+
|
|
823
|
+
|
|
644
824
|
|
|
645
825
|
|
|
646
826
|
|
|
@@ -1023,8 +1203,7 @@ proto.ListRoomChatRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
1023
1203
|
*/
|
|
1024
1204
|
proto.ListRoomChatRequest.toObject = function(includeInstance, msg) {
|
|
1025
1205
|
var f, obj = {
|
|
1026
|
-
|
|
1027
|
-
userReferencesId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1206
|
+
documentReferencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1028
1207
|
};
|
|
1029
1208
|
|
|
1030
1209
|
if (includeInstance) {
|
|
@@ -1063,11 +1242,7 @@ proto.ListRoomChatRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1063
1242
|
switch (field) {
|
|
1064
1243
|
case 1:
|
|
1065
1244
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1066
|
-
msg.
|
|
1067
|
-
break;
|
|
1068
|
-
case 2:
|
|
1069
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1070
|
-
msg.setUserReferencesId(value);
|
|
1245
|
+
msg.setDocumentReferencesId(value);
|
|
1071
1246
|
break;
|
|
1072
1247
|
default:
|
|
1073
1248
|
reader.skipField();
|
|
@@ -1098,28 +1273,21 @@ proto.ListRoomChatRequest.prototype.serializeBinary = function() {
|
|
|
1098
1273
|
*/
|
|
1099
1274
|
proto.ListRoomChatRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1100
1275
|
var f = undefined;
|
|
1101
|
-
f = message.
|
|
1276
|
+
f = message.getDocumentReferencesId();
|
|
1102
1277
|
if (f.length > 0) {
|
|
1103
1278
|
writer.writeString(
|
|
1104
1279
|
1,
|
|
1105
1280
|
f
|
|
1106
1281
|
);
|
|
1107
1282
|
}
|
|
1108
|
-
f = message.getUserReferencesId();
|
|
1109
|
-
if (f.length > 0) {
|
|
1110
|
-
writer.writeString(
|
|
1111
|
-
2,
|
|
1112
|
-
f
|
|
1113
|
-
);
|
|
1114
|
-
}
|
|
1115
1283
|
};
|
|
1116
1284
|
|
|
1117
1285
|
|
|
1118
1286
|
/**
|
|
1119
|
-
* optional string
|
|
1287
|
+
* optional string document_references_id = 1;
|
|
1120
1288
|
* @return {string}
|
|
1121
1289
|
*/
|
|
1122
|
-
proto.ListRoomChatRequest.prototype.
|
|
1290
|
+
proto.ListRoomChatRequest.prototype.getDocumentReferencesId = function() {
|
|
1123
1291
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1124
1292
|
};
|
|
1125
1293
|
|
|
@@ -1128,29 +1296,11 @@ proto.ListRoomChatRequest.prototype.getCompaniesReferencesId = function() {
|
|
|
1128
1296
|
* @param {string} value
|
|
1129
1297
|
* @return {!proto.ListRoomChatRequest} returns this
|
|
1130
1298
|
*/
|
|
1131
|
-
proto.ListRoomChatRequest.prototype.
|
|
1299
|
+
proto.ListRoomChatRequest.prototype.setDocumentReferencesId = function(value) {
|
|
1132
1300
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1133
1301
|
};
|
|
1134
1302
|
|
|
1135
1303
|
|
|
1136
|
-
/**
|
|
1137
|
-
* optional string user_references_id = 2;
|
|
1138
|
-
* @return {string}
|
|
1139
|
-
*/
|
|
1140
|
-
proto.ListRoomChatRequest.prototype.getUserReferencesId = function() {
|
|
1141
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1142
|
-
};
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
/**
|
|
1146
|
-
* @param {string} value
|
|
1147
|
-
* @return {!proto.ListRoomChatRequest} returns this
|
|
1148
|
-
*/
|
|
1149
|
-
proto.ListRoomChatRequest.prototype.setUserReferencesId = function(value) {
|
|
1150
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1151
|
-
};
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
1304
|
|
|
1155
1305
|
/**
|
|
1156
1306
|
* List of repeated fields within this message type.
|
|
@@ -1401,8 +1551,9 @@ proto.ListRoomChatResponse.prototype.toObject = function(opt_includeInstance) {
|
|
|
1401
1551
|
*/
|
|
1402
1552
|
proto.ListRoomChatResponse.toObject = function(includeInstance, msg) {
|
|
1403
1553
|
var f, obj = {
|
|
1404
|
-
|
|
1405
|
-
proto.
|
|
1554
|
+
roomListList: jspb.Message.toObjectList(msg.getRoomListList(),
|
|
1555
|
+
proto.Message.toObject, includeInstance),
|
|
1556
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
1406
1557
|
};
|
|
1407
1558
|
|
|
1408
1559
|
if (includeInstance) {
|
|
@@ -1440,9 +1591,14 @@ proto.ListRoomChatResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1440
1591
|
var field = reader.getFieldNumber();
|
|
1441
1592
|
switch (field) {
|
|
1442
1593
|
case 1:
|
|
1443
|
-
var value = new proto.
|
|
1444
|
-
reader.readMessage(value,proto.
|
|
1445
|
-
msg.
|
|
1594
|
+
var value = new proto.Message;
|
|
1595
|
+
reader.readMessage(value,proto.Message.deserializeBinaryFromReader);
|
|
1596
|
+
msg.addRoomList(value);
|
|
1597
|
+
break;
|
|
1598
|
+
case 2:
|
|
1599
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
1600
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
1601
|
+
msg.setMeta(value);
|
|
1446
1602
|
break;
|
|
1447
1603
|
default:
|
|
1448
1604
|
reader.skipField();
|
|
@@ -1473,43 +1629,51 @@ proto.ListRoomChatResponse.prototype.serializeBinary = function() {
|
|
|
1473
1629
|
*/
|
|
1474
1630
|
proto.ListRoomChatResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1475
1631
|
var f = undefined;
|
|
1476
|
-
f = message.
|
|
1632
|
+
f = message.getRoomListList();
|
|
1477
1633
|
if (f.length > 0) {
|
|
1478
1634
|
writer.writeRepeatedMessage(
|
|
1479
1635
|
1,
|
|
1480
1636
|
f,
|
|
1481
|
-
proto.
|
|
1637
|
+
proto.Message.serializeBinaryToWriter
|
|
1638
|
+
);
|
|
1639
|
+
}
|
|
1640
|
+
f = message.getMeta();
|
|
1641
|
+
if (f != null) {
|
|
1642
|
+
writer.writeMessage(
|
|
1643
|
+
2,
|
|
1644
|
+
f,
|
|
1645
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
1482
1646
|
);
|
|
1483
1647
|
}
|
|
1484
1648
|
};
|
|
1485
1649
|
|
|
1486
1650
|
|
|
1487
1651
|
/**
|
|
1488
|
-
* repeated
|
|
1489
|
-
* @return {!Array<!proto.
|
|
1652
|
+
* repeated Message room_list = 1;
|
|
1653
|
+
* @return {!Array<!proto.Message>}
|
|
1490
1654
|
*/
|
|
1491
|
-
proto.ListRoomChatResponse.prototype.
|
|
1492
|
-
return /** @type{!Array<!proto.
|
|
1493
|
-
jspb.Message.getRepeatedWrapperField(this, proto.
|
|
1655
|
+
proto.ListRoomChatResponse.prototype.getRoomListList = function() {
|
|
1656
|
+
return /** @type{!Array<!proto.Message>} */ (
|
|
1657
|
+
jspb.Message.getRepeatedWrapperField(this, proto.Message, 1));
|
|
1494
1658
|
};
|
|
1495
1659
|
|
|
1496
1660
|
|
|
1497
1661
|
/**
|
|
1498
|
-
* @param {!Array<!proto.
|
|
1662
|
+
* @param {!Array<!proto.Message>} value
|
|
1499
1663
|
* @return {!proto.ListRoomChatResponse} returns this
|
|
1500
1664
|
*/
|
|
1501
|
-
proto.ListRoomChatResponse.prototype.
|
|
1665
|
+
proto.ListRoomChatResponse.prototype.setRoomListList = function(value) {
|
|
1502
1666
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
1503
1667
|
};
|
|
1504
1668
|
|
|
1505
1669
|
|
|
1506
1670
|
/**
|
|
1507
|
-
* @param {!proto.
|
|
1671
|
+
* @param {!proto.Message=} opt_value
|
|
1508
1672
|
* @param {number=} opt_index
|
|
1509
|
-
* @return {!proto.
|
|
1673
|
+
* @return {!proto.Message}
|
|
1510
1674
|
*/
|
|
1511
|
-
proto.ListRoomChatResponse.prototype.
|
|
1512
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.
|
|
1675
|
+
proto.ListRoomChatResponse.prototype.addRoomList = function(opt_value, opt_index) {
|
|
1676
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Message, opt_index);
|
|
1513
1677
|
};
|
|
1514
1678
|
|
|
1515
1679
|
|
|
@@ -1517,8 +1681,45 @@ proto.ListRoomChatResponse.prototype.addRoom = function(opt_value, opt_index) {
|
|
|
1517
1681
|
* Clears the list making it empty but non-null.
|
|
1518
1682
|
* @return {!proto.ListRoomChatResponse} returns this
|
|
1519
1683
|
*/
|
|
1520
|
-
proto.ListRoomChatResponse.prototype.
|
|
1521
|
-
return this.
|
|
1684
|
+
proto.ListRoomChatResponse.prototype.clearRoomListList = function() {
|
|
1685
|
+
return this.setRoomListList([]);
|
|
1686
|
+
};
|
|
1687
|
+
|
|
1688
|
+
|
|
1689
|
+
/**
|
|
1690
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
1691
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
1692
|
+
*/
|
|
1693
|
+
proto.ListRoomChatResponse.prototype.getMeta = function() {
|
|
1694
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
1695
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
1696
|
+
};
|
|
1697
|
+
|
|
1698
|
+
|
|
1699
|
+
/**
|
|
1700
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
1701
|
+
* @return {!proto.ListRoomChatResponse} returns this
|
|
1702
|
+
*/
|
|
1703
|
+
proto.ListRoomChatResponse.prototype.setMeta = function(value) {
|
|
1704
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
1705
|
+
};
|
|
1706
|
+
|
|
1707
|
+
|
|
1708
|
+
/**
|
|
1709
|
+
* Clears the message field making it undefined.
|
|
1710
|
+
* @return {!proto.ListRoomChatResponse} returns this
|
|
1711
|
+
*/
|
|
1712
|
+
proto.ListRoomChatResponse.prototype.clearMeta = function() {
|
|
1713
|
+
return this.setMeta(undefined);
|
|
1714
|
+
};
|
|
1715
|
+
|
|
1716
|
+
|
|
1717
|
+
/**
|
|
1718
|
+
* Returns whether this field is set.
|
|
1719
|
+
* @return {boolean}
|
|
1720
|
+
*/
|
|
1721
|
+
proto.ListRoomChatResponse.prototype.hasMeta = function() {
|
|
1722
|
+
return jspb.Message.getField(this, 2) != null;
|
|
1522
1723
|
};
|
|
1523
1724
|
|
|
1524
1725
|
|
|
@@ -105,6 +105,17 @@ function deserialize_GetListLineOfApprovalResponse(buffer_arg) {
|
|
|
105
105
|
return prisca_v1_core_line_of_approval_line_of_approval_pb.GetListLineOfApprovalResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
+
function serialize_GetVendorLineOfApprovalResponse(arg) {
|
|
109
|
+
if (!(arg instanceof prisca_v1_core_line_of_approval_line_of_approval_pb.GetVendorLineOfApprovalResponse)) {
|
|
110
|
+
throw new Error('Expected argument of type GetVendorLineOfApprovalResponse');
|
|
111
|
+
}
|
|
112
|
+
return Buffer.from(arg.serializeBinary());
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
function deserialize_GetVendorLineOfApprovalResponse(buffer_arg) {
|
|
116
|
+
return prisca_v1_core_line_of_approval_line_of_approval_pb.GetVendorLineOfApprovalResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
117
|
+
}
|
|
118
|
+
|
|
108
119
|
function serialize_UpdateLineOfApprovalRequest(arg) {
|
|
109
120
|
if (!(arg instanceof prisca_v1_core_line_of_approval_line_of_approval_pb.UpdateLineOfApprovalRequest)) {
|
|
110
121
|
throw new Error('Expected argument of type UpdateLineOfApprovalRequest');
|
|
@@ -195,6 +206,17 @@ var LineOfApprovalServiceService = exports.LineOfApprovalServiceService = {
|
|
|
195
206
|
responseSerialize: serialize_GetListAllLineOfApprovalResponse,
|
|
196
207
|
responseDeserialize: deserialize_GetListAllLineOfApprovalResponse,
|
|
197
208
|
},
|
|
209
|
+
getVendorLineOfApproval: {
|
|
210
|
+
path: '/LineOfApprovalService/GetVendorLineOfApproval',
|
|
211
|
+
requestStream: false,
|
|
212
|
+
responseStream: false,
|
|
213
|
+
requestType: prisca_v1_core_line_of_approval_line_of_approval_pb.GetLineOfApprovalByIdRequest,
|
|
214
|
+
responseType: prisca_v1_core_line_of_approval_line_of_approval_pb.GetVendorLineOfApprovalResponse,
|
|
215
|
+
requestSerialize: serialize_GetLineOfApprovalByIdRequest,
|
|
216
|
+
requestDeserialize: deserialize_GetLineOfApprovalByIdRequest,
|
|
217
|
+
responseSerialize: serialize_GetVendorLineOfApprovalResponse,
|
|
218
|
+
responseDeserialize: deserialize_GetVendorLineOfApprovalResponse,
|
|
219
|
+
},
|
|
198
220
|
};
|
|
199
221
|
|
|
200
222
|
exports.LineOfApprovalServiceClient = grpc.makeGenericClientConstructor(LineOfApprovalServiceService, 'LineOfApprovalService');
|