@aldiokta/protocgen 1.1.49 → 1.1.50
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 +62 -2
- package/prisca/v1/business_fields/business_fields_grpc_pb.js +180 -0
- package/prisca/v1/business_fields/business_fields_pb.js +4372 -0
- package/prisca/v1/core/bank/bank_grpc_pb.js +156 -0
- package/prisca/v1/core/bank/bank_pb.js +1988 -0
- package/prisca/v1/core/file_upload/file_upload_pb.js +31 -1
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +1783 -593
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +1 -0
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +102 -1
- package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_grpc_pb.js +180 -0
- package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_pb.js +3707 -0
- package/prisca/v1/core/plant/plant_grpc_pb.js +156 -0
- package/prisca/v1/core/plant/plant_pb.js +2078 -0
- package/prisca/v1/delivery_order/delivery_order_pb.js +31 -1
- package/prisca/v1/global/meta/meta_pb.js +452 -0
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +11 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +31 -1
- package/prisca/v1/invoice/invoice_grpc_pb.js +11 -0
- package/prisca/v1/invoice/invoice_pb.js +55 -2
- package/prisca/v1/invoice_type/invoice_type_grpc_pb.js +202 -0
- package/prisca/v1/invoice_type/invoice_type_pb.js +3598 -0
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +66 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +3670 -2242
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +44 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +1802 -0
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +224 -2
|
@@ -419,7 +419,8 @@ shippingDate: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
|
419
419
|
remarks: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
420
420
|
purchaseOrderNumber: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
421
421
|
salesOrderNumber: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
422
|
-
deliveryOrderNumber: jspb.Message.getFieldWithDefault(msg, 18, "")
|
|
422
|
+
deliveryOrderNumber: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
423
|
+
customTransaction: jspb.Message.getFieldWithDefault(msg, 31, "")
|
|
423
424
|
};
|
|
424
425
|
|
|
425
426
|
if (includeInstance) {
|
|
@@ -530,6 +531,10 @@ proto.BaseDeliveryOrderRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
530
531
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
531
532
|
msg.setDeliveryOrderNumber(value);
|
|
532
533
|
break;
|
|
534
|
+
case 31:
|
|
535
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
536
|
+
msg.setCustomTransaction(value);
|
|
537
|
+
break;
|
|
533
538
|
default:
|
|
534
539
|
reader.skipField();
|
|
535
540
|
break;
|
|
@@ -687,6 +692,13 @@ proto.BaseDeliveryOrderRequest.serializeBinaryToWriter = function(message, write
|
|
|
687
692
|
f
|
|
688
693
|
);
|
|
689
694
|
}
|
|
695
|
+
f = message.getCustomTransaction();
|
|
696
|
+
if (f.length > 0) {
|
|
697
|
+
writer.writeString(
|
|
698
|
+
31,
|
|
699
|
+
f
|
|
700
|
+
);
|
|
701
|
+
}
|
|
690
702
|
};
|
|
691
703
|
|
|
692
704
|
|
|
@@ -1054,6 +1066,24 @@ proto.BaseDeliveryOrderRequest.prototype.setDeliveryOrderNumber = function(value
|
|
|
1054
1066
|
};
|
|
1055
1067
|
|
|
1056
1068
|
|
|
1069
|
+
/**
|
|
1070
|
+
* optional string custom_transaction = 31;
|
|
1071
|
+
* @return {string}
|
|
1072
|
+
*/
|
|
1073
|
+
proto.BaseDeliveryOrderRequest.prototype.getCustomTransaction = function() {
|
|
1074
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 31, ""));
|
|
1075
|
+
};
|
|
1076
|
+
|
|
1077
|
+
|
|
1078
|
+
/**
|
|
1079
|
+
* @param {string} value
|
|
1080
|
+
* @return {!proto.BaseDeliveryOrderRequest} returns this
|
|
1081
|
+
*/
|
|
1082
|
+
proto.BaseDeliveryOrderRequest.prototype.setCustomTransaction = function(value) {
|
|
1083
|
+
return jspb.Message.setProto3StringField(this, 31, value);
|
|
1084
|
+
};
|
|
1085
|
+
|
|
1086
|
+
|
|
1057
1087
|
|
|
1058
1088
|
|
|
1059
1089
|
|
|
@@ -17,11 +17,33 @@ var global = globalThis;
|
|
|
17
17
|
|
|
18
18
|
var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js');
|
|
19
19
|
goog.object.extend(proto, google_protobuf_any_pb);
|
|
20
|
+
goog.exportSymbol('proto.prisca.v1.global.meta.Creator', null, global);
|
|
20
21
|
goog.exportSymbol('proto.prisca.v1.global.meta.FilterRequest', null, global);
|
|
21
22
|
goog.exportSymbol('proto.prisca.v1.global.meta.Meta', null, global);
|
|
22
23
|
goog.exportSymbol('proto.prisca.v1.global.meta.PaginationRequest', null, global);
|
|
23
24
|
goog.exportSymbol('proto.prisca.v1.global.meta.PaginationResponse', null, global);
|
|
24
25
|
goog.exportSymbol('proto.prisca.v1.global.meta.ResponseJson', null, global);
|
|
26
|
+
/**
|
|
27
|
+
* Generated by JsPbCodeGenerator.
|
|
28
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
29
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
30
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
31
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
32
|
+
* valid.
|
|
33
|
+
* @extends {jspb.Message}
|
|
34
|
+
* @constructor
|
|
35
|
+
*/
|
|
36
|
+
proto.prisca.v1.global.meta.Creator = function(opt_data) {
|
|
37
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
38
|
+
};
|
|
39
|
+
goog.inherits(proto.prisca.v1.global.meta.Creator, jspb.Message);
|
|
40
|
+
if (goog.DEBUG && !COMPILED) {
|
|
41
|
+
/**
|
|
42
|
+
* @public
|
|
43
|
+
* @override
|
|
44
|
+
*/
|
|
45
|
+
proto.prisca.v1.global.meta.Creator.displayName = 'proto.prisca.v1.global.meta.Creator';
|
|
46
|
+
}
|
|
25
47
|
/**
|
|
26
48
|
* Generated by JsPbCodeGenerator.
|
|
27
49
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -130,6 +152,436 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
130
152
|
|
|
131
153
|
|
|
132
154
|
|
|
155
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
156
|
+
/**
|
|
157
|
+
* Creates an object representation of this proto.
|
|
158
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
159
|
+
* Optional fields that are not set will be set to undefined.
|
|
160
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
161
|
+
* For the list of reserved names please see:
|
|
162
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
163
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
164
|
+
* JSPB instance for transitional soy proto support:
|
|
165
|
+
* http://goto/soy-param-migration
|
|
166
|
+
* @return {!Object}
|
|
167
|
+
*/
|
|
168
|
+
proto.prisca.v1.global.meta.Creator.prototype.toObject = function(opt_includeInstance) {
|
|
169
|
+
return proto.prisca.v1.global.meta.Creator.toObject(opt_includeInstance, this);
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Static version of the {@see toObject} method.
|
|
175
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
176
|
+
* the JSPB instance for transitional soy proto support:
|
|
177
|
+
* http://goto/soy-param-migration
|
|
178
|
+
* @param {!proto.prisca.v1.global.meta.Creator} msg The msg instance to transform.
|
|
179
|
+
* @return {!Object}
|
|
180
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
181
|
+
*/
|
|
182
|
+
proto.prisca.v1.global.meta.Creator.toObject = function(includeInstance, msg) {
|
|
183
|
+
var f, obj = {
|
|
184
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
185
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
186
|
+
email: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
187
|
+
phoneNumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
188
|
+
jobTitleName: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
189
|
+
jobPositionName: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
190
|
+
companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
191
|
+
companyName: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
192
|
+
vendorName: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
193
|
+
industry: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
194
|
+
userType: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
195
|
+
};
|
|
196
|
+
|
|
197
|
+
if (includeInstance) {
|
|
198
|
+
obj.$jspbMessageInstance = msg;
|
|
199
|
+
}
|
|
200
|
+
return obj;
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Deserializes binary data (in protobuf wire format).
|
|
207
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
208
|
+
* @return {!proto.prisca.v1.global.meta.Creator}
|
|
209
|
+
*/
|
|
210
|
+
proto.prisca.v1.global.meta.Creator.deserializeBinary = function(bytes) {
|
|
211
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
212
|
+
var msg = new proto.prisca.v1.global.meta.Creator;
|
|
213
|
+
return proto.prisca.v1.global.meta.Creator.deserializeBinaryFromReader(msg, reader);
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
219
|
+
* given reader into the given message object.
|
|
220
|
+
* @param {!proto.prisca.v1.global.meta.Creator} msg The message object to deserialize into.
|
|
221
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
222
|
+
* @return {!proto.prisca.v1.global.meta.Creator}
|
|
223
|
+
*/
|
|
224
|
+
proto.prisca.v1.global.meta.Creator.deserializeBinaryFromReader = function(msg, reader) {
|
|
225
|
+
while (reader.nextField()) {
|
|
226
|
+
if (reader.isEndGroup()) {
|
|
227
|
+
break;
|
|
228
|
+
}
|
|
229
|
+
var field = reader.getFieldNumber();
|
|
230
|
+
switch (field) {
|
|
231
|
+
case 1:
|
|
232
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
233
|
+
msg.setReferencesId(value);
|
|
234
|
+
break;
|
|
235
|
+
case 2:
|
|
236
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
237
|
+
msg.setName(value);
|
|
238
|
+
break;
|
|
239
|
+
case 3:
|
|
240
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
241
|
+
msg.setEmail(value);
|
|
242
|
+
break;
|
|
243
|
+
case 4:
|
|
244
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
245
|
+
msg.setPhoneNumber(value);
|
|
246
|
+
break;
|
|
247
|
+
case 5:
|
|
248
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
249
|
+
msg.setJobTitleName(value);
|
|
250
|
+
break;
|
|
251
|
+
case 6:
|
|
252
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
253
|
+
msg.setJobPositionName(value);
|
|
254
|
+
break;
|
|
255
|
+
case 7:
|
|
256
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
257
|
+
msg.setCompaniesReferencesId(value);
|
|
258
|
+
break;
|
|
259
|
+
case 8:
|
|
260
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
261
|
+
msg.setCompanyName(value);
|
|
262
|
+
break;
|
|
263
|
+
case 9:
|
|
264
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
265
|
+
msg.setVendorName(value);
|
|
266
|
+
break;
|
|
267
|
+
case 10:
|
|
268
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
269
|
+
msg.setIndustry(value);
|
|
270
|
+
break;
|
|
271
|
+
case 11:
|
|
272
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
273
|
+
msg.setUserType(value);
|
|
274
|
+
break;
|
|
275
|
+
default:
|
|
276
|
+
reader.skipField();
|
|
277
|
+
break;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
return msg;
|
|
281
|
+
};
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
286
|
+
* @return {!Uint8Array}
|
|
287
|
+
*/
|
|
288
|
+
proto.prisca.v1.global.meta.Creator.prototype.serializeBinary = function() {
|
|
289
|
+
var writer = new jspb.BinaryWriter();
|
|
290
|
+
proto.prisca.v1.global.meta.Creator.serializeBinaryToWriter(this, writer);
|
|
291
|
+
return writer.getResultBuffer();
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
297
|
+
* format), writing to the given BinaryWriter.
|
|
298
|
+
* @param {!proto.prisca.v1.global.meta.Creator} message
|
|
299
|
+
* @param {!jspb.BinaryWriter} writer
|
|
300
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
301
|
+
*/
|
|
302
|
+
proto.prisca.v1.global.meta.Creator.serializeBinaryToWriter = function(message, writer) {
|
|
303
|
+
var f = undefined;
|
|
304
|
+
f = message.getReferencesId();
|
|
305
|
+
if (f.length > 0) {
|
|
306
|
+
writer.writeString(
|
|
307
|
+
1,
|
|
308
|
+
f
|
|
309
|
+
);
|
|
310
|
+
}
|
|
311
|
+
f = message.getName();
|
|
312
|
+
if (f.length > 0) {
|
|
313
|
+
writer.writeString(
|
|
314
|
+
2,
|
|
315
|
+
f
|
|
316
|
+
);
|
|
317
|
+
}
|
|
318
|
+
f = message.getEmail();
|
|
319
|
+
if (f.length > 0) {
|
|
320
|
+
writer.writeString(
|
|
321
|
+
3,
|
|
322
|
+
f
|
|
323
|
+
);
|
|
324
|
+
}
|
|
325
|
+
f = message.getPhoneNumber();
|
|
326
|
+
if (f.length > 0) {
|
|
327
|
+
writer.writeString(
|
|
328
|
+
4,
|
|
329
|
+
f
|
|
330
|
+
);
|
|
331
|
+
}
|
|
332
|
+
f = message.getJobTitleName();
|
|
333
|
+
if (f.length > 0) {
|
|
334
|
+
writer.writeString(
|
|
335
|
+
5,
|
|
336
|
+
f
|
|
337
|
+
);
|
|
338
|
+
}
|
|
339
|
+
f = message.getJobPositionName();
|
|
340
|
+
if (f.length > 0) {
|
|
341
|
+
writer.writeString(
|
|
342
|
+
6,
|
|
343
|
+
f
|
|
344
|
+
);
|
|
345
|
+
}
|
|
346
|
+
f = message.getCompaniesReferencesId();
|
|
347
|
+
if (f.length > 0) {
|
|
348
|
+
writer.writeString(
|
|
349
|
+
7,
|
|
350
|
+
f
|
|
351
|
+
);
|
|
352
|
+
}
|
|
353
|
+
f = message.getCompanyName();
|
|
354
|
+
if (f.length > 0) {
|
|
355
|
+
writer.writeString(
|
|
356
|
+
8,
|
|
357
|
+
f
|
|
358
|
+
);
|
|
359
|
+
}
|
|
360
|
+
f = message.getVendorName();
|
|
361
|
+
if (f.length > 0) {
|
|
362
|
+
writer.writeString(
|
|
363
|
+
9,
|
|
364
|
+
f
|
|
365
|
+
);
|
|
366
|
+
}
|
|
367
|
+
f = message.getIndustry();
|
|
368
|
+
if (f.length > 0) {
|
|
369
|
+
writer.writeString(
|
|
370
|
+
10,
|
|
371
|
+
f
|
|
372
|
+
);
|
|
373
|
+
}
|
|
374
|
+
f = message.getUserType();
|
|
375
|
+
if (f.length > 0) {
|
|
376
|
+
writer.writeString(
|
|
377
|
+
11,
|
|
378
|
+
f
|
|
379
|
+
);
|
|
380
|
+
}
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* optional string references_id = 1;
|
|
386
|
+
* @return {string}
|
|
387
|
+
*/
|
|
388
|
+
proto.prisca.v1.global.meta.Creator.prototype.getReferencesId = function() {
|
|
389
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
390
|
+
};
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* @param {string} value
|
|
395
|
+
* @return {!proto.prisca.v1.global.meta.Creator} returns this
|
|
396
|
+
*/
|
|
397
|
+
proto.prisca.v1.global.meta.Creator.prototype.setReferencesId = function(value) {
|
|
398
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* optional string name = 2;
|
|
404
|
+
* @return {string}
|
|
405
|
+
*/
|
|
406
|
+
proto.prisca.v1.global.meta.Creator.prototype.getName = function() {
|
|
407
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
408
|
+
};
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* @param {string} value
|
|
413
|
+
* @return {!proto.prisca.v1.global.meta.Creator} returns this
|
|
414
|
+
*/
|
|
415
|
+
proto.prisca.v1.global.meta.Creator.prototype.setName = function(value) {
|
|
416
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
417
|
+
};
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* optional string email = 3;
|
|
422
|
+
* @return {string}
|
|
423
|
+
*/
|
|
424
|
+
proto.prisca.v1.global.meta.Creator.prototype.getEmail = function() {
|
|
425
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* @param {string} value
|
|
431
|
+
* @return {!proto.prisca.v1.global.meta.Creator} returns this
|
|
432
|
+
*/
|
|
433
|
+
proto.prisca.v1.global.meta.Creator.prototype.setEmail = function(value) {
|
|
434
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
435
|
+
};
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* optional string phone_number = 4;
|
|
440
|
+
* @return {string}
|
|
441
|
+
*/
|
|
442
|
+
proto.prisca.v1.global.meta.Creator.prototype.getPhoneNumber = function() {
|
|
443
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
444
|
+
};
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* @param {string} value
|
|
449
|
+
* @return {!proto.prisca.v1.global.meta.Creator} returns this
|
|
450
|
+
*/
|
|
451
|
+
proto.prisca.v1.global.meta.Creator.prototype.setPhoneNumber = function(value) {
|
|
452
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
453
|
+
};
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* optional string job_title_name = 5;
|
|
458
|
+
* @return {string}
|
|
459
|
+
*/
|
|
460
|
+
proto.prisca.v1.global.meta.Creator.prototype.getJobTitleName = function() {
|
|
461
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
462
|
+
};
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* @param {string} value
|
|
467
|
+
* @return {!proto.prisca.v1.global.meta.Creator} returns this
|
|
468
|
+
*/
|
|
469
|
+
proto.prisca.v1.global.meta.Creator.prototype.setJobTitleName = function(value) {
|
|
470
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* optional string job_position_name = 6;
|
|
476
|
+
* @return {string}
|
|
477
|
+
*/
|
|
478
|
+
proto.prisca.v1.global.meta.Creator.prototype.getJobPositionName = function() {
|
|
479
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
480
|
+
};
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* @param {string} value
|
|
485
|
+
* @return {!proto.prisca.v1.global.meta.Creator} returns this
|
|
486
|
+
*/
|
|
487
|
+
proto.prisca.v1.global.meta.Creator.prototype.setJobPositionName = function(value) {
|
|
488
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
489
|
+
};
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* optional string companies_references_id = 7;
|
|
494
|
+
* @return {string}
|
|
495
|
+
*/
|
|
496
|
+
proto.prisca.v1.global.meta.Creator.prototype.getCompaniesReferencesId = function() {
|
|
497
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
498
|
+
};
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* @param {string} value
|
|
503
|
+
* @return {!proto.prisca.v1.global.meta.Creator} returns this
|
|
504
|
+
*/
|
|
505
|
+
proto.prisca.v1.global.meta.Creator.prototype.setCompaniesReferencesId = function(value) {
|
|
506
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
507
|
+
};
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* optional string company_name = 8;
|
|
512
|
+
* @return {string}
|
|
513
|
+
*/
|
|
514
|
+
proto.prisca.v1.global.meta.Creator.prototype.getCompanyName = function() {
|
|
515
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
516
|
+
};
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* @param {string} value
|
|
521
|
+
* @return {!proto.prisca.v1.global.meta.Creator} returns this
|
|
522
|
+
*/
|
|
523
|
+
proto.prisca.v1.global.meta.Creator.prototype.setCompanyName = function(value) {
|
|
524
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
525
|
+
};
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* optional string vendor_name = 9;
|
|
530
|
+
* @return {string}
|
|
531
|
+
*/
|
|
532
|
+
proto.prisca.v1.global.meta.Creator.prototype.getVendorName = function() {
|
|
533
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
534
|
+
};
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* @param {string} value
|
|
539
|
+
* @return {!proto.prisca.v1.global.meta.Creator} returns this
|
|
540
|
+
*/
|
|
541
|
+
proto.prisca.v1.global.meta.Creator.prototype.setVendorName = function(value) {
|
|
542
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
543
|
+
};
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* optional string industry = 10;
|
|
548
|
+
* @return {string}
|
|
549
|
+
*/
|
|
550
|
+
proto.prisca.v1.global.meta.Creator.prototype.getIndustry = function() {
|
|
551
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
552
|
+
};
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* @param {string} value
|
|
557
|
+
* @return {!proto.prisca.v1.global.meta.Creator} returns this
|
|
558
|
+
*/
|
|
559
|
+
proto.prisca.v1.global.meta.Creator.prototype.setIndustry = function(value) {
|
|
560
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
561
|
+
};
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* optional string user_type = 11;
|
|
566
|
+
* @return {string}
|
|
567
|
+
*/
|
|
568
|
+
proto.prisca.v1.global.meta.Creator.prototype.getUserType = function() {
|
|
569
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
570
|
+
};
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* @param {string} value
|
|
575
|
+
* @return {!proto.prisca.v1.global.meta.Creator} returns this
|
|
576
|
+
*/
|
|
577
|
+
proto.prisca.v1.global.meta.Creator.prototype.setUserType = function(value) {
|
|
578
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
579
|
+
};
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
|
|
133
585
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
134
586
|
/**
|
|
135
587
|
* Creates an object representation of this proto.
|
|
@@ -201,6 +201,17 @@ var GoodReceiptServiceService = exports.GoodReceiptServiceService = {
|
|
|
201
201
|
responseSerialize: serialize_GetListGoodReceiptRes,
|
|
202
202
|
responseDeserialize: deserialize_GetListGoodReceiptRes,
|
|
203
203
|
},
|
|
204
|
+
getListGoodReceiptsForExport: {
|
|
205
|
+
path: '/GoodReceiptService/GetListGoodReceiptsForExport',
|
|
206
|
+
requestStream: false,
|
|
207
|
+
responseStream: false,
|
|
208
|
+
requestType: prisca_v1_good_receipt_good_receipt_pb.GetListGoodReceiptReq,
|
|
209
|
+
responseType: prisca_v1_good_receipt_good_receipt_pb.GetListGoodReceiptRes,
|
|
210
|
+
requestSerialize: serialize_GetListGoodReceiptReq,
|
|
211
|
+
requestDeserialize: deserialize_GetListGoodReceiptReq,
|
|
212
|
+
responseSerialize: serialize_GetListGoodReceiptRes,
|
|
213
|
+
responseDeserialize: deserialize_GetListGoodReceiptRes,
|
|
214
|
+
},
|
|
204
215
|
updateGoodReceipt: {
|
|
205
216
|
path: '/GoodReceiptService/UpdateGoodReceipt',
|
|
206
217
|
requestStream: false,
|
|
@@ -440,7 +440,8 @@ groupReferences: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
|
440
440
|
deliveryOrder: (f = msg.getDeliveryOrder()) && prisca_v1_purchase_order_purchase_order_pb.DeliveryOrder.toObject(includeInstance, f),
|
|
441
441
|
deliveryOrderNumber: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
442
442
|
deliveryOrderDate: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
443
|
-
purchaseOrderNumber: jspb.Message.getFieldWithDefault(msg, 17, "")
|
|
443
|
+
purchaseOrderNumber: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
444
|
+
customTransaction: jspb.Message.getFieldWithDefault(msg, 31, "")
|
|
444
445
|
};
|
|
445
446
|
|
|
446
447
|
if (includeInstance) {
|
|
@@ -550,6 +551,10 @@ proto.BaseGoodReceipt.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
550
551
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
551
552
|
msg.setPurchaseOrderNumber(value);
|
|
552
553
|
break;
|
|
554
|
+
case 31:
|
|
555
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
556
|
+
msg.setCustomTransaction(value);
|
|
557
|
+
break;
|
|
553
558
|
default:
|
|
554
559
|
reader.skipField();
|
|
555
560
|
break;
|
|
@@ -703,6 +708,13 @@ proto.BaseGoodReceipt.serializeBinaryToWriter = function(message, writer) {
|
|
|
703
708
|
f
|
|
704
709
|
);
|
|
705
710
|
}
|
|
711
|
+
f = message.getCustomTransaction();
|
|
712
|
+
if (f.length > 0) {
|
|
713
|
+
writer.writeString(
|
|
714
|
+
31,
|
|
715
|
+
f
|
|
716
|
+
);
|
|
717
|
+
}
|
|
706
718
|
};
|
|
707
719
|
|
|
708
720
|
|
|
@@ -1109,6 +1121,24 @@ proto.BaseGoodReceipt.prototype.setPurchaseOrderNumber = function(value) {
|
|
|
1109
1121
|
};
|
|
1110
1122
|
|
|
1111
1123
|
|
|
1124
|
+
/**
|
|
1125
|
+
* optional string custom_transaction = 31;
|
|
1126
|
+
* @return {string}
|
|
1127
|
+
*/
|
|
1128
|
+
proto.BaseGoodReceipt.prototype.getCustomTransaction = function() {
|
|
1129
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 31, ""));
|
|
1130
|
+
};
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
/**
|
|
1134
|
+
* @param {string} value
|
|
1135
|
+
* @return {!proto.BaseGoodReceipt} returns this
|
|
1136
|
+
*/
|
|
1137
|
+
proto.BaseGoodReceipt.prototype.setCustomTransaction = function(value) {
|
|
1138
|
+
return jspb.Message.setProto3StringField(this, 31, value);
|
|
1139
|
+
};
|
|
1140
|
+
|
|
1141
|
+
|
|
1112
1142
|
|
|
1113
1143
|
|
|
1114
1144
|
|
|
@@ -235,6 +235,17 @@ var InvoiceServiceService = exports.InvoiceServiceService = {
|
|
|
235
235
|
responseSerialize: serialize_GetInvoiceByIdRes,
|
|
236
236
|
responseDeserialize: deserialize_GetInvoiceByIdRes,
|
|
237
237
|
},
|
|
238
|
+
getInvoiceByIdDetailForCompany: {
|
|
239
|
+
path: '/InvoiceService/GetInvoiceByIdDetailForCompany',
|
|
240
|
+
requestStream: false,
|
|
241
|
+
responseStream: false,
|
|
242
|
+
requestType: prisca_v1_invoice_invoice_pb.GetInvoiceByIdReq,
|
|
243
|
+
responseType: prisca_v1_invoice_invoice_pb.GetInvoiceDetailRes,
|
|
244
|
+
requestSerialize: serialize_GetInvoiceByIdReq,
|
|
245
|
+
requestDeserialize: deserialize_GetInvoiceByIdReq,
|
|
246
|
+
responseSerialize: serialize_GetInvoiceDetailRes,
|
|
247
|
+
responseDeserialize: deserialize_GetInvoiceDetailRes,
|
|
248
|
+
},
|
|
238
249
|
getInvoiceByIdDetail: {
|
|
239
250
|
path: '/InvoiceService/GetInvoiceByIdDetail',
|
|
240
251
|
requestStream: false,
|