erp-pos-ecommerce-shared 0.2.9 → 0.2.11
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.js +2 -2
- package/dist/components.js.map +1 -1
- package/dist/hooks.d.ts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/interfaces.d.ts +1 -1
- package/dist/queries.d.ts +4 -4
- package/dist/services.d.ts +2 -2
- package/dist/{shift.queries-1llwBA4L.d.ts → shift.queries-Cr07eORy.d.ts} +2 -2
- package/dist/{warehouse.interface-55Ct2lRw.d.ts → warehouse.interface-LD-zwPDu.d.ts} +9 -1
- package/dist/{warehouse.service-1QRsc9uI.d.ts → warehouse.service-9PzeVfzH.d.ts} +1 -1
- package/package.json +1 -1
package/dist/interfaces.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
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-LD-zwPDu.js';
|
|
3
3
|
export { D as DataTableConfig, S as ServerTableState, T as TableHeaderStyle, d as defaultDataTableConfig } from './datatable.interface-DbB5oxj-.js';
|
|
4
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';
|
package/dist/queries.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ 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
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-
|
|
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-
|
|
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-LD-zwPDu.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-9PzeVfzH.js';
|
|
8
|
+
import { F as FolioResponse } from './shift.queries-Cr07eORy.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-Cr07eORy.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
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-
|
|
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-
|
|
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-9PzeVfzH.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-LD-zwPDu.js';
|
|
5
5
|
import { I as IRequest } from './util.interface-AOzOjHR0.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -2,8 +2,8 @@ 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
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-
|
|
6
|
-
import { a as ChangeProductResponse, C as ChangeProductRequest, R as Response } from './warehouse.service-
|
|
5
|
+
import { v as IOrderResponse, u as IOrder, am as TblOrderStatus, m as IGender } from './warehouse.interface-LD-zwPDu.js';
|
|
6
|
+
import { a as ChangeProductResponse, C as ChangeProductRequest, R as Response } from './warehouse.service-9PzeVfzH.js';
|
|
7
7
|
|
|
8
8
|
interface ProductQueryParams {
|
|
9
9
|
skip?: number;
|
|
@@ -938,7 +938,7 @@ interface IWareHouse {
|
|
|
938
938
|
interface IWareHouse {
|
|
939
939
|
wareHouseID: number;
|
|
940
940
|
wareHouse: string;
|
|
941
|
-
isShowroom:
|
|
941
|
+
isShowroom: number;
|
|
942
942
|
physicalLocation: string;
|
|
943
943
|
physicalLocationID: number;
|
|
944
944
|
userName: string;
|
|
@@ -948,6 +948,14 @@ interface IWareHouse {
|
|
|
948
948
|
savedDate: null;
|
|
949
949
|
deletedBy: null;
|
|
950
950
|
deletedDate: null;
|
|
951
|
+
name: string;
|
|
952
|
+
isOpen: number;
|
|
953
|
+
street: string;
|
|
954
|
+
city: string;
|
|
955
|
+
stateID: number;
|
|
956
|
+
zipCode: string;
|
|
957
|
+
streetNumber: string;
|
|
958
|
+
country: string;
|
|
951
959
|
}
|
|
952
960
|
|
|
953
961
|
export { type IUser as $, type AgentResponse as A, type BankTerminalQuery as B, type CalculatePriceRequest as C, type DateRange as D, type IPricePerGramHistory as E, type IPriceType as F, type IPriceTypeResponse as G, type IPromotion as H, type IAgent as I, type IPromotionResponse as J, type IPromotionType as K, type IProvider as L, type IProviderForSelect as M, type IProviderRequest as N, type IProviderResponse as O, type IReportComparisonByTimeFrame as P, type IReportInventory as Q, type IReportX as R, type IReportZ as S, type IReview as T, type IRole as U, type IStockByWarehouseReport as V, type IStockMovement as W, type IStockMovementResponse as X, type ITag as Y, type ITax as Z, type ITaxResponse as _, type BankTerminalResponse as a, type IUserForm as a0, type IWareHouse as a1, type IWareHouseResponse as a2, type IWareHouseSelect as a3, type MaterialSummary as a4, type PaymentOptions as a5, type Period as a6, Permission as a7, type PermissionRole as a8, type PriceCalculationResponse as a9, type UserResponse as aA, type WeightBasedSale as aB, type PricePerGramForm as aa, type PricePerGramResponse as ab, type ProductInfo as ac, PromotionTypeEnum as ad, type ReportData as ae, type ReportDataProduct as af, type SchedulePriceRequest as ag, type TblModules as ah, type TblMoneyTransactionTypes as ai, type TblMoneyTransactions as aj, type TblOrderDetail as ak, type TblOrderDetailsMoneyTransactions as al, type TblOrderStatus as am, type TblPermissions as an, type TblPriceTypes as ao, type TblProducts as ap, type TblPromotionTypes as aq, type TblPromotionsTargetProductIDTotblProduct as ar, type TblProvidersTblProvidersUserIDTotblUser as as, type TblReturn as at, type TblReturnDetail as au, type TblRoles as av, type TblRolesTblUsersRoleIDTotblRoles as aw, type TblUsersTblProvidersUserIDTotblUsers as ax, type TblUsersTblTotblUsers as ay, type UpdatePriceRequest as az, ChartType as b, ComparisonBy as c, type IBankTerminal as d, type IBankTerminalForm as e, type IBankTerminalOption as f, type IBankTerminalResponse as g, type IClient as h, type IClientDataForTable as i, type IClientRequest as j, type IClientResponse as k, type IClientResponseById as l, type IGender as m, type ILocation as n, type ILocationResponse as o, type IMaterial as p, type IMeta as q, type IModule as r, type IMovement as s, type IMovementResponse as t, type IOrder as u, type IOrderResponse as v, type IPayment as w, type IPaymentMethod as x, type IPaymentMethodAmountExpected as y, type IPermissionRole as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-LD-zwPDu.js';
|
|
2
2
|
import { e as IBatch, f as IBatchResponse } from './filters.interface-C9rkI_yn.js';
|
|
3
3
|
|
|
4
4
|
interface LoginResponse {
|