erp-pos-ecommerce-shared 0.2.3 → 0.2.6
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/components.d.ts +40 -4
- package/dist/components.js +60 -1
- package/dist/components.js.map +1 -1
- package/dist/{filters.interface-glhGBJfx.d.ts → filters.interface-C9rkI_yn.d.ts} +3 -1
- package/dist/{form.interface-CO6P9ez0.d.ts → form.interface-D72rc8aa.d.ts} +1 -1
- package/dist/hooks.d.ts +4 -4
- package/dist/index.d.ts +6 -6
- package/dist/index.js +60 -1
- package/dist/index.js.map +1 -1
- package/dist/interfaces.d.ts +3 -3
- package/dist/queries.d.ts +5 -5
- package/dist/services.d.ts +3 -3
- package/dist/{shift.queries-BbWWhwdp.d.ts → shift.queries-1llwBA4L.d.ts} +3 -3
- package/dist/{warehouse.interface-fnr42ygU.d.ts → warehouse.interface-55Ct2lRw.d.ts} +1 -1
- package/dist/{warehouse.service-CDDl5yeV.d.ts → warehouse.service-1QRsc9uI.d.ts} +2 -2
- package/package.json +1 -1
package/dist/interfaces.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { B as BatchData, I as IAttribute, a as IAttributeFilter, b as IAttributeQueryParams, c as IAttributeResponse, d as IAttributeValue, e as IBatch, f as IBatchResponse, g as ICategory, h as
|
|
2
|
-
export { A as AgentResponse, B as BankTerminalQuery, a as BankTerminalResponse, C as CalculatePriceRequest, b as ChartType, c as ComparisonBy, D as DateRange, I as IAgent, d as IBankTerminal, e as IBankTerminalForm, f as IBankTerminalOption, g as IBankTerminalResponse, h as IClient, i as IClientDataForTable, j as IClientRequest, k as IClientResponse, l as IClientResponseById, m as IGender, n as ILocation, o as ILocationResponse, p as IMaterial, q as IMeta, r as IModule, s as IMovement, t as IMovementResponse, u as IOrder, v as IOrderResponse, w as IPayment, x as IPaymentMethod, y as IPaymentMethodAmountExpected, z as IPermissionRole, E as IPricePerGramHistory, F as IPriceType, G as IPriceTypeResponse, H as IPromotion, J as IPromotionResponse, K as IPromotionType, L as IProvider, M as IProviderForSelect, N as IProviderRequest, O as IProviderResponse, P as IReportComparisonByTimeFrame, Q as IReportInventory, R as IReportX, S as IReportZ, T as IReview, U as IRole, V as IStockByWarehouseReport, W as IStockMovement, X as IStockMovementResponse, Y as ITag, Z as ITax, _ as ITaxResponse, $ as IUser, a0 as IUserForm, a1 as IWareHouse, a2 as IWareHouseResponse, a3 as IWareHouseSelect, a4 as MaterialSummary, a5 as PaymentOptions, a6 as Period, a7 as Permission, a8 as PermissionRole, a9 as PriceCalculationResponse, aa as PricePerGramForm, ab as PricePerGramResponse, ac as ProductInfo, ad as PromotionTypeEnum, ae as ReportData, af as ReportDataProduct, ag as SchedulePriceRequest, ah as TblModules, ai as TblMoneyTransactionTypes, aj as TblMoneyTransactions, ak as TblOrderDetail, al as TblOrderDetailsMoneyTransactions, am as TblOrderStatus, an as TblPermissions, ao as TblPriceTypes, ap as TblProducts, aq as TblPromotionTypes, ar as TblPromotionsTargetProductIDTotblProduct, as as TblProvidersTblProvidersUserIDTotblUser, at as TblReturn, au as TblReturnDetail, av as TblRoles, aw as TblRolesTblUsersRoleIDTotblRoles, ax as TblUsersTblProvidersUserIDTotblUsers, ay as TblUsersTblTotblUsers, az as UpdatePriceRequest, aA as UserResponse, aB as WeightBasedSale } from './warehouse.interface-
|
|
1
|
+
export { B as BatchData, I as IAttribute, a as IAttributeFilter, b as IAttributeQueryParams, c as IAttributeResponse, d as IAttributeValue, e as IBatch, f as IBatchResponse, g as ICategory, h as ICategoryRequest, i as ICategoryResponse, j as IFilterSelectOption, k as IFilterType, l as IProduct, m as IProductDetails, n as IProductDetailsResponse, o as IProductResponse, p as IProductVariantRequest, q as IStock, r as ITableFilterConfig, P as ProdStats, s as ProdStock, t as ProductOptions, T as TblCategories, u as TblMaterials, v as TblProductsImage, w as TblProductsTag, x as TblTags } from './filters.interface-C9rkI_yn.js';
|
|
2
|
+
export { A as AgentResponse, B as BankTerminalQuery, a as BankTerminalResponse, C as CalculatePriceRequest, b as ChartType, c as ComparisonBy, D as DateRange, I as IAgent, d as IBankTerminal, e as IBankTerminalForm, f as IBankTerminalOption, g as IBankTerminalResponse, h as IClient, i as IClientDataForTable, j as IClientRequest, k as IClientResponse, l as IClientResponseById, m as IGender, n as ILocation, o as ILocationResponse, p as IMaterial, q as IMeta, r as IModule, s as IMovement, t as IMovementResponse, u as IOrder, v as IOrderResponse, w as IPayment, x as IPaymentMethod, y as IPaymentMethodAmountExpected, z as IPermissionRole, E as IPricePerGramHistory, F as IPriceType, G as IPriceTypeResponse, H as IPromotion, J as IPromotionResponse, K as IPromotionType, L as IProvider, M as IProviderForSelect, N as IProviderRequest, O as IProviderResponse, P as IReportComparisonByTimeFrame, Q as IReportInventory, R as IReportX, S as IReportZ, T as IReview, U as IRole, V as IStockByWarehouseReport, W as IStockMovement, X as IStockMovementResponse, Y as ITag, Z as ITax, _ as ITaxResponse, $ as IUser, a0 as IUserForm, a1 as IWareHouse, a2 as IWareHouseResponse, a3 as IWareHouseSelect, a4 as MaterialSummary, a5 as PaymentOptions, a6 as Period, a7 as Permission, a8 as PermissionRole, a9 as PriceCalculationResponse, aa as PricePerGramForm, ab as PricePerGramResponse, ac as ProductInfo, ad as PromotionTypeEnum, ae as ReportData, af as ReportDataProduct, ag as SchedulePriceRequest, ah as TblModules, ai as TblMoneyTransactionTypes, aj as TblMoneyTransactions, ak as TblOrderDetail, al as TblOrderDetailsMoneyTransactions, am as TblOrderStatus, an as TblPermissions, ao as TblPriceTypes, ap as TblProducts, aq as TblPromotionTypes, ar as TblPromotionsTargetProductIDTotblProduct, as as TblProvidersTblProvidersUserIDTotblUser, at as TblReturn, au as TblReturnDetail, av as TblRoles, aw as TblRolesTblUsersRoleIDTotblRoles, ax as TblUsersTblProvidersUserIDTotblUsers, ay as TblUsersTblTotblUsers, az as UpdatePriceRequest, aA as UserResponse, aB as WeightBasedSale } from './warehouse.interface-55Ct2lRw.js';
|
|
3
3
|
export { D as DataTableConfig, S as ServerTableState, T as TableHeaderStyle, d as defaultDataTableConfig } from './datatable.interface-DbB5oxj-.js';
|
|
4
|
-
export { B as ButtonTypes, F as FieldTypes, a as FileType, I as IBaseField, b as IButton, c as IDateField, d as IEmailField, e as IField, f as IFileField, g as IHiddenField, h as IMultiSelectField, i as INumberField, j as IOptions, k as IPasswordField, l as ISelect, m as ISelectField, n as ISwitchField, o as ITagField, p as ITextField, T as TagData } from './form.interface-
|
|
4
|
+
export { B as ButtonTypes, F as FieldTypes, a as FileType, I as IBaseField, b as IButton, c as IDateField, d as IEmailField, e as IField, f as IFileField, g as IHiddenField, h as IMultiSelectField, i as INumberField, j as IOptions, k as IPasswordField, l as ISelect, m as ISelectField, n as ISwitchField, o as ITagField, p as ITextField, T as TagData } from './form.interface-D72rc8aa.js';
|
|
5
5
|
import { ElementType } from 'react';
|
|
6
6
|
export { I as IRequest } from './util.interface-AOzOjHR0.js';
|
|
7
7
|
import '@tanstack/react-table';
|
package/dist/queries.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ import { T as TableQueryParams } from './types-CiX8AkJA.js';
|
|
|
2
2
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
3
3
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
4
4
|
import { QueryClient, UseMutationOptions } from '@tanstack/react-query';
|
|
5
|
-
import { b as IAttributeQueryParams, c as IAttributeResponse, I as IAttribute, d as IAttributeValue,
|
|
6
|
-
import { aA as UserResponse, $ as IUser, A as AgentResponse, a0 as IUserForm, a2 as IWareHouseResponse, a1 as IWareHouse, k as IClientResponse, l as IClientResponseById, h as IClient, j as IClientRequest, g as IBankTerminalResponse, d as IBankTerminal, a as BankTerminalResponse, e as IBankTerminalForm, U as IRole, O as IProviderResponse, L as IProvider, M as IProviderForSelect, N as IProviderRequest, o as ILocationResponse, n as ILocation, p as IMaterial, G as IPriceTypeResponse, F as IPriceType, z as IPermissionRole, a8 as PermissionRole, J as IPromotionResponse, H as IPromotion, K as IPromotionType, x as IPaymentMethod, y as IPaymentMethodAmountExpected, w as IPayment, Z as ITax, r as IModule, Y as ITag, ab as PricePerGramResponse, E as IPricePerGramHistory, az as UpdatePriceRequest, ag as SchedulePriceRequest, a9 as PriceCalculationResponse, C as CalculatePriceRequest, c as ComparisonBy, V as IStockByWarehouseReport, R as IReportX, P as IReportComparisonByTimeFrame, Q as IReportInventory, S as IReportZ, ak as TblOrderDetail, X as IStockMovementResponse, W as IStockMovement } from './warehouse.interface-
|
|
7
|
-
import { W as WarehouseResponse, U as UpdateBatchData, L as LocationResponse, M as MaterialResponse, b as IExchangeResponse, I as IExchange, P as PaymentType, c as IUpdatePermission, d as LoginResponse, S as StateResponse, e as PrintQRResponse, G as GetReturnsByOrderIdResponse } from './warehouse.service-
|
|
8
|
-
import { F as FolioResponse } from './shift.queries-
|
|
9
|
-
export { C as CloseShiftData, G as GenderResponse, H as HealthCheckResponse, P as ProductQueryParams, U as UseOrdersParams, g as genderQueryKeys, a as genders, h as health, b as healthQueryKeys, o as orderQueryKeys, c as orders, p as productQueryKeys, d as products, s as shifts } from './shift.queries-
|
|
5
|
+
import { b as IAttributeQueryParams, c as IAttributeResponse, I as IAttribute, d as IAttributeValue, i as ICategoryResponse, g as ICategory, f as IBatchResponse, e as IBatch } from './filters.interface-C9rkI_yn.js';
|
|
6
|
+
import { aA as UserResponse, $ as IUser, A as AgentResponse, a0 as IUserForm, a2 as IWareHouseResponse, a1 as IWareHouse, k as IClientResponse, l as IClientResponseById, h as IClient, j as IClientRequest, g as IBankTerminalResponse, d as IBankTerminal, a as BankTerminalResponse, e as IBankTerminalForm, U as IRole, O as IProviderResponse, L as IProvider, M as IProviderForSelect, N as IProviderRequest, o as ILocationResponse, n as ILocation, p as IMaterial, G as IPriceTypeResponse, F as IPriceType, z as IPermissionRole, a8 as PermissionRole, J as IPromotionResponse, H as IPromotion, K as IPromotionType, x as IPaymentMethod, y as IPaymentMethodAmountExpected, w as IPayment, Z as ITax, r as IModule, Y as ITag, ab as PricePerGramResponse, E as IPricePerGramHistory, az as UpdatePriceRequest, ag as SchedulePriceRequest, a9 as PriceCalculationResponse, C as CalculatePriceRequest, c as ComparisonBy, V as IStockByWarehouseReport, R as IReportX, P as IReportComparisonByTimeFrame, Q as IReportInventory, S as IReportZ, ak as TblOrderDetail, X as IStockMovementResponse, W as IStockMovement } from './warehouse.interface-55Ct2lRw.js';
|
|
7
|
+
import { W as WarehouseResponse, U as UpdateBatchData, L as LocationResponse, M as MaterialResponse, b as IExchangeResponse, I as IExchange, P as PaymentType, c as IUpdatePermission, d as LoginResponse, S as StateResponse, e as PrintQRResponse, G as GetReturnsByOrderIdResponse } from './warehouse.service-1QRsc9uI.js';
|
|
8
|
+
import { F as FolioResponse } from './shift.queries-1llwBA4L.js';
|
|
9
|
+
export { C as CloseShiftData, G as GenderResponse, H as HealthCheckResponse, P as ProductQueryParams, U as UseOrdersParams, g as genderQueryKeys, a as genders, h as health, b as healthQueryKeys, o as orderQueryKeys, c as orders, p as productQueryKeys, d as products, s as shifts } from './shift.queries-1llwBA4L.js';
|
|
10
10
|
import '@tanstack/react-table';
|
|
11
11
|
|
|
12
12
|
declare const attributeQueryKeys: {
|
package/dist/services.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AxiosInstance } from 'axios';
|
|
2
|
-
import { I as IAttribute, d as IAttributeValue, c as IAttributeResponse, a as IAttributeFilter, g as ICategory,
|
|
3
|
-
export { C as ChangeProductRequest, a as ChangeProductResponse, G as GetReturnsByOrderIdResponse, I as IExchange, b as IExchangeResponse, c as IUpdatePermission, L as LocationResponse, d as LoginResponse, M as MaterialResponse, P as PaymentType, e as PrintQRResponse, Q as QRBaseUrlResponse, R as Response, S as StateResponse, U as UpdateBatchData, W as WarehouseResponse, f as changeOrderProduct, g as closeShift, h as createBatch, i as createBatchAndUpdateOtherBatches, j as createExchangeRate, k as createLocation, l as createMaterial, m as createReturn, n as createWareHouse, o as deleteLocation, p as deleteMaterial, q as deleteWarehouse, r as getAllLocations, s as getAllMaterials, t as getAllPermissions, u as getAllStates, v as getBatches, w as getBatchesForSelect, x as getExchangeRate, y as getExchangeRates, z as getLocationById, A as getLocations, B as getLocationsForSelect, D as getMatchedBatches, E as getMaterialById, F as getMaterials, H as getMaterialsForSelect, J as getOrderById, K as getOrders, N as getOrdersStatusForSelect, O as getPaymentTypes, T as getPermissionRoleByRoleID, V as getQRBaseUrl, X as getReturnsByOrderId, Y as getWarehouseById, Z as getWarehouses, _ as getWarehousesForSelect, $ as login, a0 as makeNewCashMovement, a1 as printQR, a2 as restoreLocation, a3 as restoreWarehouse, a4 as setNewShift, a5 as undeleteMaterial, a6 as updateBatch, a7 as updateLocation, a8 as updateMaterial, a9 as updatePermission, aa as updateWarehouse } from './warehouse.service-
|
|
4
|
-
import { e as IBankTerminalForm, d as IBankTerminal, a as BankTerminalResponse, B as BankTerminalQuery, g as IBankTerminalResponse, j as IClientRequest, k as IClientResponse, l as IClientResponseById, h as IClient, m as IGender, r as IModule, x as IPaymentMethod, y as IPaymentMethodAmountExpected, w as IPayment, ab as PricePerGramResponse, az as UpdatePriceRequest, E as IPricePerGramHistory, ag as SchedulePriceRequest, C as CalculatePriceRequest, a9 as PriceCalculationResponse, F as IPriceType, G as IPriceTypeResponse, Y as ITag, H as IPromotion, J as IPromotionResponse, K as IPromotionType, N as IProviderRequest, O as IProviderResponse, L as IProvider, M as IProviderForSelect, Q as IReportInventory, c as ComparisonBy, P as IReportComparisonByTimeFrame, R as IReportX, S as IReportZ, V as IStockByWarehouseReport, U as IRole, W as IStockMovement, X as IStockMovementResponse, Z as ITax, a0 as IUserForm, A as AgentResponse, $ as IUser, aA as UserResponse } from './warehouse.interface-
|
|
2
|
+
import { I as IAttribute, d as IAttributeValue, c as IAttributeResponse, a as IAttributeFilter, g as ICategory, i as ICategoryResponse, l as IProduct, m as IProductDetails, n as IProductDetailsResponse, k as IFilterType, o as IProductResponse } from './filters.interface-C9rkI_yn.js';
|
|
3
|
+
export { C as ChangeProductRequest, a as ChangeProductResponse, G as GetReturnsByOrderIdResponse, I as IExchange, b as IExchangeResponse, c as IUpdatePermission, L as LocationResponse, d as LoginResponse, M as MaterialResponse, P as PaymentType, e as PrintQRResponse, Q as QRBaseUrlResponse, R as Response, S as StateResponse, U as UpdateBatchData, W as WarehouseResponse, f as changeOrderProduct, g as closeShift, h as createBatch, i as createBatchAndUpdateOtherBatches, j as createExchangeRate, k as createLocation, l as createMaterial, m as createReturn, n as createWareHouse, o as deleteLocation, p as deleteMaterial, q as deleteWarehouse, r as getAllLocations, s as getAllMaterials, t as getAllPermissions, u as getAllStates, v as getBatches, w as getBatchesForSelect, x as getExchangeRate, y as getExchangeRates, z as getLocationById, A as getLocations, B as getLocationsForSelect, D as getMatchedBatches, E as getMaterialById, F as getMaterials, H as getMaterialsForSelect, J as getOrderById, K as getOrders, N as getOrdersStatusForSelect, O as getPaymentTypes, T as getPermissionRoleByRoleID, V as getQRBaseUrl, X as getReturnsByOrderId, Y as getWarehouseById, Z as getWarehouses, _ as getWarehousesForSelect, $ as login, a0 as makeNewCashMovement, a1 as printQR, a2 as restoreLocation, a3 as restoreWarehouse, a4 as setNewShift, a5 as undeleteMaterial, a6 as updateBatch, a7 as updateLocation, a8 as updateMaterial, a9 as updatePermission, aa as updateWarehouse } from './warehouse.service-1QRsc9uI.js';
|
|
4
|
+
import { e as IBankTerminalForm, d as IBankTerminal, a as BankTerminalResponse, B as BankTerminalQuery, g as IBankTerminalResponse, j as IClientRequest, k as IClientResponse, l as IClientResponseById, h as IClient, m as IGender, r as IModule, x as IPaymentMethod, y as IPaymentMethodAmountExpected, w as IPayment, ab as PricePerGramResponse, az as UpdatePriceRequest, E as IPricePerGramHistory, ag as SchedulePriceRequest, C as CalculatePriceRequest, a9 as PriceCalculationResponse, F as IPriceType, G as IPriceTypeResponse, Y as ITag, H as IPromotion, J as IPromotionResponse, K as IPromotionType, N as IProviderRequest, O as IProviderResponse, L as IProvider, M as IProviderForSelect, Q as IReportInventory, c as ComparisonBy, P as IReportComparisonByTimeFrame, R as IReportX, S as IReportZ, V as IStockByWarehouseReport, U as IRole, W as IStockMovement, X as IStockMovementResponse, Z as ITax, a0 as IUserForm, A as AgentResponse, $ as IUser, aA as UserResponse } from './warehouse.interface-55Ct2lRw.js';
|
|
5
5
|
import { I as IRequest } from './util.interface-AOzOjHR0.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
2
2
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
3
3
|
import { QueryClient, UseMutationOptions } from '@tanstack/react-query';
|
|
4
|
-
import {
|
|
5
|
-
import { v as IOrderResponse, u as IOrder, am as TblOrderStatus, m as IGender } from './warehouse.interface-
|
|
6
|
-
import { a as ChangeProductResponse, C as ChangeProductRequest, R as Response } from './warehouse.service-
|
|
4
|
+
import { k as IFilterType, n as IProductDetailsResponse, o as IProductResponse, l as IProduct, m as IProductDetails } from './filters.interface-C9rkI_yn.js';
|
|
5
|
+
import { v as IOrderResponse, u as IOrder, am as TblOrderStatus, m as IGender } from './warehouse.interface-55Ct2lRw.js';
|
|
6
|
+
import { a as ChangeProductResponse, C as ChangeProductRequest, R as Response } from './warehouse.service-1QRsc9uI.js';
|
|
7
7
|
|
|
8
8
|
interface ProductQueryParams {
|
|
9
9
|
skip?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as IUser, n as ILocation, o as ILocationResponse, p as IMaterial, u as IOrder, v as IOrderResponse, am as TblOrderStatus, z as IPermissionRole, a8 as PermissionRole, at as TblReturn, ak as TblOrderDetail, a1 as IWareHouse, a2 as IWareHouseResponse } from './warehouse.interface-
|
|
2
|
-
import { e as IBatch, f as IBatchResponse } from './filters.interface-
|
|
1
|
+
import { $ as IUser, n as ILocation, o as ILocationResponse, p as IMaterial, u as IOrder, v as IOrderResponse, am as TblOrderStatus, z as IPermissionRole, a8 as PermissionRole, at as TblReturn, ak as TblOrderDetail, a1 as IWareHouse, a2 as IWareHouseResponse } from './warehouse.interface-55Ct2lRw.js';
|
|
2
|
+
import { e as IBatch, f as IBatchResponse } from './filters.interface-C9rkI_yn.js';
|
|
3
3
|
|
|
4
4
|
interface LoginResponse {
|
|
5
5
|
user: IUser;
|