@aldiokta/protocgen 1.1.40 → 1.1.41
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_pb.js +31 -1
- package/prisca/v1/core/access_manager/access_manager_pb.js +221 -142
- package/prisca/v1/core/auth/auth_pb.js +18 -14
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +231 -7
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +22 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +370 -23
- package/prisca/v1/invoice/invoice_grpc_pb.js +55 -0
- package/prisca/v1/invoice/invoice_pb.js +778 -16
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +22 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +370 -23
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +55 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +673 -1
- package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +55 -0
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +674 -2
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +9911 -2373
|
@@ -33,6 +33,8 @@ goog.exportSymbol('proto.CreatePurchaseRequisitionTemplateRequest', null, global
|
|
|
33
33
|
goog.exportSymbol('proto.CreatePurchaseRequisitionTemplateResponse', null, global);
|
|
34
34
|
goog.exportSymbol('proto.CreatePurchaseRequisitionTrxRequest', null, global);
|
|
35
35
|
goog.exportSymbol('proto.CreatePurchaseRequisitionTrxResponse', null, global);
|
|
36
|
+
goog.exportSymbol('proto.DeletePurchaseRequisitionRequest', null, global);
|
|
37
|
+
goog.exportSymbol('proto.DeletePurchaseRequisitionResponse', null, global);
|
|
36
38
|
goog.exportSymbol('proto.DeletePurchaseRequisitionTemplateRequest', null, global);
|
|
37
39
|
goog.exportSymbol('proto.DeletePurchaseRequisitionTemplateResponse', null, global);
|
|
38
40
|
goog.exportSymbol('proto.GetItemTransactionTrxDetail', null, global);
|
|
@@ -62,6 +64,7 @@ goog.exportSymbol('proto.GetPurchaseRequisitionTrxDetailListTableResponse', null
|
|
|
62
64
|
goog.exportSymbol('proto.GetPurchaseRequisitionTrxListRequest', null, global);
|
|
63
65
|
goog.exportSymbol('proto.GetPurchaseRequisitionTrxListResponse', null, global);
|
|
64
66
|
goog.exportSymbol('proto.PurchaseRequisitionTrx', null, global);
|
|
67
|
+
goog.exportSymbol('proto.UpdatePurchaseRequisitionFileReq', null, global);
|
|
65
68
|
goog.exportSymbol('proto.UpdatePurchaseRequisitionTemplateRequest', null, global);
|
|
66
69
|
goog.exportSymbol('proto.UpdatePurchaseRequisitionTemplateResponse', null, global);
|
|
67
70
|
goog.exportSymbol('proto.UpdatePurchaseRequisitionTrxRequest', null, global);
|
|
@@ -193,6 +196,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
193
196
|
*/
|
|
194
197
|
proto.UpdatePurchaseRequisitionTrxStatusRequest.displayName = 'proto.UpdatePurchaseRequisitionTrxStatusRequest';
|
|
195
198
|
}
|
|
199
|
+
/**
|
|
200
|
+
* Generated by JsPbCodeGenerator.
|
|
201
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
202
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
203
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
204
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
205
|
+
* valid.
|
|
206
|
+
* @extends {jspb.Message}
|
|
207
|
+
* @constructor
|
|
208
|
+
*/
|
|
209
|
+
proto.UpdatePurchaseRequisitionFileReq = function(opt_data) {
|
|
210
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.UpdatePurchaseRequisitionFileReq.repeatedFields_, null);
|
|
211
|
+
};
|
|
212
|
+
goog.inherits(proto.UpdatePurchaseRequisitionFileReq, jspb.Message);
|
|
213
|
+
if (goog.DEBUG && !COMPILED) {
|
|
214
|
+
/**
|
|
215
|
+
* @public
|
|
216
|
+
* @override
|
|
217
|
+
*/
|
|
218
|
+
proto.UpdatePurchaseRequisitionFileReq.displayName = 'proto.UpdatePurchaseRequisitionFileReq';
|
|
219
|
+
}
|
|
196
220
|
/**
|
|
197
221
|
* Generated by JsPbCodeGenerator.
|
|
198
222
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -466,6 +490,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
466
490
|
*/
|
|
467
491
|
proto.UpdatePurchaseRequisitionTemplateRequest.displayName = 'proto.UpdatePurchaseRequisitionTemplateRequest';
|
|
468
492
|
}
|
|
493
|
+
/**
|
|
494
|
+
* Generated by JsPbCodeGenerator.
|
|
495
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
496
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
497
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
498
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
499
|
+
* valid.
|
|
500
|
+
* @extends {jspb.Message}
|
|
501
|
+
* @constructor
|
|
502
|
+
*/
|
|
503
|
+
proto.DeletePurchaseRequisitionRequest = function(opt_data) {
|
|
504
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.DeletePurchaseRequisitionRequest.repeatedFields_, null);
|
|
505
|
+
};
|
|
506
|
+
goog.inherits(proto.DeletePurchaseRequisitionRequest, jspb.Message);
|
|
507
|
+
if (goog.DEBUG && !COMPILED) {
|
|
508
|
+
/**
|
|
509
|
+
* @public
|
|
510
|
+
* @override
|
|
511
|
+
*/
|
|
512
|
+
proto.DeletePurchaseRequisitionRequest.displayName = 'proto.DeletePurchaseRequisitionRequest';
|
|
513
|
+
}
|
|
469
514
|
/**
|
|
470
515
|
* Generated by JsPbCodeGenerator.
|
|
471
516
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -907,6 +952,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
907
952
|
*/
|
|
908
953
|
proto.UpdatePurchaseRequisitionTemplateResponse.displayName = 'proto.UpdatePurchaseRequisitionTemplateResponse';
|
|
909
954
|
}
|
|
955
|
+
/**
|
|
956
|
+
* Generated by JsPbCodeGenerator.
|
|
957
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
958
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
959
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
960
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
961
|
+
* valid.
|
|
962
|
+
* @extends {jspb.Message}
|
|
963
|
+
* @constructor
|
|
964
|
+
*/
|
|
965
|
+
proto.DeletePurchaseRequisitionResponse = function(opt_data) {
|
|
966
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.DeletePurchaseRequisitionResponse.repeatedFields_, null);
|
|
967
|
+
};
|
|
968
|
+
goog.inherits(proto.DeletePurchaseRequisitionResponse, jspb.Message);
|
|
969
|
+
if (goog.DEBUG && !COMPILED) {
|
|
970
|
+
/**
|
|
971
|
+
* @public
|
|
972
|
+
* @override
|
|
973
|
+
*/
|
|
974
|
+
proto.DeletePurchaseRequisitionResponse.displayName = 'proto.DeletePurchaseRequisitionResponse';
|
|
975
|
+
}
|
|
910
976
|
|
|
911
977
|
/**
|
|
912
978
|
* List of repeated fields within this message type.
|
|
@@ -3830,6 +3896,249 @@ proto.UpdatePurchaseRequisitionTrxStatusRequest.prototype.setReferencesId = func
|
|
|
3830
3896
|
|
|
3831
3897
|
|
|
3832
3898
|
|
|
3899
|
+
/**
|
|
3900
|
+
* List of repeated fields within this message type.
|
|
3901
|
+
* @private {!Array<number>}
|
|
3902
|
+
* @const
|
|
3903
|
+
*/
|
|
3904
|
+
proto.UpdatePurchaseRequisitionFileReq.repeatedFields_ = [2,3];
|
|
3905
|
+
|
|
3906
|
+
|
|
3907
|
+
|
|
3908
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3909
|
+
/**
|
|
3910
|
+
* Creates an object representation of this proto.
|
|
3911
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3912
|
+
* Optional fields that are not set will be set to undefined.
|
|
3913
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3914
|
+
* For the list of reserved names please see:
|
|
3915
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3916
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3917
|
+
* JSPB instance for transitional soy proto support:
|
|
3918
|
+
* http://goto/soy-param-migration
|
|
3919
|
+
* @return {!Object}
|
|
3920
|
+
*/
|
|
3921
|
+
proto.UpdatePurchaseRequisitionFileReq.prototype.toObject = function(opt_includeInstance) {
|
|
3922
|
+
return proto.UpdatePurchaseRequisitionFileReq.toObject(opt_includeInstance, this);
|
|
3923
|
+
};
|
|
3924
|
+
|
|
3925
|
+
|
|
3926
|
+
/**
|
|
3927
|
+
* Static version of the {@see toObject} method.
|
|
3928
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3929
|
+
* the JSPB instance for transitional soy proto support:
|
|
3930
|
+
* http://goto/soy-param-migration
|
|
3931
|
+
* @param {!proto.UpdatePurchaseRequisitionFileReq} msg The msg instance to transform.
|
|
3932
|
+
* @return {!Object}
|
|
3933
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3934
|
+
*/
|
|
3935
|
+
proto.UpdatePurchaseRequisitionFileReq.toObject = function(includeInstance, msg) {
|
|
3936
|
+
var f, obj = {
|
|
3937
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3938
|
+
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
3939
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
3940
|
+
itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
|
|
3941
|
+
prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransaction.toObject, includeInstance)
|
|
3942
|
+
};
|
|
3943
|
+
|
|
3944
|
+
if (includeInstance) {
|
|
3945
|
+
obj.$jspbMessageInstance = msg;
|
|
3946
|
+
}
|
|
3947
|
+
return obj;
|
|
3948
|
+
};
|
|
3949
|
+
}
|
|
3950
|
+
|
|
3951
|
+
|
|
3952
|
+
/**
|
|
3953
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3954
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3955
|
+
* @return {!proto.UpdatePurchaseRequisitionFileReq}
|
|
3956
|
+
*/
|
|
3957
|
+
proto.UpdatePurchaseRequisitionFileReq.deserializeBinary = function(bytes) {
|
|
3958
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3959
|
+
var msg = new proto.UpdatePurchaseRequisitionFileReq;
|
|
3960
|
+
return proto.UpdatePurchaseRequisitionFileReq.deserializeBinaryFromReader(msg, reader);
|
|
3961
|
+
};
|
|
3962
|
+
|
|
3963
|
+
|
|
3964
|
+
/**
|
|
3965
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3966
|
+
* given reader into the given message object.
|
|
3967
|
+
* @param {!proto.UpdatePurchaseRequisitionFileReq} msg The message object to deserialize into.
|
|
3968
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3969
|
+
* @return {!proto.UpdatePurchaseRequisitionFileReq}
|
|
3970
|
+
*/
|
|
3971
|
+
proto.UpdatePurchaseRequisitionFileReq.deserializeBinaryFromReader = function(msg, reader) {
|
|
3972
|
+
while (reader.nextField()) {
|
|
3973
|
+
if (reader.isEndGroup()) {
|
|
3974
|
+
break;
|
|
3975
|
+
}
|
|
3976
|
+
var field = reader.getFieldNumber();
|
|
3977
|
+
switch (field) {
|
|
3978
|
+
case 1:
|
|
3979
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3980
|
+
msg.setReferencesId(value);
|
|
3981
|
+
break;
|
|
3982
|
+
case 2:
|
|
3983
|
+
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
3984
|
+
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
3985
|
+
msg.addFiles(value);
|
|
3986
|
+
break;
|
|
3987
|
+
case 3:
|
|
3988
|
+
var value = new prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransaction;
|
|
3989
|
+
reader.readMessage(value,prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransaction.deserializeBinaryFromReader);
|
|
3990
|
+
msg.addItemTransactions(value);
|
|
3991
|
+
break;
|
|
3992
|
+
default:
|
|
3993
|
+
reader.skipField();
|
|
3994
|
+
break;
|
|
3995
|
+
}
|
|
3996
|
+
}
|
|
3997
|
+
return msg;
|
|
3998
|
+
};
|
|
3999
|
+
|
|
4000
|
+
|
|
4001
|
+
/**
|
|
4002
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4003
|
+
* @return {!Uint8Array}
|
|
4004
|
+
*/
|
|
4005
|
+
proto.UpdatePurchaseRequisitionFileReq.prototype.serializeBinary = function() {
|
|
4006
|
+
var writer = new jspb.BinaryWriter();
|
|
4007
|
+
proto.UpdatePurchaseRequisitionFileReq.serializeBinaryToWriter(this, writer);
|
|
4008
|
+
return writer.getResultBuffer();
|
|
4009
|
+
};
|
|
4010
|
+
|
|
4011
|
+
|
|
4012
|
+
/**
|
|
4013
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4014
|
+
* format), writing to the given BinaryWriter.
|
|
4015
|
+
* @param {!proto.UpdatePurchaseRequisitionFileReq} message
|
|
4016
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4017
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4018
|
+
*/
|
|
4019
|
+
proto.UpdatePurchaseRequisitionFileReq.serializeBinaryToWriter = function(message, writer) {
|
|
4020
|
+
var f = undefined;
|
|
4021
|
+
f = message.getReferencesId();
|
|
4022
|
+
if (f.length > 0) {
|
|
4023
|
+
writer.writeString(
|
|
4024
|
+
1,
|
|
4025
|
+
f
|
|
4026
|
+
);
|
|
4027
|
+
}
|
|
4028
|
+
f = message.getFilesList();
|
|
4029
|
+
if (f.length > 0) {
|
|
4030
|
+
writer.writeRepeatedMessage(
|
|
4031
|
+
2,
|
|
4032
|
+
f,
|
|
4033
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
4034
|
+
);
|
|
4035
|
+
}
|
|
4036
|
+
f = message.getItemTransactionsList();
|
|
4037
|
+
if (f.length > 0) {
|
|
4038
|
+
writer.writeRepeatedMessage(
|
|
4039
|
+
3,
|
|
4040
|
+
f,
|
|
4041
|
+
prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransaction.serializeBinaryToWriter
|
|
4042
|
+
);
|
|
4043
|
+
}
|
|
4044
|
+
};
|
|
4045
|
+
|
|
4046
|
+
|
|
4047
|
+
/**
|
|
4048
|
+
* optional string references_id = 1;
|
|
4049
|
+
* @return {string}
|
|
4050
|
+
*/
|
|
4051
|
+
proto.UpdatePurchaseRequisitionFileReq.prototype.getReferencesId = function() {
|
|
4052
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4053
|
+
};
|
|
4054
|
+
|
|
4055
|
+
|
|
4056
|
+
/**
|
|
4057
|
+
* @param {string} value
|
|
4058
|
+
* @return {!proto.UpdatePurchaseRequisitionFileReq} returns this
|
|
4059
|
+
*/
|
|
4060
|
+
proto.UpdatePurchaseRequisitionFileReq.prototype.setReferencesId = function(value) {
|
|
4061
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4062
|
+
};
|
|
4063
|
+
|
|
4064
|
+
|
|
4065
|
+
/**
|
|
4066
|
+
* repeated FileUploadReferencesReq files = 2;
|
|
4067
|
+
* @return {!Array<!proto.FileUploadReferencesReq>}
|
|
4068
|
+
*/
|
|
4069
|
+
proto.UpdatePurchaseRequisitionFileReq.prototype.getFilesList = function() {
|
|
4070
|
+
return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
|
|
4071
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 2));
|
|
4072
|
+
};
|
|
4073
|
+
|
|
4074
|
+
|
|
4075
|
+
/**
|
|
4076
|
+
* @param {!Array<!proto.FileUploadReferencesReq>} value
|
|
4077
|
+
* @return {!proto.UpdatePurchaseRequisitionFileReq} returns this
|
|
4078
|
+
*/
|
|
4079
|
+
proto.UpdatePurchaseRequisitionFileReq.prototype.setFilesList = function(value) {
|
|
4080
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
4081
|
+
};
|
|
4082
|
+
|
|
4083
|
+
|
|
4084
|
+
/**
|
|
4085
|
+
* @param {!proto.FileUploadReferencesReq=} opt_value
|
|
4086
|
+
* @param {number=} opt_index
|
|
4087
|
+
* @return {!proto.FileUploadReferencesReq}
|
|
4088
|
+
*/
|
|
4089
|
+
proto.UpdatePurchaseRequisitionFileReq.prototype.addFiles = function(opt_value, opt_index) {
|
|
4090
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.FileUploadReferencesReq, opt_index);
|
|
4091
|
+
};
|
|
4092
|
+
|
|
4093
|
+
|
|
4094
|
+
/**
|
|
4095
|
+
* Clears the list making it empty but non-null.
|
|
4096
|
+
* @return {!proto.UpdatePurchaseRequisitionFileReq} returns this
|
|
4097
|
+
*/
|
|
4098
|
+
proto.UpdatePurchaseRequisitionFileReq.prototype.clearFilesList = function() {
|
|
4099
|
+
return this.setFilesList([]);
|
|
4100
|
+
};
|
|
4101
|
+
|
|
4102
|
+
|
|
4103
|
+
/**
|
|
4104
|
+
* repeated BaseItemTransaction item_transactions = 3;
|
|
4105
|
+
* @return {!Array<!proto.BaseItemTransaction>}
|
|
4106
|
+
*/
|
|
4107
|
+
proto.UpdatePurchaseRequisitionFileReq.prototype.getItemTransactionsList = function() {
|
|
4108
|
+
return /** @type{!Array<!proto.BaseItemTransaction>} */ (
|
|
4109
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransaction, 3));
|
|
4110
|
+
};
|
|
4111
|
+
|
|
4112
|
+
|
|
4113
|
+
/**
|
|
4114
|
+
* @param {!Array<!proto.BaseItemTransaction>} value
|
|
4115
|
+
* @return {!proto.UpdatePurchaseRequisitionFileReq} returns this
|
|
4116
|
+
*/
|
|
4117
|
+
proto.UpdatePurchaseRequisitionFileReq.prototype.setItemTransactionsList = function(value) {
|
|
4118
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
4119
|
+
};
|
|
4120
|
+
|
|
4121
|
+
|
|
4122
|
+
/**
|
|
4123
|
+
* @param {!proto.BaseItemTransaction=} opt_value
|
|
4124
|
+
* @param {number=} opt_index
|
|
4125
|
+
* @return {!proto.BaseItemTransaction}
|
|
4126
|
+
*/
|
|
4127
|
+
proto.UpdatePurchaseRequisitionFileReq.prototype.addItemTransactions = function(opt_value, opt_index) {
|
|
4128
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.BaseItemTransaction, opt_index);
|
|
4129
|
+
};
|
|
4130
|
+
|
|
4131
|
+
|
|
4132
|
+
/**
|
|
4133
|
+
* Clears the list making it empty but non-null.
|
|
4134
|
+
* @return {!proto.UpdatePurchaseRequisitionFileReq} returns this
|
|
4135
|
+
*/
|
|
4136
|
+
proto.UpdatePurchaseRequisitionFileReq.prototype.clearItemTransactionsList = function() {
|
|
4137
|
+
return this.setItemTransactionsList([]);
|
|
4138
|
+
};
|
|
4139
|
+
|
|
4140
|
+
|
|
4141
|
+
|
|
3833
4142
|
|
|
3834
4143
|
|
|
3835
4144
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -5988,8 +6297,164 @@ proto.UpdatePurchaseRequisitionTemplateRequest.prototype.setCompaniesReferencesI
|
|
|
5988
6297
|
|
|
5989
6298
|
|
|
5990
6299
|
|
|
6300
|
+
/**
|
|
6301
|
+
* List of repeated fields within this message type.
|
|
6302
|
+
* @private {!Array<number>}
|
|
6303
|
+
* @const
|
|
6304
|
+
*/
|
|
6305
|
+
proto.DeletePurchaseRequisitionRequest.repeatedFields_ = [1];
|
|
6306
|
+
|
|
6307
|
+
|
|
6308
|
+
|
|
6309
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6310
|
+
/**
|
|
6311
|
+
* Creates an object representation of this proto.
|
|
6312
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6313
|
+
* Optional fields that are not set will be set to undefined.
|
|
6314
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6315
|
+
* For the list of reserved names please see:
|
|
6316
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6317
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6318
|
+
* JSPB instance for transitional soy proto support:
|
|
6319
|
+
* http://goto/soy-param-migration
|
|
6320
|
+
* @return {!Object}
|
|
6321
|
+
*/
|
|
6322
|
+
proto.DeletePurchaseRequisitionRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6323
|
+
return proto.DeletePurchaseRequisitionRequest.toObject(opt_includeInstance, this);
|
|
6324
|
+
};
|
|
6325
|
+
|
|
6326
|
+
|
|
6327
|
+
/**
|
|
6328
|
+
* Static version of the {@see toObject} method.
|
|
6329
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6330
|
+
* the JSPB instance for transitional soy proto support:
|
|
6331
|
+
* http://goto/soy-param-migration
|
|
6332
|
+
* @param {!proto.DeletePurchaseRequisitionRequest} msg The msg instance to transform.
|
|
6333
|
+
* @return {!Object}
|
|
6334
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6335
|
+
*/
|
|
6336
|
+
proto.DeletePurchaseRequisitionRequest.toObject = function(includeInstance, msg) {
|
|
6337
|
+
var f, obj = {
|
|
6338
|
+
referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
6339
|
+
};
|
|
6340
|
+
|
|
6341
|
+
if (includeInstance) {
|
|
6342
|
+
obj.$jspbMessageInstance = msg;
|
|
6343
|
+
}
|
|
6344
|
+
return obj;
|
|
6345
|
+
};
|
|
6346
|
+
}
|
|
6347
|
+
|
|
6348
|
+
|
|
6349
|
+
/**
|
|
6350
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6351
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6352
|
+
* @return {!proto.DeletePurchaseRequisitionRequest}
|
|
6353
|
+
*/
|
|
6354
|
+
proto.DeletePurchaseRequisitionRequest.deserializeBinary = function(bytes) {
|
|
6355
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6356
|
+
var msg = new proto.DeletePurchaseRequisitionRequest;
|
|
6357
|
+
return proto.DeletePurchaseRequisitionRequest.deserializeBinaryFromReader(msg, reader);
|
|
6358
|
+
};
|
|
6359
|
+
|
|
6360
|
+
|
|
6361
|
+
/**
|
|
6362
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6363
|
+
* given reader into the given message object.
|
|
6364
|
+
* @param {!proto.DeletePurchaseRequisitionRequest} msg The message object to deserialize into.
|
|
6365
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6366
|
+
* @return {!proto.DeletePurchaseRequisitionRequest}
|
|
6367
|
+
*/
|
|
6368
|
+
proto.DeletePurchaseRequisitionRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6369
|
+
while (reader.nextField()) {
|
|
6370
|
+
if (reader.isEndGroup()) {
|
|
6371
|
+
break;
|
|
6372
|
+
}
|
|
6373
|
+
var field = reader.getFieldNumber();
|
|
6374
|
+
switch (field) {
|
|
6375
|
+
case 1:
|
|
6376
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
6377
|
+
msg.addReferenceIds(value);
|
|
6378
|
+
break;
|
|
6379
|
+
default:
|
|
6380
|
+
reader.skipField();
|
|
6381
|
+
break;
|
|
6382
|
+
}
|
|
6383
|
+
}
|
|
6384
|
+
return msg;
|
|
6385
|
+
};
|
|
6386
|
+
|
|
6387
|
+
|
|
6388
|
+
/**
|
|
6389
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6390
|
+
* @return {!Uint8Array}
|
|
6391
|
+
*/
|
|
6392
|
+
proto.DeletePurchaseRequisitionRequest.prototype.serializeBinary = function() {
|
|
6393
|
+
var writer = new jspb.BinaryWriter();
|
|
6394
|
+
proto.DeletePurchaseRequisitionRequest.serializeBinaryToWriter(this, writer);
|
|
6395
|
+
return writer.getResultBuffer();
|
|
6396
|
+
};
|
|
6397
|
+
|
|
6398
|
+
|
|
6399
|
+
/**
|
|
6400
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6401
|
+
* format), writing to the given BinaryWriter.
|
|
6402
|
+
* @param {!proto.DeletePurchaseRequisitionRequest} message
|
|
6403
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6404
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6405
|
+
*/
|
|
6406
|
+
proto.DeletePurchaseRequisitionRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6407
|
+
var f = undefined;
|
|
6408
|
+
f = message.getReferenceIdsList();
|
|
6409
|
+
if (f.length > 0) {
|
|
6410
|
+
writer.writeRepeatedString(
|
|
6411
|
+
1,
|
|
6412
|
+
f
|
|
6413
|
+
);
|
|
6414
|
+
}
|
|
6415
|
+
};
|
|
6416
|
+
|
|
6417
|
+
|
|
6418
|
+
/**
|
|
6419
|
+
* repeated string reference_ids = 1;
|
|
6420
|
+
* @return {!Array<string>}
|
|
6421
|
+
*/
|
|
6422
|
+
proto.DeletePurchaseRequisitionRequest.prototype.getReferenceIdsList = function() {
|
|
6423
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
6424
|
+
};
|
|
6425
|
+
|
|
6426
|
+
|
|
6427
|
+
/**
|
|
6428
|
+
* @param {!Array<string>} value
|
|
6429
|
+
* @return {!proto.DeletePurchaseRequisitionRequest} returns this
|
|
6430
|
+
*/
|
|
6431
|
+
proto.DeletePurchaseRequisitionRequest.prototype.setReferenceIdsList = function(value) {
|
|
6432
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
6433
|
+
};
|
|
6434
|
+
|
|
6435
|
+
|
|
6436
|
+
/**
|
|
6437
|
+
* @param {string} value
|
|
6438
|
+
* @param {number=} opt_index
|
|
6439
|
+
* @return {!proto.DeletePurchaseRequisitionRequest} returns this
|
|
6440
|
+
*/
|
|
6441
|
+
proto.DeletePurchaseRequisitionRequest.prototype.addReferenceIds = function(value, opt_index) {
|
|
6442
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
6443
|
+
};
|
|
6444
|
+
|
|
6445
|
+
|
|
6446
|
+
/**
|
|
6447
|
+
* Clears the list making it empty but non-null.
|
|
6448
|
+
* @return {!proto.DeletePurchaseRequisitionRequest} returns this
|
|
6449
|
+
*/
|
|
6450
|
+
proto.DeletePurchaseRequisitionRequest.prototype.clearReferenceIdsList = function() {
|
|
6451
|
+
return this.setReferenceIdsList([]);
|
|
6452
|
+
};
|
|
6453
|
+
|
|
6454
|
+
|
|
6455
|
+
|
|
6456
|
+
|
|
5991
6457
|
|
|
5992
|
-
|
|
5993
6458
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5994
6459
|
/**
|
|
5995
6460
|
* Creates an object representation of this proto.
|
|
@@ -10120,4 +10585,211 @@ proto.UpdatePurchaseRequisitionTemplateResponse.prototype.hasMeta = function() {
|
|
|
10120
10585
|
};
|
|
10121
10586
|
|
|
10122
10587
|
|
|
10588
|
+
|
|
10589
|
+
/**
|
|
10590
|
+
* List of repeated fields within this message type.
|
|
10591
|
+
* @private {!Array<number>}
|
|
10592
|
+
* @const
|
|
10593
|
+
*/
|
|
10594
|
+
proto.DeletePurchaseRequisitionResponse.repeatedFields_ = [1];
|
|
10595
|
+
|
|
10596
|
+
|
|
10597
|
+
|
|
10598
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10599
|
+
/**
|
|
10600
|
+
* Creates an object representation of this proto.
|
|
10601
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10602
|
+
* Optional fields that are not set will be set to undefined.
|
|
10603
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10604
|
+
* For the list of reserved names please see:
|
|
10605
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10606
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10607
|
+
* JSPB instance for transitional soy proto support:
|
|
10608
|
+
* http://goto/soy-param-migration
|
|
10609
|
+
* @return {!Object}
|
|
10610
|
+
*/
|
|
10611
|
+
proto.DeletePurchaseRequisitionResponse.prototype.toObject = function(opt_includeInstance) {
|
|
10612
|
+
return proto.DeletePurchaseRequisitionResponse.toObject(opt_includeInstance, this);
|
|
10613
|
+
};
|
|
10614
|
+
|
|
10615
|
+
|
|
10616
|
+
/**
|
|
10617
|
+
* Static version of the {@see toObject} method.
|
|
10618
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10619
|
+
* the JSPB instance for transitional soy proto support:
|
|
10620
|
+
* http://goto/soy-param-migration
|
|
10621
|
+
* @param {!proto.DeletePurchaseRequisitionResponse} msg The msg instance to transform.
|
|
10622
|
+
* @return {!Object}
|
|
10623
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10624
|
+
*/
|
|
10625
|
+
proto.DeletePurchaseRequisitionResponse.toObject = function(includeInstance, msg) {
|
|
10626
|
+
var f, obj = {
|
|
10627
|
+
referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
10628
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
10629
|
+
};
|
|
10630
|
+
|
|
10631
|
+
if (includeInstance) {
|
|
10632
|
+
obj.$jspbMessageInstance = msg;
|
|
10633
|
+
}
|
|
10634
|
+
return obj;
|
|
10635
|
+
};
|
|
10636
|
+
}
|
|
10637
|
+
|
|
10638
|
+
|
|
10639
|
+
/**
|
|
10640
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10641
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10642
|
+
* @return {!proto.DeletePurchaseRequisitionResponse}
|
|
10643
|
+
*/
|
|
10644
|
+
proto.DeletePurchaseRequisitionResponse.deserializeBinary = function(bytes) {
|
|
10645
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10646
|
+
var msg = new proto.DeletePurchaseRequisitionResponse;
|
|
10647
|
+
return proto.DeletePurchaseRequisitionResponse.deserializeBinaryFromReader(msg, reader);
|
|
10648
|
+
};
|
|
10649
|
+
|
|
10650
|
+
|
|
10651
|
+
/**
|
|
10652
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10653
|
+
* given reader into the given message object.
|
|
10654
|
+
* @param {!proto.DeletePurchaseRequisitionResponse} msg The message object to deserialize into.
|
|
10655
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10656
|
+
* @return {!proto.DeletePurchaseRequisitionResponse}
|
|
10657
|
+
*/
|
|
10658
|
+
proto.DeletePurchaseRequisitionResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
10659
|
+
while (reader.nextField()) {
|
|
10660
|
+
if (reader.isEndGroup()) {
|
|
10661
|
+
break;
|
|
10662
|
+
}
|
|
10663
|
+
var field = reader.getFieldNumber();
|
|
10664
|
+
switch (field) {
|
|
10665
|
+
case 1:
|
|
10666
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
10667
|
+
msg.addReferenceIds(value);
|
|
10668
|
+
break;
|
|
10669
|
+
case 2:
|
|
10670
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
10671
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
10672
|
+
msg.setMeta(value);
|
|
10673
|
+
break;
|
|
10674
|
+
default:
|
|
10675
|
+
reader.skipField();
|
|
10676
|
+
break;
|
|
10677
|
+
}
|
|
10678
|
+
}
|
|
10679
|
+
return msg;
|
|
10680
|
+
};
|
|
10681
|
+
|
|
10682
|
+
|
|
10683
|
+
/**
|
|
10684
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10685
|
+
* @return {!Uint8Array}
|
|
10686
|
+
*/
|
|
10687
|
+
proto.DeletePurchaseRequisitionResponse.prototype.serializeBinary = function() {
|
|
10688
|
+
var writer = new jspb.BinaryWriter();
|
|
10689
|
+
proto.DeletePurchaseRequisitionResponse.serializeBinaryToWriter(this, writer);
|
|
10690
|
+
return writer.getResultBuffer();
|
|
10691
|
+
};
|
|
10692
|
+
|
|
10693
|
+
|
|
10694
|
+
/**
|
|
10695
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10696
|
+
* format), writing to the given BinaryWriter.
|
|
10697
|
+
* @param {!proto.DeletePurchaseRequisitionResponse} message
|
|
10698
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10699
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10700
|
+
*/
|
|
10701
|
+
proto.DeletePurchaseRequisitionResponse.serializeBinaryToWriter = function(message, writer) {
|
|
10702
|
+
var f = undefined;
|
|
10703
|
+
f = message.getReferenceIdsList();
|
|
10704
|
+
if (f.length > 0) {
|
|
10705
|
+
writer.writeRepeatedString(
|
|
10706
|
+
1,
|
|
10707
|
+
f
|
|
10708
|
+
);
|
|
10709
|
+
}
|
|
10710
|
+
f = message.getMeta();
|
|
10711
|
+
if (f != null) {
|
|
10712
|
+
writer.writeMessage(
|
|
10713
|
+
2,
|
|
10714
|
+
f,
|
|
10715
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
10716
|
+
);
|
|
10717
|
+
}
|
|
10718
|
+
};
|
|
10719
|
+
|
|
10720
|
+
|
|
10721
|
+
/**
|
|
10722
|
+
* repeated string reference_ids = 1;
|
|
10723
|
+
* @return {!Array<string>}
|
|
10724
|
+
*/
|
|
10725
|
+
proto.DeletePurchaseRequisitionResponse.prototype.getReferenceIdsList = function() {
|
|
10726
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
10727
|
+
};
|
|
10728
|
+
|
|
10729
|
+
|
|
10730
|
+
/**
|
|
10731
|
+
* @param {!Array<string>} value
|
|
10732
|
+
* @return {!proto.DeletePurchaseRequisitionResponse} returns this
|
|
10733
|
+
*/
|
|
10734
|
+
proto.DeletePurchaseRequisitionResponse.prototype.setReferenceIdsList = function(value) {
|
|
10735
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
10736
|
+
};
|
|
10737
|
+
|
|
10738
|
+
|
|
10739
|
+
/**
|
|
10740
|
+
* @param {string} value
|
|
10741
|
+
* @param {number=} opt_index
|
|
10742
|
+
* @return {!proto.DeletePurchaseRequisitionResponse} returns this
|
|
10743
|
+
*/
|
|
10744
|
+
proto.DeletePurchaseRequisitionResponse.prototype.addReferenceIds = function(value, opt_index) {
|
|
10745
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
10746
|
+
};
|
|
10747
|
+
|
|
10748
|
+
|
|
10749
|
+
/**
|
|
10750
|
+
* Clears the list making it empty but non-null.
|
|
10751
|
+
* @return {!proto.DeletePurchaseRequisitionResponse} returns this
|
|
10752
|
+
*/
|
|
10753
|
+
proto.DeletePurchaseRequisitionResponse.prototype.clearReferenceIdsList = function() {
|
|
10754
|
+
return this.setReferenceIdsList([]);
|
|
10755
|
+
};
|
|
10756
|
+
|
|
10757
|
+
|
|
10758
|
+
/**
|
|
10759
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
10760
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
10761
|
+
*/
|
|
10762
|
+
proto.DeletePurchaseRequisitionResponse.prototype.getMeta = function() {
|
|
10763
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
10764
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
10765
|
+
};
|
|
10766
|
+
|
|
10767
|
+
|
|
10768
|
+
/**
|
|
10769
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
10770
|
+
* @return {!proto.DeletePurchaseRequisitionResponse} returns this
|
|
10771
|
+
*/
|
|
10772
|
+
proto.DeletePurchaseRequisitionResponse.prototype.setMeta = function(value) {
|
|
10773
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
10774
|
+
};
|
|
10775
|
+
|
|
10776
|
+
|
|
10777
|
+
/**
|
|
10778
|
+
* Clears the message field making it undefined.
|
|
10779
|
+
* @return {!proto.DeletePurchaseRequisitionResponse} returns this
|
|
10780
|
+
*/
|
|
10781
|
+
proto.DeletePurchaseRequisitionResponse.prototype.clearMeta = function() {
|
|
10782
|
+
return this.setMeta(undefined);
|
|
10783
|
+
};
|
|
10784
|
+
|
|
10785
|
+
|
|
10786
|
+
/**
|
|
10787
|
+
* Returns whether this field is set.
|
|
10788
|
+
* @return {boolean}
|
|
10789
|
+
*/
|
|
10790
|
+
proto.DeletePurchaseRequisitionResponse.prototype.hasMeta = function() {
|
|
10791
|
+
return jspb.Message.getField(this, 2) != null;
|
|
10792
|
+
};
|
|
10793
|
+
|
|
10794
|
+
|
|
10123
10795
|
goog.object.extend(exports, proto);
|