@aldiokta/protocgen 1.0.40 → 1.0.42
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/account_assignment/account_assignment_grpc_pb.js +55 -55
- package/prisca/v1/account_assignment/account_assignment_pb.js +396 -396
- package/prisca/v1/core/material/material_pb.js +31 -1
- package/prisca/v1/core/material_type/material_type_grpc_pb.js +1 -0
- package/prisca/v1/core/material_type/material_type_pb.js +118 -125
- package/prisca/v1/core/number_range/number_range_pb.js +124 -64
- package/prisca/v1/document_type/document_type_grpc_pb.js +178 -0
- package/prisca/v1/document_type/document_type_pb.js +2746 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +1 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +145 -2
- package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +177 -0
- package/prisca/v1/purchasing_group/purchasing_group_pb.js +2340 -0
- package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +144 -0
- package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +2400 -0
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +145 -0
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +2393 -0
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +145 -0
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +2363 -0
|
@@ -326,8 +326,9 @@ toNumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
|
326
326
|
rangeStatus: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
327
327
|
external: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
328
328
|
referencesId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
329
|
-
|
|
330
|
-
|
|
329
|
+
numberRangeType: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
330
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
331
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
331
332
|
};
|
|
332
333
|
|
|
333
334
|
if (includeInstance) {
|
|
@@ -394,9 +395,13 @@ proto.NumberRange.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
394
395
|
break;
|
|
395
396
|
case 8:
|
|
396
397
|
var value = /** @type {string} */ (reader.readString());
|
|
397
|
-
msg.
|
|
398
|
+
msg.setNumberRangeType(value);
|
|
398
399
|
break;
|
|
399
400
|
case 9:
|
|
401
|
+
var value = /** @type {string} */ (reader.readString());
|
|
402
|
+
msg.setCreatedAt(value);
|
|
403
|
+
break;
|
|
404
|
+
case 10:
|
|
400
405
|
var value = /** @type {string} */ (reader.readString());
|
|
401
406
|
msg.setUpdatedAt(value);
|
|
402
407
|
break;
|
|
@@ -478,20 +483,27 @@ proto.NumberRange.serializeBinaryToWriter = function(message, writer) {
|
|
|
478
483
|
f
|
|
479
484
|
);
|
|
480
485
|
}
|
|
481
|
-
f = message.
|
|
486
|
+
f = message.getNumberRangeType();
|
|
482
487
|
if (f.length > 0) {
|
|
483
488
|
writer.writeString(
|
|
484
489
|
8,
|
|
485
490
|
f
|
|
486
491
|
);
|
|
487
492
|
}
|
|
488
|
-
f = message.
|
|
493
|
+
f = message.getCreatedAt();
|
|
489
494
|
if (f.length > 0) {
|
|
490
495
|
writer.writeString(
|
|
491
496
|
9,
|
|
492
497
|
f
|
|
493
498
|
);
|
|
494
499
|
}
|
|
500
|
+
f = message.getUpdatedAt();
|
|
501
|
+
if (f.length > 0) {
|
|
502
|
+
writer.writeString(
|
|
503
|
+
10,
|
|
504
|
+
f
|
|
505
|
+
);
|
|
506
|
+
}
|
|
495
507
|
};
|
|
496
508
|
|
|
497
509
|
|
|
@@ -622,10 +634,10 @@ proto.NumberRange.prototype.setReferencesId = function(value) {
|
|
|
622
634
|
|
|
623
635
|
|
|
624
636
|
/**
|
|
625
|
-
* optional string
|
|
637
|
+
* optional string number_range_type = 8;
|
|
626
638
|
* @return {string}
|
|
627
639
|
*/
|
|
628
|
-
proto.NumberRange.prototype.
|
|
640
|
+
proto.NumberRange.prototype.getNumberRangeType = function() {
|
|
629
641
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
630
642
|
};
|
|
631
643
|
|
|
@@ -634,16 +646,16 @@ proto.NumberRange.prototype.getCreatedAt = function() {
|
|
|
634
646
|
* @param {string} value
|
|
635
647
|
* @return {!proto.NumberRange} returns this
|
|
636
648
|
*/
|
|
637
|
-
proto.NumberRange.prototype.
|
|
649
|
+
proto.NumberRange.prototype.setNumberRangeType = function(value) {
|
|
638
650
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
639
651
|
};
|
|
640
652
|
|
|
641
653
|
|
|
642
654
|
/**
|
|
643
|
-
* optional string
|
|
655
|
+
* optional string created_at = 9;
|
|
644
656
|
* @return {string}
|
|
645
657
|
*/
|
|
646
|
-
proto.NumberRange.prototype.
|
|
658
|
+
proto.NumberRange.prototype.getCreatedAt = function() {
|
|
647
659
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
648
660
|
};
|
|
649
661
|
|
|
@@ -652,11 +664,29 @@ proto.NumberRange.prototype.getUpdatedAt = function() {
|
|
|
652
664
|
* @param {string} value
|
|
653
665
|
* @return {!proto.NumberRange} returns this
|
|
654
666
|
*/
|
|
655
|
-
proto.NumberRange.prototype.
|
|
667
|
+
proto.NumberRange.prototype.setCreatedAt = function(value) {
|
|
656
668
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
657
669
|
};
|
|
658
670
|
|
|
659
671
|
|
|
672
|
+
/**
|
|
673
|
+
* optional string updated_at = 10;
|
|
674
|
+
* @return {string}
|
|
675
|
+
*/
|
|
676
|
+
proto.NumberRange.prototype.getUpdatedAt = function() {
|
|
677
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
678
|
+
};
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* @param {string} value
|
|
683
|
+
* @return {!proto.NumberRange} returns this
|
|
684
|
+
*/
|
|
685
|
+
proto.NumberRange.prototype.setUpdatedAt = function(value) {
|
|
686
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
687
|
+
};
|
|
688
|
+
|
|
689
|
+
|
|
660
690
|
|
|
661
691
|
|
|
662
692
|
|
|
@@ -692,7 +722,8 @@ proto.BaseNumberRangeRequest.toObject = function(includeInstance, msg) {
|
|
|
692
722
|
no: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
693
723
|
fromNumber: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
694
724
|
toNumber: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
695
|
-
external: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
725
|
+
external: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
726
|
+
numberRangeType: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
696
727
|
};
|
|
697
728
|
|
|
698
729
|
if (includeInstance) {
|
|
@@ -745,6 +776,10 @@ proto.BaseNumberRangeRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
745
776
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
746
777
|
msg.setExternal(value);
|
|
747
778
|
break;
|
|
779
|
+
case 5:
|
|
780
|
+
var value = /** @type {string} */ (reader.readString());
|
|
781
|
+
msg.setNumberRangeType(value);
|
|
782
|
+
break;
|
|
748
783
|
default:
|
|
749
784
|
reader.skipField();
|
|
750
785
|
break;
|
|
@@ -802,6 +837,13 @@ proto.BaseNumberRangeRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
802
837
|
f
|
|
803
838
|
);
|
|
804
839
|
}
|
|
840
|
+
f = message.getNumberRangeType();
|
|
841
|
+
if (f.length > 0) {
|
|
842
|
+
writer.writeString(
|
|
843
|
+
5,
|
|
844
|
+
f
|
|
845
|
+
);
|
|
846
|
+
}
|
|
805
847
|
};
|
|
806
848
|
|
|
807
849
|
|
|
@@ -877,6 +919,24 @@ proto.BaseNumberRangeRequest.prototype.setExternal = function(value) {
|
|
|
877
919
|
};
|
|
878
920
|
|
|
879
921
|
|
|
922
|
+
/**
|
|
923
|
+
* optional string number_range_type = 5;
|
|
924
|
+
* @return {string}
|
|
925
|
+
*/
|
|
926
|
+
proto.BaseNumberRangeRequest.prototype.getNumberRangeType = function() {
|
|
927
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
928
|
+
};
|
|
929
|
+
|
|
930
|
+
|
|
931
|
+
/**
|
|
932
|
+
* @param {string} value
|
|
933
|
+
* @return {!proto.BaseNumberRangeRequest} returns this
|
|
934
|
+
*/
|
|
935
|
+
proto.BaseNumberRangeRequest.prototype.setNumberRangeType = function(value) {
|
|
936
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
937
|
+
};
|
|
938
|
+
|
|
939
|
+
|
|
880
940
|
|
|
881
941
|
|
|
882
942
|
|
|
@@ -1060,7 +1120,7 @@ proto.UpdateNumberRangeRequest.prototype.toObject = function(opt_includeInstance
|
|
|
1060
1120
|
*/
|
|
1061
1121
|
proto.UpdateNumberRangeRequest.toObject = function(includeInstance, msg) {
|
|
1062
1122
|
var f, obj = {
|
|
1063
|
-
|
|
1123
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1064
1124
|
baseNumberRange: (f = msg.getBaseNumberRange()) && proto.BaseNumberRangeRequest.toObject(includeInstance, f)
|
|
1065
1125
|
};
|
|
1066
1126
|
|
|
@@ -1099,8 +1159,8 @@ proto.UpdateNumberRangeRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
1099
1159
|
var field = reader.getFieldNumber();
|
|
1100
1160
|
switch (field) {
|
|
1101
1161
|
case 1:
|
|
1102
|
-
var value = /** @type {
|
|
1103
|
-
msg.
|
|
1162
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1163
|
+
msg.setReferencesId(value);
|
|
1104
1164
|
break;
|
|
1105
1165
|
case 2:
|
|
1106
1166
|
var value = new proto.BaseNumberRangeRequest;
|
|
@@ -1136,9 +1196,9 @@ proto.UpdateNumberRangeRequest.prototype.serializeBinary = function() {
|
|
|
1136
1196
|
*/
|
|
1137
1197
|
proto.UpdateNumberRangeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1138
1198
|
var f = undefined;
|
|
1139
|
-
f = message.
|
|
1140
|
-
if (f
|
|
1141
|
-
writer.
|
|
1199
|
+
f = message.getReferencesId();
|
|
1200
|
+
if (f.length > 0) {
|
|
1201
|
+
writer.writeString(
|
|
1142
1202
|
1,
|
|
1143
1203
|
f
|
|
1144
1204
|
);
|
|
@@ -1155,20 +1215,20 @@ proto.UpdateNumberRangeRequest.serializeBinaryToWriter = function(message, write
|
|
|
1155
1215
|
|
|
1156
1216
|
|
|
1157
1217
|
/**
|
|
1158
|
-
* optional
|
|
1159
|
-
* @return {
|
|
1218
|
+
* optional string references_id = 1;
|
|
1219
|
+
* @return {string}
|
|
1160
1220
|
*/
|
|
1161
|
-
proto.UpdateNumberRangeRequest.prototype.
|
|
1162
|
-
return /** @type {
|
|
1221
|
+
proto.UpdateNumberRangeRequest.prototype.getReferencesId = function() {
|
|
1222
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1163
1223
|
};
|
|
1164
1224
|
|
|
1165
1225
|
|
|
1166
1226
|
/**
|
|
1167
|
-
* @param {
|
|
1227
|
+
* @param {string} value
|
|
1168
1228
|
* @return {!proto.UpdateNumberRangeRequest} returns this
|
|
1169
1229
|
*/
|
|
1170
|
-
proto.UpdateNumberRangeRequest.prototype.
|
|
1171
|
-
return jspb.Message.
|
|
1230
|
+
proto.UpdateNumberRangeRequest.prototype.setReferencesId = function(value) {
|
|
1231
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1172
1232
|
};
|
|
1173
1233
|
|
|
1174
1234
|
|
|
@@ -1241,7 +1301,7 @@ proto.DeleteNumberRangeRequest.prototype.toObject = function(opt_includeInstance
|
|
|
1241
1301
|
*/
|
|
1242
1302
|
proto.DeleteNumberRangeRequest.toObject = function(includeInstance, msg) {
|
|
1243
1303
|
var f, obj = {
|
|
1244
|
-
|
|
1304
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1245
1305
|
};
|
|
1246
1306
|
|
|
1247
1307
|
if (includeInstance) {
|
|
@@ -1279,8 +1339,8 @@ proto.DeleteNumberRangeRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
1279
1339
|
var field = reader.getFieldNumber();
|
|
1280
1340
|
switch (field) {
|
|
1281
1341
|
case 1:
|
|
1282
|
-
var value = /** @type {
|
|
1283
|
-
msg.
|
|
1342
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1343
|
+
msg.setReferencesId(value);
|
|
1284
1344
|
break;
|
|
1285
1345
|
default:
|
|
1286
1346
|
reader.skipField();
|
|
@@ -1311,9 +1371,9 @@ proto.DeleteNumberRangeRequest.prototype.serializeBinary = function() {
|
|
|
1311
1371
|
*/
|
|
1312
1372
|
proto.DeleteNumberRangeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1313
1373
|
var f = undefined;
|
|
1314
|
-
f = message.
|
|
1315
|
-
if (f
|
|
1316
|
-
writer.
|
|
1374
|
+
f = message.getReferencesId();
|
|
1375
|
+
if (f.length > 0) {
|
|
1376
|
+
writer.writeString(
|
|
1317
1377
|
1,
|
|
1318
1378
|
f
|
|
1319
1379
|
);
|
|
@@ -1322,20 +1382,20 @@ proto.DeleteNumberRangeRequest.serializeBinaryToWriter = function(message, write
|
|
|
1322
1382
|
|
|
1323
1383
|
|
|
1324
1384
|
/**
|
|
1325
|
-
* optional
|
|
1326
|
-
* @return {
|
|
1385
|
+
* optional string references_id = 1;
|
|
1386
|
+
* @return {string}
|
|
1327
1387
|
*/
|
|
1328
|
-
proto.DeleteNumberRangeRequest.prototype.
|
|
1329
|
-
return /** @type {
|
|
1388
|
+
proto.DeleteNumberRangeRequest.prototype.getReferencesId = function() {
|
|
1389
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1330
1390
|
};
|
|
1331
1391
|
|
|
1332
1392
|
|
|
1333
1393
|
/**
|
|
1334
|
-
* @param {
|
|
1394
|
+
* @param {string} value
|
|
1335
1395
|
* @return {!proto.DeleteNumberRangeRequest} returns this
|
|
1336
1396
|
*/
|
|
1337
|
-
proto.DeleteNumberRangeRequest.prototype.
|
|
1338
|
-
return jspb.Message.
|
|
1397
|
+
proto.DeleteNumberRangeRequest.prototype.setReferencesId = function(value) {
|
|
1398
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1339
1399
|
};
|
|
1340
1400
|
|
|
1341
1401
|
|
|
@@ -1371,7 +1431,7 @@ proto.GetNumberRangeByIdRequest.prototype.toObject = function(opt_includeInstanc
|
|
|
1371
1431
|
*/
|
|
1372
1432
|
proto.GetNumberRangeByIdRequest.toObject = function(includeInstance, msg) {
|
|
1373
1433
|
var f, obj = {
|
|
1374
|
-
|
|
1434
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1375
1435
|
};
|
|
1376
1436
|
|
|
1377
1437
|
if (includeInstance) {
|
|
@@ -1409,8 +1469,8 @@ proto.GetNumberRangeByIdRequest.deserializeBinaryFromReader = function(msg, read
|
|
|
1409
1469
|
var field = reader.getFieldNumber();
|
|
1410
1470
|
switch (field) {
|
|
1411
1471
|
case 1:
|
|
1412
|
-
var value = /** @type {
|
|
1413
|
-
msg.
|
|
1472
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1473
|
+
msg.setReferencesId(value);
|
|
1414
1474
|
break;
|
|
1415
1475
|
default:
|
|
1416
1476
|
reader.skipField();
|
|
@@ -1441,9 +1501,9 @@ proto.GetNumberRangeByIdRequest.prototype.serializeBinary = function() {
|
|
|
1441
1501
|
*/
|
|
1442
1502
|
proto.GetNumberRangeByIdRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1443
1503
|
var f = undefined;
|
|
1444
|
-
f = message.
|
|
1445
|
-
if (f
|
|
1446
|
-
writer.
|
|
1504
|
+
f = message.getReferencesId();
|
|
1505
|
+
if (f.length > 0) {
|
|
1506
|
+
writer.writeString(
|
|
1447
1507
|
1,
|
|
1448
1508
|
f
|
|
1449
1509
|
);
|
|
@@ -1452,20 +1512,20 @@ proto.GetNumberRangeByIdRequest.serializeBinaryToWriter = function(message, writ
|
|
|
1452
1512
|
|
|
1453
1513
|
|
|
1454
1514
|
/**
|
|
1455
|
-
* optional
|
|
1456
|
-
* @return {
|
|
1515
|
+
* optional string references_id = 1;
|
|
1516
|
+
* @return {string}
|
|
1457
1517
|
*/
|
|
1458
|
-
proto.GetNumberRangeByIdRequest.prototype.
|
|
1459
|
-
return /** @type {
|
|
1518
|
+
proto.GetNumberRangeByIdRequest.prototype.getReferencesId = function() {
|
|
1519
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1460
1520
|
};
|
|
1461
1521
|
|
|
1462
1522
|
|
|
1463
1523
|
/**
|
|
1464
|
-
* @param {
|
|
1524
|
+
* @param {string} value
|
|
1465
1525
|
* @return {!proto.GetNumberRangeByIdRequest} returns this
|
|
1466
1526
|
*/
|
|
1467
|
-
proto.GetNumberRangeByIdRequest.prototype.
|
|
1468
|
-
return jspb.Message.
|
|
1527
|
+
proto.GetNumberRangeByIdRequest.prototype.setReferencesId = function(value) {
|
|
1528
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1469
1529
|
};
|
|
1470
1530
|
|
|
1471
1531
|
|
|
@@ -2107,7 +2167,7 @@ proto.DeleteNumberRangeResponse.prototype.toObject = function(opt_includeInstanc
|
|
|
2107
2167
|
*/
|
|
2108
2168
|
proto.DeleteNumberRangeResponse.toObject = function(includeInstance, msg) {
|
|
2109
2169
|
var f, obj = {
|
|
2110
|
-
|
|
2170
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2111
2171
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
2112
2172
|
};
|
|
2113
2173
|
|
|
@@ -2146,8 +2206,8 @@ proto.DeleteNumberRangeResponse.deserializeBinaryFromReader = function(msg, read
|
|
|
2146
2206
|
var field = reader.getFieldNumber();
|
|
2147
2207
|
switch (field) {
|
|
2148
2208
|
case 1:
|
|
2149
|
-
var value = /** @type {
|
|
2150
|
-
msg.
|
|
2209
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2210
|
+
msg.setReferencesId(value);
|
|
2151
2211
|
break;
|
|
2152
2212
|
case 2:
|
|
2153
2213
|
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
@@ -2183,9 +2243,9 @@ proto.DeleteNumberRangeResponse.prototype.serializeBinary = function() {
|
|
|
2183
2243
|
*/
|
|
2184
2244
|
proto.DeleteNumberRangeResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2185
2245
|
var f = undefined;
|
|
2186
|
-
f = message.
|
|
2187
|
-
if (f
|
|
2188
|
-
writer.
|
|
2246
|
+
f = message.getReferencesId();
|
|
2247
|
+
if (f.length > 0) {
|
|
2248
|
+
writer.writeString(
|
|
2189
2249
|
1,
|
|
2190
2250
|
f
|
|
2191
2251
|
);
|
|
@@ -2202,20 +2262,20 @@ proto.DeleteNumberRangeResponse.serializeBinaryToWriter = function(message, writ
|
|
|
2202
2262
|
|
|
2203
2263
|
|
|
2204
2264
|
/**
|
|
2205
|
-
* optional
|
|
2206
|
-
* @return {
|
|
2265
|
+
* optional string references_id = 1;
|
|
2266
|
+
* @return {string}
|
|
2207
2267
|
*/
|
|
2208
|
-
proto.DeleteNumberRangeResponse.prototype.
|
|
2209
|
-
return /** @type {
|
|
2268
|
+
proto.DeleteNumberRangeResponse.prototype.getReferencesId = function() {
|
|
2269
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2210
2270
|
};
|
|
2211
2271
|
|
|
2212
2272
|
|
|
2213
2273
|
/**
|
|
2214
|
-
* @param {
|
|
2274
|
+
* @param {string} value
|
|
2215
2275
|
* @return {!proto.DeleteNumberRangeResponse} returns this
|
|
2216
2276
|
*/
|
|
2217
|
-
proto.DeleteNumberRangeResponse.prototype.
|
|
2218
|
-
return jspb.Message.
|
|
2277
|
+
proto.DeleteNumberRangeResponse.prototype.setReferencesId = function(value) {
|
|
2278
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2219
2279
|
};
|
|
2220
2280
|
|
|
2221
2281
|
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
+
|
|
3
|
+
'use strict';
|
|
4
|
+
var grpc = require('@grpc/grpc-js');
|
|
5
|
+
var prisca_v1_document_type_document_type_pb = require('../../../prisca/v1/document_type/document_type_pb.js');
|
|
6
|
+
var prisca_v1_global_meta_meta_pb = require('../../../prisca/v1/global/meta/meta_pb.js');
|
|
7
|
+
var prisca_v1_core_number_range_number_range_pb = require('../../../prisca/v1/core/number_range/number_range_pb.js');
|
|
8
|
+
|
|
9
|
+
function serialize_CreateDocumentTypeRequest(arg) {
|
|
10
|
+
if (!(arg instanceof prisca_v1_document_type_document_type_pb.CreateDocumentTypeRequest)) {
|
|
11
|
+
throw new Error('Expected argument of type CreateDocumentTypeRequest');
|
|
12
|
+
}
|
|
13
|
+
return Buffer.from(arg.serializeBinary());
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
function deserialize_CreateDocumentTypeRequest(buffer_arg) {
|
|
17
|
+
return prisca_v1_document_type_document_type_pb.CreateDocumentTypeRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
function serialize_CreateDocumentTypeResponse(arg) {
|
|
21
|
+
if (!(arg instanceof prisca_v1_document_type_document_type_pb.CreateDocumentTypeResponse)) {
|
|
22
|
+
throw new Error('Expected argument of type CreateDocumentTypeResponse');
|
|
23
|
+
}
|
|
24
|
+
return Buffer.from(arg.serializeBinary());
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function deserialize_CreateDocumentTypeResponse(buffer_arg) {
|
|
28
|
+
return prisca_v1_document_type_document_type_pb.CreateDocumentTypeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function serialize_DeleteDocumentTypeRequest(arg) {
|
|
32
|
+
if (!(arg instanceof prisca_v1_document_type_document_type_pb.DeleteDocumentTypeRequest)) {
|
|
33
|
+
throw new Error('Expected argument of type DeleteDocumentTypeRequest');
|
|
34
|
+
}
|
|
35
|
+
return Buffer.from(arg.serializeBinary());
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
function deserialize_DeleteDocumentTypeRequest(buffer_arg) {
|
|
39
|
+
return prisca_v1_document_type_document_type_pb.DeleteDocumentTypeRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function serialize_DeleteDocumentTypeResponse(arg) {
|
|
43
|
+
if (!(arg instanceof prisca_v1_document_type_document_type_pb.DeleteDocumentTypeResponse)) {
|
|
44
|
+
throw new Error('Expected argument of type DeleteDocumentTypeResponse');
|
|
45
|
+
}
|
|
46
|
+
return Buffer.from(arg.serializeBinary());
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function deserialize_DeleteDocumentTypeResponse(buffer_arg) {
|
|
50
|
+
return prisca_v1_document_type_document_type_pb.DeleteDocumentTypeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function serialize_GetDocumentTypeByIdRequest(arg) {
|
|
54
|
+
if (!(arg instanceof prisca_v1_document_type_document_type_pb.GetDocumentTypeByIdRequest)) {
|
|
55
|
+
throw new Error('Expected argument of type GetDocumentTypeByIdRequest');
|
|
56
|
+
}
|
|
57
|
+
return Buffer.from(arg.serializeBinary());
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
function deserialize_GetDocumentTypeByIdRequest(buffer_arg) {
|
|
61
|
+
return prisca_v1_document_type_document_type_pb.GetDocumentTypeByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
function serialize_GetDocumentTypeByIdResponse(arg) {
|
|
65
|
+
if (!(arg instanceof prisca_v1_document_type_document_type_pb.GetDocumentTypeByIdResponse)) {
|
|
66
|
+
throw new Error('Expected argument of type GetDocumentTypeByIdResponse');
|
|
67
|
+
}
|
|
68
|
+
return Buffer.from(arg.serializeBinary());
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
function deserialize_GetDocumentTypeByIdResponse(buffer_arg) {
|
|
72
|
+
return prisca_v1_document_type_document_type_pb.GetDocumentTypeByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
function serialize_GetListDocumentTypeRequest(arg) {
|
|
76
|
+
if (!(arg instanceof prisca_v1_document_type_document_type_pb.GetListDocumentTypeRequest)) {
|
|
77
|
+
throw new Error('Expected argument of type GetListDocumentTypeRequest');
|
|
78
|
+
}
|
|
79
|
+
return Buffer.from(arg.serializeBinary());
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
function deserialize_GetListDocumentTypeRequest(buffer_arg) {
|
|
83
|
+
return prisca_v1_document_type_document_type_pb.GetListDocumentTypeRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
function serialize_GetListDocumentTypeResponse(arg) {
|
|
87
|
+
if (!(arg instanceof prisca_v1_document_type_document_type_pb.GetListDocumentTypeResponse)) {
|
|
88
|
+
throw new Error('Expected argument of type GetListDocumentTypeResponse');
|
|
89
|
+
}
|
|
90
|
+
return Buffer.from(arg.serializeBinary());
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
function deserialize_GetListDocumentTypeResponse(buffer_arg) {
|
|
94
|
+
return prisca_v1_document_type_document_type_pb.GetListDocumentTypeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
function serialize_UpdateDocumentTypeRequest(arg) {
|
|
98
|
+
if (!(arg instanceof prisca_v1_document_type_document_type_pb.UpdateDocumentTypeRequest)) {
|
|
99
|
+
throw new Error('Expected argument of type UpdateDocumentTypeRequest');
|
|
100
|
+
}
|
|
101
|
+
return Buffer.from(arg.serializeBinary());
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
function deserialize_UpdateDocumentTypeRequest(buffer_arg) {
|
|
105
|
+
return prisca_v1_document_type_document_type_pb.UpdateDocumentTypeRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
function serialize_UpdateDocumentTypeResponse(arg) {
|
|
109
|
+
if (!(arg instanceof prisca_v1_document_type_document_type_pb.UpdateDocumentTypeResponse)) {
|
|
110
|
+
throw new Error('Expected argument of type UpdateDocumentTypeResponse');
|
|
111
|
+
}
|
|
112
|
+
return Buffer.from(arg.serializeBinary());
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
function deserialize_UpdateDocumentTypeResponse(buffer_arg) {
|
|
116
|
+
return prisca_v1_document_type_document_type_pb.UpdateDocumentTypeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
var DocumentTypeServiceService = exports.DocumentTypeServiceService = {
|
|
121
|
+
createDocumentType: {
|
|
122
|
+
path: '/DocumentTypeService/CreateDocumentType',
|
|
123
|
+
requestStream: false,
|
|
124
|
+
responseStream: false,
|
|
125
|
+
requestType: prisca_v1_document_type_document_type_pb.CreateDocumentTypeRequest,
|
|
126
|
+
responseType: prisca_v1_document_type_document_type_pb.CreateDocumentTypeResponse,
|
|
127
|
+
requestSerialize: serialize_CreateDocumentTypeRequest,
|
|
128
|
+
requestDeserialize: deserialize_CreateDocumentTypeRequest,
|
|
129
|
+
responseSerialize: serialize_CreateDocumentTypeResponse,
|
|
130
|
+
responseDeserialize: deserialize_CreateDocumentTypeResponse,
|
|
131
|
+
},
|
|
132
|
+
updateDocumentType: {
|
|
133
|
+
path: '/DocumentTypeService/UpdateDocumentType',
|
|
134
|
+
requestStream: false,
|
|
135
|
+
responseStream: false,
|
|
136
|
+
requestType: prisca_v1_document_type_document_type_pb.UpdateDocumentTypeRequest,
|
|
137
|
+
responseType: prisca_v1_document_type_document_type_pb.UpdateDocumentTypeResponse,
|
|
138
|
+
requestSerialize: serialize_UpdateDocumentTypeRequest,
|
|
139
|
+
requestDeserialize: deserialize_UpdateDocumentTypeRequest,
|
|
140
|
+
responseSerialize: serialize_UpdateDocumentTypeResponse,
|
|
141
|
+
responseDeserialize: deserialize_UpdateDocumentTypeResponse,
|
|
142
|
+
},
|
|
143
|
+
getDocumentTypeById: {
|
|
144
|
+
path: '/DocumentTypeService/GetDocumentTypeById',
|
|
145
|
+
requestStream: false,
|
|
146
|
+
responseStream: false,
|
|
147
|
+
requestType: prisca_v1_document_type_document_type_pb.GetDocumentTypeByIdRequest,
|
|
148
|
+
responseType: prisca_v1_document_type_document_type_pb.GetDocumentTypeByIdResponse,
|
|
149
|
+
requestSerialize: serialize_GetDocumentTypeByIdRequest,
|
|
150
|
+
requestDeserialize: deserialize_GetDocumentTypeByIdRequest,
|
|
151
|
+
responseSerialize: serialize_GetDocumentTypeByIdResponse,
|
|
152
|
+
responseDeserialize: deserialize_GetDocumentTypeByIdResponse,
|
|
153
|
+
},
|
|
154
|
+
getListDocumentTypes: {
|
|
155
|
+
path: '/DocumentTypeService/GetListDocumentTypes',
|
|
156
|
+
requestStream: false,
|
|
157
|
+
responseStream: false,
|
|
158
|
+
requestType: prisca_v1_document_type_document_type_pb.GetListDocumentTypeRequest,
|
|
159
|
+
responseType: prisca_v1_document_type_document_type_pb.GetListDocumentTypeResponse,
|
|
160
|
+
requestSerialize: serialize_GetListDocumentTypeRequest,
|
|
161
|
+
requestDeserialize: deserialize_GetListDocumentTypeRequest,
|
|
162
|
+
responseSerialize: serialize_GetListDocumentTypeResponse,
|
|
163
|
+
responseDeserialize: deserialize_GetListDocumentTypeResponse,
|
|
164
|
+
},
|
|
165
|
+
deleteDocumentType: {
|
|
166
|
+
path: '/DocumentTypeService/DeleteDocumentType',
|
|
167
|
+
requestStream: false,
|
|
168
|
+
responseStream: false,
|
|
169
|
+
requestType: prisca_v1_document_type_document_type_pb.DeleteDocumentTypeRequest,
|
|
170
|
+
responseType: prisca_v1_document_type_document_type_pb.DeleteDocumentTypeResponse,
|
|
171
|
+
requestSerialize: serialize_DeleteDocumentTypeRequest,
|
|
172
|
+
requestDeserialize: deserialize_DeleteDocumentTypeRequest,
|
|
173
|
+
responseSerialize: serialize_DeleteDocumentTypeResponse,
|
|
174
|
+
responseDeserialize: deserialize_DeleteDocumentTypeResponse,
|
|
175
|
+
},
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
exports.DocumentTypeServiceClient = grpc.makeGenericClientConstructor(DocumentTypeServiceService);
|