@nomalism-com/types 0.17.57 → 0.18.2
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/index.min.js +1 -0
- package/package.json +7 -8
- package/dist/index.d.ts +0 -344
- package/dist/index.js +0 -718
- package/dist/modules/document/inventario/interface.d.ts +0 -16
- package/dist/modules/document/inventario/interface.js +0 -6
- package/dist/modules/document/inventario/route.schema.d.ts +0 -2
- package/dist/modules/document/inventario/route.schema.js +0 -20
- package/dist/modules/document/materialEntrance/interfaces.d.ts +0 -116
- package/dist/modules/document/materialEntrance/interfaces.js +0 -23
- package/dist/modules/document/materialEntrance/route.schema.d.ts +0 -5
- package/dist/modules/document/materialEntrance/route.schema.js +0 -48
- package/dist/modules/document/materialEntrance/tests.d.ts +0 -0
- package/dist/modules/document/materialEntrance/tests.js +0 -1
- package/dist/modules/document/order/interfaces.d.ts +0 -79
- package/dist/modules/document/order/interfaces.js +0 -33
- package/dist/modules/document/order/route.schema.d.ts +0 -6
- package/dist/modules/document/order/route.schema.js +0 -56
- package/dist/modules/document/propostaSheets/interface.d.ts +0 -44
- package/dist/modules/document/propostaSheets/interface.js +0 -11
- package/dist/modules/document/propostaSheets/route.schema.d.ts +0 -2
- package/dist/modules/document/propostaSheets/route.schema.js +0 -15
- package/dist/modules/document/purchase/interfaces.d.ts +0 -67
- package/dist/modules/document/purchase/interfaces.js +0 -6
- package/dist/modules/document/purchase/route.schema.d.ts +0 -2
- package/dist/modules/document/purchase/route.schema.js +0 -33
- package/dist/modules/document/purchase/tests.d.ts +0 -0
- package/dist/modules/document/purchase/tests.js +0 -1
- package/dist/modules/document/quebra/interfaces.d.ts +0 -33
- package/dist/modules/document/quebra/interfaces.js +0 -6
- package/dist/modules/document/quebra/route.schema.d.ts +0 -2
- package/dist/modules/document/quebra/route.schema.js +0 -24
- package/dist/modules/document/returnToProvider/interface.d.ts +0 -42
- package/dist/modules/document/returnToProvider/interface.js +0 -13
- package/dist/modules/document/returnToProvider/route.schema.d.ts +0 -2
- package/dist/modules/document/returnToProvider/route.schema.js +0 -27
- package/dist/modules/document/transformado/interfaces.d.ts +0 -19
- package/dist/modules/document/transformado/interfaces.js +0 -6
- package/dist/modules/document/transformado/route.schema.d.ts +0 -2
- package/dist/modules/document/transformado/route.schema.js +0 -26
- package/dist/modules/document/upfrontReturn/interfaces.d.ts +0 -12
- package/dist/modules/document/upfrontReturn/interfaces.js +0 -6
- package/dist/modules/document/upfrontReturn/route.schema.d.ts +0 -2
- package/dist/modules/document/upfrontReturn/route.schema.js +0 -12
- package/dist/modules/documentManagement/multimedia/interfaces.d.ts +0 -16
- package/dist/modules/documentManagement/multimedia/interfaces.js +0 -6
- package/dist/modules/documentManagement/multimedia/oas.schema.d.ts +0 -108
- package/dist/modules/documentManagement/multimedia/oas.schema.js +0 -71
- package/dist/modules/documentManagement/multimedia/route.schema.d.ts +0 -2
- package/dist/modules/documentManagement/multimedia/route.schema.js +0 -15
- package/dist/modules/documentManagement/multimedia/tests.d.ts +0 -2
- package/dist/modules/documentManagement/multimedia/tests.js +0 -53
- package/dist/modules/integration/dynamicData/interfaces.d.ts +0 -29
- package/dist/modules/integration/dynamicData/interfaces.js +0 -6
- package/dist/modules/integration/dynamicData/route.schema.d.ts +0 -4
- package/dist/modules/integration/dynamicData/route.schema.js +0 -25
- package/dist/modules/integration/emailLog/interfaces.d.ts +0 -54
- package/dist/modules/integration/emailLog/interfaces.js +0 -6
- package/dist/modules/integration/emailLog/route.schema.d.ts +0 -3
- package/dist/modules/integration/emailLog/route.schema.js +0 -15
- package/dist/modules/integration/emailTemplate/interfaces.d.ts +0 -45
- package/dist/modules/integration/emailTemplate/interfaces.js +0 -6
- package/dist/modules/integration/emailTemplate/route.schema.d.ts +0 -4
- package/dist/modules/integration/emailTemplate/route.schema.js +0 -81
- package/dist/modules/integration/emailTemplateAttachment/interfaces.d.ts +0 -17
- package/dist/modules/integration/emailTemplateAttachment/interfaces.js +0 -6
- package/dist/modules/integration/emailTemplateAttachment/route.schema.d.ts +0 -2
- package/dist/modules/integration/emailTemplateAttachment/route.schema.js +0 -14
- package/dist/modules/integration/errorHandler/interfaces.d.ts +0 -22
- package/dist/modules/integration/errorHandler/interfaces.js +0 -6
- package/dist/modules/integration/errorHandler/route.schema.d.ts +0 -2
- package/dist/modules/integration/errorHandler/route.schema.js +0 -23
- package/dist/modules/integration/field/interfaces.d.ts +0 -50
- package/dist/modules/integration/field/interfaces.js +0 -26
- package/dist/modules/integration/field/oas.schema.d.ts +0 -224
- package/dist/modules/integration/field/oas.schema.js +0 -135
- package/dist/modules/integration/field/route.schema.d.ts +0 -3
- package/dist/modules/integration/field/route.schema.js +0 -31
- package/dist/modules/integration/field/tests.d.ts +0 -3
- package/dist/modules/integration/field/tests.js +0 -57
- package/dist/modules/integration/fieldGroup/interfaces.d.ts +0 -41
- package/dist/modules/integration/fieldGroup/interfaces.js +0 -12
- package/dist/modules/integration/fieldGroup/oas.schema.d.ts +0 -241
- package/dist/modules/integration/fieldGroup/oas.schema.js +0 -155
- package/dist/modules/integration/fieldGroup/route.schema.d.ts +0 -8
- package/dist/modules/integration/fieldGroup/route.schema.js +0 -30
- package/dist/modules/integration/fieldGroup/tests.d.ts +0 -6
- package/dist/modules/integration/fieldGroup/tests.js +0 -66
- package/dist/modules/integration/file/interface.d.ts +0 -18
- package/dist/modules/integration/file/interface.js +0 -6
- package/dist/modules/integration/file/route.schema.d.ts +0 -2
- package/dist/modules/integration/file/route.schema.js +0 -15
- package/dist/modules/integration/googleFilePermission/interfaces.d.ts +0 -26
- package/dist/modules/integration/googleFilePermission/interfaces.js +0 -6
- package/dist/modules/integration/googleFilePermission/route.schema.d.ts +0 -5
- package/dist/modules/integration/googleFilePermission/route.schema.js +0 -16
- package/dist/modules/integration/googleSheets/interfaces.d.ts +0 -50
- package/dist/modules/integration/googleSheets/interfaces.js +0 -6
- package/dist/modules/integration/googleSheets/route.schema.d.ts +0 -4
- package/dist/modules/integration/googleSheets/route.schema.js +0 -63
- package/dist/modules/integration/history/interfaces.d.ts +0 -40
- package/dist/modules/integration/history/interfaces.js +0 -24
- package/dist/modules/integration/history/oas.schema.d.ts +0 -399
- package/dist/modules/integration/history/oas.schema.js +0 -141
- package/dist/modules/integration/history/route.schema.d.ts +0 -5
- package/dist/modules/integration/history/route.schema.js +0 -18
- package/dist/modules/integration/history/tests.d.ts +0 -0
- package/dist/modules/integration/history/tests.js +0 -1
- package/dist/modules/integration/observation/interfaces.d.ts +0 -40
- package/dist/modules/integration/observation/interfaces.js +0 -6
- package/dist/modules/integration/observation/route.schema.d.ts +0 -9
- package/dist/modules/integration/observation/route.schema.js +0 -29
- package/dist/modules/integration/observation/tests.d.ts +0 -8
- package/dist/modules/integration/observation/tests.js +0 -71
- package/dist/modules/integration/observationType/interfaces.d.ts +0 -27
- package/dist/modules/integration/observationType/interfaces.js +0 -6
- package/dist/modules/integration/observationType/responseCreate.schema.d.ts +0 -5
- package/dist/modules/integration/observationType/responseCreate.schema.js +0 -47
- package/dist/modules/integration/observationType/route.schema.d.ts +0 -7
- package/dist/modules/integration/observationType/route.schema.js +0 -16
- package/dist/modules/integration/observationType/tests.d.ts +0 -5
- package/dist/modules/integration/observationType/tests.js +0 -57
- package/dist/modules/integration/projectInfo/interfaces.d.ts +0 -16
- package/dist/modules/integration/projectInfo/interfaces.js +0 -12
- package/dist/modules/integration/projectInfo/route.schema.d.ts +0 -2
- package/dist/modules/integration/projectInfo/route.schema.js +0 -23
- package/dist/modules/integration/settings/interfaces.d.ts +0 -25
- package/dist/modules/integration/settings/interfaces.js +0 -6
- package/dist/modules/integration/settings/route.schema.d.ts +0 -4
- package/dist/modules/integration/settings/route.schema.js +0 -22
- package/dist/modules/integration/taskAttachment/interfaces.d.ts +0 -27
- package/dist/modules/integration/taskAttachment/interfaces.js +0 -6
- package/dist/modules/integration/taskAttachment/oas.schema.d.ts +0 -238
- package/dist/modules/integration/taskAttachment/oas.schema.js +0 -144
- package/dist/modules/integration/taskAttachment/route.schema.d.ts +0 -7
- package/dist/modules/integration/taskAttachment/route.schema.js +0 -21
- package/dist/modules/integration/taskAttachment/tests.d.ts +0 -4
- package/dist/modules/integration/taskAttachment/tests.js +0 -61
- package/dist/modules/integration/taskNote/interface.d.ts +0 -29
- package/dist/modules/integration/taskNote/interface.js +0 -6
- package/dist/modules/integration/taskNote/oas.schema.d.ts +0 -238
- package/dist/modules/integration/taskNote/oas.schema.js +0 -144
- package/dist/modules/integration/taskNote/route.schema.d.ts +0 -9
- package/dist/modules/integration/taskNote/route.schema.js +0 -24
- package/dist/modules/integration/taskNote/tests.d.ts +0 -4
- package/dist/modules/integration/taskNote/tests.js +0 -60
- package/dist/modules/integration/tasks/interfaces.d.ts +0 -68
- package/dist/modules/integration/tasks/interfaces.js +0 -6
- package/dist/modules/integration/tasks/oas.schema.d.ts +0 -618
- package/dist/modules/integration/tasks/oas.schema.js +0 -256
- package/dist/modules/integration/tasks/route.schema.d.ts +0 -14
- package/dist/modules/integration/tasks/route.schema.js +0 -54
- package/dist/modules/integration/tasks/tests.d.ts +0 -4
- package/dist/modules/integration/tasks/tests.js +0 -94
- package/dist/modules/integration/tasksGroup/interfaces.d.ts +0 -30
- package/dist/modules/integration/tasksGroup/interfaces.js +0 -6
- package/dist/modules/integration/tasksGroup/oas.schema.d.ts +0 -270
- package/dist/modules/integration/tasksGroup/oas.schema.js +0 -146
- package/dist/modules/integration/tasksGroup/route.schema.d.ts +0 -3
- package/dist/modules/integration/tasksGroup/route.schema.js +0 -16
- package/dist/modules/integration/tasksGroup/tests.d.ts +0 -5
- package/dist/modules/integration/tasksGroup/tests.js +0 -68
- package/dist/modules/print/npc/interfaces.d.ts +0 -15
- package/dist/modules/print/npc/interfaces.js +0 -6
- package/dist/modules/print/npc/route.schema.d.ts +0 -2
- package/dist/modules/print/npc/route.schema.js +0 -13
- package/dist/modules/print/printer/interfaces.d.ts +0 -29
- package/dist/modules/print/printer/interfaces.js +0 -6
- package/dist/modules/print/printer/route.schema.d.ts +0 -2
- package/dist/modules/print/printer/route.schema.js +0 -23
- package/dist/modules/print/schedulePrintJob/interfaces.d.ts +0 -38
- package/dist/modules/print/schedulePrintJob/interfaces.js +0 -6
- package/dist/modules/print/schedulePrintJob/route.schema.d.ts +0 -3
- package/dist/modules/print/schedulePrintJob/route.schema.js +0 -30
- package/dist/modules/stock/attribute/interfaces.d.ts +0 -51
- package/dist/modules/stock/attribute/interfaces.js +0 -14
- package/dist/modules/stock/attribute/route.schema.d.ts +0 -5
- package/dist/modules/stock/attribute/route.schema.js +0 -40
- package/dist/modules/stock/attribute/tests.d.ts +0 -10
- package/dist/modules/stock/attribute/tests.js +0 -102
- package/dist/modules/stock/attributeValue/interfaces.d.ts +0 -36
- package/dist/modules/stock/attributeValue/interfaces.js +0 -6
- package/dist/modules/stock/attributeValue/route.schema.d.ts +0 -5
- package/dist/modules/stock/attributeValue/route.schema.js +0 -28
- package/dist/modules/stock/attributeValue/tests.d.ts +0 -9
- package/dist/modules/stock/attributeValue/tests.js +0 -90
- package/dist/modules/stock/color/interfaces.d.ts +0 -36
- package/dist/modules/stock/color/interfaces.js +0 -6
- package/dist/modules/stock/color/route.schema.d.ts +0 -5
- package/dist/modules/stock/color/route.schema.js +0 -28
- package/dist/modules/stock/color/tests.d.ts +0 -9
- package/dist/modules/stock/color/tests.js +0 -90
- package/dist/modules/stock/composition/interfaces.d.ts +0 -36
- package/dist/modules/stock/composition/interfaces.js +0 -6
- package/dist/modules/stock/composition/route.schema.d.ts +0 -5
- package/dist/modules/stock/composition/route.schema.js +0 -30
- package/dist/modules/stock/composition/tests.d.ts +0 -9
- package/dist/modules/stock/composition/tests.js +0 -94
- package/dist/modules/stock/compositionMaterial/interfaces.d.ts +0 -32
- package/dist/modules/stock/compositionMaterial/interfaces.js +0 -6
- package/dist/modules/stock/compositionMaterial/oas.schema.d.ts +0 -406
- package/dist/modules/stock/compositionMaterial/oas.schema.js +0 -268
- package/dist/modules/stock/compositionMaterial/route.schema.d.ts +0 -5
- package/dist/modules/stock/compositionMaterial/route.schema.js +0 -26
- package/dist/modules/stock/compositionMaterial/tests.d.ts +0 -6
- package/dist/modules/stock/compositionMaterial/tests.js +0 -87
- package/dist/modules/stock/location/interface.d.ts +0 -58
- package/dist/modules/stock/location/interface.js +0 -6
- package/dist/modules/stock/location/oas.schema.d.ts +0 -406
- package/dist/modules/stock/location/oas.schema.js +0 -268
- package/dist/modules/stock/location/route.schema.d.ts +0 -5
- package/dist/modules/stock/location/route.schema.js +0 -54
- package/dist/modules/stock/location/tests.d.ts +0 -6
- package/dist/modules/stock/location/tests.js +0 -149
- package/dist/modules/stock/maintenance/interface.d.ts +0 -37
- package/dist/modules/stock/maintenance/interface.js +0 -6
- package/dist/modules/stock/maintenance/route.schema.d.ts +0 -5
- package/dist/modules/stock/maintenance/route.schema.js +0 -30
- package/dist/modules/stock/maintenance/tests.d.ts +0 -9
- package/dist/modules/stock/maintenance/tests.js +0 -96
- package/dist/modules/stock/maintenanceAssoc/interface.d.ts +0 -35
- package/dist/modules/stock/maintenanceAssoc/interface.js +0 -6
- package/dist/modules/stock/maintenanceAssoc/route.schema.d.ts +0 -5
- package/dist/modules/stock/maintenanceAssoc/route.schema.js +0 -28
- package/dist/modules/stock/maintenanceAssoc/tests.d.ts +0 -9
- package/dist/modules/stock/maintenanceAssoc/tests.js +0 -90
- package/dist/modules/stock/maintenancePreset/interfaces.d.ts +0 -28
- package/dist/modules/stock/maintenancePreset/interfaces.js +0 -6
- package/dist/modules/stock/maintenancePreset/route.schema.d.ts +0 -5
- package/dist/modules/stock/maintenancePreset/route.schema.js +0 -24
- package/dist/modules/stock/maintenancePreset/tests.d.ts +0 -3
- package/dist/modules/stock/maintenancePreset/tests.js +0 -57
- package/dist/modules/stock/maintenancePresetAssoc/interfaces.d.ts +0 -31
- package/dist/modules/stock/maintenancePresetAssoc/interfaces.js +0 -6
- package/dist/modules/stock/maintenancePresetAssoc/route.schema.d.ts +0 -4
- package/dist/modules/stock/maintenancePresetAssoc/route.schema.js +0 -22
- package/dist/modules/stock/maintenanceType/interface.d.ts +0 -32
- package/dist/modules/stock/maintenanceType/interface.js +0 -6
- package/dist/modules/stock/maintenanceType/oas.schema.d.ts +0 -406
- package/dist/modules/stock/maintenanceType/oas.schema.js +0 -268
- package/dist/modules/stock/maintenanceType/route.schema.d.ts +0 -5
- package/dist/modules/stock/maintenanceType/route.schema.js +0 -26
- package/dist/modules/stock/maintenanceType/tests.d.ts +0 -6
- package/dist/modules/stock/maintenanceType/tests.js +0 -87
- package/dist/modules/stock/primaryColor/interface.d.ts +0 -32
- package/dist/modules/stock/primaryColor/interface.js +0 -6
- package/dist/modules/stock/primaryColor/oas.schema.d.ts +0 -406
- package/dist/modules/stock/primaryColor/oas.schema.js +0 -268
- package/dist/modules/stock/primaryColor/route.schema.d.ts +0 -5
- package/dist/modules/stock/primaryColor/route.schema.js +0 -26
- package/dist/modules/stock/primaryColor/tests.d.ts +0 -6
- package/dist/modules/stock/primaryColor/tests.js +0 -87
- package/dist/modules/stock/prison/interface.d.ts +0 -52
- package/dist/modules/stock/prison/interface.js +0 -12
- package/dist/modules/stock/prison/route.schema.d.ts +0 -4
- package/dist/modules/stock/prison/route.schema.js +0 -43
- package/dist/modules/stock/product/interface.d.ts +0 -243
- package/dist/modules/stock/product/interface.js +0 -16
- package/dist/modules/stock/product/route.schema.d.ts +0 -13
- package/dist/modules/stock/product/route.schema.js +0 -171
- package/dist/modules/stock/product/tests.d.ts +0 -6
- package/dist/modules/stock/product/tests.js +0 -253
- package/dist/modules/stock/productAttribute/interface.d.ts +0 -36
- package/dist/modules/stock/productAttribute/interface.js +0 -6
- package/dist/modules/stock/productAttribute/route.schema.d.ts +0 -5
- package/dist/modules/stock/productAttribute/route.schema.js +0 -30
- package/dist/modules/stock/productAttribute/tests.d.ts +0 -9
- package/dist/modules/stock/productAttribute/tests.js +0 -94
- package/dist/modules/stock/productCategory/interface.d.ts +0 -32
- package/dist/modules/stock/productCategory/interface.js +0 -6
- package/dist/modules/stock/productCategory/route.schema.d.ts +0 -5
- package/dist/modules/stock/productCategory/route.schema.js +0 -26
- package/dist/modules/stock/productCategory/tests.d.ts +0 -10
- package/dist/modules/stock/productCategory/tests.js +0 -84
- package/dist/modules/stock/productColor/interface.d.ts +0 -36
- package/dist/modules/stock/productColor/interface.js +0 -6
- package/dist/modules/stock/productColor/route.schema.d.ts +0 -5
- package/dist/modules/stock/productColor/route.schema.js +0 -29
- package/dist/modules/stock/productColor/tests.d.ts +0 -9
- package/dist/modules/stock/productColor/tests.js +0 -94
- package/dist/modules/stock/productImage/interface.d.ts +0 -43
- package/dist/modules/stock/productImage/interface.js +0 -11
- package/dist/modules/stock/productImage/route.schema.d.ts +0 -5
- package/dist/modules/stock/productImage/route.schema.js +0 -38
- package/dist/modules/stock/productImage/tests.d.ts +0 -9
- package/dist/modules/stock/productImage/tests.js +0 -92
- package/dist/modules/stock/productName/interface.d.ts +0 -32
- package/dist/modules/stock/productName/interface.js +0 -6
- package/dist/modules/stock/productName/route.schema.d.ts +0 -5
- package/dist/modules/stock/productName/route.schema.js +0 -26
- package/dist/modules/stock/productName/tests.d.ts +0 -9
- package/dist/modules/stock/productName/tests.js +0 -84
- package/dist/modules/stock/productNamePreset/interface.d.ts +0 -32
- package/dist/modules/stock/productNamePreset/interface.js +0 -6
- package/dist/modules/stock/productNamePreset/oas.schema.d.ts +0 -406
- package/dist/modules/stock/productNamePreset/oas.schema.js +0 -268
- package/dist/modules/stock/productNamePreset/route.schema.d.ts +0 -5
- package/dist/modules/stock/productNamePreset/route.schema.js +0 -26
- package/dist/modules/stock/productNamePreset/tests.d.ts +0 -6
- package/dist/modules/stock/productNamePreset/tests.js +0 -87
- package/dist/modules/stock/productPart/interface.d.ts +0 -40
- package/dist/modules/stock/productPart/interface.js +0 -6
- package/dist/modules/stock/productPart/route.schema.d.ts +0 -5
- package/dist/modules/stock/productPart/route.schema.js +0 -28
- package/dist/modules/stock/productPart/tests.d.ts +0 -9
- package/dist/modules/stock/productPart/tests.js +0 -92
- package/dist/modules/stock/productSubCategory/interface.d.ts +0 -38
- package/dist/modules/stock/productSubCategory/interface.js +0 -6
- package/dist/modules/stock/productSubCategory/responseCreate.schema.d.ts +0 -2
- package/dist/modules/stock/productSubCategory/responseCreate.schema.js +0 -50
- package/dist/modules/stock/productSubCategory/route.schema.d.ts +0 -5
- package/dist/modules/stock/productSubCategory/route.schema.js +0 -30
- package/dist/modules/stock/productSubCategory/tests.d.ts +0 -9
- package/dist/modules/stock/productSubCategory/tests.js +0 -86
- package/dist/modules/stock/productUse/interface.d.ts +0 -32
- package/dist/modules/stock/productUse/interface.js +0 -6
- package/dist/modules/stock/productUse/oas.schema.d.ts +0 -397
- package/dist/modules/stock/productUse/oas.schema.js +0 -268
- package/dist/modules/stock/productUse/route.schema.d.ts +0 -5
- package/dist/modules/stock/productUse/route.schema.js +0 -26
- package/dist/modules/stock/productUse/tests.d.ts +0 -6
- package/dist/modules/stock/productUse/tests.js +0 -91
- package/dist/modules/stock/productUseAssoc/interface.d.ts +0 -34
- package/dist/modules/stock/productUseAssoc/interface.js +0 -6
- package/dist/modules/stock/productUseAssoc/route.schema.d.ts +0 -5
- package/dist/modules/stock/productUseAssoc/route.schema.js +0 -27
- package/dist/modules/stock/productUseAssoc/tests.d.ts +0 -9
- package/dist/modules/stock/productUseAssoc/tests.js +0 -90
- package/dist/modules/stock/promotion/interface.d.ts +0 -42
- package/dist/modules/stock/promotion/interface.js +0 -6
- package/dist/modules/stock/promotion/route.schema.d.ts +0 -5
- package/dist/modules/stock/promotion/route.schema.js +0 -56
- package/dist/modules/stock/promotion/tests.d.ts +0 -9
- package/dist/modules/stock/promotion/tests.js +0 -144
- package/dist/modules/stock/promotionAssoc/interface.d.ts +0 -40
- package/dist/modules/stock/promotionAssoc/interface.js +0 -6
- package/dist/modules/stock/promotionAssoc/route.schema.d.ts +0 -5
- package/dist/modules/stock/promotionAssoc/route.schema.js +0 -32
- package/dist/modules/stock/promotionAssoc/tests.d.ts +0 -9
- package/dist/modules/stock/promotionAssoc/tests.js +0 -100
- package/dist/modules/stock/queryList/interfaces.d.ts +0 -44
- package/dist/modules/stock/queryList/interfaces.js +0 -7
- package/dist/modules/stock/queryList/route.schema.d.ts +0 -7
- package/dist/modules/stock/queryList/route.schema.js +0 -35
- package/dist/modules/stock/queryParameter/interfaces.d.ts +0 -49
- package/dist/modules/stock/queryParameter/interfaces.js +0 -17
- package/dist/modules/stock/queryParameter/route.schema.d.ts +0 -3
- package/dist/modules/stock/queryParameter/route.schema.js +0 -35
- package/dist/modules/stock/returnReason/interfaces.d.ts +0 -19
- package/dist/modules/stock/returnReason/interfaces.js +0 -6
- package/dist/modules/stock/returnReason/route.schema.d.ts +0 -3
- package/dist/modules/stock/returnReason/route.schema.js +0 -16
- package/dist/modules/stock/savedEmPicking/interfaces.d.ts +0 -19
- package/dist/modules/stock/savedEmPicking/interfaces.js +0 -6
- package/dist/modules/stock/savedEmPicking/route.schema.d.ts +0 -2
- package/dist/modules/stock/savedEmPicking/route.schema.js +0 -85
- package/dist/modules/stock/savedProviderProposal/interfaces.d.ts +0 -23
- package/dist/modules/stock/savedProviderProposal/interfaces.js +0 -6
- package/dist/modules/stock/savedProviderProposal/route.schema.d.ts +0 -3
- package/dist/modules/stock/savedProviderProposal/route.schema.js +0 -18
- package/dist/modules/stock/similarProduct/interface.d.ts +0 -38
- package/dist/modules/stock/similarProduct/interface.js +0 -6
- package/dist/modules/stock/similarProduct/route.schema.d.ts +0 -5
- package/dist/modules/stock/similarProduct/route.schema.js +0 -28
- package/dist/modules/stock/similarProduct/tests.d.ts +0 -9
- package/dist/modules/stock/similarProduct/tests.js +0 -94
- package/dist/modules/stock/stockMovement/interface.d.ts +0 -46
- package/dist/modules/stock/stockMovement/interface.js +0 -16
- package/dist/modules/stock/stockMovement/route.schema.d.ts +0 -2
- package/dist/modules/stock/stockMovement/route.schema.js +0 -24
- package/dist/modules/stock/typeOfInventory/interface.d.ts +0 -34
- package/dist/modules/stock/typeOfInventory/interface.js +0 -6
- package/dist/modules/stock/typeOfInventory/oas.schema.d.ts +0 -406
- package/dist/modules/stock/typeOfInventory/oas.schema.js +0 -268
- package/dist/modules/stock/typeOfInventory/route.schema.d.ts +0 -5
- package/dist/modules/stock/typeOfInventory/route.schema.js +0 -28
- package/dist/modules/stock/typeOfInventory/tests.d.ts +0 -9
- package/dist/modules/stock/typeOfInventory/tests.js +0 -91
- package/dist/modules/stock/typeOfLocation/interface.d.ts +0 -32
- package/dist/modules/stock/typeOfLocation/interface.js +0 -6
- package/dist/modules/stock/typeOfLocation/oas.schema.d.ts +0 -406
- package/dist/modules/stock/typeOfLocation/oas.schema.js +0 -268
- package/dist/modules/stock/typeOfLocation/route.schema.d.ts +0 -5
- package/dist/modules/stock/typeOfLocation/route.schema.js +0 -26
- package/dist/modules/stock/typeOfLocation/tests.d.ts +0 -6
- package/dist/modules/stock/typeOfLocation/tests.js +0 -87
- package/dist/modules/stock/unitOfMeasure/interface.d.ts +0 -47
- package/dist/modules/stock/unitOfMeasure/interface.js +0 -6
- package/dist/modules/stock/unitOfMeasure/oas.schema.d.ts +0 -406
- package/dist/modules/stock/unitOfMeasure/oas.schema.js +0 -269
- package/dist/modules/stock/unitOfMeasure/responseCreate.schema.d.ts +0 -2
- package/dist/modules/stock/unitOfMeasure/responseCreate.schema.js +0 -55
- package/dist/modules/stock/unitOfMeasure/route.schema.d.ts +0 -5
- package/dist/modules/stock/unitOfMeasure/route.schema.js +0 -40
- package/dist/modules/stock/unitOfMeasure/tests.d.ts +0 -9
- package/dist/modules/stock/unitOfMeasure/tests.js +0 -99
- package/dist/modules/stock/vatTax/interface.d.ts +0 -34
- package/dist/modules/stock/vatTax/interface.js +0 -6
- package/dist/modules/stock/vatTax/oas.schema.d.ts +0 -406
- package/dist/modules/stock/vatTax/oas.schema.js +0 -268
- package/dist/modules/stock/vatTax/route.schema.d.ts +0 -5
- package/dist/modules/stock/vatTax/route.schema.js +0 -28
- package/dist/modules/stock/vatTax/tests.d.ts +0 -9
- package/dist/modules/stock/vatTax/tests.js +0 -91
- package/dist/modules/stock/vatTaxZone/interface.d.ts +0 -42
- package/dist/modules/stock/vatTaxZone/interface.js +0 -6
- package/dist/modules/stock/vatTaxZone/route.schema.d.ts +0 -5
- package/dist/modules/stock/vatTaxZone/route.schema.js +0 -37
- package/dist/modules/stock/vatTaxZone/tests.d.ts +0 -10
- package/dist/modules/stock/vatTaxZone/tests.js +0 -102
- package/dist/modules/stock/vatValidation/interfaces.d.ts +0 -8
- package/dist/modules/stock/vatValidation/interfaces.js +0 -6
- package/dist/modules/stock/vatValidation/route.schema.d.ts +0 -2
- package/dist/modules/stock/vatValidation/route.schema.js +0 -15
- package/dist/modules/stock/workflow/interfaces.d.ts +0 -45
- package/dist/modules/stock/workflow/interfaces.js +0 -6
- package/dist/modules/stock/workflow/route.schema.d.ts +0 -4
- package/dist/modules/stock/workflow/route.schema.js +0 -39
- package/dist/modules/supply/cabide/interface.d.ts +0 -85
- package/dist/modules/supply/cabide/interface.js +0 -18
- package/dist/modules/supply/cabide/route.schema.d.ts +0 -8
- package/dist/modules/supply/cabide/route.schema.js +0 -77
- package/dist/modules/supply/cabideProduct/interface.d.ts +0 -97
- package/dist/modules/supply/cabideProduct/interface.js +0 -6
- package/dist/modules/supply/cabideProduct/route.schema.d.ts +0 -5
- package/dist/modules/supply/cabideProduct/route.schema.js +0 -69
- package/dist/modules/supply/clientCurrentAccount/interfaces.d.ts +0 -88
- package/dist/modules/supply/clientCurrentAccount/interfaces.js +0 -25
- package/dist/modules/supply/clientCurrentAccount/route.schema.d.ts +0 -5
- package/dist/modules/supply/clientCurrentAccount/route.schema.js +0 -48
- package/dist/modules/supply/counter/interfaces.d.ts +0 -27
- package/dist/modules/supply/counter/interfaces.js +0 -6
- package/dist/modules/supply/counter/route.schema.d.ts +0 -4
- package/dist/modules/supply/counter/route.schema.js +0 -27
- package/dist/modules/supply/counter/tests.d.ts +0 -0
- package/dist/modules/supply/counter/tests.js +0 -1
- package/dist/modules/supply/documentHeader/interfaces.d.ts +0 -411
- package/dist/modules/supply/documentHeader/interfaces.js +0 -6
- package/dist/modules/supply/documentHeader/route.schema.d.ts +0 -23
- package/dist/modules/supply/documentHeader/route.schema.js +0 -479
- package/dist/modules/supply/documentLine/interfaces.d.ts +0 -222
- package/dist/modules/supply/documentLine/interfaces.js +0 -18
- package/dist/modules/supply/documentLine/route.schema.d.ts +0 -10
- package/dist/modules/supply/documentLine/route.schema.js +0 -123
- package/dist/modules/supply/documentLineAssoc/interfaces.d.ts +0 -36
- package/dist/modules/supply/documentLineAssoc/interfaces.js +0 -6
- package/dist/modules/supply/documentLineAssoc/route.schema.d.ts +0 -4
- package/dist/modules/supply/documentLineAssoc/route.schema.js +0 -31
- package/dist/modules/supply/documentLineAssoc/tests.d.ts +0 -5
- package/dist/modules/supply/documentLineAssoc/tests.js +0 -57
- package/dist/modules/supply/documentLineFolder/interfaces.d.ts +0 -24
- package/dist/modules/supply/documentLineFolder/interfaces.js +0 -6
- package/dist/modules/supply/documentLineFolder/route.schema.d.ts +0 -3
- package/dist/modules/supply/documentLineFolder/route.schema.js +0 -19
- package/dist/modules/supply/documentLineFolder/tests.d.ts +0 -0
- package/dist/modules/supply/documentLineFolder/tests.js +0 -1
- package/dist/modules/supply/documentLineNote/interfaces.d.ts +0 -31
- package/dist/modules/supply/documentLineNote/interfaces.js +0 -16
- package/dist/modules/supply/documentLineNote/route.schema.d.ts +0 -6
- package/dist/modules/supply/documentLineNote/route.schema.js +0 -22
- package/dist/modules/supply/documentSet/interface.d.ts +0 -31
- package/dist/modules/supply/documentSet/interface.js +0 -6
- package/dist/modules/supply/documentSet/route.schema.d.ts +0 -3
- package/dist/modules/supply/documentSet/route.schema.js +0 -26
- package/dist/modules/supply/documentType/interfaces.d.ts +0 -127
- package/dist/modules/supply/documentType/interfaces.js +0 -56
- package/dist/modules/supply/documentType/route.schema.d.ts +0 -3
- package/dist/modules/supply/documentType/route.schema.js +0 -69
- package/dist/modules/supply/documentType/tests.d.ts +0 -0
- package/dist/modules/supply/documentType/tests.js +0 -1
- package/dist/modules/supply/externalDocumentHeader/interface.d.ts +0 -65
- package/dist/modules/supply/externalDocumentHeader/interface.js +0 -6
- package/dist/modules/supply/externalDocumentHeader/route.schema.d.ts +0 -6
- package/dist/modules/supply/externalDocumentHeader/route.schema.js +0 -47
- package/dist/modules/supply/externalDocumentHeader/tests.d.ts +0 -5
- package/dist/modules/supply/externalDocumentHeader/tests.js +0 -103
- package/dist/modules/supply/externalDocumentType/interface.d.ts +0 -11
- package/dist/modules/supply/externalDocumentType/interface.js +0 -6
- package/dist/modules/supply/moloniRequest/interface.d.ts +0 -18
- package/dist/modules/supply/moloniRequest/interface.js +0 -6
- package/dist/modules/supply/moloniRequest/route.schema.d.ts +0 -2
- package/dist/modules/supply/moloniRequest/route.schema.js +0 -17
- package/dist/modules/supply/orderManagement/interface.d.ts +0 -77
- package/dist/modules/supply/orderManagement/interface.js +0 -6
- package/dist/modules/supply/orderManagement/route.schema.d.ts +0 -0
- package/dist/modules/supply/orderManagement/route.schema.js +0 -1
- package/dist/modules/supply/payment/interface.d.ts +0 -152
- package/dist/modules/supply/payment/interface.js +0 -11
- package/dist/modules/supply/payment/route.schema.d.ts +0 -8
- package/dist/modules/supply/payment/route.schema.js +0 -81
- package/dist/modules/supply/payment/tests.d.ts +0 -8
- package/dist/modules/supply/payment/tests.js +0 -102
- package/dist/modules/supply/preSale/interface.d.ts +0 -60
- package/dist/modules/supply/preSale/interface.js +0 -6
- package/dist/modules/supply/preSale/route.schema.d.ts +0 -8
- package/dist/modules/supply/preSale/route.schema.js +0 -58
- package/dist/modules/supply/preSaleProduct/interface.d.ts +0 -12
- package/dist/modules/supply/preSaleProduct/interface.js +0 -6
- package/dist/modules/supply/preSaleProduct/route.schema.d.ts +0 -2
- package/dist/modules/supply/preSaleProduct/route.schema.js +0 -10
- package/dist/modules/supply/providerCurrentAccount/interfaces.d.ts +0 -13
- package/dist/modules/supply/providerCurrentAccount/interfaces.js +0 -6
- package/dist/modules/supply/providerCurrentAccount/route.schema.d.ts +0 -2
- package/dist/modules/supply/providerCurrentAccount/route.schema.js +0 -17
- package/dist/modules/supply/schedule/interface.d.ts +0 -22
- package/dist/modules/supply/schedule/interface.js +0 -19
- package/dist/modules/supply/schedule/route.schema.d.ts +0 -2
- package/dist/modules/supply/schedule/route.schema.js +0 -19
- package/dist/modules/supply/startDocumentHeaderLastUpdate/interface.d.ts +0 -10
- package/dist/modules/supply/startDocumentHeaderLastUpdate/interface.js +0 -6
- package/dist/modules/tickets/channel/interfaces.d.ts +0 -30
- package/dist/modules/tickets/channel/interfaces.js +0 -6
- package/dist/modules/tickets/channel/route.schema.d.ts +0 -3
- package/dist/modules/tickets/channel/route.schema.js +0 -28
- package/dist/modules/tickets/clt/interfaces.d.ts +0 -20
- package/dist/modules/tickets/clt/interfaces.js +0 -6
- package/dist/modules/tickets/clt/route.schema.d.ts +0 -3
- package/dist/modules/tickets/clt/route.schema.js +0 -22
- package/dist/modules/tickets/language/interfaces.d.ts +0 -20
- package/dist/modules/tickets/language/interfaces.js +0 -6
- package/dist/modules/tickets/language/route.schema.d.ts +0 -3
- package/dist/modules/tickets/language/route.schema.js +0 -28
- package/dist/modules/tickets/tickets/interfaces.d.ts +0 -44
- package/dist/modules/tickets/tickets/interfaces.js +0 -6
- package/dist/modules/tickets/tickets/route.schema.d.ts +0 -3
- package/dist/modules/tickets/tickets/route.schema.js +0 -18
- package/dist/modules/user/bankData/interface.d.ts +0 -42
- package/dist/modules/user/bankData/interface.js +0 -6
- package/dist/modules/user/bankData/oas.schema.d.ts +0 -406
- package/dist/modules/user/bankData/oas.schema.js +0 -268
- package/dist/modules/user/bankData/route.schema.d.ts +0 -5
- package/dist/modules/user/bankData/route.schema.js +0 -38
- package/dist/modules/user/bankData/tests.d.ts +0 -6
- package/dist/modules/user/bankData/tests.js +0 -116
- package/dist/modules/user/clientType/interface.d.ts +0 -30
- package/dist/modules/user/clientType/interface.js +0 -6
- package/dist/modules/user/clientType/oas.schema.d.ts +0 -350
- package/dist/modules/user/clientType/oas.schema.js +0 -237
- package/dist/modules/user/clientType/responseCreate.schema.d.ts +0 -2
- package/dist/modules/user/clientType/responseCreate.schema.js +0 -48
- package/dist/modules/user/clientType/route.schema.d.ts +0 -6
- package/dist/modules/user/clientType/route.schema.js +0 -29
- package/dist/modules/user/clientType/tests.d.ts +0 -6
- package/dist/modules/user/clientType/tests.js +0 -71
- package/dist/modules/user/clients/interface.d.ts +0 -84
- package/dist/modules/user/clients/interface.js +0 -6
- package/dist/modules/user/clients/route.schema.d.ts +0 -5
- package/dist/modules/user/clients/route.schema.js +0 -83
- package/dist/modules/user/commissioner/interface.d.ts +0 -59
- package/dist/modules/user/commissioner/interface.js +0 -6
- package/dist/modules/user/commissioner/oas.schema.d.ts +0 -0
- package/dist/modules/user/commissioner/oas.schema.js +0 -1
- package/dist/modules/user/commissioner/route.schema.d.ts +0 -5
- package/dist/modules/user/commissioner/route.schema.js +0 -50
- package/dist/modules/user/country/interface.d.ts +0 -37
- package/dist/modules/user/country/interface.js +0 -6
- package/dist/modules/user/country/oas.schema.d.ts +0 -350
- package/dist/modules/user/country/oas.schema.js +0 -237
- package/dist/modules/user/country/responseCreate.schema.d.ts +0 -2
- package/dist/modules/user/country/responseCreate.schema.js +0 -50
- package/dist/modules/user/country/route.schema.d.ts +0 -12
- package/dist/modules/user/country/route.schema.js +0 -104
- package/dist/modules/user/country/tests.d.ts +0 -9
- package/dist/modules/user/country/tests.js +0 -75
- package/dist/modules/user/deliveryMethods/interfaces.d.ts +0 -23
- package/dist/modules/user/deliveryMethods/interfaces.js +0 -6
- package/dist/modules/user/deliveryMethods/route.schema.d.ts +0 -3
- package/dist/modules/user/deliveryMethods/route.schema.js +0 -18
- package/dist/modules/user/deliveryMethods/tests.d.ts +0 -2
- package/dist/modules/user/deliveryMethods/tests.js +0 -48
- package/dist/modules/user/entityList/interface.d.ts +0 -32
- package/dist/modules/user/entityList/interface.js +0 -14
- package/dist/modules/user/entityList/oas.schema.d.ts +0 -274
- package/dist/modules/user/entityList/oas.schema.js +0 -185
- package/dist/modules/user/entityList/route.schema.d.ts +0 -3
- package/dist/modules/user/entityList/route.schema.js +0 -30
- package/dist/modules/user/entityList/tests.d.ts +0 -3
- package/dist/modules/user/entityList/tests.js +0 -69
- package/dist/modules/user/favorites/interfaces.d.ts +0 -22
- package/dist/modules/user/favorites/interfaces.js +0 -6
- package/dist/modules/user/favorites/oas.schema.d.ts +0 -112
- package/dist/modules/user/favorites/oas.schema.js +0 -103
- package/dist/modules/user/favorites/route.schema.d.ts +0 -8
- package/dist/modules/user/favorites/route.schema.js +0 -26
- package/dist/modules/user/favorites/tests.d.ts +0 -2
- package/dist/modules/user/favorites/tests.js +0 -48
- package/dist/modules/user/groupPermissions/interface.d.ts +0 -25
- package/dist/modules/user/groupPermissions/interface.js +0 -6
- package/dist/modules/user/groupPermissions/oas.schema.d.ts +0 -56
- package/dist/modules/user/groupPermissions/oas.schema.js +0 -73
- package/dist/modules/user/groupPermissions/route.schema.d.ts +0 -2
- package/dist/modules/user/groupPermissions/route.schema.js +0 -13
- package/dist/modules/user/groupPermissions/tests.d.ts +0 -2
- package/dist/modules/user/groupPermissions/tests.js +0 -49
- package/dist/modules/user/language/interface.d.ts +0 -30
- package/dist/modules/user/language/interface.js +0 -6
- package/dist/modules/user/language/oas.schema.d.ts +0 -350
- package/dist/modules/user/language/oas.schema.js +0 -237
- package/dist/modules/user/language/responseCreate.schema.d.ts +0 -2
- package/dist/modules/user/language/responseCreate.schema.js +0 -49
- package/dist/modules/user/language/route.schema.d.ts +0 -5
- package/dist/modules/user/language/route.schema.js +0 -26
- package/dist/modules/user/language/tests.d.ts +0 -6
- package/dist/modules/user/language/tests.js +0 -73
- package/dist/modules/user/maturityDates/interfaces.d.ts +0 -25
- package/dist/modules/user/maturityDates/interfaces.js +0 -6
- package/dist/modules/user/maturityDates/route.schema.d.ts +0 -3
- package/dist/modules/user/maturityDates/route.schema.js +0 -20
- package/dist/modules/user/maturityDates/tests.d.ts +0 -2
- package/dist/modules/user/maturityDates/tests.js +0 -49
- package/dist/modules/user/password/interfaces.d.ts +0 -15
- package/dist/modules/user/password/interfaces.js +0 -4
- package/dist/modules/user/password/route.schema.d.ts +0 -3
- package/dist/modules/user/password/route.schema.js +0 -21
- package/dist/modules/user/paymentConditions/interface.d.ts +0 -35
- package/dist/modules/user/paymentConditions/interface.js +0 -6
- package/dist/modules/user/paymentConditions/oas.schema.d.ts +0 -406
- package/dist/modules/user/paymentConditions/oas.schema.js +0 -268
- package/dist/modules/user/paymentConditions/responseCreate.schema.d.ts +0 -2
- package/dist/modules/user/paymentConditions/responseCreate.schema.js +0 -50
- package/dist/modules/user/paymentConditions/route.schema.d.ts +0 -5
- package/dist/modules/user/paymentConditions/route.schema.js +0 -30
- package/dist/modules/user/paymentConditions/tests.d.ts +0 -7
- package/dist/modules/user/paymentConditions/tests.js +0 -86
- package/dist/modules/user/paymentMethods/interfaces.d.ts +0 -31
- package/dist/modules/user/paymentMethods/interfaces.js +0 -6
- package/dist/modules/user/paymentMethods/route.schema.d.ts +0 -3
- package/dist/modules/user/paymentMethods/route.schema.js +0 -26
- package/dist/modules/user/paymentMethods/tests.d.ts +0 -2
- package/dist/modules/user/paymentMethods/tests.js +0 -52
- package/dist/modules/user/permissions/interface.d.ts +0 -25
- package/dist/modules/user/permissions/interface.js +0 -6
- package/dist/modules/user/permissions/oas.schema.d.ts +0 -56
- package/dist/modules/user/permissions/oas.schema.js +0 -73
- package/dist/modules/user/permissions/route.schema.d.ts +0 -2
- package/dist/modules/user/permissions/route.schema.js +0 -13
- package/dist/modules/user/permissions/tests.d.ts +0 -2
- package/dist/modules/user/permissions/tests.js +0 -49
- package/dist/modules/user/persona/interface.d.ts +0 -64
- package/dist/modules/user/persona/interface.js +0 -6
- package/dist/modules/user/persona/route.schema.d.ts +0 -4
- package/dist/modules/user/persona/route.schema.js +0 -59
- package/dist/modules/user/providerType/interface.d.ts +0 -30
- package/dist/modules/user/providerType/interface.js +0 -6
- package/dist/modules/user/providerType/oas.schema.d.ts +0 -350
- package/dist/modules/user/providerType/oas.schema.js +0 -237
- package/dist/modules/user/providerType/responseCreate.schema.d.ts +0 -2
- package/dist/modules/user/providerType/responseCreate.schema.js +0 -48
- package/dist/modules/user/providerType/route.schema.d.ts +0 -5
- package/dist/modules/user/providerType/route.schema.js +0 -26
- package/dist/modules/user/providerType/tests.d.ts +0 -6
- package/dist/modules/user/providerType/tests.js +0 -71
- package/dist/modules/user/providers/interface.d.ts +0 -80
- package/dist/modules/user/providers/interface.js +0 -6
- package/dist/modules/user/providers/oas.schema.d.ts +0 -0
- package/dist/modules/user/providers/oas.schema.js +0 -1
- package/dist/modules/user/providers/route.schema.d.ts +0 -5
- package/dist/modules/user/providers/route.schema.js +0 -81
- package/dist/modules/user/purchaseConditions/interface.d.ts +0 -40
- package/dist/modules/user/purchaseConditions/interface.js +0 -6
- package/dist/modules/user/purchaseConditions/oas.schema.d.ts +0 -406
- package/dist/modules/user/purchaseConditions/oas.schema.js +0 -268
- package/dist/modules/user/purchaseConditions/responseCreate.schema.d.ts +0 -2
- package/dist/modules/user/purchaseConditions/responseCreate.schema.js +0 -52
- package/dist/modules/user/purchaseConditions/route.schema.d.ts +0 -5
- package/dist/modules/user/purchaseConditions/route.schema.js +0 -33
- package/dist/modules/user/purchaseConditions/tests.d.ts +0 -7
- package/dist/modules/user/purchaseConditions/tests.js +0 -108
- package/dist/modules/user/reasonForExemption/interface.d.ts +0 -36
- package/dist/modules/user/reasonForExemption/interface.js +0 -6
- package/dist/modules/user/reasonForExemption/oas.schema.d.ts +0 -350
- package/dist/modules/user/reasonForExemption/oas.schema.js +0 -237
- package/dist/modules/user/reasonForExemption/responseCreate.schema.d.ts +0 -2
- package/dist/modules/user/reasonForExemption/responseCreate.schema.js +0 -51
- package/dist/modules/user/reasonForExemption/route.schema.d.ts +0 -5
- package/dist/modules/user/reasonForExemption/route.schema.js +0 -32
- package/dist/modules/user/reasonForExemption/tests.d.ts +0 -6
- package/dist/modules/user/reasonForExemption/tests.js +0 -77
- package/dist/modules/user/refreshToken/interface.d.ts +0 -15
- package/dist/modules/user/refreshToken/interface.js +0 -2
- package/dist/modules/user/refreshToken/route.schema.d.ts +0 -2
- package/dist/modules/user/refreshToken/route.schema.js +0 -16
- package/dist/modules/user/refreshToken/tests.d.ts +0 -0
- package/dist/modules/user/refreshToken/tests.js +0 -1
- package/dist/modules/user/segmentsArea/interface.d.ts +0 -32
- package/dist/modules/user/segmentsArea/interface.js +0 -6
- package/dist/modules/user/segmentsArea/oas.schema.d.ts +0 -350
- package/dist/modules/user/segmentsArea/oas.schema.js +0 -237
- package/dist/modules/user/segmentsArea/responseCreate.schema.d.ts +0 -2
- package/dist/modules/user/segmentsArea/responseCreate.schema.js +0 -49
- package/dist/modules/user/segmentsArea/route.schema.d.ts +0 -5
- package/dist/modules/user/segmentsArea/route.schema.js +0 -28
- package/dist/modules/user/segmentsArea/tests.d.ts +0 -6
- package/dist/modules/user/segmentsArea/tests.js +0 -73
- package/dist/modules/user/sessions/interface.d.ts +0 -18
- package/dist/modules/user/sessions/interface.js +0 -2
- package/dist/modules/user/sessions/route.schema.d.ts +0 -2
- package/dist/modules/user/sessions/route.schema.js +0 -19
- package/dist/modules/user/sessions/tests.d.ts +0 -0
- package/dist/modules/user/sessions/tests.js +0 -1
- package/dist/modules/user/shippings/interface.d.ts +0 -39
- package/dist/modules/user/shippings/interface.js +0 -6
- package/dist/modules/user/shippings/oas.schema.d.ts +0 -406
- package/dist/modules/user/shippings/oas.schema.js +0 -268
- package/dist/modules/user/shippings/responseCreate.shema.d.ts +0 -2
- package/dist/modules/user/shippings/responseCreate.shema.js +0 -52
- package/dist/modules/user/shippings/route.schema.d.ts +0 -5
- package/dist/modules/user/shippings/route.schema.js +0 -34
- package/dist/modules/user/shippings/tests.d.ts +0 -7
- package/dist/modules/user/shippings/tests.js +0 -92
- package/dist/modules/user/socialMedia/interface.d.ts +0 -35
- package/dist/modules/user/socialMedia/interface.js +0 -6
- package/dist/modules/user/socialMedia/oas.schema.d.ts +0 -406
- package/dist/modules/user/socialMedia/oas.schema.js +0 -268
- package/dist/modules/user/socialMedia/route.schema.d.ts +0 -5
- package/dist/modules/user/socialMedia/route.schema.js +0 -34
- package/dist/modules/user/socialMedia/tests.d.ts +0 -6
- package/dist/modules/user/socialMedia/tests.js +0 -96
- package/dist/modules/user/storeOperator/interface.d.ts +0 -55
- package/dist/modules/user/storeOperator/interface.js +0 -6
- package/dist/modules/user/storeOperator/route.schema.d.ts +0 -6
- package/dist/modules/user/storeOperator/route.schema.js +0 -54
- package/dist/modules/user/swift/interface.d.ts +0 -38
- package/dist/modules/user/swift/interface.js +0 -6
- package/dist/modules/user/swift/oas.schema.d.ts +0 -350
- package/dist/modules/user/swift/oas.schema.js +0 -237
- package/dist/modules/user/swift/route.schema.d.ts +0 -5
- package/dist/modules/user/swift/route.schema.js +0 -34
- package/dist/modules/user/swift/tests.d.ts +0 -5
- package/dist/modules/user/swift/tests.js +0 -87
- package/dist/modules/user/tenant/interface.d.ts +0 -49
- package/dist/modules/user/tenant/interface.js +0 -6
- package/dist/modules/user/tenant/route.schema.d.ts +0 -3
- package/dist/modules/user/tenant/route.schema.js +0 -46
- package/dist/modules/user/userPermissions/interface.d.ts +0 -23
- package/dist/modules/user/userPermissions/interface.js +0 -6
- package/dist/modules/user/userPermissions/oas.schema.d.ts +0 -224
- package/dist/modules/user/userPermissions/oas.schema.js +0 -166
- package/dist/modules/user/userPermissions/route.schema.d.ts +0 -2
- package/dist/modules/user/userPermissions/route.schema.js +0 -14
- package/dist/modules/user/userPermissions/tests.d.ts +0 -3
- package/dist/modules/user/userPermissions/tests.js +0 -63
- package/dist/modules/user/userPositions/interface.d.ts +0 -30
- package/dist/modules/user/userPositions/interface.js +0 -6
- package/dist/modules/user/userPositions/oas.schema.d.ts +0 -350
- package/dist/modules/user/userPositions/oas.schema.js +0 -237
- package/dist/modules/user/userPositions/responseCreate.schema.d.ts +0 -2
- package/dist/modules/user/userPositions/responseCreate.schema.js +0 -48
- package/dist/modules/user/userPositions/route.schema.d.ts +0 -5
- package/dist/modules/user/userPositions/route.schema.js +0 -26
- package/dist/modules/user/userPositions/tests.d.ts +0 -6
- package/dist/modules/user/userPositions/tests.js +0 -71
- package/dist/modules/user/userTokens/interface.d.ts +0 -30
- package/dist/modules/user/userTokens/interface.js +0 -6
- package/dist/modules/user/userTokens/route.schema.d.ts +0 -3
- package/dist/modules/user/userTokens/route.schema.js +0 -18
- package/dist/modules/user/users/interface.d.ts +0 -126
- package/dist/modules/user/users/interface.js +0 -6
- package/dist/modules/user/users/responseCreate.schema.d.ts +0 -2
- package/dist/modules/user/users/responseCreate.schema.js +0 -56
- package/dist/modules/user/users/route.schema.d.ts +0 -7
- package/dist/modules/user/users/route.schema.js +0 -57
- package/dist/modules/user/vehicles/interfaces.d.ts +0 -25
- package/dist/modules/user/vehicles/interfaces.js +0 -6
- package/dist/modules/user/vehicles/route.schema.d.ts +0 -3
- package/dist/modules/user/vehicles/route.schema.js +0 -20
- package/dist/modules/user/vehicles/tests.d.ts +0 -2
- package/dist/modules/user/vehicles/tests.js +0 -49
- package/dist/modules/user/zipCode/interfaces.d.ts +0 -23
- package/dist/modules/user/zipCode/interfaces.js +0 -6
- package/dist/modules/user/zipCode/route.schema.d.ts +0 -3
- package/dist/modules/user/zipCode/route.schema.js +0 -30
- package/dist/modules/view/channels/interface.d.ts +0 -20
- package/dist/modules/view/channels/interface.js +0 -6
- package/dist/modules/view/channels/oas.schema.d.ts +0 -0
- package/dist/modules/view/channels/oas.schema.js +0 -1
- package/dist/modules/view/channels/route.schema.d.ts +0 -0
- package/dist/modules/view/channels/route.schema.js +0 -1
- package/dist/modules/view/channels/tests.d.ts +0 -0
- package/dist/modules/view/channels/tests.js +0 -1
- package/dist/modules/view/connections/interface.d.ts +0 -25
- package/dist/modules/view/connections/interface.js +0 -6
- package/dist/modules/view/connections/oas.schema.d.ts +0 -0
- package/dist/modules/view/connections/oas.schema.js +0 -1
- package/dist/modules/view/connections/route.schema.d.ts +0 -0
- package/dist/modules/view/connections/route.schema.js +0 -1
- package/dist/modules/view/connections/tests.d.ts +0 -0
- package/dist/modules/view/connections/tests.js +0 -1
- package/dist/modules/view/eventHistory/interface.d.ts +0 -7
- package/dist/modules/view/eventHistory/interface.js +0 -2
- package/dist/modules/view/eventHistory/oas.schema.d.ts +0 -0
- package/dist/modules/view/eventHistory/oas.schema.js +0 -1
- package/dist/modules/view/eventHistory/route.schema.d.ts +0 -2
- package/dist/modules/view/eventHistory/route.schema.js +0 -13
- package/dist/modules/view/eventHistory/tests.d.ts +0 -0
- package/dist/modules/view/eventHistory/tests.js +0 -1
- package/dist/shared/entities/documentManagement.d.ts +0 -12
- package/dist/shared/entities/documentManagement.js +0 -2
- package/dist/shared/entities/index.d.ts +0 -135
- package/dist/shared/entities/index.js +0 -2
- package/dist/shared/entities/integration.d.ts +0 -195
- package/dist/shared/entities/integration.js +0 -2
- package/dist/shared/entities/print.d.ts +0 -36
- package/dist/shared/entities/print.js +0 -2
- package/dist/shared/entities/stock.d.ts +0 -1104
- package/dist/shared/entities/stock.js +0 -2
- package/dist/shared/entities/tickets.d.ts +0 -59
- package/dist/shared/entities/tickets.js +0 -2
- package/dist/shared/entities/user.d.ts +0 -399
- package/dist/shared/entities/user.js +0 -2
- package/dist/shared/entities/view.d.ts +0 -10
- package/dist/shared/entities/view.js +0 -2
- package/dist/shared/errors/documentManagementErrors.d.ts +0 -14
- package/dist/shared/errors/documentManagementErrors.js +0 -15
- package/dist/shared/errors/integrationErrors.d.ts +0 -45
- package/dist/shared/errors/integrationErrors.js +0 -46
- package/dist/shared/errors/stockErrors.d.ts +0 -273
- package/dist/shared/errors/stockErrors.js +0 -274
- package/dist/shared/errors/userErrors.d.ts +0 -104
- package/dist/shared/errors/userErrors.js +0 -105
- package/dist/shared/errors/viewErrors.d.ts +0 -7
- package/dist/shared/errors/viewErrors.js +0 -8
- package/dist/shared/interface.d.ts +0 -220
- package/dist/shared/interface.js +0 -79
- package/dist/shared/messages.d.ts +0 -2
- package/dist/shared/messages.js +0 -119
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
-
}
|
|
19
|
-
Object.defineProperty(o, k2, desc);
|
|
20
|
-
}) : (function(o, m, k, k2) {
|
|
21
|
-
if (k2 === undefined) k2 = k;
|
|
22
|
-
o[k2] = m[k];
|
|
23
|
-
}));
|
|
24
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
-
}) : function(o, v) {
|
|
27
|
-
o["default"] = v;
|
|
28
|
-
});
|
|
29
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
-
if (mod && mod.__esModule) return mod;
|
|
31
|
-
var result = {};
|
|
32
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
-
__setModuleDefault(result, mod);
|
|
34
|
-
return result;
|
|
35
|
-
};
|
|
36
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
37
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
38
|
-
};
|
|
39
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
-
exports.findPaginationBodyResponse = exports.findOwnerIdBodyResponse = exports.findByIdBodyResponse = exports.findBodyResponse = exports.createUpdateDeleteBodyResponse = void 0;
|
|
41
|
-
var joi_1 = __importDefault(require("joi"));
|
|
42
|
-
var IShared = __importStar(require("../../../shared/interface"));
|
|
43
|
-
var createUpdateDeleteBodyResponseKeys = {
|
|
44
|
-
id: joi_1.default.string().uuid().required(),
|
|
45
|
-
name: joi_1.default.string().required(),
|
|
46
|
-
origin_id: joi_1.default.string().allow(null).optional(),
|
|
47
|
-
};
|
|
48
|
-
exports.createUpdateDeleteBodyResponse = joi_1.default.object().keys(__assign(__assign({}, createUpdateDeleteBodyResponseKeys), IShared.joiValidateStamps));
|
|
49
|
-
var findBodyResponseKeys = {
|
|
50
|
-
id: joi_1.default.string().uuid().required(),
|
|
51
|
-
name: joi_1.default.string().required(),
|
|
52
|
-
origin_id: joi_1.default.string().allow(null).optional(),
|
|
53
|
-
};
|
|
54
|
-
exports.findBodyResponse = joi_1.default
|
|
55
|
-
.array()
|
|
56
|
-
.items(__assign(__assign({}, findBodyResponseKeys), IShared.joiValidateStamps))
|
|
57
|
-
.required();
|
|
58
|
-
var findByIdBodyResponseKeys = {
|
|
59
|
-
id: joi_1.default.string().uuid().required(),
|
|
60
|
-
name: joi_1.default.string().required(),
|
|
61
|
-
origin_id: joi_1.default.string().allow(null).optional(),
|
|
62
|
-
};
|
|
63
|
-
exports.findByIdBodyResponse = joi_1.default
|
|
64
|
-
.object()
|
|
65
|
-
.keys(__assign(__assign({}, findByIdBodyResponseKeys), IShared.joiValidateStamps))
|
|
66
|
-
.allow(null);
|
|
67
|
-
var findOwnerIdBodyResponsekeys = {
|
|
68
|
-
id: joi_1.default.string().uuid().required(),
|
|
69
|
-
name: joi_1.default.string().required(),
|
|
70
|
-
origin_id: joi_1.default.string().allow(null).optional(),
|
|
71
|
-
};
|
|
72
|
-
exports.findOwnerIdBodyResponse = joi_1.default
|
|
73
|
-
.array()
|
|
74
|
-
.items(__assign(__assign({}, findOwnerIdBodyResponsekeys), IShared.joiValidateStamps))
|
|
75
|
-
.required();
|
|
76
|
-
var findPaginatedBodyResponseKeys = {
|
|
77
|
-
per_page: joi_1.default.number().required(),
|
|
78
|
-
current_page: joi_1.default.number().required(),
|
|
79
|
-
total: joi_1.default.number().required(),
|
|
80
|
-
data: joi_1.default
|
|
81
|
-
.array()
|
|
82
|
-
.items(__assign(__assign({}, findBodyResponseKeys), IShared.joiValidateStamps))
|
|
83
|
-
.required(),
|
|
84
|
-
};
|
|
85
|
-
exports.findPaginationBodyResponse = joi_1.default
|
|
86
|
-
.object()
|
|
87
|
-
.keys(findPaginatedBodyResponseKeys);
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { DocumentLineNote } from '../../../shared/entities';
|
|
2
|
-
import * as IShared from '../../../shared/interface';
|
|
3
|
-
export declare const Route = "prison";
|
|
4
|
-
export declare const UpperName = "Prison";
|
|
5
|
-
export declare const LowerName: string;
|
|
6
|
-
export interface IFindLinesInPrisonResponse {
|
|
7
|
-
id: string;
|
|
8
|
-
quantity: number;
|
|
9
|
-
preco_custo: number;
|
|
10
|
-
id_provider: number;
|
|
11
|
-
product: {
|
|
12
|
-
id: string;
|
|
13
|
-
thumbnail_multimedia_id: string | null;
|
|
14
|
-
virtual: {
|
|
15
|
-
designation: string;
|
|
16
|
-
reference: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
notes: DocumentLineNote[];
|
|
20
|
-
updated_by: string;
|
|
21
|
-
updated_at: Date;
|
|
22
|
-
}
|
|
23
|
-
export declare const checkLineInPrisonOptions: readonly ["Por confirmar", "Devolver a stock", "Quebrar", "Devolver a fornecedor"];
|
|
24
|
-
export type ICheckLineInPrisonOptions = (typeof checkLineInPrisonOptions)[number];
|
|
25
|
-
export interface ICheckLinesInPrisonLinesRequest {
|
|
26
|
-
id_provider: number;
|
|
27
|
-
document_line_id: string;
|
|
28
|
-
option: ICheckLineInPrisonOptions;
|
|
29
|
-
}
|
|
30
|
-
export interface ICheckLinesInPrisonRequest {
|
|
31
|
-
lines: ICheckLinesInPrisonLinesRequest[];
|
|
32
|
-
}
|
|
33
|
-
export interface ICreateLinesInPrisonProduct {
|
|
34
|
-
id: string;
|
|
35
|
-
quantity: number;
|
|
36
|
-
note?: string;
|
|
37
|
-
}
|
|
38
|
-
export interface ICreateLinesInPrisonRequest {
|
|
39
|
-
products: ICreateLinesInPrisonProduct[];
|
|
40
|
-
}
|
|
41
|
-
export interface IRepository {
|
|
42
|
-
findLinesInPrison(): Promise<IFindLinesInPrisonResponse[]>;
|
|
43
|
-
findLinesInPrisonProviders(): Promise<IShared.IFindMinifiedResponse[]>;
|
|
44
|
-
putLineInPrison(params: IShared.IFindByIdRequest): Promise<void>;
|
|
45
|
-
removeLineFromPrison(params: IShared.IFindByIdRequest): Promise<void>;
|
|
46
|
-
checkLinesInPrison(params: ICheckLinesInPrisonRequest): Promise<IShared.IBrokerMessage<IShared.IBrokerTopic>[]>;
|
|
47
|
-
createLinesInPrison(params: ICreateLinesInPrisonRequest): Promise<string[]>;
|
|
48
|
-
}
|
|
49
|
-
export type IApi = Omit<IRepository, 'checkLinesInPrison'> & {
|
|
50
|
-
checkLinesInPrison(params: ICheckLinesInPrisonRequest): Promise<void>;
|
|
51
|
-
};
|
|
52
|
-
export type IController = IShared.IEntityWithUserToken<IRepository>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.checkLineInPrisonOptions = exports.LowerName = exports.UpperName = exports.Route = void 0;
|
|
4
|
-
exports.Route = 'prison';
|
|
5
|
-
exports.UpperName = 'Prison';
|
|
6
|
-
exports.LowerName = exports.UpperName[0].toLowerCase() + exports.UpperName.substring(1);
|
|
7
|
-
exports.checkLineInPrisonOptions = [
|
|
8
|
-
'Por confirmar',
|
|
9
|
-
'Devolver a stock',
|
|
10
|
-
'Quebrar',
|
|
11
|
-
'Devolver a fornecedor',
|
|
12
|
-
];
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
var _a;
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.createLinesInPrisonBody = exports.checkLinesInPrisonBody = void 0;
|
|
8
|
-
var joi_1 = __importDefault(require("joi"));
|
|
9
|
-
var messages_1 = require("../../../shared/messages");
|
|
10
|
-
var interface_1 = require("./interface");
|
|
11
|
-
var checkLinesInPrisonLinesBodyKeys = {
|
|
12
|
-
id_provider: joi_1.default.number().integer().positive().allow(0).required(),
|
|
13
|
-
document_line_id: joi_1.default.string().uuid().required(),
|
|
14
|
-
option: (_a = joi_1.default
|
|
15
|
-
.string())
|
|
16
|
-
.valid.apply(_a, interface_1.checkLineInPrisonOptions).required(),
|
|
17
|
-
};
|
|
18
|
-
var checkLinesInPrisonBodyKeys = {
|
|
19
|
-
lines: joi_1.default
|
|
20
|
-
.array()
|
|
21
|
-
.items(joi_1.default.object().keys(checkLinesInPrisonLinesBodyKeys).required())
|
|
22
|
-
.required(),
|
|
23
|
-
};
|
|
24
|
-
exports.checkLinesInPrisonBody = joi_1.default
|
|
25
|
-
.object()
|
|
26
|
-
.keys(checkLinesInPrisonBodyKeys)
|
|
27
|
-
.messages(messages_1.messages);
|
|
28
|
-
exports.createLinesInPrisonBody = joi_1.default
|
|
29
|
-
.object()
|
|
30
|
-
.keys({
|
|
31
|
-
products: joi_1.default
|
|
32
|
-
.array()
|
|
33
|
-
.items(joi_1.default
|
|
34
|
-
.object()
|
|
35
|
-
.keys({
|
|
36
|
-
id: joi_1.default.string().uuid().required(),
|
|
37
|
-
quantity: joi_1.default.number().positive().required(),
|
|
38
|
-
note: joi_1.default.string().optional(),
|
|
39
|
-
})
|
|
40
|
-
.required())
|
|
41
|
-
.required(),
|
|
42
|
-
})
|
|
43
|
-
.required();
|
|
@@ -1,243 +0,0 @@
|
|
|
1
|
-
import * as IShared from '../../../shared/interface';
|
|
2
|
-
import { Attribute, Product, ProductName, UnitOfMeasure, ProductSubCategory, ProductCategory, TypeOfInventory, ProductImage, VatTax, VatTaxZone, ProductVirtuals, ProductPromotionVirtuals, CabideProduct, Cabide } from '../../../shared/entities';
|
|
3
|
-
import * as IProductAttribute from '../productAttribute/interface';
|
|
4
|
-
import * as IProductPart from '../productPart/interface';
|
|
5
|
-
export type Entity = Product;
|
|
6
|
-
export declare const Route = "product";
|
|
7
|
-
export declare const UpperName = "Product";
|
|
8
|
-
export declare const LowerName: string;
|
|
9
|
-
export type IProductVirtuals = ProductVirtuals;
|
|
10
|
-
export type IProductPromotionVirtuals = ProductPromotionVirtuals;
|
|
11
|
-
interface IFindDetailedResponse extends Entity {
|
|
12
|
-
unit_of_measure_quantity: UnitOfMeasure;
|
|
13
|
-
unit_of_measure_weight: UnitOfMeasure;
|
|
14
|
-
name: ProductName | null;
|
|
15
|
-
product_sub_category: ProductSubCategory & {
|
|
16
|
-
product_category: ProductCategory & {
|
|
17
|
-
attributes: Attribute[];
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
type_of_inventory: TypeOfInventory;
|
|
21
|
-
vat_tax: VatTax & {
|
|
22
|
-
vat_tax_zones: VatTaxZone[];
|
|
23
|
-
};
|
|
24
|
-
virtual: IProductVirtuals | null;
|
|
25
|
-
promotions: IProductPromotionVirtuals[];
|
|
26
|
-
}
|
|
27
|
-
export interface IEntityExtended extends IFindDetailedResponse {
|
|
28
|
-
product_images: ProductImage[];
|
|
29
|
-
product_attributes: IProductAttribute.IFindDetailedResponse[];
|
|
30
|
-
product_parts: IProductPart.IFindByRefProduct[];
|
|
31
|
-
origin_cabide_product: CabideProduct | null;
|
|
32
|
-
cabide_product: (CabideProduct & {
|
|
33
|
-
cabide: Cabide;
|
|
34
|
-
}) | null;
|
|
35
|
-
}
|
|
36
|
-
export interface IEntityMinified {
|
|
37
|
-
id: string;
|
|
38
|
-
id_provider: number;
|
|
39
|
-
reference: string;
|
|
40
|
-
designation: string;
|
|
41
|
-
price_sale: number;
|
|
42
|
-
price_cost: number;
|
|
43
|
-
tax: number;
|
|
44
|
-
multimedia_id: string | null;
|
|
45
|
-
integer_only: boolean;
|
|
46
|
-
}
|
|
47
|
-
export type IFindRequest = Record<string, unknown>;
|
|
48
|
-
export type IFindResponse = Omit<IFindDetailedResponse, ''>;
|
|
49
|
-
export interface IFindByOwnerIdResponse {
|
|
50
|
-
id: string;
|
|
51
|
-
reference: string;
|
|
52
|
-
thumbnail: string | null;
|
|
53
|
-
}
|
|
54
|
-
export interface IFindPaginatedRequest extends IFindRequest, IShared.IPaginationRequest {
|
|
55
|
-
}
|
|
56
|
-
export type IFindWithPaginationResponse = IShared.IPaginationResponse<Omit<IFindDetailedResponse, ''>>;
|
|
57
|
-
export interface IPrintLabelQueryRequest {
|
|
58
|
-
token: string;
|
|
59
|
-
}
|
|
60
|
-
export declare const ProductTypeEnum: {
|
|
61
|
-
Encomenda: 'Encomenda';
|
|
62
|
-
Stock: 'Stock';
|
|
63
|
-
Servico: 'Servico';
|
|
64
|
-
Producao: 'Producao';
|
|
65
|
-
Cabide: 'Cabide';
|
|
66
|
-
ArtigoDeCabide: 'ArtigoDeCabide';
|
|
67
|
-
Portes: 'Portes';
|
|
68
|
-
};
|
|
69
|
-
export type IProductType = (typeof ProductTypeEnum)[keyof typeof ProductTypeEnum];
|
|
70
|
-
export declare const productTypes: string[];
|
|
71
|
-
export interface IBasicSearchRequest extends IShared.IPaginationRequest {
|
|
72
|
-
search_value: string | null;
|
|
73
|
-
active?: boolean;
|
|
74
|
-
inactive?: boolean;
|
|
75
|
-
dnt_come_anymore?: boolean;
|
|
76
|
-
type_stock: boolean;
|
|
77
|
-
type_encomenda: boolean;
|
|
78
|
-
type_servico: boolean;
|
|
79
|
-
}
|
|
80
|
-
export interface IBasicSearchResponse {
|
|
81
|
-
id: string;
|
|
82
|
-
reference: string;
|
|
83
|
-
designation: string;
|
|
84
|
-
price: number;
|
|
85
|
-
promotion_price: number | null;
|
|
86
|
-
thumbnail?: string | null;
|
|
87
|
-
stock: number;
|
|
88
|
-
updated_at: Date;
|
|
89
|
-
active: boolean;
|
|
90
|
-
dnt_come_anymore: boolean;
|
|
91
|
-
}
|
|
92
|
-
export interface ICreateRequest {
|
|
93
|
-
id?: string;
|
|
94
|
-
origin_id?: string | null;
|
|
95
|
-
id_provider?: number;
|
|
96
|
-
provider_ref?: string | null;
|
|
97
|
-
product_name?: string | null;
|
|
98
|
-
designation?: string | null;
|
|
99
|
-
barcode?: string | null;
|
|
100
|
-
online?: boolean;
|
|
101
|
-
dnt_come_anymore?: boolean;
|
|
102
|
-
comes_temporarily?: boolean;
|
|
103
|
-
no_discount?: boolean;
|
|
104
|
-
type?: IProductType;
|
|
105
|
-
type_of_inventory_id?: string;
|
|
106
|
-
product_sub_category_id?: string;
|
|
107
|
-
external_id?: string;
|
|
108
|
-
vat_tax_id?: string;
|
|
109
|
-
weight?: number | null;
|
|
110
|
-
width?: number | null;
|
|
111
|
-
height?: number | null;
|
|
112
|
-
length?: number | null;
|
|
113
|
-
diameter?: number | null;
|
|
114
|
-
price_cost?: number;
|
|
115
|
-
price_sale?: number;
|
|
116
|
-
margin?: number;
|
|
117
|
-
unit_of_measure_quantity_id?: string;
|
|
118
|
-
unit_of_measure_weight_id?: string;
|
|
119
|
-
cabide_product_id?: string | null;
|
|
120
|
-
origin_cabide_product_id?: string | null;
|
|
121
|
-
cabide_product_color?: string | null;
|
|
122
|
-
imported_from_sheets?: boolean;
|
|
123
|
-
}
|
|
124
|
-
export interface IUpdateRequest {
|
|
125
|
-
id_provider?: number;
|
|
126
|
-
provider_ref?: string | null;
|
|
127
|
-
name_id?: string | null;
|
|
128
|
-
designation?: string | null;
|
|
129
|
-
barcode?: string | null;
|
|
130
|
-
online?: boolean;
|
|
131
|
-
dnt_come_anymore?: boolean;
|
|
132
|
-
comes_temporarily?: boolean;
|
|
133
|
-
no_discount?: boolean;
|
|
134
|
-
type?: IProductType;
|
|
135
|
-
type_of_inventory_id?: string;
|
|
136
|
-
product_sub_category_id?: string;
|
|
137
|
-
external_id?: string | null;
|
|
138
|
-
vat_tax_id?: string;
|
|
139
|
-
weight?: number | null;
|
|
140
|
-
width?: number | null;
|
|
141
|
-
height?: number | null;
|
|
142
|
-
length?: number | null;
|
|
143
|
-
diameter?: number | null;
|
|
144
|
-
price_sale?: number;
|
|
145
|
-
price_cost?: number;
|
|
146
|
-
margin?: number;
|
|
147
|
-
unit_of_measure_quantity_id?: string;
|
|
148
|
-
unit_of_measure_weight_id?: string;
|
|
149
|
-
}
|
|
150
|
-
export interface IBulkUpdateRequest extends Omit<IUpdateRequest, 'price'> {
|
|
151
|
-
ids: string[];
|
|
152
|
-
}
|
|
153
|
-
export interface IFindByReferenceRequest {
|
|
154
|
-
reference: string;
|
|
155
|
-
allowProviderWildcard?: boolean;
|
|
156
|
-
id_provider?: number;
|
|
157
|
-
available?: boolean;
|
|
158
|
-
type?: IProductType;
|
|
159
|
-
}
|
|
160
|
-
export interface IValidateByReferenceRequest extends IFindByReferenceRequest {
|
|
161
|
-
billing_country_id?: string;
|
|
162
|
-
}
|
|
163
|
-
export interface ILabelResponse {
|
|
164
|
-
product_parts: {
|
|
165
|
-
compositions: {
|
|
166
|
-
value: number;
|
|
167
|
-
composition_material: {
|
|
168
|
-
name: string;
|
|
169
|
-
};
|
|
170
|
-
}[];
|
|
171
|
-
maintenance_assocs: {
|
|
172
|
-
maintenance: {
|
|
173
|
-
multimedia_id: string | null;
|
|
174
|
-
};
|
|
175
|
-
}[];
|
|
176
|
-
}[];
|
|
177
|
-
product_use_assocs: {
|
|
178
|
-
product_use: {
|
|
179
|
-
name: string;
|
|
180
|
-
};
|
|
181
|
-
}[];
|
|
182
|
-
name: {
|
|
183
|
-
name: string;
|
|
184
|
-
} | null;
|
|
185
|
-
virtual: ProductVirtuals | null;
|
|
186
|
-
promotion_price: number | null;
|
|
187
|
-
product_attributes: {
|
|
188
|
-
value: string;
|
|
189
|
-
}[];
|
|
190
|
-
product_images: {
|
|
191
|
-
type: string;
|
|
192
|
-
multimedia_id: string;
|
|
193
|
-
}[];
|
|
194
|
-
id: string;
|
|
195
|
-
unit_of_measure_quantity_notation: string;
|
|
196
|
-
}
|
|
197
|
-
export interface IFindOrCreateProductionProductRequest {
|
|
198
|
-
type: string;
|
|
199
|
-
name: string;
|
|
200
|
-
price_cost: number;
|
|
201
|
-
price_sale: number;
|
|
202
|
-
unit_of_measure_notation: string;
|
|
203
|
-
weight?: number | null;
|
|
204
|
-
height?: number | null;
|
|
205
|
-
width?: number | null;
|
|
206
|
-
}
|
|
207
|
-
export interface IFindByProductTypeRequest {
|
|
208
|
-
id_provider: number;
|
|
209
|
-
type: IProductType;
|
|
210
|
-
}
|
|
211
|
-
export interface IFindByProductTypeResponse {
|
|
212
|
-
id: string;
|
|
213
|
-
reference: string;
|
|
214
|
-
price: number;
|
|
215
|
-
}
|
|
216
|
-
export interface IDuplicateProductRequest {
|
|
217
|
-
designation: string;
|
|
218
|
-
provider_ref: string;
|
|
219
|
-
color_id: string[];
|
|
220
|
-
}
|
|
221
|
-
export interface IRepository {
|
|
222
|
-
findById(selector: IShared.IFindByIdRequest): Promise<IEntityExtended | null>;
|
|
223
|
-
findByOwnerId(params: IShared.IFindByOwnerIdRequest): Promise<IFindByOwnerIdResponse[]>;
|
|
224
|
-
findByRef(selector: IFindByReferenceRequest): Promise<IEntityExtended | null>;
|
|
225
|
-
validateByRef(selector: IValidateByReferenceRequest): Promise<IEntityMinified | null>;
|
|
226
|
-
findByProductType(params: IFindByProductTypeRequest): Promise<IFindByProductTypeResponse[]>;
|
|
227
|
-
findMinified(params?: IShared.IFindMinifiedRequest): Promise<IShared.IFindMinifiedResponse[]>;
|
|
228
|
-
find(selector: IFindRequest): Promise<IFindResponse[]>;
|
|
229
|
-
findOrCreateProductionProduct(selector: IFindOrCreateProductionProductRequest): Promise<IFindResponse>;
|
|
230
|
-
findPaginated(selector: IFindPaginatedRequest): Promise<IFindWithPaginationResponse>;
|
|
231
|
-
basicSearch(params: IBasicSearchRequest): Promise<IShared.IPaginationResponse<IBasicSearchResponse>>;
|
|
232
|
-
getLabelData(selector: IShared.IFindByIdRequest): Promise<ILabelResponse | null>;
|
|
233
|
-
bulkUpdate(data: IBulkUpdateRequest): Promise<IShared.IUpdateManyResponse>;
|
|
234
|
-
create(data: ICreateRequest): Promise<IFindResponse>;
|
|
235
|
-
update(selector: IShared.IFindByIdRequest, data: IUpdateRequest): Promise<IFindResponse | null>;
|
|
236
|
-
deleteOne(selector: IShared.IFindByIdRequest): Promise<void>;
|
|
237
|
-
duplicateProduct(selector: IShared.IFindByIdRequest, body: IDuplicateProductRequest): Promise<string>;
|
|
238
|
-
googleSheetsFieldsByRef(selector: IFindByReferenceRequest): Promise<string>;
|
|
239
|
-
updateGoogleSheetsLinesProduct(selector: IShared.IFindByIdRequest[]): Promise<void>;
|
|
240
|
-
}
|
|
241
|
-
export type IApi = Omit<IRepository, 'getLabelData'>;
|
|
242
|
-
export type IController = IShared.IEntityWithUserToken<IRepository>;
|
|
243
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.productTypes = exports.ProductTypeEnum = exports.LowerName = exports.UpperName = exports.Route = void 0;
|
|
4
|
-
exports.Route = 'product';
|
|
5
|
-
exports.UpperName = 'Product';
|
|
6
|
-
exports.LowerName = exports.UpperName[0].toLowerCase() + exports.UpperName.substring(1);
|
|
7
|
-
exports.ProductTypeEnum = {
|
|
8
|
-
Encomenda: 'Encomenda',
|
|
9
|
-
Stock: 'Stock',
|
|
10
|
-
Servico: 'Servico',
|
|
11
|
-
Producao: 'Producao',
|
|
12
|
-
Cabide: 'Cabide',
|
|
13
|
-
ArtigoDeCabide: 'ArtigoDeCabide',
|
|
14
|
-
Portes: 'Portes',
|
|
15
|
-
};
|
|
16
|
-
exports.productTypes = Object.keys(exports.ProductTypeEnum);
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import joi from 'joi';
|
|
2
|
-
export declare const createBody: joi.ObjectSchema<any>;
|
|
3
|
-
export declare const updateBody: joi.ObjectSchema<any>;
|
|
4
|
-
export declare const bulkUpdateBody: joi.ObjectSchema<any>;
|
|
5
|
-
export declare const findQuery: joi.ObjectSchema<any>;
|
|
6
|
-
export declare const findWithPaginationQuery: joi.ObjectSchema<any>;
|
|
7
|
-
export declare const basicSearchQuery: joi.ObjectSchema<any>;
|
|
8
|
-
export declare const findByRef: joi.ObjectSchema<any>;
|
|
9
|
-
export declare const validateByRef: joi.ObjectSchema<any>;
|
|
10
|
-
export declare const findOrCreateProductionProductBody: joi.ObjectSchema<any>;
|
|
11
|
-
export declare const findByProductTypeParams: joi.ObjectSchema<any>;
|
|
12
|
-
export declare const printLabelQuery: joi.ObjectSchema<any>;
|
|
13
|
-
export declare const duplicateProductBody: joi.ObjectSchema<any>;
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
var _a, _b, _c, _d;
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.duplicateProductBody = exports.printLabelQuery = exports.findByProductTypeParams = exports.findOrCreateProductionProductBody = exports.validateByRef = exports.findByRef = exports.basicSearchQuery = exports.findWithPaginationQuery = exports.findQuery = exports.bulkUpdateBody = exports.updateBody = exports.createBody = void 0;
|
|
19
|
-
var joi_1 = __importDefault(require("joi"));
|
|
20
|
-
var messages_1 = require("../../../shared/messages");
|
|
21
|
-
var interface_1 = require("./interface");
|
|
22
|
-
var createBodyKeys = {
|
|
23
|
-
id: joi_1.default.string().uuid().optional(),
|
|
24
|
-
origin_id: joi_1.default.string().empty('').optional(),
|
|
25
|
-
id_provider: joi_1.default.number().integer().positive().allow(0).optional(),
|
|
26
|
-
provider_ref: joi_1.default.string().empty('').optional(),
|
|
27
|
-
product_name: joi_1.default.string().empty('').optional(),
|
|
28
|
-
designation: joi_1.default.string().empty('').optional(),
|
|
29
|
-
barcode: joi_1.default.string().empty('').optional(),
|
|
30
|
-
online: joi_1.default.boolean().optional(),
|
|
31
|
-
dnt_come_anymore: joi_1.default.boolean().optional(),
|
|
32
|
-
comes_temporarily: joi_1.default.boolean().optional(),
|
|
33
|
-
no_discount: joi_1.default.boolean().optional(),
|
|
34
|
-
type: (_a = joi_1.default
|
|
35
|
-
.string())
|
|
36
|
-
.valid.apply(_a, interface_1.productTypes).optional(),
|
|
37
|
-
type_of_inventory_id: joi_1.default.string().uuid().empty('').optional(),
|
|
38
|
-
product_sub_category_id: joi_1.default.string().uuid().empty('').optional(),
|
|
39
|
-
external_id: joi_1.default.string().empty('').optional(),
|
|
40
|
-
vat_tax_id: joi_1.default.string().uuid().empty('').optional(),
|
|
41
|
-
weight: joi_1.default.number().positive().allow(0).allow(null, '').optional(),
|
|
42
|
-
width: joi_1.default.number().positive().allow(0).allow(null, '').optional(),
|
|
43
|
-
height: joi_1.default.number().positive().allow(0).allow(null, '').optional(),
|
|
44
|
-
length: joi_1.default.number().positive().allow(0).allow(null, '').optional(),
|
|
45
|
-
diameter: joi_1.default.number().positive().allow(0).allow(null, '').optional(),
|
|
46
|
-
price_cost: joi_1.default.number().positive().allow(0).optional(),
|
|
47
|
-
price_sale: joi_1.default.number().positive().allow(0).optional(),
|
|
48
|
-
margin: joi_1.default.number().positive().allow(0).optional(),
|
|
49
|
-
unit_of_measure_weight_id: joi_1.default.string().uuid().empty('').optional(),
|
|
50
|
-
unit_of_measure_quantity_id: joi_1.default.string().uuid().empty('').optional(),
|
|
51
|
-
cabide_product_id: joi_1.default.string().uuid().allow(null, '').optional(),
|
|
52
|
-
origin_cabide_product_id: joi_1.default.string().uuid().allow(null, '').optional(),
|
|
53
|
-
cabide_product_color: joi_1.default.string().uuid().allow(null, '').optional(),
|
|
54
|
-
imported_from_sheets: joi_1.default.boolean().optional(),
|
|
55
|
-
};
|
|
56
|
-
exports.createBody = joi_1.default.object().keys(createBodyKeys).messages(messages_1.messages);
|
|
57
|
-
var updateBodyKeys = {
|
|
58
|
-
id_provider: joi_1.default.number().integer().positive().allow(0).optional(),
|
|
59
|
-
provider_ref: joi_1.default.string().allow(null, '').optional(),
|
|
60
|
-
name_id: joi_1.default.string().uuid().allow(null, '').optional(),
|
|
61
|
-
designation: joi_1.default.string().allow(null, '').optional(),
|
|
62
|
-
barcode: joi_1.default.string().allow(null, '').optional(),
|
|
63
|
-
online: joi_1.default.boolean().optional(),
|
|
64
|
-
dnt_come_anymore: joi_1.default.boolean().optional(),
|
|
65
|
-
comes_temporarily: joi_1.default.boolean().optional(),
|
|
66
|
-
no_discount: joi_1.default.boolean().optional(),
|
|
67
|
-
type: (_b = joi_1.default
|
|
68
|
-
.string())
|
|
69
|
-
.valid.apply(_b, interface_1.productTypes).optional(),
|
|
70
|
-
type_of_inventory_id: joi_1.default.string().uuid().empty('').optional(),
|
|
71
|
-
product_sub_category_id: joi_1.default.string().uuid().empty('').optional(),
|
|
72
|
-
external_id: joi_1.default.string().allow(null, '').optional(),
|
|
73
|
-
vat_tax_id: joi_1.default.string().uuid().empty('').optional(),
|
|
74
|
-
weight: joi_1.default.number().positive().allow(0).allow(null, '').optional(),
|
|
75
|
-
width: joi_1.default.number().positive().allow(0).allow(null, '').optional(),
|
|
76
|
-
height: joi_1.default.number().positive().allow(0).allow(null, '').optional(),
|
|
77
|
-
length: joi_1.default.number().positive().allow(0).allow(null, '').optional(),
|
|
78
|
-
diameter: joi_1.default.number().positive().allow(0).allow(null, '').optional(),
|
|
79
|
-
price_sale: joi_1.default.number().positive().allow(0).optional(),
|
|
80
|
-
price_cost: joi_1.default.number().positive().allow(0).optional(),
|
|
81
|
-
margin: joi_1.default.number().positive().allow(0).optional(),
|
|
82
|
-
unit_of_measure_weight_id: joi_1.default.string().uuid().empty('').optional(),
|
|
83
|
-
unit_of_measure_quantity_id: joi_1.default.string().uuid().empty('').optional(),
|
|
84
|
-
};
|
|
85
|
-
exports.updateBody = joi_1.default.object().keys(updateBodyKeys).messages(messages_1.messages);
|
|
86
|
-
var bulkUpdateBodyKeys = __assign(__assign({}, updateBodyKeys), { ids: joi_1.default.array().items(joi_1.default.string().uuid().required()).required() });
|
|
87
|
-
exports.bulkUpdateBody = joi_1.default
|
|
88
|
-
.object()
|
|
89
|
-
.keys(bulkUpdateBodyKeys)
|
|
90
|
-
.messages(messages_1.messages);
|
|
91
|
-
var findQueryKeys = {};
|
|
92
|
-
exports.findQuery = joi_1.default.object().keys(findQueryKeys).messages(messages_1.messages);
|
|
93
|
-
var findWithPaginationQueryKeys = __assign(__assign({}, findQueryKeys), { per_page: joi_1.default.number().integer().positive().default(10).optional(), current_page: joi_1.default.number().integer().positive().default(1).optional() });
|
|
94
|
-
exports.findWithPaginationQuery = joi_1.default
|
|
95
|
-
.object()
|
|
96
|
-
.keys(findWithPaginationQueryKeys)
|
|
97
|
-
.messages(messages_1.messages);
|
|
98
|
-
var basicSearchQueryKeys = {
|
|
99
|
-
per_page: joi_1.default.number().integer().positive().default(10).optional(),
|
|
100
|
-
current_page: joi_1.default.number().integer().positive().default(1).optional(),
|
|
101
|
-
active: joi_1.default.boolean().default(false).optional(),
|
|
102
|
-
inactive: joi_1.default.boolean().default(false).optional(),
|
|
103
|
-
search_value: joi_1.default.string().allow('', null).optional(),
|
|
104
|
-
dnt_come_anymore: joi_1.default.boolean().default(false).optional(),
|
|
105
|
-
type_stock: joi_1.default.boolean().default(false).optional(),
|
|
106
|
-
type_encomenda: joi_1.default.boolean().default(false).optional(),
|
|
107
|
-
type_servico: joi_1.default.boolean().default(false).optional(),
|
|
108
|
-
};
|
|
109
|
-
exports.basicSearchQuery = joi_1.default
|
|
110
|
-
.object()
|
|
111
|
-
.keys(basicSearchQueryKeys)
|
|
112
|
-
.messages(messages_1.messages);
|
|
113
|
-
var findByRefKeys = {
|
|
114
|
-
reference: joi_1.default.string().required(),
|
|
115
|
-
id_provider: joi_1.default.number().integer().positive().optional(),
|
|
116
|
-
available: joi_1.default.boolean().optional(),
|
|
117
|
-
allowProviderWildcard: joi_1.default.boolean().optional(),
|
|
118
|
-
type: (_c = joi_1.default
|
|
119
|
-
.string())
|
|
120
|
-
.valid.apply(_c, interface_1.productTypes).optional(),
|
|
121
|
-
};
|
|
122
|
-
exports.findByRef = joi_1.default.object().keys(findByRefKeys).messages(messages_1.messages);
|
|
123
|
-
var validateByRefKeys = __assign(__assign({}, findByRefKeys), { billing_country_id: joi_1.default.string().uuid().optional() });
|
|
124
|
-
exports.validateByRef = joi_1.default
|
|
125
|
-
.object()
|
|
126
|
-
.keys(validateByRefKeys)
|
|
127
|
-
.messages(messages_1.messages);
|
|
128
|
-
var findOrCreateProductionProductKeys = {
|
|
129
|
-
name: joi_1.default.string().required(),
|
|
130
|
-
type: joi_1.default.string().required(),
|
|
131
|
-
price_cost: joi_1.default.number().required(),
|
|
132
|
-
price_sale: joi_1.default.number().required(),
|
|
133
|
-
unit_of_measure_notation: joi_1.default.string().optional(),
|
|
134
|
-
weight: joi_1.default.number().optional(),
|
|
135
|
-
height: joi_1.default.number().optional(),
|
|
136
|
-
width: joi_1.default.number().optional(),
|
|
137
|
-
};
|
|
138
|
-
exports.findOrCreateProductionProductBody = joi_1.default
|
|
139
|
-
.object()
|
|
140
|
-
.keys(findOrCreateProductionProductKeys)
|
|
141
|
-
.messages(messages_1.messages);
|
|
142
|
-
var findByProductTypeKeys = {
|
|
143
|
-
id_provider: joi_1.default.number().positive().required(),
|
|
144
|
-
type: (_d = joi_1.default
|
|
145
|
-
.string())
|
|
146
|
-
.valid.apply(_d, interface_1.productTypes).required(),
|
|
147
|
-
};
|
|
148
|
-
exports.findByProductTypeParams = joi_1.default
|
|
149
|
-
.object()
|
|
150
|
-
.keys(findByProductTypeKeys)
|
|
151
|
-
.messages(messages_1.messages);
|
|
152
|
-
var printLabelQueryKeys = {
|
|
153
|
-
token: joi_1.default.string().required(),
|
|
154
|
-
};
|
|
155
|
-
exports.printLabelQuery = joi_1.default
|
|
156
|
-
.object()
|
|
157
|
-
.keys(printLabelQueryKeys)
|
|
158
|
-
.messages(messages_1.messages);
|
|
159
|
-
var duplicateProductBodyKeys = {
|
|
160
|
-
designation: joi_1.default.string().required(),
|
|
161
|
-
provider_ref: joi_1.default.string().required(),
|
|
162
|
-
color_id: joi_1.default
|
|
163
|
-
.array()
|
|
164
|
-
.items(joi_1.default.string().uuid().required())
|
|
165
|
-
.required()
|
|
166
|
-
.unique(),
|
|
167
|
-
};
|
|
168
|
-
exports.duplicateProductBody = joi_1.default
|
|
169
|
-
.object()
|
|
170
|
-
.keys(duplicateProductBodyKeys)
|
|
171
|
-
.messages(messages_1.messages);
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import joi from 'joi';
|
|
2
|
-
export declare const createUpdateDeleteBodyResponse: joi.ObjectSchema<any>;
|
|
3
|
-
export declare const findBodyResponse: joi.ArraySchema<any[]>;
|
|
4
|
-
export declare const findByIdBodyResponse: joi.ObjectSchema<any>;
|
|
5
|
-
export declare const findOwnerIdBodyResponse: joi.ArraySchema<any[]>;
|
|
6
|
-
export declare const findPaginationBodyResponse: joi.ObjectSchema<any>;
|