@aldiokta/protocgen 1.1.21 → 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 +33 -0
- package/prisca/v1/bidding/bidding_pb.js +613 -4
- package/prisca/v1/core/company/company_pb.js +77 -25
- package/prisca/v1/core/employee/employee_pb.js +74 -22
- 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 +274 -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_pb.js +98 -8
- 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/vendor_domain/vendor_domain_pb.js +31 -1
package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js
CHANGED
|
@@ -33,6 +33,8 @@ goog.exportSymbol('proto.AssignPOrganizationGetByIdResponse', null, global);
|
|
|
33
33
|
goog.exportSymbol('proto.BaseAssignPOrganization', null, global);
|
|
34
34
|
goog.exportSymbol('proto.CreateAssignPOrganizationRequest', null, global);
|
|
35
35
|
goog.exportSymbol('proto.CreateAssignPOrganizationResponse', null, global);
|
|
36
|
+
goog.exportSymbol('proto.DeleteAssignPOrganizationRequest', null, global);
|
|
37
|
+
goog.exportSymbol('proto.DeleteAssignPOrganizationResponse', null, global);
|
|
36
38
|
goog.exportSymbol('proto.GetListAssignPOrganizationRequest', null, global);
|
|
37
39
|
goog.exportSymbol('proto.GetListAssignPOrganizationResponse', null, global);
|
|
38
40
|
goog.exportSymbol('proto.UpdateAssignPOrganizationRequest', null, global);
|
|
@@ -79,6 +81,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
79
81
|
*/
|
|
80
82
|
proto.BaseAssignPOrganization.displayName = 'proto.BaseAssignPOrganization';
|
|
81
83
|
}
|
|
84
|
+
/**
|
|
85
|
+
* Generated by JsPbCodeGenerator.
|
|
86
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
87
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
88
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
89
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
90
|
+
* valid.
|
|
91
|
+
* @extends {jspb.Message}
|
|
92
|
+
* @constructor
|
|
93
|
+
*/
|
|
94
|
+
proto.DeleteAssignPOrganizationRequest = function(opt_data) {
|
|
95
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteAssignPOrganizationRequest.repeatedFields_, null);
|
|
96
|
+
};
|
|
97
|
+
goog.inherits(proto.DeleteAssignPOrganizationRequest, jspb.Message);
|
|
98
|
+
if (goog.DEBUG && !COMPILED) {
|
|
99
|
+
/**
|
|
100
|
+
* @public
|
|
101
|
+
* @override
|
|
102
|
+
*/
|
|
103
|
+
proto.DeleteAssignPOrganizationRequest.displayName = 'proto.DeleteAssignPOrganizationRequest';
|
|
104
|
+
}
|
|
82
105
|
/**
|
|
83
106
|
* Generated by JsPbCodeGenerator.
|
|
84
107
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -247,6 +270,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
247
270
|
*/
|
|
248
271
|
proto.AssignPOrganizationGetByIdResponse.displayName = 'proto.AssignPOrganizationGetByIdResponse';
|
|
249
272
|
}
|
|
273
|
+
/**
|
|
274
|
+
* Generated by JsPbCodeGenerator.
|
|
275
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
276
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
277
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
278
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
279
|
+
* valid.
|
|
280
|
+
* @extends {jspb.Message}
|
|
281
|
+
* @constructor
|
|
282
|
+
*/
|
|
283
|
+
proto.DeleteAssignPOrganizationResponse = function(opt_data) {
|
|
284
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteAssignPOrganizationResponse.repeatedFields_, null);
|
|
285
|
+
};
|
|
286
|
+
goog.inherits(proto.DeleteAssignPOrganizationResponse, jspb.Message);
|
|
287
|
+
if (goog.DEBUG && !COMPILED) {
|
|
288
|
+
/**
|
|
289
|
+
* @public
|
|
290
|
+
* @override
|
|
291
|
+
*/
|
|
292
|
+
proto.DeleteAssignPOrganizationResponse.displayName = 'proto.DeleteAssignPOrganizationResponse';
|
|
293
|
+
}
|
|
250
294
|
|
|
251
295
|
|
|
252
296
|
|
|
@@ -700,6 +744,162 @@ proto.BaseAssignPOrganization.prototype.hasPurchasingOrganizations = function()
|
|
|
700
744
|
|
|
701
745
|
|
|
702
746
|
|
|
747
|
+
/**
|
|
748
|
+
* List of repeated fields within this message type.
|
|
749
|
+
* @private {!Array<number>}
|
|
750
|
+
* @const
|
|
751
|
+
*/
|
|
752
|
+
proto.DeleteAssignPOrganizationRequest.repeatedFields_ = [1];
|
|
753
|
+
|
|
754
|
+
|
|
755
|
+
|
|
756
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
757
|
+
/**
|
|
758
|
+
* Creates an object representation of this proto.
|
|
759
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
760
|
+
* Optional fields that are not set will be set to undefined.
|
|
761
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
762
|
+
* For the list of reserved names please see:
|
|
763
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
764
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
765
|
+
* JSPB instance for transitional soy proto support:
|
|
766
|
+
* http://goto/soy-param-migration
|
|
767
|
+
* @return {!Object}
|
|
768
|
+
*/
|
|
769
|
+
proto.DeleteAssignPOrganizationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
770
|
+
return proto.DeleteAssignPOrganizationRequest.toObject(opt_includeInstance, this);
|
|
771
|
+
};
|
|
772
|
+
|
|
773
|
+
|
|
774
|
+
/**
|
|
775
|
+
* Static version of the {@see toObject} method.
|
|
776
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
777
|
+
* the JSPB instance for transitional soy proto support:
|
|
778
|
+
* http://goto/soy-param-migration
|
|
779
|
+
* @param {!proto.DeleteAssignPOrganizationRequest} msg The msg instance to transform.
|
|
780
|
+
* @return {!Object}
|
|
781
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
782
|
+
*/
|
|
783
|
+
proto.DeleteAssignPOrganizationRequest.toObject = function(includeInstance, msg) {
|
|
784
|
+
var f, obj = {
|
|
785
|
+
referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
786
|
+
};
|
|
787
|
+
|
|
788
|
+
if (includeInstance) {
|
|
789
|
+
obj.$jspbMessageInstance = msg;
|
|
790
|
+
}
|
|
791
|
+
return obj;
|
|
792
|
+
};
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* Deserializes binary data (in protobuf wire format).
|
|
798
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
799
|
+
* @return {!proto.DeleteAssignPOrganizationRequest}
|
|
800
|
+
*/
|
|
801
|
+
proto.DeleteAssignPOrganizationRequest.deserializeBinary = function(bytes) {
|
|
802
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
803
|
+
var msg = new proto.DeleteAssignPOrganizationRequest;
|
|
804
|
+
return proto.DeleteAssignPOrganizationRequest.deserializeBinaryFromReader(msg, reader);
|
|
805
|
+
};
|
|
806
|
+
|
|
807
|
+
|
|
808
|
+
/**
|
|
809
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
810
|
+
* given reader into the given message object.
|
|
811
|
+
* @param {!proto.DeleteAssignPOrganizationRequest} msg The message object to deserialize into.
|
|
812
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
813
|
+
* @return {!proto.DeleteAssignPOrganizationRequest}
|
|
814
|
+
*/
|
|
815
|
+
proto.DeleteAssignPOrganizationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
816
|
+
while (reader.nextField()) {
|
|
817
|
+
if (reader.isEndGroup()) {
|
|
818
|
+
break;
|
|
819
|
+
}
|
|
820
|
+
var field = reader.getFieldNumber();
|
|
821
|
+
switch (field) {
|
|
822
|
+
case 1:
|
|
823
|
+
var value = /** @type {string} */ (reader.readString());
|
|
824
|
+
msg.addReferenceIds(value);
|
|
825
|
+
break;
|
|
826
|
+
default:
|
|
827
|
+
reader.skipField();
|
|
828
|
+
break;
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
return msg;
|
|
832
|
+
};
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
837
|
+
* @return {!Uint8Array}
|
|
838
|
+
*/
|
|
839
|
+
proto.DeleteAssignPOrganizationRequest.prototype.serializeBinary = function() {
|
|
840
|
+
var writer = new jspb.BinaryWriter();
|
|
841
|
+
proto.DeleteAssignPOrganizationRequest.serializeBinaryToWriter(this, writer);
|
|
842
|
+
return writer.getResultBuffer();
|
|
843
|
+
};
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
848
|
+
* format), writing to the given BinaryWriter.
|
|
849
|
+
* @param {!proto.DeleteAssignPOrganizationRequest} message
|
|
850
|
+
* @param {!jspb.BinaryWriter} writer
|
|
851
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
852
|
+
*/
|
|
853
|
+
proto.DeleteAssignPOrganizationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
854
|
+
var f = undefined;
|
|
855
|
+
f = message.getReferenceIdsList();
|
|
856
|
+
if (f.length > 0) {
|
|
857
|
+
writer.writeRepeatedString(
|
|
858
|
+
1,
|
|
859
|
+
f
|
|
860
|
+
);
|
|
861
|
+
}
|
|
862
|
+
};
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
/**
|
|
866
|
+
* repeated string reference_ids = 1;
|
|
867
|
+
* @return {!Array<string>}
|
|
868
|
+
*/
|
|
869
|
+
proto.DeleteAssignPOrganizationRequest.prototype.getReferenceIdsList = function() {
|
|
870
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
871
|
+
};
|
|
872
|
+
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* @param {!Array<string>} value
|
|
876
|
+
* @return {!proto.DeleteAssignPOrganizationRequest} returns this
|
|
877
|
+
*/
|
|
878
|
+
proto.DeleteAssignPOrganizationRequest.prototype.setReferenceIdsList = function(value) {
|
|
879
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
880
|
+
};
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
/**
|
|
884
|
+
* @param {string} value
|
|
885
|
+
* @param {number=} opt_index
|
|
886
|
+
* @return {!proto.DeleteAssignPOrganizationRequest} returns this
|
|
887
|
+
*/
|
|
888
|
+
proto.DeleteAssignPOrganizationRequest.prototype.addReferenceIds = function(value, opt_index) {
|
|
889
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
890
|
+
};
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
* Clears the list making it empty but non-null.
|
|
895
|
+
* @return {!proto.DeleteAssignPOrganizationRequest} returns this
|
|
896
|
+
*/
|
|
897
|
+
proto.DeleteAssignPOrganizationRequest.prototype.clearReferenceIdsList = function() {
|
|
898
|
+
return this.setReferenceIdsList([]);
|
|
899
|
+
};
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
|
|
703
903
|
|
|
704
904
|
|
|
705
905
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -2180,4 +2380,211 @@ proto.AssignPOrganizationGetByIdResponse.prototype.hasMeta = function() {
|
|
|
2180
2380
|
};
|
|
2181
2381
|
|
|
2182
2382
|
|
|
2383
|
+
|
|
2384
|
+
/**
|
|
2385
|
+
* List of repeated fields within this message type.
|
|
2386
|
+
* @private {!Array<number>}
|
|
2387
|
+
* @const
|
|
2388
|
+
*/
|
|
2389
|
+
proto.DeleteAssignPOrganizationResponse.repeatedFields_ = [1];
|
|
2390
|
+
|
|
2391
|
+
|
|
2392
|
+
|
|
2393
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2394
|
+
/**
|
|
2395
|
+
* Creates an object representation of this proto.
|
|
2396
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2397
|
+
* Optional fields that are not set will be set to undefined.
|
|
2398
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2399
|
+
* For the list of reserved names please see:
|
|
2400
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2401
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2402
|
+
* JSPB instance for transitional soy proto support:
|
|
2403
|
+
* http://goto/soy-param-migration
|
|
2404
|
+
* @return {!Object}
|
|
2405
|
+
*/
|
|
2406
|
+
proto.DeleteAssignPOrganizationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2407
|
+
return proto.DeleteAssignPOrganizationResponse.toObject(opt_includeInstance, this);
|
|
2408
|
+
};
|
|
2409
|
+
|
|
2410
|
+
|
|
2411
|
+
/**
|
|
2412
|
+
* Static version of the {@see toObject} method.
|
|
2413
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2414
|
+
* the JSPB instance for transitional soy proto support:
|
|
2415
|
+
* http://goto/soy-param-migration
|
|
2416
|
+
* @param {!proto.DeleteAssignPOrganizationResponse} msg The msg instance to transform.
|
|
2417
|
+
* @return {!Object}
|
|
2418
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2419
|
+
*/
|
|
2420
|
+
proto.DeleteAssignPOrganizationResponse.toObject = function(includeInstance, msg) {
|
|
2421
|
+
var f, obj = {
|
|
2422
|
+
referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
2423
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
2424
|
+
};
|
|
2425
|
+
|
|
2426
|
+
if (includeInstance) {
|
|
2427
|
+
obj.$jspbMessageInstance = msg;
|
|
2428
|
+
}
|
|
2429
|
+
return obj;
|
|
2430
|
+
};
|
|
2431
|
+
}
|
|
2432
|
+
|
|
2433
|
+
|
|
2434
|
+
/**
|
|
2435
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2436
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2437
|
+
* @return {!proto.DeleteAssignPOrganizationResponse}
|
|
2438
|
+
*/
|
|
2439
|
+
proto.DeleteAssignPOrganizationResponse.deserializeBinary = function(bytes) {
|
|
2440
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2441
|
+
var msg = new proto.DeleteAssignPOrganizationResponse;
|
|
2442
|
+
return proto.DeleteAssignPOrganizationResponse.deserializeBinaryFromReader(msg, reader);
|
|
2443
|
+
};
|
|
2444
|
+
|
|
2445
|
+
|
|
2446
|
+
/**
|
|
2447
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2448
|
+
* given reader into the given message object.
|
|
2449
|
+
* @param {!proto.DeleteAssignPOrganizationResponse} msg The message object to deserialize into.
|
|
2450
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2451
|
+
* @return {!proto.DeleteAssignPOrganizationResponse}
|
|
2452
|
+
*/
|
|
2453
|
+
proto.DeleteAssignPOrganizationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2454
|
+
while (reader.nextField()) {
|
|
2455
|
+
if (reader.isEndGroup()) {
|
|
2456
|
+
break;
|
|
2457
|
+
}
|
|
2458
|
+
var field = reader.getFieldNumber();
|
|
2459
|
+
switch (field) {
|
|
2460
|
+
case 1:
|
|
2461
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2462
|
+
msg.addReferenceIds(value);
|
|
2463
|
+
break;
|
|
2464
|
+
case 2:
|
|
2465
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
2466
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
2467
|
+
msg.setMeta(value);
|
|
2468
|
+
break;
|
|
2469
|
+
default:
|
|
2470
|
+
reader.skipField();
|
|
2471
|
+
break;
|
|
2472
|
+
}
|
|
2473
|
+
}
|
|
2474
|
+
return msg;
|
|
2475
|
+
};
|
|
2476
|
+
|
|
2477
|
+
|
|
2478
|
+
/**
|
|
2479
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2480
|
+
* @return {!Uint8Array}
|
|
2481
|
+
*/
|
|
2482
|
+
proto.DeleteAssignPOrganizationResponse.prototype.serializeBinary = function() {
|
|
2483
|
+
var writer = new jspb.BinaryWriter();
|
|
2484
|
+
proto.DeleteAssignPOrganizationResponse.serializeBinaryToWriter(this, writer);
|
|
2485
|
+
return writer.getResultBuffer();
|
|
2486
|
+
};
|
|
2487
|
+
|
|
2488
|
+
|
|
2489
|
+
/**
|
|
2490
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2491
|
+
* format), writing to the given BinaryWriter.
|
|
2492
|
+
* @param {!proto.DeleteAssignPOrganizationResponse} message
|
|
2493
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2494
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2495
|
+
*/
|
|
2496
|
+
proto.DeleteAssignPOrganizationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2497
|
+
var f = undefined;
|
|
2498
|
+
f = message.getReferenceIdsList();
|
|
2499
|
+
if (f.length > 0) {
|
|
2500
|
+
writer.writeRepeatedString(
|
|
2501
|
+
1,
|
|
2502
|
+
f
|
|
2503
|
+
);
|
|
2504
|
+
}
|
|
2505
|
+
f = message.getMeta();
|
|
2506
|
+
if (f != null) {
|
|
2507
|
+
writer.writeMessage(
|
|
2508
|
+
2,
|
|
2509
|
+
f,
|
|
2510
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
2511
|
+
);
|
|
2512
|
+
}
|
|
2513
|
+
};
|
|
2514
|
+
|
|
2515
|
+
|
|
2516
|
+
/**
|
|
2517
|
+
* repeated string reference_ids = 1;
|
|
2518
|
+
* @return {!Array<string>}
|
|
2519
|
+
*/
|
|
2520
|
+
proto.DeleteAssignPOrganizationResponse.prototype.getReferenceIdsList = function() {
|
|
2521
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
2522
|
+
};
|
|
2523
|
+
|
|
2524
|
+
|
|
2525
|
+
/**
|
|
2526
|
+
* @param {!Array<string>} value
|
|
2527
|
+
* @return {!proto.DeleteAssignPOrganizationResponse} returns this
|
|
2528
|
+
*/
|
|
2529
|
+
proto.DeleteAssignPOrganizationResponse.prototype.setReferenceIdsList = function(value) {
|
|
2530
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
2531
|
+
};
|
|
2532
|
+
|
|
2533
|
+
|
|
2534
|
+
/**
|
|
2535
|
+
* @param {string} value
|
|
2536
|
+
* @param {number=} opt_index
|
|
2537
|
+
* @return {!proto.DeleteAssignPOrganizationResponse} returns this
|
|
2538
|
+
*/
|
|
2539
|
+
proto.DeleteAssignPOrganizationResponse.prototype.addReferenceIds = function(value, opt_index) {
|
|
2540
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
2541
|
+
};
|
|
2542
|
+
|
|
2543
|
+
|
|
2544
|
+
/**
|
|
2545
|
+
* Clears the list making it empty but non-null.
|
|
2546
|
+
* @return {!proto.DeleteAssignPOrganizationResponse} returns this
|
|
2547
|
+
*/
|
|
2548
|
+
proto.DeleteAssignPOrganizationResponse.prototype.clearReferenceIdsList = function() {
|
|
2549
|
+
return this.setReferenceIdsList([]);
|
|
2550
|
+
};
|
|
2551
|
+
|
|
2552
|
+
|
|
2553
|
+
/**
|
|
2554
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
2555
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
2556
|
+
*/
|
|
2557
|
+
proto.DeleteAssignPOrganizationResponse.prototype.getMeta = function() {
|
|
2558
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
2559
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
2560
|
+
};
|
|
2561
|
+
|
|
2562
|
+
|
|
2563
|
+
/**
|
|
2564
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
2565
|
+
* @return {!proto.DeleteAssignPOrganizationResponse} returns this
|
|
2566
|
+
*/
|
|
2567
|
+
proto.DeleteAssignPOrganizationResponse.prototype.setMeta = function(value) {
|
|
2568
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2569
|
+
};
|
|
2570
|
+
|
|
2571
|
+
|
|
2572
|
+
/**
|
|
2573
|
+
* Clears the message field making it undefined.
|
|
2574
|
+
* @return {!proto.DeleteAssignPOrganizationResponse} returns this
|
|
2575
|
+
*/
|
|
2576
|
+
proto.DeleteAssignPOrganizationResponse.prototype.clearMeta = function() {
|
|
2577
|
+
return this.setMeta(undefined);
|
|
2578
|
+
};
|
|
2579
|
+
|
|
2580
|
+
|
|
2581
|
+
/**
|
|
2582
|
+
* Returns whether this field is set.
|
|
2583
|
+
* @return {boolean}
|
|
2584
|
+
*/
|
|
2585
|
+
proto.DeleteAssignPOrganizationResponse.prototype.hasMeta = function() {
|
|
2586
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2587
|
+
};
|
|
2588
|
+
|
|
2589
|
+
|
|
2183
2590
|
goog.object.extend(exports, proto);
|
|
@@ -90,6 +90,17 @@ function deserialize_UpdateQuotationResponse(buffer_arg) {
|
|
|
90
90
|
return prisca_v1_quotation_quotation_pb.UpdateQuotationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
+
function serialize_UpdateSetWinner(arg) {
|
|
94
|
+
if (!(arg instanceof prisca_v1_quotation_quotation_pb.UpdateSetWinner)) {
|
|
95
|
+
throw new Error('Expected argument of type UpdateSetWinner');
|
|
96
|
+
}
|
|
97
|
+
return Buffer.from(arg.serializeBinary());
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
function deserialize_UpdateSetWinner(buffer_arg) {
|
|
101
|
+
return prisca_v1_quotation_quotation_pb.UpdateSetWinner.deserializeBinary(new Uint8Array(buffer_arg));
|
|
102
|
+
}
|
|
103
|
+
|
|
93
104
|
|
|
94
105
|
var QuotationServiceService = exports.QuotationServiceService = {
|
|
95
106
|
getQuotationById: {
|
|
@@ -140,10 +151,10 @@ var QuotationServiceService = exports.QuotationServiceService = {
|
|
|
140
151
|
path: '/QuotationService/SetWinner',
|
|
141
152
|
requestStream: false,
|
|
142
153
|
responseStream: false,
|
|
143
|
-
requestType: prisca_v1_quotation_quotation_pb.
|
|
154
|
+
requestType: prisca_v1_quotation_quotation_pb.UpdateSetWinner,
|
|
144
155
|
responseType: prisca_v1_quotation_quotation_pb.UpdateQuotationResponse,
|
|
145
|
-
requestSerialize:
|
|
146
|
-
requestDeserialize:
|
|
156
|
+
requestSerialize: serialize_UpdateSetWinner,
|
|
157
|
+
requestDeserialize: deserialize_UpdateSetWinner,
|
|
147
158
|
responseSerialize: serialize_UpdateQuotationResponse,
|
|
148
159
|
responseDeserialize: deserialize_UpdateQuotationResponse,
|
|
149
160
|
},
|