erp-pos-ecommerce-shared 0.0.3 → 0.0.5
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.d.ts +19 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
import { AxiosInstance } from 'axios';
|
|
2
3
|
|
|
3
4
|
interface ICategoryResponse {
|
|
@@ -484,6 +485,23 @@ interface IGender {
|
|
|
484
485
|
deletedDate: null;
|
|
485
486
|
}
|
|
486
487
|
|
|
488
|
+
interface ISidebarLink {
|
|
489
|
+
label: string;
|
|
490
|
+
icon: ReactNode;
|
|
491
|
+
href?: string;
|
|
492
|
+
subLinks?: ISidebarSubLink[];
|
|
493
|
+
}
|
|
494
|
+
interface ISidebarSubLink {
|
|
495
|
+
label: string;
|
|
496
|
+
icon: ReactNode;
|
|
497
|
+
href: string;
|
|
498
|
+
}
|
|
499
|
+
interface ISidebarGroup {
|
|
500
|
+
label: string;
|
|
501
|
+
icon?: ReactNode;
|
|
502
|
+
links: ISidebarLink[];
|
|
503
|
+
}
|
|
504
|
+
|
|
487
505
|
interface IMeta {
|
|
488
506
|
createdAt: Date;
|
|
489
507
|
updatedAt: Date;
|
|
@@ -2101,4 +2119,4 @@ declare const createWareHouse: (warehouse: FormData) => Promise<IWareHouse>;
|
|
|
2101
2119
|
declare const deleteWarehouse: (warehouseID: number) => Promise<void>;
|
|
2102
2120
|
declare const restoreWarehouse: (warehouseID: number) => Promise<void>;
|
|
2103
2121
|
|
|
2104
|
-
export { type AgentResponse, type BankTerminalQuery, type BankTerminalResponse, type BatchData, ButtonTypes, type CalculatePriceRequest, type ChangeProductRequest, type ChangeProductResponse, ChartType, ComparisonBy, type DateRange, type IApiConfig as ErpApiConfig, FieldTypes, type FileType, type FilterType, type GetReturnsByOrderIdResponse, type IAgent, type IAttribute, type IAttributeResponse, type IAttributeValue, type IBankTerminal, type IBankTerminalForm, type IBankTerminalOption, type IBankTerminalResponse, type IBaseField, type IBatch, type IBatchResponse, type IButton, type ICategory, type ICategoryResponse, type IClient, type IClientDataForTable, type IClientRequest, type IClientResponse, type IClientResponseById, type IDateField, type IEmailField, type IExchange, type IExchangeResponse, type IField, type IFileField, type IGender, type IHiddenField, type ILocation, type ILocationResponse, type IMaterial, type IMeta, type IModule, type IMovement, type IMovementResponse, type IMultiSelectField, type INumberField, type IOptions, type IOrder, type IOrderResponse, type IPasswordField, type IPayment, type IPaymentMethod, type IPaymentMethodAmountExpected, type IPermissionRole, type IPricePerGramHistory, type IPriceType, type IPriceTypeResponse, type IProduct, type IProductDetails, type IProductDetailsResponse, type IProductResponse, type IProductVariantRequest, type IPromotion, type IPromotionResponse, type IPromotionType, type IProvider, type IProviderForSelect, type IProviderRequest, type IProviderResponse, type IReportComparisonByTimeFrame, type IReportInventory, type IReportX, type IReportZ, type IRequest, type IReview, type IRole, type ISelect, type ISelectField, type IStock, type IStockByWarehouseReport, type IStockMovement, type IStockMovementResponse, type ISwitchField, type ITag, type ITagField, type ITax, type ITaxResponse, type ITextField, type IUpdatePermission, type IUser, type IUserForm, type IWareHouse, type IWareHouseResponse, type IWareHouseSelect, type LocationResponse, type LoginResponse, type MaterialResponse, type MaterialSummary, type MovementResponse, type NavLinks, type PaymentOptions, type PaymentType, type Period, Permission, type PermissionRole, type PriceCalculationResponse, type PricePerGramForm, type PricePerGramResponse, type PrintProductTagResponse, type PrintQRResponse, type ProdStats, type ProdStock, type ProductInfo, type ProductOptions, PromotionTypeEnum, type QRBaseUrlResponse, type ReportData, type ReportDataProduct, type Response, type SchedulePriceRequest, type StateResponse, type TagData, type TblCategories, type TblMaterials, type TblModules, type TblMoneyTransactionTypes, type TblMoneyTransactions, type TblOrderDetail, type TblOrderDetailsMoneyTransactions, type TblOrderStatus, type TblPermissions, type TblPriceTypes, type TblProducts, type TblProductsImage, type TblProductsTag, type TblPromotionTypes, type TblPromotionsTargetProductIDTotblProduct, type TblProvidersTblProvidersUserIDTotblUser, type TblReturn, type TblReturnDetail, type TblRoles, type TblRolesTblUsersRoleIDTotblRoles, type TblTags, type TblUsersTblProvidersUserIDTotblUsers, type TblUsersTblTotblUsers, type TourActions, type TourConfig, type TourState, type TourStep, type TourStepSide, type UpdateBatchData, type UpdatePriceRequest, type UserResponse, type WarehouseResponse, type WeightBasedSale, api, changeOrderProduct, checkPendingReportZ, closeShift, configureApi, createAttribute, createAttributeValue, createAttributesForCategory, createBankTerminal, createBatch, createBatchAndUpdateOtherBatches, createCategory, createClient, createExchangeRate, createLocation, createMaterial, createMovement, createPriceType, createProduct, createProductVariant, createPromotion, createProvider, createReturn, createRole, createUser, createWareHouse, deleteAttribute, deleteBankTerminal, deleteCategory, deleteClient, deleteImageFromProduct, deleteLocation, deleteMaterial, deletePriceType, deleteProduct, deleteProductVariant, deleteProvider, deleteRole, deleteUser, deleteWarehouse, getAllAgents, getAllBankTerminals, getAllCategories, getAllClients, getAllGenders, getAllLocations, getAllMaterials, getAllModules, getAllPermissions, getAllPriceTypes, getAllProviders, getAllStates, getAttributeById, getAttributeValues, getAttributes, getAttributesByCategoryID, getAttributesByProductID, getAttributesForSelect, getBankTerminalById, getBankTerminals, getBankTerminalsForSelect, getBatches, getBatchesForSelect, getCategories, getCategoriesForSelect, getCategoryById, getClientById, getClientsForSelect, getExchangeRate, getExchangeRates, getLocationById, getLocations, getLocationsForSelect, getMatchedBatches, getMaterialById, getMaterials, getMaterialsForSelect, getMovements, getOrderById, getOrders, getOrdersStatusForSelect, getPaymentMethods, getPaymentMethodsWithAmountExpected, getPaymentTypes, getPermissionRoleByRoleID, getPriceTypeById, getPriceTypesForSelect, getProductById, getProductVariantById, getProductVariants, getProductVariantsForSelect, getProducts, getProductsByCategory, getProductsForSelect, getProductsTable, getPromotionById, getPromotions, getPromotionsTypeForSelect, getProviderById, getProvidersForSelect, getQRBaseUrl, getReportByInventory, getReportComparisonByTimeFrame, getReportX, getReportZ, getReturnsByOrderId, getRoleByID, getRoles, getSellersOfDayForSelect, getSellersWithShift, getStockByWarehouseReport, getTaxesForSelect, getUserById, getUsers, getWarehouseById, getWarehouses, getWarehousesForSelect, healthService, isAValidDiscountCode, login, makeNewCashMovement, pricePerGramService, printProductTag, printQR, printReportX, printReportZ, restoreBankTerminal, restoreCategory, restoreClient, restoreLocation, restoreProduct, restoreProductVariant, restoreProvider, restoreUser, restoreWarehouse, sendCreditPaymentData, sendPaymentData, setNewShift, undeleteAttribute, undeleteMaterial, undeletePriceType, updateAttribute, updateAttributesForCategory, updateBankTerminal, updateBatch, updateCategory, updateClient, updateLocation, updateMaterial, updatePermission, updatePriceType, updateProduct, updateProductVariant, updatePromotion, updateProvider, updateRole, updateUser, updateWarehouse };
|
|
2122
|
+
export { type AgentResponse, type BankTerminalQuery, type BankTerminalResponse, type BatchData, ButtonTypes, type CalculatePriceRequest, type ChangeProductRequest, type ChangeProductResponse, ChartType, ComparisonBy, type DateRange, type IApiConfig as ErpApiConfig, FieldTypes, type FileType, type FilterType, type GetReturnsByOrderIdResponse, type IAgent, type IAttribute, type IAttributeResponse, type IAttributeValue, type IBankTerminal, type IBankTerminalForm, type IBankTerminalOption, type IBankTerminalResponse, type IBaseField, type IBatch, type IBatchResponse, type IButton, type ICategory, type ICategoryResponse, type IClient, type IClientDataForTable, type IClientRequest, type IClientResponse, type IClientResponseById, type IDateField, type IEmailField, type IExchange, type IExchangeResponse, type IField, type IFileField, type IGender, type IHiddenField, type ILocation, type ILocationResponse, type IMaterial, type IMeta, type IModule, type IMovement, type IMovementResponse, type IMultiSelectField, type INumberField, type IOptions, type IOrder, type IOrderResponse, type IPasswordField, type IPayment, type IPaymentMethod, type IPaymentMethodAmountExpected, type IPermissionRole, type IPricePerGramHistory, type IPriceType, type IPriceTypeResponse, type IProduct, type IProductDetails, type IProductDetailsResponse, type IProductResponse, type IProductVariantRequest, type IPromotion, type IPromotionResponse, type IPromotionType, type IProvider, type IProviderForSelect, type IProviderRequest, type IProviderResponse, type IReportComparisonByTimeFrame, type IReportInventory, type IReportX, type IReportZ, type IRequest, type IReview, type IRole, type ISelect, type ISelectField, type ISidebarGroup, type ISidebarLink, type ISidebarSubLink, type IStock, type IStockByWarehouseReport, type IStockMovement, type IStockMovementResponse, type ISwitchField, type ITag, type ITagField, type ITax, type ITaxResponse, type ITextField, type IUpdatePermission, type IUser, type IUserForm, type IWareHouse, type IWareHouseResponse, type IWareHouseSelect, type LocationResponse, type LoginResponse, type MaterialResponse, type MaterialSummary, type MovementResponse, type NavLinks, type PaymentOptions, type PaymentType, type Period, Permission, type PermissionRole, type PriceCalculationResponse, type PricePerGramForm, type PricePerGramResponse, type PrintProductTagResponse, type PrintQRResponse, type ProdStats, type ProdStock, type ProductInfo, type ProductOptions, PromotionTypeEnum, type QRBaseUrlResponse, type ReportData, type ReportDataProduct, type Response, type SchedulePriceRequest, type StateResponse, type TagData, type TblCategories, type TblMaterials, type TblModules, type TblMoneyTransactionTypes, type TblMoneyTransactions, type TblOrderDetail, type TblOrderDetailsMoneyTransactions, type TblOrderStatus, type TblPermissions, type TblPriceTypes, type TblProducts, type TblProductsImage, type TblProductsTag, type TblPromotionTypes, type TblPromotionsTargetProductIDTotblProduct, type TblProvidersTblProvidersUserIDTotblUser, type TblReturn, type TblReturnDetail, type TblRoles, type TblRolesTblUsersRoleIDTotblRoles, type TblTags, type TblUsersTblProvidersUserIDTotblUsers, type TblUsersTblTotblUsers, type TourActions, type TourConfig, type TourState, type TourStep, type TourStepSide, type UpdateBatchData, type UpdatePriceRequest, type UserResponse, type WarehouseResponse, type WeightBasedSale, api, changeOrderProduct, checkPendingReportZ, closeShift, configureApi, createAttribute, createAttributeValue, createAttributesForCategory, createBankTerminal, createBatch, createBatchAndUpdateOtherBatches, createCategory, createClient, createExchangeRate, createLocation, createMaterial, createMovement, createPriceType, createProduct, createProductVariant, createPromotion, createProvider, createReturn, createRole, createUser, createWareHouse, deleteAttribute, deleteBankTerminal, deleteCategory, deleteClient, deleteImageFromProduct, deleteLocation, deleteMaterial, deletePriceType, deleteProduct, deleteProductVariant, deleteProvider, deleteRole, deleteUser, deleteWarehouse, getAllAgents, getAllBankTerminals, getAllCategories, getAllClients, getAllGenders, getAllLocations, getAllMaterials, getAllModules, getAllPermissions, getAllPriceTypes, getAllProviders, getAllStates, getAttributeById, getAttributeValues, getAttributes, getAttributesByCategoryID, getAttributesByProductID, getAttributesForSelect, getBankTerminalById, getBankTerminals, getBankTerminalsForSelect, getBatches, getBatchesForSelect, getCategories, getCategoriesForSelect, getCategoryById, getClientById, getClientsForSelect, getExchangeRate, getExchangeRates, getLocationById, getLocations, getLocationsForSelect, getMatchedBatches, getMaterialById, getMaterials, getMaterialsForSelect, getMovements, getOrderById, getOrders, getOrdersStatusForSelect, getPaymentMethods, getPaymentMethodsWithAmountExpected, getPaymentTypes, getPermissionRoleByRoleID, getPriceTypeById, getPriceTypesForSelect, getProductById, getProductVariantById, getProductVariants, getProductVariantsForSelect, getProducts, getProductsByCategory, getProductsForSelect, getProductsTable, getPromotionById, getPromotions, getPromotionsTypeForSelect, getProviderById, getProvidersForSelect, getQRBaseUrl, getReportByInventory, getReportComparisonByTimeFrame, getReportX, getReportZ, getReturnsByOrderId, getRoleByID, getRoles, getSellersOfDayForSelect, getSellersWithShift, getStockByWarehouseReport, getTaxesForSelect, getUserById, getUsers, getWarehouseById, getWarehouses, getWarehousesForSelect, healthService, isAValidDiscountCode, login, makeNewCashMovement, pricePerGramService, printProductTag, printQR, printReportX, printReportZ, restoreBankTerminal, restoreCategory, restoreClient, restoreLocation, restoreProduct, restoreProductVariant, restoreProvider, restoreUser, restoreWarehouse, sendCreditPaymentData, sendPaymentData, setNewShift, undeleteAttribute, undeleteMaterial, undeletePriceType, updateAttribute, updateAttributesForCategory, updateBankTerminal, updateBatch, updateCategory, updateClient, updateLocation, updateMaterial, updatePermission, updatePriceType, updateProduct, updateProductVariant, updatePromotion, updateProvider, updateRole, updateUser, updateWarehouse };
|