@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,97 +0,0 @@
|
|
|
1
|
-
import { CabideProduct } from '../../../shared/entities';
|
|
2
|
-
import * as IShared from '../../../shared/interface';
|
|
3
|
-
import * as Attribute from '../../stock/attribute/interfaces';
|
|
4
|
-
import * as Product from '../../stock/product/interface';
|
|
5
|
-
export type Entity = CabideProduct;
|
|
6
|
-
export declare const Route = "cabide_product";
|
|
7
|
-
export declare const UpperName = "CabideProduct";
|
|
8
|
-
export declare const LowerName = "cabideProduct";
|
|
9
|
-
export interface ICreateRequest {
|
|
10
|
-
cabide_id: string;
|
|
11
|
-
vat_tax_id: string;
|
|
12
|
-
designation: string;
|
|
13
|
-
width: number;
|
|
14
|
-
preco_final_1?: number;
|
|
15
|
-
preco_final_2?: number;
|
|
16
|
-
preco_final_3?: number;
|
|
17
|
-
preco_venda_1?: number;
|
|
18
|
-
preco_venda_2?: number;
|
|
19
|
-
preco_venda_3?: number;
|
|
20
|
-
portes_1?: number;
|
|
21
|
-
portes_2?: number;
|
|
22
|
-
portes_3?: number;
|
|
23
|
-
preco_custo_1?: number;
|
|
24
|
-
preco_custo_2?: number;
|
|
25
|
-
preco_custo_3?: number;
|
|
26
|
-
observacoes_1?: string;
|
|
27
|
-
observacoes_2?: string;
|
|
28
|
-
observacoes_3?: string;
|
|
29
|
-
}
|
|
30
|
-
export interface IUpdateRequest {
|
|
31
|
-
vat_tax_id?: string;
|
|
32
|
-
designation?: string;
|
|
33
|
-
width?: number;
|
|
34
|
-
preco_final_1?: number;
|
|
35
|
-
preco_final_2?: number;
|
|
36
|
-
preco_final_3?: number;
|
|
37
|
-
preco_venda_1?: number;
|
|
38
|
-
preco_venda_2?: number;
|
|
39
|
-
preco_venda_3?: number;
|
|
40
|
-
portes_1?: number;
|
|
41
|
-
portes_2?: number;
|
|
42
|
-
portes_3?: number;
|
|
43
|
-
preco_custo_1?: number;
|
|
44
|
-
preco_custo_2?: number;
|
|
45
|
-
preco_custo_3?: number;
|
|
46
|
-
observacoes_1?: string;
|
|
47
|
-
observacoes_2?: string;
|
|
48
|
-
observacoes_3?: string;
|
|
49
|
-
}
|
|
50
|
-
export interface IFindCabideByOwnerResponse extends Entity {
|
|
51
|
-
pre_artigo: {
|
|
52
|
-
virtual: {
|
|
53
|
-
reference: string;
|
|
54
|
-
designation: string;
|
|
55
|
-
} | null;
|
|
56
|
-
product_sub_category: {
|
|
57
|
-
product_category: {
|
|
58
|
-
attributes: Attribute.Entity[];
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
product_parts: {
|
|
62
|
-
id: string;
|
|
63
|
-
_count: {
|
|
64
|
-
compositions: number;
|
|
65
|
-
maintenance_assocs: number;
|
|
66
|
-
};
|
|
67
|
-
}[];
|
|
68
|
-
cabide_product: {
|
|
69
|
-
_count: {
|
|
70
|
-
cabide_order_products: number;
|
|
71
|
-
};
|
|
72
|
-
} | null;
|
|
73
|
-
_count: {
|
|
74
|
-
product_attributes: number;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
export interface ICreateProductByCabideProductIdRequest {
|
|
79
|
-
cabide_product_id: string;
|
|
80
|
-
cabide_product_color: string;
|
|
81
|
-
created_by?: string;
|
|
82
|
-
updated_by?: string;
|
|
83
|
-
}
|
|
84
|
-
export interface IFindPaginatedRequest extends IShared.IFindByOwnerIdRequest, IShared.IPaginationRequest {
|
|
85
|
-
}
|
|
86
|
-
export type IFindWithPaginationResponse = IShared.IPaginationResponse<IFindCabideByOwnerResponse>;
|
|
87
|
-
export interface IRepository {
|
|
88
|
-
findById(select: IShared.IFindByIdRequest): Promise<IFindCabideByOwnerResponse | null>;
|
|
89
|
-
findByOwner(selector: IShared.IFindByOwnerIdRequest): Promise<IFindCabideByOwnerResponse[]>;
|
|
90
|
-
findByOwnerPaginated(selector: IFindPaginatedRequest): Promise<IFindWithPaginationResponse>;
|
|
91
|
-
findProductByCabideProductId(selector: IShared.IFindByIdRequest): Promise<Product.IEntityExtended[]>;
|
|
92
|
-
create(data: ICreateRequest): Promise<Entity>;
|
|
93
|
-
update(selector: IShared.IFindByIdRequest, data: IUpdateRequest): Promise<Entity | null>;
|
|
94
|
-
createProductByCabideProductId(data: ICreateProductByCabideProductIdRequest): Promise<Product.IEntityExtended>;
|
|
95
|
-
deleteOne(selector: IShared.IFindByIdRequest): Promise<void>;
|
|
96
|
-
}
|
|
97
|
-
export type IController = IShared.IEntityWithUserToken<IRepository>;
|
|
@@ -1,5 +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 createByProductIdBody: joi.ObjectSchema<any>;
|
|
5
|
-
export declare const findWithPaginationQuery: joi.ObjectSchema<any>;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.findWithPaginationQuery = exports.createByProductIdBody = exports.updateBody = exports.createBody = void 0;
|
|
7
|
-
var joi_1 = __importDefault(require("joi"));
|
|
8
|
-
var messages_1 = require("../../../shared/messages");
|
|
9
|
-
var createBodyKeys = {
|
|
10
|
-
cabide_id: joi_1.default.string().uuid().required(),
|
|
11
|
-
vat_tax_id: joi_1.default.string().uuid().required(),
|
|
12
|
-
designation: joi_1.default.string().required(),
|
|
13
|
-
width: joi_1.default.number().required(),
|
|
14
|
-
preco_final_1: joi_1.default.number().positive().allow(0).optional(),
|
|
15
|
-
preco_final_2: joi_1.default.number().positive().allow(0).optional(),
|
|
16
|
-
preco_final_3: joi_1.default.number().positive().allow(0).optional(),
|
|
17
|
-
preco_venda_1: joi_1.default.number().positive().allow(0).optional(),
|
|
18
|
-
preco_venda_2: joi_1.default.number().positive().allow(0).optional(),
|
|
19
|
-
preco_venda_3: joi_1.default.number().positive().allow(0).optional(),
|
|
20
|
-
portes_1: joi_1.default.number().positive().allow(0).optional(),
|
|
21
|
-
portes_2: joi_1.default.number().positive().allow(0).optional(),
|
|
22
|
-
portes_3: joi_1.default.number().positive().allow(0).optional(),
|
|
23
|
-
preco_custo_1: joi_1.default.number().positive().allow(0).optional(),
|
|
24
|
-
preco_custo_2: joi_1.default.number().positive().allow(0).optional(),
|
|
25
|
-
preco_custo_3: joi_1.default.number().positive().allow(0).optional(),
|
|
26
|
-
observacoes_1: joi_1.default.string().empty('').optional(),
|
|
27
|
-
observacoes_2: joi_1.default.string().empty('').optional(),
|
|
28
|
-
observacoes_3: joi_1.default.string().empty('').optional(),
|
|
29
|
-
};
|
|
30
|
-
exports.createBody = joi_1.default.object().keys(createBodyKeys).messages(messages_1.messages);
|
|
31
|
-
var updateBodyKeys = {
|
|
32
|
-
vat_tax_id: joi_1.default.string().uuid().optional(),
|
|
33
|
-
designation: joi_1.default.string().optional(),
|
|
34
|
-
width: joi_1.default.number().optional(),
|
|
35
|
-
preco_final_1: joi_1.default.number().positive().allow(0).optional(),
|
|
36
|
-
preco_final_2: joi_1.default.number().positive().allow(0).optional(),
|
|
37
|
-
preco_final_3: joi_1.default.number().positive().allow(0).optional(),
|
|
38
|
-
preco_venda_1: joi_1.default.number().positive().allow(0).optional(),
|
|
39
|
-
preco_venda_2: joi_1.default.number().positive().allow(0).optional(),
|
|
40
|
-
preco_venda_3: joi_1.default.number().positive().allow(0).optional(),
|
|
41
|
-
portes_1: joi_1.default.number().positive().allow(0).optional(),
|
|
42
|
-
portes_2: joi_1.default.number().positive().allow(0).optional(),
|
|
43
|
-
portes_3: joi_1.default.number().positive().allow(0).optional(),
|
|
44
|
-
preco_custo_1: joi_1.default.number().positive().allow(0).optional(),
|
|
45
|
-
preco_custo_2: joi_1.default.number().positive().allow(0).optional(),
|
|
46
|
-
preco_custo_3: joi_1.default.number().positive().allow(0).optional(),
|
|
47
|
-
observacoes_1: joi_1.default.string().empty('').optional(),
|
|
48
|
-
observacoes_2: joi_1.default.string().empty('').optional(),
|
|
49
|
-
observacoes_3: joi_1.default.string().empty('').optional(),
|
|
50
|
-
};
|
|
51
|
-
exports.updateBody = joi_1.default.object().keys(updateBodyKeys).messages(messages_1.messages);
|
|
52
|
-
var createByProductIdBodyKeys = {
|
|
53
|
-
cabide_product_id: joi_1.default.string().uuid().required(),
|
|
54
|
-
cabide_product_color: joi_1.default.string().required(),
|
|
55
|
-
created_by: joi_1.default.string().uuid().optional(),
|
|
56
|
-
updated_by: joi_1.default.string().uuid().optional(),
|
|
57
|
-
};
|
|
58
|
-
exports.createByProductIdBody = joi_1.default
|
|
59
|
-
.object()
|
|
60
|
-
.keys(createByProductIdBodyKeys)
|
|
61
|
-
.messages(messages_1.messages);
|
|
62
|
-
var findWithPaginationQueryKeys = {
|
|
63
|
-
per_page: joi_1.default.number().integer().positive().default(10).optional(),
|
|
64
|
-
current_page: joi_1.default.number().integer().positive().default(1).optional(),
|
|
65
|
-
};
|
|
66
|
-
exports.findWithPaginationQuery = joi_1.default
|
|
67
|
-
.object()
|
|
68
|
-
.keys(findWithPaginationQueryKeys)
|
|
69
|
-
.messages(messages_1.messages);
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import * as IShared from '../../../shared/interface';
|
|
2
|
-
import { ClientCurrentAccount } from '../../../shared/entities';
|
|
3
|
-
export type Entity = ClientCurrentAccount;
|
|
4
|
-
export declare const Route = "client_current_account";
|
|
5
|
-
export declare const UpperName = "ClientCurrentAccount";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
|
-
export declare const IPhcDocumentTypeEnum: {
|
|
8
|
-
encomenda_de_cliente: '1|Encomenda de Cliente';
|
|
9
|
-
fatura_ad: '1|Fatura AD';
|
|
10
|
-
factura: '1|Factura';
|
|
11
|
-
factura_re: '9|Fatura RE';
|
|
12
|
-
factura_re_app: '12|Fatura RE APP';
|
|
13
|
-
};
|
|
14
|
-
export type IPhcDocumentType = (typeof IPhcDocumentTypeEnum)[keyof typeof IPhcDocumentTypeEnum];
|
|
15
|
-
export declare const IPhcDocumentType: string[];
|
|
16
|
-
export declare const IBasicSearchDocumentTypeEnum: {
|
|
17
|
-
faturaPorDevolver: 'faturaPorDevolver';
|
|
18
|
-
faturaDevolvida: 'faturaDevolvida';
|
|
19
|
-
faturaPorPagar: 'faturaPorPagar';
|
|
20
|
-
faturaPaga: 'faturaPaga';
|
|
21
|
-
adiantamento: 'adiantamento';
|
|
22
|
-
adiantamentoUsado: 'adiantamentoUsado';
|
|
23
|
-
encomendaAberta: 'encomendaAberta';
|
|
24
|
-
encomendaFechada: 'encomendaFechada';
|
|
25
|
-
};
|
|
26
|
-
export type IBasicSearchDocumentType = (typeof IBasicSearchDocumentTypeEnum)[keyof typeof IBasicSearchDocumentTypeEnum];
|
|
27
|
-
export declare const IBasicSearchDocumentType: string[];
|
|
28
|
-
export type IFindRequest = IShared.IPaginationRequest & IShared.IFindByOwnerIdRequest;
|
|
29
|
-
export interface IFindFaturasPorPagarResponse {
|
|
30
|
-
id: string;
|
|
31
|
-
owner_id: string;
|
|
32
|
-
label: string;
|
|
33
|
-
valor_max_regularizavel: number;
|
|
34
|
-
}
|
|
35
|
-
export interface IPagarFaturaRequest {
|
|
36
|
-
id: string;
|
|
37
|
-
valor: number;
|
|
38
|
-
}
|
|
39
|
-
export interface ILinhasFaturasParaDevolucao {
|
|
40
|
-
id: string;
|
|
41
|
-
reference: string;
|
|
42
|
-
designation: string;
|
|
43
|
-
quantity: number;
|
|
44
|
-
preco_venda: number;
|
|
45
|
-
total: number;
|
|
46
|
-
devolvido: boolean;
|
|
47
|
-
desconto: number;
|
|
48
|
-
taxa_iva: number;
|
|
49
|
-
unidade: string;
|
|
50
|
-
}
|
|
51
|
-
export interface IFindFaturasParaDevolucaoResponse {
|
|
52
|
-
id: string;
|
|
53
|
-
owner_id: string;
|
|
54
|
-
owner_number: number;
|
|
55
|
-
label: string;
|
|
56
|
-
linhas: ILinhasFaturasParaDevolucao[];
|
|
57
|
-
}
|
|
58
|
-
export interface IDevolverRequest {
|
|
59
|
-
ids: string[];
|
|
60
|
-
}
|
|
61
|
-
export interface IBasicSearchRequest extends IShared.IPaginationRequest {
|
|
62
|
-
search_value: string | null;
|
|
63
|
-
inactive?: boolean;
|
|
64
|
-
}
|
|
65
|
-
export interface IBasicSearchResponse {
|
|
66
|
-
id: string;
|
|
67
|
-
owner_id: string;
|
|
68
|
-
document_header_document_number?: number;
|
|
69
|
-
type: IBasicSearchDocumentType;
|
|
70
|
-
nome: string;
|
|
71
|
-
nif: string;
|
|
72
|
-
email: string;
|
|
73
|
-
telephone: string;
|
|
74
|
-
numero_cliente: string;
|
|
75
|
-
numero_documento: string;
|
|
76
|
-
valor: number;
|
|
77
|
-
}
|
|
78
|
-
export interface IRepository {
|
|
79
|
-
find(params: IShared.IFindByOwnerIdRequest): Promise<Entity[]>;
|
|
80
|
-
findByOwnerId(params: IFindRequest): Promise<IShared.IPaginationResponse<Entity>>;
|
|
81
|
-
findFaturaPorPagar(params: IShared.IFindByIdRequest): Promise<IFindFaturasPorPagarResponse>;
|
|
82
|
-
pagarFatura(params: IPagarFaturaRequest): Promise<void>;
|
|
83
|
-
findFaturaParaDevolver(params: IShared.IFindByIdRequest): Promise<IFindFaturasParaDevolucaoResponse>;
|
|
84
|
-
devolver(params: IDevolverRequest): Promise<void>;
|
|
85
|
-
findByBasicSearch(data: IBasicSearchRequest): Promise<IShared.IPaginationResponse<IBasicSearchResponse>>;
|
|
86
|
-
}
|
|
87
|
-
export type IController = IShared.IEntityWithUserToken<IRepository>;
|
|
88
|
-
export type IApi = Omit<IRepository, 'find'>;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IBasicSearchDocumentType = exports.IBasicSearchDocumentTypeEnum = exports.IPhcDocumentType = exports.IPhcDocumentTypeEnum = exports.LowerName = exports.UpperName = exports.Route = void 0;
|
|
4
|
-
exports.Route = 'client_current_account';
|
|
5
|
-
exports.UpperName = 'ClientCurrentAccount';
|
|
6
|
-
exports.LowerName = exports.UpperName[0].toLowerCase() + exports.UpperName.substring(1);
|
|
7
|
-
exports.IPhcDocumentTypeEnum = {
|
|
8
|
-
encomenda_de_cliente: '1|Encomenda de Cliente',
|
|
9
|
-
fatura_ad: '1|Fatura AD',
|
|
10
|
-
factura: '1|Factura',
|
|
11
|
-
factura_re: '9|Fatura RE',
|
|
12
|
-
factura_re_app: '12|Fatura RE APP',
|
|
13
|
-
};
|
|
14
|
-
exports.IPhcDocumentType = Object.keys(exports.IPhcDocumentTypeEnum);
|
|
15
|
-
exports.IBasicSearchDocumentTypeEnum = {
|
|
16
|
-
faturaPorDevolver: 'faturaPorDevolver',
|
|
17
|
-
faturaDevolvida: 'faturaDevolvida',
|
|
18
|
-
faturaPorPagar: 'faturaPorPagar',
|
|
19
|
-
faturaPaga: 'faturaPaga',
|
|
20
|
-
adiantamento: 'adiantamento',
|
|
21
|
-
adiantamentoUsado: 'adiantamentoUsado',
|
|
22
|
-
encomendaAberta: 'encomendaAberta',
|
|
23
|
-
encomendaFechada: 'encomendaFechada',
|
|
24
|
-
};
|
|
25
|
-
exports.IBasicSearchDocumentType = Object.keys(exports.IBasicSearchDocumentTypeEnum);
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import joi from 'joi';
|
|
2
|
-
export declare const findByOwnerIdBodyKeysBody: joi.ObjectSchema<any>;
|
|
3
|
-
export declare const pagarFaturaBody: joi.ObjectSchema<any>;
|
|
4
|
-
export declare const devolverBody: joi.ObjectSchema<any>;
|
|
5
|
-
export declare const basicSearchQuery: joi.ObjectSchema<any>;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.basicSearchQuery = exports.devolverBody = exports.pagarFaturaBody = exports.findByOwnerIdBodyKeysBody = void 0;
|
|
7
|
-
var joi_1 = __importDefault(require("joi"));
|
|
8
|
-
var messages_1 = require("../../../shared/messages");
|
|
9
|
-
var findByOwnerIdBodyKeys = {
|
|
10
|
-
per_page: joi_1.default.number().integer().positive().default(10).optional(),
|
|
11
|
-
current_page: joi_1.default.number().integer().positive().default(1).optional(),
|
|
12
|
-
owner_id: joi_1.default.string().uuid().required(),
|
|
13
|
-
};
|
|
14
|
-
exports.findByOwnerIdBodyKeysBody = joi_1.default
|
|
15
|
-
.object()
|
|
16
|
-
.keys(findByOwnerIdBodyKeys)
|
|
17
|
-
.messages(messages_1.messages);
|
|
18
|
-
var pagarFaturaBodyKeys = {
|
|
19
|
-
id: joi_1.default.string().uuid().required(),
|
|
20
|
-
valor: joi_1.default.number().positive().required(),
|
|
21
|
-
};
|
|
22
|
-
exports.pagarFaturaBody = joi_1.default
|
|
23
|
-
.object()
|
|
24
|
-
.keys(pagarFaturaBodyKeys)
|
|
25
|
-
.messages(messages_1.messages);
|
|
26
|
-
var devolverBodyKeys = {
|
|
27
|
-
ids: joi_1.default.array().items(joi_1.default.string().uuid().required()).required(),
|
|
28
|
-
};
|
|
29
|
-
exports.devolverBody = joi_1.default
|
|
30
|
-
.object()
|
|
31
|
-
.keys(devolverBodyKeys)
|
|
32
|
-
.messages(messages_1.messages);
|
|
33
|
-
var basicSearchQueryKeys = {
|
|
34
|
-
search_value: joi_1.default.string().allow('', null).optional(),
|
|
35
|
-
per_page: joi_1.default
|
|
36
|
-
.number()
|
|
37
|
-
.positive()
|
|
38
|
-
.integer()
|
|
39
|
-
.default(10)
|
|
40
|
-
.allow(null)
|
|
41
|
-
.optional(),
|
|
42
|
-
inactive: joi_1.default.boolean().default(false).optional(),
|
|
43
|
-
current_page: joi_1.default.number().positive().integer().allow(null).optional(),
|
|
44
|
-
};
|
|
45
|
-
exports.basicSearchQuery = joi_1.default
|
|
46
|
-
.object()
|
|
47
|
-
.keys(basicSearchQueryKeys)
|
|
48
|
-
.messages(messages_1.messages);
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as IShared from '../../../shared/interface';
|
|
2
|
-
import { Counter } from '../../../shared/entities';
|
|
3
|
-
export type Entity = Counter;
|
|
4
|
-
export declare const Route = "counter";
|
|
5
|
-
export declare const UpperName = "Counter";
|
|
6
|
-
export declare const LowerName: string;
|
|
7
|
-
export interface IFindByDocTypeRequest {
|
|
8
|
-
document_type: number;
|
|
9
|
-
}
|
|
10
|
-
export interface ICreateRequest {
|
|
11
|
-
name: string;
|
|
12
|
-
document_type: number;
|
|
13
|
-
year: number;
|
|
14
|
-
}
|
|
15
|
-
export interface IUpdateRequest {
|
|
16
|
-
name: string;
|
|
17
|
-
document_type: number;
|
|
18
|
-
year: number;
|
|
19
|
-
}
|
|
20
|
-
export interface IRepository {
|
|
21
|
-
findByDocType(data: IFindByDocTypeRequest): Promise<Entity | null>;
|
|
22
|
-
findAll(): Promise<Entity[]>;
|
|
23
|
-
create(data: ICreateRequest): Promise<Entity>;
|
|
24
|
-
update(data: IUpdateRequest): Promise<Entity | null>;
|
|
25
|
-
}
|
|
26
|
-
export type IController = IShared.IEntityWithUserToken<IRepository>;
|
|
27
|
-
export type IApi = Omit<IRepository, 'findAll'>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LowerName = exports.UpperName = exports.Route = void 0;
|
|
4
|
-
exports.Route = 'counter';
|
|
5
|
-
exports.UpperName = 'Counter';
|
|
6
|
-
exports.LowerName = exports.UpperName[0].toLowerCase() + exports.UpperName.substring(1);
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.updateBody = exports.findByDocumentTypeParams = exports.createBody = void 0;
|
|
7
|
-
var joi_1 = __importDefault(require("joi"));
|
|
8
|
-
var messages_1 = require("../../../shared/messages");
|
|
9
|
-
var createBodyKeys = {
|
|
10
|
-
document_type: joi_1.default.number().required(),
|
|
11
|
-
year: joi_1.default.number().required(),
|
|
12
|
-
name: joi_1.default.string().required(),
|
|
13
|
-
};
|
|
14
|
-
exports.createBody = joi_1.default.object().keys(createBodyKeys).messages(messages_1.messages);
|
|
15
|
-
var findByDocumentTypeParamsKeys = {
|
|
16
|
-
document_type: joi_1.default.number().required(),
|
|
17
|
-
};
|
|
18
|
-
exports.findByDocumentTypeParams = joi_1.default
|
|
19
|
-
.object()
|
|
20
|
-
.keys(findByDocumentTypeParamsKeys)
|
|
21
|
-
.messages(messages_1.messages);
|
|
22
|
-
var updateBodyKeys = {
|
|
23
|
-
document_type: joi_1.default.number().required(),
|
|
24
|
-
year: joi_1.default.number().required(),
|
|
25
|
-
name: joi_1.default.string().required(),
|
|
26
|
-
};
|
|
27
|
-
exports.updateBody = joi_1.default.object().keys(updateBodyKeys).messages(messages_1.messages);
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|