@kernelminds/scailo-sdk 0.0.115 → 0.0.117

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 (149) hide show
  1. package/lib/cjs/src/components.scailo_pb.js +2 -2
  2. package/lib/cjs/src/credit_notes.scailo_connect.js +11 -0
  3. package/lib/cjs/src/credit_notes.scailo_pb.js +143 -1
  4. package/lib/cjs/src/debit_notes.scailo_connect.js +11 -0
  5. package/lib/cjs/src/debit_notes.scailo_pb.js +136 -1
  6. package/lib/cjs/src/equipments.scailo_pb.js +2 -2
  7. package/lib/cjs/src/feedstocks.scailo_pb.js +2 -2
  8. package/lib/cjs/src/goods_dispatches.scailo_connect.js +11 -0
  9. package/lib/cjs/src/goods_dispatches.scailo_pb.js +122 -1
  10. package/lib/cjs/src/goods_receipts.scailo_connect.js +11 -0
  11. package/lib/cjs/src/goods_receipts.scailo_pb.js +108 -1
  12. package/lib/cjs/src/infrastructures.scailo_pb.js +2 -2
  13. package/lib/cjs/src/inventory.scailo_pb.js +1 -1
  14. package/lib/cjs/src/merchandises.scailo_pb.js +2 -2
  15. package/lib/cjs/src/products.scailo_pb.js +2 -2
  16. package/lib/cjs/src/proforma_invoices.scailo_connect.js +11 -0
  17. package/lib/cjs/src/proforma_invoices.scailo_pb.js +143 -1
  18. package/lib/cjs/src/purchases_orders.scailo_connect.js +11 -0
  19. package/lib/cjs/src/purchases_orders.scailo_pb.js +143 -1
  20. package/lib/cjs/src/sales_invoices.scailo_connect.js +11 -0
  21. package/lib/cjs/src/sales_invoices.scailo_pb.js +143 -1
  22. package/lib/cjs/src/sales_orders.scailo_connect.js +11 -0
  23. package/lib/cjs/src/sales_orders.scailo_pb.js +157 -1
  24. package/lib/cjs/src/sales_quotations.scailo_connect.js +11 -0
  25. package/lib/cjs/src/sales_quotations.scailo_pb.js +150 -1
  26. package/lib/cjs/src/vendor_invoices.scailo_connect.js +11 -0
  27. package/lib/cjs/src/vendor_invoices.scailo_pb.js +136 -1
  28. package/lib/cjs/types/src/components.scailo_pb.d.ts +2 -2
  29. package/lib/cjs/types/src/credit_notes.scailo_connect.d.ts +12 -1
  30. package/lib/cjs/types/src/credit_notes.scailo_connect.d.ts.map +1 -1
  31. package/lib/cjs/types/src/credit_notes.scailo_pb.d.ts +104 -0
  32. package/lib/cjs/types/src/credit_notes.scailo_pb.d.ts.map +1 -1
  33. package/lib/cjs/types/src/debit_notes.scailo_connect.d.ts +12 -1
  34. package/lib/cjs/types/src/debit_notes.scailo_connect.d.ts.map +1 -1
  35. package/lib/cjs/types/src/debit_notes.scailo_pb.d.ts +98 -0
  36. package/lib/cjs/types/src/debit_notes.scailo_pb.d.ts.map +1 -1
  37. package/lib/cjs/types/src/equipments.scailo_pb.d.ts +2 -2
  38. package/lib/cjs/types/src/feedstocks.scailo_pb.d.ts +2 -2
  39. package/lib/cjs/types/src/goods_dispatches.scailo_connect.d.ts +12 -1
  40. package/lib/cjs/types/src/goods_dispatches.scailo_connect.d.ts.map +1 -1
  41. package/lib/cjs/types/src/goods_dispatches.scailo_pb.d.ts +86 -0
  42. package/lib/cjs/types/src/goods_dispatches.scailo_pb.d.ts.map +1 -1
  43. package/lib/cjs/types/src/goods_receipts.scailo_connect.d.ts +12 -1
  44. package/lib/cjs/types/src/goods_receipts.scailo_connect.d.ts.map +1 -1
  45. package/lib/cjs/types/src/goods_receipts.scailo_pb.d.ts +74 -0
  46. package/lib/cjs/types/src/goods_receipts.scailo_pb.d.ts.map +1 -1
  47. package/lib/cjs/types/src/infrastructures.scailo_pb.d.ts +2 -2
  48. package/lib/cjs/types/src/inventory.scailo_pb.d.ts +1 -1
  49. package/lib/cjs/types/src/merchandises.scailo_pb.d.ts +2 -2
  50. package/lib/cjs/types/src/products.scailo_pb.d.ts +2 -2
  51. package/lib/cjs/types/src/proforma_invoices.scailo_connect.d.ts +12 -1
  52. package/lib/cjs/types/src/proforma_invoices.scailo_connect.d.ts.map +1 -1
  53. package/lib/cjs/types/src/proforma_invoices.scailo_pb.d.ts +104 -0
  54. package/lib/cjs/types/src/proforma_invoices.scailo_pb.d.ts.map +1 -1
  55. package/lib/cjs/types/src/purchases_orders.scailo_connect.d.ts +12 -1
  56. package/lib/cjs/types/src/purchases_orders.scailo_connect.d.ts.map +1 -1
  57. package/lib/cjs/types/src/purchases_orders.scailo_pb.d.ts +104 -0
  58. package/lib/cjs/types/src/purchases_orders.scailo_pb.d.ts.map +1 -1
  59. package/lib/cjs/types/src/sales_invoices.scailo_connect.d.ts +12 -1
  60. package/lib/cjs/types/src/sales_invoices.scailo_connect.d.ts.map +1 -1
  61. package/lib/cjs/types/src/sales_invoices.scailo_pb.d.ts +104 -0
  62. package/lib/cjs/types/src/sales_invoices.scailo_pb.d.ts.map +1 -1
  63. package/lib/cjs/types/src/sales_orders.scailo_connect.d.ts +12 -1
  64. package/lib/cjs/types/src/sales_orders.scailo_connect.d.ts.map +1 -1
  65. package/lib/cjs/types/src/sales_orders.scailo_pb.d.ts +116 -0
  66. package/lib/cjs/types/src/sales_orders.scailo_pb.d.ts.map +1 -1
  67. package/lib/cjs/types/src/sales_quotations.scailo_connect.d.ts +12 -1
  68. package/lib/cjs/types/src/sales_quotations.scailo_connect.d.ts.map +1 -1
  69. package/lib/cjs/types/src/sales_quotations.scailo_pb.d.ts +110 -0
  70. package/lib/cjs/types/src/sales_quotations.scailo_pb.d.ts.map +1 -1
  71. package/lib/cjs/types/src/vendor_invoices.scailo_connect.d.ts +12 -1
  72. package/lib/cjs/types/src/vendor_invoices.scailo_connect.d.ts.map +1 -1
  73. package/lib/cjs/types/src/vendor_invoices.scailo_pb.d.ts +98 -0
  74. package/lib/cjs/types/src/vendor_invoices.scailo_pb.d.ts.map +1 -1
  75. package/lib/esm/src/components.scailo_pb.js +2 -2
  76. package/lib/esm/src/credit_notes.scailo_connect.js +11 -0
  77. package/lib/esm/src/credit_notes.scailo_pb.js +143 -1
  78. package/lib/esm/src/debit_notes.scailo_connect.js +11 -0
  79. package/lib/esm/src/debit_notes.scailo_pb.js +136 -1
  80. package/lib/esm/src/equipments.scailo_pb.js +2 -2
  81. package/lib/esm/src/feedstocks.scailo_pb.js +2 -2
  82. package/lib/esm/src/goods_dispatches.scailo_connect.js +11 -0
  83. package/lib/esm/src/goods_dispatches.scailo_pb.js +122 -1
  84. package/lib/esm/src/goods_receipts.scailo_connect.js +11 -0
  85. package/lib/esm/src/goods_receipts.scailo_pb.js +108 -1
  86. package/lib/esm/src/infrastructures.scailo_pb.js +2 -2
  87. package/lib/esm/src/inventory.scailo_pb.js +1 -1
  88. package/lib/esm/src/merchandises.scailo_pb.js +2 -2
  89. package/lib/esm/src/products.scailo_pb.js +2 -2
  90. package/lib/esm/src/proforma_invoices.scailo_connect.js +11 -0
  91. package/lib/esm/src/proforma_invoices.scailo_pb.js +143 -1
  92. package/lib/esm/src/purchases_orders.scailo_connect.js +11 -0
  93. package/lib/esm/src/purchases_orders.scailo_pb.js +143 -1
  94. package/lib/esm/src/sales_invoices.scailo_connect.js +11 -0
  95. package/lib/esm/src/sales_invoices.scailo_pb.js +143 -1
  96. package/lib/esm/src/sales_orders.scailo_connect.js +11 -0
  97. package/lib/esm/src/sales_orders.scailo_pb.js +157 -1
  98. package/lib/esm/src/sales_quotations.scailo_connect.js +11 -0
  99. package/lib/esm/src/sales_quotations.scailo_pb.js +150 -1
  100. package/lib/esm/src/vendor_invoices.scailo_connect.js +11 -0
  101. package/lib/esm/src/vendor_invoices.scailo_pb.js +136 -1
  102. package/lib/esm/types/src/components.scailo_pb.d.ts +2 -2
  103. package/lib/esm/types/src/credit_notes.scailo_connect.d.ts +12 -1
  104. package/lib/esm/types/src/credit_notes.scailo_connect.d.ts.map +1 -1
  105. package/lib/esm/types/src/credit_notes.scailo_pb.d.ts +104 -0
  106. package/lib/esm/types/src/credit_notes.scailo_pb.d.ts.map +1 -1
  107. package/lib/esm/types/src/debit_notes.scailo_connect.d.ts +12 -1
  108. package/lib/esm/types/src/debit_notes.scailo_connect.d.ts.map +1 -1
  109. package/lib/esm/types/src/debit_notes.scailo_pb.d.ts +98 -0
  110. package/lib/esm/types/src/debit_notes.scailo_pb.d.ts.map +1 -1
  111. package/lib/esm/types/src/equipments.scailo_pb.d.ts +2 -2
  112. package/lib/esm/types/src/feedstocks.scailo_pb.d.ts +2 -2
  113. package/lib/esm/types/src/goods_dispatches.scailo_connect.d.ts +12 -1
  114. package/lib/esm/types/src/goods_dispatches.scailo_connect.d.ts.map +1 -1
  115. package/lib/esm/types/src/goods_dispatches.scailo_pb.d.ts +86 -0
  116. package/lib/esm/types/src/goods_dispatches.scailo_pb.d.ts.map +1 -1
  117. package/lib/esm/types/src/goods_receipts.scailo_connect.d.ts +12 -1
  118. package/lib/esm/types/src/goods_receipts.scailo_connect.d.ts.map +1 -1
  119. package/lib/esm/types/src/goods_receipts.scailo_pb.d.ts +74 -0
  120. package/lib/esm/types/src/goods_receipts.scailo_pb.d.ts.map +1 -1
  121. package/lib/esm/types/src/infrastructures.scailo_pb.d.ts +2 -2
  122. package/lib/esm/types/src/inventory.scailo_pb.d.ts +1 -1
  123. package/lib/esm/types/src/merchandises.scailo_pb.d.ts +2 -2
  124. package/lib/esm/types/src/products.scailo_pb.d.ts +2 -2
  125. package/lib/esm/types/src/proforma_invoices.scailo_connect.d.ts +12 -1
  126. package/lib/esm/types/src/proforma_invoices.scailo_connect.d.ts.map +1 -1
  127. package/lib/esm/types/src/proforma_invoices.scailo_pb.d.ts +104 -0
  128. package/lib/esm/types/src/proforma_invoices.scailo_pb.d.ts.map +1 -1
  129. package/lib/esm/types/src/purchases_orders.scailo_connect.d.ts +12 -1
  130. package/lib/esm/types/src/purchases_orders.scailo_connect.d.ts.map +1 -1
  131. package/lib/esm/types/src/purchases_orders.scailo_pb.d.ts +104 -0
  132. package/lib/esm/types/src/purchases_orders.scailo_pb.d.ts.map +1 -1
  133. package/lib/esm/types/src/sales_invoices.scailo_connect.d.ts +12 -1
  134. package/lib/esm/types/src/sales_invoices.scailo_connect.d.ts.map +1 -1
  135. package/lib/esm/types/src/sales_invoices.scailo_pb.d.ts +104 -0
  136. package/lib/esm/types/src/sales_invoices.scailo_pb.d.ts.map +1 -1
  137. package/lib/esm/types/src/sales_orders.scailo_connect.d.ts +12 -1
  138. package/lib/esm/types/src/sales_orders.scailo_connect.d.ts.map +1 -1
  139. package/lib/esm/types/src/sales_orders.scailo_pb.d.ts +116 -0
  140. package/lib/esm/types/src/sales_orders.scailo_pb.d.ts.map +1 -1
  141. package/lib/esm/types/src/sales_quotations.scailo_connect.d.ts +12 -1
  142. package/lib/esm/types/src/sales_quotations.scailo_connect.d.ts.map +1 -1
  143. package/lib/esm/types/src/sales_quotations.scailo_pb.d.ts +110 -0
  144. package/lib/esm/types/src/sales_quotations.scailo_pb.d.ts.map +1 -1
  145. package/lib/esm/types/src/vendor_invoices.scailo_connect.d.ts +12 -1
  146. package/lib/esm/types/src/vendor_invoices.scailo_connect.d.ts.map +1 -1
  147. package/lib/esm/types/src/vendor_invoices.scailo_pb.d.ts +98 -0
  148. package/lib/esm/types/src/vendor_invoices.scailo_pb.d.ts.map +1 -1
  149. package/package.json +2 -2
@@ -4,7 +4,7 @@
4
4
  /* eslint-disable */
5
5
  // @ts-nocheck
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.GoodsDispatchesServiceSearchAllReq = exports.GoodsDispatchesServiceCountReq = exports.GoodsDispatchesServiceFilterReq = exports.GoodsDispatchesServicePaginationResponse = exports.GoodsDispatchesServicePaginationReq = exports.GoodsDispatchesServiceAlreadyAddedQuantityForSourceRequest = exports.GoodsDispatchesServicePaginatedItemsResponse = exports.GoodsDispatchItemsSearchRequest = exports.GoodsDispatchItemProspectiveInfoRequest = exports.GoodsDispatchItemHistoryRequest = exports.GoodsDispatchesItemsList = exports.GoodsDispatchesList = exports.GoodsDispatchItem = exports.GoodsDispatchesServiceItemUpdateRequest = exports.GoodsDispatchesServiceItemCreateRequest = exports.GoodsDispatch = exports.GoodsDispatchAncillaryParameters = exports.GoodsDispatchesServiceAutofillRequest = exports.GoodsDispatchesServiceUpdateRequest = exports.GoodsDispatchesServiceCreateRequest = exports.GOODS_DISPATCH_BILLING_STATUS = exports.GOODS_DISPATCH_SORT_KEY = exports.GOODS_DISPATCH_ITEM_STATUS = exports.GOODS_DISPATCH_ITEM_SORT_KEY = exports.GOODS_DISPATCH_REF_FROM = void 0;
7
+ exports.GoodsDispatchesServiceSearchAllReq = exports.GoodsDispatchesServiceCountReq = exports.GoodsDispatchesServiceFilterReq = exports.GoodsDispatchesServicePaginationResponse = exports.GoodsDispatchesServicePaginationReq = exports.GoodsDispatchesServiceAlreadyAddedQuantityForSourceRequest = exports.GoodsDispatchesServicePaginatedItemsResponse = exports.GoodsDispatchItemsSearchRequest = exports.GoodsDispatchItemProspectiveInfoRequest = exports.GoodsDispatchItemHistoryRequest = exports.GoodsDispatchesItemsList = exports.GoodsDispatchesList = exports.GoodsDispatchItem = exports.GoodsDispatchesServiceItemUpdateRequest = exports.GoodsDispatchesServiceMultipleItemsCreateRequest = exports.GoodsDispatchesServiceMultipleItemsSingleton = exports.GoodsDispatchesServiceItemCreateRequest = exports.GoodsDispatch = exports.GoodsDispatchAncillaryParameters = exports.GoodsDispatchesServiceAutofillRequest = exports.GoodsDispatchesServiceUpdateRequest = exports.GoodsDispatchesServiceCreateRequest = exports.GOODS_DISPATCH_BILLING_STATUS = exports.GOODS_DISPATCH_SORT_KEY = exports.GOODS_DISPATCH_ITEM_STATUS = exports.GOODS_DISPATCH_ITEM_SORT_KEY = exports.GOODS_DISPATCH_REF_FROM = void 0;
8
8
  const protobuf_1 = require("@bufbuild/protobuf");
9
9
  const forms_fields_data_scailo_pb_js_1 = require("./forms_fields_data.scailo_pb.js");
10
10
  const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
@@ -725,6 +725,127 @@ class GoodsDispatchesServiceItemCreateRequest extends protobuf_1.Message {
725
725
  }
726
726
  }
727
727
  exports.GoodsDispatchesServiceItemCreateRequest = GoodsDispatchesServiceItemCreateRequest;
728
+ /**
729
+ *
730
+ * Describes the parameters required to add an individual item as part of multiple item addition to a goods dispatch
731
+ *
732
+ * @generated from message Scailo.GoodsDispatchesServiceMultipleItemsSingleton
733
+ */
734
+ class GoodsDispatchesServiceMultipleItemsSingleton extends protobuf_1.Message {
735
+ /**
736
+ * Stores the family ID
737
+ *
738
+ * @generated from field: uint64 family_id = 11;
739
+ */
740
+ familyId = protobuf_1.protoInt64.zero;
741
+ /**
742
+ * Stores the item hash to be dispatched
743
+ *
744
+ * @generated from field: string item_hash = 12;
745
+ */
746
+ itemHash = "";
747
+ /**
748
+ * The quantity (in cents) being dispatched in internal unit of material
749
+ *
750
+ * @generated from field: uint64 internal_quantity = 13;
751
+ */
752
+ internalQuantity = protobuf_1.protoInt64.zero;
753
+ /**
754
+ * Stores the ID of the client's unit of material
755
+ *
756
+ * @generated from field: uint64 client_uom_id = 14;
757
+ */
758
+ clientUomId = protobuf_1.protoInt64.zero;
759
+ /**
760
+ * Stores the quantity (in cents) being dispatched in client's unit of material
761
+ *
762
+ * @generated from field: uint64 client_quantity = 15;
763
+ */
764
+ clientQuantity = protobuf_1.protoInt64.zero;
765
+ /**
766
+ * Stores the family code as defined by the client
767
+ *
768
+ * @generated from field: string client_family_code = 16;
769
+ */
770
+ clientFamilyCode = "";
771
+ constructor(data) {
772
+ super();
773
+ protobuf_1.proto3.util.initPartial(data, this);
774
+ }
775
+ static runtime = protobuf_1.proto3;
776
+ static typeName = "Scailo.GoodsDispatchesServiceMultipleItemsSingleton";
777
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
778
+ { no: 11, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
779
+ { no: 12, name: "item_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
780
+ { no: 13, name: "internal_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
781
+ { no: 14, name: "client_uom_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
782
+ { no: 15, name: "client_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
783
+ { no: 16, name: "client_family_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
784
+ ]);
785
+ static fromBinary(bytes, options) {
786
+ return new GoodsDispatchesServiceMultipleItemsSingleton().fromBinary(bytes, options);
787
+ }
788
+ static fromJson(jsonValue, options) {
789
+ return new GoodsDispatchesServiceMultipleItemsSingleton().fromJson(jsonValue, options);
790
+ }
791
+ static fromJsonString(jsonString, options) {
792
+ return new GoodsDispatchesServiceMultipleItemsSingleton().fromJsonString(jsonString, options);
793
+ }
794
+ static equals(a, b) {
795
+ return protobuf_1.proto3.util.equals(GoodsDispatchesServiceMultipleItemsSingleton, a, b);
796
+ }
797
+ }
798
+ exports.GoodsDispatchesServiceMultipleItemsSingleton = GoodsDispatchesServiceMultipleItemsSingleton;
799
+ /**
800
+ *
801
+ * Describes the parameters required to add multiple items to a goods dispatch
802
+ *
803
+ * @generated from message Scailo.GoodsDispatchesServiceMultipleItemsCreateRequest
804
+ */
805
+ class GoodsDispatchesServiceMultipleItemsCreateRequest extends protobuf_1.Message {
806
+ /**
807
+ * Stores any comment that the user might add during this operation
808
+ *
809
+ * @generated from field: string user_comment = 1;
810
+ */
811
+ userComment = "";
812
+ /**
813
+ * Stores the goods dispatch ID
814
+ *
815
+ * @generated from field: uint64 goods_dispatch_id = 10;
816
+ */
817
+ goodsDispatchId = protobuf_1.protoInt64.zero;
818
+ /**
819
+ * List of items
820
+ *
821
+ * @generated from field: repeated Scailo.GoodsDispatchesServiceMultipleItemsSingleton list = 11;
822
+ */
823
+ list = [];
824
+ constructor(data) {
825
+ super();
826
+ protobuf_1.proto3.util.initPartial(data, this);
827
+ }
828
+ static runtime = protobuf_1.proto3;
829
+ static typeName = "Scailo.GoodsDispatchesServiceMultipleItemsCreateRequest";
830
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
831
+ { no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
832
+ { no: 10, name: "goods_dispatch_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
833
+ { no: 11, name: "list", kind: "message", T: GoodsDispatchesServiceMultipleItemsSingleton, repeated: true },
834
+ ]);
835
+ static fromBinary(bytes, options) {
836
+ return new GoodsDispatchesServiceMultipleItemsCreateRequest().fromBinary(bytes, options);
837
+ }
838
+ static fromJson(jsonValue, options) {
839
+ return new GoodsDispatchesServiceMultipleItemsCreateRequest().fromJson(jsonValue, options);
840
+ }
841
+ static fromJsonString(jsonString, options) {
842
+ return new GoodsDispatchesServiceMultipleItemsCreateRequest().fromJsonString(jsonString, options);
843
+ }
844
+ static equals(a, b) {
845
+ return protobuf_1.proto3.util.equals(GoodsDispatchesServiceMultipleItemsCreateRequest, a, b);
846
+ }
847
+ }
848
+ exports.GoodsDispatchesServiceMultipleItemsCreateRequest = GoodsDispatchesServiceMultipleItemsCreateRequest;
728
849
  /**
729
850
  *
730
851
  * Describes the parameters required to update an item in a goods dispatch
@@ -228,6 +228,17 @@ exports.GoodsReceiptsService = {
228
228
  O: magic_links_scailo_pb_js_1.MagicLink,
229
229
  kind: protobuf_1.MethodKind.Unary,
230
230
  },
231
+ /**
232
+ * Add multiple items to a goods receipt
233
+ *
234
+ * @generated from rpc Scailo.GoodsReceiptsService.AddMultipleGoodsReceiptItems
235
+ */
236
+ addMultipleGoodsReceiptItems: {
237
+ name: "AddMultipleGoodsReceiptItems",
238
+ I: goods_receipts_scailo_pb_js_1.GoodsReceiptsServiceMultipleItemsCreateRequest,
239
+ O: base_scailo_pb_js_1.IdentifierResponse,
240
+ kind: protobuf_1.MethodKind.Unary,
241
+ },
231
242
  /**
232
243
  * Add an item to a goods receipt
233
244
  *
@@ -4,7 +4,7 @@
4
4
  /* eslint-disable */
5
5
  // @ts-nocheck
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.GoodsReceiptsServiceSearchAllReq = exports.GoodsReceiptsServiceCountReq = exports.GoodsReceiptsServiceFilterReq = exports.GoodsReceiptsServicePaginationResponse = exports.GoodsReceiptsServicePaginationReq = exports.GoodsReceiptsServiceAlreadyAddedQuantityForSourceRequest = exports.GoodsReceiptsServicePaginatedItemsResponse = exports.GoodsReceiptItemsSearchRequest = exports.GoodsReceiptItemProspectiveInfoRequest = exports.GoodsReceiptItemHistoryRequest = exports.GoodsReceiptsItemsList = exports.GoodsReceiptsList = exports.GoodsReceiptItem = exports.GoodsReceiptsServiceItemUpdateRequest = exports.GoodsReceiptsServiceItemCreateRequest = exports.GoodsReceipt = exports.GoodsReceiptAncillaryParameters = exports.GoodsReceiptsServiceAutofillRequest = exports.GoodsReceiptsServiceUpdateRequest = exports.GoodsReceiptsServiceCreateRequest = exports.GOODS_RECEIPT_BILLING_STATUS = exports.GOODS_RECEIPT_SORT_KEY = exports.GOODS_RECEIPT_ITEM_STATUS = exports.GOODS_RECEIPT_ITEM_SORT_KEY = exports.GOODS_RECEIPT_REF_FROM = void 0;
7
+ exports.GoodsReceiptsServiceSearchAllReq = exports.GoodsReceiptsServiceCountReq = exports.GoodsReceiptsServiceFilterReq = exports.GoodsReceiptsServicePaginationResponse = exports.GoodsReceiptsServicePaginationReq = exports.GoodsReceiptsServiceAlreadyAddedQuantityForSourceRequest = exports.GoodsReceiptsServicePaginatedItemsResponse = exports.GoodsReceiptItemsSearchRequest = exports.GoodsReceiptItemProspectiveInfoRequest = exports.GoodsReceiptItemHistoryRequest = exports.GoodsReceiptsItemsList = exports.GoodsReceiptsList = exports.GoodsReceiptItem = exports.GoodsReceiptsServiceItemUpdateRequest = exports.GoodsReceiptsServiceMultipleItemsCreateRequest = exports.GoodsReceiptsServiceMultipleItemsSingleton = exports.GoodsReceiptsServiceItemCreateRequest = exports.GoodsReceipt = exports.GoodsReceiptAncillaryParameters = exports.GoodsReceiptsServiceAutofillRequest = exports.GoodsReceiptsServiceUpdateRequest = exports.GoodsReceiptsServiceCreateRequest = exports.GOODS_RECEIPT_BILLING_STATUS = exports.GOODS_RECEIPT_SORT_KEY = exports.GOODS_RECEIPT_ITEM_STATUS = exports.GOODS_RECEIPT_ITEM_SORT_KEY = exports.GOODS_RECEIPT_REF_FROM = void 0;
8
8
  const protobuf_1 = require("@bufbuild/protobuf");
9
9
  const forms_fields_data_scailo_pb_js_1 = require("./forms_fields_data.scailo_pb.js");
10
10
  const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
@@ -732,6 +732,113 @@ class GoodsReceiptsServiceItemCreateRequest extends protobuf_1.Message {
732
732
  }
733
733
  }
734
734
  exports.GoodsReceiptsServiceItemCreateRequest = GoodsReceiptsServiceItemCreateRequest;
735
+ /**
736
+ *
737
+ * Describes the parameters required to add an individual item as part of multiple item addition to a goods receipt
738
+ *
739
+ * @generated from message Scailo.GoodsReceiptsServiceMultipleItemsSingleton
740
+ */
741
+ class GoodsReceiptsServiceMultipleItemsSingleton extends protobuf_1.Message {
742
+ /**
743
+ * Stores the family ID
744
+ *
745
+ * @generated from field: uint64 family_id = 11;
746
+ */
747
+ familyId = protobuf_1.protoInt64.zero;
748
+ /**
749
+ * The quantity (in cents) being admitted in internal unit of material
750
+ *
751
+ * @generated from field: uint64 internal_quantity = 12;
752
+ */
753
+ internalQuantity = protobuf_1.protoInt64.zero;
754
+ /**
755
+ * Stores the ID of the vendor's unit of material
756
+ *
757
+ * @generated from field: uint64 vendor_uom_id = 13;
758
+ */
759
+ vendorUomId = protobuf_1.protoInt64.zero;
760
+ /**
761
+ * Stores the quantity (in cents) being admitted in vendor's unit of material
762
+ *
763
+ * @generated from field: uint64 vendor_quantity = 14;
764
+ */
765
+ vendorQuantity = protobuf_1.protoInt64.zero;
766
+ constructor(data) {
767
+ super();
768
+ protobuf_1.proto3.util.initPartial(data, this);
769
+ }
770
+ static runtime = protobuf_1.proto3;
771
+ static typeName = "Scailo.GoodsReceiptsServiceMultipleItemsSingleton";
772
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
773
+ { no: 11, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
774
+ { no: 12, name: "internal_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
775
+ { no: 13, name: "vendor_uom_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
776
+ { no: 14, name: "vendor_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
777
+ ]);
778
+ static fromBinary(bytes, options) {
779
+ return new GoodsReceiptsServiceMultipleItemsSingleton().fromBinary(bytes, options);
780
+ }
781
+ static fromJson(jsonValue, options) {
782
+ return new GoodsReceiptsServiceMultipleItemsSingleton().fromJson(jsonValue, options);
783
+ }
784
+ static fromJsonString(jsonString, options) {
785
+ return new GoodsReceiptsServiceMultipleItemsSingleton().fromJsonString(jsonString, options);
786
+ }
787
+ static equals(a, b) {
788
+ return protobuf_1.proto3.util.equals(GoodsReceiptsServiceMultipleItemsSingleton, a, b);
789
+ }
790
+ }
791
+ exports.GoodsReceiptsServiceMultipleItemsSingleton = GoodsReceiptsServiceMultipleItemsSingleton;
792
+ /**
793
+ *
794
+ * Describes the parameters required to add multiple items to a goods receipt
795
+ *
796
+ * @generated from message Scailo.GoodsReceiptsServiceMultipleItemsCreateRequest
797
+ */
798
+ class GoodsReceiptsServiceMultipleItemsCreateRequest extends protobuf_1.Message {
799
+ /**
800
+ * Stores any comment that the user might add during this operation
801
+ *
802
+ * @generated from field: string user_comment = 1;
803
+ */
804
+ userComment = "";
805
+ /**
806
+ * Stores the goods receipt ID
807
+ *
808
+ * @generated from field: uint64 goods_receipt_id = 10;
809
+ */
810
+ goodsReceiptId = protobuf_1.protoInt64.zero;
811
+ /**
812
+ * List of items
813
+ *
814
+ * @generated from field: repeated Scailo.GoodsReceiptsServiceMultipleItemsSingleton list = 11;
815
+ */
816
+ list = [];
817
+ constructor(data) {
818
+ super();
819
+ protobuf_1.proto3.util.initPartial(data, this);
820
+ }
821
+ static runtime = protobuf_1.proto3;
822
+ static typeName = "Scailo.GoodsReceiptsServiceMultipleItemsCreateRequest";
823
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
824
+ { no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
825
+ { no: 10, name: "goods_receipt_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
826
+ { no: 11, name: "list", kind: "message", T: GoodsReceiptsServiceMultipleItemsSingleton, repeated: true },
827
+ ]);
828
+ static fromBinary(bytes, options) {
829
+ return new GoodsReceiptsServiceMultipleItemsCreateRequest().fromBinary(bytes, options);
830
+ }
831
+ static fromJson(jsonValue, options) {
832
+ return new GoodsReceiptsServiceMultipleItemsCreateRequest().fromJson(jsonValue, options);
833
+ }
834
+ static fromJsonString(jsonString, options) {
835
+ return new GoodsReceiptsServiceMultipleItemsCreateRequest().fromJsonString(jsonString, options);
836
+ }
837
+ static equals(a, b) {
838
+ return protobuf_1.proto3.util.equals(GoodsReceiptsServiceMultipleItemsCreateRequest, a, b);
839
+ }
840
+ }
841
+ exports.GoodsReceiptsServiceMultipleItemsCreateRequest = GoodsReceiptsServiceMultipleItemsCreateRequest;
735
842
  /**
736
843
  *
737
844
  * Describes the parameters required to update an item in a goods receipt
@@ -946,7 +946,7 @@ class InfrastructuresServiceFilterReq extends protobuf_1.Message {
946
946
  */
947
947
  code = "";
948
948
  /**
949
- * Stores the internal code (as given by user)
949
+ * Filter by the exact internal code
950
950
  *
951
951
  * @generated from field: string internal_item_code = 35;
952
952
  */
@@ -1198,7 +1198,7 @@ class InfrastructuresServiceCountReq extends protobuf_1.Message {
1198
1198
  */
1199
1199
  code = "";
1200
1200
  /**
1201
- * Stores the internal code (as given by user)
1201
+ * Filter by the exact internal code
1202
1202
  *
1203
1203
  * @generated from field: string internal_item_code = 35;
1204
1204
  */
@@ -1024,7 +1024,7 @@ class FilterReturnableInventoryReq extends protobuf_1.Message {
1024
1024
  */
1025
1025
  code = "";
1026
1026
  /**
1027
- * Stores the internal code (as given by user)
1027
+ * Filter by the exact internal code
1028
1028
  *
1029
1029
  * @generated from field: string internal_item_code = 35;
1030
1030
  */
@@ -946,7 +946,7 @@ class MerchandisesServiceFilterReq extends protobuf_1.Message {
946
946
  */
947
947
  code = "";
948
948
  /**
949
- * Stores the internal code (as given by user)
949
+ * Filter by the exact internal code
950
950
  *
951
951
  * @generated from field: string internal_item_code = 35;
952
952
  */
@@ -1198,7 +1198,7 @@ class MerchandisesServiceCountReq extends protobuf_1.Message {
1198
1198
  */
1199
1199
  code = "";
1200
1200
  /**
1201
- * Stores the internal code (as given by user)
1201
+ * Filter by the exact internal code
1202
1202
  *
1203
1203
  * @generated from field: string internal_item_code = 35;
1204
1204
  */
@@ -939,7 +939,7 @@ class ProductsServiceFilterReq extends protobuf_1.Message {
939
939
  */
940
940
  code = "";
941
941
  /**
942
- * Stores the internal code (as given by user)
942
+ * Filter by the exact internal code
943
943
  *
944
944
  * @generated from field: string internal_item_code = 35;
945
945
  */
@@ -1182,7 +1182,7 @@ class ProductsServiceCountReq extends protobuf_1.Message {
1182
1182
  */
1183
1183
  code = "";
1184
1184
  /**
1185
- * Stores the internal code (as given by user)
1185
+ * Filter by the exact internal code
1186
1186
  *
1187
1187
  * @generated from field: string internal_item_code = 35;
1188
1188
  */
@@ -228,6 +228,17 @@ exports.ProformaInvoicesService = {
228
228
  O: magic_links_scailo_pb_js_1.MagicLink,
229
229
  kind: protobuf_1.MethodKind.Unary,
230
230
  },
231
+ /**
232
+ * Add multiple items to a proforma invoice
233
+ *
234
+ * @generated from rpc Scailo.ProformaInvoicesService.AddMultipleProformaInvoiceItems
235
+ */
236
+ addMultipleProformaInvoiceItems: {
237
+ name: "AddMultipleProformaInvoiceItems",
238
+ I: proforma_invoices_scailo_pb_js_1.ProformaInvoicesServiceMultipleItemsCreateRequest,
239
+ O: base_scailo_pb_js_1.IdentifierResponse,
240
+ kind: protobuf_1.MethodKind.Unary,
241
+ },
231
242
  /**
232
243
  * Add an item to a proforma invoice
233
244
  *
@@ -4,7 +4,7 @@
4
4
  /* eslint-disable */
5
5
  // @ts-nocheck
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.ProformaInvoicesServicePaginatedItemsResponse = exports.ProformaInvoiceItemsSearchRequest = exports.ProformaInvoicesServiceSearchAllReq = exports.ProformaInvoicesServiceCountReq = exports.ProformaInvoicesServiceFilterReq = exports.ProformaInvoicesServicePaginationResponse = exports.ProformaInvoicesServicePaginationReq = exports.ProformaInvoicesServiceAlreadyAddedQuantityForSourceRequest = exports.ProformaInvoiceItemProspectiveInfoRequest = exports.ProformaInvoiceItemHistoryRequest = exports.ProformaInvoiceItemsList = exports.ProformaInvoicesList = exports.ProformaInvoiceItem = exports.ProformaInvoicesServiceItemUpdateRequest = exports.ProformaInvoicesServiceItemCreateRequest = exports.ProformaInvoice = exports.ProformaInvoiceAncillaryParameters = exports.ProformaInvoicesServiceAutofillRequest = exports.ProformaInvoicesServiceUpdateRequest = exports.ProformaInvoicesServiceCreateRequest = exports.PROFORMA_INVOICE_ITEM_STATUS = exports.PROFORMA_INVOICE_ITEM_SORT_KEY = exports.PROFORMA_INVOICE_BILLING_STATUS = exports.PROFORMA_INVOICE_SORT_KEY = exports.PROFORMA_INVOICE_REF_FROM = void 0;
7
+ exports.ProformaInvoicesServicePaginatedItemsResponse = exports.ProformaInvoiceItemsSearchRequest = exports.ProformaInvoicesServiceSearchAllReq = exports.ProformaInvoicesServiceCountReq = exports.ProformaInvoicesServiceFilterReq = exports.ProformaInvoicesServicePaginationResponse = exports.ProformaInvoicesServicePaginationReq = exports.ProformaInvoicesServiceAlreadyAddedQuantityForSourceRequest = exports.ProformaInvoiceItemProspectiveInfoRequest = exports.ProformaInvoiceItemHistoryRequest = exports.ProformaInvoiceItemsList = exports.ProformaInvoicesList = exports.ProformaInvoiceItem = exports.ProformaInvoicesServiceItemUpdateRequest = exports.ProformaInvoicesServiceMultipleItemsCreateRequest = exports.ProformaInvoicesServiceMultipleItemsSingleton = exports.ProformaInvoicesServiceItemCreateRequest = exports.ProformaInvoice = exports.ProformaInvoiceAncillaryParameters = exports.ProformaInvoicesServiceAutofillRequest = exports.ProformaInvoicesServiceUpdateRequest = exports.ProformaInvoicesServiceCreateRequest = exports.PROFORMA_INVOICE_ITEM_STATUS = exports.PROFORMA_INVOICE_ITEM_SORT_KEY = exports.PROFORMA_INVOICE_BILLING_STATUS = exports.PROFORMA_INVOICE_SORT_KEY = exports.PROFORMA_INVOICE_REF_FROM = void 0;
8
8
  const protobuf_1 = require("@bufbuild/protobuf");
9
9
  const forms_fields_data_scailo_pb_js_1 = require("./forms_fields_data.scailo_pb.js");
10
10
  const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
@@ -921,6 +921,148 @@ class ProformaInvoicesServiceItemCreateRequest extends protobuf_1.Message {
921
921
  }
922
922
  }
923
923
  exports.ProformaInvoicesServiceItemCreateRequest = ProformaInvoicesServiceItemCreateRequest;
924
+ /**
925
+ *
926
+ * Describes the parameters required to add an individual item as part of multiple item addition to a proforma invoice
927
+ *
928
+ * @generated from message Scailo.ProformaInvoicesServiceMultipleItemsSingleton
929
+ */
930
+ class ProformaInvoicesServiceMultipleItemsSingleton extends protobuf_1.Message {
931
+ /**
932
+ * Stores the family ID
933
+ *
934
+ * @generated from field: uint64 family_id = 11;
935
+ */
936
+ familyId = protobuf_1.protoInt64.zero;
937
+ /**
938
+ * The quantity (in cents) being supplied in internal unit of material
939
+ *
940
+ * @generated from field: uint64 internal_quantity = 12;
941
+ */
942
+ internalQuantity = protobuf_1.protoInt64.zero;
943
+ /**
944
+ * Stores the ID of the client's unit of material
945
+ *
946
+ * @generated from field: uint64 client_uom_id = 13;
947
+ */
948
+ clientUomId = protobuf_1.protoInt64.zero;
949
+ /**
950
+ * Stores the quantity (in cents) being admitted in client's unit of material
951
+ *
952
+ * @generated from field: uint64 client_quantity = 14;
953
+ */
954
+ clientQuantity = protobuf_1.protoInt64.zero;
955
+ /**
956
+ * The family code as represented by the client
957
+ *
958
+ * @generated from field: string client_family_code = 15;
959
+ */
960
+ clientFamilyCode = "";
961
+ /**
962
+ * The unit price of the item (as supplied to the client)
963
+ *
964
+ * @generated from field: uint64 unit_price = 16;
965
+ */
966
+ unitPrice = protobuf_1.protoInt64.zero;
967
+ /**
968
+ * The ID of the associated tax group
969
+ *
970
+ * @generated from field: uint64 tax_group_id = 17;
971
+ */
972
+ taxGroupId = protobuf_1.protoInt64.zero;
973
+ /**
974
+ * The applicable round off amount (optional, and can be positive or negative)
975
+ *
976
+ * @generated from field: int64 round_off = 18;
977
+ */
978
+ roundOff = protobuf_1.protoInt64.zero;
979
+ /**
980
+ * Optional specifications
981
+ *
982
+ * @generated from field: string specifications = 19;
983
+ */
984
+ specifications = "";
985
+ constructor(data) {
986
+ super();
987
+ protobuf_1.proto3.util.initPartial(data, this);
988
+ }
989
+ static runtime = protobuf_1.proto3;
990
+ static typeName = "Scailo.ProformaInvoicesServiceMultipleItemsSingleton";
991
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
992
+ { no: 11, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
993
+ { no: 12, name: "internal_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
994
+ { no: 13, name: "client_uom_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
995
+ { no: 14, name: "client_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
996
+ { no: 15, name: "client_family_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
997
+ { no: 16, name: "unit_price", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
998
+ { no: 17, name: "tax_group_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
999
+ { no: 18, name: "round_off", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1000
+ { no: 19, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1001
+ ]);
1002
+ static fromBinary(bytes, options) {
1003
+ return new ProformaInvoicesServiceMultipleItemsSingleton().fromBinary(bytes, options);
1004
+ }
1005
+ static fromJson(jsonValue, options) {
1006
+ return new ProformaInvoicesServiceMultipleItemsSingleton().fromJson(jsonValue, options);
1007
+ }
1008
+ static fromJsonString(jsonString, options) {
1009
+ return new ProformaInvoicesServiceMultipleItemsSingleton().fromJsonString(jsonString, options);
1010
+ }
1011
+ static equals(a, b) {
1012
+ return protobuf_1.proto3.util.equals(ProformaInvoicesServiceMultipleItemsSingleton, a, b);
1013
+ }
1014
+ }
1015
+ exports.ProformaInvoicesServiceMultipleItemsSingleton = ProformaInvoicesServiceMultipleItemsSingleton;
1016
+ /**
1017
+ *
1018
+ * Describes the parameters required to add multiple items to a proforma invoice
1019
+ *
1020
+ * @generated from message Scailo.ProformaInvoicesServiceMultipleItemsCreateRequest
1021
+ */
1022
+ class ProformaInvoicesServiceMultipleItemsCreateRequest extends protobuf_1.Message {
1023
+ /**
1024
+ * Stores any comment that the user might add during this operation
1025
+ *
1026
+ * @generated from field: string user_comment = 1;
1027
+ */
1028
+ userComment = "";
1029
+ /**
1030
+ * Stores the proforma invoice ID
1031
+ *
1032
+ * @generated from field: uint64 proforma_invoice_id = 10;
1033
+ */
1034
+ proformaInvoiceId = protobuf_1.protoInt64.zero;
1035
+ /**
1036
+ * List of items
1037
+ *
1038
+ * @generated from field: repeated Scailo.ProformaInvoicesServiceMultipleItemsSingleton list = 11;
1039
+ */
1040
+ list = [];
1041
+ constructor(data) {
1042
+ super();
1043
+ protobuf_1.proto3.util.initPartial(data, this);
1044
+ }
1045
+ static runtime = protobuf_1.proto3;
1046
+ static typeName = "Scailo.ProformaInvoicesServiceMultipleItemsCreateRequest";
1047
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1048
+ { no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1049
+ { no: 10, name: "proforma_invoice_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1050
+ { no: 11, name: "list", kind: "message", T: ProformaInvoicesServiceMultipleItemsSingleton, repeated: true },
1051
+ ]);
1052
+ static fromBinary(bytes, options) {
1053
+ return new ProformaInvoicesServiceMultipleItemsCreateRequest().fromBinary(bytes, options);
1054
+ }
1055
+ static fromJson(jsonValue, options) {
1056
+ return new ProformaInvoicesServiceMultipleItemsCreateRequest().fromJson(jsonValue, options);
1057
+ }
1058
+ static fromJsonString(jsonString, options) {
1059
+ return new ProformaInvoicesServiceMultipleItemsCreateRequest().fromJsonString(jsonString, options);
1060
+ }
1061
+ static equals(a, b) {
1062
+ return protobuf_1.proto3.util.equals(ProformaInvoicesServiceMultipleItemsCreateRequest, a, b);
1063
+ }
1064
+ }
1065
+ exports.ProformaInvoicesServiceMultipleItemsCreateRequest = ProformaInvoicesServiceMultipleItemsCreateRequest;
924
1066
  /**
925
1067
  *
926
1068
  * Describes the parameters required to update an item in a proforma invoice
@@ -228,6 +228,17 @@ exports.PurchasesOrdersService = {
228
228
  O: magic_links_scailo_pb_js_1.MagicLink,
229
229
  kind: protobuf_1.MethodKind.Unary,
230
230
  },
231
+ /**
232
+ * Add multiple items to a purchase order
233
+ *
234
+ * @generated from rpc Scailo.PurchasesOrdersService.AddMultiplePurchaseOrderItems
235
+ */
236
+ addMultiplePurchaseOrderItems: {
237
+ name: "AddMultiplePurchaseOrderItems",
238
+ I: purchases_orders_scailo_pb_js_1.PurchasesOrdersServiceMultipleItemsCreateRequest,
239
+ O: base_scailo_pb_js_1.IdentifierResponse,
240
+ kind: protobuf_1.MethodKind.Unary,
241
+ },
231
242
  /**
232
243
  * Add an item to a purchase order
233
244
  *