@ancon/wildcat-utils 1.44.7 → 1.44.9
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.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export default function getDetailedProductVariantStock(productVariant:
|
|
1
|
+
import { PurchaseProductDetailsVariant } from '@ancon/wildcat-types';
|
|
2
|
+
export default function getDetailedProductVariantStock(productVariant: PurchaseProductDetailsVariant, outletId: string): import("@ancon/wildcat-types").ProductVariantOutletStock | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export default function isDetailedProductOutOfStock(outletId: string, productVariants?:
|
|
1
|
+
import { PurchaseProductDetailsVariant } from '@ancon/wildcat-types';
|
|
2
|
+
export default function isDetailedProductOutOfStock(outletId: string, productVariants?: PurchaseProductDetailsVariant[]): boolean | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export default function isDetailedProductVariantOutOfStock(productVariant:
|
|
1
|
+
import { PurchaseProductDetailsVariant } from '@ancon/wildcat-types';
|
|
2
|
+
export default function isDetailedProductVariantOutOfStock(productVariant: PurchaseProductDetailsVariant, outletId: string): boolean;
|
|
@@ -3,4 +3,4 @@ import { LicenseUIState } from './types';
|
|
|
3
3
|
export declare function isLicenseTerminated(licenseStatus: LicenseStatus): boolean;
|
|
4
4
|
export declare function isLicenseExpired(licenseStatus: LicenseStatus): boolean;
|
|
5
5
|
export declare function isLicenseExtended(licenseStatus: LicenseStatus): boolean;
|
|
6
|
-
export default function getLicenseUIState(licenseState: LicenseStatus, startDate: string, endDate?: string, deleted?:
|
|
6
|
+
export default function getLicenseUIState(licenseState: LicenseStatus, startDate: string, endDate?: string, deleted?: boolean, warnThreshold?: number): LicenseUIState;
|