@figuredev/business-config-sdk
Advanced tools
Comparing version 0.15.49 to 0.15.50
@@ -1,3 +0,2 @@ | ||
import { IsoDateTime, Maybe } from "fgr-lib-backend/lib/types"; | ||
import { CategoryModifierGroupDTO, CategoryPricingDTO, CategoryTaxesDTO } from "./category"; | ||
import { Maybe } from "fgr-lib-backend/lib/types"; | ||
export declare type MenuDTO = { | ||
@@ -15,11 +14,4 @@ categories: MenuCategoryDTO[]; | ||
name: Maybe<string>; | ||
validFrom: Maybe<IsoDateTime>; | ||
validTo: Maybe<IsoDateTime>; | ||
timeSpans: TimeSpanDTO[]; | ||
timeSpans: string[]; | ||
}; | ||
export declare type TimeSpanDTO = { | ||
start: string; | ||
duration: number; | ||
isExclusion: boolean; | ||
}; | ||
export declare type MenuProductDTO = { | ||
@@ -38,7 +30,13 @@ id: string; | ||
tare?: Maybe<number>; | ||
taxes: CategoryTaxesDTO[]; | ||
images: MenuProductImageDTO[]; | ||
optionGroup?: Maybe<MenuProductOptionGroupDTO>; | ||
modifierGroups?: CategoryModifierGroupDTO[]; | ||
pricings: CategoryPricingDTO[]; | ||
modifierGroups?: MenuProductModifierGroupDTO[]; | ||
taxes: MenuProductTaxDTO[]; | ||
pricings: MenuProductPricingDTO[]; | ||
}; | ||
export declare type MenuProductImageDTO = { | ||
id: string; | ||
type: Maybe<string>; | ||
path: string; | ||
}; | ||
export declare type MenuProductOptionGroupDTO = { | ||
@@ -59,3 +57,3 @@ id: string; | ||
price: number; | ||
nestedCategoryGroupId?: Maybe<string>; | ||
nestedCategoryGroup?: Maybe<MenuProductModifierGroupDTO>; | ||
}; | ||
@@ -84,3 +82,22 @@ export declare type MenuProductModifierGroupDTO = { | ||
supplement?: number; | ||
nestedCategoryGroupId?: Maybe<string>; | ||
nestedCategoryGroup?: Maybe<MenuProductModifierGroupDTO>; | ||
}; | ||
export declare type MenuProductTaxDTO = { | ||
id: string; | ||
name: string; | ||
percentage?: Maybe<number>; | ||
absolute?: Maybe<number>; | ||
isActive: boolean; | ||
isAutoApply: boolean; | ||
isEmbedded: boolean; | ||
}; | ||
export declare type MenuProductPricingDTO = { | ||
id: string; | ||
name: string; | ||
isActive: boolean; | ||
isAutoApply: boolean; | ||
percentage?: number; | ||
absolute?: number; | ||
isOrderLevel?: boolean; | ||
isItemLevel?: boolean; | ||
}; |
{ | ||
"name": "@figuredev/business-config-sdk", | ||
"version": "0.15.49", | ||
"version": "0.15.50", | ||
"license": "ISC", | ||
@@ -5,0 +5,0 @@ "files": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71208
1561