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.45 to 0.15.46

lib/menu.d.ts

7

lib/index.d.ts

@@ -10,2 +10,3 @@ import { AccountDTO } from "./account";

import { OnlineOrderingThemeDTO } from "./onlineOrdering";
import { MenuDTO } from "./menu";
import { PaymentSettingDTO } from "./payment";

@@ -42,2 +43,7 @@ import { PricingDTO } from "./pricing";

};
export declare type GetMenuQueryParams = {
applyOverride?: boolean;
locationId?: string;
serviceId?: string;
};
export declare type GetSettingsQueryParams = {

@@ -116,3 +122,4 @@ locationId?: string;

getDeliverySettings(ctx: UserContext, params: GetDeliverySettingsQueryParams): Promise<DeliverySettingDTO>;
getMenu(ctx: UserContext, params: GetMenuQueryParams): Promise<MenuDTO>;
}
export {};

@@ -366,4 +366,19 @@ "use strict";

}
getMenu(ctx, params) {
return __awaiter(this, void 0, void 0, function* () {
return yield http_1.createHttpRequest({
baseURL: this.config.baseUrl,
method: "GET",
url: "/menu",
headers: this.prepareHeaders(ctx),
params: {
applyOverride: params.applyOverride,
locationId: params.locationId,
serviceId: params.serviceId,
},
}).then((r) => r.data);
});
}
}
exports.BusinessConfigClient = BusinessConfigClient;
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "@figuredev/business-config-sdk",
"version": "0.15.45",
"version": "0.15.46",
"license": "ISC",

@@ -5,0 +5,0 @@ "files": [

Sorry, the diff of this file is not supported yet

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