@pksep/zod-shared 0.0.490
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.
- package/dist/action/dto/action-guard.dto.d.ts +15 -0
- package/dist/action/dto/action-guard.dto.js +9 -0
- package/dist/action/dto/actions-by-param.dto.d.ts +43 -0
- package/dist/action/dto/actions-by-param.dto.js +20 -0
- package/dist/action/enums/enums.d.ts +183 -0
- package/dist/action/enums/enums.js +130 -0
- package/dist/action/index.d.ts +7 -0
- package/dist/action/index.js +23 -0
- package/dist/action/interfaces/interface.d.ts +19 -0
- package/dist/action/interfaces/interface.js +2 -0
- package/dist/action/schemas/actions-chain.schema.d.ts +19 -0
- package/dist/action/schemas/actions-chain.schema.js +9 -0
- package/dist/action/schemas/actions.schema.d.ts +158 -0
- package/dist/action/schemas/actions.schema.js +39 -0
- package/dist/action/types/types.d.ts +4 -0
- package/dist/action/types/types.js +2 -0
- package/dist/assemble/dto/assemble-coming.dto.d.ts +35 -0
- package/dist/assemble/dto/assemble-coming.dto.js +22 -0
- package/dist/assemble/dto/assemble-db-request.dto.d.ts +66 -0
- package/dist/assemble/dto/assemble-db-request.dto.js +25 -0
- package/dist/assemble/dto/assemble-deep-deficit.dto.d.ts +16 -0
- package/dist/assemble/dto/assemble-deep-deficit.dto.js +10 -0
- package/dist/assemble/dto/assembly-paginate.dto.d.ts +31 -0
- package/dist/assemble/dto/assembly-paginate.dto.js +16 -0
- package/dist/assemble/dto/create-assemble-kit.dto.d.ts +24 -0
- package/dist/assemble/dto/create-assemble-kit.dto.js +12 -0
- package/dist/assemble/dto/create-assemble.dto.d.ts +24 -0
- package/dist/assemble/dto/create-assemble.dto.js +12 -0
- package/dist/assemble/dto/delete-actual-shipment.dto.d.ts +15 -0
- package/dist/assemble/dto/delete-actual-shipment.dto.js +9 -0
- package/dist/assemble/dto/delete-assemble.dto.d.ts +21 -0
- package/dist/assemble/dto/delete-assemble.dto.js +11 -0
- package/dist/assemble/dto/delete-shipment.dto.d.ts +12 -0
- package/dist/assemble/dto/delete-shipment.dto.js +8 -0
- package/dist/assemble/dto/get-assemble-by-id.dto.d.ts +18 -0
- package/dist/assemble/dto/get-assemble-by-id.dto.js +10 -0
- package/dist/assemble/dto/get-assemble-by-izd.dto.d.ts +18 -0
- package/dist/assemble/dto/get-assemble-by-izd.dto.js +11 -0
- package/dist/assemble/dto/get-assemble-operation-count.dto.d.ts +1503 -0
- package/dist/assemble/dto/get-assemble-operation-count.dto.js +9 -0
- package/dist/assemble/dto/get-assemble-operation-pagination.dto.d.ts +46 -0
- package/dist/assemble/dto/get-assemble-operation-pagination.dto.js +24 -0
- package/dist/assemble/dto/get-assemble-pagination-sclad.dto.d.ts +46 -0
- package/dist/assemble/dto/get-assemble-pagination-sclad.dto.js +24 -0
- package/dist/assemble/dto/get-assemble-pagination.dto.d.ts +55 -0
- package/dist/assemble/dto/get-assemble-pagination.dto.js +27 -0
- package/dist/assemble/dto/set-date-shipment.dto.d.ts +21 -0
- package/dist/assemble/dto/set-date-shipment.dto.js +11 -0
- package/dist/assemble/dto/update-assemble.dto.d.ts +15 -0
- package/dist/assemble/dto/update-assemble.dto.js +9 -0
- package/dist/assemble/enum/enum.d.ts +4 -0
- package/dist/assemble/enum/enum.js +8 -0
- package/dist/assemble/index.d.ts +21 -0
- package/dist/assemble/index.js +37 -0
- package/dist/assemble/interfaces/interfaces.d.ts +102 -0
- package/dist/assemble/interfaces/interfaces.js +2 -0
- package/dist/assemble/schemas/assemble-coming.schema.d.ts +1176 -0
- package/dist/assemble/schemas/assemble-coming.schema.js +21 -0
- package/dist/assemble/schemas/assemble.schema.d.ts +1138 -0
- package/dist/assemble/schemas/assemble.schema.js +32 -0
- package/dist/assemble-kit/dto/assemble-kit-paginate.dto.d.ts +46 -0
- package/dist/assemble-kit/dto/assemble-kit-paginate.dto.js +27 -0
- package/dist/assemble-kit/dto/update-assemble-kit.dto.d.ts +24 -0
- package/dist/assemble-kit/dto/update-assemble-kit.dto.js +16 -0
- package/dist/assemble-kit/index.d.ts +4 -0
- package/dist/assemble-kit/index.js +20 -0
- package/dist/assemble-kit/interfaces/interface.d.ts +4 -0
- package/dist/assemble-kit/interfaces/interface.js +2 -0
- package/dist/assemble-kit/schemas/assemble-kit.schema.d.ts +306 -0
- package/dist/assemble-kit/schemas/assemble-kit.schema.js +27 -0
- package/dist/avatar/index.d.ts +2 -0
- package/dist/avatar/index.js +18 -0
- package/dist/avatar/interfaces/interface.d.ts +6 -0
- package/dist/avatar/interfaces/interface.js +2 -0
- package/dist/avatar/schemas/avatarsSchema.d.ts +25 -0
- package/dist/avatar/schemas/avatarsSchema.js +12 -0
- package/dist/buyer/index.d.ts +4 -0
- package/dist/buyer/index.js +20 -0
- package/dist/buyer/interfaces/interface.d.ts +6 -0
- package/dist/buyer/interfaces/interface.js +2 -0
- package/dist/buyer/schemas/buyer-cbed.schema.d.ts +15 -0
- package/dist/buyer/schemas/buyer-cbed.schema.js +9 -0
- package/dist/buyer/schemas/buyer.schema.d.ts +36 -0
- package/dist/buyer/schemas/buyer.schema.js +16 -0
- package/dist/buyer/schemas/purchases.schema.d.ts +33 -0
- package/dist/buyer/schemas/purchases.schema.js +15 -0
- package/dist/cbed/dto/cbed-pagination.dto.d.ts +40 -0
- package/dist/cbed/dto/cbed-pagination.dto.js +20 -0
- package/dist/cbed/dto/check-designatiom.dto.d.ts +9 -0
- package/dist/cbed/dto/check-designatiom.dto.js +7 -0
- package/dist/cbed/dto/get-archive.dto.d.ts +9 -0
- package/dist/cbed/dto/get-archive.dto.js +7 -0
- package/dist/cbed/dto/get-deficit.dto.d.ts +25 -0
- package/dist/cbed/dto/get-deficit.dto.js +13 -0
- package/dist/cbed/dto/get-include.dto.d.ts +9 -0
- package/dist/cbed/dto/get-include.dto.js +7 -0
- package/dist/cbed/dto/get-one-cbed-dto.d.ts +16 -0
- package/dist/cbed/dto/get-one-cbed-dto.js +24 -0
- package/dist/cbed/dto/get-remains-cbed.dto.d.ts +16 -0
- package/dist/cbed/dto/get-remains-cbed.dto.js +9 -0
- package/dist/cbed/dto/recursive-childrens.dto.d.ts +45 -0
- package/dist/cbed/dto/recursive-childrens.dto.js +19 -0
- package/dist/cbed/dto/set-actual-shipment.dto.d.ts +18 -0
- package/dist/cbed/dto/set-actual-shipment.dto.js +10 -0
- package/dist/cbed/dto/up-create-cbed.dto.d.ts +55 -0
- package/dist/cbed/dto/up-create-cbed.dto.js +61 -0
- package/dist/cbed/index.d.ts +16 -0
- package/dist/cbed/index.js +32 -0
- package/dist/cbed/interfaces/interface.d.ts +3 -0
- package/dist/cbed/interfaces/interface.js +2 -0
- package/dist/cbed/schemas/cbed-detals.schema.d.ts +15 -0
- package/dist/cbed/schemas/cbed-detals.schema.js +9 -0
- package/dist/cbed/schemas/cbed-material.schema.d.ts +15 -0
- package/dist/cbed/schemas/cbed-material.schema.js +9 -0
- package/dist/cbed/schemas/cbed.schema.d.ts +115 -0
- package/dist/cbed/schemas/cbed.schema.js +40 -0
- package/dist/cbed/types/cbed-types.d.ts +9 -0
- package/dist/cbed/types/cbed-types.js +2 -0
- package/dist/cbed/types/cbed.d.ts +5 -0
- package/dist/cbed/types/cbed.js +2 -0
- package/dist/company/default-value/model.d.ts +7 -0
- package/dist/company/default-value/model.js +26 -0
- package/dist/company/dto/companies-pagination.dto.d.ts +52 -0
- package/dist/company/dto/companies-pagination.dto.js +21 -0
- package/dist/company/dto/create-company.dto.d.ts +72 -0
- package/dist/company/dto/create-company.dto.js +21 -0
- package/dist/company/dto/get-include.dto.d.ts +12 -0
- package/dist/company/dto/get-include.dto.js +8 -0
- package/dist/company/dto/update-company.dto.d.ts +75 -0
- package/dist/company/dto/update-company.dto.js +22 -0
- package/dist/company/enums/enums.d.ts +14 -0
- package/dist/company/enums/enums.js +19 -0
- package/dist/company/index.d.ts +9 -0
- package/dist/company/index.js +25 -0
- package/dist/company/interfaces/interface.d.ts +60 -0
- package/dist/company/interfaces/interface.js +12 -0
- package/dist/company/schemas/companies.schema.d.ts +78 -0
- package/dist/company/schemas/companies.schema.js +19 -0
- package/dist/company/type/type.d.ts +5 -0
- package/dist/company/type/type.js +2 -0
- package/dist/contact/default-value/model.d.ts +7 -0
- package/dist/contact/default-value/model.js +26 -0
- package/dist/contact/dto/contact-pagination.dto.d.ts +27 -0
- package/dist/contact/dto/contact-pagination.dto.js +14 -0
- package/dist/contact/dto/create-contact.dto.d.ts +48 -0
- package/dist/contact/dto/create-contact.dto.js +12 -0
- package/dist/contact/dto/get-include.dto.d.ts +12 -0
- package/dist/contact/dto/get-include.dto.js +8 -0
- package/dist/contact/dto/update-contact.dto.d.ts +51 -0
- package/dist/contact/dto/update-contact.dto.js +13 -0
- package/dist/contact/index.d.ts +7 -0
- package/dist/contact/index.js +23 -0
- package/dist/contact/interfaces/interface.d.ts +42 -0
- package/dist/contact/interfaces/interface.js +12 -0
- package/dist/contact/schemas/contact.schema.d.ts +51 -0
- package/dist/contact/schemas/contact.schema.js +16 -0
- package/dist/deficit/dto/create-deficite.dto.d.ts +15 -0
- package/dist/deficit/dto/create-deficite.dto.js +9 -0
- package/dist/deficit/dto/deficit-material.dto.d.ts +9 -0
- package/dist/deficit/dto/deficit-material.dto.js +7 -0
- package/dist/deficit/index.d.ts +4 -0
- package/dist/deficit/index.js +20 -0
- package/dist/deficit/interfaces/interface.d.ts +9 -0
- package/dist/deficit/interfaces/interface.js +2 -0
- package/dist/deficit/schemas/deficit.schema.d.ts +15 -0
- package/dist/deficit/schemas/deficit.schema.js +9 -0
- package/dist/deliveries/dto/all-delivery-pagination.dto.d.ts +19 -0
- package/dist/deliveries/dto/all-delivery-pagination.dto.js +11 -0
- package/dist/deliveries/dto/create-deliveries.dto.d.ts +104 -0
- package/dist/deliveries/dto/create-deliveries.dto.js +25 -0
- package/dist/deliveries/index.d.ts +8 -0
- package/dist/deliveries/index.js +24 -0
- package/dist/deliveries/schemas/deliveries-equipments.schema.d.ts +15 -0
- package/dist/deliveries/schemas/deliveries-equipments.schema.js +9 -0
- package/dist/deliveries/schemas/deliveries-instrument.schema.d.ts +15 -0
- package/dist/deliveries/schemas/deliveries-instrument.schema.js +9 -0
- package/dist/deliveries/schemas/deliveries-inventary.schema.d.ts +15 -0
- package/dist/deliveries/schemas/deliveries-inventary.schema.js +9 -0
- package/dist/deliveries/schemas/deliveries-material.schema.d.ts +15 -0
- package/dist/deliveries/schemas/deliveries-material.schema.js +9 -0
- package/dist/deliveries/schemas/deliveries-position.schema.d.ts +32 -0
- package/dist/deliveries/schemas/deliveries-position.schema.js +15 -0
- package/dist/deliveries/schemas/deliveries.schema.d.ts +64 -0
- package/dist/deliveries/schemas/deliveries.schema.js +21 -0
- package/dist/detal/default-values/default-values.d.ts +58 -0
- package/dist/detal/default-values/default-values.js +63 -0
- package/dist/detal/dto/add-file-to-detal.dto.d.ts +22 -0
- package/dist/detal/dto/add-file-to-detal.dto.js +9 -0
- package/dist/detal/dto/detal-pagination.dto.d.ts +34 -0
- package/dist/detal/dto/detal-pagination.dto.js +16 -0
- package/dist/detal/dto/get-archive.dto.d.ts +9 -0
- package/dist/detal/dto/get-archive.dto.js +7 -0
- package/dist/detal/dto/get-deficit.dto.d.ts +25 -0
- package/dist/detal/dto/get-deficit.dto.js +16 -0
- package/dist/detal/dto/get-detal-deficit-dto.d.ts +25 -0
- package/dist/detal/dto/get-detal-deficit-dto.js +13 -0
- package/dist/detal/dto/get-include-detal.dto.d.ts +9 -0
- package/dist/detal/dto/get-include-detal.dto.js +7 -0
- package/dist/detal/dto/get-one-detal-dto.d.ts +16 -0
- package/dist/detal/dto/get-one-detal-dto.js +17 -0
- package/dist/detal/dto/get-remains-detal.dto.d.ts +16 -0
- package/dist/detal/dto/get-remains-detal.dto.js +9 -0
- package/dist/detal/dto/set-actual-shipment.dto.d.ts +18 -0
- package/dist/detal/dto/set-actual-shipment.dto.js +10 -0
- package/dist/detal/dto/update-detal.dto.d.ts +56 -0
- package/dist/detal/dto/update-detal.dto.js +34 -0
- package/dist/detal/index.d.ts +16 -0
- package/dist/detal/index.js +32 -0
- package/dist/detal/interfaces/interface.d.ts +8 -0
- package/dist/detal/interfaces/interface.js +3 -0
- package/dist/detal/schemas/detal-deficit.schema.d.ts +1916 -0
- package/dist/detal/schemas/detal-deficit.schema.js +10 -0
- package/dist/detal/schemas/detal-material.schema.d.ts +15 -0
- package/dist/detal/schemas/detal-material.schema.js +9 -0
- package/dist/detal/schemas/detal.schema.d.ts +1740 -0
- package/dist/detal/schemas/detal.schema.js +53 -0
- package/dist/detal/types/detal.d.ts +15 -0
- package/dist/detal/types/detal.js +2 -0
- package/dist/document/dto/attach-document-to-entity.dto.d.ts +16 -0
- package/dist/document/dto/attach-document-to-entity.dto.js +10 -0
- package/dist/document/dto/change-type.dto.d.ts +12 -0
- package/dist/document/dto/change-type.dto.js +8 -0
- package/dist/document/dto/check-name-exist.d.ts +9 -0
- package/dist/document/dto/check-name-exist.js +7 -0
- package/dist/document/dto/create-arr-documents.dto.d.ts +9 -0
- package/dist/document/dto/create-arr-documents.dto.js +7 -0
- package/dist/document/dto/create-documents.dto.d.ts +24 -0
- package/dist/document/dto/create-documents.dto.js +12 -0
- package/dist/document/dto/query-pagination.dto.d.ts +16 -0
- package/dist/document/dto/query-pagination.dto.js +12 -0
- package/dist/document/dto/unpin-document.dto.d.ts +16 -0
- package/dist/document/dto/unpin-document.dto.js +10 -0
- package/dist/document/dto/update-document.dto.d.ts +27 -0
- package/dist/document/dto/update-document.dto.js +13 -0
- package/dist/document/index.d.ts +10 -0
- package/dist/document/index.js +26 -0
- package/dist/document/interfaces/interface.d.ts +13 -0
- package/dist/document/interfaces/interface.js +2 -0
- package/dist/document/schemas/documentsSchema.d.ts +79 -0
- package/dist/document/schemas/documentsSchema.js +17 -0
- package/dist/edizm/enum/enum.d.ts +15 -0
- package/dist/edizm/enum/enum.js +18 -0
- package/dist/edizm/index.d.ts +5 -0
- package/dist/edizm/index.js +21 -0
- package/dist/edizm/interfaces/interface.d.ts +8 -0
- package/dist/edizm/interfaces/interface.js +2 -0
- package/dist/edizm/schemas/edizm.schema.d.ts +18 -0
- package/dist/edizm/schemas/edizm.schema.js +9 -0
- package/dist/edizm/schemas/type-edizm.schema.d.ts +35 -0
- package/dist/edizm/schemas/type-edizm.schema.js +10 -0
- package/dist/edizm/schemas/unit-type-edizm.schema.d.ts +15 -0
- package/dist/edizm/schemas/unit-type-edizm.schema.js +9 -0
- package/dist/equipment/dto/check-name-unique.dto.d.ts +13 -0
- package/dist/equipment/dto/check-name-unique.dto.js +9 -0
- package/dist/equipment/dto/create-equipment.dto.d.ts +45 -0
- package/dist/equipment/dto/create-equipment.dto.js +20 -0
- package/dist/equipment/dto/create-equpment-type.dto.d.ts +12 -0
- package/dist/equipment/dto/create-equpment-type.dto.js +8 -0
- package/dist/equipment/dto/get-archive.dto.d.ts +9 -0
- package/dist/equipment/dto/get-archive.dto.js +7 -0
- package/dist/equipment/dto/get-instruments-pagination.dto.d.ts +27 -0
- package/dist/equipment/dto/get-instruments-pagination.dto.js +13 -0
- package/dist/equipment/dto/udate-equipment-type.dto.d.ts +12 -0
- package/dist/equipment/dto/udate-equipment-type.dto.js +8 -0
- package/dist/equipment/dto/update-equipment.dto.d.ts +48 -0
- package/dist/equipment/dto/update-equipment.dto.js +23 -0
- package/dist/equipment/index.d.ts +12 -0
- package/dist/equipment/index.js +28 -0
- package/dist/equipment/interfaces/interface.d.ts +9 -0
- package/dist/equipment/interfaces/interface.js +2 -0
- package/dist/equipment/schemas/equipment-pt.schema.d.ts +17 -0
- package/dist/equipment/schemas/equipment-pt.schema.js +8 -0
- package/dist/equipment/schemas/equipment.schema.d.ts +713 -0
- package/dist/equipment/schemas/equipment.schema.js +37 -0
- package/dist/equipment/schemas/euipment-type.schema.d.ts +3 -0
- package/dist/equipment/schemas/euipment-type.schema.js +12 -0
- package/dist/equipment/schemas/node_tpt_equipment.schema.d.ts +15 -0
- package/dist/equipment/schemas/node_tpt_equipment.schema.js +9 -0
- package/dist/expenditure/dto/get-expenditure.dto.d.ts +34 -0
- package/dist/expenditure/dto/get-expenditure.dto.js +12 -0
- package/dist/expenditure/dto/index.d.ts +1 -0
- package/dist/expenditure/dto/index.js +17 -0
- package/dist/expenditure/enum/enum.d.ts +4 -0
- package/dist/expenditure/enum/enum.js +8 -0
- package/dist/expenditure/index.d.ts +5 -0
- package/dist/expenditure/index.js +21 -0
- package/dist/expenditure/schema/expenditure-consumption.schema.d.ts +68 -0
- package/dist/expenditure/schema/expenditure-consumption.schema.js +10 -0
- package/dist/expenditure/schema/expenditure-position.schema.d.ts +25 -0
- package/dist/expenditure/schema/expenditure-position.schema.js +13 -0
- package/dist/expenditure/schema/expenditure.schema.d.ts +26 -0
- package/dist/expenditure/schema/expenditure.schema.js +11 -0
- package/dist/index.d.ts +40 -0
- package/dist/index.js +56 -0
- package/dist/instrument/dto/check-name-unique.dto.d.ts +13 -0
- package/dist/instrument/dto/check-name-unique.dto.js +9 -0
- package/dist/instrument/dto/create-instrument.dto.d.ts +13 -0
- package/dist/instrument/dto/create-instrument.dto.js +9 -0
- package/dist/instrument/dto/create-name-instrument.dto.d.ts +42 -0
- package/dist/instrument/dto/create-name-instrument.dto.js +19 -0
- package/dist/instrument/dto/create-pt-instrument.dto.d.ts +12 -0
- package/dist/instrument/dto/create-pt-instrument.dto.js +8 -0
- package/dist/instrument/dto/get-instruments-pagination.dto.d.ts +31 -0
- package/dist/instrument/dto/get-instruments-pagination.dto.js +15 -0
- package/dist/instrument/dto/update-instrument.dto.d.ts +16 -0
- package/dist/instrument/dto/update-instrument.dto.js +10 -0
- package/dist/instrument/dto/update-name-instrument.dto.d.ts +45 -0
- package/dist/instrument/dto/update-name-instrument.dto.js +20 -0
- package/dist/instrument/dto/update-pt.dto.d.ts +12 -0
- package/dist/instrument/dto/update-pt.dto.js +8 -0
- package/dist/instrument/index.d.ts +15 -0
- package/dist/instrument/index.js +31 -0
- package/dist/instrument/interfaces/interface.d.ts +12 -0
- package/dist/instrument/interfaces/interface.js +2 -0
- package/dist/instrument/schemas/instrument-equipment.schema.d.ts +18 -0
- package/dist/instrument/schemas/instrument-equipment.schema.js +11 -0
- package/dist/instrument/schemas/instrument-operation.schema.d.ts +18 -0
- package/dist/instrument/schemas/instrument-operation.schema.js +11 -0
- package/dist/instrument/schemas/instrument.schema.d.ts +3 -0
- package/dist/instrument/schemas/instrument.schema.js +14 -0
- package/dist/instrument/schemas/name-instrument.schema.d.ts +3 -0
- package/dist/instrument/schemas/name-instrument.schema.js +39 -0
- package/dist/instrument/schemas/node-pt-t-instrument.schema.d.ts +15 -0
- package/dist/instrument/schemas/node-pt-t-instrument.schema.js +9 -0
- package/dist/instrument/schemas/pt-instrument.schema.d.ts +18 -0
- package/dist/instrument/schemas/pt-instrument.schema.js +12 -0
- package/dist/inventary/dto/check-name-unique.dto.d.ts +13 -0
- package/dist/inventary/dto/check-name-unique.dto.js +9 -0
- package/dist/inventary/dto/create-inventary.dto.d.ts +48 -0
- package/dist/inventary/dto/create-inventary.dto.js +35 -0
- package/dist/inventary/dto/create-pt-inventary.dto.d.ts +12 -0
- package/dist/inventary/dto/create-pt-inventary.dto.js +8 -0
- package/dist/inventary/dto/get-inventary-pagination.dto.d.ts +27 -0
- package/dist/inventary/dto/get-inventary-pagination.dto.js +13 -0
- package/dist/inventary/dto/update-inventary.dto.d.ts +12 -0
- package/dist/inventary/dto/update-inventary.dto.js +8 -0
- package/dist/inventary/index.d.ts +8 -0
- package/dist/inventary/index.js +24 -0
- package/dist/inventary/schemas/inventary-pt.schema.d.ts +3 -0
- package/dist/inventary/schemas/inventary-pt.schema.js +12 -0
- package/dist/inventary/schemas/inventary-type.schema.d.ts +3 -0
- package/dist/inventary/schemas/inventary-type.schema.js +12 -0
- package/dist/inventary/schemas/inventary.schema.d.ts +3 -0
- package/dist/inventary/schemas/inventary.schema.js +32 -0
- package/dist/marks/dto/change-mark-quantity.dto.d.ts +86 -0
- package/dist/marks/dto/change-mark-quantity.dto.js +12 -0
- package/dist/marks/dto/create-mark.dto.d.ts +42 -0
- package/dist/marks/dto/create-mark.dto.js +18 -0
- package/dist/marks/dto/cut-marks.dto.d.ts +22 -0
- package/dist/marks/dto/cut-marks.dto.js +12 -0
- package/dist/marks/dto/get-mark-for-modal.dto.d.ts +19 -0
- package/dist/marks/dto/get-mark-for-modal.dto.js +11 -0
- package/dist/marks/dto/get-result-work.dto.d.ts +36 -0
- package/dist/marks/dto/get-result-work.dto.js +14 -0
- package/dist/marks/dto/update-mark.dto.d.ts +33 -0
- package/dist/marks/dto/update-mark.dto.js +21 -0
- package/dist/marks/enums/enum.d.ts +6 -0
- package/dist/marks/enums/enum.js +10 -0
- package/dist/marks/index.d.ts +10 -0
- package/dist/marks/index.js +26 -0
- package/dist/marks/interfaces/interface.d.ts +7 -0
- package/dist/marks/interfaces/interface.js +2 -0
- package/dist/marks/schemas/marks.schema.d.ts +88 -0
- package/dist/marks/schemas/marks.schema.js +29 -0
- package/dist/marks/type/type.d.ts +50 -0
- package/dist/marks/type/type.js +26 -0
- package/dist/material/dto/check-name-unique.dto.d.ts +13 -0
- package/dist/material/dto/check-name-unique.dto.js +9 -0
- package/dist/material/dto/create-material.dto.d.ts +599 -0
- package/dist/material/dto/create-material.dto.js +86 -0
- package/dist/material/dto/create-subtype-material.dto.d.ts +22 -0
- package/dist/material/dto/create-subtype-material.dto.js +12 -0
- package/dist/material/dto/get-material-paginate.dto.d.ts +27 -0
- package/dist/material/dto/get-material-paginate.dto.js +13 -0
- package/dist/material/dto/get-material-provider.dto.d.ts +21 -0
- package/dist/material/dto/get-material-provider.dto.js +11 -0
- package/dist/material/dto/get-one-material.dto.d.ts +12 -0
- package/dist/material/dto/get-one-material.dto.js +16 -0
- package/dist/material/dto/includes-material.dto.d.ts +12 -0
- package/dist/material/dto/includes-material.dto.js +8 -0
- package/dist/material/dto/material-include.dto.d.ts +12 -0
- package/dist/material/dto/material-include.dto.js +8 -0
- package/dist/material/dto/up-create-type-material.dto.d.ts +19 -0
- package/dist/material/dto/up-create-type-material.dto.js +11 -0
- package/dist/material/enum/enum.d.ts +4 -0
- package/dist/material/enum/enum.js +8 -0
- package/dist/material/index.d.ts +16 -0
- package/dist/material/index.js +32 -0
- package/dist/material/interfaces/interface.d.ts +22 -0
- package/dist/material/interfaces/interface.js +2 -0
- package/dist/material/schemas/mat-pod-mat.schema.d.ts +15 -0
- package/dist/material/schemas/mat-pod-mat.schema.js +9 -0
- package/dist/material/schemas/material-characteristics.schema.d.ts +230 -0
- package/dist/material/schemas/material-characteristics.schema.js +20 -0
- package/dist/material/schemas/material.schema.d.ts +560 -0
- package/dist/material/schemas/material.schema.js +26 -0
- package/dist/material/schemas/subtype-material.schema.d.ts +21 -0
- package/dist/material/schemas/subtype-material.schema.js +11 -0
- package/dist/material/schemas/type-material.schema.d.ts +423 -0
- package/dist/material/schemas/type-material.schema.js +26 -0
- package/dist/metaloworking/dto/create-metaloworking.dto.d.ts +21 -0
- package/dist/metaloworking/dto/create-metaloworking.dto.js +11 -0
- package/dist/metaloworking/dto/delete-metalloworking.dto.d.ts +21 -0
- package/dist/metaloworking/dto/delete-metalloworking.dto.js +11 -0
- package/dist/metaloworking/dto/delete-shipment.dto.d.ts +12 -0
- package/dist/metaloworking/dto/delete-shipment.dto.js +8 -0
- package/dist/metaloworking/dto/get-metallworking-operation-count.dto.d.ts +62 -0
- package/dist/metaloworking/dto/get-metallworking-operation-count.dto.js +9 -0
- package/dist/metaloworking/dto/get-metallworking-operation-pagination.dto.d.ts +43 -0
- package/dist/metaloworking/dto/get-metallworking-operation-pagination.dto.js +17 -0
- package/dist/metaloworking/dto/get-metallworking-pagination.dto.d.ts +46 -0
- package/dist/metaloworking/dto/get-metallworking-pagination.dto.js +19 -0
- package/dist/metaloworking/dto/get-result-work.dto.d.ts +16 -0
- package/dist/metaloworking/dto/get-result-work.dto.js +9 -0
- package/dist/metaloworking/dto/metaloworking-coming.dto.d.ts +35 -0
- package/dist/metaloworking/dto/metaloworking-coming.dto.js +18 -0
- package/dist/metaloworking/dto/set-date-shipment.dto.d.ts +18 -0
- package/dist/metaloworking/dto/set-date-shipment.dto.js +10 -0
- package/dist/metaloworking/dto/update-metalloworking.dto.d.ts +15 -0
- package/dist/metaloworking/dto/update-metalloworking.dto.js +9 -0
- package/dist/metaloworking/index.d.ts +13 -0
- package/dist/metaloworking/index.js +29 -0
- package/dist/metaloworking/schemas/metaloworking-by-operation.schema.d.ts +67 -0
- package/dist/metaloworking/schemas/metaloworking-by-operation.schema.js +22 -0
- package/dist/metaloworking/schemas/metaloworking-coming.schema.d.ts +68 -0
- package/dist/metaloworking/schemas/metaloworking-coming.schema.js +18 -0
- package/dist/metaloworking/schemas/metaloworking.schema.d.ts +42 -0
- package/dist/metaloworking/schemas/metaloworking.schema.js +15 -0
- package/dist/methods/methods.d.ts +1 -0
- package/dist/methods/methods.js +16 -0
- package/dist/movement-error/index.d.ts +1 -0
- package/dist/movement-error/index.js +17 -0
- package/dist/movement-error/schemas/movement-error.schema.d.ts +35 -0
- package/dist/movement-error/schemas/movement-error.schema.js +13 -0
- package/dist/movement-object/dto/create-moving.dto.d.ts +27 -0
- package/dist/movement-object/dto/create-moving.dto.js +14 -0
- package/dist/movement-object/index.d.ts +2 -0
- package/dist/movement-object/index.js +18 -0
- package/dist/movement-object/schemas/get-one-object-history.schema.d.ts +66 -0
- package/dist/movement-object/schemas/get-one-object-history.schema.js +25 -0
- package/dist/moving/index.d.ts +2 -0
- package/dist/moving/index.js +18 -0
- package/dist/moving/interfaces/interface.d.ts +3 -0
- package/dist/moving/interfaces/interface.js +2 -0
- package/dist/moving/schemas/moving.schema.d.ts +1308 -0
- package/dist/moving/schemas/moving.schema.js +18 -0
- package/dist/operations/dto/check-name-unique.dto.d.ts +9 -0
- package/dist/operations/dto/check-name-unique.dto.js +7 -0
- package/dist/operations/dto/create-type-operation.dto.d.ts +45 -0
- package/dist/operations/dto/create-type-operation.dto.js +19 -0
- package/dist/operations/dto/up-create-tech-process.dto.d.ts +27 -0
- package/dist/operations/dto/up-create-tech-process.dto.js +13 -0
- package/dist/operations/dto/update-create-operation.dto.d.ts +42 -0
- package/dist/operations/dto/update-create-operation.dto.js +18 -0
- package/dist/operations/dto/update-operation-tech.dto.d.ts +21 -0
- package/dist/operations/dto/update-operation-tech.dto.js +11 -0
- package/dist/operations/dto/update-type-operation.dto.d.ts +48 -0
- package/dist/operations/dto/update-type-operation.dto.js +20 -0
- package/dist/operations/index.d.ts +12 -0
- package/dist/operations/index.js +28 -0
- package/dist/operations/interfaces/interface.d.ts +57 -0
- package/dist/operations/interfaces/interface.js +13 -0
- package/dist/operations/schemas/operation-equipment.schema.d.ts +15 -0
- package/dist/operations/schemas/operation-equipment.schema.js +9 -0
- package/dist/operations/schemas/operation-material.schema.d.ts +15 -0
- package/dist/operations/schemas/operation-material.schema.js +9 -0
- package/dist/operations/schemas/operation.schema.d.ts +193 -0
- package/dist/operations/schemas/operation.schema.js +28 -0
- package/dist/operations/schemas/type-operation.schema.d.ts +36 -0
- package/dist/operations/schemas/type-operation.schema.js +15 -0
- package/dist/operations/schemas/type_oper_user.schema.d.ts +15 -0
- package/dist/operations/schemas/type_oper_user.schema.js +9 -0
- package/dist/product/dto/get-deficit.dto.d.ts +25 -0
- package/dist/product/dto/get-deficit.dto.js +13 -0
- package/dist/product/dto/get-include.dto.d.ts +9 -0
- package/dist/product/dto/get-include.dto.js +7 -0
- package/dist/product/dto/get-one-producct.dto.d.ts +13 -0
- package/dist/product/dto/get-one-producct.dto.js +9 -0
- package/dist/product/dto/get-remains-product.dto.d.ts +12 -0
- package/dist/product/dto/get-remains-product.dto.js +8 -0
- package/dist/product/dto/product-pagination.dto.d.ts +30 -0
- package/dist/product/dto/product-pagination.dto.js +14 -0
- package/dist/product/dto/recursive-childrens.dto.d.ts +51 -0
- package/dist/product/dto/recursive-childrens.dto.js +21 -0
- package/dist/product/dto/up-create-product.dto.d.ts +62 -0
- package/dist/product/dto/up-create-product.dto.js +25 -0
- package/dist/product/index.d.ts +16 -0
- package/dist/product/index.js +32 -0
- package/dist/product/interfaces/interface.d.ts +11 -0
- package/dist/product/interfaces/interface.js +2 -0
- package/dist/product/schemas/product-cbed.schema.d.ts +16 -0
- package/dist/product/schemas/product-cbed.schema.js +8 -0
- package/dist/product/schemas/product-deficit.schema.d.ts +265 -0
- package/dist/product/schemas/product-deficit.schema.js +10 -0
- package/dist/product/schemas/product-detal.schema.d.ts +16 -0
- package/dist/product/schemas/product-detal.schema.js +8 -0
- package/dist/product/schemas/product-material.schema.d.ts +16 -0
- package/dist/product/schemas/product-material.schema.js +8 -0
- package/dist/product/schemas/product-specification.schema.d.ts +19 -0
- package/dist/product/schemas/product-specification.schema.js +10 -0
- package/dist/product/schemas/product.schema.d.ts +106 -0
- package/dist/product/schemas/product.schema.js +38 -0
- package/dist/product/type/type.d.ts +12 -0
- package/dist/product/type/type.js +2 -0
- package/dist/product/types/product-types.d.ts +12 -0
- package/dist/product/types/product-types.js +2 -0
- package/dist/production-tasks/default-data/default-data.d.ts +2 -0
- package/dist/production-tasks/default-data/default-data.js +7 -0
- package/dist/production-tasks/dto/change-due-date.dto.d.ts +12 -0
- package/dist/production-tasks/dto/change-due-date.dto.js +8 -0
- package/dist/production-tasks/dto/create-operation-pos.dto.d.ts +82 -0
- package/dist/production-tasks/dto/create-operation-pos.dto.js +18 -0
- package/dist/production-tasks/dto/create-production-task.dto.d.ts +83 -0
- package/dist/production-tasks/dto/create-production-task.dto.js +23 -0
- package/dist/production-tasks/dto/cut-production-task.dto.d.ts +22 -0
- package/dist/production-tasks/dto/cut-production-task.dto.js +12 -0
- package/dist/production-tasks/dto/get-by-users.dto.d.ts +16 -0
- package/dist/production-tasks/dto/get-by-users.dto.js +10 -0
- package/dist/production-tasks/dto/get-deficits-detal-by-production-task.dto.d.ts +49 -0
- package/dist/production-tasks/dto/get-deficits-detal-by-production-task.dto.js +21 -0
- package/dist/production-tasks/dto/get-production-task-by-equipment.dto.d.ts +15 -0
- package/dist/production-tasks/dto/get-production-task-by-equipment.dto.js +9 -0
- package/dist/production-tasks/dto/get-production-task-by-user.dto.d.ts +15 -0
- package/dist/production-tasks/dto/get-production-task-by-user.dto.js +9 -0
- package/dist/production-tasks/dto/get-production-task.dto.d.ts +26 -0
- package/dist/production-tasks/dto/get-production-task.dto.js +14 -0
- package/dist/production-tasks/dto/get-result-works.dto.d.ts +13 -0
- package/dist/production-tasks/dto/get-result-works.dto.js +8 -0
- package/dist/production-tasks/dto/get-taks-by-entity.dto.d.ts +13 -0
- package/dist/production-tasks/dto/get-taks-by-entity.dto.js +9 -0
- package/dist/production-tasks/dto/get-taks-by-toperation.dto.d.ts +16 -0
- package/dist/production-tasks/dto/get-taks-by-toperation.dto.js +13 -0
- package/dist/production-tasks/dto/get-toperations.dto.d.ts +13 -0
- package/dist/production-tasks/dto/get-toperations.dto.js +19 -0
- package/dist/production-tasks/dto/online-board-working.dto.d.ts +59 -0
- package/dist/production-tasks/dto/online-board-working.dto.js +28 -0
- package/dist/production-tasks/dto/percent-created.dto.d.ts +13 -0
- package/dist/production-tasks/dto/percent-created.dto.js +9 -0
- package/dist/production-tasks/dto/plan-production-task.dto.d.ts +56 -0
- package/dist/production-tasks/dto/plan-production-task.dto.js +30 -0
- package/dist/production-tasks/dto/set-start-time.dto.d.ts +12 -0
- package/dist/production-tasks/dto/set-start-time.dto.js +8 -0
- package/dist/production-tasks/dto/update-marks.dto.d.ts +37 -0
- package/dist/production-tasks/dto/update-marks.dto.js +9 -0
- package/dist/production-tasks/dto/update-position.dto.d.ts +21 -0
- package/dist/production-tasks/dto/update-position.dto.js +11 -0
- package/dist/production-tasks/dto/update-responsible.dto.d.ts +12 -0
- package/dist/production-tasks/dto/update-responsible.dto.js +8 -0
- package/dist/production-tasks/dto/update-status.dto.d.ts +13 -0
- package/dist/production-tasks/dto/update-status.dto.js +9 -0
- package/dist/production-tasks/dto/update.dto.d.ts +15 -0
- package/dist/production-tasks/dto/update.dto.js +9 -0
- package/dist/production-tasks/enums/production-tasks.d.ts +9 -0
- package/dist/production-tasks/enums/production-tasks.js +14 -0
- package/dist/production-tasks/index.d.ts +32 -0
- package/dist/production-tasks/index.js +48 -0
- package/dist/production-tasks/interfaces/online-board.d.ts +38 -0
- package/dist/production-tasks/interfaces/online-board.js +2 -0
- package/dist/production-tasks/interfaces/production-tasks.d.ts +146 -0
- package/dist/production-tasks/interfaces/production-tasks.js +2 -0
- package/dist/production-tasks/methods/methods.d.ts +3 -0
- package/dist/production-tasks/methods/methods.js +19 -0
- package/dist/production-tasks/schemas/production-operation-pos.schema.d.ts +142 -0
- package/dist/production-tasks/schemas/production-operation-pos.schema.js +35 -0
- package/dist/production-tasks/schemas/production-taks-assembly.schema.d.ts +16 -0
- package/dist/production-tasks/schemas/production-taks-assembly.schema.js +8 -0
- package/dist/production-tasks/schemas/production-taks-metalloworkig.schema.d.ts +16 -0
- package/dist/production-tasks/schemas/production-taks-metalloworkig.schema.js +8 -0
- package/dist/production-tasks/schemas/production-taks-start-time.schema.d.ts +16 -0
- package/dist/production-tasks/schemas/production-taks-start-time.schema.js +8 -0
- package/dist/production-tasks/schemas/production-task.schema.d.ts +36 -0
- package/dist/production-tasks/schemas/production-task.schema.js +16 -0
- package/dist/provider/dto/create-provider.dto.d.ts +46 -0
- package/dist/provider/dto/create-provider.dto.js +20 -0
- package/dist/provider/dto/provider-pagination.dto.d.ts +21 -0
- package/dist/provider/dto/provider-pagination.dto.js +11 -0
- package/dist/provider/index.d.ts +6 -0
- package/dist/provider/index.js +22 -0
- package/dist/provider/interfaces/interface.d.ts +3 -0
- package/dist/provider/interfaces/interface.js +2 -0
- package/dist/provider/schemas/provider.schema.d.ts +33 -0
- package/dist/provider/schemas/provider.schema.js +15 -0
- package/dist/provider/schemas/providers-equipment.schema.d.ts +16 -0
- package/dist/provider/schemas/providers-equipment.schema.js +8 -0
- package/dist/provider/schemas/providers-inventary.schema.d.ts +16 -0
- package/dist/provider/schemas/providers-inventary.schema.js +8 -0
- package/dist/rack/dto/create-rack.dto.d.ts +180 -0
- package/dist/rack/dto/create-rack.dto.js +16 -0
- package/dist/rack/dto/get-all-racks.dto.d.ts +9 -0
- package/dist/rack/dto/get-all-racks.dto.js +7 -0
- package/dist/rack/dto/update-cell.dto.d.ts +51 -0
- package/dist/rack/dto/update-cell.dto.js +35 -0
- package/dist/rack/dto/update-rack.dto.d.ts +183 -0
- package/dist/rack/dto/update-rack.dto.js +17 -0
- package/dist/rack/index.d.ts +7 -0
- package/dist/rack/index.js +23 -0
- package/dist/rack/interfaces/interface.d.ts +392 -0
- package/dist/rack/interfaces/interface.js +24 -0
- package/dist/rack/schemas/rack.schema.d.ts +186 -0
- package/dist/rack/schemas/rack.schema.js +12 -0
- package/dist/rack/types/types.d.ts +6 -0
- package/dist/rack/types/types.js +2 -0
- package/dist/role/default-value/index.d.ts +2 -0
- package/dist/role/default-value/index.js +417 -0
- package/dist/role/dto/check-name-unique.dto.d.ts +9 -0
- package/dist/role/dto/check-name-unique.dto.js +7 -0
- package/dist/role/dto/create-role.dto.d.ts +12 -0
- package/dist/role/dto/create-role.dto.js +12 -0
- package/dist/role/dto/update-assets.dto.d.ts +13 -0
- package/dist/role/dto/update-assets.dto.js +16 -0
- package/dist/role/dto/update-role.dto.d.ts +15 -0
- package/dist/role/dto/update-role.dto.js +9 -0
- package/dist/role/index.d.ts +8 -0
- package/dist/role/index.js +24 -0
- package/dist/role/interfaces/interface.d.ts +4 -0
- package/dist/role/interfaces/interface.js +2 -0
- package/dist/role/schemas/role.schema.d.ts +1233 -0
- package/dist/role/schemas/role.schema.js +12 -0
- package/dist/role/types/role.d.ts +44 -0
- package/dist/role/types/role.js +2 -0
- package/dist/sclad/dto/get-one-stock-order.dto.d.ts +15 -0
- package/dist/sclad/dto/get-one-stock-order.dto.js +13 -0
- package/dist/sclad/dto/get-remains.dto.d.ts +19 -0
- package/dist/sclad/dto/get-remains.dto.js +11 -0
- package/dist/sclad/dto/get-revision-history.dto.d.ts +19 -0
- package/dist/sclad/dto/get-revision-history.dto.js +11 -0
- package/dist/sclad/dto/need-by-parent.dto.d.ts +19 -0
- package/dist/sclad/dto/need-by-parent.dto.js +11 -0
- package/dist/sclad/dto/revision-update.dto.d.ts +19 -0
- package/dist/sclad/dto/revision-update.dto.js +11 -0
- package/dist/sclad/index.d.ts +9 -0
- package/dist/sclad/index.js +25 -0
- package/dist/sclad/interfaces/interface.d.ts +8 -0
- package/dist/sclad/interfaces/interface.js +2 -0
- package/dist/sclad/schemas/remain.schema.d.ts +48 -0
- package/dist/sclad/schemas/remain.schema.js +20 -0
- package/dist/sclad/schemas/remains.schema.d.ts +163 -0
- package/dist/sclad/schemas/remains.schema.js +24 -0
- package/dist/sclad/schemas/revision.schema.d.ts +58 -0
- package/dist/sclad/schemas/revision.schema.js +22 -0
- package/dist/settings/dto/create-edizm.dto.d.ts +15 -0
- package/dist/settings/dto/create-edizm.dto.js +9 -0
- package/dist/settings/dto/create-type-edizm.dto.d.ts +9 -0
- package/dist/settings/dto/create-type-edizm.dto.js +7 -0
- package/dist/settings/dto/delete-edizm.dto.d.ts +9 -0
- package/dist/settings/dto/delete-edizm.dto.js +7 -0
- package/dist/settings/dto/update-edizm.dto.d.ts +15 -0
- package/dist/settings/dto/update-edizm.dto.js +9 -0
- package/dist/settings/index.d.ts +8 -0
- package/dist/settings/index.js +24 -0
- package/dist/settings/interfaces/interface.d.ts +8 -0
- package/dist/settings/interfaces/interface.js +2 -0
- package/dist/settings/schemas/inaction.schema.d.ts +13 -0
- package/dist/settings/schemas/inaction.schema.js +7 -0
- package/dist/settings/schemas/norm-hours.schema.d.ts +13 -0
- package/dist/settings/schemas/norm-hours.schema.js +7 -0
- package/dist/settings/schemas/sebestoim.schema.d.ts +21 -0
- package/dist/settings/schemas/sebestoim.schema.js +11 -0
- package/dist/shipments/dto/change-date-urgency.dto.d.ts +12 -0
- package/dist/shipments/dto/change-date-urgency.dto.js +8 -0
- package/dist/shipments/dto/entity-filtering-by-shipment.dto.d.ts +16 -0
- package/dist/shipments/dto/entity-filtering-by-shipment.dto.js +10 -0
- package/dist/shipments/dto/format-list-shipment.dto.d.ts +28 -0
- package/dist/shipments/dto/format-list-shipment.dto.js +14 -0
- package/dist/shipments/dto/get-attributes.dto.d.ts +12 -0
- package/dist/shipments/dto/get-attributes.dto.js +8 -0
- package/dist/shipments/dto/sh-check-pagination.dto.d.ts +30 -0
- package/dist/shipments/dto/sh-check-pagination.dto.js +10 -0
- package/dist/shipments/dto/sh-check.dto.d.ts +48 -0
- package/dist/shipments/dto/sh-check.dto.js +20 -0
- package/dist/shipments/dto/sh-complit-update.dto.d.ts +28 -0
- package/dist/shipments/dto/sh-complit-update.dto.js +29 -0
- package/dist/shipments/dto/shipments-list-pagination-response.dto.d.ts +239 -0
- package/dist/shipments/dto/shipments-list-pagination-response.dto.js +6 -0
- package/dist/shipments/dto/shipments-list-pagination.dto.d.ts +18 -0
- package/dist/shipments/dto/shipments-list-pagination.dto.js +16 -0
- package/dist/shipments/dto/shipments-paginate.dto.d.ts +40 -0
- package/dist/shipments/dto/shipments-paginate.dto.js +19 -0
- package/dist/shipments/dto/up-create-shipments.dto.d.ts +12 -0
- package/dist/shipments/dto/up-create-shipments.dto.js +8 -0
- package/dist/shipments/index.d.ts +23 -0
- package/dist/shipments/index.js +39 -0
- package/dist/shipments/interface/interface.d.ts +12 -0
- package/dist/shipments/interface/interface.js +2 -0
- package/dist/shipments/schemas/sh-complit-user.schema.d.ts +15 -0
- package/dist/shipments/schemas/sh-complit-user.schema.js +9 -0
- package/dist/shipments/schemas/sh-complit.schema.d.ts +89 -0
- package/dist/shipments/schemas/sh-complit.schema.js +24 -0
- package/dist/shipments/schemas/shipment-list-item.schema.d.ts +164 -0
- package/dist/shipments/schemas/shipment-list-item.schema.js +44 -0
- package/dist/shipments/schemas/shipments-cbed.schema.d.ts +15 -0
- package/dist/shipments/schemas/shipments-cbed.schema.js +9 -0
- package/dist/shipments/schemas/shipments-detal.schema.d.ts +15 -0
- package/dist/shipments/schemas/shipments-detal.schema.js +9 -0
- package/dist/shipments/schemas/shipments-material.schema.d.ts +15 -0
- package/dist/shipments/schemas/shipments-material.schema.js +9 -0
- package/dist/shipments/schemas/shipments-sh-complit.schema.d.ts +15 -0
- package/dist/shipments/schemas/shipments-sh-complit.schema.js +9 -0
- package/dist/shipments/schemas/shipments.schema.d.ts +144 -0
- package/dist/shipments/schemas/shipments.schema.js +27 -0
- package/dist/shipments/schemas/shipped-shipments.schema.d.ts +18 -0
- package/dist/shipments/schemas/shipped-shipments.schema.js +10 -0
- package/dist/shipments/types/increment-shipments-kolvo.type.d.ts +132 -0
- package/dist/shipments/types/increment-shipments-kolvo.type.js +14 -0
- package/dist/shipments/types/types.d.ts +16 -0
- package/dist/shipments/types/types.js +14 -0
- package/dist/shipments/types/update-shipments-by-product.type.d.ts +126 -0
- package/dist/shipments/types/update-shipments-by-product.type.js +12 -0
- package/dist/specification/dto/specification-attributes.dto.d.ts +18 -0
- package/dist/specification/dto/specification-attributes.dto.js +10 -0
- package/dist/specification/index.d.ts +4 -0
- package/dist/specification/index.js +20 -0
- package/dist/specification/interface/interface.d.ts +11 -0
- package/dist/specification/interface/interface.js +2 -0
- package/dist/specification/schema/attributes.schema.d.ts +3305 -0
- package/dist/specification/schema/attributes.schema.js +12 -0
- package/dist/specification/type/type.d.ts +6 -0
- package/dist/specification/type/type.js +2 -0
- package/dist/stock-order/dto/all-stock-orders-pagination.dto.d.ts +28 -0
- package/dist/stock-order/dto/all-stock-orders-pagination.dto.js +14 -0
- package/dist/stock-order/dto/create-stock-order.dto.d.ts +47 -0
- package/dist/stock-order/dto/create-stock-order.dto.js +9 -0
- package/dist/stock-order/dto/get-sotck-order-pagination.dto.d.ts +19 -0
- package/dist/stock-order/dto/get-sotck-order-pagination.dto.js +11 -0
- package/dist/stock-order/dto/get-stock-order-pagination.dto.d.ts +30 -0
- package/dist/stock-order/dto/get-stock-order-pagination.dto.js +10 -0
- package/dist/stock-order/dto/update-stock-order-item.dto.d.ts +15 -0
- package/dist/stock-order/dto/update-stock-order-item.dto.js +9 -0
- package/dist/stock-order/dto/update-stock-order.dto.d.ts +9 -0
- package/dist/stock-order/dto/update-stock-order.dto.js +7 -0
- package/dist/stock-order/enums/enums.d.ts +5 -0
- package/dist/stock-order/enums/enums.js +9 -0
- package/dist/stock-order/index.d.ts +10 -0
- package/dist/stock-order/index.js +26 -0
- package/dist/stock-order/schemas/stock-order-item.schema.d.ts +49 -0
- package/dist/stock-order/schemas/stock-order-item.schema.js +18 -0
- package/dist/stock-order/schemas/stock-order.schema.d.ts +32 -0
- package/dist/stock-order/schemas/stock-order.schema.js +13 -0
- package/dist/stock-order/type/type.d.ts +27 -0
- package/dist/stock-order/type/type.js +14 -0
- package/dist/supply/index.d.ts +1 -0
- package/dist/supply/index.js +17 -0
- package/dist/supply/schemas/supply.schema.d.ts +20 -0
- package/dist/supply/schemas/supply.schema.js +9 -0
- package/dist/tech-process/dto/up-create-tech-process.dto.d.ts +25 -0
- package/dist/tech-process/dto/up-create-tech-process.dto.js +12 -0
- package/dist/tech-process/index.d.ts +2 -0
- package/dist/tech-process/index.js +18 -0
- package/dist/tech-process/schemas/tech-process.schema.d.ts +295 -0
- package/dist/tech-process/schemas/tech-process.schema.js +15 -0
- package/dist/thread/dto/add-thread.dto.d.ts +22 -0
- package/dist/thread/dto/add-thread.dto.js +12 -0
- package/dist/thread/dto/thread-entity.dto.d.ts +13 -0
- package/dist/thread/dto/thread-entity.dto.js +9 -0
- package/dist/thread/dto/thread-pagination.dto.d.ts +19 -0
- package/dist/thread/dto/thread-pagination.dto.js +11 -0
- package/dist/thread/dto/update-thread.dto.d.ts +9 -0
- package/dist/thread/dto/update-thread.dto.js +7 -0
- package/dist/thread/index.d.ts +6 -0
- package/dist/thread/index.js +22 -0
- package/dist/thread/schemas/thread-entity.schema.d.ts +19 -0
- package/dist/thread/schemas/thread-entity.schema.js +11 -0
- package/dist/thread/schemas/thread.schema.d.ts +3 -0
- package/dist/thread/schemas/thread.schema.js +12 -0
- package/dist/user/default-value/model.d.ts +7 -0
- package/dist/user/default-value/model.js +26 -0
- package/dist/user/dto/add-role.dto.d.ts +12 -0
- package/dist/user/dto/add-role.dto.js +18 -0
- package/dist/user/dto/auth-user.dto.d.ts +15 -0
- package/dist/user/dto/auth-user.dto.js +9 -0
- package/dist/user/dto/ban-user.dto.d.ts +12 -0
- package/dist/user/dto/ban-user.dto.js +18 -0
- package/dist/user/dto/create-user.dto.d.ts +72 -0
- package/dist/user/dto/create-user.dto.js +80 -0
- package/dist/user/dto/get-users.dto.d.ts +24 -0
- package/dist/user/dto/get-users.dto.js +44 -0
- package/dist/user/dto/tabel-unique.dto.d.ts +9 -0
- package/dist/user/dto/tabel-unique.dto.js +7 -0
- package/dist/user/enums.d.ts +7 -0
- package/dist/user/enums.js +11 -0
- package/dist/user/index.d.ts +10 -0
- package/dist/user/index.js +26 -0
- package/dist/user/interfaces/create-user.interface.d.ts +45 -0
- package/dist/user/interfaces/create-user.interface.js +18 -0
- package/dist/user/schemas/user.schema.d.ts +858 -0
- package/dist/user/schemas/user.schema.js +42 -0
- package/dist/utils/date.methods.d.ts +68 -0
- package/dist/utils/date.methods.js +141 -0
- package/dist/utils/default-value/default-value.d.ts +12 -0
- package/dist/utils/default-value/default-value.js +25 -0
- package/dist/utils/edizm.d.ts +40 -0
- package/dist/utils/edizm.js +125 -0
- package/dist/utils/enums.d.ts +332 -0
- package/dist/utils/enums.js +396 -0
- package/dist/utils/index.d.ts +27 -0
- package/dist/utils/index.js +43 -0
- package/dist/utils/interface/parent-type.interface.d.ts +7 -0
- package/dist/utils/interface/parent-type.interface.js +2 -0
- package/dist/utils/interface/response.d.ts +4 -0
- package/dist/utils/interface/response.js +2 -0
- package/dist/utils/interfaces.d.ts +3 -0
- package/dist/utils/interfaces.js +2 -0
- package/dist/utils/methods/compression.d.ts +12 -0
- package/dist/utils/methods/compression.js +54 -0
- package/dist/utils/methods/documents.d.ts +6 -0
- package/dist/utils/methods/documents.js +12 -0
- package/dist/utils/methods/operations.d.ts +28 -0
- package/dist/utils/methods/operations.js +97 -0
- package/dist/utils/methods/quantity.d.ts +6 -0
- package/dist/utils/methods/quantity.js +24 -0
- package/dist/utils/methods/sequelize.d.ts +19 -0
- package/dist/utils/methods/sequelize.js +23 -0
- package/dist/utils/methods/shipments.d.ts +23 -0
- package/dist/utils/methods/shipments.js +51 -0
- package/dist/utils/methods/snake-conversion.d.ts +19 -0
- package/dist/utils/methods/snake-conversion.js +51 -0
- package/dist/utils/methods/utils.d.ts +15 -0
- package/dist/utils/methods/utils.js +18 -0
- package/dist/utils/methods.d.ts +362 -0
- package/dist/utils/methods.js +1286 -0
- package/dist/utils/moving.d.ts +11 -0
- package/dist/utils/moving.js +30 -0
- package/dist/utils/operation.d.ts +64 -0
- package/dist/utils/operation.js +223 -0
- package/dist/utils/operations/opeartion.d.ts +15 -0
- package/dist/utils/operations/opeartion.js +32 -0
- package/dist/utils/promise-pool.d.ts +5 -0
- package/dist/utils/promise-pool.js +44 -0
- package/dist/utils/schemas/schema.d.ts +33 -0
- package/dist/utils/schemas/schema.js +16 -0
- package/dist/utils/templatesD3/block-templates.d.ts +32 -0
- package/dist/utils/templatesD3/block-templates.js +85 -0
- package/dist/utils/types/types.d.ts +114 -0
- package/dist/utils/types/types.js +2 -0
- package/dist/utils/types.d.ts +173 -0
- package/dist/utils/types.js +26 -0
- package/dist/utils/validation/transform.d.ts +7 -0
- package/dist/utils/validation/transform.js +19 -0
- package/dist/utils/workings.d.ts +49 -0
- package/dist/utils/workings.js +193 -0
- package/dist/utils/ws.d.ts +10 -0
- package/dist/utils/ws.js +21 -0
- package/dist/waybill/dto/create-waybill-product.dto.d.ts +66 -0
- package/dist/waybill/dto/create-waybill-product.dto.js +27 -0
- package/dist/waybill/dto/create-waybill.dto.d.ts +128 -0
- package/dist/waybill/dto/create-waybill.dto.js +15 -0
- package/dist/waybill/dto/update-waybill.dto.d.ts +19 -0
- package/dist/waybill/dto/update-waybill.dto.js +11 -0
- package/dist/waybill/enum/enum.d.ts +10 -0
- package/dist/waybill/enum/enum.js +14 -0
- package/dist/waybill/index.d.ts +9 -0
- package/dist/waybill/index.js +25 -0
- package/dist/waybill/interface/interface.d.ts +31 -0
- package/dist/waybill/interface/interface.js +2 -0
- package/dist/waybill/schemas/waybill-assembly.schema.d.ts +16 -0
- package/dist/waybill/schemas/waybill-assembly.schema.js +8 -0
- package/dist/waybill/schemas/waybill-metalloworking.schema.d.ts +16 -0
- package/dist/waybill/schemas/waybill-metalloworking.schema.js +8 -0
- package/dist/waybill/schemas/waybill-product.schema.d.ts +98 -0
- package/dist/waybill/schemas/waybill-product.schema.js +29 -0
- package/dist/waybill/schemas/waybill.schema.d.ts +39 -0
- package/dist/waybill/schemas/waybill.schema.js +14 -0
- package/package.json +38 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DetalSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const document_1 = require("../../document");
|
|
6
|
+
const cbed_1 = require("../../cbed");
|
|
7
|
+
const shipments_1 = require("../../shipments");
|
|
8
|
+
const metaloworking_1 = require("../../metaloworking");
|
|
9
|
+
const utils_1 = require("../../utils");
|
|
10
|
+
const material_1 = require("../../material");
|
|
11
|
+
const product_1 = require("../../product");
|
|
12
|
+
const stock_order_1 = require("../../stock-order");
|
|
13
|
+
exports.DetalSchema = zod_1.z.object({
|
|
14
|
+
id: zod_1.z.number().int().positive(),
|
|
15
|
+
name: zod_1.z.string(),
|
|
16
|
+
ban: zod_1.z.boolean().default(false),
|
|
17
|
+
quantity: zod_1.z.number().int().default(0),
|
|
18
|
+
min_remaining: zod_1.z.number().int().default(0),
|
|
19
|
+
remainder_after_coming: zod_1.z.number().int().default(0),
|
|
20
|
+
deficit: zod_1.z.number().int().default(0),
|
|
21
|
+
shipments_kolvo: zod_1.z.number().int().default(0),
|
|
22
|
+
production_ordered: zod_1.z.number().int().default(0),
|
|
23
|
+
deficit_by_sclad: zod_1.z.number().int().default(0),
|
|
24
|
+
designation: zod_1.z.string().nullish(),
|
|
25
|
+
description: zod_1.z.string().nullish(),
|
|
26
|
+
ava_path: zod_1.z.string().nullish(),
|
|
27
|
+
production_time_metalloworking: zod_1.z
|
|
28
|
+
.custom()
|
|
29
|
+
.default(utils_1.defaultProducitonTime)
|
|
30
|
+
.nullish(),
|
|
31
|
+
attention: zod_1.z.boolean().default(false),
|
|
32
|
+
parametrs: zod_1.z.custom().nullable(),
|
|
33
|
+
characteristic: zod_1.z.custom().nullable(),
|
|
34
|
+
workpiece_characterization: zod_1.z
|
|
35
|
+
.custom()
|
|
36
|
+
.nullable(),
|
|
37
|
+
materialList: zod_1.z.custom().default([]),
|
|
38
|
+
in_kit: zod_1.z.number().int().default(0),
|
|
39
|
+
documents: zod_1.z.array(document_1.DocumentsSchema).optional(),
|
|
40
|
+
materials: zod_1.z.array(material_1.MaterialSchema).optional(),
|
|
41
|
+
mat_zag: zod_1.z.number().int().nullish(),
|
|
42
|
+
mat_za_obj: zod_1.z.custom().optional(),
|
|
43
|
+
mat_zag_zam: zod_1.z.number().int().nullish(),
|
|
44
|
+
techProcesses: zod_1.z.custom().optional(),
|
|
45
|
+
responsibleId: zod_1.z.number().int(),
|
|
46
|
+
cbed: zod_1.z.array(cbed_1.CbedSchema).optional(),
|
|
47
|
+
products: zod_1.z.array(product_1.ProductSchema).optional(),
|
|
48
|
+
metaloworking: zod_1.z.array(metaloworking_1.MetaloworkingSchema).optional(),
|
|
49
|
+
sebestoim: zod_1.z.custom().optional(),
|
|
50
|
+
stock_orders_items: zod_1.z.array(stock_order_1.StockOrderItemSchema).optional(),
|
|
51
|
+
shipments: zod_1.z.array(shipments_1.ShipmentsSchema).optional(),
|
|
52
|
+
discontinued: zod_1.z.boolean().optional()
|
|
53
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type detalCharacteristicItem = {
|
|
2
|
+
name: string;
|
|
3
|
+
ez: string;
|
|
4
|
+
znach: string | number;
|
|
5
|
+
};
|
|
6
|
+
export type detalCharacteristicField = detalCharacteristicItem[];
|
|
7
|
+
export type detalParametrsType = {
|
|
8
|
+
ez: string;
|
|
9
|
+
znach: string | number;
|
|
10
|
+
};
|
|
11
|
+
export type detalParametrsField = {
|
|
12
|
+
preTime: detalParametrsType;
|
|
13
|
+
helperTime: detalParametrsType;
|
|
14
|
+
mainTime: detalParametrsType;
|
|
15
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { ModuleIncludeForDocumentEnum } from '../../utils';
|
|
3
|
+
export declare const AttachDocumentToEntityDtoZod: z.ZodObject<{
|
|
4
|
+
idEntity: z.ZodNumber;
|
|
5
|
+
idDocument: z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>;
|
|
6
|
+
typeEntity: z.ZodNativeEnum<typeof ModuleIncludeForDocumentEnum>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
idEntity: number;
|
|
9
|
+
idDocument: number | number[];
|
|
10
|
+
typeEntity: ModuleIncludeForDocumentEnum;
|
|
11
|
+
}, {
|
|
12
|
+
idEntity: number;
|
|
13
|
+
idDocument: number | number[];
|
|
14
|
+
typeEntity: ModuleIncludeForDocumentEnum;
|
|
15
|
+
}>;
|
|
16
|
+
export type AttachDocumentToEntityDtoType = z.infer<typeof AttachDocumentToEntityDtoZod>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AttachDocumentToEntityDtoZod = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const utils_1 = require("../../utils");
|
|
6
|
+
exports.AttachDocumentToEntityDtoZod = zod_1.z.object({
|
|
7
|
+
idEntity: zod_1.z.number().int(),
|
|
8
|
+
idDocument: zod_1.z.union([zod_1.z.number().int(), zod_1.z.array(zod_1.z.number().int())]),
|
|
9
|
+
typeEntity: zod_1.z.nativeEnum(utils_1.ModuleIncludeForDocumentEnum)
|
|
10
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const ChangeTypeDtoZod: z.ZodObject<{
|
|
3
|
+
id: z.ZodNumber;
|
|
4
|
+
type: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
type: string;
|
|
7
|
+
id: number;
|
|
8
|
+
}, {
|
|
9
|
+
type: string;
|
|
10
|
+
id: number;
|
|
11
|
+
}>;
|
|
12
|
+
export type ChangeTypeDtoType = z.infer<typeof ChangeTypeDtoZod>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const CheckNameExistingDtoZod: z.ZodObject<{
|
|
3
|
+
name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
|
+
name: string;
|
|
6
|
+
}, {
|
|
7
|
+
name?: string | undefined;
|
|
8
|
+
}>;
|
|
9
|
+
export type CheckNameExistingDtoType = z.infer<typeof CheckNameExistingDtoZod>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const CreateArrDocumentsDtoZod: z.ZodObject<{
|
|
3
|
+
docs: z.ZodString;
|
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
|
+
docs: string;
|
|
6
|
+
}, {
|
|
7
|
+
docs: string;
|
|
8
|
+
}>;
|
|
9
|
+
export type CreateArrDocumentsDtoType = z.infer<typeof CreateArrDocumentsDtoZod>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const CreateDocumentsDtoZod: z.ZodObject<{
|
|
3
|
+
name: z.ZodString;
|
|
4
|
+
path: z.ZodString;
|
|
5
|
+
description: z.ZodString;
|
|
6
|
+
version: z.ZodNumber;
|
|
7
|
+
type: z.ZodString;
|
|
8
|
+
ava: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
path: string;
|
|
11
|
+
type: string;
|
|
12
|
+
description: string;
|
|
13
|
+
name: string;
|
|
14
|
+
version: number;
|
|
15
|
+
ava: boolean;
|
|
16
|
+
}, {
|
|
17
|
+
path: string;
|
|
18
|
+
type: string;
|
|
19
|
+
description: string;
|
|
20
|
+
name: string;
|
|
21
|
+
version: number;
|
|
22
|
+
ava?: boolean | undefined;
|
|
23
|
+
}>;
|
|
24
|
+
export type CreateDocumentsDtoType = z.infer<typeof CreateDocumentsDtoZod>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateDocumentsDtoZod = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.CreateDocumentsDtoZod = zod_1.z.object({
|
|
6
|
+
name: zod_1.z.string(),
|
|
7
|
+
path: zod_1.z.string(),
|
|
8
|
+
description: zod_1.z.string(),
|
|
9
|
+
version: zod_1.z.number(),
|
|
10
|
+
type: zod_1.z.string(),
|
|
11
|
+
ava: zod_1.z.boolean().optional().default(false)
|
|
12
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { filterOptions } from '../../utils';
|
|
3
|
+
export declare const QueryPaginationDtoZod: z.ZodObject<{
|
|
4
|
+
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
5
|
+
filterOptions: z.ZodDefault<z.ZodOptional<z.ZodType<filterOptions, z.ZodTypeDef, filterOptions>>>;
|
|
6
|
+
searchString: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
page: number;
|
|
9
|
+
searchString: string | null;
|
|
10
|
+
filterOptions: filterOptions;
|
|
11
|
+
}, {
|
|
12
|
+
page?: number | undefined;
|
|
13
|
+
searchString?: string | null | undefined;
|
|
14
|
+
filterOptions?: filterOptions | undefined;
|
|
15
|
+
}>;
|
|
16
|
+
export type QueryPaginationDtoType = z.infer<typeof QueryPaginationDtoZod>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.QueryPaginationDtoZod = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.QueryPaginationDtoZod = zod_1.z.object({
|
|
6
|
+
page: zod_1.z.number().optional().default(1),
|
|
7
|
+
filterOptions: zod_1.z.custom().optional().default({
|
|
8
|
+
typeFile: null,
|
|
9
|
+
category: null
|
|
10
|
+
}),
|
|
11
|
+
searchString: zod_1.z.string().optional().nullable().default('')
|
|
12
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { ModuleIncludeForDocumentEnum } from '../../utils';
|
|
3
|
+
export declare const UnpinDocumentDtoSchema: z.ZodObject<{
|
|
4
|
+
idEntity: z.ZodNumber;
|
|
5
|
+
idDocument: z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>;
|
|
6
|
+
typeEntity: z.ZodNativeEnum<typeof ModuleIncludeForDocumentEnum>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
idEntity: number;
|
|
9
|
+
idDocument: number | number[];
|
|
10
|
+
typeEntity: ModuleIncludeForDocumentEnum;
|
|
11
|
+
}, {
|
|
12
|
+
idEntity: number;
|
|
13
|
+
idDocument: number | number[];
|
|
14
|
+
typeEntity: ModuleIncludeForDocumentEnum;
|
|
15
|
+
}>;
|
|
16
|
+
export type UnpinDocumentDtoType = z.infer<typeof UnpinDocumentDtoSchema>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UnpinDocumentDtoSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const utils_1 = require("../../utils");
|
|
6
|
+
exports.UnpinDocumentDtoSchema = zod_1.z.object({
|
|
7
|
+
idEntity: zod_1.z.number().int(),
|
|
8
|
+
idDocument: zod_1.z.union([zod_1.z.number().int(), zod_1.z.array(zod_1.z.number().int())]),
|
|
9
|
+
typeEntity: zod_1.z.nativeEnum(utils_1.ModuleIncludeForDocumentEnum)
|
|
10
|
+
});
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const UpdateDocumentDtoZod: z.ZodObject<{
|
|
3
|
+
name: z.ZodString;
|
|
4
|
+
version: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number | null | undefined, unknown>;
|
|
5
|
+
type: z.ZodString;
|
|
6
|
+
responsibleUserId: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
7
|
+
id: z.ZodNumber;
|
|
8
|
+
description: z.ZodString;
|
|
9
|
+
ava: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
type: string;
|
|
12
|
+
description: string;
|
|
13
|
+
id: number;
|
|
14
|
+
name: string;
|
|
15
|
+
ava: boolean;
|
|
16
|
+
responsibleUserId: number | null;
|
|
17
|
+
version?: number | null | undefined;
|
|
18
|
+
}, {
|
|
19
|
+
type: string;
|
|
20
|
+
description: string;
|
|
21
|
+
id: number;
|
|
22
|
+
name: string;
|
|
23
|
+
version?: unknown;
|
|
24
|
+
ava?: boolean | undefined;
|
|
25
|
+
responsibleUserId?: number | null | undefined;
|
|
26
|
+
}>;
|
|
27
|
+
export type UpdateDocumentDtoType = z.infer<typeof UpdateDocumentDtoZod>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateDocumentDtoZod = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.UpdateDocumentDtoZod = zod_1.z.object({
|
|
6
|
+
name: zod_1.z.string(),
|
|
7
|
+
version: zod_1.z.preprocess(val => typeof val === 'string' && parseInt(val, 10) ? parseInt(val, 10) : val, zod_1.z.number().nullable().optional()),
|
|
8
|
+
type: zod_1.z.string(),
|
|
9
|
+
responsibleUserId: zod_1.z.number().nullable().default(null),
|
|
10
|
+
id: zod_1.z.number(),
|
|
11
|
+
description: zod_1.z.string(),
|
|
12
|
+
ava: zod_1.z.boolean().optional().default(false)
|
|
13
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './schemas/documentsSchema';
|
|
2
|
+
export * from './interfaces/interface';
|
|
3
|
+
export * from './dto/unpin-document.dto';
|
|
4
|
+
export * from './dto/change-type.dto';
|
|
5
|
+
export * from './dto/check-name-exist';
|
|
6
|
+
export * from './dto/create-arr-documents.dto';
|
|
7
|
+
export * from './dto/create-documents.dto';
|
|
8
|
+
export * from './dto/query-pagination.dto';
|
|
9
|
+
export * from './dto/update-document.dto';
|
|
10
|
+
export * from './dto/attach-document-to-entity.dto';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./schemas/documentsSchema"), exports);
|
|
18
|
+
__exportStar(require("./interfaces/interface"), exports);
|
|
19
|
+
__exportStar(require("./dto/unpin-document.dto"), exports);
|
|
20
|
+
__exportStar(require("./dto/change-type.dto"), exports);
|
|
21
|
+
__exportStar(require("./dto/check-name-exist"), exports);
|
|
22
|
+
__exportStar(require("./dto/create-arr-documents.dto"), exports);
|
|
23
|
+
__exportStar(require("./dto/create-documents.dto"), exports);
|
|
24
|
+
__exportStar(require("./dto/query-pagination.dto"), exports);
|
|
25
|
+
__exportStar(require("./dto/update-document.dto"), exports);
|
|
26
|
+
__exportStar(require("./dto/attach-document-to-entity.dto"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface IDocumentsCreationAttrs {
|
|
2
|
+
name: string;
|
|
3
|
+
path: string;
|
|
4
|
+
hash: string;
|
|
5
|
+
}
|
|
6
|
+
export interface ICreateArrDocumens {
|
|
7
|
+
type: string;
|
|
8
|
+
version: number;
|
|
9
|
+
description: string;
|
|
10
|
+
name: string;
|
|
11
|
+
newVersion: boolean;
|
|
12
|
+
ava?: boolean;
|
|
13
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { ModelUser } from '../../user';
|
|
3
|
+
import { ModelMaterial } from '../../material';
|
|
4
|
+
import { ModelProviders } from '../../provider';
|
|
5
|
+
import { ModelEquipment } from '../../equipment';
|
|
6
|
+
import { ModelInstrument } from '../../instrument';
|
|
7
|
+
import { ModelInventary } from '../../inventary';
|
|
8
|
+
import { ModelDetal } from '../../detal';
|
|
9
|
+
import { ModelBuyer } from '../../buyer';
|
|
10
|
+
import { ModelProduct } from '../../product';
|
|
11
|
+
import { ModelCbed } from '../../cbed';
|
|
12
|
+
import { ModelActions } from '../../action/schemas/actions.schema';
|
|
13
|
+
import { ModelDeliveries } from '../../deliveries';
|
|
14
|
+
import { ModelShComplit, ModelShipments } from '../../shipments';
|
|
15
|
+
import { ModelOperation } from '../../operations';
|
|
16
|
+
import { ModelAssembleKit } from '../../assemble-kit';
|
|
17
|
+
import { ModelMoving } from '../../moving';
|
|
18
|
+
import { ModelTechProcess } from '../../tech-process';
|
|
19
|
+
import { ModelWaybill } from '../../waybill';
|
|
20
|
+
import { ModelCompany } from '../../company';
|
|
21
|
+
export declare const DocumentsSchema: z.ZodObject<{
|
|
22
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
+
name: z.ZodString;
|
|
24
|
+
path: z.ZodString;
|
|
25
|
+
type: z.ZodOptional<z.ZodString>;
|
|
26
|
+
description: z.ZodOptional<z.ZodString>;
|
|
27
|
+
version: z.ZodDefault<z.ZodNumber>;
|
|
28
|
+
ban: z.ZodDefault<z.ZodBoolean>;
|
|
29
|
+
ava: z.ZodDefault<z.ZodBoolean>;
|
|
30
|
+
sync_s3: z.ZodDefault<z.ZodBoolean>;
|
|
31
|
+
hash: z.ZodOptional<z.ZodString>;
|
|
32
|
+
responsible_user_id: z.ZodNullable<z.ZodNumber>;
|
|
33
|
+
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
path: string;
|
|
35
|
+
ban: boolean;
|
|
36
|
+
name: string;
|
|
37
|
+
version: number;
|
|
38
|
+
ava: boolean;
|
|
39
|
+
sync_s3: boolean;
|
|
40
|
+
responsible_user_id: number | null;
|
|
41
|
+
type?: string | undefined;
|
|
42
|
+
description?: string | undefined;
|
|
43
|
+
id?: number | null | undefined;
|
|
44
|
+
hash?: string | undefined;
|
|
45
|
+
}, {
|
|
46
|
+
path: string;
|
|
47
|
+
name: string;
|
|
48
|
+
responsible_user_id: number | null;
|
|
49
|
+
type?: string | undefined;
|
|
50
|
+
ban?: boolean | undefined;
|
|
51
|
+
description?: string | undefined;
|
|
52
|
+
id?: number | null | undefined;
|
|
53
|
+
version?: number | undefined;
|
|
54
|
+
ava?: boolean | undefined;
|
|
55
|
+
sync_s3?: boolean | undefined;
|
|
56
|
+
hash?: string | undefined;
|
|
57
|
+
}>;
|
|
58
|
+
export type ModelDocuments = z.infer<typeof DocumentsSchema> & {
|
|
59
|
+
users?: ModelUser[];
|
|
60
|
+
materials?: ModelMaterial[];
|
|
61
|
+
providers?: ModelProviders[];
|
|
62
|
+
companies?: ModelCompany[];
|
|
63
|
+
equipments?: ModelEquipment[];
|
|
64
|
+
instrument?: ModelInstrument[];
|
|
65
|
+
inventary?: ModelInventary[];
|
|
66
|
+
detals?: ModelDetal[];
|
|
67
|
+
buyers?: ModelBuyer[];
|
|
68
|
+
products?: ModelProduct[];
|
|
69
|
+
cbeds?: ModelCbed[];
|
|
70
|
+
actions?: ModelActions[];
|
|
71
|
+
deliveries?: ModelDeliveries[];
|
|
72
|
+
shipments?: ModelShipments[];
|
|
73
|
+
operations?: ModelOperation[];
|
|
74
|
+
assemble_kits?: ModelAssembleKit[];
|
|
75
|
+
movings?: ModelMoving[];
|
|
76
|
+
sh_complits?: ModelShComplit[];
|
|
77
|
+
tech_processis?: ModelTechProcess[];
|
|
78
|
+
waybills?: ModelWaybill[];
|
|
79
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DocumentsSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.DocumentsSchema = zod_1.z.object({
|
|
6
|
+
id: zod_1.z.number().nullish(),
|
|
7
|
+
name: zod_1.z.string().min(1, { message: 'Название файла обязательно' }),
|
|
8
|
+
path: zod_1.z.string().min(1, { message: 'Путь обязателен' }),
|
|
9
|
+
type: zod_1.z.string().optional(),
|
|
10
|
+
description: zod_1.z.string().optional(),
|
|
11
|
+
version: zod_1.z.number().int().positive().default(1),
|
|
12
|
+
ban: zod_1.z.boolean().default(false),
|
|
13
|
+
ava: zod_1.z.boolean().default(false),
|
|
14
|
+
sync_s3: zod_1.z.boolean().default(false),
|
|
15
|
+
hash: zod_1.z.string().optional(),
|
|
16
|
+
responsible_user_id: zod_1.z.number().int().positive().nullable()
|
|
17
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { UnitsEnum } from '../../utils';
|
|
2
|
+
export declare const EdizmIdByName: {
|
|
3
|
+
шт: number;
|
|
4
|
+
л: number;
|
|
5
|
+
кг: number;
|
|
6
|
+
м: number;
|
|
7
|
+
"\u043C.\u043A\u0443\u0431": number;
|
|
8
|
+
};
|
|
9
|
+
export declare const EdizmNameById: {
|
|
10
|
+
1: UnitsEnum;
|
|
11
|
+
2: UnitsEnum;
|
|
12
|
+
3: UnitsEnum;
|
|
13
|
+
4: UnitsEnum;
|
|
14
|
+
5: UnitsEnum;
|
|
15
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EdizmNameById = exports.EdizmIdByName = void 0;
|
|
4
|
+
const utils_1 = require("../../utils");
|
|
5
|
+
exports.EdizmIdByName = {
|
|
6
|
+
[utils_1.UnitsEnum.pc]: 1,
|
|
7
|
+
[utils_1.UnitsEnum.l]: 2,
|
|
8
|
+
[utils_1.UnitsEnum.kg]: 3,
|
|
9
|
+
[utils_1.UnitsEnum.m]: 4,
|
|
10
|
+
[utils_1.UnitsEnum.mCub]: 5
|
|
11
|
+
};
|
|
12
|
+
exports.EdizmNameById = {
|
|
13
|
+
1: utils_1.UnitsEnum.pc,
|
|
14
|
+
2: utils_1.UnitsEnum.l,
|
|
15
|
+
3: utils_1.UnitsEnum.kg,
|
|
16
|
+
4: utils_1.UnitsEnum.m,
|
|
17
|
+
5: utils_1.UnitsEnum.mCub
|
|
18
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./schemas/edizm.schema"), exports);
|
|
18
|
+
__exportStar(require("./schemas/type-edizm.schema"), exports);
|
|
19
|
+
__exportStar(require("./schemas/unit-type-edizm.schema"), exports);
|
|
20
|
+
__exportStar(require("./interfaces/interface"), exports);
|
|
21
|
+
__exportStar(require("./enum/enum"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { ModelTypeEdizm } from './type-edizm.schema';
|
|
3
|
+
export declare const EdizmSchema: z.ZodObject<{
|
|
4
|
+
id: z.ZodNumber;
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
short_name: z.ZodString;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
id: number;
|
|
9
|
+
name: string;
|
|
10
|
+
short_name: string;
|
|
11
|
+
}, {
|
|
12
|
+
id: number;
|
|
13
|
+
name: string;
|
|
14
|
+
short_name: string;
|
|
15
|
+
}>;
|
|
16
|
+
export type ModelEdizm = z.infer<typeof EdizmSchema> & {
|
|
17
|
+
type_edizm?: ModelTypeEdizm[];
|
|
18
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EdizmSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.EdizmSchema = zod_1.z.object({
|
|
6
|
+
id: zod_1.z.number().int(),
|
|
7
|
+
name: zod_1.z.string(),
|
|
8
|
+
short_name: zod_1.z.string()
|
|
9
|
+
});
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const TypeEdizmSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodNumber;
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
edizm: z.ZodArray<z.ZodObject<{
|
|
6
|
+
id: z.ZodNumber;
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
short_name: z.ZodString;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
id: number;
|
|
11
|
+
name: string;
|
|
12
|
+
short_name: string;
|
|
13
|
+
}, {
|
|
14
|
+
id: number;
|
|
15
|
+
name: string;
|
|
16
|
+
short_name: string;
|
|
17
|
+
}>, "many">;
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
id: number;
|
|
20
|
+
name: string;
|
|
21
|
+
edizm: {
|
|
22
|
+
id: number;
|
|
23
|
+
name: string;
|
|
24
|
+
short_name: string;
|
|
25
|
+
}[];
|
|
26
|
+
}, {
|
|
27
|
+
id: number;
|
|
28
|
+
name: string;
|
|
29
|
+
edizm: {
|
|
30
|
+
id: number;
|
|
31
|
+
name: string;
|
|
32
|
+
short_name: string;
|
|
33
|
+
}[];
|
|
34
|
+
}>;
|
|
35
|
+
export type ModelTypeEdizm = z.infer<typeof TypeEdizmSchema>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TypeEdizmSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const edizm_schema_1 = require("./edizm.schema");
|
|
6
|
+
exports.TypeEdizmSchema = zod_1.z.object({
|
|
7
|
+
id: zod_1.z.number().int(),
|
|
8
|
+
name: zod_1.z.string(),
|
|
9
|
+
edizm: zod_1.z.array(edizm_schema_1.EdizmSchema)
|
|
10
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const UnitsLinksSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodNumber;
|
|
4
|
+
type_edizm_id: z.ZodNumber;
|
|
5
|
+
edizm_id: z.ZodNumber;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
id: number;
|
|
8
|
+
type_edizm_id: number;
|
|
9
|
+
edizm_id: number;
|
|
10
|
+
}, {
|
|
11
|
+
id: number;
|
|
12
|
+
type_edizm_id: number;
|
|
13
|
+
edizm_id: number;
|
|
14
|
+
}>;
|
|
15
|
+
export type ModelUnitsLinks = z.infer<typeof UnitsLinksSchema>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UnitsLinksSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.UnitsLinksSchema = zod_1.z.object({
|
|
6
|
+
id: zod_1.z.number().int(),
|
|
7
|
+
type_edizm_id: zod_1.z.number().int(),
|
|
8
|
+
edizm_id: zod_1.z.number().int()
|
|
9
|
+
});
|