@aldiokta/protocgen 1.1.50 → 1.1.52

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 (50) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/bidding/bidding_grpc_pb.js +23 -0
  3. package/prisca/v1/bidding/bidding_pb.js +463 -2
  4. package/prisca/v1/business_fields/business_fields_grpc_pb.js +33 -0
  5. package/prisca/v1/business_fields/business_fields_pb.js +356 -0
  6. package/prisca/v1/core/access_api/access_api_grpc_pb.js +204 -0
  7. package/prisca/v1/core/access_api/access_api_pb.js +3024 -0
  8. package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +66 -0
  9. package/prisca/v1/core/access_manager/access_manager_pb.js +1346 -2
  10. package/prisca/v1/core/attribute/attribute_grpc_pb.js +474 -0
  11. package/prisca/v1/core/attribute/attribute_pb.js +6550 -0
  12. package/prisca/v1/core/auth/auth_grpc_pb.js +22 -0
  13. package/prisca/v1/core/auth/auth_pb.js +152 -0
  14. package/prisca/v1/core/commodity/commodity_grpc_pb.js +156 -0
  15. package/prisca/v1/core/commodity/commodity_pb.js +1988 -0
  16. package/prisca/v1/core/company/company_grpc_pb.js +11 -0
  17. package/prisca/v1/core/cron_monitor/cron_monitor_grpc_pb.js +221 -0
  18. package/prisca/v1/core/cron_monitor/cron_monitor_pb.js +2681 -0
  19. package/prisca/v1/core/employee/employee_grpc_pb.js +25 -3
  20. package/prisca/v1/core/employee/employee_pb.js +203 -0
  21. package/prisca/v1/core/identity_provider/identity_provider_grpc_pb.js +156 -0
  22. package/prisca/v1/core/identity_provider/identity_provider_pb.js +2018 -0
  23. package/prisca/v1/core/item_transaction/item_transaction_pb.js +2362 -1022
  24. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +11 -0
  25. package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_pb.js +65 -35
  26. package/prisca/v1/core/material/material_grpc_pb.js +2 -0
  27. package/prisca/v1/core/material/material_pb.js +420 -2
  28. package/prisca/v1/core/messaging/email_template_grpc_pb.js +33 -0
  29. package/prisca/v1/core/messaging/email_template_pb.js +385 -0
  30. package/prisca/v1/core/number_range/number_range_grpc_pb.js +33 -0
  31. package/prisca/v1/core/number_range/number_range_pb.js +385 -0
  32. package/prisca/v1/core/report/report_pb.js +31 -1
  33. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +33 -0
  34. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +364 -0
  35. package/prisca/v1/core/users/users_grpc_pb.js +1 -0
  36. package/prisca/v1/core/users/users_pb.js +2 -0
  37. package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +33 -0
  38. package/prisca/v1/delivery_order/delivery_order_pb.js +31 -1
  39. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +33 -0
  40. package/prisca/v1/good_receipt/good_receipt_pb.js +273 -8
  41. package/prisca/v1/invoice/invoice_grpc_pb.js +33 -0
  42. package/prisca/v1/invoice/invoice_pb.js +237 -2
  43. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +33 -0
  44. package/prisca/v1/purchase_order/purchase_order_pb.js +935 -12
  45. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +35 -0
  46. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +527 -66
  47. package/prisca/v1/quotation/quotation_pb.js +55 -2
  48. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +0 -123
  49. package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +34 -0
  50. package/prisca/v1/vendor_domain/vendor_domain_pb.js +1365 -0
@@ -2445,7 +2445,7 @@ proto.GetListQuotationRequest.prototype.hasQuery = function() {
2445
2445
  * @private {!Array<number>}
2446
2446
  * @const
2447
2447
  */
2448
- proto.SetItemQuotation.repeatedFields_ = [6];
2448
+ proto.SetItemQuotation.repeatedFields_ = [6,7];
2449
2449
 
2450
2450
 
2451
2451
 
@@ -2484,7 +2484,9 @@ replacement: jspb.Message.getFieldWithDefault(msg, 3, ""),
2484
2484
  quantity: jspb.Message.getFieldWithDefault(msg, 4, ""),
2485
2485
  deliveryDate: jspb.Message.getFieldWithDefault(msg, 5, ""),
2486
2486
  itemTransactionPriceConditionList: jspb.Message.toObjectList(msg.getItemTransactionPriceConditionList(),
2487
- prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionPriceCondition.toObject, includeInstance)
2487
+ prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionPriceCondition.toObject, includeInstance),
2488
+ itemTransactionServiceList: jspb.Message.toObjectList(msg.getItemTransactionServiceList(),
2489
+ prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionService.toObject, includeInstance)
2488
2490
  };
2489
2491
 
2490
2492
  if (includeInstance) {
@@ -2546,6 +2548,11 @@ proto.SetItemQuotation.deserializeBinaryFromReader = function(msg, reader) {
2546
2548
  reader.readMessage(value,prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionPriceCondition.deserializeBinaryFromReader);
2547
2549
  msg.addItemTransactionPriceCondition(value);
2548
2550
  break;
2551
+ case 7:
2552
+ var value = new prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionService;
2553
+ reader.readMessage(value,prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionService.deserializeBinaryFromReader);
2554
+ msg.addItemTransactionService(value);
2555
+ break;
2549
2556
  default:
2550
2557
  reader.skipField();
2551
2558
  break;
@@ -2618,6 +2625,14 @@ proto.SetItemQuotation.serializeBinaryToWriter = function(message, writer) {
2618
2625
  prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionPriceCondition.serializeBinaryToWriter
2619
2626
  );
2620
2627
  }
2628
+ f = message.getItemTransactionServiceList();
2629
+ if (f.length > 0) {
2630
+ writer.writeRepeatedMessage(
2631
+ 7,
2632
+ f,
2633
+ prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionService.serializeBinaryToWriter
2634
+ );
2635
+ }
2621
2636
  };
2622
2637
 
2623
2638
 
@@ -2749,6 +2764,44 @@ proto.SetItemQuotation.prototype.clearItemTransactionPriceConditionList = functi
2749
2764
  };
2750
2765
 
2751
2766
 
2767
+ /**
2768
+ * repeated ItemTransactionService item_transaction_service = 7;
2769
+ * @return {!Array<!proto.ItemTransactionService>}
2770
+ */
2771
+ proto.SetItemQuotation.prototype.getItemTransactionServiceList = function() {
2772
+ return /** @type{!Array<!proto.ItemTransactionService>} */ (
2773
+ jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_item_transaction_item_transaction_pb.ItemTransactionService, 7));
2774
+ };
2775
+
2776
+
2777
+ /**
2778
+ * @param {!Array<!proto.ItemTransactionService>} value
2779
+ * @return {!proto.SetItemQuotation} returns this
2780
+ */
2781
+ proto.SetItemQuotation.prototype.setItemTransactionServiceList = function(value) {
2782
+ return jspb.Message.setRepeatedWrapperField(this, 7, value);
2783
+ };
2784
+
2785
+
2786
+ /**
2787
+ * @param {!proto.ItemTransactionService=} opt_value
2788
+ * @param {number=} opt_index
2789
+ * @return {!proto.ItemTransactionService}
2790
+ */
2791
+ proto.SetItemQuotation.prototype.addItemTransactionService = function(opt_value, opt_index) {
2792
+ return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.ItemTransactionService, opt_index);
2793
+ };
2794
+
2795
+
2796
+ /**
2797
+ * Clears the list making it empty but non-null.
2798
+ * @return {!proto.SetItemQuotation} returns this
2799
+ */
2800
+ proto.SetItemQuotation.prototype.clearItemTransactionServiceList = function() {
2801
+ return this.setItemTransactionServiceList([]);
2802
+ };
2803
+
2804
+
2752
2805
 
2753
2806
  /**
2754
2807
  * List of repeated fields within this message type.
@@ -27,7 +27,6 @@ var prisca_v1_core_employee_employee_pb = require('../../../prisca/v1/core/emplo
27
27
  goog.object.extend(proto, prisca_v1_core_employee_employee_pb);
28
28
  var prisca_v1_core_file_upload_file_upload_pb = require('../../../prisca/v1/core/file_upload/file_upload_pb.js');
29
29
  goog.object.extend(proto, prisca_v1_core_file_upload_file_upload_pb);
30
- goog.exportSymbol('proto.Creator', null, global);
31
30
  goog.exportSymbol('proto.DeleteRFQRequest', null, global);
32
31
  goog.exportSymbol('proto.DeleteRFQResponse', null, global);
33
32
  goog.exportSymbol('proto.GetByIdRFQ', null, global);
@@ -113,27 +112,6 @@ if (goog.DEBUG && !COMPILED) {
113
112
  */
114
113
  proto.RequestForQuotation.displayName = 'proto.RequestForQuotation';
115
114
  }
116
- /**
117
- * Generated by JsPbCodeGenerator.
118
- * @param {Array=} opt_data Optional initial data array, typically from a
119
- * server response, or constructed directly in Javascript. The array is used
120
- * in place and becomes part of the constructed object. It is not cloned.
121
- * If no data is provided, the constructed object will be empty, but still
122
- * valid.
123
- * @extends {jspb.Message}
124
- * @constructor
125
- */
126
- proto.Creator = function(opt_data) {
127
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
128
- };
129
- goog.inherits(proto.Creator, jspb.Message);
130
- if (goog.DEBUG && !COMPILED) {
131
- /**
132
- * @public
133
- * @override
134
- */
135
- proto.Creator.displayName = 'proto.Creator';
136
- }
137
115
  /**
138
116
  * Generated by JsPbCodeGenerator.
139
117
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -2087,107 +2065,6 @@ proto.RequestForQuotation.prototype.setBiddingDate = function(value) {
2087
2065
 
2088
2066
 
2089
2067
 
2090
- if (jspb.Message.GENERATE_TO_OBJECT) {
2091
- /**
2092
- * Creates an object representation of this proto.
2093
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2094
- * Optional fields that are not set will be set to undefined.
2095
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2096
- * For the list of reserved names please see:
2097
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2098
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2099
- * JSPB instance for transitional soy proto support:
2100
- * http://goto/soy-param-migration
2101
- * @return {!Object}
2102
- */
2103
- proto.Creator.prototype.toObject = function(opt_includeInstance) {
2104
- return proto.Creator.toObject(opt_includeInstance, this);
2105
- };
2106
-
2107
-
2108
- /**
2109
- * Static version of the {@see toObject} method.
2110
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2111
- * the JSPB instance for transitional soy proto support:
2112
- * http://goto/soy-param-migration
2113
- * @param {!proto.Creator} msg The msg instance to transform.
2114
- * @return {!Object}
2115
- * @suppress {unusedLocalVariables} f is only used for nested messages
2116
- */
2117
- proto.Creator.toObject = function(includeInstance, msg) {
2118
- var f, obj = {
2119
-
2120
- };
2121
-
2122
- if (includeInstance) {
2123
- obj.$jspbMessageInstance = msg;
2124
- }
2125
- return obj;
2126
- };
2127
- }
2128
-
2129
-
2130
- /**
2131
- * Deserializes binary data (in protobuf wire format).
2132
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2133
- * @return {!proto.Creator}
2134
- */
2135
- proto.Creator.deserializeBinary = function(bytes) {
2136
- var reader = new jspb.BinaryReader(bytes);
2137
- var msg = new proto.Creator;
2138
- return proto.Creator.deserializeBinaryFromReader(msg, reader);
2139
- };
2140
-
2141
-
2142
- /**
2143
- * Deserializes binary data (in protobuf wire format) from the
2144
- * given reader into the given message object.
2145
- * @param {!proto.Creator} msg The message object to deserialize into.
2146
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2147
- * @return {!proto.Creator}
2148
- */
2149
- proto.Creator.deserializeBinaryFromReader = function(msg, reader) {
2150
- while (reader.nextField()) {
2151
- if (reader.isEndGroup()) {
2152
- break;
2153
- }
2154
- var field = reader.getFieldNumber();
2155
- switch (field) {
2156
- default:
2157
- reader.skipField();
2158
- break;
2159
- }
2160
- }
2161
- return msg;
2162
- };
2163
-
2164
-
2165
- /**
2166
- * Serializes the message to binary data (in protobuf wire format).
2167
- * @return {!Uint8Array}
2168
- */
2169
- proto.Creator.prototype.serializeBinary = function() {
2170
- var writer = new jspb.BinaryWriter();
2171
- proto.Creator.serializeBinaryToWriter(this, writer);
2172
- return writer.getResultBuffer();
2173
- };
2174
-
2175
-
2176
- /**
2177
- * Serializes the given message to binary data (in protobuf wire
2178
- * format), writing to the given BinaryWriter.
2179
- * @param {!proto.Creator} message
2180
- * @param {!jspb.BinaryWriter} writer
2181
- * @suppress {unusedLocalVariables} f is only used for nested messages
2182
- */
2183
- proto.Creator.serializeBinaryToWriter = function(message, writer) {
2184
- var f = undefined;
2185
- };
2186
-
2187
-
2188
-
2189
-
2190
-
2191
2068
  if (jspb.Message.GENERATE_TO_OBJECT) {
2192
2069
  /**
2193
2070
  * Creates an object representation of this proto.
@@ -6,6 +6,7 @@ var prisca_v1_vendor_domain_vendor_domain_pb = require('../../../prisca/v1/vendo
6
6
  var prisca_v1_global_meta_meta_pb = require('../../../prisca/v1/global/meta/meta_pb.js');
7
7
  var prisca_v1_core_file_upload_file_upload_pb = require('../../../prisca/v1/core/file_upload/file_upload_pb.js');
8
8
  var prisca_v1_core_transaction_builder_transaction_builder_pb = require('../../../prisca/v1/core/transaction_builder/transaction_builder_pb.js');
9
+ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
9
10
 
10
11
  function serialize_CreateVendorRequest(arg) {
11
12
  if (!(arg instanceof prisca_v1_vendor_domain_vendor_domain_pb.CreateVendorRequest)) {
@@ -139,6 +140,17 @@ function deserialize_RegisterVendorResponse(buffer_arg) {
139
140
  return prisca_v1_vendor_domain_vendor_domain_pb.RegisterVendorResponse.deserializeBinary(new Uint8Array(buffer_arg));
140
141
  }
141
142
 
143
+ function serialize_SalesDashboardResponse(arg) {
144
+ if (!(arg instanceof prisca_v1_vendor_domain_vendor_domain_pb.SalesDashboardResponse)) {
145
+ throw new Error('Expected argument of type SalesDashboardResponse');
146
+ }
147
+ return Buffer.from(arg.serializeBinary());
148
+ }
149
+
150
+ function deserialize_SalesDashboardResponse(buffer_arg) {
151
+ return prisca_v1_vendor_domain_vendor_domain_pb.SalesDashboardResponse.deserializeBinary(new Uint8Array(buffer_arg));
152
+ }
153
+
142
154
  function serialize_UpdateVendorRequest(arg) {
143
155
  if (!(arg instanceof prisca_v1_vendor_domain_vendor_domain_pb.UpdateVendorRequest)) {
144
156
  throw new Error('Expected argument of type UpdateVendorRequest');
@@ -172,6 +184,17 @@ function deserialize_UpdateVendorStatusRequest(buffer_arg) {
172
184
  return prisca_v1_vendor_domain_vendor_domain_pb.UpdateVendorStatusRequest.deserializeBinary(new Uint8Array(buffer_arg));
173
185
  }
174
186
 
187
+ function serialize_google_protobuf_Empty(arg) {
188
+ if (!(arg instanceof google_protobuf_empty_pb.Empty)) {
189
+ throw new Error('Expected argument of type google.protobuf.Empty');
190
+ }
191
+ return Buffer.from(arg.serializeBinary());
192
+ }
193
+
194
+ function deserialize_google_protobuf_Empty(buffer_arg) {
195
+ return google_protobuf_empty_pb.Empty.deserializeBinary(new Uint8Array(buffer_arg));
196
+ }
197
+
175
198
 
176
199
  // Unit of Measurement Service
177
200
  var VendorServiceService = exports.VendorServiceService = {
@@ -285,6 +308,17 @@ var VendorServiceService = exports.VendorServiceService = {
285
308
  responseSerialize: serialize_DeleteVendorResponse,
286
309
  responseDeserialize: deserialize_DeleteVendorResponse,
287
310
  },
311
+ summary: {
312
+ path: '/VendorService/Summary',
313
+ requestStream: false,
314
+ responseStream: false,
315
+ requestType: google_protobuf_empty_pb.Empty,
316
+ responseType: prisca_v1_vendor_domain_vendor_domain_pb.SalesDashboardResponse,
317
+ requestSerialize: serialize_google_protobuf_Empty,
318
+ requestDeserialize: deserialize_google_protobuf_Empty,
319
+ responseSerialize: serialize_SalesDashboardResponse,
320
+ responseDeserialize: deserialize_SalesDashboardResponse,
321
+ },
288
322
  };
289
323
 
290
324
  exports.VendorServiceClient = grpc.makeGenericClientConstructor(VendorServiceService, 'VendorService');