@kernelminds/scailo-sdk 0.0.116 → 0.1.0

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 (156) hide show
  1. package/README.md +4 -4
  2. package/lib/cjs/index.js +321 -321
  3. package/lib/cjs/src/components.scailo_pb.js +2 -2
  4. package/lib/cjs/src/credit_notes.scailo_connect.js +11 -0
  5. package/lib/cjs/src/credit_notes.scailo_pb.js +143 -1
  6. package/lib/cjs/src/debit_notes.scailo_connect.js +11 -0
  7. package/lib/cjs/src/debit_notes.scailo_pb.js +136 -1
  8. package/lib/cjs/src/equipments.scailo_pb.js +2 -2
  9. package/lib/cjs/src/feedstocks.scailo_pb.js +2 -2
  10. package/lib/cjs/src/goods_dispatches.scailo_connect.js +11 -0
  11. package/lib/cjs/src/goods_dispatches.scailo_pb.js +122 -1
  12. package/lib/cjs/src/goods_receipts.scailo_connect.js +11 -0
  13. package/lib/cjs/src/goods_receipts.scailo_pb.js +108 -1
  14. package/lib/cjs/src/infrastructures.scailo_pb.js +2 -2
  15. package/lib/cjs/src/inventory.scailo_pb.js +1 -1
  16. package/lib/cjs/src/merchandises.scailo_pb.js +2 -2
  17. package/lib/cjs/src/products.scailo_pb.js +2 -2
  18. package/lib/cjs/src/proforma_invoices.scailo_connect.js +11 -0
  19. package/lib/cjs/src/proforma_invoices.scailo_pb.js +143 -1
  20. package/lib/cjs/src/purchases_orders.scailo_connect.js +11 -0
  21. package/lib/cjs/src/purchases_orders.scailo_pb.js +143 -1
  22. package/lib/cjs/src/sales_invoices.scailo_connect.js +11 -0
  23. package/lib/cjs/src/sales_invoices.scailo_pb.js +143 -1
  24. package/lib/cjs/src/sales_orders.scailo_connect.js +11 -0
  25. package/lib/cjs/src/sales_orders.scailo_pb.js +157 -1
  26. package/lib/cjs/src/sales_quotations.scailo_connect.js +11 -0
  27. package/lib/cjs/src/sales_quotations.scailo_pb.js +150 -1
  28. package/lib/cjs/src/vendor_invoices.scailo_connect.js +11 -0
  29. package/lib/cjs/src/vendor_invoices.scailo_pb.js +136 -1
  30. package/lib/cjs/types/index.d.ts +108 -108
  31. package/lib/cjs/types/index.d.ts.map +1 -1
  32. package/lib/cjs/types/src/components.scailo_pb.d.ts +2 -2
  33. package/lib/cjs/types/src/credit_notes.scailo_connect.d.ts +12 -1
  34. package/lib/cjs/types/src/credit_notes.scailo_connect.d.ts.map +1 -1
  35. package/lib/cjs/types/src/credit_notes.scailo_pb.d.ts +104 -0
  36. package/lib/cjs/types/src/credit_notes.scailo_pb.d.ts.map +1 -1
  37. package/lib/cjs/types/src/debit_notes.scailo_connect.d.ts +12 -1
  38. package/lib/cjs/types/src/debit_notes.scailo_connect.d.ts.map +1 -1
  39. package/lib/cjs/types/src/debit_notes.scailo_pb.d.ts +98 -0
  40. package/lib/cjs/types/src/debit_notes.scailo_pb.d.ts.map +1 -1
  41. package/lib/cjs/types/src/equipments.scailo_pb.d.ts +2 -2
  42. package/lib/cjs/types/src/feedstocks.scailo_pb.d.ts +2 -2
  43. package/lib/cjs/types/src/goods_dispatches.scailo_connect.d.ts +12 -1
  44. package/lib/cjs/types/src/goods_dispatches.scailo_connect.d.ts.map +1 -1
  45. package/lib/cjs/types/src/goods_dispatches.scailo_pb.d.ts +86 -0
  46. package/lib/cjs/types/src/goods_dispatches.scailo_pb.d.ts.map +1 -1
  47. package/lib/cjs/types/src/goods_receipts.scailo_connect.d.ts +12 -1
  48. package/lib/cjs/types/src/goods_receipts.scailo_connect.d.ts.map +1 -1
  49. package/lib/cjs/types/src/goods_receipts.scailo_pb.d.ts +74 -0
  50. package/lib/cjs/types/src/goods_receipts.scailo_pb.d.ts.map +1 -1
  51. package/lib/cjs/types/src/infrastructures.scailo_pb.d.ts +2 -2
  52. package/lib/cjs/types/src/inventory.scailo_pb.d.ts +1 -1
  53. package/lib/cjs/types/src/merchandises.scailo_pb.d.ts +2 -2
  54. package/lib/cjs/types/src/products.scailo_pb.d.ts +2 -2
  55. package/lib/cjs/types/src/proforma_invoices.scailo_connect.d.ts +12 -1
  56. package/lib/cjs/types/src/proforma_invoices.scailo_connect.d.ts.map +1 -1
  57. package/lib/cjs/types/src/proforma_invoices.scailo_pb.d.ts +104 -0
  58. package/lib/cjs/types/src/proforma_invoices.scailo_pb.d.ts.map +1 -1
  59. package/lib/cjs/types/src/purchases_orders.scailo_connect.d.ts +12 -1
  60. package/lib/cjs/types/src/purchases_orders.scailo_connect.d.ts.map +1 -1
  61. package/lib/cjs/types/src/purchases_orders.scailo_pb.d.ts +104 -0
  62. package/lib/cjs/types/src/purchases_orders.scailo_pb.d.ts.map +1 -1
  63. package/lib/cjs/types/src/sales_invoices.scailo_connect.d.ts +12 -1
  64. package/lib/cjs/types/src/sales_invoices.scailo_connect.d.ts.map +1 -1
  65. package/lib/cjs/types/src/sales_invoices.scailo_pb.d.ts +104 -0
  66. package/lib/cjs/types/src/sales_invoices.scailo_pb.d.ts.map +1 -1
  67. package/lib/cjs/types/src/sales_orders.scailo_connect.d.ts +12 -1
  68. package/lib/cjs/types/src/sales_orders.scailo_connect.d.ts.map +1 -1
  69. package/lib/cjs/types/src/sales_orders.scailo_pb.d.ts +116 -0
  70. package/lib/cjs/types/src/sales_orders.scailo_pb.d.ts.map +1 -1
  71. package/lib/cjs/types/src/sales_quotations.scailo_connect.d.ts +12 -1
  72. package/lib/cjs/types/src/sales_quotations.scailo_connect.d.ts.map +1 -1
  73. package/lib/cjs/types/src/sales_quotations.scailo_pb.d.ts +110 -0
  74. package/lib/cjs/types/src/sales_quotations.scailo_pb.d.ts.map +1 -1
  75. package/lib/cjs/types/src/vendor_invoices.scailo_connect.d.ts +12 -1
  76. package/lib/cjs/types/src/vendor_invoices.scailo_connect.d.ts.map +1 -1
  77. package/lib/cjs/types/src/vendor_invoices.scailo_pb.d.ts +98 -0
  78. package/lib/cjs/types/src/vendor_invoices.scailo_pb.d.ts.map +1 -1
  79. package/lib/esm/index.js +321 -321
  80. package/lib/esm/src/components.scailo_pb.js +2 -2
  81. package/lib/esm/src/credit_notes.scailo_connect.js +11 -0
  82. package/lib/esm/src/credit_notes.scailo_pb.js +143 -1
  83. package/lib/esm/src/debit_notes.scailo_connect.js +11 -0
  84. package/lib/esm/src/debit_notes.scailo_pb.js +136 -1
  85. package/lib/esm/src/equipments.scailo_pb.js +2 -2
  86. package/lib/esm/src/feedstocks.scailo_pb.js +2 -2
  87. package/lib/esm/src/goods_dispatches.scailo_connect.js +11 -0
  88. package/lib/esm/src/goods_dispatches.scailo_pb.js +122 -1
  89. package/lib/esm/src/goods_receipts.scailo_connect.js +11 -0
  90. package/lib/esm/src/goods_receipts.scailo_pb.js +108 -1
  91. package/lib/esm/src/infrastructures.scailo_pb.js +2 -2
  92. package/lib/esm/src/inventory.scailo_pb.js +1 -1
  93. package/lib/esm/src/merchandises.scailo_pb.js +2 -2
  94. package/lib/esm/src/products.scailo_pb.js +2 -2
  95. package/lib/esm/src/proforma_invoices.scailo_connect.js +11 -0
  96. package/lib/esm/src/proforma_invoices.scailo_pb.js +143 -1
  97. package/lib/esm/src/purchases_orders.scailo_connect.js +11 -0
  98. package/lib/esm/src/purchases_orders.scailo_pb.js +143 -1
  99. package/lib/esm/src/sales_invoices.scailo_connect.js +11 -0
  100. package/lib/esm/src/sales_invoices.scailo_pb.js +143 -1
  101. package/lib/esm/src/sales_orders.scailo_connect.js +11 -0
  102. package/lib/esm/src/sales_orders.scailo_pb.js +157 -1
  103. package/lib/esm/src/sales_quotations.scailo_connect.js +11 -0
  104. package/lib/esm/src/sales_quotations.scailo_pb.js +150 -1
  105. package/lib/esm/src/vendor_invoices.scailo_connect.js +11 -0
  106. package/lib/esm/src/vendor_invoices.scailo_pb.js +136 -1
  107. package/lib/esm/types/index.d.ts +108 -108
  108. package/lib/esm/types/index.d.ts.map +1 -1
  109. package/lib/esm/types/src/components.scailo_pb.d.ts +2 -2
  110. package/lib/esm/types/src/credit_notes.scailo_connect.d.ts +12 -1
  111. package/lib/esm/types/src/credit_notes.scailo_connect.d.ts.map +1 -1
  112. package/lib/esm/types/src/credit_notes.scailo_pb.d.ts +104 -0
  113. package/lib/esm/types/src/credit_notes.scailo_pb.d.ts.map +1 -1
  114. package/lib/esm/types/src/debit_notes.scailo_connect.d.ts +12 -1
  115. package/lib/esm/types/src/debit_notes.scailo_connect.d.ts.map +1 -1
  116. package/lib/esm/types/src/debit_notes.scailo_pb.d.ts +98 -0
  117. package/lib/esm/types/src/debit_notes.scailo_pb.d.ts.map +1 -1
  118. package/lib/esm/types/src/equipments.scailo_pb.d.ts +2 -2
  119. package/lib/esm/types/src/feedstocks.scailo_pb.d.ts +2 -2
  120. package/lib/esm/types/src/goods_dispatches.scailo_connect.d.ts +12 -1
  121. package/lib/esm/types/src/goods_dispatches.scailo_connect.d.ts.map +1 -1
  122. package/lib/esm/types/src/goods_dispatches.scailo_pb.d.ts +86 -0
  123. package/lib/esm/types/src/goods_dispatches.scailo_pb.d.ts.map +1 -1
  124. package/lib/esm/types/src/goods_receipts.scailo_connect.d.ts +12 -1
  125. package/lib/esm/types/src/goods_receipts.scailo_connect.d.ts.map +1 -1
  126. package/lib/esm/types/src/goods_receipts.scailo_pb.d.ts +74 -0
  127. package/lib/esm/types/src/goods_receipts.scailo_pb.d.ts.map +1 -1
  128. package/lib/esm/types/src/infrastructures.scailo_pb.d.ts +2 -2
  129. package/lib/esm/types/src/inventory.scailo_pb.d.ts +1 -1
  130. package/lib/esm/types/src/merchandises.scailo_pb.d.ts +2 -2
  131. package/lib/esm/types/src/products.scailo_pb.d.ts +2 -2
  132. package/lib/esm/types/src/proforma_invoices.scailo_connect.d.ts +12 -1
  133. package/lib/esm/types/src/proforma_invoices.scailo_connect.d.ts.map +1 -1
  134. package/lib/esm/types/src/proforma_invoices.scailo_pb.d.ts +104 -0
  135. package/lib/esm/types/src/proforma_invoices.scailo_pb.d.ts.map +1 -1
  136. package/lib/esm/types/src/purchases_orders.scailo_connect.d.ts +12 -1
  137. package/lib/esm/types/src/purchases_orders.scailo_connect.d.ts.map +1 -1
  138. package/lib/esm/types/src/purchases_orders.scailo_pb.d.ts +104 -0
  139. package/lib/esm/types/src/purchases_orders.scailo_pb.d.ts.map +1 -1
  140. package/lib/esm/types/src/sales_invoices.scailo_connect.d.ts +12 -1
  141. package/lib/esm/types/src/sales_invoices.scailo_connect.d.ts.map +1 -1
  142. package/lib/esm/types/src/sales_invoices.scailo_pb.d.ts +104 -0
  143. package/lib/esm/types/src/sales_invoices.scailo_pb.d.ts.map +1 -1
  144. package/lib/esm/types/src/sales_orders.scailo_connect.d.ts +12 -1
  145. package/lib/esm/types/src/sales_orders.scailo_connect.d.ts.map +1 -1
  146. package/lib/esm/types/src/sales_orders.scailo_pb.d.ts +116 -0
  147. package/lib/esm/types/src/sales_orders.scailo_pb.d.ts.map +1 -1
  148. package/lib/esm/types/src/sales_quotations.scailo_connect.d.ts +12 -1
  149. package/lib/esm/types/src/sales_quotations.scailo_connect.d.ts.map +1 -1
  150. package/lib/esm/types/src/sales_quotations.scailo_pb.d.ts +110 -0
  151. package/lib/esm/types/src/sales_quotations.scailo_pb.d.ts.map +1 -1
  152. package/lib/esm/types/src/vendor_invoices.scailo_connect.d.ts +12 -1
  153. package/lib/esm/types/src/vendor_invoices.scailo_connect.d.ts.map +1 -1
  154. package/lib/esm/types/src/vendor_invoices.scailo_pb.d.ts +98 -0
  155. package/lib/esm/types/src/vendor_invoices.scailo_pb.d.ts.map +1 -1
  156. package/package.json +2 -1
@@ -956,7 +956,7 @@ class ComponentsServiceFilterReq extends protobuf_1.Message {
956
956
  */
957
957
  this.code = "";
958
958
  /**
959
- * Stores the internal code (as given by user)
959
+ * Filter by the exact internal code
960
960
  *
961
961
  * @generated from field: string internal_item_code = 35;
962
962
  */
@@ -1208,7 +1208,7 @@ class ComponentsServiceCountReq extends protobuf_1.Message {
1208
1208
  */
1209
1209
  this.code = "";
1210
1210
  /**
1211
- * Stores the internal code (as given by user)
1211
+ * Filter by the exact internal code
1212
1212
  *
1213
1213
  * @generated from field: string internal_item_code = 35;
1214
1214
  */
@@ -217,6 +217,17 @@ exports.CreditNotesService = {
217
217
  O: magic_links_scailo_pb_js_1.MagicLink,
218
218
  kind: protobuf_1.MethodKind.Unary,
219
219
  },
220
+ /**
221
+ * Add multiple items to a credit note
222
+ *
223
+ * @generated from rpc Scailo.CreditNotesService.AddMultipleCreditNoteItems
224
+ */
225
+ addMultipleCreditNoteItems: {
226
+ name: "AddMultipleCreditNoteItems",
227
+ I: credit_notes_scailo_pb_js_1.CreditNotesServiceMultipleItemsCreateRequest,
228
+ O: base_scailo_pb_js_1.IdentifierResponse,
229
+ kind: protobuf_1.MethodKind.Unary,
230
+ },
220
231
  /**
221
232
  * Add an item to a credit note
222
233
  *
@@ -4,7 +4,7 @@
4
4
  /* eslint-disable */
5
5
  // @ts-nocheck
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.CreditNoteReturnStatisticsList = exports.CreditNoteReturnStatistics = exports.CreditNoteReferencesList = exports.CreditNoteReference = exports.CreditNotesServiceReferenceCreateRequest = exports.CreditNotesServiceSearchAllReq = exports.CreditNotesServiceCountReq = exports.CreditNotesServiceFilterReq = exports.CreditNotesServicePaginationResponse = exports.CreditNotesServicePaginationReq = exports.CreditNotesServicePaginatedItemsResponse = exports.CreditNoteItemsSearchRequest = exports.CreditNotesServiceAlreadyAddedQuantityForSourceRequest = exports.CreditNoteItemProspectiveInfoRequest = exports.CreditNoteItemHistoryRequest = exports.CreditNoteItemsList = exports.CreditNotesList = exports.CreditNoteItem = exports.CreditNotesServiceItemUpdateRequest = exports.CreditNotesServiceItemCreateRequest = exports.CreditNote = exports.CreditNoteAncillaryParameters = exports.CreditNotesServiceAutofillRequest = exports.CreditNotesServiceUpdateRequest = exports.CreditNotesServiceCreateRequest = exports.CREDIT_NOTE_SORT_KEY = exports.CREDIT_NOTE_ITEM_STATUS = exports.CREDIT_NOTE_ITEM_SORT_KEY = exports.CREDIT_NOTE_REF_FROM = void 0;
7
+ exports.CreditNoteReturnStatisticsList = exports.CreditNoteReturnStatistics = exports.CreditNoteReferencesList = exports.CreditNoteReference = exports.CreditNotesServiceReferenceCreateRequest = exports.CreditNotesServiceSearchAllReq = exports.CreditNotesServiceCountReq = exports.CreditNotesServiceFilterReq = exports.CreditNotesServicePaginationResponse = exports.CreditNotesServicePaginationReq = exports.CreditNotesServicePaginatedItemsResponse = exports.CreditNoteItemsSearchRequest = exports.CreditNotesServiceAlreadyAddedQuantityForSourceRequest = exports.CreditNoteItemProspectiveInfoRequest = exports.CreditNoteItemHistoryRequest = exports.CreditNoteItemsList = exports.CreditNotesList = exports.CreditNoteItem = exports.CreditNotesServiceItemUpdateRequest = exports.CreditNotesServiceMultipleItemsCreateRequest = exports.CreditNotesServiceMultipleItemsSingleton = exports.CreditNotesServiceItemCreateRequest = exports.CreditNote = exports.CreditNoteAncillaryParameters = exports.CreditNotesServiceAutofillRequest = exports.CreditNotesServiceUpdateRequest = exports.CreditNotesServiceCreateRequest = exports.CREDIT_NOTE_SORT_KEY = exports.CREDIT_NOTE_ITEM_STATUS = exports.CREDIT_NOTE_ITEM_SORT_KEY = exports.CREDIT_NOTE_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");
@@ -813,6 +813,148 @@ CreditNotesServiceItemCreateRequest.fields = protobuf_1.proto3.util.newFieldList
813
813
  { no: 18, name: "round_off", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
814
814
  { no: 19, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
815
815
  ]);
816
+ /**
817
+ *
818
+ * Describes the parameters required to add an individual item as part of multiple item addition to a credit note
819
+ *
820
+ * @generated from message Scailo.CreditNotesServiceMultipleItemsSingleton
821
+ */
822
+ class CreditNotesServiceMultipleItemsSingleton extends protobuf_1.Message {
823
+ constructor(data) {
824
+ super();
825
+ /**
826
+ * Stores the family ID
827
+ *
828
+ * @generated from field: uint64 family_id = 11;
829
+ */
830
+ this.familyId = protobuf_1.protoInt64.zero;
831
+ /**
832
+ * The quantity (in cents) being supplied in internal unit of material
833
+ *
834
+ * @generated from field: uint64 internal_quantity = 12;
835
+ */
836
+ this.internalQuantity = protobuf_1.protoInt64.zero;
837
+ /**
838
+ * Stores the ID of the client's unit of material
839
+ *
840
+ * @generated from field: uint64 client_uom_id = 13;
841
+ */
842
+ this.clientUomId = protobuf_1.protoInt64.zero;
843
+ /**
844
+ * Stores the quantity (in cents) being admitted in client's unit of material
845
+ *
846
+ * @generated from field: uint64 client_quantity = 14;
847
+ */
848
+ this.clientQuantity = protobuf_1.protoInt64.zero;
849
+ /**
850
+ * The family code as represented by the client
851
+ *
852
+ * @generated from field: string client_family_code = 15;
853
+ */
854
+ this.clientFamilyCode = "";
855
+ /**
856
+ * The unit price of the item (as supplied to the client)
857
+ *
858
+ * @generated from field: uint64 unit_price = 16;
859
+ */
860
+ this.unitPrice = protobuf_1.protoInt64.zero;
861
+ /**
862
+ * The ID of the associated tax group
863
+ *
864
+ * @generated from field: uint64 tax_group_id = 17;
865
+ */
866
+ this.taxGroupId = protobuf_1.protoInt64.zero;
867
+ /**
868
+ * The applicable round off amount (optional, and can be positive or negative)
869
+ *
870
+ * @generated from field: int64 round_off = 18;
871
+ */
872
+ this.roundOff = protobuf_1.protoInt64.zero;
873
+ /**
874
+ * Optional specifications
875
+ *
876
+ * @generated from field: string specifications = 19;
877
+ */
878
+ this.specifications = "";
879
+ protobuf_1.proto3.util.initPartial(data, this);
880
+ }
881
+ static fromBinary(bytes, options) {
882
+ return new CreditNotesServiceMultipleItemsSingleton().fromBinary(bytes, options);
883
+ }
884
+ static fromJson(jsonValue, options) {
885
+ return new CreditNotesServiceMultipleItemsSingleton().fromJson(jsonValue, options);
886
+ }
887
+ static fromJsonString(jsonString, options) {
888
+ return new CreditNotesServiceMultipleItemsSingleton().fromJsonString(jsonString, options);
889
+ }
890
+ static equals(a, b) {
891
+ return protobuf_1.proto3.util.equals(CreditNotesServiceMultipleItemsSingleton, a, b);
892
+ }
893
+ }
894
+ exports.CreditNotesServiceMultipleItemsSingleton = CreditNotesServiceMultipleItemsSingleton;
895
+ CreditNotesServiceMultipleItemsSingleton.runtime = protobuf_1.proto3;
896
+ CreditNotesServiceMultipleItemsSingleton.typeName = "Scailo.CreditNotesServiceMultipleItemsSingleton";
897
+ CreditNotesServiceMultipleItemsSingleton.fields = protobuf_1.proto3.util.newFieldList(() => [
898
+ { no: 11, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
899
+ { no: 12, name: "internal_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
900
+ { no: 13, name: "client_uom_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
901
+ { no: 14, name: "client_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
902
+ { no: 15, name: "client_family_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
903
+ { no: 16, name: "unit_price", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
904
+ { no: 17, name: "tax_group_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
905
+ { no: 18, name: "round_off", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
906
+ { no: 19, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
907
+ ]);
908
+ /**
909
+ *
910
+ * Describes the parameters required to add multiple items to a credit note
911
+ *
912
+ * @generated from message Scailo.CreditNotesServiceMultipleItemsCreateRequest
913
+ */
914
+ class CreditNotesServiceMultipleItemsCreateRequest extends protobuf_1.Message {
915
+ constructor(data) {
916
+ super();
917
+ /**
918
+ * Stores any comment that the user might add during this operation
919
+ *
920
+ * @generated from field: string user_comment = 1;
921
+ */
922
+ this.userComment = "";
923
+ /**
924
+ * Stores the credit note ID
925
+ *
926
+ * @generated from field: uint64 credit_note_id = 10;
927
+ */
928
+ this.creditNoteId = protobuf_1.protoInt64.zero;
929
+ /**
930
+ * List of items
931
+ *
932
+ * @generated from field: repeated Scailo.CreditNotesServiceMultipleItemsSingleton list = 11;
933
+ */
934
+ this.list = [];
935
+ protobuf_1.proto3.util.initPartial(data, this);
936
+ }
937
+ static fromBinary(bytes, options) {
938
+ return new CreditNotesServiceMultipleItemsCreateRequest().fromBinary(bytes, options);
939
+ }
940
+ static fromJson(jsonValue, options) {
941
+ return new CreditNotesServiceMultipleItemsCreateRequest().fromJson(jsonValue, options);
942
+ }
943
+ static fromJsonString(jsonString, options) {
944
+ return new CreditNotesServiceMultipleItemsCreateRequest().fromJsonString(jsonString, options);
945
+ }
946
+ static equals(a, b) {
947
+ return protobuf_1.proto3.util.equals(CreditNotesServiceMultipleItemsCreateRequest, a, b);
948
+ }
949
+ }
950
+ exports.CreditNotesServiceMultipleItemsCreateRequest = CreditNotesServiceMultipleItemsCreateRequest;
951
+ CreditNotesServiceMultipleItemsCreateRequest.runtime = protobuf_1.proto3;
952
+ CreditNotesServiceMultipleItemsCreateRequest.typeName = "Scailo.CreditNotesServiceMultipleItemsCreateRequest";
953
+ CreditNotesServiceMultipleItemsCreateRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
954
+ { no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
955
+ { no: 10, name: "credit_note_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
956
+ { no: 11, name: "list", kind: "message", T: CreditNotesServiceMultipleItemsSingleton, repeated: true },
957
+ ]);
816
958
  /**
817
959
  *
818
960
  * Describes the parameters required to update an item in a credit note
@@ -217,6 +217,17 @@ exports.DebitNotesService = {
217
217
  O: magic_links_scailo_pb_js_1.MagicLink,
218
218
  kind: protobuf_1.MethodKind.Unary,
219
219
  },
220
+ /**
221
+ * Add multiple items to a debit note
222
+ *
223
+ * @generated from rpc Scailo.DebitNotesService.AddMultipleDebitNoteItems
224
+ */
225
+ addMultipleDebitNoteItems: {
226
+ name: "AddMultipleDebitNoteItems",
227
+ I: debit_notes_scailo_pb_js_1.DebitNotesServiceMultipleItemsCreateRequest,
228
+ O: base_scailo_pb_js_1.IdentifierResponse,
229
+ kind: protobuf_1.MethodKind.Unary,
230
+ },
220
231
  /**
221
232
  * Add an item to a debit note
222
233
  *
@@ -4,7 +4,7 @@
4
4
  /* eslint-disable */
5
5
  // @ts-nocheck
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.DebitNoteReturnStatisticsList = exports.DebitNoteReturnStatistics = exports.DebitNoteReferencesList = exports.DebitNoteReference = exports.DebitNotesServiceReferenceCreateRequest = exports.DebitNotesServiceSearchAllReq = exports.DebitNotesServiceCountReq = exports.DebitNotesServiceFilterReq = exports.DebitNotesServicePaginationResponse = exports.DebitNotesServicePaginationReq = exports.DebitNotesServicePaginatedItemsResponse = exports.DebitNoteItemsSearchRequest = exports.DebitNotesServiceAlreadyAddedQuantityForSourceRequest = exports.DebitNoteItemProspectiveInfoRequest = exports.DebitNoteItemHistoryRequest = exports.DebitNoteItemsList = exports.DebitNotesList = exports.DebitNoteItem = exports.DebitNotesServiceItemUpdateRequest = exports.DebitNotesServiceItemCreateRequest = exports.DebitNote = exports.DebitNoteAncillaryParameters = exports.DebitNotesServiceAutofillRequest = exports.DebitNotesServiceUpdateRequest = exports.DebitNotesServiceCreateRequest = exports.DEBIT_NOTE_SORT_KEY = exports.DEBIT_NOTE_ITEM_STATUS = exports.DEBIT_NOTE_ITEM_SORT_KEY = exports.DEBIT_NOTE_REF_FROM = void 0;
7
+ exports.DebitNoteReturnStatisticsList = exports.DebitNoteReturnStatistics = exports.DebitNoteReferencesList = exports.DebitNoteReference = exports.DebitNotesServiceReferenceCreateRequest = exports.DebitNotesServiceSearchAllReq = exports.DebitNotesServiceCountReq = exports.DebitNotesServiceFilterReq = exports.DebitNotesServicePaginationResponse = exports.DebitNotesServicePaginationReq = exports.DebitNotesServicePaginatedItemsResponse = exports.DebitNoteItemsSearchRequest = exports.DebitNotesServiceAlreadyAddedQuantityForSourceRequest = exports.DebitNoteItemProspectiveInfoRequest = exports.DebitNoteItemHistoryRequest = exports.DebitNoteItemsList = exports.DebitNotesList = exports.DebitNoteItem = exports.DebitNotesServiceItemUpdateRequest = exports.DebitNotesServiceMultipleItemsCreateRequest = exports.DebitNotesServiceMultipleItemsSingleton = exports.DebitNotesServiceItemCreateRequest = exports.DebitNote = exports.DebitNoteAncillaryParameters = exports.DebitNotesServiceAutofillRequest = exports.DebitNotesServiceUpdateRequest = exports.DebitNotesServiceCreateRequest = exports.DEBIT_NOTE_SORT_KEY = exports.DEBIT_NOTE_ITEM_STATUS = exports.DEBIT_NOTE_ITEM_SORT_KEY = exports.DEBIT_NOTE_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");
@@ -778,6 +778,141 @@ DebitNotesServiceItemCreateRequest.fields = protobuf_1.proto3.util.newFieldList(
778
778
  { no: 17, name: "round_off", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
779
779
  { no: 18, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
780
780
  ]);
781
+ /**
782
+ *
783
+ * Describes the parameters required to add an individual item as part of multiple item addition to a debit note
784
+ *
785
+ * @generated from message Scailo.DebitNotesServiceMultipleItemsSingleton
786
+ */
787
+ class DebitNotesServiceMultipleItemsSingleton extends protobuf_1.Message {
788
+ constructor(data) {
789
+ super();
790
+ /**
791
+ * Stores the family ID
792
+ *
793
+ * @generated from field: uint64 family_id = 11;
794
+ */
795
+ this.familyId = protobuf_1.protoInt64.zero;
796
+ /**
797
+ * The quantity (in cents) being admitted in internal unit of material
798
+ *
799
+ * @generated from field: uint64 internal_quantity = 12;
800
+ */
801
+ this.internalQuantity = protobuf_1.protoInt64.zero;
802
+ /**
803
+ * Stores the ID of the vendor's unit of material
804
+ *
805
+ * @generated from field: uint64 vendor_uom_id = 13;
806
+ */
807
+ this.vendorUomId = protobuf_1.protoInt64.zero;
808
+ /**
809
+ * Stores the quantity (in cents) being admitted in vendor's unit of material
810
+ *
811
+ * @generated from field: uint64 vendor_quantity = 14;
812
+ */
813
+ this.vendorQuantity = protobuf_1.protoInt64.zero;
814
+ /**
815
+ * The unit price of the item (as supplied by the vendor)
816
+ *
817
+ * @generated from field: uint64 vendor_unit_price = 15;
818
+ */
819
+ this.vendorUnitPrice = protobuf_1.protoInt64.zero;
820
+ /**
821
+ * The ID of the associated tax group
822
+ *
823
+ * @generated from field: uint64 tax_group_id = 16;
824
+ */
825
+ this.taxGroupId = protobuf_1.protoInt64.zero;
826
+ /**
827
+ * The applicable round off amount (optional, and can be positive or negative)
828
+ *
829
+ * @generated from field: int64 round_off = 17;
830
+ */
831
+ this.roundOff = protobuf_1.protoInt64.zero;
832
+ /**
833
+ * Optional specifications
834
+ *
835
+ * @generated from field: string specifications = 18;
836
+ */
837
+ this.specifications = "";
838
+ protobuf_1.proto3.util.initPartial(data, this);
839
+ }
840
+ static fromBinary(bytes, options) {
841
+ return new DebitNotesServiceMultipleItemsSingleton().fromBinary(bytes, options);
842
+ }
843
+ static fromJson(jsonValue, options) {
844
+ return new DebitNotesServiceMultipleItemsSingleton().fromJson(jsonValue, options);
845
+ }
846
+ static fromJsonString(jsonString, options) {
847
+ return new DebitNotesServiceMultipleItemsSingleton().fromJsonString(jsonString, options);
848
+ }
849
+ static equals(a, b) {
850
+ return protobuf_1.proto3.util.equals(DebitNotesServiceMultipleItemsSingleton, a, b);
851
+ }
852
+ }
853
+ exports.DebitNotesServiceMultipleItemsSingleton = DebitNotesServiceMultipleItemsSingleton;
854
+ DebitNotesServiceMultipleItemsSingleton.runtime = protobuf_1.proto3;
855
+ DebitNotesServiceMultipleItemsSingleton.typeName = "Scailo.DebitNotesServiceMultipleItemsSingleton";
856
+ DebitNotesServiceMultipleItemsSingleton.fields = protobuf_1.proto3.util.newFieldList(() => [
857
+ { no: 11, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
858
+ { no: 12, name: "internal_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
859
+ { no: 13, name: "vendor_uom_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
860
+ { no: 14, name: "vendor_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
861
+ { no: 15, name: "vendor_unit_price", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
862
+ { no: 16, name: "tax_group_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
863
+ { no: 17, name: "round_off", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
864
+ { no: 18, name: "specifications", kind: "scalar", T: 9 /* ScalarType.STRING */ },
865
+ ]);
866
+ /**
867
+ *
868
+ * Describes the parameters required to add multiple items to a debit note
869
+ *
870
+ * @generated from message Scailo.DebitNotesServiceMultipleItemsCreateRequest
871
+ */
872
+ class DebitNotesServiceMultipleItemsCreateRequest extends protobuf_1.Message {
873
+ constructor(data) {
874
+ super();
875
+ /**
876
+ * Stores any comment that the user might add during this operation
877
+ *
878
+ * @generated from field: string user_comment = 1;
879
+ */
880
+ this.userComment = "";
881
+ /**
882
+ * Stores the debit note ID
883
+ *
884
+ * @generated from field: uint64 debit_note_id = 10;
885
+ */
886
+ this.debitNoteId = protobuf_1.protoInt64.zero;
887
+ /**
888
+ * List of items
889
+ *
890
+ * @generated from field: repeated Scailo.DebitNotesServiceMultipleItemsSingleton list = 11;
891
+ */
892
+ this.list = [];
893
+ protobuf_1.proto3.util.initPartial(data, this);
894
+ }
895
+ static fromBinary(bytes, options) {
896
+ return new DebitNotesServiceMultipleItemsCreateRequest().fromBinary(bytes, options);
897
+ }
898
+ static fromJson(jsonValue, options) {
899
+ return new DebitNotesServiceMultipleItemsCreateRequest().fromJson(jsonValue, options);
900
+ }
901
+ static fromJsonString(jsonString, options) {
902
+ return new DebitNotesServiceMultipleItemsCreateRequest().fromJsonString(jsonString, options);
903
+ }
904
+ static equals(a, b) {
905
+ return protobuf_1.proto3.util.equals(DebitNotesServiceMultipleItemsCreateRequest, a, b);
906
+ }
907
+ }
908
+ exports.DebitNotesServiceMultipleItemsCreateRequest = DebitNotesServiceMultipleItemsCreateRequest;
909
+ DebitNotesServiceMultipleItemsCreateRequest.runtime = protobuf_1.proto3;
910
+ DebitNotesServiceMultipleItemsCreateRequest.typeName = "Scailo.DebitNotesServiceMultipleItemsCreateRequest";
911
+ DebitNotesServiceMultipleItemsCreateRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
912
+ { no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
913
+ { no: 10, name: "debit_note_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
914
+ { no: 11, name: "list", kind: "message", T: DebitNotesServiceMultipleItemsSingleton, repeated: true },
915
+ ]);
781
916
  /**
782
917
  *
783
918
  * Describes the parameters required to update an item in a debit note
@@ -942,7 +942,7 @@ class EquipmentsServiceFilterReq extends protobuf_1.Message {
942
942
  */
943
943
  this.code = "";
944
944
  /**
945
- * Stores the internal code (as given by user)
945
+ * Filter by the exact internal code
946
946
  *
947
947
  * @generated from field: string internal_item_code = 35;
948
948
  */
@@ -1194,7 +1194,7 @@ class EquipmentsServiceCountReq extends protobuf_1.Message {
1194
1194
  */
1195
1195
  this.code = "";
1196
1196
  /**
1197
- * Stores the internal code (as given by user)
1197
+ * Filter by the exact internal code
1198
1198
  *
1199
1199
  * @generated from field: string internal_item_code = 35;
1200
1200
  */
@@ -942,7 +942,7 @@ class FeedstocksServiceFilterReq extends protobuf_1.Message {
942
942
  */
943
943
  this.code = "";
944
944
  /**
945
- * Stores the internal code (as given by user)
945
+ * Filter by the exact internal code
946
946
  *
947
947
  * @generated from field: string internal_item_code = 35;
948
948
  */
@@ -1194,7 +1194,7 @@ class FeedstocksServiceCountReq extends protobuf_1.Message {
1194
1194
  */
1195
1195
  this.code = "";
1196
1196
  /**
1197
- * Stores the internal code (as given by user)
1197
+ * Filter by the exact internal code
1198
1198
  *
1199
1199
  * @generated from field: string internal_item_code = 35;
1200
1200
  */
@@ -228,6 +228,17 @@ exports.GoodsDispatchesService = {
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 dispatch
233
+ *
234
+ * @generated from rpc Scailo.GoodsDispatchesService.AddMultipleGoodsDispatchItems
235
+ */
236
+ addMultipleGoodsDispatchItems: {
237
+ name: "AddMultipleGoodsDispatchItems",
238
+ I: goods_dispatches_scailo_pb_js_1.GoodsDispatchesServiceMultipleItemsCreateRequest,
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 dispatch
233
244
  *
@@ -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");
@@ -713,6 +713,127 @@ GoodsDispatchesServiceItemCreateRequest.fields = protobuf_1.proto3.util.newField
713
713
  { no: 15, name: "client_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
714
714
  { no: 16, name: "client_family_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
715
715
  ]);
716
+ /**
717
+ *
718
+ * Describes the parameters required to add an individual item as part of multiple item addition to a goods dispatch
719
+ *
720
+ * @generated from message Scailo.GoodsDispatchesServiceMultipleItemsSingleton
721
+ */
722
+ class GoodsDispatchesServiceMultipleItemsSingleton extends protobuf_1.Message {
723
+ constructor(data) {
724
+ super();
725
+ /**
726
+ * Stores the family ID
727
+ *
728
+ * @generated from field: uint64 family_id = 11;
729
+ */
730
+ this.familyId = protobuf_1.protoInt64.zero;
731
+ /**
732
+ * Stores the item hash to be dispatched
733
+ *
734
+ * @generated from field: string item_hash = 12;
735
+ */
736
+ this.itemHash = "";
737
+ /**
738
+ * The quantity (in cents) being dispatched in internal unit of material
739
+ *
740
+ * @generated from field: uint64 internal_quantity = 13;
741
+ */
742
+ this.internalQuantity = protobuf_1.protoInt64.zero;
743
+ /**
744
+ * Stores the ID of the client's unit of material
745
+ *
746
+ * @generated from field: uint64 client_uom_id = 14;
747
+ */
748
+ this.clientUomId = protobuf_1.protoInt64.zero;
749
+ /**
750
+ * Stores the quantity (in cents) being dispatched in client's unit of material
751
+ *
752
+ * @generated from field: uint64 client_quantity = 15;
753
+ */
754
+ this.clientQuantity = protobuf_1.protoInt64.zero;
755
+ /**
756
+ * Stores the family code as defined by the client
757
+ *
758
+ * @generated from field: string client_family_code = 16;
759
+ */
760
+ this.clientFamilyCode = "";
761
+ protobuf_1.proto3.util.initPartial(data, this);
762
+ }
763
+ static fromBinary(bytes, options) {
764
+ return new GoodsDispatchesServiceMultipleItemsSingleton().fromBinary(bytes, options);
765
+ }
766
+ static fromJson(jsonValue, options) {
767
+ return new GoodsDispatchesServiceMultipleItemsSingleton().fromJson(jsonValue, options);
768
+ }
769
+ static fromJsonString(jsonString, options) {
770
+ return new GoodsDispatchesServiceMultipleItemsSingleton().fromJsonString(jsonString, options);
771
+ }
772
+ static equals(a, b) {
773
+ return protobuf_1.proto3.util.equals(GoodsDispatchesServiceMultipleItemsSingleton, a, b);
774
+ }
775
+ }
776
+ exports.GoodsDispatchesServiceMultipleItemsSingleton = GoodsDispatchesServiceMultipleItemsSingleton;
777
+ GoodsDispatchesServiceMultipleItemsSingleton.runtime = protobuf_1.proto3;
778
+ GoodsDispatchesServiceMultipleItemsSingleton.typeName = "Scailo.GoodsDispatchesServiceMultipleItemsSingleton";
779
+ GoodsDispatchesServiceMultipleItemsSingleton.fields = protobuf_1.proto3.util.newFieldList(() => [
780
+ { no: 11, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
781
+ { no: 12, name: "item_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
782
+ { no: 13, name: "internal_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
783
+ { no: 14, name: "client_uom_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
784
+ { no: 15, name: "client_quantity", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
785
+ { no: 16, name: "client_family_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
786
+ ]);
787
+ /**
788
+ *
789
+ * Describes the parameters required to add multiple items to a goods dispatch
790
+ *
791
+ * @generated from message Scailo.GoodsDispatchesServiceMultipleItemsCreateRequest
792
+ */
793
+ class GoodsDispatchesServiceMultipleItemsCreateRequest extends protobuf_1.Message {
794
+ constructor(data) {
795
+ super();
796
+ /**
797
+ * Stores any comment that the user might add during this operation
798
+ *
799
+ * @generated from field: string user_comment = 1;
800
+ */
801
+ this.userComment = "";
802
+ /**
803
+ * Stores the goods dispatch ID
804
+ *
805
+ * @generated from field: uint64 goods_dispatch_id = 10;
806
+ */
807
+ this.goodsDispatchId = protobuf_1.protoInt64.zero;
808
+ /**
809
+ * List of items
810
+ *
811
+ * @generated from field: repeated Scailo.GoodsDispatchesServiceMultipleItemsSingleton list = 11;
812
+ */
813
+ this.list = [];
814
+ protobuf_1.proto3.util.initPartial(data, this);
815
+ }
816
+ static fromBinary(bytes, options) {
817
+ return new GoodsDispatchesServiceMultipleItemsCreateRequest().fromBinary(bytes, options);
818
+ }
819
+ static fromJson(jsonValue, options) {
820
+ return new GoodsDispatchesServiceMultipleItemsCreateRequest().fromJson(jsonValue, options);
821
+ }
822
+ static fromJsonString(jsonString, options) {
823
+ return new GoodsDispatchesServiceMultipleItemsCreateRequest().fromJsonString(jsonString, options);
824
+ }
825
+ static equals(a, b) {
826
+ return protobuf_1.proto3.util.equals(GoodsDispatchesServiceMultipleItemsCreateRequest, a, b);
827
+ }
828
+ }
829
+ exports.GoodsDispatchesServiceMultipleItemsCreateRequest = GoodsDispatchesServiceMultipleItemsCreateRequest;
830
+ GoodsDispatchesServiceMultipleItemsCreateRequest.runtime = protobuf_1.proto3;
831
+ GoodsDispatchesServiceMultipleItemsCreateRequest.typeName = "Scailo.GoodsDispatchesServiceMultipleItemsCreateRequest";
832
+ GoodsDispatchesServiceMultipleItemsCreateRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
833
+ { no: 1, name: "user_comment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
834
+ { no: 10, name: "goods_dispatch_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
835
+ { no: 11, name: "list", kind: "message", T: GoodsDispatchesServiceMultipleItemsSingleton, repeated: true },
836
+ ]);
716
837
  /**
717
838
  *
718
839
  * 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
  *