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
10
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.68 to 0.15.69

lib/tax.d.ts

2

lib/index.d.ts

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

import { TableManagementDTO } from "./tableManagement";
import { TaxPreviewDTO } from "./tax";
import { TerminalDTO, TerminalPreviewDTO } from "./terminal";

@@ -98,2 +99,3 @@ import { UserContext } from "./utils";

getLocationPreviews(ctx: UserContext, params: GetLocationPreviewsQueryParams): Promise<LocationPreviewDTO[]>;
getTaxesPreview(ctx: UserContext, params: GetLocationPreviewsQueryParams): Promise<TaxPreviewDTO[]>;
getOnlineOrderingTheme(ctx: UserContext): Promise<OnlineOrderingThemeDTO | null>;

@@ -100,0 +102,0 @@ getTerminal(ctx: UserContext, id: string): Promise<TerminalDTO | null>;

@@ -88,2 +88,15 @@ "use strict";

}
getTaxesPreview(ctx, params) {
return __awaiter(this, void 0, void 0, function* () {
return yield (0, http_1.createHttpRequest)({
baseURL: this.config.baseUrl,
method: "GET",
url: "/tax/preview",
headers: this.prepareHeaders(ctx),
params: {
locationIds: params.locationIds,
},
}).then((r) => r.data);
});
}
getOnlineOrderingTheme(ctx) {

@@ -90,0 +103,0 @@ return __awaiter(this, void 0, void 0, function* () {

2

package.json
{
"name": "@figuredev/business-config-sdk",
"version": "0.15.68",
"version": "0.15.69",
"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