shopoflex-types 1.0.205 → 1.0.208
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/common.d.ts +8 -0
- package/dist/filters.d.ts +4 -0
- package/dist/productCart.d.ts +1 -0
- package/package.json +1 -1
package/dist/common.d.ts
CHANGED
|
@@ -344,6 +344,9 @@ type CurrencyInfo = {
|
|
|
344
344
|
rate: number;
|
|
345
345
|
symbol: string;
|
|
346
346
|
locked: boolean;
|
|
347
|
+
decimals?: number;
|
|
348
|
+
trimZeros?: boolean;
|
|
349
|
+
cashRounding?: number;
|
|
347
350
|
};
|
|
348
351
|
type Currencies = {
|
|
349
352
|
[currencyCode: string]: CurrencyInfo;
|
|
@@ -634,6 +637,10 @@ export interface IAccountingConfig {
|
|
|
634
637
|
enableInventoryAccounting?: boolean;
|
|
635
638
|
};
|
|
636
639
|
}
|
|
640
|
+
export interface IWhatsappSettings {
|
|
641
|
+
showOnMenu?: boolean;
|
|
642
|
+
showOnWebsite?: boolean;
|
|
643
|
+
}
|
|
637
644
|
export interface IBranch {
|
|
638
645
|
_id?: string;
|
|
639
646
|
name: NameType;
|
|
@@ -653,6 +660,7 @@ export interface IBranch {
|
|
|
653
660
|
address?: string;
|
|
654
661
|
isActive?: boolean;
|
|
655
662
|
whatsapp?: string;
|
|
663
|
+
whatsappSettings?: IWhatsappSettings;
|
|
656
664
|
showMap?: boolean;
|
|
657
665
|
accountingConfig?: IAccountingConfig;
|
|
658
666
|
storageConfig?: Record<string, any>;
|
package/dist/filters.d.ts
CHANGED
|
@@ -43,6 +43,10 @@ export interface ProductFilters extends BaseFilters {
|
|
|
43
43
|
anyVariantPrice?: number;
|
|
44
44
|
anyVariantMinStock?: number;
|
|
45
45
|
minQuantityRange?: [number, number] | string;
|
|
46
|
+
specValue?: string;
|
|
47
|
+
specKey?: string;
|
|
48
|
+
specFilters?: string;
|
|
49
|
+
noCost?: string | boolean;
|
|
46
50
|
}
|
|
47
51
|
export interface OrderFilters extends BaseFilters {
|
|
48
52
|
status?: string;
|
package/dist/productCart.d.ts
CHANGED