@aldiokta/protocgen 1.1.20 → 1.1.22
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/bidding/bidding_grpc_pb.js +97 -8
- package/prisca/v1/bidding/bidding_pb.js +1506 -178
- package/prisca/v1/core/company/company_pb.js +77 -25
- package/prisca/v1/core/employee/employee_pb.js +74 -22
- package/prisca/v1/core/file_upload/file_upload_pb.js +183 -3
- package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +33 -0
- package/prisca/v1/core/incoterm/incoterm_pb.js +407 -0
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +304 -4
- package/prisca/v1/core/job_grade/job_grade_pb.js +80 -28
- package/prisca/v1/core/job_position/job_position_pb.js +74 -22
- package/prisca/v1/core/job_title/job_title_pb.js +80 -28
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +61 -1
- package/prisca/v1/core/material/material_pb.js +74 -22
- package/prisca/v1/core/material_group/material_group_pb.js +77 -25
- package/prisca/v1/core/material_type/material_type_grpc_pb.js +33 -0
- package/prisca/v1/core/material_type/material_type_pb.js +407 -0
- package/prisca/v1/core/number_range/number_range_pb.js +74 -22
- package/prisca/v1/core/organization/organization_pb.js +80 -28
- package/prisca/v1/core/organization_level/organization_level_pb.js +80 -28
- package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +33 -0
- package/prisca/v1/core/price_condition/price_condition_pb.js +407 -0
- package/prisca/v1/core/tax_code/tax_code_pb.js +152 -2
- package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +33 -0
- package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +407 -0
- package/prisca/v1/core/users/users_grpc_pb.js +33 -0
- package/prisca/v1/core/users/users_pb.js +407 -0
- package/prisca/v1/core/work_location/work_location_pb.js +74 -22
- package/prisca/v1/core/workflow/workflow_pb.js +74 -22
- package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +229 -0
- package/prisca/v1/delivery_order/delivery_order_pb.js +4661 -0
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +1 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +35 -0
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +1 -1
- package/prisca/v1/purchase_order/purchase_order_pb.js +464 -404
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +11 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +13 -13
- package/prisca/v1/purchasing_group/purchasing_group_pb.js +80 -28
- package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +33 -0
- package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +407 -0
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +33 -0
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +407 -0
- package/prisca/v1/quotation/quotation_grpc_pb.js +14 -3
- package/prisca/v1/quotation/quotation_pb.js +479 -2
- package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +1 -0
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +262 -4
- package/prisca/v1/valuation/valuation_grpc_pb.js +365 -0
- package/prisca/v1/valuation/valuation_pb.js +7729 -0
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +31 -1
|
@@ -25,6 +25,8 @@ var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/m
|
|
|
25
25
|
goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
|
|
26
26
|
goog.exportSymbol('proto.CreateTermOfPaymentReq', null, global);
|
|
27
27
|
goog.exportSymbol('proto.CreateTermOfPaymentRes', null, global);
|
|
28
|
+
goog.exportSymbol('proto.DeleteTermOfPaymentReq', null, global);
|
|
29
|
+
goog.exportSymbol('proto.DeleteTermOfPaymentRes', null, global);
|
|
28
30
|
goog.exportSymbol('proto.GetListTermOfPaymentReq', null, global);
|
|
29
31
|
goog.exportSymbol('proto.GetListTermOfPaymentRes', null, global);
|
|
30
32
|
goog.exportSymbol('proto.GetSingleTermOfPaymentReq', null, global);
|
|
@@ -137,6 +139,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
137
139
|
*/
|
|
138
140
|
proto.GetSingleTermOfPaymentReq.displayName = 'proto.GetSingleTermOfPaymentReq';
|
|
139
141
|
}
|
|
142
|
+
/**
|
|
143
|
+
* Generated by JsPbCodeGenerator.
|
|
144
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
145
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
146
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
147
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
148
|
+
* valid.
|
|
149
|
+
* @extends {jspb.Message}
|
|
150
|
+
* @constructor
|
|
151
|
+
*/
|
|
152
|
+
proto.DeleteTermOfPaymentReq = function(opt_data) {
|
|
153
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteTermOfPaymentReq.repeatedFields_, null);
|
|
154
|
+
};
|
|
155
|
+
goog.inherits(proto.DeleteTermOfPaymentReq, jspb.Message);
|
|
156
|
+
if (goog.DEBUG && !COMPILED) {
|
|
157
|
+
/**
|
|
158
|
+
* @public
|
|
159
|
+
* @override
|
|
160
|
+
*/
|
|
161
|
+
proto.DeleteTermOfPaymentReq.displayName = 'proto.DeleteTermOfPaymentReq';
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Generated by JsPbCodeGenerator.
|
|
165
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
166
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
167
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
168
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
169
|
+
* valid.
|
|
170
|
+
* @extends {jspb.Message}
|
|
171
|
+
* @constructor
|
|
172
|
+
*/
|
|
173
|
+
proto.DeleteTermOfPaymentRes = function(opt_data) {
|
|
174
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteTermOfPaymentRes.repeatedFields_, null);
|
|
175
|
+
};
|
|
176
|
+
goog.inherits(proto.DeleteTermOfPaymentRes, jspb.Message);
|
|
177
|
+
if (goog.DEBUG && !COMPILED) {
|
|
178
|
+
/**
|
|
179
|
+
* @public
|
|
180
|
+
* @override
|
|
181
|
+
*/
|
|
182
|
+
proto.DeleteTermOfPaymentRes.displayName = 'proto.DeleteTermOfPaymentRes';
|
|
183
|
+
}
|
|
140
184
|
/**
|
|
141
185
|
* Generated by JsPbCodeGenerator.
|
|
142
186
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1286,6 +1330,369 @@ proto.GetSingleTermOfPaymentReq.prototype.setReferencesId = function(value) {
|
|
|
1286
1330
|
|
|
1287
1331
|
|
|
1288
1332
|
|
|
1333
|
+
/**
|
|
1334
|
+
* List of repeated fields within this message type.
|
|
1335
|
+
* @private {!Array<number>}
|
|
1336
|
+
* @const
|
|
1337
|
+
*/
|
|
1338
|
+
proto.DeleteTermOfPaymentReq.repeatedFields_ = [1];
|
|
1339
|
+
|
|
1340
|
+
|
|
1341
|
+
|
|
1342
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1343
|
+
/**
|
|
1344
|
+
* Creates an object representation of this proto.
|
|
1345
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1346
|
+
* Optional fields that are not set will be set to undefined.
|
|
1347
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1348
|
+
* For the list of reserved names please see:
|
|
1349
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1350
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1351
|
+
* JSPB instance for transitional soy proto support:
|
|
1352
|
+
* http://goto/soy-param-migration
|
|
1353
|
+
* @return {!Object}
|
|
1354
|
+
*/
|
|
1355
|
+
proto.DeleteTermOfPaymentReq.prototype.toObject = function(opt_includeInstance) {
|
|
1356
|
+
return proto.DeleteTermOfPaymentReq.toObject(opt_includeInstance, this);
|
|
1357
|
+
};
|
|
1358
|
+
|
|
1359
|
+
|
|
1360
|
+
/**
|
|
1361
|
+
* Static version of the {@see toObject} method.
|
|
1362
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1363
|
+
* the JSPB instance for transitional soy proto support:
|
|
1364
|
+
* http://goto/soy-param-migration
|
|
1365
|
+
* @param {!proto.DeleteTermOfPaymentReq} msg The msg instance to transform.
|
|
1366
|
+
* @return {!Object}
|
|
1367
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1368
|
+
*/
|
|
1369
|
+
proto.DeleteTermOfPaymentReq.toObject = function(includeInstance, msg) {
|
|
1370
|
+
var f, obj = {
|
|
1371
|
+
referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
1372
|
+
};
|
|
1373
|
+
|
|
1374
|
+
if (includeInstance) {
|
|
1375
|
+
obj.$jspbMessageInstance = msg;
|
|
1376
|
+
}
|
|
1377
|
+
return obj;
|
|
1378
|
+
};
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1381
|
+
|
|
1382
|
+
/**
|
|
1383
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1384
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1385
|
+
* @return {!proto.DeleteTermOfPaymentReq}
|
|
1386
|
+
*/
|
|
1387
|
+
proto.DeleteTermOfPaymentReq.deserializeBinary = function(bytes) {
|
|
1388
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1389
|
+
var msg = new proto.DeleteTermOfPaymentReq;
|
|
1390
|
+
return proto.DeleteTermOfPaymentReq.deserializeBinaryFromReader(msg, reader);
|
|
1391
|
+
};
|
|
1392
|
+
|
|
1393
|
+
|
|
1394
|
+
/**
|
|
1395
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1396
|
+
* given reader into the given message object.
|
|
1397
|
+
* @param {!proto.DeleteTermOfPaymentReq} msg The message object to deserialize into.
|
|
1398
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1399
|
+
* @return {!proto.DeleteTermOfPaymentReq}
|
|
1400
|
+
*/
|
|
1401
|
+
proto.DeleteTermOfPaymentReq.deserializeBinaryFromReader = function(msg, reader) {
|
|
1402
|
+
while (reader.nextField()) {
|
|
1403
|
+
if (reader.isEndGroup()) {
|
|
1404
|
+
break;
|
|
1405
|
+
}
|
|
1406
|
+
var field = reader.getFieldNumber();
|
|
1407
|
+
switch (field) {
|
|
1408
|
+
case 1:
|
|
1409
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1410
|
+
msg.addReferenceIds(value);
|
|
1411
|
+
break;
|
|
1412
|
+
default:
|
|
1413
|
+
reader.skipField();
|
|
1414
|
+
break;
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
return msg;
|
|
1418
|
+
};
|
|
1419
|
+
|
|
1420
|
+
|
|
1421
|
+
/**
|
|
1422
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1423
|
+
* @return {!Uint8Array}
|
|
1424
|
+
*/
|
|
1425
|
+
proto.DeleteTermOfPaymentReq.prototype.serializeBinary = function() {
|
|
1426
|
+
var writer = new jspb.BinaryWriter();
|
|
1427
|
+
proto.DeleteTermOfPaymentReq.serializeBinaryToWriter(this, writer);
|
|
1428
|
+
return writer.getResultBuffer();
|
|
1429
|
+
};
|
|
1430
|
+
|
|
1431
|
+
|
|
1432
|
+
/**
|
|
1433
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1434
|
+
* format), writing to the given BinaryWriter.
|
|
1435
|
+
* @param {!proto.DeleteTermOfPaymentReq} message
|
|
1436
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1437
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1438
|
+
*/
|
|
1439
|
+
proto.DeleteTermOfPaymentReq.serializeBinaryToWriter = function(message, writer) {
|
|
1440
|
+
var f = undefined;
|
|
1441
|
+
f = message.getReferenceIdsList();
|
|
1442
|
+
if (f.length > 0) {
|
|
1443
|
+
writer.writeRepeatedString(
|
|
1444
|
+
1,
|
|
1445
|
+
f
|
|
1446
|
+
);
|
|
1447
|
+
}
|
|
1448
|
+
};
|
|
1449
|
+
|
|
1450
|
+
|
|
1451
|
+
/**
|
|
1452
|
+
* repeated string reference_ids = 1;
|
|
1453
|
+
* @return {!Array<string>}
|
|
1454
|
+
*/
|
|
1455
|
+
proto.DeleteTermOfPaymentReq.prototype.getReferenceIdsList = function() {
|
|
1456
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
1457
|
+
};
|
|
1458
|
+
|
|
1459
|
+
|
|
1460
|
+
/**
|
|
1461
|
+
* @param {!Array<string>} value
|
|
1462
|
+
* @return {!proto.DeleteTermOfPaymentReq} returns this
|
|
1463
|
+
*/
|
|
1464
|
+
proto.DeleteTermOfPaymentReq.prototype.setReferenceIdsList = function(value) {
|
|
1465
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
1466
|
+
};
|
|
1467
|
+
|
|
1468
|
+
|
|
1469
|
+
/**
|
|
1470
|
+
* @param {string} value
|
|
1471
|
+
* @param {number=} opt_index
|
|
1472
|
+
* @return {!proto.DeleteTermOfPaymentReq} returns this
|
|
1473
|
+
*/
|
|
1474
|
+
proto.DeleteTermOfPaymentReq.prototype.addReferenceIds = function(value, opt_index) {
|
|
1475
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
1476
|
+
};
|
|
1477
|
+
|
|
1478
|
+
|
|
1479
|
+
/**
|
|
1480
|
+
* Clears the list making it empty but non-null.
|
|
1481
|
+
* @return {!proto.DeleteTermOfPaymentReq} returns this
|
|
1482
|
+
*/
|
|
1483
|
+
proto.DeleteTermOfPaymentReq.prototype.clearReferenceIdsList = function() {
|
|
1484
|
+
return this.setReferenceIdsList([]);
|
|
1485
|
+
};
|
|
1486
|
+
|
|
1487
|
+
|
|
1488
|
+
|
|
1489
|
+
/**
|
|
1490
|
+
* List of repeated fields within this message type.
|
|
1491
|
+
* @private {!Array<number>}
|
|
1492
|
+
* @const
|
|
1493
|
+
*/
|
|
1494
|
+
proto.DeleteTermOfPaymentRes.repeatedFields_ = [1];
|
|
1495
|
+
|
|
1496
|
+
|
|
1497
|
+
|
|
1498
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1499
|
+
/**
|
|
1500
|
+
* Creates an object representation of this proto.
|
|
1501
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1502
|
+
* Optional fields that are not set will be set to undefined.
|
|
1503
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1504
|
+
* For the list of reserved names please see:
|
|
1505
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1506
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1507
|
+
* JSPB instance for transitional soy proto support:
|
|
1508
|
+
* http://goto/soy-param-migration
|
|
1509
|
+
* @return {!Object}
|
|
1510
|
+
*/
|
|
1511
|
+
proto.DeleteTermOfPaymentRes.prototype.toObject = function(opt_includeInstance) {
|
|
1512
|
+
return proto.DeleteTermOfPaymentRes.toObject(opt_includeInstance, this);
|
|
1513
|
+
};
|
|
1514
|
+
|
|
1515
|
+
|
|
1516
|
+
/**
|
|
1517
|
+
* Static version of the {@see toObject} method.
|
|
1518
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1519
|
+
* the JSPB instance for transitional soy proto support:
|
|
1520
|
+
* http://goto/soy-param-migration
|
|
1521
|
+
* @param {!proto.DeleteTermOfPaymentRes} msg The msg instance to transform.
|
|
1522
|
+
* @return {!Object}
|
|
1523
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1524
|
+
*/
|
|
1525
|
+
proto.DeleteTermOfPaymentRes.toObject = function(includeInstance, msg) {
|
|
1526
|
+
var f, obj = {
|
|
1527
|
+
referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
1528
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
1529
|
+
};
|
|
1530
|
+
|
|
1531
|
+
if (includeInstance) {
|
|
1532
|
+
obj.$jspbMessageInstance = msg;
|
|
1533
|
+
}
|
|
1534
|
+
return obj;
|
|
1535
|
+
};
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
|
|
1539
|
+
/**
|
|
1540
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1541
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1542
|
+
* @return {!proto.DeleteTermOfPaymentRes}
|
|
1543
|
+
*/
|
|
1544
|
+
proto.DeleteTermOfPaymentRes.deserializeBinary = function(bytes) {
|
|
1545
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1546
|
+
var msg = new proto.DeleteTermOfPaymentRes;
|
|
1547
|
+
return proto.DeleteTermOfPaymentRes.deserializeBinaryFromReader(msg, reader);
|
|
1548
|
+
};
|
|
1549
|
+
|
|
1550
|
+
|
|
1551
|
+
/**
|
|
1552
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1553
|
+
* given reader into the given message object.
|
|
1554
|
+
* @param {!proto.DeleteTermOfPaymentRes} msg The message object to deserialize into.
|
|
1555
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1556
|
+
* @return {!proto.DeleteTermOfPaymentRes}
|
|
1557
|
+
*/
|
|
1558
|
+
proto.DeleteTermOfPaymentRes.deserializeBinaryFromReader = function(msg, reader) {
|
|
1559
|
+
while (reader.nextField()) {
|
|
1560
|
+
if (reader.isEndGroup()) {
|
|
1561
|
+
break;
|
|
1562
|
+
}
|
|
1563
|
+
var field = reader.getFieldNumber();
|
|
1564
|
+
switch (field) {
|
|
1565
|
+
case 1:
|
|
1566
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1567
|
+
msg.addReferenceIds(value);
|
|
1568
|
+
break;
|
|
1569
|
+
case 2:
|
|
1570
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
1571
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
1572
|
+
msg.setMeta(value);
|
|
1573
|
+
break;
|
|
1574
|
+
default:
|
|
1575
|
+
reader.skipField();
|
|
1576
|
+
break;
|
|
1577
|
+
}
|
|
1578
|
+
}
|
|
1579
|
+
return msg;
|
|
1580
|
+
};
|
|
1581
|
+
|
|
1582
|
+
|
|
1583
|
+
/**
|
|
1584
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1585
|
+
* @return {!Uint8Array}
|
|
1586
|
+
*/
|
|
1587
|
+
proto.DeleteTermOfPaymentRes.prototype.serializeBinary = function() {
|
|
1588
|
+
var writer = new jspb.BinaryWriter();
|
|
1589
|
+
proto.DeleteTermOfPaymentRes.serializeBinaryToWriter(this, writer);
|
|
1590
|
+
return writer.getResultBuffer();
|
|
1591
|
+
};
|
|
1592
|
+
|
|
1593
|
+
|
|
1594
|
+
/**
|
|
1595
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1596
|
+
* format), writing to the given BinaryWriter.
|
|
1597
|
+
* @param {!proto.DeleteTermOfPaymentRes} message
|
|
1598
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1599
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1600
|
+
*/
|
|
1601
|
+
proto.DeleteTermOfPaymentRes.serializeBinaryToWriter = function(message, writer) {
|
|
1602
|
+
var f = undefined;
|
|
1603
|
+
f = message.getReferenceIdsList();
|
|
1604
|
+
if (f.length > 0) {
|
|
1605
|
+
writer.writeRepeatedString(
|
|
1606
|
+
1,
|
|
1607
|
+
f
|
|
1608
|
+
);
|
|
1609
|
+
}
|
|
1610
|
+
f = message.getMeta();
|
|
1611
|
+
if (f != null) {
|
|
1612
|
+
writer.writeMessage(
|
|
1613
|
+
2,
|
|
1614
|
+
f,
|
|
1615
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
1616
|
+
);
|
|
1617
|
+
}
|
|
1618
|
+
};
|
|
1619
|
+
|
|
1620
|
+
|
|
1621
|
+
/**
|
|
1622
|
+
* repeated string reference_ids = 1;
|
|
1623
|
+
* @return {!Array<string>}
|
|
1624
|
+
*/
|
|
1625
|
+
proto.DeleteTermOfPaymentRes.prototype.getReferenceIdsList = function() {
|
|
1626
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
1627
|
+
};
|
|
1628
|
+
|
|
1629
|
+
|
|
1630
|
+
/**
|
|
1631
|
+
* @param {!Array<string>} value
|
|
1632
|
+
* @return {!proto.DeleteTermOfPaymentRes} returns this
|
|
1633
|
+
*/
|
|
1634
|
+
proto.DeleteTermOfPaymentRes.prototype.setReferenceIdsList = function(value) {
|
|
1635
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
1636
|
+
};
|
|
1637
|
+
|
|
1638
|
+
|
|
1639
|
+
/**
|
|
1640
|
+
* @param {string} value
|
|
1641
|
+
* @param {number=} opt_index
|
|
1642
|
+
* @return {!proto.DeleteTermOfPaymentRes} returns this
|
|
1643
|
+
*/
|
|
1644
|
+
proto.DeleteTermOfPaymentRes.prototype.addReferenceIds = function(value, opt_index) {
|
|
1645
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
1646
|
+
};
|
|
1647
|
+
|
|
1648
|
+
|
|
1649
|
+
/**
|
|
1650
|
+
* Clears the list making it empty but non-null.
|
|
1651
|
+
* @return {!proto.DeleteTermOfPaymentRes} returns this
|
|
1652
|
+
*/
|
|
1653
|
+
proto.DeleteTermOfPaymentRes.prototype.clearReferenceIdsList = function() {
|
|
1654
|
+
return this.setReferenceIdsList([]);
|
|
1655
|
+
};
|
|
1656
|
+
|
|
1657
|
+
|
|
1658
|
+
/**
|
|
1659
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
1660
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
1661
|
+
*/
|
|
1662
|
+
proto.DeleteTermOfPaymentRes.prototype.getMeta = function() {
|
|
1663
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
1664
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
1665
|
+
};
|
|
1666
|
+
|
|
1667
|
+
|
|
1668
|
+
/**
|
|
1669
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
1670
|
+
* @return {!proto.DeleteTermOfPaymentRes} returns this
|
|
1671
|
+
*/
|
|
1672
|
+
proto.DeleteTermOfPaymentRes.prototype.setMeta = function(value) {
|
|
1673
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
1674
|
+
};
|
|
1675
|
+
|
|
1676
|
+
|
|
1677
|
+
/**
|
|
1678
|
+
* Clears the message field making it undefined.
|
|
1679
|
+
* @return {!proto.DeleteTermOfPaymentRes} returns this
|
|
1680
|
+
*/
|
|
1681
|
+
proto.DeleteTermOfPaymentRes.prototype.clearMeta = function() {
|
|
1682
|
+
return this.setMeta(undefined);
|
|
1683
|
+
};
|
|
1684
|
+
|
|
1685
|
+
|
|
1686
|
+
/**
|
|
1687
|
+
* Returns whether this field is set.
|
|
1688
|
+
* @return {boolean}
|
|
1689
|
+
*/
|
|
1690
|
+
proto.DeleteTermOfPaymentRes.prototype.hasMeta = function() {
|
|
1691
|
+
return jspb.Message.getField(this, 2) != null;
|
|
1692
|
+
};
|
|
1693
|
+
|
|
1694
|
+
|
|
1695
|
+
|
|
1289
1696
|
|
|
1290
1697
|
|
|
1291
1698
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -5,6 +5,28 @@ var grpc = require('@grpc/grpc-js');
|
|
|
5
5
|
var prisca_v1_core_users_users_pb = require('../../../../prisca/v1/core/users/users_pb.js');
|
|
6
6
|
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
7
7
|
|
|
8
|
+
function serialize_DeleteUserRequest(arg) {
|
|
9
|
+
if (!(arg instanceof prisca_v1_core_users_users_pb.DeleteUserRequest)) {
|
|
10
|
+
throw new Error('Expected argument of type DeleteUserRequest');
|
|
11
|
+
}
|
|
12
|
+
return Buffer.from(arg.serializeBinary());
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function deserialize_DeleteUserRequest(buffer_arg) {
|
|
16
|
+
return prisca_v1_core_users_users_pb.DeleteUserRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function serialize_DeleteUserResponse(arg) {
|
|
20
|
+
if (!(arg instanceof prisca_v1_core_users_users_pb.DeleteUserResponse)) {
|
|
21
|
+
throw new Error('Expected argument of type DeleteUserResponse');
|
|
22
|
+
}
|
|
23
|
+
return Buffer.from(arg.serializeBinary());
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
function deserialize_DeleteUserResponse(buffer_arg) {
|
|
27
|
+
return prisca_v1_core_users_users_pb.DeleteUserResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
28
|
+
}
|
|
29
|
+
|
|
8
30
|
function serialize_UpdateUserRequest(arg) {
|
|
9
31
|
if (!(arg instanceof prisca_v1_core_users_users_pb.UpdateUserRequest)) {
|
|
10
32
|
throw new Error('Expected argument of type UpdateUserRequest');
|
|
@@ -40,6 +62,17 @@ var UserServiceService = exports.UserServiceService = {
|
|
|
40
62
|
responseSerialize: serialize_UpdateUserResponse,
|
|
41
63
|
responseDeserialize: deserialize_UpdateUserResponse,
|
|
42
64
|
},
|
|
65
|
+
deleteUser: {
|
|
66
|
+
path: '/UserService/DeleteUser',
|
|
67
|
+
requestStream: false,
|
|
68
|
+
responseStream: false,
|
|
69
|
+
requestType: prisca_v1_core_users_users_pb.DeleteUserRequest,
|
|
70
|
+
responseType: prisca_v1_core_users_users_pb.DeleteUserResponse,
|
|
71
|
+
requestSerialize: serialize_DeleteUserRequest,
|
|
72
|
+
requestDeserialize: deserialize_DeleteUserRequest,
|
|
73
|
+
responseSerialize: serialize_DeleteUserResponse,
|
|
74
|
+
responseDeserialize: deserialize_DeleteUserResponse,
|
|
75
|
+
},
|
|
43
76
|
};
|
|
44
77
|
|
|
45
78
|
exports.UserServiceClient = grpc.makeGenericClientConstructor(UserServiceService, 'UserService');
|