@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
|
@@ -27,6 +27,8 @@ var prisca_v1_core_company_company_pb = require('../../../prisca/v1/core/company
|
|
|
27
27
|
goog.object.extend(proto, prisca_v1_core_company_company_pb);
|
|
28
28
|
goog.exportSymbol('proto.CreatePurchasingOrganizationRequest', null, global);
|
|
29
29
|
goog.exportSymbol('proto.CreatePurchasingOrganizationResponse', null, global);
|
|
30
|
+
goog.exportSymbol('proto.DeletePurchasingOrganizationRequest', null, global);
|
|
31
|
+
goog.exportSymbol('proto.DeletePurchasingOrganizationResponse', null, global);
|
|
30
32
|
goog.exportSymbol('proto.GetListPurchasingOrganizationRequest', null, global);
|
|
31
33
|
goog.exportSymbol('proto.GetListPurchasingOrganizationResponse', null, global);
|
|
32
34
|
goog.exportSymbol('proto.PurOrg', null, global);
|
|
@@ -161,6 +163,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
161
163
|
*/
|
|
162
164
|
proto.GetListPurchasingOrganizationRequest.displayName = 'proto.GetListPurchasingOrganizationRequest';
|
|
163
165
|
}
|
|
166
|
+
/**
|
|
167
|
+
* Generated by JsPbCodeGenerator.
|
|
168
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
169
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
170
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
171
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
172
|
+
* valid.
|
|
173
|
+
* @extends {jspb.Message}
|
|
174
|
+
* @constructor
|
|
175
|
+
*/
|
|
176
|
+
proto.DeletePurchasingOrganizationRequest = function(opt_data) {
|
|
177
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.DeletePurchasingOrganizationRequest.repeatedFields_, null);
|
|
178
|
+
};
|
|
179
|
+
goog.inherits(proto.DeletePurchasingOrganizationRequest, jspb.Message);
|
|
180
|
+
if (goog.DEBUG && !COMPILED) {
|
|
181
|
+
/**
|
|
182
|
+
* @public
|
|
183
|
+
* @override
|
|
184
|
+
*/
|
|
185
|
+
proto.DeletePurchasingOrganizationRequest.displayName = 'proto.DeletePurchasingOrganizationRequest';
|
|
186
|
+
}
|
|
164
187
|
/**
|
|
165
188
|
* Generated by JsPbCodeGenerator.
|
|
166
189
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -245,6 +268,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
245
268
|
*/
|
|
246
269
|
proto.PurchasingOrganizationGetByIdResponse.displayName = 'proto.PurchasingOrganizationGetByIdResponse';
|
|
247
270
|
}
|
|
271
|
+
/**
|
|
272
|
+
* Generated by JsPbCodeGenerator.
|
|
273
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
274
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
275
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
276
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
277
|
+
* valid.
|
|
278
|
+
* @extends {jspb.Message}
|
|
279
|
+
* @constructor
|
|
280
|
+
*/
|
|
281
|
+
proto.DeletePurchasingOrganizationResponse = function(opt_data) {
|
|
282
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.DeletePurchasingOrganizationResponse.repeatedFields_, null);
|
|
283
|
+
};
|
|
284
|
+
goog.inherits(proto.DeletePurchasingOrganizationResponse, jspb.Message);
|
|
285
|
+
if (goog.DEBUG && !COMPILED) {
|
|
286
|
+
/**
|
|
287
|
+
* @public
|
|
288
|
+
* @override
|
|
289
|
+
*/
|
|
290
|
+
proto.DeletePurchasingOrganizationResponse.displayName = 'proto.DeletePurchasingOrganizationResponse';
|
|
291
|
+
}
|
|
248
292
|
|
|
249
293
|
|
|
250
294
|
|
|
@@ -1320,6 +1364,162 @@ proto.GetListPurchasingOrganizationRequest.prototype.hasQuery = function() {
|
|
|
1320
1364
|
|
|
1321
1365
|
|
|
1322
1366
|
|
|
1367
|
+
/**
|
|
1368
|
+
* List of repeated fields within this message type.
|
|
1369
|
+
* @private {!Array<number>}
|
|
1370
|
+
* @const
|
|
1371
|
+
*/
|
|
1372
|
+
proto.DeletePurchasingOrganizationRequest.repeatedFields_ = [1];
|
|
1373
|
+
|
|
1374
|
+
|
|
1375
|
+
|
|
1376
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1377
|
+
/**
|
|
1378
|
+
* Creates an object representation of this proto.
|
|
1379
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1380
|
+
* Optional fields that are not set will be set to undefined.
|
|
1381
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1382
|
+
* For the list of reserved names please see:
|
|
1383
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1384
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1385
|
+
* JSPB instance for transitional soy proto support:
|
|
1386
|
+
* http://goto/soy-param-migration
|
|
1387
|
+
* @return {!Object}
|
|
1388
|
+
*/
|
|
1389
|
+
proto.DeletePurchasingOrganizationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1390
|
+
return proto.DeletePurchasingOrganizationRequest.toObject(opt_includeInstance, this);
|
|
1391
|
+
};
|
|
1392
|
+
|
|
1393
|
+
|
|
1394
|
+
/**
|
|
1395
|
+
* Static version of the {@see toObject} method.
|
|
1396
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1397
|
+
* the JSPB instance for transitional soy proto support:
|
|
1398
|
+
* http://goto/soy-param-migration
|
|
1399
|
+
* @param {!proto.DeletePurchasingOrganizationRequest} msg The msg instance to transform.
|
|
1400
|
+
* @return {!Object}
|
|
1401
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1402
|
+
*/
|
|
1403
|
+
proto.DeletePurchasingOrganizationRequest.toObject = function(includeInstance, msg) {
|
|
1404
|
+
var f, obj = {
|
|
1405
|
+
referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
1406
|
+
};
|
|
1407
|
+
|
|
1408
|
+
if (includeInstance) {
|
|
1409
|
+
obj.$jspbMessageInstance = msg;
|
|
1410
|
+
}
|
|
1411
|
+
return obj;
|
|
1412
|
+
};
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1415
|
+
|
|
1416
|
+
/**
|
|
1417
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1418
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1419
|
+
* @return {!proto.DeletePurchasingOrganizationRequest}
|
|
1420
|
+
*/
|
|
1421
|
+
proto.DeletePurchasingOrganizationRequest.deserializeBinary = function(bytes) {
|
|
1422
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1423
|
+
var msg = new proto.DeletePurchasingOrganizationRequest;
|
|
1424
|
+
return proto.DeletePurchasingOrganizationRequest.deserializeBinaryFromReader(msg, reader);
|
|
1425
|
+
};
|
|
1426
|
+
|
|
1427
|
+
|
|
1428
|
+
/**
|
|
1429
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1430
|
+
* given reader into the given message object.
|
|
1431
|
+
* @param {!proto.DeletePurchasingOrganizationRequest} msg The message object to deserialize into.
|
|
1432
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1433
|
+
* @return {!proto.DeletePurchasingOrganizationRequest}
|
|
1434
|
+
*/
|
|
1435
|
+
proto.DeletePurchasingOrganizationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1436
|
+
while (reader.nextField()) {
|
|
1437
|
+
if (reader.isEndGroup()) {
|
|
1438
|
+
break;
|
|
1439
|
+
}
|
|
1440
|
+
var field = reader.getFieldNumber();
|
|
1441
|
+
switch (field) {
|
|
1442
|
+
case 1:
|
|
1443
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1444
|
+
msg.addReferenceIds(value);
|
|
1445
|
+
break;
|
|
1446
|
+
default:
|
|
1447
|
+
reader.skipField();
|
|
1448
|
+
break;
|
|
1449
|
+
}
|
|
1450
|
+
}
|
|
1451
|
+
return msg;
|
|
1452
|
+
};
|
|
1453
|
+
|
|
1454
|
+
|
|
1455
|
+
/**
|
|
1456
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1457
|
+
* @return {!Uint8Array}
|
|
1458
|
+
*/
|
|
1459
|
+
proto.DeletePurchasingOrganizationRequest.prototype.serializeBinary = function() {
|
|
1460
|
+
var writer = new jspb.BinaryWriter();
|
|
1461
|
+
proto.DeletePurchasingOrganizationRequest.serializeBinaryToWriter(this, writer);
|
|
1462
|
+
return writer.getResultBuffer();
|
|
1463
|
+
};
|
|
1464
|
+
|
|
1465
|
+
|
|
1466
|
+
/**
|
|
1467
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1468
|
+
* format), writing to the given BinaryWriter.
|
|
1469
|
+
* @param {!proto.DeletePurchasingOrganizationRequest} message
|
|
1470
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1471
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1472
|
+
*/
|
|
1473
|
+
proto.DeletePurchasingOrganizationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1474
|
+
var f = undefined;
|
|
1475
|
+
f = message.getReferenceIdsList();
|
|
1476
|
+
if (f.length > 0) {
|
|
1477
|
+
writer.writeRepeatedString(
|
|
1478
|
+
1,
|
|
1479
|
+
f
|
|
1480
|
+
);
|
|
1481
|
+
}
|
|
1482
|
+
};
|
|
1483
|
+
|
|
1484
|
+
|
|
1485
|
+
/**
|
|
1486
|
+
* repeated string reference_ids = 1;
|
|
1487
|
+
* @return {!Array<string>}
|
|
1488
|
+
*/
|
|
1489
|
+
proto.DeletePurchasingOrganizationRequest.prototype.getReferenceIdsList = function() {
|
|
1490
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
1491
|
+
};
|
|
1492
|
+
|
|
1493
|
+
|
|
1494
|
+
/**
|
|
1495
|
+
* @param {!Array<string>} value
|
|
1496
|
+
* @return {!proto.DeletePurchasingOrganizationRequest} returns this
|
|
1497
|
+
*/
|
|
1498
|
+
proto.DeletePurchasingOrganizationRequest.prototype.setReferenceIdsList = function(value) {
|
|
1499
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
1500
|
+
};
|
|
1501
|
+
|
|
1502
|
+
|
|
1503
|
+
/**
|
|
1504
|
+
* @param {string} value
|
|
1505
|
+
* @param {number=} opt_index
|
|
1506
|
+
* @return {!proto.DeletePurchasingOrganizationRequest} returns this
|
|
1507
|
+
*/
|
|
1508
|
+
proto.DeletePurchasingOrganizationRequest.prototype.addReferenceIds = function(value, opt_index) {
|
|
1509
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
1510
|
+
};
|
|
1511
|
+
|
|
1512
|
+
|
|
1513
|
+
/**
|
|
1514
|
+
* Clears the list making it empty but non-null.
|
|
1515
|
+
* @return {!proto.DeletePurchasingOrganizationRequest} returns this
|
|
1516
|
+
*/
|
|
1517
|
+
proto.DeletePurchasingOrganizationRequest.prototype.clearReferenceIdsList = function() {
|
|
1518
|
+
return this.setReferenceIdsList([]);
|
|
1519
|
+
};
|
|
1520
|
+
|
|
1521
|
+
|
|
1522
|
+
|
|
1323
1523
|
|
|
1324
1524
|
|
|
1325
1525
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -2136,4 +2336,211 @@ proto.PurchasingOrganizationGetByIdResponse.prototype.hasMeta = function() {
|
|
|
2136
2336
|
};
|
|
2137
2337
|
|
|
2138
2338
|
|
|
2339
|
+
|
|
2340
|
+
/**
|
|
2341
|
+
* List of repeated fields within this message type.
|
|
2342
|
+
* @private {!Array<number>}
|
|
2343
|
+
* @const
|
|
2344
|
+
*/
|
|
2345
|
+
proto.DeletePurchasingOrganizationResponse.repeatedFields_ = [1];
|
|
2346
|
+
|
|
2347
|
+
|
|
2348
|
+
|
|
2349
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2350
|
+
/**
|
|
2351
|
+
* Creates an object representation of this proto.
|
|
2352
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2353
|
+
* Optional fields that are not set will be set to undefined.
|
|
2354
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2355
|
+
* For the list of reserved names please see:
|
|
2356
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2357
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2358
|
+
* JSPB instance for transitional soy proto support:
|
|
2359
|
+
* http://goto/soy-param-migration
|
|
2360
|
+
* @return {!Object}
|
|
2361
|
+
*/
|
|
2362
|
+
proto.DeletePurchasingOrganizationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2363
|
+
return proto.DeletePurchasingOrganizationResponse.toObject(opt_includeInstance, this);
|
|
2364
|
+
};
|
|
2365
|
+
|
|
2366
|
+
|
|
2367
|
+
/**
|
|
2368
|
+
* Static version of the {@see toObject} method.
|
|
2369
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2370
|
+
* the JSPB instance for transitional soy proto support:
|
|
2371
|
+
* http://goto/soy-param-migration
|
|
2372
|
+
* @param {!proto.DeletePurchasingOrganizationResponse} msg The msg instance to transform.
|
|
2373
|
+
* @return {!Object}
|
|
2374
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2375
|
+
*/
|
|
2376
|
+
proto.DeletePurchasingOrganizationResponse.toObject = function(includeInstance, msg) {
|
|
2377
|
+
var f, obj = {
|
|
2378
|
+
referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
2379
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
2380
|
+
};
|
|
2381
|
+
|
|
2382
|
+
if (includeInstance) {
|
|
2383
|
+
obj.$jspbMessageInstance = msg;
|
|
2384
|
+
}
|
|
2385
|
+
return obj;
|
|
2386
|
+
};
|
|
2387
|
+
}
|
|
2388
|
+
|
|
2389
|
+
|
|
2390
|
+
/**
|
|
2391
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2392
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2393
|
+
* @return {!proto.DeletePurchasingOrganizationResponse}
|
|
2394
|
+
*/
|
|
2395
|
+
proto.DeletePurchasingOrganizationResponse.deserializeBinary = function(bytes) {
|
|
2396
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2397
|
+
var msg = new proto.DeletePurchasingOrganizationResponse;
|
|
2398
|
+
return proto.DeletePurchasingOrganizationResponse.deserializeBinaryFromReader(msg, reader);
|
|
2399
|
+
};
|
|
2400
|
+
|
|
2401
|
+
|
|
2402
|
+
/**
|
|
2403
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2404
|
+
* given reader into the given message object.
|
|
2405
|
+
* @param {!proto.DeletePurchasingOrganizationResponse} msg The message object to deserialize into.
|
|
2406
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2407
|
+
* @return {!proto.DeletePurchasingOrganizationResponse}
|
|
2408
|
+
*/
|
|
2409
|
+
proto.DeletePurchasingOrganizationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2410
|
+
while (reader.nextField()) {
|
|
2411
|
+
if (reader.isEndGroup()) {
|
|
2412
|
+
break;
|
|
2413
|
+
}
|
|
2414
|
+
var field = reader.getFieldNumber();
|
|
2415
|
+
switch (field) {
|
|
2416
|
+
case 1:
|
|
2417
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2418
|
+
msg.addReferenceIds(value);
|
|
2419
|
+
break;
|
|
2420
|
+
case 2:
|
|
2421
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
2422
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
2423
|
+
msg.setMeta(value);
|
|
2424
|
+
break;
|
|
2425
|
+
default:
|
|
2426
|
+
reader.skipField();
|
|
2427
|
+
break;
|
|
2428
|
+
}
|
|
2429
|
+
}
|
|
2430
|
+
return msg;
|
|
2431
|
+
};
|
|
2432
|
+
|
|
2433
|
+
|
|
2434
|
+
/**
|
|
2435
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2436
|
+
* @return {!Uint8Array}
|
|
2437
|
+
*/
|
|
2438
|
+
proto.DeletePurchasingOrganizationResponse.prototype.serializeBinary = function() {
|
|
2439
|
+
var writer = new jspb.BinaryWriter();
|
|
2440
|
+
proto.DeletePurchasingOrganizationResponse.serializeBinaryToWriter(this, writer);
|
|
2441
|
+
return writer.getResultBuffer();
|
|
2442
|
+
};
|
|
2443
|
+
|
|
2444
|
+
|
|
2445
|
+
/**
|
|
2446
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2447
|
+
* format), writing to the given BinaryWriter.
|
|
2448
|
+
* @param {!proto.DeletePurchasingOrganizationResponse} message
|
|
2449
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2450
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2451
|
+
*/
|
|
2452
|
+
proto.DeletePurchasingOrganizationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2453
|
+
var f = undefined;
|
|
2454
|
+
f = message.getReferenceIdsList();
|
|
2455
|
+
if (f.length > 0) {
|
|
2456
|
+
writer.writeRepeatedString(
|
|
2457
|
+
1,
|
|
2458
|
+
f
|
|
2459
|
+
);
|
|
2460
|
+
}
|
|
2461
|
+
f = message.getMeta();
|
|
2462
|
+
if (f != null) {
|
|
2463
|
+
writer.writeMessage(
|
|
2464
|
+
2,
|
|
2465
|
+
f,
|
|
2466
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
2467
|
+
);
|
|
2468
|
+
}
|
|
2469
|
+
};
|
|
2470
|
+
|
|
2471
|
+
|
|
2472
|
+
/**
|
|
2473
|
+
* repeated string reference_ids = 1;
|
|
2474
|
+
* @return {!Array<string>}
|
|
2475
|
+
*/
|
|
2476
|
+
proto.DeletePurchasingOrganizationResponse.prototype.getReferenceIdsList = function() {
|
|
2477
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
2478
|
+
};
|
|
2479
|
+
|
|
2480
|
+
|
|
2481
|
+
/**
|
|
2482
|
+
* @param {!Array<string>} value
|
|
2483
|
+
* @return {!proto.DeletePurchasingOrganizationResponse} returns this
|
|
2484
|
+
*/
|
|
2485
|
+
proto.DeletePurchasingOrganizationResponse.prototype.setReferenceIdsList = function(value) {
|
|
2486
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
2487
|
+
};
|
|
2488
|
+
|
|
2489
|
+
|
|
2490
|
+
/**
|
|
2491
|
+
* @param {string} value
|
|
2492
|
+
* @param {number=} opt_index
|
|
2493
|
+
* @return {!proto.DeletePurchasingOrganizationResponse} returns this
|
|
2494
|
+
*/
|
|
2495
|
+
proto.DeletePurchasingOrganizationResponse.prototype.addReferenceIds = function(value, opt_index) {
|
|
2496
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
2497
|
+
};
|
|
2498
|
+
|
|
2499
|
+
|
|
2500
|
+
/**
|
|
2501
|
+
* Clears the list making it empty but non-null.
|
|
2502
|
+
* @return {!proto.DeletePurchasingOrganizationResponse} returns this
|
|
2503
|
+
*/
|
|
2504
|
+
proto.DeletePurchasingOrganizationResponse.prototype.clearReferenceIdsList = function() {
|
|
2505
|
+
return this.setReferenceIdsList([]);
|
|
2506
|
+
};
|
|
2507
|
+
|
|
2508
|
+
|
|
2509
|
+
/**
|
|
2510
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
2511
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
2512
|
+
*/
|
|
2513
|
+
proto.DeletePurchasingOrganizationResponse.prototype.getMeta = function() {
|
|
2514
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
2515
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
2516
|
+
};
|
|
2517
|
+
|
|
2518
|
+
|
|
2519
|
+
/**
|
|
2520
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
2521
|
+
* @return {!proto.DeletePurchasingOrganizationResponse} returns this
|
|
2522
|
+
*/
|
|
2523
|
+
proto.DeletePurchasingOrganizationResponse.prototype.setMeta = function(value) {
|
|
2524
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2525
|
+
};
|
|
2526
|
+
|
|
2527
|
+
|
|
2528
|
+
/**
|
|
2529
|
+
* Clears the message field making it undefined.
|
|
2530
|
+
* @return {!proto.DeletePurchasingOrganizationResponse} returns this
|
|
2531
|
+
*/
|
|
2532
|
+
proto.DeletePurchasingOrganizationResponse.prototype.clearMeta = function() {
|
|
2533
|
+
return this.setMeta(undefined);
|
|
2534
|
+
};
|
|
2535
|
+
|
|
2536
|
+
|
|
2537
|
+
/**
|
|
2538
|
+
* Returns whether this field is set.
|
|
2539
|
+
* @return {boolean}
|
|
2540
|
+
*/
|
|
2541
|
+
proto.DeletePurchasingOrganizationResponse.prototype.hasMeta = function() {
|
|
2542
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2543
|
+
};
|
|
2544
|
+
|
|
2545
|
+
|
|
2139
2546
|
goog.object.extend(exports, proto);
|
package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js
CHANGED
|
@@ -51,6 +51,28 @@ function deserialize_CreateAssignPOrganizationResponse(buffer_arg) {
|
|
|
51
51
|
return prisca_v1_purchasing_organization_assignment_purchasing_organization_assignment_pb.CreateAssignPOrganizationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
function serialize_DeleteAssignPOrganizationRequest(arg) {
|
|
55
|
+
if (!(arg instanceof prisca_v1_purchasing_organization_assignment_purchasing_organization_assignment_pb.DeleteAssignPOrganizationRequest)) {
|
|
56
|
+
throw new Error('Expected argument of type DeleteAssignPOrganizationRequest');
|
|
57
|
+
}
|
|
58
|
+
return Buffer.from(arg.serializeBinary());
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
function deserialize_DeleteAssignPOrganizationRequest(buffer_arg) {
|
|
62
|
+
return prisca_v1_purchasing_organization_assignment_purchasing_organization_assignment_pb.DeleteAssignPOrganizationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
function serialize_DeleteAssignPOrganizationResponse(arg) {
|
|
66
|
+
if (!(arg instanceof prisca_v1_purchasing_organization_assignment_purchasing_organization_assignment_pb.DeleteAssignPOrganizationResponse)) {
|
|
67
|
+
throw new Error('Expected argument of type DeleteAssignPOrganizationResponse');
|
|
68
|
+
}
|
|
69
|
+
return Buffer.from(arg.serializeBinary());
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
function deserialize_DeleteAssignPOrganizationResponse(buffer_arg) {
|
|
73
|
+
return prisca_v1_purchasing_organization_assignment_purchasing_organization_assignment_pb.DeleteAssignPOrganizationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
74
|
+
}
|
|
75
|
+
|
|
54
76
|
function serialize_GetListAssignPOrganizationRequest(arg) {
|
|
55
77
|
if (!(arg instanceof prisca_v1_purchasing_organization_assignment_purchasing_organization_assignment_pb.GetListAssignPOrganizationRequest)) {
|
|
56
78
|
throw new Error('Expected argument of type GetListAssignPOrganizationRequest');
|
|
@@ -141,6 +163,17 @@ var AssignPOrganizationServiceService = exports.AssignPOrganizationServiceServic
|
|
|
141
163
|
responseSerialize: serialize_GetListAssignPOrganizationResponse,
|
|
142
164
|
responseDeserialize: deserialize_GetListAssignPOrganizationResponse,
|
|
143
165
|
},
|
|
166
|
+
deleteAssignPOrganization: {
|
|
167
|
+
path: '/AssignPOrganizationService/DeleteAssignPOrganization',
|
|
168
|
+
requestStream: false,
|
|
169
|
+
responseStream: false,
|
|
170
|
+
requestType: prisca_v1_purchasing_organization_assignment_purchasing_organization_assignment_pb.DeleteAssignPOrganizationRequest,
|
|
171
|
+
responseType: prisca_v1_purchasing_organization_assignment_purchasing_organization_assignment_pb.DeleteAssignPOrganizationResponse,
|
|
172
|
+
requestSerialize: serialize_DeleteAssignPOrganizationRequest,
|
|
173
|
+
requestDeserialize: deserialize_DeleteAssignPOrganizationRequest,
|
|
174
|
+
responseSerialize: serialize_DeleteAssignPOrganizationResponse,
|
|
175
|
+
responseDeserialize: deserialize_DeleteAssignPOrganizationResponse,
|
|
176
|
+
},
|
|
144
177
|
};
|
|
145
178
|
|
|
146
179
|
exports.AssignPOrganizationServiceClient = grpc.makeGenericClientConstructor(AssignPOrganizationServiceService, 'AssignPOrganizationService');
|