@aldiokta/protocgen 1.0.62 → 1.0.64

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aldiokta/protocgen",
3
- "version": "1.0.62",
3
+ "version": "1.0.64",
4
4
  "description": "protocgen js generated for products v2",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -174,4 +174,4 @@ var AccountAssignmentServiceService = exports.AccountAssignmentServiceService =
174
174
  },
175
175
  };
176
176
 
177
- exports.AccountAssignmentServiceClient = grpc.makeGenericClientConstructor(AccountAssignmentServiceService);
177
+ exports.AccountAssignmentServiceClient = grpc.makeGenericClientConstructor(AccountAssignmentServiceService, 'AccountAssignmentService');
@@ -175,4 +175,4 @@ var AccountGroupServiceService = exports.AccountGroupServiceService = {
175
175
  },
176
176
  };
177
177
 
178
- exports.AccountGroupServiceClient = grpc.makeGenericClientConstructor(AccountGroupServiceService);
178
+ exports.AccountGroupServiceClient = grpc.makeGenericClientConstructor(AccountGroupServiceService, 'AccountGroupService');
@@ -174,4 +174,4 @@ var ChartOfAccountServiceService = exports.ChartOfAccountServiceService = {
174
174
  },
175
175
  };
176
176
 
177
- exports.ChartOfAccountServiceClient = grpc.makeGenericClientConstructor(ChartOfAccountServiceService);
177
+ exports.ChartOfAccountServiceClient = grpc.makeGenericClientConstructor(ChartOfAccountServiceService, 'ChartOfAccountService');
@@ -421,7 +421,7 @@ materialType: (f = msg.getMaterialType()) && prisca_v1_core_material_type_materi
421
421
  materialGroup: (f = msg.getMaterialGroup()) && prisca_v1_core_material_group_material_group_pb.MaterialGroup.toObject(includeInstance, f),
422
422
  materialPlantRef: jspb.Message.getFieldWithDefault(msg, 18, ""),
423
423
  materialPlant: (f = msg.getMaterialPlant()) && prisca_v1_core_work_location_work_location_pb.WorkLocation.toObject(includeInstance, f),
424
- materialTypeRef: jspb.Message.getFieldWithDefault(msg, 20, ""),
424
+ materialTypeCodeRef: jspb.Message.getFieldWithDefault(msg, 20, ""),
425
425
  numberRangeSequence: jspb.Message.getFieldWithDefault(msg, 21, "")
426
426
  };
427
427
 
@@ -543,7 +543,7 @@ proto.Material.deserializeBinaryFromReader = function(msg, reader) {
543
543
  break;
544
544
  case 20:
545
545
  var value = /** @type {string} */ (reader.readString());
546
- msg.setMaterialTypeRef(value);
546
+ msg.setMaterialTypeCodeRef(value);
547
547
  break;
548
548
  case 21:
549
549
  var value = /** @type {string} */ (reader.readString());
@@ -717,7 +717,7 @@ proto.Material.serializeBinaryToWriter = function(message, writer) {
717
717
  prisca_v1_core_work_location_work_location_pb.WorkLocation.serializeBinaryToWriter
718
718
  );
719
719
  }
720
- f = message.getMaterialTypeRef();
720
+ f = message.getMaterialTypeCodeRef();
721
721
  if (f.length > 0) {
722
722
  writer.writeString(
723
723
  20,
@@ -1193,10 +1193,10 @@ proto.Material.prototype.hasMaterialPlant = function() {
1193
1193
 
1194
1194
 
1195
1195
  /**
1196
- * optional string material_type_ref = 20;
1196
+ * optional string material_type_code_ref = 20;
1197
1197
  * @return {string}
1198
1198
  */
1199
- proto.Material.prototype.getMaterialTypeRef = function() {
1199
+ proto.Material.prototype.getMaterialTypeCodeRef = function() {
1200
1200
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
1201
1201
  };
1202
1202
 
@@ -1205,7 +1205,7 @@ proto.Material.prototype.getMaterialTypeRef = function() {
1205
1205
  * @param {string} value
1206
1206
  * @return {!proto.Material} returns this
1207
1207
  */
1208
- proto.Material.prototype.setMaterialTypeRef = function(value) {
1208
+ proto.Material.prototype.setMaterialTypeCodeRef = function(value) {
1209
1209
  return jspb.Message.setProto3StringField(this, 20, value);
1210
1210
  };
1211
1211
 
@@ -326,7 +326,8 @@ referencesId: jspb.Message.getFieldWithDefault(msg, 4, ""),
326
326
  createdAt: jspb.Message.getFieldWithDefault(msg, 5, ""),
327
327
  updatedAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
328
328
  result: jspb.Message.getFieldWithDefault(msg, 7, ""),
329
- properties: jspb.Message.getFieldWithDefault(msg, 8, "")
329
+ properties: jspb.Message.getFieldWithDefault(msg, 8, ""),
330
+ companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 9, "")
330
331
  };
331
332
 
332
333
  if (includeInstance) {
@@ -395,6 +396,10 @@ proto.Report.deserializeBinaryFromReader = function(msg, reader) {
395
396
  var value = /** @type {string} */ (reader.readString());
396
397
  msg.setProperties(value);
397
398
  break;
399
+ case 9:
400
+ var value = /** @type {string} */ (reader.readString());
401
+ msg.setCompaniesReferencesId(value);
402
+ break;
398
403
  default:
399
404
  reader.skipField();
400
405
  break;
@@ -480,6 +485,13 @@ proto.Report.serializeBinaryToWriter = function(message, writer) {
480
485
  f
481
486
  );
482
487
  }
488
+ f = message.getCompaniesReferencesId();
489
+ if (f.length > 0) {
490
+ writer.writeString(
491
+ 9,
492
+ f
493
+ );
494
+ }
483
495
  };
484
496
 
485
497
 
@@ -627,6 +639,24 @@ proto.Report.prototype.setProperties = function(value) {
627
639
  };
628
640
 
629
641
 
642
+ /**
643
+ * optional string companies_references_id = 9;
644
+ * @return {string}
645
+ */
646
+ proto.Report.prototype.getCompaniesReferencesId = function() {
647
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
648
+ };
649
+
650
+
651
+ /**
652
+ * @param {string} value
653
+ * @return {!proto.Report} returns this
654
+ */
655
+ proto.Report.prototype.setCompaniesReferencesId = function(value) {
656
+ return jspb.Message.setProto3StringField(this, 9, value);
657
+ };
658
+
659
+
630
660
 
631
661
 
632
662
 
@@ -175,4 +175,4 @@ var DocumentTypeServiceService = exports.DocumentTypeServiceService = {
175
175
  },
176
176
  };
177
177
 
178
- exports.DocumentTypeServiceClient = grpc.makeGenericClientConstructor(DocumentTypeServiceService);
178
+ exports.DocumentTypeServiceClient = grpc.makeGenericClientConstructor(DocumentTypeServiceService, 'DocumentTypeService');
@@ -178,4 +178,4 @@ var GeneralLedgerAccountServiceService = exports.GeneralLedgerAccountServiceServ
178
178
  },
179
179
  };
180
180
 
181
- exports.GeneralLedgerAccountServiceClient = grpc.makeGenericClientConstructor(GeneralLedgerAccountServiceService);
181
+ exports.GeneralLedgerAccountServiceClient = grpc.makeGenericClientConstructor(GeneralLedgerAccountServiceService, 'GeneralLedgerAccountService');
@@ -128,6 +128,17 @@ function deserialize_GetPurchaseRequisitionTransactionTrxDetailPreloadResponse(b
128
128
  return prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.GetPurchaseRequisitionTransactionTrxDetailPreloadResponse.deserializeBinary(new Uint8Array(buffer_arg));
129
129
  }
130
130
 
131
+ function serialize_GetPurchaseRequisitionTrxByGroupRefRequest(arg) {
132
+ if (!(arg instanceof prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.GetPurchaseRequisitionTrxByGroupRefRequest)) {
133
+ throw new Error('Expected argument of type GetPurchaseRequisitionTrxByGroupRefRequest');
134
+ }
135
+ return Buffer.from(arg.serializeBinary());
136
+ }
137
+
138
+ function deserialize_GetPurchaseRequisitionTrxByGroupRefRequest(buffer_arg) {
139
+ return prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.GetPurchaseRequisitionTrxByGroupRefRequest.deserializeBinary(new Uint8Array(buffer_arg));
140
+ }
141
+
131
142
  function serialize_GetPurchaseRequisitionTrxByIdRequest(arg) {
132
143
  if (!(arg instanceof prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.GetPurchaseRequisitionTrxByIdRequest)) {
133
144
  throw new Error('Expected argument of type GetPurchaseRequisitionTrxByIdRequest');
@@ -238,6 +249,28 @@ function deserialize_GetPurchaseRequisitionTrxListResponse(buffer_arg) {
238
249
  return prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.GetPurchaseRequisitionTrxListResponse.deserializeBinary(new Uint8Array(buffer_arg));
239
250
  }
240
251
 
252
+ function serialize_UpdatePurchaseRequisitionTemplateRequest(arg) {
253
+ if (!(arg instanceof prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.UpdatePurchaseRequisitionTemplateRequest)) {
254
+ throw new Error('Expected argument of type UpdatePurchaseRequisitionTemplateRequest');
255
+ }
256
+ return Buffer.from(arg.serializeBinary());
257
+ }
258
+
259
+ function deserialize_UpdatePurchaseRequisitionTemplateRequest(buffer_arg) {
260
+ return prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.UpdatePurchaseRequisitionTemplateRequest.deserializeBinary(new Uint8Array(buffer_arg));
261
+ }
262
+
263
+ function serialize_UpdatePurchaseRequisitionTemplateResponse(arg) {
264
+ if (!(arg instanceof prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.UpdatePurchaseRequisitionTemplateResponse)) {
265
+ throw new Error('Expected argument of type UpdatePurchaseRequisitionTemplateResponse');
266
+ }
267
+ return Buffer.from(arg.serializeBinary());
268
+ }
269
+
270
+ function deserialize_UpdatePurchaseRequisitionTemplateResponse(buffer_arg) {
271
+ return prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.UpdatePurchaseRequisitionTemplateResponse.deserializeBinary(new Uint8Array(buffer_arg));
272
+ }
273
+
241
274
  function serialize_UpdatePurchaseRequisitionTrxRequest(arg) {
242
275
  if (!(arg instanceof prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.UpdatePurchaseRequisitionTrxRequest)) {
243
276
  throw new Error('Expected argument of type UpdatePurchaseRequisitionTrxRequest');
@@ -394,6 +427,28 @@ var PurchaseRequisitionTrxServiceService = exports.PurchaseRequisitionTrxService
394
427
  responseSerialize: serialize_DeletePurchaseRequisitionTemplateResponse,
395
428
  responseDeserialize: deserialize_DeletePurchaseRequisitionTemplateResponse,
396
429
  },
430
+ updatePurchaseRequisitionTemplate: {
431
+ path: '/PurchaseRequisitionTrxService/UpdatePurchaseRequisitionTemplate',
432
+ requestStream: false,
433
+ responseStream: false,
434
+ requestType: prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.UpdatePurchaseRequisitionTemplateRequest,
435
+ responseType: prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.UpdatePurchaseRequisitionTemplateResponse,
436
+ requestSerialize: serialize_UpdatePurchaseRequisitionTemplateRequest,
437
+ requestDeserialize: deserialize_UpdatePurchaseRequisitionTemplateRequest,
438
+ responseSerialize: serialize_UpdatePurchaseRequisitionTemplateResponse,
439
+ responseDeserialize: deserialize_UpdatePurchaseRequisitionTemplateResponse,
440
+ },
441
+ getPurchaseRequisitionTrxByGroupRef: {
442
+ path: '/PurchaseRequisitionTrxService/GetPurchaseRequisitionTrxByGroupRef',
443
+ requestStream: false,
444
+ responseStream: false,
445
+ requestType: prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.GetPurchaseRequisitionTrxByGroupRefRequest,
446
+ responseType: prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.GetPurchaseRequisitionTrxListResponse,
447
+ requestSerialize: serialize_GetPurchaseRequisitionTrxByGroupRefRequest,
448
+ requestDeserialize: deserialize_GetPurchaseRequisitionTrxByGroupRefRequest,
449
+ responseSerialize: serialize_GetPurchaseRequisitionTrxListResponse,
450
+ responseDeserialize: deserialize_GetPurchaseRequisitionTrxListResponse,
451
+ },
397
452
  };
398
453
 
399
- exports.PurchaseRequisitionTrxServiceClient = grpc.makeGenericClientConstructor(PurchaseRequisitionTrxServiceService);
454
+ exports.PurchaseRequisitionTrxServiceClient = grpc.makeGenericClientConstructor(PurchaseRequisitionTrxServiceService, 'PurchaseRequisitionTrxService');