@aldiokta/protocgen 1.0.61 → 1.0.63

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.
Files changed (45) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/account_assignment/account_assignment_grpc_pb.js +1 -1
  3. package/prisca/v1/account_group/account_group_grpc_pb.js +1 -1
  4. package/prisca/v1/chart_of_account/chart_of_account_grpc_pb.js +1 -1
  5. package/prisca/v1/core/auth/auth_grpc_pb.js +1 -1
  6. package/prisca/v1/core/company/company_grpc_pb.js +1 -1
  7. package/prisca/v1/core/currency/currency_grpc_pb.js +1 -1
  8. package/prisca/v1/core/department_material/department_material_grpc_pb.js +1 -1
  9. package/prisca/v1/core/employee/employee_grpc_pb.js +1 -1
  10. package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +1 -1
  11. package/prisca/v1/core/job_position/job_position_grpc_pb.js +1 -1
  12. package/prisca/v1/core/job_title/job_title_grpc_pb.js +1 -1
  13. package/prisca/v1/core/line_of_activity/line_of_activity_grpc_pb.js +45 -0
  14. package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +1158 -0
  15. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +1 -1
  16. package/prisca/v1/core/link_data_source/link_data_source_grpc_pb.js +1 -1
  17. package/prisca/v1/core/location/location_grpc_pb.js +1 -1
  18. package/prisca/v1/core/material/material_grpc_pb.js +1 -1
  19. package/prisca/v1/core/material_group/material_group_grpc_pb.js +1 -1
  20. package/prisca/v1/core/material_type/material_type_grpc_pb.js +1 -1
  21. package/prisca/v1/core/messaging/email_template_grpc_pb.js +1 -1
  22. package/prisca/v1/core/messaging/messaging_grpc_pb.js +1 -1
  23. package/prisca/v1/core/number_range/number_range_grpc_pb.js +1 -1
  24. package/prisca/v1/core/organization/organization_grpc_pb.js +1 -1
  25. package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +1 -1
  26. package/prisca/v1/core/procurement/procurement_grpc_pb.js +1 -1
  27. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +1 -1
  28. package/prisca/v1/core/report/report_grpc_pb.js +1 -1
  29. package/prisca/v1/core/report/user_report_grpc_pb.js +1 -1
  30. package/prisca/v1/core/tax_code/tax_code_grpc_pb.js +1 -1
  31. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +1 -1
  32. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +31 -1
  33. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +1 -1
  34. package/prisca/v1/core/users_role/users_role_grpc_pb.js +1 -1
  35. package/prisca/v1/core/work_location/work_location_grpc_pb.js +1 -1
  36. package/prisca/v1/core/workflow/workflow_grpc_pb.js +1 -1
  37. package/prisca/v1/document_type/document_type_grpc_pb.js +1 -1
  38. package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +1 -1
  39. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +56 -1
  40. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +701 -32
  41. package/prisca/v1/purchasing_group/purchasing_group_grpc_pb.js +1 -1
  42. package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +1 -1
  43. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +1 -1
  44. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_grpc_pb.js +1 -2
  45. package/prisca/v1/purchasing_organization_plant/purchasing_organization_plant_pb.js +52 -105
@@ -175,4 +175,4 @@ var LineOfApprovalServiceService = exports.LineOfApprovalServiceService = {
175
175
  },
176
176
  };
177
177
 
178
- exports.LineOfApprovalServiceClient = grpc.makeGenericClientConstructor(LineOfApprovalServiceService);
178
+ exports.LineOfApprovalServiceClient = grpc.makeGenericClientConstructor(LineOfApprovalServiceService, 'LineOfApprovalService');
@@ -174,4 +174,4 @@ var LinkDataSourceServiceService = exports.LinkDataSourceServiceService = {
174
174
  },
175
175
  };
176
176
 
177
- exports.LinkDataSourceServiceClient = grpc.makeGenericClientConstructor(LinkDataSourceServiceService);
177
+ exports.LinkDataSourceServiceClient = grpc.makeGenericClientConstructor(LinkDataSourceServiceService, 'LinkDataSourceService');
@@ -834,4 +834,4 @@ var LocationServiceService = exports.LocationServiceService = {
834
834
  },
835
835
  };
836
836
 
837
- exports.LocationServiceClient = grpc.makeGenericClientConstructor(LocationServiceService);
837
+ exports.LocationServiceClient = grpc.makeGenericClientConstructor(LocationServiceService, 'LocationService');
@@ -178,4 +178,4 @@ var MaterialServiceService = exports.MaterialServiceService = {
178
178
  },
179
179
  };
180
180
 
181
- exports.MaterialServiceClient = grpc.makeGenericClientConstructor(MaterialServiceService);
181
+ exports.MaterialServiceClient = grpc.makeGenericClientConstructor(MaterialServiceService, 'MaterialService');
@@ -174,4 +174,4 @@ var MaterialGroupServiceService = exports.MaterialGroupServiceService = {
174
174
  },
175
175
  };
176
176
 
177
- exports.MaterialGroupServiceClient = grpc.makeGenericClientConstructor(MaterialGroupServiceService);
177
+ exports.MaterialGroupServiceClient = grpc.makeGenericClientConstructor(MaterialGroupServiceService, 'MaterialGroupService');
@@ -145,4 +145,4 @@ var MaterialTypeServiceService = exports.MaterialTypeServiceService = {
145
145
  },
146
146
  };
147
147
 
148
- exports.MaterialTypeServiceClient = grpc.makeGenericClientConstructor(MaterialTypeServiceService);
148
+ exports.MaterialTypeServiceClient = grpc.makeGenericClientConstructor(MaterialTypeServiceService, 'MaterialTypeService');
@@ -174,4 +174,4 @@ var EmailTemplateServiceService = exports.EmailTemplateServiceService = {
174
174
  },
175
175
  };
176
176
 
177
- exports.EmailTemplateServiceClient = grpc.makeGenericClientConstructor(EmailTemplateServiceService);
177
+ exports.EmailTemplateServiceClient = grpc.makeGenericClientConstructor(EmailTemplateServiceService, 'EmailTemplateService');
@@ -42,4 +42,4 @@ var MessagingServiceService = exports.MessagingServiceService = {
42
42
  },
43
43
  };
44
44
 
45
- exports.MessagingServiceClient = grpc.makeGenericClientConstructor(MessagingServiceService);
45
+ exports.MessagingServiceClient = grpc.makeGenericClientConstructor(MessagingServiceService, 'MessagingService');
@@ -174,4 +174,4 @@ var NumberRangeServiceService = exports.NumberRangeServiceService = {
174
174
  },
175
175
  };
176
176
 
177
- exports.NumberRangeServiceClient = grpc.makeGenericClientConstructor(NumberRangeServiceService);
177
+ exports.NumberRangeServiceClient = grpc.makeGenericClientConstructor(NumberRangeServiceService, 'NumberRangeService');
@@ -177,4 +177,4 @@ var OrganizationsServiceService = exports.OrganizationsServiceService = {
177
177
  },
178
178
  };
179
179
 
180
- exports.OrganizationsServiceClient = grpc.makeGenericClientConstructor(OrganizationsServiceService);
180
+ exports.OrganizationsServiceClient = grpc.makeGenericClientConstructor(OrganizationsServiceService, 'OrganizationsService');
@@ -175,4 +175,4 @@ var OrganizationLevelServiceService = exports.OrganizationLevelServiceService =
175
175
  },
176
176
  };
177
177
 
178
- exports.OrganizationLevelServiceClient = grpc.makeGenericClientConstructor(OrganizationLevelServiceService);
178
+ exports.OrganizationLevelServiceClient = grpc.makeGenericClientConstructor(OrganizationLevelServiceService, 'OrganizationLevelService');
@@ -143,4 +143,4 @@ var ProcurementServiceService = exports.ProcurementServiceService = {
143
143
  },
144
144
  };
145
145
 
146
- exports.ProcurementServiceClient = grpc.makeGenericClientConstructor(ProcurementServiceService);
146
+ exports.ProcurementServiceClient = grpc.makeGenericClientConstructor(ProcurementServiceService, 'ProcurementService');
@@ -263,4 +263,4 @@ var PurchaseRequisitionTrxServiceService = exports.PurchaseRequisitionTrxService
263
263
  },
264
264
  };
265
265
 
266
- exports.PurchaseRequisitionTrxServiceClient = grpc.makeGenericClientConstructor(PurchaseRequisitionTrxServiceService);
266
+ exports.PurchaseRequisitionTrxServiceClient = grpc.makeGenericClientConstructor(PurchaseRequisitionTrxServiceService, 'PurchaseRequisitionTrxService');
@@ -175,4 +175,4 @@ var ReportServiceService = exports.ReportServiceService = {
175
175
  },
176
176
  };
177
177
 
178
- exports.ReportServiceClient = grpc.makeGenericClientConstructor(ReportServiceService);
178
+ exports.ReportServiceClient = grpc.makeGenericClientConstructor(ReportServiceService, 'ReportService');
@@ -176,4 +176,4 @@ var UserReportServiceService = exports.UserReportServiceService = {
176
176
  },
177
177
  };
178
178
 
179
- exports.UserReportServiceClient = grpc.makeGenericClientConstructor(UserReportServiceService);
179
+ exports.UserReportServiceClient = grpc.makeGenericClientConstructor(UserReportServiceService, 'UserReportService');
@@ -174,4 +174,4 @@ var TaxCodeServiceService = exports.TaxCodeServiceService = {
174
174
  },
175
175
  };
176
176
 
177
- exports.TaxCodeServiceClient = grpc.makeGenericClientConstructor(TaxCodeServiceService);
177
+ exports.TaxCodeServiceClient = grpc.makeGenericClientConstructor(TaxCodeServiceService, 'TaxCodeService');
@@ -418,4 +418,4 @@ createTransactionBuilder: {
418
418
  },
419
419
  };
420
420
 
421
- exports.TransactionBuilderServiceClient = grpc.makeGenericClientConstructor(TransactionBuilderServiceService);
421
+ exports.TransactionBuilderServiceClient = grpc.makeGenericClientConstructor(TransactionBuilderServiceService, 'TransactionBuilderService');
@@ -1664,7 +1664,8 @@ key: jspb.Message.getFieldWithDefault(msg, 3, ""),
1664
1664
  label: jspb.Message.getFieldWithDefault(msg, 4, ""),
1665
1665
  referencesId: jspb.Message.getFieldWithDefault(msg, 5, ""),
1666
1666
  properties: jspb.Message.getFieldWithDefault(msg, 6, ""),
1667
- value: jspb.Message.getFieldWithDefault(msg, 7, "")
1667
+ value: jspb.Message.getFieldWithDefault(msg, 7, ""),
1668
+ isMaster: jspb.Message.getBooleanFieldWithDefault(msg, 8, false)
1668
1669
  };
1669
1670
 
1670
1671
  if (includeInstance) {
@@ -1729,6 +1730,10 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail.deserial
1729
1730
  var value = /** @type {string} */ (reader.readString());
1730
1731
  msg.setValue(value);
1731
1732
  break;
1733
+ case 8:
1734
+ var value = /** @type {boolean} */ (reader.readBool());
1735
+ msg.setIsMaster(value);
1736
+ break;
1732
1737
  default:
1733
1738
  reader.skipField();
1734
1739
  break;
@@ -1807,6 +1812,13 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail.serializ
1807
1812
  f
1808
1813
  );
1809
1814
  }
1815
+ f = message.getIsMaster();
1816
+ if (f) {
1817
+ writer.writeBool(
1818
+ 8,
1819
+ f
1820
+ );
1821
+ }
1810
1822
  };
1811
1823
 
1812
1824
 
@@ -1936,6 +1948,24 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail.prototyp
1936
1948
  };
1937
1949
 
1938
1950
 
1951
+ /**
1952
+ * optional bool is_master = 8;
1953
+ * @return {boolean}
1954
+ */
1955
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail.prototype.getIsMaster = function() {
1956
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
1957
+ };
1958
+
1959
+
1960
+ /**
1961
+ * @param {boolean} value
1962
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail} returns this
1963
+ */
1964
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail.prototype.setIsMaster = function(value) {
1965
+ return jspb.Message.setProto3BooleanField(this, 8, value);
1966
+ };
1967
+
1968
+
1939
1969
 
1940
1970
 
1941
1971
 
@@ -177,4 +177,4 @@ var UnitOfMeasurementServiceService = exports.UnitOfMeasurementServiceService =
177
177
  },
178
178
  };
179
179
 
180
- exports.UnitOfMeasurementServiceClient = grpc.makeGenericClientConstructor(UnitOfMeasurementServiceService);
180
+ exports.UnitOfMeasurementServiceClient = grpc.makeGenericClientConstructor(UnitOfMeasurementServiceService, 'UnitOfMeasurementService');
@@ -174,4 +174,4 @@ var RoleServiceService = exports.RoleServiceService = {
174
174
  },
175
175
  };
176
176
 
177
- exports.RoleServiceClient = grpc.makeGenericClientConstructor(RoleServiceService);
177
+ exports.RoleServiceClient = grpc.makeGenericClientConstructor(RoleServiceService, 'RoleService');
@@ -176,4 +176,4 @@ var WorkLocationServiceService = exports.WorkLocationServiceService = {
176
176
  },
177
177
  };
178
178
 
179
- exports.WorkLocationServiceClient = grpc.makeGenericClientConstructor(WorkLocationServiceService);
179
+ exports.WorkLocationServiceClient = grpc.makeGenericClientConstructor(WorkLocationServiceService, 'WorkLocationService');
@@ -177,4 +177,4 @@ var WorkflowServiceService = exports.WorkflowServiceService = {
177
177
  },
178
178
  };
179
179
 
180
- exports.WorkflowServiceClient = grpc.makeGenericClientConstructor(WorkflowServiceService);
180
+ exports.WorkflowServiceClient = grpc.makeGenericClientConstructor(WorkflowServiceService, 'WorkflowService');
@@ -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');