@posx/core 5.5.332 → 5.5.334
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/build/index.d.ts +23 -1
- package/build/index.js +13 -1
- package/package.json +1 -1
- package/package.publish.json +2 -2
package/build/index.d.ts
CHANGED
|
@@ -3141,12 +3141,16 @@ interface IConfig {
|
|
|
3141
3141
|
kds: IKdsConfig;
|
|
3142
3142
|
/** Customer display system setting */
|
|
3143
3143
|
cds: ICustomerDisplaySystemConfig;
|
|
3144
|
+
/** Order display setting */
|
|
3145
|
+
ods: IOrderDisplaySystemConfig;
|
|
3144
3146
|
/** Kiosk system setting */
|
|
3145
3147
|
kiosk: IKioskSystemConfig;
|
|
3146
3148
|
/** Online order setting */
|
|
3147
3149
|
online_order: IOnlineOrderConfig;
|
|
3148
3150
|
/** Loyalty program setting */
|
|
3149
3151
|
loyalty_program: ILoyaltyProgram & Record<string, any>;
|
|
3152
|
+
/** CRM setting */
|
|
3153
|
+
crm: ICrmConfig;
|
|
3150
3154
|
}
|
|
3151
3155
|
interface ILoyaltyProgram {
|
|
3152
3156
|
enable_price_tiers: boolean;
|
|
@@ -3157,6 +3161,14 @@ interface ILoyaltyProgram {
|
|
|
3157
3161
|
/** Whether tax is inclusive */
|
|
3158
3162
|
inclusive_tax: boolean;
|
|
3159
3163
|
}
|
|
3164
|
+
interface ICrmConfig {
|
|
3165
|
+
/** Default country code for phone numbers */
|
|
3166
|
+
default_country_code: string;
|
|
3167
|
+
}
|
|
3168
|
+
declare class CrmConfig implements ICrmConfig {
|
|
3169
|
+
default_country_code: string;
|
|
3170
|
+
constructor();
|
|
3171
|
+
}
|
|
3160
3172
|
declare class LoyaltyProgram implements ILoyaltyProgram {
|
|
3161
3173
|
enable_price_tiers: boolean;
|
|
3162
3174
|
rewarded_credit_rate: number;
|
|
@@ -3247,6 +3259,7 @@ declare class Config implements IConfig {
|
|
|
3247
3259
|
kds: KdsConfig;
|
|
3248
3260
|
label: LabelConfig;
|
|
3249
3261
|
order: OrderConfig;
|
|
3262
|
+
ods: OrderDisplaySystemConfig;
|
|
3250
3263
|
payment: PaymentConfig;
|
|
3251
3264
|
user: UserConfig;
|
|
3252
3265
|
tax: TaxConfig;
|
|
@@ -3262,6 +3275,7 @@ declare class Config implements IConfig {
|
|
|
3262
3275
|
kiosk: KioskSystemConfig;
|
|
3263
3276
|
online_order: OnlineOrderConfig;
|
|
3264
3277
|
loyalty_program: LoyaltyProgram;
|
|
3278
|
+
crm: CrmConfig;
|
|
3265
3279
|
constructor();
|
|
3266
3280
|
}
|
|
3267
3281
|
declare enum PaynowMethod {
|
|
@@ -3569,6 +3583,14 @@ declare class OrderConfig implements IOrderConfig {
|
|
|
3569
3583
|
datetime_format: string;
|
|
3570
3584
|
constructor();
|
|
3571
3585
|
}
|
|
3586
|
+
interface IOrderDisplaySystemConfig {
|
|
3587
|
+
/** Language for order display */
|
|
3588
|
+
language: string;
|
|
3589
|
+
}
|
|
3590
|
+
declare class OrderDisplaySystemConfig implements IOrderDisplaySystemConfig {
|
|
3591
|
+
language: string;
|
|
3592
|
+
constructor();
|
|
3593
|
+
}
|
|
3572
3594
|
interface IPaymentConfig {
|
|
3573
3595
|
/** Quick cash payment */
|
|
3574
3596
|
quick_cash_payment: boolean;
|
|
@@ -5824,5 +5846,5 @@ type IMerchant = {
|
|
|
5824
5846
|
meta: Record<string, string>;
|
|
5825
5847
|
};
|
|
5826
5848
|
//#endregion
|
|
5827
|
-
export { Address, AppBaseModel, AppConfig, AppCoreModel, AppCoreService, AppExtraModel, AppLocalService, AppMiscService, AppRemoteService, AppReport, AppReportService, Applying, AssetTags, AssetType, Between, BreakPeriod, Cache, CalcFlow, CalcType, CancelInvoiceOptions, CardPaymentCode, CashDrawerConfig, Category, CategorySalesSummary, CategoryService, CategoryType, Charge, ChargeConfig, CheckInvoiceOptions, Codepages, ComboGroup, ComboGroupItem, Condition, Config, ConfigService, CoreCategory, CoreItem, Coupon, CouponItemized, CouponUsage, CreateInvoiceOptions, CurrencyConfig, CustomResponse, Customer, CustomerDisplaySystemConfig, DayOfWeek, DeployChannel, Device, DeviceEtc, DeviceType, DirectPayInvoiceOptions, DiscountType, DrawerSummary, ElectronSocket, Employee, EmployeeRole, EmployeeRoleService, EmployeeService, ErrorMsgs, EscPosCompatibility, EscPosPrinter, FileUploadRequest, GTOConfig, GeneralConfig, GetManyResult, Holiday, IAddress, IAppBase, IAppBaseModel, IAppConfig, IAppCore, IAppCoreModel, IAppCoreService, IAppExtra, IAppExtraModel, IAppLocalService, IAppMiscService, IAppModelSequence, IAppRemoteService, IAppReport, IAppReportService, IApplying, ICache, ICashDrawerConfig, ICategory, ICategoryService, IChangePaymentMethodOption, ICharge, IChargeConfig, IComboGroup, IComboGroupItem, IConfig, IConfigService, ICoreCategory, ICoreItem, ICoupon, ICouponItemized, ICouponUsage, ICredit, ICurrencyConfig, ICustomer, ICustomerDisplaySystemConfig, IDevice, IDiscount, IDrawerSummary, IEmployee, IEmployeeRole, IEmployeeRoleService, IEmployeeService, IEscPosPrinter, IEtc, IExportRow, IFileUploadRequest, IFileUploadResponse, IFontSize, IGeneralConfig, IGtoConfig, IInventoryConfig, IInvoice, IInvoiceActivity, IInvoiceBaseService, IInvoiceCharge, IInvoiceCoreLine, IInvoiceDiscount, IInvoiceLine, IInvoiceOperationService, IInvoiceService, IItem, IItemService, IKdsConfig, IKioskSystemConfig, IKitchenConfig, ILabelConfig, ILineOperationService, ILoyaltyProgram, ILoyaltyProgramSummary, IMarketing, IMenu, IMenuService, IMerchant, IMerchantAsset, INode, INodePrinter, INote, INoteEntity, INoteGroup, INoteGroupEntity, INoteGroupService, INoteService, IOnlineOrderConfig, IOrderConfig, IOrderDisplay, IOrderDisplayService, IPaxConfig, IPayment, IPaymentConfig, IPaymentMethod, IPaymentMethodHistory, IPaymentMethodService, IPaymentService, IPaymentSummary, IPoint, IPrice, IPrintBarcode, IPrintCommand, IPrintCommandLine, IPrintImage, IPrintJob, IPrintJobService, IPrintQrcode, IPrintTable, IPrintTableRowItem, IPrintTemplate, IPrintTemplateCore, IPrintTemplateService, IPrintText, IPrinter, IPrinterService, IProductBase, IProductService, IPushData, IReceiptConfig, IRenderPrintTemplateOptions, IReport, IReportCategory, IReportConfig, IReportData, IReportRequest, IRoundingConfig, ISalesSummary, ISection, ISectionItem, ISectionItemService, ISectionService, IServiceOptions, IShift, IShiftService, IStandardPaymentMethod, IStorage, ISubcategory, ISubcategoryService, ITaxConfig, ITemplateData, ITill, ITillConfig, ITillService, IUser, IUserConfig, IVisibility, In, Include, InventoryConfig, Invoice, InvoiceAction, InvoiceActivity, InvoiceBaseService, InvoiceCharge, InvoiceCoreLine, InvoiceDiscount, InvoiceLine, InvoiceOperationService, InvoiceService, InvoiceStatus, InvoiceType, Item, ItemSalesSummary, ItemService, KdsConfig, KioskSystemConfig, KitchenConfig, LabelConfig, LineOperationService, LineOptions, LoyaltyProgram, LoyaltyProgramSummary, MarketingConfig, Menu, MenuService, Merchant, MessageType, ModelPrefix, ModelType, ModifierSalesSummary, Node, NodePrinter, Not, Note, NoteEntity, NoteGroup, NoteGroupEntity, OnlineOrderConfig, OpenHours, OrderConfig, OrderDisplay, OrderDisplayService, OrderDisplayStatus, OrderFlow, PaxConfig, PayInvoiceOptions, Payment, PaymentConfig, PaymentMethod, PaymentMethodHistory, PaymentMethodService, PaymentService, PaymentStatus, PaymentSummary, PaynowMethod, Price, PrintAlign, PrintBarcode, PrintCommand, PrintImage, PrintJob, PrintJobService, PrintJobStatus, PrintQrcode, PrintSize, PrintStyle, PrintTemplate, PrintTemplateCore, PrintTemplateService, PrintType, Printer, PrinterConnections, PrinterProtocols, PrinterService, PrinterStatus, PrinterType, ProductBase, ProductPartialAssets, ProductPartialConfig, ProductService, ProductType, PushData, Raw, Receipt, RenderPrintTemplateOptions, Report, ReportCategory, ReportConfig, ReportData, ReportType, RoundingConfig, SalesSummary, Schedule, Section, SectionItem, SectionItemService, SectionItemStatus, SectionService, ServiceFactory, ServiceMode, ServiceOptions, Shift, ShiftService, ShiftStatus, SpecialDay, StandardPaymentMethod, StockChange, Storage, StorageService, Subcategory, SwitchInvoiceOptions, System, SystemError, TCategorySalesSummary, TDynamicOrderQR, TItemCoreSalesSummary, TItemSalesSummary, TModifierSalesSummary, TStockChange, TStockChangeItem, TStorageService, TaxConfig, TaxMethod, TemplateData, Till, TillConfig, TillService, TillType, UomType, UpdateGeneralConfigOptions, UpdateInvoiceOptions, User, UserConfig, Visibility, VoidInvoiceOptions, createCSVExport, dbSchemas, filterByParams, humanizedData, importFromCSV, normalizedDate, transformer };
|
|
5849
|
+
export { Address, AppBaseModel, AppConfig, AppCoreModel, AppCoreService, AppExtraModel, AppLocalService, AppMiscService, AppRemoteService, AppReport, AppReportService, Applying, AssetTags, AssetType, Between, BreakPeriod, Cache, CalcFlow, CalcType, CancelInvoiceOptions, CardPaymentCode, CashDrawerConfig, Category, CategorySalesSummary, CategoryService, CategoryType, Charge, ChargeConfig, CheckInvoiceOptions, Codepages, ComboGroup, ComboGroupItem, Condition, Config, ConfigService, CoreCategory, CoreItem, Coupon, CouponItemized, CouponUsage, CreateInvoiceOptions, CrmConfig, CurrencyConfig, CustomResponse, Customer, CustomerDisplaySystemConfig, DayOfWeek, DeployChannel, Device, DeviceEtc, DeviceType, DirectPayInvoiceOptions, DiscountType, DrawerSummary, ElectronSocket, Employee, EmployeeRole, EmployeeRoleService, EmployeeService, ErrorMsgs, EscPosCompatibility, EscPosPrinter, FileUploadRequest, GTOConfig, GeneralConfig, GetManyResult, Holiday, IAddress, IAppBase, IAppBaseModel, IAppConfig, IAppCore, IAppCoreModel, IAppCoreService, IAppExtra, IAppExtraModel, IAppLocalService, IAppMiscService, IAppModelSequence, IAppRemoteService, IAppReport, IAppReportService, IApplying, ICache, ICashDrawerConfig, ICategory, ICategoryService, IChangePaymentMethodOption, ICharge, IChargeConfig, IComboGroup, IComboGroupItem, IConfig, IConfigService, ICoreCategory, ICoreItem, ICoupon, ICouponItemized, ICouponUsage, ICredit, ICrmConfig, ICurrencyConfig, ICustomer, ICustomerDisplaySystemConfig, IDevice, IDiscount, IDrawerSummary, IEmployee, IEmployeeRole, IEmployeeRoleService, IEmployeeService, IEscPosPrinter, IEtc, IExportRow, IFileUploadRequest, IFileUploadResponse, IFontSize, IGeneralConfig, IGtoConfig, IInventoryConfig, IInvoice, IInvoiceActivity, IInvoiceBaseService, IInvoiceCharge, IInvoiceCoreLine, IInvoiceDiscount, IInvoiceLine, IInvoiceOperationService, IInvoiceService, IItem, IItemService, IKdsConfig, IKioskSystemConfig, IKitchenConfig, ILabelConfig, ILineOperationService, ILoyaltyProgram, ILoyaltyProgramSummary, IMarketing, IMenu, IMenuService, IMerchant, IMerchantAsset, INode, INodePrinter, INote, INoteEntity, INoteGroup, INoteGroupEntity, INoteGroupService, INoteService, IOnlineOrderConfig, IOrderConfig, IOrderDisplay, IOrderDisplayService, IOrderDisplaySystemConfig, IPaxConfig, IPayment, IPaymentConfig, IPaymentMethod, IPaymentMethodHistory, IPaymentMethodService, IPaymentService, IPaymentSummary, IPoint, IPrice, IPrintBarcode, IPrintCommand, IPrintCommandLine, IPrintImage, IPrintJob, IPrintJobService, IPrintQrcode, IPrintTable, IPrintTableRowItem, IPrintTemplate, IPrintTemplateCore, IPrintTemplateService, IPrintText, IPrinter, IPrinterService, IProductBase, IProductService, IPushData, IReceiptConfig, IRenderPrintTemplateOptions, IReport, IReportCategory, IReportConfig, IReportData, IReportRequest, IRoundingConfig, ISalesSummary, ISection, ISectionItem, ISectionItemService, ISectionService, IServiceOptions, IShift, IShiftService, IStandardPaymentMethod, IStorage, ISubcategory, ISubcategoryService, ITaxConfig, ITemplateData, ITill, ITillConfig, ITillService, IUser, IUserConfig, IVisibility, In, Include, InventoryConfig, Invoice, InvoiceAction, InvoiceActivity, InvoiceBaseService, InvoiceCharge, InvoiceCoreLine, InvoiceDiscount, InvoiceLine, InvoiceOperationService, InvoiceService, InvoiceStatus, InvoiceType, Item, ItemSalesSummary, ItemService, KdsConfig, KioskSystemConfig, KitchenConfig, LabelConfig, LineOperationService, LineOptions, LoyaltyProgram, LoyaltyProgramSummary, MarketingConfig, Menu, MenuService, Merchant, MessageType, ModelPrefix, ModelType, ModifierSalesSummary, Node, NodePrinter, Not, Note, NoteEntity, NoteGroup, NoteGroupEntity, OnlineOrderConfig, OpenHours, OrderConfig, OrderDisplay, OrderDisplayService, OrderDisplayStatus, OrderDisplaySystemConfig, OrderFlow, PaxConfig, PayInvoiceOptions, Payment, PaymentConfig, PaymentMethod, PaymentMethodHistory, PaymentMethodService, PaymentService, PaymentStatus, PaymentSummary, PaynowMethod, Price, PrintAlign, PrintBarcode, PrintCommand, PrintImage, PrintJob, PrintJobService, PrintJobStatus, PrintQrcode, PrintSize, PrintStyle, PrintTemplate, PrintTemplateCore, PrintTemplateService, PrintType, Printer, PrinterConnections, PrinterProtocols, PrinterService, PrinterStatus, PrinterType, ProductBase, ProductPartialAssets, ProductPartialConfig, ProductService, ProductType, PushData, Raw, Receipt, RenderPrintTemplateOptions, Report, ReportCategory, ReportConfig, ReportData, ReportType, RoundingConfig, SalesSummary, Schedule, Section, SectionItem, SectionItemService, SectionItemStatus, SectionService, ServiceFactory, ServiceMode, ServiceOptions, Shift, ShiftService, ShiftStatus, SpecialDay, StandardPaymentMethod, StockChange, Storage, StorageService, Subcategory, SwitchInvoiceOptions, System, SystemError, TCategorySalesSummary, TDynamicOrderQR, TItemCoreSalesSummary, TItemSalesSummary, TModifierSalesSummary, TStockChange, TStockChangeItem, TStorageService, TaxConfig, TaxMethod, TemplateData, Till, TillConfig, TillService, TillType, UomType, UpdateGeneralConfigOptions, UpdateInvoiceOptions, User, UserConfig, Visibility, VoidInvoiceOptions, createCSVExport, dbSchemas, filterByParams, humanizedData, importFromCSV, normalizedDate, transformer };
|
|
5828
5850
|
//# sourceMappingURL=index.d.ts.map
|
package/build/index.js
CHANGED
|
@@ -1859,6 +1859,11 @@ var Cache = class {
|
|
|
1859
1859
|
_defineProperty(this, "printers", []);
|
|
1860
1860
|
}
|
|
1861
1861
|
};
|
|
1862
|
+
var CrmConfig = class {
|
|
1863
|
+
constructor() {
|
|
1864
|
+
_defineProperty(this, "default_country_code", "+65");
|
|
1865
|
+
}
|
|
1866
|
+
};
|
|
1862
1867
|
var LoyaltyProgram = class {
|
|
1863
1868
|
constructor() {
|
|
1864
1869
|
_defineProperty(this, "enable_price_tiers", false);
|
|
@@ -1921,6 +1926,7 @@ var Config = class {
|
|
|
1921
1926
|
_defineProperty(this, "kds", new KdsConfig());
|
|
1922
1927
|
_defineProperty(this, "label", new LabelConfig());
|
|
1923
1928
|
_defineProperty(this, "order", new OrderConfig());
|
|
1929
|
+
_defineProperty(this, "ods", new OrderDisplaySystemConfig());
|
|
1924
1930
|
_defineProperty(this, "payment", new PaymentConfig());
|
|
1925
1931
|
_defineProperty(this, "user", new UserConfig());
|
|
1926
1932
|
_defineProperty(this, "tax", new TaxConfig());
|
|
@@ -1936,6 +1942,7 @@ var Config = class {
|
|
|
1936
1942
|
_defineProperty(this, "kiosk", new KioskSystemConfig());
|
|
1937
1943
|
_defineProperty(this, "online_order", new OnlineOrderConfig());
|
|
1938
1944
|
_defineProperty(this, "loyalty_program", new LoyaltyProgram());
|
|
1945
|
+
_defineProperty(this, "crm", new CrmConfig());
|
|
1939
1946
|
}
|
|
1940
1947
|
};
|
|
1941
1948
|
let PaynowMethod = /* @__PURE__ */ function(PaynowMethod$1) {
|
|
@@ -2053,6 +2060,11 @@ var OrderConfig = class {
|
|
|
2053
2060
|
_defineProperty(this, "datetime_format", "YYYY-MMM-DD HH:mm:ss");
|
|
2054
2061
|
}
|
|
2055
2062
|
};
|
|
2063
|
+
var OrderDisplaySystemConfig = class {
|
|
2064
|
+
constructor() {
|
|
2065
|
+
_defineProperty(this, "language", "en");
|
|
2066
|
+
}
|
|
2067
|
+
};
|
|
2056
2068
|
var PaymentConfig = class {
|
|
2057
2069
|
constructor() {
|
|
2058
2070
|
_defineProperty(this, "quick_cash_payment", false);
|
|
@@ -5936,5 +5948,5 @@ var Menu = class extends AppBaseModel {
|
|
|
5936
5948
|
};
|
|
5937
5949
|
|
|
5938
5950
|
//#endregion
|
|
5939
|
-
export { Address, AppBaseModel, AppConfig, AppCoreModel, AppCoreService, AppExtraModel, AppLocalService, AppMiscService, AppRemoteService, AppReport, AppReportService, Applying, AssetTags, AssetType, Between, Cache, CalcFlow, CalcType, CardPaymentCode, CashDrawerConfig, Category, CategorySalesSummary, CategoryService, CategoryType, Charge, ChargeConfig, Codepages, ComboGroup, ComboGroupItem, Condition, Config, ConfigService, CoreCategory, CoreItem, Coupon, CouponItemized, CouponUsage, CurrencyConfig, Customer, CustomerDisplaySystemConfig, DeployChannel, Device, DeviceType, DiscountType, DrawerSummary, ElectronSocket, Employee, EmployeeRole, EmployeeRoleService, EmployeeService, ErrorMsgs, EscPosCompatibility, EscPosPrinter, FileUploadRequest, GTOConfig, GeneralConfig, In, Include, InventoryConfig, Invoice, InvoiceAction, InvoiceActivity, InvoiceBaseService, InvoiceCharge, InvoiceCoreLine, InvoiceDiscount, InvoiceLine, InvoiceOperationService, InvoiceService, InvoiceStatus, InvoiceType, Item, ItemSalesSummary, ItemService, KdsConfig, KioskSystemConfig, KitchenConfig, LabelConfig, LineOperationService, LoyaltyProgram, LoyaltyProgramSummary, MarketingConfig, Menu, MenuService, Merchant, MessageType, ModelPrefix, ModelType, ModifierSalesSummary, Node, NodePrinter, Not, Note, NoteEntity, NoteGroup, NoteGroupEntity, OnlineOrderConfig, OrderConfig, OrderDisplay, OrderDisplayService, OrderDisplayStatus, OrderFlow, PaxConfig, Payment, PaymentConfig, PaymentMethod, PaymentMethodHistory, PaymentMethodService, PaymentService, PaymentStatus, PaymentSummary, PaynowMethod, Price, PrintAlign, PrintBarcode, PrintCommand, PrintImage, PrintJob, PrintJobService, PrintJobStatus, PrintQrcode, PrintSize, PrintStyle, PrintTemplate, PrintTemplateCore, PrintTemplateService, PrintType, Printer, PrinterConnections, PrinterProtocols, PrinterService, PrinterStatus, PrinterType, ProductBase, ProductService, ProductType, PushData, Raw, Receipt, RenderPrintTemplateOptions, Report, ReportCategory, ReportConfig, ReportData, ReportType, RoundingConfig, SalesSummary, Section, SectionItem, SectionItemService, SectionItemStatus, SectionService, ServiceFactory, ServiceMode, ServiceOptions, Shift, ShiftService, ShiftStatus, StandardPaymentMethod, StockChange, Storage, StorageService, Subcategory, System, SystemError, TaxConfig, TaxMethod, TemplateData, Till, TillConfig, TillService, TillType, UomType, User, UserConfig, Visibility, createCSVExport, dbSchemas, filterByParams, humanizedData, importFromCSV, normalizedDate, transformer };
|
|
5951
|
+
export { Address, AppBaseModel, AppConfig, AppCoreModel, AppCoreService, AppExtraModel, AppLocalService, AppMiscService, AppRemoteService, AppReport, AppReportService, Applying, AssetTags, AssetType, Between, Cache, CalcFlow, CalcType, CardPaymentCode, CashDrawerConfig, Category, CategorySalesSummary, CategoryService, CategoryType, Charge, ChargeConfig, Codepages, ComboGroup, ComboGroupItem, Condition, Config, ConfigService, CoreCategory, CoreItem, Coupon, CouponItemized, CouponUsage, CrmConfig, CurrencyConfig, Customer, CustomerDisplaySystemConfig, DeployChannel, Device, DeviceType, DiscountType, DrawerSummary, ElectronSocket, Employee, EmployeeRole, EmployeeRoleService, EmployeeService, ErrorMsgs, EscPosCompatibility, EscPosPrinter, FileUploadRequest, GTOConfig, GeneralConfig, In, Include, InventoryConfig, Invoice, InvoiceAction, InvoiceActivity, InvoiceBaseService, InvoiceCharge, InvoiceCoreLine, InvoiceDiscount, InvoiceLine, InvoiceOperationService, InvoiceService, InvoiceStatus, InvoiceType, Item, ItemSalesSummary, ItemService, KdsConfig, KioskSystemConfig, KitchenConfig, LabelConfig, LineOperationService, LoyaltyProgram, LoyaltyProgramSummary, MarketingConfig, Menu, MenuService, Merchant, MessageType, ModelPrefix, ModelType, ModifierSalesSummary, Node, NodePrinter, Not, Note, NoteEntity, NoteGroup, NoteGroupEntity, OnlineOrderConfig, OrderConfig, OrderDisplay, OrderDisplayService, OrderDisplayStatus, OrderDisplaySystemConfig, OrderFlow, PaxConfig, Payment, PaymentConfig, PaymentMethod, PaymentMethodHistory, PaymentMethodService, PaymentService, PaymentStatus, PaymentSummary, PaynowMethod, Price, PrintAlign, PrintBarcode, PrintCommand, PrintImage, PrintJob, PrintJobService, PrintJobStatus, PrintQrcode, PrintSize, PrintStyle, PrintTemplate, PrintTemplateCore, PrintTemplateService, PrintType, Printer, PrinterConnections, PrinterProtocols, PrinterService, PrinterStatus, PrinterType, ProductBase, ProductService, ProductType, PushData, Raw, Receipt, RenderPrintTemplateOptions, Report, ReportCategory, ReportConfig, ReportData, ReportType, RoundingConfig, SalesSummary, Section, SectionItem, SectionItemService, SectionItemStatus, SectionService, ServiceFactory, ServiceMode, ServiceOptions, Shift, ShiftService, ShiftStatus, StandardPaymentMethod, StockChange, Storage, StorageService, Subcategory, System, SystemError, TaxConfig, TaxMethod, TemplateData, Till, TillConfig, TillService, TillType, UomType, User, UserConfig, Visibility, createCSVExport, dbSchemas, filterByParams, humanizedData, importFromCSV, normalizedDate, transformer };
|
|
5940
5952
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
package/package.publish.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@posx/core",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.334",
|
|
4
4
|
"description": "POSX core libraries",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./build/index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"post:build": "node ./scripts/clean-build.cjs",
|
|
24
24
|
"mvm": "mv build/*.map scripts/sourcemaps/ && mv build/**/*.map scripts/sourcemaps/ && find build -name '*.map' -type f -delete",
|
|
25
25
|
"build:demo": "vite build --mode demo",
|
|
26
|
-
"test": "jest",
|
|
26
|
+
"test": "jest --maxWorkers=2",
|
|
27
27
|
"test:watch": "jest --watch",
|
|
28
28
|
"publish": "node ./scripts/publish.cjs",
|
|
29
29
|
"p": "pnpm i && npm test && npm run up:p && npm run build && npm run post:build && npm run publish && rm -rf build",
|