@aldiokta/protocgen 1.0.90 → 1.0.92
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
CHANGED
|
@@ -897,7 +897,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
897
897
|
* @constructor
|
|
898
898
|
*/
|
|
899
899
|
proto.GetRoleByIdResponse = function(opt_data) {
|
|
900
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
900
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetRoleByIdResponse.repeatedFields_, null);
|
|
901
901
|
};
|
|
902
902
|
goog.inherits(proto.GetRoleByIdResponse, jspb.Message);
|
|
903
903
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -8637,6 +8637,13 @@ proto.DeleteRoleResponse.prototype.hasMeta = function() {
|
|
|
8637
8637
|
|
|
8638
8638
|
|
|
8639
8639
|
|
|
8640
|
+
/**
|
|
8641
|
+
* List of repeated fields within this message type.
|
|
8642
|
+
* @private {!Array<number>}
|
|
8643
|
+
* @const
|
|
8644
|
+
*/
|
|
8645
|
+
proto.GetRoleByIdResponse.repeatedFields_ = [2];
|
|
8646
|
+
|
|
8640
8647
|
|
|
8641
8648
|
|
|
8642
8649
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -8669,6 +8676,8 @@ proto.GetRoleByIdResponse.prototype.toObject = function(opt_includeInstance) {
|
|
|
8669
8676
|
proto.GetRoleByIdResponse.toObject = function(includeInstance, msg) {
|
|
8670
8677
|
var f, obj = {
|
|
8671
8678
|
role: (f = msg.getRole()) && proto.Role.toObject(includeInstance, f),
|
|
8679
|
+
rolePoliciesList: jspb.Message.toObjectList(msg.getRolePoliciesList(),
|
|
8680
|
+
proto.RolePolicy.toObject, includeInstance),
|
|
8672
8681
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
8673
8682
|
};
|
|
8674
8683
|
|
|
@@ -8712,6 +8721,11 @@ proto.GetRoleByIdResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
8712
8721
|
msg.setRole(value);
|
|
8713
8722
|
break;
|
|
8714
8723
|
case 2:
|
|
8724
|
+
var value = new proto.RolePolicy;
|
|
8725
|
+
reader.readMessage(value,proto.RolePolicy.deserializeBinaryFromReader);
|
|
8726
|
+
msg.addRolePolicies(value);
|
|
8727
|
+
break;
|
|
8728
|
+
case 3:
|
|
8715
8729
|
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
8716
8730
|
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
8717
8731
|
msg.setMeta(value);
|
|
@@ -8753,10 +8767,18 @@ proto.GetRoleByIdResponse.serializeBinaryToWriter = function(message, writer) {
|
|
|
8753
8767
|
proto.Role.serializeBinaryToWriter
|
|
8754
8768
|
);
|
|
8755
8769
|
}
|
|
8770
|
+
f = message.getRolePoliciesList();
|
|
8771
|
+
if (f.length > 0) {
|
|
8772
|
+
writer.writeRepeatedMessage(
|
|
8773
|
+
2,
|
|
8774
|
+
f,
|
|
8775
|
+
proto.RolePolicy.serializeBinaryToWriter
|
|
8776
|
+
);
|
|
8777
|
+
}
|
|
8756
8778
|
f = message.getMeta();
|
|
8757
8779
|
if (f != null) {
|
|
8758
8780
|
writer.writeMessage(
|
|
8759
|
-
|
|
8781
|
+
3,
|
|
8760
8782
|
f,
|
|
8761
8783
|
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
8762
8784
|
);
|
|
@@ -8802,12 +8824,50 @@ proto.GetRoleByIdResponse.prototype.hasRole = function() {
|
|
|
8802
8824
|
|
|
8803
8825
|
|
|
8804
8826
|
/**
|
|
8805
|
-
*
|
|
8827
|
+
* repeated RolePolicy role_policies = 2;
|
|
8828
|
+
* @return {!Array<!proto.RolePolicy>}
|
|
8829
|
+
*/
|
|
8830
|
+
proto.GetRoleByIdResponse.prototype.getRolePoliciesList = function() {
|
|
8831
|
+
return /** @type{!Array<!proto.RolePolicy>} */ (
|
|
8832
|
+
jspb.Message.getRepeatedWrapperField(this, proto.RolePolicy, 2));
|
|
8833
|
+
};
|
|
8834
|
+
|
|
8835
|
+
|
|
8836
|
+
/**
|
|
8837
|
+
* @param {!Array<!proto.RolePolicy>} value
|
|
8838
|
+
* @return {!proto.GetRoleByIdResponse} returns this
|
|
8839
|
+
*/
|
|
8840
|
+
proto.GetRoleByIdResponse.prototype.setRolePoliciesList = function(value) {
|
|
8841
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
8842
|
+
};
|
|
8843
|
+
|
|
8844
|
+
|
|
8845
|
+
/**
|
|
8846
|
+
* @param {!proto.RolePolicy=} opt_value
|
|
8847
|
+
* @param {number=} opt_index
|
|
8848
|
+
* @return {!proto.RolePolicy}
|
|
8849
|
+
*/
|
|
8850
|
+
proto.GetRoleByIdResponse.prototype.addRolePolicies = function(opt_value, opt_index) {
|
|
8851
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.RolePolicy, opt_index);
|
|
8852
|
+
};
|
|
8853
|
+
|
|
8854
|
+
|
|
8855
|
+
/**
|
|
8856
|
+
* Clears the list making it empty but non-null.
|
|
8857
|
+
* @return {!proto.GetRoleByIdResponse} returns this
|
|
8858
|
+
*/
|
|
8859
|
+
proto.GetRoleByIdResponse.prototype.clearRolePoliciesList = function() {
|
|
8860
|
+
return this.setRolePoliciesList([]);
|
|
8861
|
+
};
|
|
8862
|
+
|
|
8863
|
+
|
|
8864
|
+
/**
|
|
8865
|
+
* optional prisca.v1.global.meta.Meta meta = 3;
|
|
8806
8866
|
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
8807
8867
|
*/
|
|
8808
8868
|
proto.GetRoleByIdResponse.prototype.getMeta = function() {
|
|
8809
8869
|
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
8810
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta,
|
|
8870
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 3));
|
|
8811
8871
|
};
|
|
8812
8872
|
|
|
8813
8873
|
|
|
@@ -8816,7 +8876,7 @@ proto.GetRoleByIdResponse.prototype.getMeta = function() {
|
|
|
8816
8876
|
* @return {!proto.GetRoleByIdResponse} returns this
|
|
8817
8877
|
*/
|
|
8818
8878
|
proto.GetRoleByIdResponse.prototype.setMeta = function(value) {
|
|
8819
|
-
return jspb.Message.setWrapperField(this,
|
|
8879
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
8820
8880
|
};
|
|
8821
8881
|
|
|
8822
8882
|
|
|
@@ -8834,7 +8894,7 @@ proto.GetRoleByIdResponse.prototype.clearMeta = function() {
|
|
|
8834
8894
|
* @return {boolean}
|
|
8835
8895
|
*/
|
|
8836
8896
|
proto.GetRoleByIdResponse.prototype.hasMeta = function() {
|
|
8837
|
-
return jspb.Message.getField(this,
|
|
8897
|
+
return jspb.Message.getField(this, 3) != null;
|
|
8838
8898
|
};
|
|
8839
8899
|
|
|
8840
8900
|
|
|
@@ -295,6 +295,17 @@ function deserialize_UpdatePurchaseRequisitionTrxResponse(buffer_arg) {
|
|
|
295
295
|
return prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.UpdatePurchaseRequisitionTrxResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
296
296
|
}
|
|
297
297
|
|
|
298
|
+
function serialize_UpdatePurchaseRequisitionTrxStatusRequest(arg) {
|
|
299
|
+
if (!(arg instanceof prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.UpdatePurchaseRequisitionTrxStatusRequest)) {
|
|
300
|
+
throw new Error('Expected argument of type UpdatePurchaseRequisitionTrxStatusRequest');
|
|
301
|
+
}
|
|
302
|
+
return Buffer.from(arg.serializeBinary());
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
function deserialize_UpdatePurchaseRequisitionTrxStatusRequest(buffer_arg) {
|
|
306
|
+
return prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.UpdatePurchaseRequisitionTrxStatusRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
307
|
+
}
|
|
308
|
+
|
|
298
309
|
|
|
299
310
|
var PurchaseRequisitionTrxServiceService = exports.PurchaseRequisitionTrxServiceService = {
|
|
300
311
|
createPurchaseRequisitionTrx: {
|
|
@@ -319,6 +330,17 @@ var PurchaseRequisitionTrxServiceService = exports.PurchaseRequisitionTrxService
|
|
|
319
330
|
responseSerialize: serialize_UpdatePurchaseRequisitionTrxResponse,
|
|
320
331
|
responseDeserialize: deserialize_UpdatePurchaseRequisitionTrxResponse,
|
|
321
332
|
},
|
|
333
|
+
updatePurchaseRequisitionStatusTrx: {
|
|
334
|
+
path: '/PurchaseRequisitionTrxService/UpdatePurchaseRequisitionStatusTrx',
|
|
335
|
+
requestStream: false,
|
|
336
|
+
responseStream: false,
|
|
337
|
+
requestType: prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.UpdatePurchaseRequisitionTrxStatusRequest,
|
|
338
|
+
responseType: prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.UpdatePurchaseRequisitionTrxResponse,
|
|
339
|
+
requestSerialize: serialize_UpdatePurchaseRequisitionTrxStatusRequest,
|
|
340
|
+
requestDeserialize: deserialize_UpdatePurchaseRequisitionTrxStatusRequest,
|
|
341
|
+
responseSerialize: serialize_UpdatePurchaseRequisitionTrxResponse,
|
|
342
|
+
responseDeserialize: deserialize_UpdatePurchaseRequisitionTrxResponse,
|
|
343
|
+
},
|
|
322
344
|
getPurchaseRequisitionTrxById: {
|
|
323
345
|
path: '/PurchaseRequisitionTrxService/GetPurchaseRequisitionTrxById',
|
|
324
346
|
requestStream: false,
|
|
@@ -71,6 +71,7 @@ goog.exportSymbol('proto.UpdatePurchaseRequisitionTemplateRequest', null, global
|
|
|
71
71
|
goog.exportSymbol('proto.UpdatePurchaseRequisitionTemplateResponse', null, global);
|
|
72
72
|
goog.exportSymbol('proto.UpdatePurchaseRequisitionTrxRequest', null, global);
|
|
73
73
|
goog.exportSymbol('proto.UpdatePurchaseRequisitionTrxResponse', null, global);
|
|
74
|
+
goog.exportSymbol('proto.UpdatePurchaseRequisitionTrxStatusRequest', null, global);
|
|
74
75
|
/**
|
|
75
76
|
* Generated by JsPbCodeGenerator.
|
|
76
77
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -260,6 +261,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
260
261
|
*/
|
|
261
262
|
proto.UpdatePurchaseRequisitionTrxRequest.displayName = 'proto.UpdatePurchaseRequisitionTrxRequest';
|
|
262
263
|
}
|
|
264
|
+
/**
|
|
265
|
+
* Generated by JsPbCodeGenerator.
|
|
266
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
267
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
268
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
269
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
270
|
+
* valid.
|
|
271
|
+
* @extends {jspb.Message}
|
|
272
|
+
* @constructor
|
|
273
|
+
*/
|
|
274
|
+
proto.UpdatePurchaseRequisitionTrxStatusRequest = function(opt_data) {
|
|
275
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
276
|
+
};
|
|
277
|
+
goog.inherits(proto.UpdatePurchaseRequisitionTrxStatusRequest, jspb.Message);
|
|
278
|
+
if (goog.DEBUG && !COMPILED) {
|
|
279
|
+
/**
|
|
280
|
+
* @public
|
|
281
|
+
* @override
|
|
282
|
+
*/
|
|
283
|
+
proto.UpdatePurchaseRequisitionTrxStatusRequest.displayName = 'proto.UpdatePurchaseRequisitionTrxStatusRequest';
|
|
284
|
+
}
|
|
263
285
|
/**
|
|
264
286
|
* Generated by JsPbCodeGenerator.
|
|
265
287
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3865,7 +3887,8 @@ documentTypeRef: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
|
3865
3887
|
status: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
3866
3888
|
groupReferences: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
3867
3889
|
referencesId: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
3868
|
-
numberRangeSequence: jspb.Message.getFieldWithDefault(msg, 18, "")
|
|
3890
|
+
numberRangeSequence: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
3891
|
+
justification: jspb.Message.getFieldWithDefault(msg, 19, "")
|
|
3869
3892
|
};
|
|
3870
3893
|
|
|
3871
3894
|
if (includeInstance) {
|
|
@@ -3975,6 +3998,10 @@ proto.BaseUpdatePurchaseRequisitionTrx.deserializeBinaryFromReader = function(ms
|
|
|
3975
3998
|
var value = /** @type {string} */ (reader.readString());
|
|
3976
3999
|
msg.setNumberRangeSequence(value);
|
|
3977
4000
|
break;
|
|
4001
|
+
case 19:
|
|
4002
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4003
|
+
msg.setJustification(value);
|
|
4004
|
+
break;
|
|
3978
4005
|
default:
|
|
3979
4006
|
reader.skipField();
|
|
3980
4007
|
break;
|
|
@@ -4131,6 +4158,13 @@ proto.BaseUpdatePurchaseRequisitionTrx.serializeBinaryToWriter = function(messag
|
|
|
4131
4158
|
f
|
|
4132
4159
|
);
|
|
4133
4160
|
}
|
|
4161
|
+
f = message.getJustification();
|
|
4162
|
+
if (f.length > 0) {
|
|
4163
|
+
writer.writeString(
|
|
4164
|
+
19,
|
|
4165
|
+
f
|
|
4166
|
+
);
|
|
4167
|
+
}
|
|
4134
4168
|
};
|
|
4135
4169
|
|
|
4136
4170
|
|
|
@@ -4478,6 +4512,24 @@ proto.BaseUpdatePurchaseRequisitionTrx.prototype.setNumberRangeSequence = functi
|
|
|
4478
4512
|
};
|
|
4479
4513
|
|
|
4480
4514
|
|
|
4515
|
+
/**
|
|
4516
|
+
* optional string justification = 19;
|
|
4517
|
+
* @return {string}
|
|
4518
|
+
*/
|
|
4519
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.getJustification = function() {
|
|
4520
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
4521
|
+
};
|
|
4522
|
+
|
|
4523
|
+
|
|
4524
|
+
/**
|
|
4525
|
+
* @param {string} value
|
|
4526
|
+
* @return {!proto.BaseUpdatePurchaseRequisitionTrx} returns this
|
|
4527
|
+
*/
|
|
4528
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.setJustification = function(value) {
|
|
4529
|
+
return jspb.Message.setProto3StringField(this, 19, value);
|
|
4530
|
+
};
|
|
4531
|
+
|
|
4532
|
+
|
|
4481
4533
|
|
|
4482
4534
|
/**
|
|
4483
4535
|
* List of repeated fields within this message type.
|
|
@@ -5005,7 +5057,10 @@ glAccountDescription: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
|
5005
5057
|
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
5006
5058
|
valuationPrice: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
5007
5059
|
requisitioner: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
5008
|
-
customTransaction: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
5060
|
+
customTransaction: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
5061
|
+
distribution: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
|
5062
|
+
quantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
|
5063
|
+
assetNo: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
5009
5064
|
};
|
|
5010
5065
|
|
|
5011
5066
|
if (includeInstance) {
|
|
@@ -5066,6 +5121,18 @@ proto.BasePurchaseRequisitionItemDetail.deserializeBinaryFromReader = function(m
|
|
|
5066
5121
|
var value = /** @type {string} */ (reader.readString());
|
|
5067
5122
|
msg.setCustomTransaction(value);
|
|
5068
5123
|
break;
|
|
5124
|
+
case 7:
|
|
5125
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
5126
|
+
msg.setDistribution(value);
|
|
5127
|
+
break;
|
|
5128
|
+
case 8:
|
|
5129
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
5130
|
+
msg.setQuantity(value);
|
|
5131
|
+
break;
|
|
5132
|
+
case 9:
|
|
5133
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5134
|
+
msg.setAssetNo(value);
|
|
5135
|
+
break;
|
|
5069
5136
|
default:
|
|
5070
5137
|
reader.skipField();
|
|
5071
5138
|
break;
|
|
@@ -5137,6 +5204,27 @@ proto.BasePurchaseRequisitionItemDetail.serializeBinaryToWriter = function(messa
|
|
|
5137
5204
|
f
|
|
5138
5205
|
);
|
|
5139
5206
|
}
|
|
5207
|
+
f = message.getDistribution();
|
|
5208
|
+
if (f !== 0.0) {
|
|
5209
|
+
writer.writeFloat(
|
|
5210
|
+
7,
|
|
5211
|
+
f
|
|
5212
|
+
);
|
|
5213
|
+
}
|
|
5214
|
+
f = message.getQuantity();
|
|
5215
|
+
if (f !== 0.0) {
|
|
5216
|
+
writer.writeFloat(
|
|
5217
|
+
8,
|
|
5218
|
+
f
|
|
5219
|
+
);
|
|
5220
|
+
}
|
|
5221
|
+
f = message.getAssetNo();
|
|
5222
|
+
if (f.length > 0) {
|
|
5223
|
+
writer.writeString(
|
|
5224
|
+
9,
|
|
5225
|
+
f
|
|
5226
|
+
);
|
|
5227
|
+
}
|
|
5140
5228
|
};
|
|
5141
5229
|
|
|
5142
5230
|
|
|
@@ -5248,6 +5336,60 @@ proto.BasePurchaseRequisitionItemDetail.prototype.setCustomTransaction = functio
|
|
|
5248
5336
|
};
|
|
5249
5337
|
|
|
5250
5338
|
|
|
5339
|
+
/**
|
|
5340
|
+
* optional float distribution = 7;
|
|
5341
|
+
* @return {number}
|
|
5342
|
+
*/
|
|
5343
|
+
proto.BasePurchaseRequisitionItemDetail.prototype.getDistribution = function() {
|
|
5344
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
|
5345
|
+
};
|
|
5346
|
+
|
|
5347
|
+
|
|
5348
|
+
/**
|
|
5349
|
+
* @param {number} value
|
|
5350
|
+
* @return {!proto.BasePurchaseRequisitionItemDetail} returns this
|
|
5351
|
+
*/
|
|
5352
|
+
proto.BasePurchaseRequisitionItemDetail.prototype.setDistribution = function(value) {
|
|
5353
|
+
return jspb.Message.setProto3FloatField(this, 7, value);
|
|
5354
|
+
};
|
|
5355
|
+
|
|
5356
|
+
|
|
5357
|
+
/**
|
|
5358
|
+
* optional float quantity = 8;
|
|
5359
|
+
* @return {number}
|
|
5360
|
+
*/
|
|
5361
|
+
proto.BasePurchaseRequisitionItemDetail.prototype.getQuantity = function() {
|
|
5362
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
|
5363
|
+
};
|
|
5364
|
+
|
|
5365
|
+
|
|
5366
|
+
/**
|
|
5367
|
+
* @param {number} value
|
|
5368
|
+
* @return {!proto.BasePurchaseRequisitionItemDetail} returns this
|
|
5369
|
+
*/
|
|
5370
|
+
proto.BasePurchaseRequisitionItemDetail.prototype.setQuantity = function(value) {
|
|
5371
|
+
return jspb.Message.setProto3FloatField(this, 8, value);
|
|
5372
|
+
};
|
|
5373
|
+
|
|
5374
|
+
|
|
5375
|
+
/**
|
|
5376
|
+
* optional string asset_no = 9;
|
|
5377
|
+
* @return {string}
|
|
5378
|
+
*/
|
|
5379
|
+
proto.BasePurchaseRequisitionItemDetail.prototype.getAssetNo = function() {
|
|
5380
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
5381
|
+
};
|
|
5382
|
+
|
|
5383
|
+
|
|
5384
|
+
/**
|
|
5385
|
+
* @param {string} value
|
|
5386
|
+
* @return {!proto.BasePurchaseRequisitionItemDetail} returns this
|
|
5387
|
+
*/
|
|
5388
|
+
proto.BasePurchaseRequisitionItemDetail.prototype.setAssetNo = function(value) {
|
|
5389
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
5390
|
+
};
|
|
5391
|
+
|
|
5392
|
+
|
|
5251
5393
|
|
|
5252
5394
|
|
|
5253
5395
|
|
|
@@ -5583,6 +5725,166 @@ proto.UpdatePurchaseRequisitionTrxRequest.prototype.hasPurchaseRequisitionTransa
|
|
|
5583
5725
|
|
|
5584
5726
|
|
|
5585
5727
|
|
|
5728
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5729
|
+
/**
|
|
5730
|
+
* Creates an object representation of this proto.
|
|
5731
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5732
|
+
* Optional fields that are not set will be set to undefined.
|
|
5733
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5734
|
+
* For the list of reserved names please see:
|
|
5735
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5736
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5737
|
+
* JSPB instance for transitional soy proto support:
|
|
5738
|
+
* http://goto/soy-param-migration
|
|
5739
|
+
* @return {!Object}
|
|
5740
|
+
*/
|
|
5741
|
+
proto.UpdatePurchaseRequisitionTrxStatusRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5742
|
+
return proto.UpdatePurchaseRequisitionTrxStatusRequest.toObject(opt_includeInstance, this);
|
|
5743
|
+
};
|
|
5744
|
+
|
|
5745
|
+
|
|
5746
|
+
/**
|
|
5747
|
+
* Static version of the {@see toObject} method.
|
|
5748
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5749
|
+
* the JSPB instance for transitional soy proto support:
|
|
5750
|
+
* http://goto/soy-param-migration
|
|
5751
|
+
* @param {!proto.UpdatePurchaseRequisitionTrxStatusRequest} msg The msg instance to transform.
|
|
5752
|
+
* @return {!Object}
|
|
5753
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5754
|
+
*/
|
|
5755
|
+
proto.UpdatePurchaseRequisitionTrxStatusRequest.toObject = function(includeInstance, msg) {
|
|
5756
|
+
var f, obj = {
|
|
5757
|
+
status: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5758
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
5759
|
+
};
|
|
5760
|
+
|
|
5761
|
+
if (includeInstance) {
|
|
5762
|
+
obj.$jspbMessageInstance = msg;
|
|
5763
|
+
}
|
|
5764
|
+
return obj;
|
|
5765
|
+
};
|
|
5766
|
+
}
|
|
5767
|
+
|
|
5768
|
+
|
|
5769
|
+
/**
|
|
5770
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5771
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5772
|
+
* @return {!proto.UpdatePurchaseRequisitionTrxStatusRequest}
|
|
5773
|
+
*/
|
|
5774
|
+
proto.UpdatePurchaseRequisitionTrxStatusRequest.deserializeBinary = function(bytes) {
|
|
5775
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5776
|
+
var msg = new proto.UpdatePurchaseRequisitionTrxStatusRequest;
|
|
5777
|
+
return proto.UpdatePurchaseRequisitionTrxStatusRequest.deserializeBinaryFromReader(msg, reader);
|
|
5778
|
+
};
|
|
5779
|
+
|
|
5780
|
+
|
|
5781
|
+
/**
|
|
5782
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5783
|
+
* given reader into the given message object.
|
|
5784
|
+
* @param {!proto.UpdatePurchaseRequisitionTrxStatusRequest} msg The message object to deserialize into.
|
|
5785
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5786
|
+
* @return {!proto.UpdatePurchaseRequisitionTrxStatusRequest}
|
|
5787
|
+
*/
|
|
5788
|
+
proto.UpdatePurchaseRequisitionTrxStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5789
|
+
while (reader.nextField()) {
|
|
5790
|
+
if (reader.isEndGroup()) {
|
|
5791
|
+
break;
|
|
5792
|
+
}
|
|
5793
|
+
var field = reader.getFieldNumber();
|
|
5794
|
+
switch (field) {
|
|
5795
|
+
case 1:
|
|
5796
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5797
|
+
msg.setStatus(value);
|
|
5798
|
+
break;
|
|
5799
|
+
case 2:
|
|
5800
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5801
|
+
msg.setReferencesId(value);
|
|
5802
|
+
break;
|
|
5803
|
+
default:
|
|
5804
|
+
reader.skipField();
|
|
5805
|
+
break;
|
|
5806
|
+
}
|
|
5807
|
+
}
|
|
5808
|
+
return msg;
|
|
5809
|
+
};
|
|
5810
|
+
|
|
5811
|
+
|
|
5812
|
+
/**
|
|
5813
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5814
|
+
* @return {!Uint8Array}
|
|
5815
|
+
*/
|
|
5816
|
+
proto.UpdatePurchaseRequisitionTrxStatusRequest.prototype.serializeBinary = function() {
|
|
5817
|
+
var writer = new jspb.BinaryWriter();
|
|
5818
|
+
proto.UpdatePurchaseRequisitionTrxStatusRequest.serializeBinaryToWriter(this, writer);
|
|
5819
|
+
return writer.getResultBuffer();
|
|
5820
|
+
};
|
|
5821
|
+
|
|
5822
|
+
|
|
5823
|
+
/**
|
|
5824
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5825
|
+
* format), writing to the given BinaryWriter.
|
|
5826
|
+
* @param {!proto.UpdatePurchaseRequisitionTrxStatusRequest} message
|
|
5827
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5828
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5829
|
+
*/
|
|
5830
|
+
proto.UpdatePurchaseRequisitionTrxStatusRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5831
|
+
var f = undefined;
|
|
5832
|
+
f = message.getStatus();
|
|
5833
|
+
if (f.length > 0) {
|
|
5834
|
+
writer.writeString(
|
|
5835
|
+
1,
|
|
5836
|
+
f
|
|
5837
|
+
);
|
|
5838
|
+
}
|
|
5839
|
+
f = message.getReferencesId();
|
|
5840
|
+
if (f.length > 0) {
|
|
5841
|
+
writer.writeString(
|
|
5842
|
+
2,
|
|
5843
|
+
f
|
|
5844
|
+
);
|
|
5845
|
+
}
|
|
5846
|
+
};
|
|
5847
|
+
|
|
5848
|
+
|
|
5849
|
+
/**
|
|
5850
|
+
* optional string status = 1;
|
|
5851
|
+
* @return {string}
|
|
5852
|
+
*/
|
|
5853
|
+
proto.UpdatePurchaseRequisitionTrxStatusRequest.prototype.getStatus = function() {
|
|
5854
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5855
|
+
};
|
|
5856
|
+
|
|
5857
|
+
|
|
5858
|
+
/**
|
|
5859
|
+
* @param {string} value
|
|
5860
|
+
* @return {!proto.UpdatePurchaseRequisitionTrxStatusRequest} returns this
|
|
5861
|
+
*/
|
|
5862
|
+
proto.UpdatePurchaseRequisitionTrxStatusRequest.prototype.setStatus = function(value) {
|
|
5863
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5864
|
+
};
|
|
5865
|
+
|
|
5866
|
+
|
|
5867
|
+
/**
|
|
5868
|
+
* optional string references_id = 2;
|
|
5869
|
+
* @return {string}
|
|
5870
|
+
*/
|
|
5871
|
+
proto.UpdatePurchaseRequisitionTrxStatusRequest.prototype.getReferencesId = function() {
|
|
5872
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5873
|
+
};
|
|
5874
|
+
|
|
5875
|
+
|
|
5876
|
+
/**
|
|
5877
|
+
* @param {string} value
|
|
5878
|
+
* @return {!proto.UpdatePurchaseRequisitionTrxStatusRequest} returns this
|
|
5879
|
+
*/
|
|
5880
|
+
proto.UpdatePurchaseRequisitionTrxStatusRequest.prototype.setReferencesId = function(value) {
|
|
5881
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
5882
|
+
};
|
|
5883
|
+
|
|
5884
|
+
|
|
5885
|
+
|
|
5886
|
+
|
|
5887
|
+
|
|
5586
5888
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5587
5889
|
/**
|
|
5588
5890
|
* Creates an object representation of this proto.
|