@aldiokta/protocgen 1.1.21 → 1.1.22

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 (43) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/bidding/bidding_grpc_pb.js +33 -0
  3. package/prisca/v1/bidding/bidding_pb.js +613 -4
  4. package/prisca/v1/core/company/company_pb.js +77 -25
  5. package/prisca/v1/core/employee/employee_pb.js +74 -22
  6. package/prisca/v1/core/incoterm/incoterm_grpc_pb.js +33 -0
  7. package/prisca/v1/core/incoterm/incoterm_pb.js +407 -0
  8. package/prisca/v1/core/item_transaction/item_transaction_pb.js +274 -4
  9. package/prisca/v1/core/job_grade/job_grade_pb.js +80 -28
  10. package/prisca/v1/core/job_position/job_position_pb.js +74 -22
  11. package/prisca/v1/core/job_title/job_title_pb.js +80 -28
  12. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +61 -1
  13. package/prisca/v1/core/material/material_pb.js +74 -22
  14. package/prisca/v1/core/material_group/material_group_pb.js +77 -25
  15. package/prisca/v1/core/material_type/material_type_grpc_pb.js +33 -0
  16. package/prisca/v1/core/material_type/material_type_pb.js +407 -0
  17. package/prisca/v1/core/number_range/number_range_pb.js +74 -22
  18. package/prisca/v1/core/organization/organization_pb.js +80 -28
  19. package/prisca/v1/core/organization_level/organization_level_pb.js +80 -28
  20. package/prisca/v1/core/price_condition/price_condition_grpc_pb.js +33 -0
  21. package/prisca/v1/core/price_condition/price_condition_pb.js +407 -0
  22. package/prisca/v1/core/tax_code/tax_code_pb.js +152 -2
  23. package/prisca/v1/core/term_of_payment/term_of_payment_grpc_pb.js +33 -0
  24. package/prisca/v1/core/term_of_payment/term_of_payment_pb.js +407 -0
  25. package/prisca/v1/core/users/users_grpc_pb.js +33 -0
  26. package/prisca/v1/core/users/users_pb.js +407 -0
  27. package/prisca/v1/core/work_location/work_location_pb.js +74 -22
  28. package/prisca/v1/core/workflow/workflow_pb.js +74 -22
  29. package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +229 -0
  30. package/prisca/v1/delivery_order/delivery_order_pb.js +4661 -0
  31. package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +1 -0
  32. package/prisca/v1/good_receipt/good_receipt_pb.js +35 -0
  33. package/prisca/v1/purchase_order/purchase_order_pb.js +98 -8
  34. package/prisca/v1/purchasing_group/purchasing_group_pb.js +80 -28
  35. package/prisca/v1/purchasing_organization/purchasing_organization_grpc_pb.js +33 -0
  36. package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +407 -0
  37. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_grpc_pb.js +33 -0
  38. package/prisca/v1/purchasing_organization_assignment/purchasing_organization_assignment_pb.js +407 -0
  39. package/prisca/v1/quotation/quotation_grpc_pb.js +14 -3
  40. package/prisca/v1/quotation/quotation_pb.js +479 -2
  41. package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +1 -0
  42. package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +262 -4
  43. package/prisca/v1/vendor_domain/vendor_domain_pb.js +31 -1
@@ -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
  goog.exportSymbol('proto.CreateIncotermReq', null, global);
27
27
  goog.exportSymbol('proto.CreateIncotermRes', null, global);
28
+ goog.exportSymbol('proto.DeleteIncotermReq', null, global);
29
+ goog.exportSymbol('proto.DeleteIncotermRes', null, global);
28
30
  goog.exportSymbol('proto.GetListIncotermReq', null, global);
29
31
  goog.exportSymbol('proto.GetListIncotermRes', null, global);
30
32
  goog.exportSymbol('proto.GetSingleIncotermReq', null, global);
@@ -159,6 +161,27 @@ if (goog.DEBUG && !COMPILED) {
159
161
  */
160
162
  proto.GetListIncotermReq.displayName = 'proto.GetListIncotermReq';
161
163
  }
164
+ /**
165
+ * Generated by JsPbCodeGenerator.
166
+ * @param {Array=} opt_data Optional initial data array, typically from a
167
+ * server response, or constructed directly in Javascript. The array is used
168
+ * in place and becomes part of the constructed object. It is not cloned.
169
+ * If no data is provided, the constructed object will be empty, but still
170
+ * valid.
171
+ * @extends {jspb.Message}
172
+ * @constructor
173
+ */
174
+ proto.DeleteIncotermReq = function(opt_data) {
175
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteIncotermReq.repeatedFields_, null);
176
+ };
177
+ goog.inherits(proto.DeleteIncotermReq, jspb.Message);
178
+ if (goog.DEBUG && !COMPILED) {
179
+ /**
180
+ * @public
181
+ * @override
182
+ */
183
+ proto.DeleteIncotermReq.displayName = 'proto.DeleteIncotermReq';
184
+ }
162
185
  /**
163
186
  * Generated by JsPbCodeGenerator.
164
187
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -243,6 +266,27 @@ if (goog.DEBUG && !COMPILED) {
243
266
  */
244
267
  proto.GetListIncotermRes.displayName = 'proto.GetListIncotermRes';
245
268
  }
269
+ /**
270
+ * Generated by JsPbCodeGenerator.
271
+ * @param {Array=} opt_data Optional initial data array, typically from a
272
+ * server response, or constructed directly in Javascript. The array is used
273
+ * in place and becomes part of the constructed object. It is not cloned.
274
+ * If no data is provided, the constructed object will be empty, but still
275
+ * valid.
276
+ * @extends {jspb.Message}
277
+ * @constructor
278
+ */
279
+ proto.DeleteIncotermRes = function(opt_data) {
280
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteIncotermRes.repeatedFields_, null);
281
+ };
282
+ goog.inherits(proto.DeleteIncotermRes, jspb.Message);
283
+ if (goog.DEBUG && !COMPILED) {
284
+ /**
285
+ * @public
286
+ * @override
287
+ */
288
+ proto.DeleteIncotermRes.displayName = 'proto.DeleteIncotermRes';
289
+ }
246
290
 
247
291
 
248
292
 
@@ -1678,6 +1722,162 @@ proto.GetListIncotermReq.prototype.hasQuery = function() {
1678
1722
 
1679
1723
 
1680
1724
 
1725
+ /**
1726
+ * List of repeated fields within this message type.
1727
+ * @private {!Array<number>}
1728
+ * @const
1729
+ */
1730
+ proto.DeleteIncotermReq.repeatedFields_ = [1];
1731
+
1732
+
1733
+
1734
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1735
+ /**
1736
+ * Creates an object representation of this proto.
1737
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1738
+ * Optional fields that are not set will be set to undefined.
1739
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1740
+ * For the list of reserved names please see:
1741
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1742
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1743
+ * JSPB instance for transitional soy proto support:
1744
+ * http://goto/soy-param-migration
1745
+ * @return {!Object}
1746
+ */
1747
+ proto.DeleteIncotermReq.prototype.toObject = function(opt_includeInstance) {
1748
+ return proto.DeleteIncotermReq.toObject(opt_includeInstance, this);
1749
+ };
1750
+
1751
+
1752
+ /**
1753
+ * Static version of the {@see toObject} method.
1754
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1755
+ * the JSPB instance for transitional soy proto support:
1756
+ * http://goto/soy-param-migration
1757
+ * @param {!proto.DeleteIncotermReq} msg The msg instance to transform.
1758
+ * @return {!Object}
1759
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1760
+ */
1761
+ proto.DeleteIncotermReq.toObject = function(includeInstance, msg) {
1762
+ var f, obj = {
1763
+ referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
1764
+ };
1765
+
1766
+ if (includeInstance) {
1767
+ obj.$jspbMessageInstance = msg;
1768
+ }
1769
+ return obj;
1770
+ };
1771
+ }
1772
+
1773
+
1774
+ /**
1775
+ * Deserializes binary data (in protobuf wire format).
1776
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1777
+ * @return {!proto.DeleteIncotermReq}
1778
+ */
1779
+ proto.DeleteIncotermReq.deserializeBinary = function(bytes) {
1780
+ var reader = new jspb.BinaryReader(bytes);
1781
+ var msg = new proto.DeleteIncotermReq;
1782
+ return proto.DeleteIncotermReq.deserializeBinaryFromReader(msg, reader);
1783
+ };
1784
+
1785
+
1786
+ /**
1787
+ * Deserializes binary data (in protobuf wire format) from the
1788
+ * given reader into the given message object.
1789
+ * @param {!proto.DeleteIncotermReq} msg The message object to deserialize into.
1790
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1791
+ * @return {!proto.DeleteIncotermReq}
1792
+ */
1793
+ proto.DeleteIncotermReq.deserializeBinaryFromReader = function(msg, reader) {
1794
+ while (reader.nextField()) {
1795
+ if (reader.isEndGroup()) {
1796
+ break;
1797
+ }
1798
+ var field = reader.getFieldNumber();
1799
+ switch (field) {
1800
+ case 1:
1801
+ var value = /** @type {string} */ (reader.readString());
1802
+ msg.addReferenceIds(value);
1803
+ break;
1804
+ default:
1805
+ reader.skipField();
1806
+ break;
1807
+ }
1808
+ }
1809
+ return msg;
1810
+ };
1811
+
1812
+
1813
+ /**
1814
+ * Serializes the message to binary data (in protobuf wire format).
1815
+ * @return {!Uint8Array}
1816
+ */
1817
+ proto.DeleteIncotermReq.prototype.serializeBinary = function() {
1818
+ var writer = new jspb.BinaryWriter();
1819
+ proto.DeleteIncotermReq.serializeBinaryToWriter(this, writer);
1820
+ return writer.getResultBuffer();
1821
+ };
1822
+
1823
+
1824
+ /**
1825
+ * Serializes the given message to binary data (in protobuf wire
1826
+ * format), writing to the given BinaryWriter.
1827
+ * @param {!proto.DeleteIncotermReq} message
1828
+ * @param {!jspb.BinaryWriter} writer
1829
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1830
+ */
1831
+ proto.DeleteIncotermReq.serializeBinaryToWriter = function(message, writer) {
1832
+ var f = undefined;
1833
+ f = message.getReferenceIdsList();
1834
+ if (f.length > 0) {
1835
+ writer.writeRepeatedString(
1836
+ 1,
1837
+ f
1838
+ );
1839
+ }
1840
+ };
1841
+
1842
+
1843
+ /**
1844
+ * repeated string reference_ids = 1;
1845
+ * @return {!Array<string>}
1846
+ */
1847
+ proto.DeleteIncotermReq.prototype.getReferenceIdsList = function() {
1848
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
1849
+ };
1850
+
1851
+
1852
+ /**
1853
+ * @param {!Array<string>} value
1854
+ * @return {!proto.DeleteIncotermReq} returns this
1855
+ */
1856
+ proto.DeleteIncotermReq.prototype.setReferenceIdsList = function(value) {
1857
+ return jspb.Message.setField(this, 1, value || []);
1858
+ };
1859
+
1860
+
1861
+ /**
1862
+ * @param {string} value
1863
+ * @param {number=} opt_index
1864
+ * @return {!proto.DeleteIncotermReq} returns this
1865
+ */
1866
+ proto.DeleteIncotermReq.prototype.addReferenceIds = function(value, opt_index) {
1867
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
1868
+ };
1869
+
1870
+
1871
+ /**
1872
+ * Clears the list making it empty but non-null.
1873
+ * @return {!proto.DeleteIncotermReq} returns this
1874
+ */
1875
+ proto.DeleteIncotermReq.prototype.clearReferenceIdsList = function() {
1876
+ return this.setReferenceIdsList([]);
1877
+ };
1878
+
1879
+
1880
+
1681
1881
 
1682
1882
 
1683
1883
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -2494,4 +2694,211 @@ proto.GetListIncotermRes.prototype.hasMeta = function() {
2494
2694
  };
2495
2695
 
2496
2696
 
2697
+
2698
+ /**
2699
+ * List of repeated fields within this message type.
2700
+ * @private {!Array<number>}
2701
+ * @const
2702
+ */
2703
+ proto.DeleteIncotermRes.repeatedFields_ = [1];
2704
+
2705
+
2706
+
2707
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2708
+ /**
2709
+ * Creates an object representation of this proto.
2710
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2711
+ * Optional fields that are not set will be set to undefined.
2712
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2713
+ * For the list of reserved names please see:
2714
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2715
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2716
+ * JSPB instance for transitional soy proto support:
2717
+ * http://goto/soy-param-migration
2718
+ * @return {!Object}
2719
+ */
2720
+ proto.DeleteIncotermRes.prototype.toObject = function(opt_includeInstance) {
2721
+ return proto.DeleteIncotermRes.toObject(opt_includeInstance, this);
2722
+ };
2723
+
2724
+
2725
+ /**
2726
+ * Static version of the {@see toObject} method.
2727
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2728
+ * the JSPB instance for transitional soy proto support:
2729
+ * http://goto/soy-param-migration
2730
+ * @param {!proto.DeleteIncotermRes} msg The msg instance to transform.
2731
+ * @return {!Object}
2732
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2733
+ */
2734
+ proto.DeleteIncotermRes.toObject = function(includeInstance, msg) {
2735
+ var f, obj = {
2736
+ referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
2737
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
2738
+ };
2739
+
2740
+ if (includeInstance) {
2741
+ obj.$jspbMessageInstance = msg;
2742
+ }
2743
+ return obj;
2744
+ };
2745
+ }
2746
+
2747
+
2748
+ /**
2749
+ * Deserializes binary data (in protobuf wire format).
2750
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2751
+ * @return {!proto.DeleteIncotermRes}
2752
+ */
2753
+ proto.DeleteIncotermRes.deserializeBinary = function(bytes) {
2754
+ var reader = new jspb.BinaryReader(bytes);
2755
+ var msg = new proto.DeleteIncotermRes;
2756
+ return proto.DeleteIncotermRes.deserializeBinaryFromReader(msg, reader);
2757
+ };
2758
+
2759
+
2760
+ /**
2761
+ * Deserializes binary data (in protobuf wire format) from the
2762
+ * given reader into the given message object.
2763
+ * @param {!proto.DeleteIncotermRes} msg The message object to deserialize into.
2764
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2765
+ * @return {!proto.DeleteIncotermRes}
2766
+ */
2767
+ proto.DeleteIncotermRes.deserializeBinaryFromReader = function(msg, reader) {
2768
+ while (reader.nextField()) {
2769
+ if (reader.isEndGroup()) {
2770
+ break;
2771
+ }
2772
+ var field = reader.getFieldNumber();
2773
+ switch (field) {
2774
+ case 1:
2775
+ var value = /** @type {string} */ (reader.readString());
2776
+ msg.addReferenceIds(value);
2777
+ break;
2778
+ case 2:
2779
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
2780
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
2781
+ msg.setMeta(value);
2782
+ break;
2783
+ default:
2784
+ reader.skipField();
2785
+ break;
2786
+ }
2787
+ }
2788
+ return msg;
2789
+ };
2790
+
2791
+
2792
+ /**
2793
+ * Serializes the message to binary data (in protobuf wire format).
2794
+ * @return {!Uint8Array}
2795
+ */
2796
+ proto.DeleteIncotermRes.prototype.serializeBinary = function() {
2797
+ var writer = new jspb.BinaryWriter();
2798
+ proto.DeleteIncotermRes.serializeBinaryToWriter(this, writer);
2799
+ return writer.getResultBuffer();
2800
+ };
2801
+
2802
+
2803
+ /**
2804
+ * Serializes the given message to binary data (in protobuf wire
2805
+ * format), writing to the given BinaryWriter.
2806
+ * @param {!proto.DeleteIncotermRes} message
2807
+ * @param {!jspb.BinaryWriter} writer
2808
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2809
+ */
2810
+ proto.DeleteIncotermRes.serializeBinaryToWriter = function(message, writer) {
2811
+ var f = undefined;
2812
+ f = message.getReferenceIdsList();
2813
+ if (f.length > 0) {
2814
+ writer.writeRepeatedString(
2815
+ 1,
2816
+ f
2817
+ );
2818
+ }
2819
+ f = message.getMeta();
2820
+ if (f != null) {
2821
+ writer.writeMessage(
2822
+ 2,
2823
+ f,
2824
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
2825
+ );
2826
+ }
2827
+ };
2828
+
2829
+
2830
+ /**
2831
+ * repeated string reference_ids = 1;
2832
+ * @return {!Array<string>}
2833
+ */
2834
+ proto.DeleteIncotermRes.prototype.getReferenceIdsList = function() {
2835
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
2836
+ };
2837
+
2838
+
2839
+ /**
2840
+ * @param {!Array<string>} value
2841
+ * @return {!proto.DeleteIncotermRes} returns this
2842
+ */
2843
+ proto.DeleteIncotermRes.prototype.setReferenceIdsList = function(value) {
2844
+ return jspb.Message.setField(this, 1, value || []);
2845
+ };
2846
+
2847
+
2848
+ /**
2849
+ * @param {string} value
2850
+ * @param {number=} opt_index
2851
+ * @return {!proto.DeleteIncotermRes} returns this
2852
+ */
2853
+ proto.DeleteIncotermRes.prototype.addReferenceIds = function(value, opt_index) {
2854
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
2855
+ };
2856
+
2857
+
2858
+ /**
2859
+ * Clears the list making it empty but non-null.
2860
+ * @return {!proto.DeleteIncotermRes} returns this
2861
+ */
2862
+ proto.DeleteIncotermRes.prototype.clearReferenceIdsList = function() {
2863
+ return this.setReferenceIdsList([]);
2864
+ };
2865
+
2866
+
2867
+ /**
2868
+ * optional prisca.v1.global.meta.Meta meta = 2;
2869
+ * @return {?proto.prisca.v1.global.meta.Meta}
2870
+ */
2871
+ proto.DeleteIncotermRes.prototype.getMeta = function() {
2872
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
2873
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
2874
+ };
2875
+
2876
+
2877
+ /**
2878
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
2879
+ * @return {!proto.DeleteIncotermRes} returns this
2880
+ */
2881
+ proto.DeleteIncotermRes.prototype.setMeta = function(value) {
2882
+ return jspb.Message.setWrapperField(this, 2, value);
2883
+ };
2884
+
2885
+
2886
+ /**
2887
+ * Clears the message field making it undefined.
2888
+ * @return {!proto.DeleteIncotermRes} returns this
2889
+ */
2890
+ proto.DeleteIncotermRes.prototype.clearMeta = function() {
2891
+ return this.setMeta(undefined);
2892
+ };
2893
+
2894
+
2895
+ /**
2896
+ * Returns whether this field is set.
2897
+ * @return {boolean}
2898
+ */
2899
+ proto.DeleteIncotermRes.prototype.hasMeta = function() {
2900
+ return jspb.Message.getField(this, 2) != null;
2901
+ };
2902
+
2903
+
2497
2904
  goog.object.extend(exports, proto);