Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@figuredev/business-config-sdk

Package Overview
Dependencies
Maintainers
8
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@figuredev/business-config-sdk - npm Package Compare versions

Comparing version 0.15.49 to 0.15.50

47

lib/menu.d.ts

@@ -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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc