@aldiokta/protocgen 1.0.50 → 1.0.52
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/messaging/email_template_grpc_pb.js +177 -0
- package/prisca/v1/core/messaging/email_template_pb.js +2552 -0
- package/prisca/v1/core/messaging/messaging_grpc_pb.js +45 -0
- package/prisca/v1/core/messaging/messaging_pb.js +896 -0
- package/prisca/v1/purchasing_group/purchasing_group_pb.js +173 -53
- package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +44 -226
- package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +9 -9
- package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +95 -35
|
@@ -25,7 +25,6 @@ var prisca_v1_global_meta_meta_pb = require('../../../prisca/v1/global/meta/meta
|
|
|
25
25
|
goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
|
|
26
26
|
var prisca_v1_core_company_company_pb = require('../../../prisca/v1/core/company/company_pb.js');
|
|
27
27
|
goog.object.extend(proto, prisca_v1_core_company_company_pb);
|
|
28
|
-
goog.exportSymbol('proto.BasePurchasingOrganization', null, global);
|
|
29
28
|
goog.exportSymbol('proto.CreatePurchasingOrganizationRequest', null, global);
|
|
30
29
|
goog.exportSymbol('proto.CreatePurchasingOrganizationResponse', null, global);
|
|
31
30
|
goog.exportSymbol('proto.GetListPurchasingOrganizationRequest', null, global);
|
|
@@ -57,27 +56,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
57
56
|
*/
|
|
58
57
|
proto.PurchasingOrganization.displayName = 'proto.PurchasingOrganization';
|
|
59
58
|
}
|
|
60
|
-
/**
|
|
61
|
-
* Generated by JsPbCodeGenerator.
|
|
62
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
63
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
64
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
65
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
66
|
-
* valid.
|
|
67
|
-
* @extends {jspb.Message}
|
|
68
|
-
* @constructor
|
|
69
|
-
*/
|
|
70
|
-
proto.BasePurchasingOrganization = function(opt_data) {
|
|
71
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
72
|
-
};
|
|
73
|
-
goog.inherits(proto.BasePurchasingOrganization, jspb.Message);
|
|
74
|
-
if (goog.DEBUG && !COMPILED) {
|
|
75
|
-
/**
|
|
76
|
-
* @public
|
|
77
|
-
* @override
|
|
78
|
-
*/
|
|
79
|
-
proto.BasePurchasingOrganization.displayName = 'proto.BasePurchasingOrganization';
|
|
80
|
-
}
|
|
81
59
|
/**
|
|
82
60
|
* Generated by JsPbCodeGenerator.
|
|
83
61
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -301,7 +279,8 @@ proto.PurchasingOrganization.toObject = function(includeInstance, msg) {
|
|
|
301
279
|
var f, obj = {
|
|
302
280
|
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
303
281
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
304
|
-
|
|
282
|
+
code: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
283
|
+
validity: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
305
284
|
};
|
|
306
285
|
|
|
307
286
|
if (includeInstance) {
|
|
@@ -347,6 +326,10 @@ proto.PurchasingOrganization.deserializeBinaryFromReader = function(msg, reader)
|
|
|
347
326
|
msg.setDescription(value);
|
|
348
327
|
break;
|
|
349
328
|
case 3:
|
|
329
|
+
var value = /** @type {string} */ (reader.readString());
|
|
330
|
+
msg.setCode(value);
|
|
331
|
+
break;
|
|
332
|
+
case 4:
|
|
350
333
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
351
334
|
msg.setValidity(value);
|
|
352
335
|
break;
|
|
@@ -393,10 +376,17 @@ proto.PurchasingOrganization.serializeBinaryToWriter = function(message, writer)
|
|
|
393
376
|
f
|
|
394
377
|
);
|
|
395
378
|
}
|
|
379
|
+
f = message.getCode();
|
|
380
|
+
if (f.length > 0) {
|
|
381
|
+
writer.writeString(
|
|
382
|
+
3,
|
|
383
|
+
f
|
|
384
|
+
);
|
|
385
|
+
}
|
|
396
386
|
f = message.getValidity();
|
|
397
387
|
if (f) {
|
|
398
388
|
writer.writeBool(
|
|
399
|
-
|
|
389
|
+
4,
|
|
400
390
|
f
|
|
401
391
|
);
|
|
402
392
|
}
|
|
@@ -440,210 +430,38 @@ proto.PurchasingOrganization.prototype.setDescription = function(value) {
|
|
|
440
430
|
|
|
441
431
|
|
|
442
432
|
/**
|
|
443
|
-
* optional
|
|
444
|
-
* @return {boolean}
|
|
445
|
-
*/
|
|
446
|
-
proto.PurchasingOrganization.prototype.getValidity = function() {
|
|
447
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
448
|
-
};
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
/**
|
|
452
|
-
* @param {boolean} value
|
|
453
|
-
* @return {!proto.PurchasingOrganization} returns this
|
|
454
|
-
*/
|
|
455
|
-
proto.PurchasingOrganization.prototype.setValidity = function(value) {
|
|
456
|
-
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
457
|
-
};
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
464
|
-
/**
|
|
465
|
-
* Creates an object representation of this proto.
|
|
466
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
467
|
-
* Optional fields that are not set will be set to undefined.
|
|
468
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
469
|
-
* For the list of reserved names please see:
|
|
470
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
471
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
472
|
-
* JSPB instance for transitional soy proto support:
|
|
473
|
-
* http://goto/soy-param-migration
|
|
474
|
-
* @return {!Object}
|
|
475
|
-
*/
|
|
476
|
-
proto.BasePurchasingOrganization.prototype.toObject = function(opt_includeInstance) {
|
|
477
|
-
return proto.BasePurchasingOrganization.toObject(opt_includeInstance, this);
|
|
478
|
-
};
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
/**
|
|
482
|
-
* Static version of the {@see toObject} method.
|
|
483
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
484
|
-
* the JSPB instance for transitional soy proto support:
|
|
485
|
-
* http://goto/soy-param-migration
|
|
486
|
-
* @param {!proto.BasePurchasingOrganization} msg The msg instance to transform.
|
|
487
|
-
* @return {!Object}
|
|
488
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
489
|
-
*/
|
|
490
|
-
proto.BasePurchasingOrganization.toObject = function(includeInstance, msg) {
|
|
491
|
-
var f, obj = {
|
|
492
|
-
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
493
|
-
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
494
|
-
validity: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
495
|
-
};
|
|
496
|
-
|
|
497
|
-
if (includeInstance) {
|
|
498
|
-
obj.$jspbMessageInstance = msg;
|
|
499
|
-
}
|
|
500
|
-
return obj;
|
|
501
|
-
};
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
/**
|
|
506
|
-
* Deserializes binary data (in protobuf wire format).
|
|
507
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
508
|
-
* @return {!proto.BasePurchasingOrganization}
|
|
509
|
-
*/
|
|
510
|
-
proto.BasePurchasingOrganization.deserializeBinary = function(bytes) {
|
|
511
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
512
|
-
var msg = new proto.BasePurchasingOrganization;
|
|
513
|
-
return proto.BasePurchasingOrganization.deserializeBinaryFromReader(msg, reader);
|
|
514
|
-
};
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
/**
|
|
518
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
519
|
-
* given reader into the given message object.
|
|
520
|
-
* @param {!proto.BasePurchasingOrganization} msg The message object to deserialize into.
|
|
521
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
522
|
-
* @return {!proto.BasePurchasingOrganization}
|
|
523
|
-
*/
|
|
524
|
-
proto.BasePurchasingOrganization.deserializeBinaryFromReader = function(msg, reader) {
|
|
525
|
-
while (reader.nextField()) {
|
|
526
|
-
if (reader.isEndGroup()) {
|
|
527
|
-
break;
|
|
528
|
-
}
|
|
529
|
-
var field = reader.getFieldNumber();
|
|
530
|
-
switch (field) {
|
|
531
|
-
case 1:
|
|
532
|
-
var value = /** @type {string} */ (reader.readString());
|
|
533
|
-
msg.setReferencesId(value);
|
|
534
|
-
break;
|
|
535
|
-
case 2:
|
|
536
|
-
var value = /** @type {string} */ (reader.readString());
|
|
537
|
-
msg.setDescription(value);
|
|
538
|
-
break;
|
|
539
|
-
case 3:
|
|
540
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
541
|
-
msg.setValidity(value);
|
|
542
|
-
break;
|
|
543
|
-
default:
|
|
544
|
-
reader.skipField();
|
|
545
|
-
break;
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
return msg;
|
|
549
|
-
};
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
/**
|
|
553
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
554
|
-
* @return {!Uint8Array}
|
|
555
|
-
*/
|
|
556
|
-
proto.BasePurchasingOrganization.prototype.serializeBinary = function() {
|
|
557
|
-
var writer = new jspb.BinaryWriter();
|
|
558
|
-
proto.BasePurchasingOrganization.serializeBinaryToWriter(this, writer);
|
|
559
|
-
return writer.getResultBuffer();
|
|
560
|
-
};
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
/**
|
|
564
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
565
|
-
* format), writing to the given BinaryWriter.
|
|
566
|
-
* @param {!proto.BasePurchasingOrganization} message
|
|
567
|
-
* @param {!jspb.BinaryWriter} writer
|
|
568
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
569
|
-
*/
|
|
570
|
-
proto.BasePurchasingOrganization.serializeBinaryToWriter = function(message, writer) {
|
|
571
|
-
var f = undefined;
|
|
572
|
-
f = message.getReferencesId();
|
|
573
|
-
if (f.length > 0) {
|
|
574
|
-
writer.writeString(
|
|
575
|
-
1,
|
|
576
|
-
f
|
|
577
|
-
);
|
|
578
|
-
}
|
|
579
|
-
f = message.getDescription();
|
|
580
|
-
if (f.length > 0) {
|
|
581
|
-
writer.writeString(
|
|
582
|
-
2,
|
|
583
|
-
f
|
|
584
|
-
);
|
|
585
|
-
}
|
|
586
|
-
f = message.getValidity();
|
|
587
|
-
if (f) {
|
|
588
|
-
writer.writeBool(
|
|
589
|
-
3,
|
|
590
|
-
f
|
|
591
|
-
);
|
|
592
|
-
}
|
|
593
|
-
};
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
/**
|
|
597
|
-
* optional string references_id = 1;
|
|
598
|
-
* @return {string}
|
|
599
|
-
*/
|
|
600
|
-
proto.BasePurchasingOrganization.prototype.getReferencesId = function() {
|
|
601
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
602
|
-
};
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
/**
|
|
606
|
-
* @param {string} value
|
|
607
|
-
* @return {!proto.BasePurchasingOrganization} returns this
|
|
608
|
-
*/
|
|
609
|
-
proto.BasePurchasingOrganization.prototype.setReferencesId = function(value) {
|
|
610
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
611
|
-
};
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
/**
|
|
615
|
-
* optional string description = 2;
|
|
433
|
+
* optional string code = 3;
|
|
616
434
|
* @return {string}
|
|
617
435
|
*/
|
|
618
|
-
proto.
|
|
619
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
436
|
+
proto.PurchasingOrganization.prototype.getCode = function() {
|
|
437
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
620
438
|
};
|
|
621
439
|
|
|
622
440
|
|
|
623
441
|
/**
|
|
624
442
|
* @param {string} value
|
|
625
|
-
* @return {!proto.
|
|
443
|
+
* @return {!proto.PurchasingOrganization} returns this
|
|
626
444
|
*/
|
|
627
|
-
proto.
|
|
628
|
-
return jspb.Message.setProto3StringField(this,
|
|
445
|
+
proto.PurchasingOrganization.prototype.setCode = function(value) {
|
|
446
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
629
447
|
};
|
|
630
448
|
|
|
631
449
|
|
|
632
450
|
/**
|
|
633
|
-
* optional bool validity =
|
|
451
|
+
* optional bool validity = 4;
|
|
634
452
|
* @return {boolean}
|
|
635
453
|
*/
|
|
636
|
-
proto.
|
|
637
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this,
|
|
454
|
+
proto.PurchasingOrganization.prototype.getValidity = function() {
|
|
455
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
638
456
|
};
|
|
639
457
|
|
|
640
458
|
|
|
641
459
|
/**
|
|
642
460
|
* @param {boolean} value
|
|
643
|
-
* @return {!proto.
|
|
461
|
+
* @return {!proto.PurchasingOrganization} returns this
|
|
644
462
|
*/
|
|
645
|
-
proto.
|
|
646
|
-
return jspb.Message.setProto3BooleanField(this,
|
|
463
|
+
proto.PurchasingOrganization.prototype.setValidity = function(value) {
|
|
464
|
+
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
647
465
|
};
|
|
648
466
|
|
|
649
467
|
|
|
@@ -999,7 +817,7 @@ proto.CreatePurchasingOrganizationRequest.prototype.toObject = function(opt_incl
|
|
|
999
817
|
*/
|
|
1000
818
|
proto.CreatePurchasingOrganizationRequest.toObject = function(includeInstance, msg) {
|
|
1001
819
|
var f, obj = {
|
|
1002
|
-
purchasingOrganization: (f = msg.getPurchasingOrganization()) && proto.
|
|
820
|
+
purchasingOrganization: (f = msg.getPurchasingOrganization()) && proto.PurchasingOrganization.toObject(includeInstance, f)
|
|
1003
821
|
};
|
|
1004
822
|
|
|
1005
823
|
if (includeInstance) {
|
|
@@ -1037,8 +855,8 @@ proto.CreatePurchasingOrganizationRequest.deserializeBinaryFromReader = function
|
|
|
1037
855
|
var field = reader.getFieldNumber();
|
|
1038
856
|
switch (field) {
|
|
1039
857
|
case 1:
|
|
1040
|
-
var value = new proto.
|
|
1041
|
-
reader.readMessage(value,proto.
|
|
858
|
+
var value = new proto.PurchasingOrganization;
|
|
859
|
+
reader.readMessage(value,proto.PurchasingOrganization.deserializeBinaryFromReader);
|
|
1042
860
|
msg.setPurchasingOrganization(value);
|
|
1043
861
|
break;
|
|
1044
862
|
default:
|
|
@@ -1075,24 +893,24 @@ proto.CreatePurchasingOrganizationRequest.serializeBinaryToWriter = function(mes
|
|
|
1075
893
|
writer.writeMessage(
|
|
1076
894
|
1,
|
|
1077
895
|
f,
|
|
1078
|
-
proto.
|
|
896
|
+
proto.PurchasingOrganization.serializeBinaryToWriter
|
|
1079
897
|
);
|
|
1080
898
|
}
|
|
1081
899
|
};
|
|
1082
900
|
|
|
1083
901
|
|
|
1084
902
|
/**
|
|
1085
|
-
* optional
|
|
1086
|
-
* @return {?proto.
|
|
903
|
+
* optional PurchasingOrganization purchasing_organization = 1;
|
|
904
|
+
* @return {?proto.PurchasingOrganization}
|
|
1087
905
|
*/
|
|
1088
906
|
proto.CreatePurchasingOrganizationRequest.prototype.getPurchasingOrganization = function() {
|
|
1089
|
-
return /** @type{?proto.
|
|
1090
|
-
jspb.Message.getWrapperField(this, proto.
|
|
907
|
+
return /** @type{?proto.PurchasingOrganization} */ (
|
|
908
|
+
jspb.Message.getWrapperField(this, proto.PurchasingOrganization, 1));
|
|
1091
909
|
};
|
|
1092
910
|
|
|
1093
911
|
|
|
1094
912
|
/**
|
|
1095
|
-
* @param {?proto.
|
|
913
|
+
* @param {?proto.PurchasingOrganization|undefined} value
|
|
1096
914
|
* @return {!proto.CreatePurchasingOrganizationRequest} returns this
|
|
1097
915
|
*/
|
|
1098
916
|
proto.CreatePurchasingOrganizationRequest.prototype.setPurchasingOrganization = function(value) {
|
|
@@ -1151,7 +969,7 @@ proto.UpdatePurchasingOrganizationRequest.prototype.toObject = function(opt_incl
|
|
|
1151
969
|
proto.UpdatePurchasingOrganizationRequest.toObject = function(includeInstance, msg) {
|
|
1152
970
|
var f, obj = {
|
|
1153
971
|
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1154
|
-
purchasingOrganization: (f = msg.getPurchasingOrganization()) && proto.
|
|
972
|
+
purchasingOrganization: (f = msg.getPurchasingOrganization()) && proto.PurchasingOrganization.toObject(includeInstance, f)
|
|
1155
973
|
};
|
|
1156
974
|
|
|
1157
975
|
if (includeInstance) {
|
|
@@ -1193,8 +1011,8 @@ proto.UpdatePurchasingOrganizationRequest.deserializeBinaryFromReader = function
|
|
|
1193
1011
|
msg.setReferencesId(value);
|
|
1194
1012
|
break;
|
|
1195
1013
|
case 2:
|
|
1196
|
-
var value = new proto.
|
|
1197
|
-
reader.readMessage(value,proto.
|
|
1014
|
+
var value = new proto.PurchasingOrganization;
|
|
1015
|
+
reader.readMessage(value,proto.PurchasingOrganization.deserializeBinaryFromReader);
|
|
1198
1016
|
msg.setPurchasingOrganization(value);
|
|
1199
1017
|
break;
|
|
1200
1018
|
default:
|
|
@@ -1238,7 +1056,7 @@ proto.UpdatePurchasingOrganizationRequest.serializeBinaryToWriter = function(mes
|
|
|
1238
1056
|
writer.writeMessage(
|
|
1239
1057
|
2,
|
|
1240
1058
|
f,
|
|
1241
|
-
proto.
|
|
1059
|
+
proto.PurchasingOrganization.serializeBinaryToWriter
|
|
1242
1060
|
);
|
|
1243
1061
|
}
|
|
1244
1062
|
};
|
|
@@ -1263,17 +1081,17 @@ proto.UpdatePurchasingOrganizationRequest.prototype.setReferencesId = function(v
|
|
|
1263
1081
|
|
|
1264
1082
|
|
|
1265
1083
|
/**
|
|
1266
|
-
* optional
|
|
1267
|
-
* @return {?proto.
|
|
1084
|
+
* optional PurchasingOrganization purchasing_organization = 2;
|
|
1085
|
+
* @return {?proto.PurchasingOrganization}
|
|
1268
1086
|
*/
|
|
1269
1087
|
proto.UpdatePurchasingOrganizationRequest.prototype.getPurchasingOrganization = function() {
|
|
1270
|
-
return /** @type{?proto.
|
|
1271
|
-
jspb.Message.getWrapperField(this, proto.
|
|
1088
|
+
return /** @type{?proto.PurchasingOrganization} */ (
|
|
1089
|
+
jspb.Message.getWrapperField(this, proto.PurchasingOrganization, 2));
|
|
1272
1090
|
};
|
|
1273
1091
|
|
|
1274
1092
|
|
|
1275
1093
|
/**
|
|
1276
|
-
* @param {?proto.
|
|
1094
|
+
* @param {?proto.PurchasingOrganization|undefined} value
|
|
1277
1095
|
* @return {!proto.UpdatePurchasingOrganizationRequest} returns this
|
|
1278
1096
|
*/
|
|
1279
1097
|
proto.UpdatePurchasingOrganizationRequest.prototype.setPurchasingOrganization = function(value) {
|
package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js
CHANGED
|
@@ -443,7 +443,7 @@ companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
443
443
|
referencesId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
444
444
|
company: (f = msg.getCompany()) && prisca_v1_core_company_company_pb.Company.toObject(includeInstance, f),
|
|
445
445
|
purchasingOrganizationReferencesId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
446
|
-
purchasingOrganizations: (f = msg.getPurchasingOrganizations()) && prisca_v1_purchasing_organization_purchasing_organization_pb.
|
|
446
|
+
purchasingOrganizations: (f = msg.getPurchasingOrganizations()) && prisca_v1_purchasing_organization_purchasing_organization_pb.PurchasingOrganization.toObject(includeInstance, f)
|
|
447
447
|
};
|
|
448
448
|
|
|
449
449
|
if (includeInstance) {
|
|
@@ -498,8 +498,8 @@ proto.BaseAssignPOrganization.deserializeBinaryFromReader = function(msg, reader
|
|
|
498
498
|
msg.setPurchasingOrganizationReferencesId(value);
|
|
499
499
|
break;
|
|
500
500
|
case 5:
|
|
501
|
-
var value = new prisca_v1_purchasing_organization_purchasing_organization_pb.
|
|
502
|
-
reader.readMessage(value,prisca_v1_purchasing_organization_purchasing_organization_pb.
|
|
501
|
+
var value = new prisca_v1_purchasing_organization_purchasing_organization_pb.PurchasingOrganization;
|
|
502
|
+
reader.readMessage(value,prisca_v1_purchasing_organization_purchasing_organization_pb.PurchasingOrganization.deserializeBinaryFromReader);
|
|
503
503
|
msg.setPurchasingOrganizations(value);
|
|
504
504
|
break;
|
|
505
505
|
default:
|
|
@@ -565,7 +565,7 @@ proto.BaseAssignPOrganization.serializeBinaryToWriter = function(message, writer
|
|
|
565
565
|
writer.writeMessage(
|
|
566
566
|
5,
|
|
567
567
|
f,
|
|
568
|
-
prisca_v1_purchasing_organization_purchasing_organization_pb.
|
|
568
|
+
prisca_v1_purchasing_organization_purchasing_organization_pb.PurchasingOrganization.serializeBinaryToWriter
|
|
569
569
|
);
|
|
570
570
|
}
|
|
571
571
|
};
|
|
@@ -663,17 +663,17 @@ proto.BaseAssignPOrganization.prototype.setPurchasingOrganizationReferencesId =
|
|
|
663
663
|
|
|
664
664
|
|
|
665
665
|
/**
|
|
666
|
-
* optional
|
|
667
|
-
* @return {?proto.
|
|
666
|
+
* optional PurchasingOrganization purchasing_organizations = 5;
|
|
667
|
+
* @return {?proto.PurchasingOrganization}
|
|
668
668
|
*/
|
|
669
669
|
proto.BaseAssignPOrganization.prototype.getPurchasingOrganizations = function() {
|
|
670
|
-
return /** @type{?proto.
|
|
671
|
-
jspb.Message.getWrapperField(this, prisca_v1_purchasing_organization_purchasing_organization_pb.
|
|
670
|
+
return /** @type{?proto.PurchasingOrganization} */ (
|
|
671
|
+
jspb.Message.getWrapperField(this, prisca_v1_purchasing_organization_purchasing_organization_pb.PurchasingOrganization, 5));
|
|
672
672
|
};
|
|
673
673
|
|
|
674
674
|
|
|
675
675
|
/**
|
|
676
|
-
* @param {?proto.
|
|
676
|
+
* @param {?proto.PurchasingOrganization|undefined} value
|
|
677
677
|
* @return {!proto.BaseAssignPOrganization} returns this
|
|
678
678
|
*/
|
|
679
679
|
proto.BaseAssignPOrganization.prototype.setPurchasingOrganizations = function(value) {
|