import{d as s}from"./chunk-7EAWKBIV.js";import{I as i}from"./chunk-ATD4AEXQ.js";import{Qc as c,Ua as u,ca as o,da as l,fa as a}from"./chunk-BXH3QC5E.js";var k=(()=>{class n{restService;constructor(e){this.restService=e}getPackingNote(e,t){let r=new c;return r=r.append("loadContainers",t),this.restService.get(`${i.PACKING_NOTES}/number:${e}`,r)}lockPackingNoteToWorkstation(e){return this.restService.post(`${i.PACKING_NOTES}/${e}/lock`,null)}unlockPackingNoteFromWorkstation(e){return this.restService.post(`${i.PACKING_NOTES}/${e}/unlock`,null)}processPackingNote(e){return this.restService.post(`${i.PACKING_NOTES}/${e.id}/process`,e)}parkPackingNote(e){return this.restService.post(`${i.PACKING_NOTES}/${e.id}/park`,e)}cancelPackingNote(e){return this.restService.post(`${i.PACKING_NOTES}/${e}/cancel`,null)}packPackingNote(e){return this.restService.post(`${i.PACKING_NOTES}/${e.id}/pack`,e)}unlockAllPackingNotesFromWorkstation(){return this.restService.post(`${i.PACKING_NOTES}/unlockAllPackingNotesFromWorkstation`,null)}isParentPackingNote(e){let t=new c;return t=t.append("packingNoteID",e),this.restService.get(`${i.PACKING_NOTES}/parentPackingNote`,t)}isChildPackingNote(e){let t=new c;return t=t.append("parentPackingNoteID",e),this.restService.get(`${i.PACKING_NOTES}/childPackingNote`,t)}static \u0275fac=function(t){return new(t||n)(a(s))};static \u0275prov=o({token:n,factory:n.\u0275fac})}return n})();var p=(()=>{class n{restService;constructor(e){this.restService=e}getContainer(e){return this.restService.get(`${i.CONTAINERS}/idCode:${e}`,null)}existsProcessedPackingNoteContainer(e){return this.restService.get(`${i.PACKING_NOTE_CONTAINERS}/${e}/existsProcessedPackingNoteContainer`,null)}removeContainerContentBundlesFromContainer(e){return this.restService.post(`${i.CONTAINER_CONTENT_BUNDLES}/${e}/removeContainerContentBundlesFromContainer`,null)}existsPackingNoteContainerOnDifferentPackingNote(e,t){let r=new c;return r=r.append("packingNoteID",t),this.restService.get(`${i.PACKING_NOTE_CONTAINERS}/${e}/existsPackingNoteContainerOnDifferentPackingNote`,r)}connectContainerBundlesToPackingNote(e,t){let r=new c;return r=r.append("packingNoteID",t),this.restService.post(`${i.CONTAINER_CONTENT_BUNDLES}/${e}/connectContainerBundlesToPackingNote`,null,r)}addPackingNoteContainerQuantity(e,t){return this.restService.post(`${i.PACKING_NOTE_CONTAINERS}/${t}/addPackingNoteContainerQuantity`,e)}isContainerLinkedToChildPackingNotes(e,t){let r=new c;return r=r.append("containerID",e),r=r.append("packingNoteID",t),this.restService.get(`${i.PACKING_NOTE_CONTAINERS}/isContainerLinkedToChildPackingNotes`,r)}static \u0275fac=function(t){return new(t||n)(a(s))};static \u0275prov=o({token:n,factory:n.\u0275fac})}return n})();var P=(()=>{class n{packingNoteService;constructor(e){this.packingNoteService=e}getPackingNote(e,t=!1){return this.packingNoteService.getPackingNote(e,t)}lockPackingNoteToWorkstation(e){return this.packingNoteService.lockPackingNoteToWorkstation(e)}unlockPackingNoteFromWorkstation(e){return this.packingNoteService.unlockPackingNoteFromWorkstation(e)}processPackingNote(e){return this.packingNoteService.processPackingNote(e)}parkPackingNote(e){return this.packingNoteService.parkPackingNote(e)}cancelPackingNote(e){return this.packingNoteService.cancelPackingNote(e)}packPackingNote(e){return this.packingNoteService.packPackingNote(e)}unlockAllPackingNotesFromWorkstation(){return this.packingNoteService.unlockAllPackingNotesFromWorkstation()}isParentPackingNote(e){return this.packingNoteService.isParentPackingNote(e)}isChildPackingNote(e){return this.packingNoteService.isChildPackingNote(e)}static \u0275fac=function(t){return new(t||n)(a(k))};static \u0275prov=o({token:n,factory:n.\u0275fac})}return n})();var g=(()=>{class n{scanContainerService;constructor(e){this.scanContainerService=e}getContainer(e){return this.scanContainerService.getContainer(e)}existsProcessedPackingNoteContainer(e){return this.scanContainerService.existsProcessedPackingNoteContainer(e)}removeContainerContentBundlesFromContainer(e){return this.scanContainerService.removeContainerContentBundlesFromContainer(e)}connectContainerBundlesToPackingNote(e,t){return this.scanContainerService.connectContainerBundlesToPackingNote(e,t)}existsPackingNoteContainerOnDifferentPackingNote(e,t){return this.scanContainerService.existsPackingNoteContainerOnDifferentPackingNote(e,t)}addPackingNoteContainerQuantity(e,t){return this.scanContainerService.addPackingNoteContainerQuantity(e,t)}isContainerLinkedToChildPackingNotes(e,t){return this.scanContainerService.isContainerLinkedToChildPackingNotes(e,t)}static \u0275fac=function(t){return new(t||n)(a(p))};static \u0275prov=o({token:n,factory:n.\u0275fac})}return n})();var d=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=u({type:n});static \u0275inj=l({providers:[k,P,g,p]})}return n})();export{P as a,g as b,d as c};
