@alexochihua/protos 1.0.21 → 1.0.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.
@@ -65,6 +65,13 @@ export interface GetManufacturingBatchesRequest {
65
65
  q: string;
66
66
  status: string;
67
67
  brand: string;
68
+ bin: string;
69
+ product_type: string;
70
+ destination_branch: string;
71
+ priority: string;
72
+ client: string;
73
+ generation_date: string;
74
+ id_batch: string;
68
75
  }
69
76
  export interface GetManufacturingBatchesResponse {
70
77
  meta: ResponseMeta | undefined;
@@ -751,7 +751,19 @@ exports.SyncCardStatusResponse = {
751
751
  },
752
752
  };
753
753
  function createBaseGetManufacturingBatchesRequest() {
754
- return { page_request: undefined, q: "", status: "", brand: "" };
754
+ return {
755
+ page_request: undefined,
756
+ q: "",
757
+ status: "",
758
+ brand: "",
759
+ bin: "",
760
+ product_type: "",
761
+ destination_branch: "",
762
+ priority: "",
763
+ client: "",
764
+ generation_date: "",
765
+ id_batch: "",
766
+ };
755
767
  }
756
768
  exports.GetManufacturingBatchesRequest = {
757
769
  encode(message, writer = new wire_1.BinaryWriter()) {
@@ -767,6 +779,27 @@ exports.GetManufacturingBatchesRequest = {
767
779
  if (message.brand !== "") {
768
780
  writer.uint32(34).string(message.brand);
769
781
  }
782
+ if (message.bin !== "") {
783
+ writer.uint32(42).string(message.bin);
784
+ }
785
+ if (message.product_type !== "") {
786
+ writer.uint32(50).string(message.product_type);
787
+ }
788
+ if (message.destination_branch !== "") {
789
+ writer.uint32(58).string(message.destination_branch);
790
+ }
791
+ if (message.priority !== "") {
792
+ writer.uint32(66).string(message.priority);
793
+ }
794
+ if (message.client !== "") {
795
+ writer.uint32(74).string(message.client);
796
+ }
797
+ if (message.generation_date !== "") {
798
+ writer.uint32(82).string(message.generation_date);
799
+ }
800
+ if (message.id_batch !== "") {
801
+ writer.uint32(90).string(message.id_batch);
802
+ }
770
803
  return writer;
771
804
  },
772
805
  decode(input, length) {
@@ -804,6 +837,55 @@ exports.GetManufacturingBatchesRequest = {
804
837
  message.brand = reader.string();
805
838
  continue;
806
839
  }
840
+ case 5: {
841
+ if (tag !== 42) {
842
+ break;
843
+ }
844
+ message.bin = reader.string();
845
+ continue;
846
+ }
847
+ case 6: {
848
+ if (tag !== 50) {
849
+ break;
850
+ }
851
+ message.product_type = reader.string();
852
+ continue;
853
+ }
854
+ case 7: {
855
+ if (tag !== 58) {
856
+ break;
857
+ }
858
+ message.destination_branch = reader.string();
859
+ continue;
860
+ }
861
+ case 8: {
862
+ if (tag !== 66) {
863
+ break;
864
+ }
865
+ message.priority = reader.string();
866
+ continue;
867
+ }
868
+ case 9: {
869
+ if (tag !== 74) {
870
+ break;
871
+ }
872
+ message.client = reader.string();
873
+ continue;
874
+ }
875
+ case 10: {
876
+ if (tag !== 82) {
877
+ break;
878
+ }
879
+ message.generation_date = reader.string();
880
+ continue;
881
+ }
882
+ case 11: {
883
+ if (tag !== 90) {
884
+ break;
885
+ }
886
+ message.id_batch = reader.string();
887
+ continue;
888
+ }
807
889
  }
808
890
  if ((tag & 7) === 4 || tag === 0) {
809
891
  break;
@@ -823,6 +905,13 @@ exports.GetManufacturingBatchesRequest = {
823
905
  message.q = object.q ?? "";
824
906
  message.status = object.status ?? "";
825
907
  message.brand = object.brand ?? "";
908
+ message.bin = object.bin ?? "";
909
+ message.product_type = object.product_type ?? "";
910
+ message.destination_branch = object.destination_branch ?? "";
911
+ message.priority = object.priority ?? "";
912
+ message.client = object.client ?? "";
913
+ message.generation_date = object.generation_date ?? "";
914
+ message.id_batch = object.id_batch ?? "";
826
915
  return message;
827
916
  },
828
917
  };