@aldiokta/protocgen 1.1.26 → 1.1.27
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 +22 -0
- package/prisca/v1/bidding/bidding_pb.js +421 -3
- package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +33 -0
- package/prisca/v1/core/access_manager/access_manager_pb.js +385 -0
- package/prisca/v1/core/auth/auth_grpc_pb.js +102 -3
- package/prisca/v1/core/auth/auth_pb.js +2602 -1054
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +183 -3
- package/prisca/v1/core/messaging/notification_grpc_pb.js +188 -0
- package/prisca/v1/core/messaging/notification_pb.js +2780 -0
- package/prisca/v1/core/price_condition/price_condition_pb.js +62 -2
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +31 -1
- package/prisca/v1/delivery_order/delivery_order_pb.js +109 -49
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +227 -1
- package/prisca/v1/good_receipt/good_receipt_pb.js +4525 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +121 -1
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +31 -1
- package/prisca/v1/quotation/quotation_pb.js +130 -10
- package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +55 -0
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +609 -0
package/package.json
CHANGED
|
@@ -78,6 +78,17 @@ function deserialize_RequestAddVendorBidding(buffer_arg) {
|
|
|
78
78
|
return prisca_v1_bidding_bidding_pb.RequestAddVendorBidding.deserializeBinary(new Uint8Array(buffer_arg));
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
+
function serialize_RequestExtended(arg) {
|
|
82
|
+
if (!(arg instanceof prisca_v1_bidding_bidding_pb.RequestExtended)) {
|
|
83
|
+
throw new Error('Expected argument of type RequestExtended');
|
|
84
|
+
}
|
|
85
|
+
return Buffer.from(arg.serializeBinary());
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
function deserialize_RequestExtended(buffer_arg) {
|
|
89
|
+
return prisca_v1_bidding_bidding_pb.RequestExtended.deserializeBinary(new Uint8Array(buffer_arg));
|
|
90
|
+
}
|
|
91
|
+
|
|
81
92
|
function serialize_RequestGetListBidding(arg) {
|
|
82
93
|
if (!(arg instanceof prisca_v1_bidding_bidding_pb.RequestGetListBidding)) {
|
|
83
94
|
throw new Error('Expected argument of type RequestGetListBidding');
|
|
@@ -289,6 +300,17 @@ var BiddingServiceService = exports.BiddingServiceService = {
|
|
|
289
300
|
responseSerialize: serialize_ResUpdateFileBidding,
|
|
290
301
|
responseDeserialize: deserialize_ResUpdateFileBidding,
|
|
291
302
|
},
|
|
303
|
+
extendedBidding: {
|
|
304
|
+
path: '/BiddingService/ExtendedBidding',
|
|
305
|
+
requestStream: false,
|
|
306
|
+
responseStream: false,
|
|
307
|
+
requestType: prisca_v1_bidding_bidding_pb.RequestExtended,
|
|
308
|
+
responseType: prisca_v1_bidding_bidding_pb.ResponseBidding,
|
|
309
|
+
requestSerialize: serialize_RequestExtended,
|
|
310
|
+
requestDeserialize: deserialize_RequestExtended,
|
|
311
|
+
responseSerialize: serialize_ResponseBidding,
|
|
312
|
+
responseDeserialize: deserialize_ResponseBidding,
|
|
313
|
+
},
|
|
292
314
|
};
|
|
293
315
|
|
|
294
316
|
exports.BiddingServiceClient = grpc.makeGenericClientConstructor(BiddingServiceService, 'BiddingService');
|
|
@@ -51,6 +51,7 @@ goog.exportSymbol('proto.Quotation', null, global);
|
|
|
51
51
|
goog.exportSymbol('proto.RequestAddVendorBidding', null, global);
|
|
52
52
|
goog.exportSymbol('proto.RequestBidding', null, global);
|
|
53
53
|
goog.exportSymbol('proto.RequestBiddingBase', null, global);
|
|
54
|
+
goog.exportSymbol('proto.RequestExtended', null, global);
|
|
54
55
|
goog.exportSymbol('proto.RequestGetListBidding', null, global);
|
|
55
56
|
goog.exportSymbol('proto.RequestPO', null, global);
|
|
56
57
|
goog.exportSymbol('proto.RequestUpdateFileBidding', null, global);
|
|
@@ -104,6 +105,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
104
105
|
*/
|
|
105
106
|
proto.Bidding.displayName = 'proto.Bidding';
|
|
106
107
|
}
|
|
108
|
+
/**
|
|
109
|
+
* Generated by JsPbCodeGenerator.
|
|
110
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
111
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
112
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
113
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
114
|
+
* valid.
|
|
115
|
+
* @extends {jspb.Message}
|
|
116
|
+
* @constructor
|
|
117
|
+
*/
|
|
118
|
+
proto.RequestExtended = function(opt_data) {
|
|
119
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
120
|
+
};
|
|
121
|
+
goog.inherits(proto.RequestExtended, jspb.Message);
|
|
122
|
+
if (goog.DEBUG && !COMPILED) {
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
* @override
|
|
126
|
+
*/
|
|
127
|
+
proto.RequestExtended.displayName = 'proto.RequestExtended';
|
|
128
|
+
}
|
|
107
129
|
/**
|
|
108
130
|
* Generated by JsPbCodeGenerator.
|
|
109
131
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -577,7 +599,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
577
599
|
* @constructor
|
|
578
600
|
*/
|
|
579
601
|
proto.ResponseRequestPo = function(opt_data) {
|
|
580
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
602
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.ResponseRequestPo.repeatedFields_, null);
|
|
581
603
|
};
|
|
582
604
|
goog.inherits(proto.ResponseRequestPo, jspb.Message);
|
|
583
605
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -665,7 +687,9 @@ companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 35, ""),
|
|
|
665
687
|
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
666
688
|
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
667
689
|
purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 37, ""),
|
|
668
|
-
fileIds: jspb.Message.getFieldWithDefault(msg, 38, "")
|
|
690
|
+
fileIds: jspb.Message.getFieldWithDefault(msg, 38, ""),
|
|
691
|
+
status: jspb.Message.getFieldWithDefault(msg, 39, ""),
|
|
692
|
+
biddingDate: jspb.Message.getFieldWithDefault(msg, 40, "")
|
|
669
693
|
};
|
|
670
694
|
|
|
671
695
|
if (includeInstance) {
|
|
@@ -860,6 +884,14 @@ proto.Quotation.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
860
884
|
var value = /** @type {string} */ (reader.readString());
|
|
861
885
|
msg.setFileIds(value);
|
|
862
886
|
break;
|
|
887
|
+
case 39:
|
|
888
|
+
var value = /** @type {string} */ (reader.readString());
|
|
889
|
+
msg.setStatus(value);
|
|
890
|
+
break;
|
|
891
|
+
case 40:
|
|
892
|
+
var value = /** @type {string} */ (reader.readString());
|
|
893
|
+
msg.setBiddingDate(value);
|
|
894
|
+
break;
|
|
863
895
|
default:
|
|
864
896
|
reader.skipField();
|
|
865
897
|
break;
|
|
@@ -1161,6 +1193,20 @@ proto.Quotation.serializeBinaryToWriter = function(message, writer) {
|
|
|
1161
1193
|
f
|
|
1162
1194
|
);
|
|
1163
1195
|
}
|
|
1196
|
+
f = message.getStatus();
|
|
1197
|
+
if (f.length > 0) {
|
|
1198
|
+
writer.writeString(
|
|
1199
|
+
39,
|
|
1200
|
+
f
|
|
1201
|
+
);
|
|
1202
|
+
}
|
|
1203
|
+
f = message.getBiddingDate();
|
|
1204
|
+
if (f.length > 0) {
|
|
1205
|
+
writer.writeString(
|
|
1206
|
+
40,
|
|
1207
|
+
f
|
|
1208
|
+
);
|
|
1209
|
+
}
|
|
1164
1210
|
};
|
|
1165
1211
|
|
|
1166
1212
|
|
|
@@ -1964,6 +2010,42 @@ proto.Quotation.prototype.setFileIds = function(value) {
|
|
|
1964
2010
|
};
|
|
1965
2011
|
|
|
1966
2012
|
|
|
2013
|
+
/**
|
|
2014
|
+
* optional string status = 39;
|
|
2015
|
+
* @return {string}
|
|
2016
|
+
*/
|
|
2017
|
+
proto.Quotation.prototype.getStatus = function() {
|
|
2018
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 39, ""));
|
|
2019
|
+
};
|
|
2020
|
+
|
|
2021
|
+
|
|
2022
|
+
/**
|
|
2023
|
+
* @param {string} value
|
|
2024
|
+
* @return {!proto.Quotation} returns this
|
|
2025
|
+
*/
|
|
2026
|
+
proto.Quotation.prototype.setStatus = function(value) {
|
|
2027
|
+
return jspb.Message.setProto3StringField(this, 39, value);
|
|
2028
|
+
};
|
|
2029
|
+
|
|
2030
|
+
|
|
2031
|
+
/**
|
|
2032
|
+
* optional string bidding_date = 40;
|
|
2033
|
+
* @return {string}
|
|
2034
|
+
*/
|
|
2035
|
+
proto.Quotation.prototype.getBiddingDate = function() {
|
|
2036
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 40, ""));
|
|
2037
|
+
};
|
|
2038
|
+
|
|
2039
|
+
|
|
2040
|
+
/**
|
|
2041
|
+
* @param {string} value
|
|
2042
|
+
* @return {!proto.Quotation} returns this
|
|
2043
|
+
*/
|
|
2044
|
+
proto.Quotation.prototype.setBiddingDate = function(value) {
|
|
2045
|
+
return jspb.Message.setProto3StringField(this, 40, value);
|
|
2046
|
+
};
|
|
2047
|
+
|
|
2048
|
+
|
|
1967
2049
|
|
|
1968
2050
|
/**
|
|
1969
2051
|
* List of repeated fields within this message type.
|
|
@@ -2027,7 +2109,9 @@ updatedByEmployee: (f = msg.getUpdatedByEmployee()) && prisca_v1_core_employee_e
|
|
|
2027
2109
|
status: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
2028
2110
|
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
2029
2111
|
groupReferences: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
2030
|
-
purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 24, "")
|
|
2112
|
+
purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
2113
|
+
totalQuotation: jspb.Message.getFieldWithDefault(msg, 25, 0),
|
|
2114
|
+
fullfiledQuotation: jspb.Message.getFieldWithDefault(msg, 26, 0)
|
|
2031
2115
|
};
|
|
2032
2116
|
|
|
2033
2117
|
if (includeInstance) {
|
|
@@ -2163,6 +2247,14 @@ proto.Bidding.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2163
2247
|
var value = /** @type {string} */ (reader.readString());
|
|
2164
2248
|
msg.setPurchaseRequisitionTransactionNumber(value);
|
|
2165
2249
|
break;
|
|
2250
|
+
case 25:
|
|
2251
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2252
|
+
msg.setTotalQuotation(value);
|
|
2253
|
+
break;
|
|
2254
|
+
case 26:
|
|
2255
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2256
|
+
msg.setFullfiledQuotation(value);
|
|
2257
|
+
break;
|
|
2166
2258
|
default:
|
|
2167
2259
|
reader.skipField();
|
|
2168
2260
|
break;
|
|
@@ -2363,6 +2455,20 @@ proto.Bidding.serializeBinaryToWriter = function(message, writer) {
|
|
|
2363
2455
|
f
|
|
2364
2456
|
);
|
|
2365
2457
|
}
|
|
2458
|
+
f = message.getTotalQuotation();
|
|
2459
|
+
if (f !== 0) {
|
|
2460
|
+
writer.writeInt64(
|
|
2461
|
+
25,
|
|
2462
|
+
f
|
|
2463
|
+
);
|
|
2464
|
+
}
|
|
2465
|
+
f = message.getFullfiledQuotation();
|
|
2466
|
+
if (f !== 0) {
|
|
2467
|
+
writer.writeInt64(
|
|
2468
|
+
26,
|
|
2469
|
+
f
|
|
2470
|
+
);
|
|
2471
|
+
}
|
|
2366
2472
|
};
|
|
2367
2473
|
|
|
2368
2474
|
|
|
@@ -2856,6 +2962,262 @@ proto.Bidding.prototype.setPurchaseRequisitionTransactionNumber = function(value
|
|
|
2856
2962
|
};
|
|
2857
2963
|
|
|
2858
2964
|
|
|
2965
|
+
/**
|
|
2966
|
+
* optional int64 total_quotation = 25;
|
|
2967
|
+
* @return {number}
|
|
2968
|
+
*/
|
|
2969
|
+
proto.Bidding.prototype.getTotalQuotation = function() {
|
|
2970
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 25, 0));
|
|
2971
|
+
};
|
|
2972
|
+
|
|
2973
|
+
|
|
2974
|
+
/**
|
|
2975
|
+
* @param {number} value
|
|
2976
|
+
* @return {!proto.Bidding} returns this
|
|
2977
|
+
*/
|
|
2978
|
+
proto.Bidding.prototype.setTotalQuotation = function(value) {
|
|
2979
|
+
return jspb.Message.setProto3IntField(this, 25, value);
|
|
2980
|
+
};
|
|
2981
|
+
|
|
2982
|
+
|
|
2983
|
+
/**
|
|
2984
|
+
* optional int64 fullfiled_quotation = 26;
|
|
2985
|
+
* @return {number}
|
|
2986
|
+
*/
|
|
2987
|
+
proto.Bidding.prototype.getFullfiledQuotation = function() {
|
|
2988
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 26, 0));
|
|
2989
|
+
};
|
|
2990
|
+
|
|
2991
|
+
|
|
2992
|
+
/**
|
|
2993
|
+
* @param {number} value
|
|
2994
|
+
* @return {!proto.Bidding} returns this
|
|
2995
|
+
*/
|
|
2996
|
+
proto.Bidding.prototype.setFullfiledQuotation = function(value) {
|
|
2997
|
+
return jspb.Message.setProto3IntField(this, 26, value);
|
|
2998
|
+
};
|
|
2999
|
+
|
|
3000
|
+
|
|
3001
|
+
|
|
3002
|
+
|
|
3003
|
+
|
|
3004
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3005
|
+
/**
|
|
3006
|
+
* Creates an object representation of this proto.
|
|
3007
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3008
|
+
* Optional fields that are not set will be set to undefined.
|
|
3009
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3010
|
+
* For the list of reserved names please see:
|
|
3011
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3012
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3013
|
+
* JSPB instance for transitional soy proto support:
|
|
3014
|
+
* http://goto/soy-param-migration
|
|
3015
|
+
* @return {!Object}
|
|
3016
|
+
*/
|
|
3017
|
+
proto.RequestExtended.prototype.toObject = function(opt_includeInstance) {
|
|
3018
|
+
return proto.RequestExtended.toObject(opt_includeInstance, this);
|
|
3019
|
+
};
|
|
3020
|
+
|
|
3021
|
+
|
|
3022
|
+
/**
|
|
3023
|
+
* Static version of the {@see toObject} method.
|
|
3024
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3025
|
+
* the JSPB instance for transitional soy proto support:
|
|
3026
|
+
* http://goto/soy-param-migration
|
|
3027
|
+
* @param {!proto.RequestExtended} msg The msg instance to transform.
|
|
3028
|
+
* @return {!Object}
|
|
3029
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3030
|
+
*/
|
|
3031
|
+
proto.RequestExtended.toObject = function(includeInstance, msg) {
|
|
3032
|
+
var f, obj = {
|
|
3033
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3034
|
+
reasonBiddingExtended: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3035
|
+
maxSubmissionDate: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3036
|
+
biddingEndDate: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
3037
|
+
};
|
|
3038
|
+
|
|
3039
|
+
if (includeInstance) {
|
|
3040
|
+
obj.$jspbMessageInstance = msg;
|
|
3041
|
+
}
|
|
3042
|
+
return obj;
|
|
3043
|
+
};
|
|
3044
|
+
}
|
|
3045
|
+
|
|
3046
|
+
|
|
3047
|
+
/**
|
|
3048
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3049
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3050
|
+
* @return {!proto.RequestExtended}
|
|
3051
|
+
*/
|
|
3052
|
+
proto.RequestExtended.deserializeBinary = function(bytes) {
|
|
3053
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3054
|
+
var msg = new proto.RequestExtended;
|
|
3055
|
+
return proto.RequestExtended.deserializeBinaryFromReader(msg, reader);
|
|
3056
|
+
};
|
|
3057
|
+
|
|
3058
|
+
|
|
3059
|
+
/**
|
|
3060
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3061
|
+
* given reader into the given message object.
|
|
3062
|
+
* @param {!proto.RequestExtended} msg The message object to deserialize into.
|
|
3063
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3064
|
+
* @return {!proto.RequestExtended}
|
|
3065
|
+
*/
|
|
3066
|
+
proto.RequestExtended.deserializeBinaryFromReader = function(msg, reader) {
|
|
3067
|
+
while (reader.nextField()) {
|
|
3068
|
+
if (reader.isEndGroup()) {
|
|
3069
|
+
break;
|
|
3070
|
+
}
|
|
3071
|
+
var field = reader.getFieldNumber();
|
|
3072
|
+
switch (field) {
|
|
3073
|
+
case 1:
|
|
3074
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3075
|
+
msg.setReferencesId(value);
|
|
3076
|
+
break;
|
|
3077
|
+
case 2:
|
|
3078
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3079
|
+
msg.setReasonBiddingExtended(value);
|
|
3080
|
+
break;
|
|
3081
|
+
case 3:
|
|
3082
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3083
|
+
msg.setMaxSubmissionDate(value);
|
|
3084
|
+
break;
|
|
3085
|
+
case 4:
|
|
3086
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3087
|
+
msg.setBiddingEndDate(value);
|
|
3088
|
+
break;
|
|
3089
|
+
default:
|
|
3090
|
+
reader.skipField();
|
|
3091
|
+
break;
|
|
3092
|
+
}
|
|
3093
|
+
}
|
|
3094
|
+
return msg;
|
|
3095
|
+
};
|
|
3096
|
+
|
|
3097
|
+
|
|
3098
|
+
/**
|
|
3099
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3100
|
+
* @return {!Uint8Array}
|
|
3101
|
+
*/
|
|
3102
|
+
proto.RequestExtended.prototype.serializeBinary = function() {
|
|
3103
|
+
var writer = new jspb.BinaryWriter();
|
|
3104
|
+
proto.RequestExtended.serializeBinaryToWriter(this, writer);
|
|
3105
|
+
return writer.getResultBuffer();
|
|
3106
|
+
};
|
|
3107
|
+
|
|
3108
|
+
|
|
3109
|
+
/**
|
|
3110
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3111
|
+
* format), writing to the given BinaryWriter.
|
|
3112
|
+
* @param {!proto.RequestExtended} message
|
|
3113
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3114
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3115
|
+
*/
|
|
3116
|
+
proto.RequestExtended.serializeBinaryToWriter = function(message, writer) {
|
|
3117
|
+
var f = undefined;
|
|
3118
|
+
f = message.getReferencesId();
|
|
3119
|
+
if (f.length > 0) {
|
|
3120
|
+
writer.writeString(
|
|
3121
|
+
1,
|
|
3122
|
+
f
|
|
3123
|
+
);
|
|
3124
|
+
}
|
|
3125
|
+
f = message.getReasonBiddingExtended();
|
|
3126
|
+
if (f.length > 0) {
|
|
3127
|
+
writer.writeString(
|
|
3128
|
+
2,
|
|
3129
|
+
f
|
|
3130
|
+
);
|
|
3131
|
+
}
|
|
3132
|
+
f = message.getMaxSubmissionDate();
|
|
3133
|
+
if (f.length > 0) {
|
|
3134
|
+
writer.writeString(
|
|
3135
|
+
3,
|
|
3136
|
+
f
|
|
3137
|
+
);
|
|
3138
|
+
}
|
|
3139
|
+
f = message.getBiddingEndDate();
|
|
3140
|
+
if (f.length > 0) {
|
|
3141
|
+
writer.writeString(
|
|
3142
|
+
4,
|
|
3143
|
+
f
|
|
3144
|
+
);
|
|
3145
|
+
}
|
|
3146
|
+
};
|
|
3147
|
+
|
|
3148
|
+
|
|
3149
|
+
/**
|
|
3150
|
+
* optional string references_id = 1;
|
|
3151
|
+
* @return {string}
|
|
3152
|
+
*/
|
|
3153
|
+
proto.RequestExtended.prototype.getReferencesId = function() {
|
|
3154
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3155
|
+
};
|
|
3156
|
+
|
|
3157
|
+
|
|
3158
|
+
/**
|
|
3159
|
+
* @param {string} value
|
|
3160
|
+
* @return {!proto.RequestExtended} returns this
|
|
3161
|
+
*/
|
|
3162
|
+
proto.RequestExtended.prototype.setReferencesId = function(value) {
|
|
3163
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3164
|
+
};
|
|
3165
|
+
|
|
3166
|
+
|
|
3167
|
+
/**
|
|
3168
|
+
* optional string reason_bidding_extended = 2;
|
|
3169
|
+
* @return {string}
|
|
3170
|
+
*/
|
|
3171
|
+
proto.RequestExtended.prototype.getReasonBiddingExtended = function() {
|
|
3172
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3173
|
+
};
|
|
3174
|
+
|
|
3175
|
+
|
|
3176
|
+
/**
|
|
3177
|
+
* @param {string} value
|
|
3178
|
+
* @return {!proto.RequestExtended} returns this
|
|
3179
|
+
*/
|
|
3180
|
+
proto.RequestExtended.prototype.setReasonBiddingExtended = function(value) {
|
|
3181
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3182
|
+
};
|
|
3183
|
+
|
|
3184
|
+
|
|
3185
|
+
/**
|
|
3186
|
+
* optional string max_submission_date = 3;
|
|
3187
|
+
* @return {string}
|
|
3188
|
+
*/
|
|
3189
|
+
proto.RequestExtended.prototype.getMaxSubmissionDate = function() {
|
|
3190
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3191
|
+
};
|
|
3192
|
+
|
|
3193
|
+
|
|
3194
|
+
/**
|
|
3195
|
+
* @param {string} value
|
|
3196
|
+
* @return {!proto.RequestExtended} returns this
|
|
3197
|
+
*/
|
|
3198
|
+
proto.RequestExtended.prototype.setMaxSubmissionDate = function(value) {
|
|
3199
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3200
|
+
};
|
|
3201
|
+
|
|
3202
|
+
|
|
3203
|
+
/**
|
|
3204
|
+
* optional string bidding_end_date = 4;
|
|
3205
|
+
* @return {string}
|
|
3206
|
+
*/
|
|
3207
|
+
proto.RequestExtended.prototype.getBiddingEndDate = function() {
|
|
3208
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
3209
|
+
};
|
|
3210
|
+
|
|
3211
|
+
|
|
3212
|
+
/**
|
|
3213
|
+
* @param {string} value
|
|
3214
|
+
* @return {!proto.RequestExtended} returns this
|
|
3215
|
+
*/
|
|
3216
|
+
proto.RequestExtended.prototype.setBiddingEndDate = function(value) {
|
|
3217
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
3218
|
+
};
|
|
3219
|
+
|
|
3220
|
+
|
|
2859
3221
|
|
|
2860
3222
|
/**
|
|
2861
3223
|
* List of repeated fields within this message type.
|
|
@@ -7335,6 +7697,13 @@ proto.RequestPO.prototype.setQuotationReferences = function(value) {
|
|
|
7335
7697
|
|
|
7336
7698
|
|
|
7337
7699
|
|
|
7700
|
+
/**
|
|
7701
|
+
* List of repeated fields within this message type.
|
|
7702
|
+
* @private {!Array<number>}
|
|
7703
|
+
* @const
|
|
7704
|
+
*/
|
|
7705
|
+
proto.ResponseRequestPo.repeatedFields_ = [1];
|
|
7706
|
+
|
|
7338
7707
|
|
|
7339
7708
|
|
|
7340
7709
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -7366,6 +7735,7 @@ proto.ResponseRequestPo.prototype.toObject = function(opt_includeInstance) {
|
|
|
7366
7735
|
*/
|
|
7367
7736
|
proto.ResponseRequestPo.toObject = function(includeInstance, msg) {
|
|
7368
7737
|
var f, obj = {
|
|
7738
|
+
poNumbersList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
7369
7739
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
7370
7740
|
};
|
|
7371
7741
|
|
|
@@ -7403,6 +7773,10 @@ proto.ResponseRequestPo.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
7403
7773
|
}
|
|
7404
7774
|
var field = reader.getFieldNumber();
|
|
7405
7775
|
switch (field) {
|
|
7776
|
+
case 1:
|
|
7777
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7778
|
+
msg.addPoNumbers(value);
|
|
7779
|
+
break;
|
|
7406
7780
|
case 2:
|
|
7407
7781
|
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
7408
7782
|
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
@@ -7437,6 +7811,13 @@ proto.ResponseRequestPo.prototype.serializeBinary = function() {
|
|
|
7437
7811
|
*/
|
|
7438
7812
|
proto.ResponseRequestPo.serializeBinaryToWriter = function(message, writer) {
|
|
7439
7813
|
var f = undefined;
|
|
7814
|
+
f = message.getPoNumbersList();
|
|
7815
|
+
if (f.length > 0) {
|
|
7816
|
+
writer.writeRepeatedString(
|
|
7817
|
+
1,
|
|
7818
|
+
f
|
|
7819
|
+
);
|
|
7820
|
+
}
|
|
7440
7821
|
f = message.getMeta();
|
|
7441
7822
|
if (f != null) {
|
|
7442
7823
|
writer.writeMessage(
|
|
@@ -7448,6 +7829,43 @@ proto.ResponseRequestPo.serializeBinaryToWriter = function(message, writer) {
|
|
|
7448
7829
|
};
|
|
7449
7830
|
|
|
7450
7831
|
|
|
7832
|
+
/**
|
|
7833
|
+
* repeated string po_numbers = 1;
|
|
7834
|
+
* @return {!Array<string>}
|
|
7835
|
+
*/
|
|
7836
|
+
proto.ResponseRequestPo.prototype.getPoNumbersList = function() {
|
|
7837
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
7838
|
+
};
|
|
7839
|
+
|
|
7840
|
+
|
|
7841
|
+
/**
|
|
7842
|
+
* @param {!Array<string>} value
|
|
7843
|
+
* @return {!proto.ResponseRequestPo} returns this
|
|
7844
|
+
*/
|
|
7845
|
+
proto.ResponseRequestPo.prototype.setPoNumbersList = function(value) {
|
|
7846
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
7847
|
+
};
|
|
7848
|
+
|
|
7849
|
+
|
|
7850
|
+
/**
|
|
7851
|
+
* @param {string} value
|
|
7852
|
+
* @param {number=} opt_index
|
|
7853
|
+
* @return {!proto.ResponseRequestPo} returns this
|
|
7854
|
+
*/
|
|
7855
|
+
proto.ResponseRequestPo.prototype.addPoNumbers = function(value, opt_index) {
|
|
7856
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
7857
|
+
};
|
|
7858
|
+
|
|
7859
|
+
|
|
7860
|
+
/**
|
|
7861
|
+
* Clears the list making it empty but non-null.
|
|
7862
|
+
* @return {!proto.ResponseRequestPo} returns this
|
|
7863
|
+
*/
|
|
7864
|
+
proto.ResponseRequestPo.prototype.clearPoNumbersList = function() {
|
|
7865
|
+
return this.setPoNumbersList([]);
|
|
7866
|
+
};
|
|
7867
|
+
|
|
7868
|
+
|
|
7451
7869
|
/**
|
|
7452
7870
|
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
7453
7871
|
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
@@ -53,6 +53,28 @@ function deserialize_AssignRoleToUserResponse(buffer_arg) {
|
|
|
53
53
|
return prisca_v1_core_access_manager_access_manager_pb.AssignRoleToUserResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
+
function serialize_AuthorizeUserReq(arg) {
|
|
57
|
+
if (!(arg instanceof prisca_v1_core_access_manager_access_manager_pb.AuthorizeUserReq)) {
|
|
58
|
+
throw new Error('Expected argument of type AuthorizeUserReq');
|
|
59
|
+
}
|
|
60
|
+
return Buffer.from(arg.serializeBinary());
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
function deserialize_AuthorizeUserReq(buffer_arg) {
|
|
64
|
+
return prisca_v1_core_access_manager_access_manager_pb.AuthorizeUserReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
function serialize_AuthorizeUserRes(arg) {
|
|
68
|
+
if (!(arg instanceof prisca_v1_core_access_manager_access_manager_pb.AuthorizeUserRes)) {
|
|
69
|
+
throw new Error('Expected argument of type AuthorizeUserRes');
|
|
70
|
+
}
|
|
71
|
+
return Buffer.from(arg.serializeBinary());
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
function deserialize_AuthorizeUserRes(buffer_arg) {
|
|
75
|
+
return prisca_v1_core_access_manager_access_manager_pb.AuthorizeUserRes.deserializeBinary(new Uint8Array(buffer_arg));
|
|
76
|
+
}
|
|
77
|
+
|
|
56
78
|
function serialize_CreatePolicyRequest(arg) {
|
|
57
79
|
if (!(arg instanceof prisca_v1_core_access_manager_access_manager_pb.CreatePolicyRequest)) {
|
|
58
80
|
throw new Error('Expected argument of type CreatePolicyRequest');
|
|
@@ -539,6 +561,17 @@ var AccessManagerServiceService = exports.AccessManagerServiceService = {
|
|
|
539
561
|
responseSerialize: serialize_GetResourceByActionResponse,
|
|
540
562
|
responseDeserialize: deserialize_GetResourceByActionResponse,
|
|
541
563
|
},
|
|
564
|
+
isAuthorizeUser: {
|
|
565
|
+
path: '/AccessManagerService/IsAuthorizeUser',
|
|
566
|
+
requestStream: false,
|
|
567
|
+
responseStream: false,
|
|
568
|
+
requestType: prisca_v1_core_access_manager_access_manager_pb.AuthorizeUserReq,
|
|
569
|
+
responseType: prisca_v1_core_access_manager_access_manager_pb.AuthorizeUserRes,
|
|
570
|
+
requestSerialize: serialize_AuthorizeUserReq,
|
|
571
|
+
requestDeserialize: deserialize_AuthorizeUserReq,
|
|
572
|
+
responseSerialize: serialize_AuthorizeUserRes,
|
|
573
|
+
responseDeserialize: deserialize_AuthorizeUserRes,
|
|
574
|
+
},
|
|
542
575
|
};
|
|
543
576
|
|
|
544
577
|
exports.AccessManagerServiceClient = grpc.makeGenericClientConstructor(AccessManagerServiceService, 'AccessManagerService');
|