@aldiokta/protocgen 1.1.27 → 1.1.29
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 +598 -37
- package/prisca/v1/core/auth/auth_grpc_pb.js +1 -0
- package/prisca/v1/core/auth/auth_pb.js +7 -217
- package/prisca/v1/core/file_upload/file_upload_pb.js +93 -3
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +0 -30
- package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +438 -46
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +31 -1
- package/prisca/v1/core/location/location_pb.js +446 -57
- package/prisca/v1/core/price_condition/price_condition_pb.js +62 -2
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +234 -168
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +1959 -1777
- package/prisca/v1/delivery_order/delivery_order_pb.js +21 -21
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +1 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +277 -23
- package/prisca/v1/invoice/invoice_grpc_pb.js +174 -0
- package/prisca/v1/invoice/invoice_pb.js +4398 -0
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +11 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +21 -21
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +74 -74
- package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +55 -177
- package/prisca/v1/quotation/quotation_pb.js +118 -28
- package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +33 -0
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +413 -28
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +375 -225
|
@@ -8,6 +8,7 @@ var grpc = require('@grpc/grpc-js');
|
|
|
8
8
|
var prisca_v1_core_auth_auth_pb = require('../../../../prisca/v1/core/auth/auth_pb.js');
|
|
9
9
|
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
10
10
|
var prisca_v1_core_access_manager_access_manager_pb = require('../../../../prisca/v1/core/access_manager/access_manager_pb.js');
|
|
11
|
+
var prisca_v1_core_transaction_builder_transaction_builder_pb = require('../../../../prisca/v1/core/transaction_builder/transaction_builder_pb.js');
|
|
11
12
|
|
|
12
13
|
function serialize_AccessApiCredential(arg) {
|
|
13
14
|
if (!(arg instanceof prisca_v1_core_auth_auth_pb.AccessApiCredential)) {
|
|
@@ -25,6 +25,8 @@ var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/m
|
|
|
25
25
|
goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
|
|
26
26
|
var prisca_v1_core_access_manager_access_manager_pb = require('../../../../prisca/v1/core/access_manager/access_manager_pb.js');
|
|
27
27
|
goog.object.extend(proto, prisca_v1_core_access_manager_access_manager_pb);
|
|
28
|
+
var prisca_v1_core_transaction_builder_transaction_builder_pb = require('../../../../prisca/v1/core/transaction_builder/transaction_builder_pb.js');
|
|
29
|
+
goog.object.extend(proto, prisca_v1_core_transaction_builder_transaction_builder_pb);
|
|
28
30
|
goog.exportSymbol('proto.AccessApiCredential', null, global);
|
|
29
31
|
goog.exportSymbol('proto.AccessApiManagersResponse', null, global);
|
|
30
32
|
goog.exportSymbol('proto.AccessCreateRequest', null, global);
|
|
@@ -48,7 +50,6 @@ goog.exportSymbol('proto.RequestForgotPasswordReq', null, global);
|
|
|
48
50
|
goog.exportSymbol('proto.RequestForgotResponse', null, global);
|
|
49
51
|
goog.exportSymbol('proto.RequestRegisterVendorReq', null, global);
|
|
50
52
|
goog.exportSymbol('proto.RequestRegisterVendorResponse', null, global);
|
|
51
|
-
goog.exportSymbol('proto.TransactionBuilder', null, global);
|
|
52
53
|
goog.exportSymbol('proto.UpdateAccessPayload', null, global);
|
|
53
54
|
goog.exportSymbol('proto.UpdateUserPayload', null, global);
|
|
54
55
|
goog.exportSymbol('proto.UserResponse', null, global);
|
|
@@ -474,27 +475,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
474
475
|
*/
|
|
475
476
|
proto.CheckCompaniesResponse.displayName = 'proto.CheckCompaniesResponse';
|
|
476
477
|
}
|
|
477
|
-
/**
|
|
478
|
-
* Generated by JsPbCodeGenerator.
|
|
479
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
480
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
481
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
482
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
483
|
-
* valid.
|
|
484
|
-
* @extends {jspb.Message}
|
|
485
|
-
* @constructor
|
|
486
|
-
*/
|
|
487
|
-
proto.TransactionBuilder = function(opt_data) {
|
|
488
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
489
|
-
};
|
|
490
|
-
goog.inherits(proto.TransactionBuilder, jspb.Message);
|
|
491
|
-
if (goog.DEBUG && !COMPILED) {
|
|
492
|
-
/**
|
|
493
|
-
* @public
|
|
494
|
-
* @override
|
|
495
|
-
*/
|
|
496
|
-
proto.TransactionBuilder.displayName = 'proto.TransactionBuilder';
|
|
497
|
-
}
|
|
498
478
|
/**
|
|
499
479
|
* Generated by JsPbCodeGenerator.
|
|
500
480
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3842,7 +3822,7 @@ usersRoleList: jspb.Message.toObjectList(msg.getUsersRoleList(),
|
|
|
3842
3822
|
prisca_v1_core_access_manager_access_manager_pb.UsersRole.toObject, includeInstance),
|
|
3843
3823
|
actionsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
|
|
3844
3824
|
transactionBuildersList: jspb.Message.toObjectList(msg.getTransactionBuildersList(),
|
|
3845
|
-
|
|
3825
|
+
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilder.toObject, includeInstance)
|
|
3846
3826
|
};
|
|
3847
3827
|
|
|
3848
3828
|
if (includeInstance) {
|
|
@@ -3909,8 +3889,8 @@ proto.CheckCompaniesResponse.deserializeBinaryFromReader = function(msg, reader)
|
|
|
3909
3889
|
msg.addActions(value);
|
|
3910
3890
|
break;
|
|
3911
3891
|
case 8:
|
|
3912
|
-
var value = new
|
|
3913
|
-
reader.readMessage(value,
|
|
3892
|
+
var value = new prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilder;
|
|
3893
|
+
reader.readMessage(value,prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilder.deserializeBinaryFromReader);
|
|
3914
3894
|
msg.addTransactionBuilders(value);
|
|
3915
3895
|
break;
|
|
3916
3896
|
default:
|
|
@@ -3997,7 +3977,7 @@ proto.CheckCompaniesResponse.serializeBinaryToWriter = function(message, writer)
|
|
|
3997
3977
|
writer.writeRepeatedMessage(
|
|
3998
3978
|
8,
|
|
3999
3979
|
f,
|
|
4000
|
-
|
|
3980
|
+
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilder.serializeBinaryToWriter
|
|
4001
3981
|
);
|
|
4002
3982
|
}
|
|
4003
3983
|
};
|
|
@@ -4174,7 +4154,7 @@ proto.CheckCompaniesResponse.prototype.clearActionsList = function() {
|
|
|
4174
4154
|
*/
|
|
4175
4155
|
proto.CheckCompaniesResponse.prototype.getTransactionBuildersList = function() {
|
|
4176
4156
|
return /** @type{!Array<!proto.TransactionBuilder>} */ (
|
|
4177
|
-
jspb.Message.getRepeatedWrapperField(this,
|
|
4157
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilder, 8));
|
|
4178
4158
|
};
|
|
4179
4159
|
|
|
4180
4160
|
|
|
@@ -4209,196 +4189,6 @@ proto.CheckCompaniesResponse.prototype.clearTransactionBuildersList = function()
|
|
|
4209
4189
|
|
|
4210
4190
|
|
|
4211
4191
|
|
|
4212
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4213
|
-
/**
|
|
4214
|
-
* Creates an object representation of this proto.
|
|
4215
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4216
|
-
* Optional fields that are not set will be set to undefined.
|
|
4217
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4218
|
-
* For the list of reserved names please see:
|
|
4219
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4220
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4221
|
-
* JSPB instance for transitional soy proto support:
|
|
4222
|
-
* http://goto/soy-param-migration
|
|
4223
|
-
* @return {!Object}
|
|
4224
|
-
*/
|
|
4225
|
-
proto.TransactionBuilder.prototype.toObject = function(opt_includeInstance) {
|
|
4226
|
-
return proto.TransactionBuilder.toObject(opt_includeInstance, this);
|
|
4227
|
-
};
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
/**
|
|
4231
|
-
* Static version of the {@see toObject} method.
|
|
4232
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4233
|
-
* the JSPB instance for transitional soy proto support:
|
|
4234
|
-
* http://goto/soy-param-migration
|
|
4235
|
-
* @param {!proto.TransactionBuilder} msg The msg instance to transform.
|
|
4236
|
-
* @return {!Object}
|
|
4237
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4238
|
-
*/
|
|
4239
|
-
proto.TransactionBuilder.toObject = function(includeInstance, msg) {
|
|
4240
|
-
var f, obj = {
|
|
4241
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4242
|
-
referenceId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4243
|
-
name: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
4244
|
-
};
|
|
4245
|
-
|
|
4246
|
-
if (includeInstance) {
|
|
4247
|
-
obj.$jspbMessageInstance = msg;
|
|
4248
|
-
}
|
|
4249
|
-
return obj;
|
|
4250
|
-
};
|
|
4251
|
-
}
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
/**
|
|
4255
|
-
* Deserializes binary data (in protobuf wire format).
|
|
4256
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4257
|
-
* @return {!proto.TransactionBuilder}
|
|
4258
|
-
*/
|
|
4259
|
-
proto.TransactionBuilder.deserializeBinary = function(bytes) {
|
|
4260
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
4261
|
-
var msg = new proto.TransactionBuilder;
|
|
4262
|
-
return proto.TransactionBuilder.deserializeBinaryFromReader(msg, reader);
|
|
4263
|
-
};
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
/**
|
|
4267
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
4268
|
-
* given reader into the given message object.
|
|
4269
|
-
* @param {!proto.TransactionBuilder} msg The message object to deserialize into.
|
|
4270
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4271
|
-
* @return {!proto.TransactionBuilder}
|
|
4272
|
-
*/
|
|
4273
|
-
proto.TransactionBuilder.deserializeBinaryFromReader = function(msg, reader) {
|
|
4274
|
-
while (reader.nextField()) {
|
|
4275
|
-
if (reader.isEndGroup()) {
|
|
4276
|
-
break;
|
|
4277
|
-
}
|
|
4278
|
-
var field = reader.getFieldNumber();
|
|
4279
|
-
switch (field) {
|
|
4280
|
-
case 1:
|
|
4281
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
4282
|
-
msg.setId(value);
|
|
4283
|
-
break;
|
|
4284
|
-
case 2:
|
|
4285
|
-
var value = /** @type {string} */ (reader.readString());
|
|
4286
|
-
msg.setReferenceId(value);
|
|
4287
|
-
break;
|
|
4288
|
-
case 3:
|
|
4289
|
-
var value = /** @type {string} */ (reader.readString());
|
|
4290
|
-
msg.setName(value);
|
|
4291
|
-
break;
|
|
4292
|
-
default:
|
|
4293
|
-
reader.skipField();
|
|
4294
|
-
break;
|
|
4295
|
-
}
|
|
4296
|
-
}
|
|
4297
|
-
return msg;
|
|
4298
|
-
};
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
/**
|
|
4302
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
4303
|
-
* @return {!Uint8Array}
|
|
4304
|
-
*/
|
|
4305
|
-
proto.TransactionBuilder.prototype.serializeBinary = function() {
|
|
4306
|
-
var writer = new jspb.BinaryWriter();
|
|
4307
|
-
proto.TransactionBuilder.serializeBinaryToWriter(this, writer);
|
|
4308
|
-
return writer.getResultBuffer();
|
|
4309
|
-
};
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
/**
|
|
4313
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
4314
|
-
* format), writing to the given BinaryWriter.
|
|
4315
|
-
* @param {!proto.TransactionBuilder} message
|
|
4316
|
-
* @param {!jspb.BinaryWriter} writer
|
|
4317
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4318
|
-
*/
|
|
4319
|
-
proto.TransactionBuilder.serializeBinaryToWriter = function(message, writer) {
|
|
4320
|
-
var f = undefined;
|
|
4321
|
-
f = message.getId();
|
|
4322
|
-
if (f !== 0) {
|
|
4323
|
-
writer.writeInt64(
|
|
4324
|
-
1,
|
|
4325
|
-
f
|
|
4326
|
-
);
|
|
4327
|
-
}
|
|
4328
|
-
f = message.getReferenceId();
|
|
4329
|
-
if (f.length > 0) {
|
|
4330
|
-
writer.writeString(
|
|
4331
|
-
2,
|
|
4332
|
-
f
|
|
4333
|
-
);
|
|
4334
|
-
}
|
|
4335
|
-
f = message.getName();
|
|
4336
|
-
if (f.length > 0) {
|
|
4337
|
-
writer.writeString(
|
|
4338
|
-
3,
|
|
4339
|
-
f
|
|
4340
|
-
);
|
|
4341
|
-
}
|
|
4342
|
-
};
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
/**
|
|
4346
|
-
* optional int64 id = 1;
|
|
4347
|
-
* @return {number}
|
|
4348
|
-
*/
|
|
4349
|
-
proto.TransactionBuilder.prototype.getId = function() {
|
|
4350
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
4351
|
-
};
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
/**
|
|
4355
|
-
* @param {number} value
|
|
4356
|
-
* @return {!proto.TransactionBuilder} returns this
|
|
4357
|
-
*/
|
|
4358
|
-
proto.TransactionBuilder.prototype.setId = function(value) {
|
|
4359
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
4360
|
-
};
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
/**
|
|
4364
|
-
* optional string reference_id = 2;
|
|
4365
|
-
* @return {string}
|
|
4366
|
-
*/
|
|
4367
|
-
proto.TransactionBuilder.prototype.getReferenceId = function() {
|
|
4368
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4369
|
-
};
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
/**
|
|
4373
|
-
* @param {string} value
|
|
4374
|
-
* @return {!proto.TransactionBuilder} returns this
|
|
4375
|
-
*/
|
|
4376
|
-
proto.TransactionBuilder.prototype.setReferenceId = function(value) {
|
|
4377
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4378
|
-
};
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
/**
|
|
4382
|
-
* optional string name = 3;
|
|
4383
|
-
* @return {string}
|
|
4384
|
-
*/
|
|
4385
|
-
proto.TransactionBuilder.prototype.getName = function() {
|
|
4386
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4387
|
-
};
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
/**
|
|
4391
|
-
* @param {string} value
|
|
4392
|
-
* @return {!proto.TransactionBuilder} returns this
|
|
4393
|
-
*/
|
|
4394
|
-
proto.TransactionBuilder.prototype.setName = function(value) {
|
|
4395
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4396
|
-
};
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
4192
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4403
4193
|
/**
|
|
4404
4194
|
* Creates an object representation of this proto.
|
|
@@ -144,7 +144,8 @@ proto.FileInfo.toObject = function(includeInstance, msg) {
|
|
|
144
144
|
var f, obj = {
|
|
145
145
|
fileName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
146
146
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
147
|
-
description: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
147
|
+
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
148
|
+
documentType: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
148
149
|
};
|
|
149
150
|
|
|
150
151
|
if (includeInstance) {
|
|
@@ -193,6 +194,10 @@ proto.FileInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
193
194
|
var value = /** @type {string} */ (reader.readString());
|
|
194
195
|
msg.setDescription(value);
|
|
195
196
|
break;
|
|
197
|
+
case 4:
|
|
198
|
+
var value = /** @type {string} */ (reader.readString());
|
|
199
|
+
msg.setDocumentType(value);
|
|
200
|
+
break;
|
|
196
201
|
default:
|
|
197
202
|
reader.skipField();
|
|
198
203
|
break;
|
|
@@ -243,6 +248,13 @@ proto.FileInfo.serializeBinaryToWriter = function(message, writer) {
|
|
|
243
248
|
f
|
|
244
249
|
);
|
|
245
250
|
}
|
|
251
|
+
f = message.getDocumentType();
|
|
252
|
+
if (f.length > 0) {
|
|
253
|
+
writer.writeString(
|
|
254
|
+
4,
|
|
255
|
+
f
|
|
256
|
+
);
|
|
257
|
+
}
|
|
246
258
|
};
|
|
247
259
|
|
|
248
260
|
|
|
@@ -300,6 +312,24 @@ proto.FileInfo.prototype.setDescription = function(value) {
|
|
|
300
312
|
};
|
|
301
313
|
|
|
302
314
|
|
|
315
|
+
/**
|
|
316
|
+
* optional string document_type = 4;
|
|
317
|
+
* @return {string}
|
|
318
|
+
*/
|
|
319
|
+
proto.FileInfo.prototype.getDocumentType = function() {
|
|
320
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
321
|
+
};
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* @param {string} value
|
|
326
|
+
* @return {!proto.FileInfo} returns this
|
|
327
|
+
*/
|
|
328
|
+
proto.FileInfo.prototype.setDocumentType = function(value) {
|
|
329
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
|
|
303
333
|
|
|
304
334
|
/**
|
|
305
335
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -585,7 +615,8 @@ referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
585
615
|
url: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
586
616
|
fileName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
587
617
|
name: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
588
|
-
description: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
618
|
+
description: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
619
|
+
documentType: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
589
620
|
};
|
|
590
621
|
|
|
591
622
|
if (includeInstance) {
|
|
@@ -642,6 +673,10 @@ proto.FileUploadReferencesReq.deserializeBinaryFromReader = function(msg, reader
|
|
|
642
673
|
var value = /** @type {string} */ (reader.readString());
|
|
643
674
|
msg.setDescription(value);
|
|
644
675
|
break;
|
|
676
|
+
case 6:
|
|
677
|
+
var value = /** @type {string} */ (reader.readString());
|
|
678
|
+
msg.setDocumentType(value);
|
|
679
|
+
break;
|
|
645
680
|
default:
|
|
646
681
|
reader.skipField();
|
|
647
682
|
break;
|
|
@@ -706,6 +741,13 @@ proto.FileUploadReferencesReq.serializeBinaryToWriter = function(message, writer
|
|
|
706
741
|
f
|
|
707
742
|
);
|
|
708
743
|
}
|
|
744
|
+
f = message.getDocumentType();
|
|
745
|
+
if (f.length > 0) {
|
|
746
|
+
writer.writeString(
|
|
747
|
+
6,
|
|
748
|
+
f
|
|
749
|
+
);
|
|
750
|
+
}
|
|
709
751
|
};
|
|
710
752
|
|
|
711
753
|
|
|
@@ -799,6 +841,24 @@ proto.FileUploadReferencesReq.prototype.setDescription = function(value) {
|
|
|
799
841
|
};
|
|
800
842
|
|
|
801
843
|
|
|
844
|
+
/**
|
|
845
|
+
* optional string document_type = 6;
|
|
846
|
+
* @return {string}
|
|
847
|
+
*/
|
|
848
|
+
proto.FileUploadReferencesReq.prototype.getDocumentType = function() {
|
|
849
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
850
|
+
};
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* @param {string} value
|
|
855
|
+
* @return {!proto.FileUploadReferencesReq} returns this
|
|
856
|
+
*/
|
|
857
|
+
proto.FileUploadReferencesReq.prototype.setDocumentType = function(value) {
|
|
858
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
859
|
+
};
|
|
860
|
+
|
|
861
|
+
|
|
802
862
|
|
|
803
863
|
|
|
804
864
|
|
|
@@ -835,7 +895,8 @@ referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
835
895
|
url: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
836
896
|
fileName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
837
897
|
name: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
838
|
-
description: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
898
|
+
description: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
899
|
+
documentType: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
839
900
|
};
|
|
840
901
|
|
|
841
902
|
if (includeInstance) {
|
|
@@ -892,6 +953,10 @@ proto.FileUploadRes.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
892
953
|
var value = /** @type {string} */ (reader.readString());
|
|
893
954
|
msg.setDescription(value);
|
|
894
955
|
break;
|
|
956
|
+
case 6:
|
|
957
|
+
var value = /** @type {string} */ (reader.readString());
|
|
958
|
+
msg.setDocumentType(value);
|
|
959
|
+
break;
|
|
895
960
|
default:
|
|
896
961
|
reader.skipField();
|
|
897
962
|
break;
|
|
@@ -956,6 +1021,13 @@ proto.FileUploadRes.serializeBinaryToWriter = function(message, writer) {
|
|
|
956
1021
|
f
|
|
957
1022
|
);
|
|
958
1023
|
}
|
|
1024
|
+
f = message.getDocumentType();
|
|
1025
|
+
if (f.length > 0) {
|
|
1026
|
+
writer.writeString(
|
|
1027
|
+
6,
|
|
1028
|
+
f
|
|
1029
|
+
);
|
|
1030
|
+
}
|
|
959
1031
|
};
|
|
960
1032
|
|
|
961
1033
|
|
|
@@ -1049,4 +1121,22 @@ proto.FileUploadRes.prototype.setDescription = function(value) {
|
|
|
1049
1121
|
};
|
|
1050
1122
|
|
|
1051
1123
|
|
|
1124
|
+
/**
|
|
1125
|
+
* optional string document_type = 6;
|
|
1126
|
+
* @return {string}
|
|
1127
|
+
*/
|
|
1128
|
+
proto.FileUploadRes.prototype.getDocumentType = function() {
|
|
1129
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
1130
|
+
};
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
/**
|
|
1134
|
+
* @param {string} value
|
|
1135
|
+
* @return {!proto.FileUploadRes} returns this
|
|
1136
|
+
*/
|
|
1137
|
+
proto.FileUploadRes.prototype.setDocumentType = function(value) {
|
|
1138
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
1139
|
+
};
|
|
1140
|
+
|
|
1141
|
+
|
|
1052
1142
|
goog.object.extend(exports, proto);
|
|
@@ -266,7 +266,6 @@ previousTransactionReferences: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
|
266
266
|
currency: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
267
267
|
purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
268
268
|
originalQuantity: jspb.Message.getFieldWithDefault(msg, 25, 0),
|
|
269
|
-
usedQuantity: jspb.Message.getFieldWithDefault(msg, 26, 0),
|
|
270
269
|
remainingQuantity: jspb.Message.getFieldWithDefault(msg, 27, 0),
|
|
271
270
|
purchaseRequisitionQuantity: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
272
271
|
purchaseRequisitionPrice: jspb.Message.getFieldWithDefault(msg, 29, ""),
|
|
@@ -412,10 +411,6 @@ proto.ItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
412
411
|
var value = /** @type {number} */ (reader.readInt64());
|
|
413
412
|
msg.setOriginalQuantity(value);
|
|
414
413
|
break;
|
|
415
|
-
case 26:
|
|
416
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
417
|
-
msg.setUsedQuantity(value);
|
|
418
|
-
break;
|
|
419
414
|
case 27:
|
|
420
415
|
var value = /** @type {number} */ (reader.readInt64());
|
|
421
416
|
msg.setRemainingQuantity(value);
|
|
@@ -644,13 +639,6 @@ proto.ItemTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
|
644
639
|
f
|
|
645
640
|
);
|
|
646
641
|
}
|
|
647
|
-
f = message.getUsedQuantity();
|
|
648
|
-
if (f !== 0) {
|
|
649
|
-
writer.writeInt64(
|
|
650
|
-
26,
|
|
651
|
-
f
|
|
652
|
-
);
|
|
653
|
-
}
|
|
654
642
|
f = message.getRemainingQuantity();
|
|
655
643
|
if (f !== 0) {
|
|
656
644
|
writer.writeInt64(
|
|
@@ -1200,24 +1188,6 @@ proto.ItemTransaction.prototype.setOriginalQuantity = function(value) {
|
|
|
1200
1188
|
};
|
|
1201
1189
|
|
|
1202
1190
|
|
|
1203
|
-
/**
|
|
1204
|
-
* optional int64 used_quantity = 26;
|
|
1205
|
-
* @return {number}
|
|
1206
|
-
*/
|
|
1207
|
-
proto.ItemTransaction.prototype.getUsedQuantity = function() {
|
|
1208
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 26, 0));
|
|
1209
|
-
};
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
/**
|
|
1213
|
-
* @param {number} value
|
|
1214
|
-
* @return {!proto.ItemTransaction} returns this
|
|
1215
|
-
*/
|
|
1216
|
-
proto.ItemTransaction.prototype.setUsedQuantity = function(value) {
|
|
1217
|
-
return jspb.Message.setProto3IntField(this, 26, value);
|
|
1218
|
-
};
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
1191
|
/**
|
|
1222
1192
|
* optional int64 remaining_quantity = 27;
|
|
1223
1193
|
* @return {number}
|