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.44 to 0.15.45

lib/email.d.ts

4

lib/index.d.ts

@@ -5,5 +5,7 @@ import { AccountDTO } from "./account";

import { DeliverySettingDTO } from "./delivery";
import { EmailSettingDTO } from "./email";
import { EmployeeDTO } from "./employee";
import { OrderEmailIntegrationConfigDTO } from "./integrations";
import { LocationDTO, LocationPreviewDTO } from "./location";
import { OnlineOrderingThemeDTO } from "./onlineOrdering";
import { PaymentSettingDTO } from "./payment";

@@ -84,4 +86,6 @@ import { PricingDTO } from "./pricing";

getAccount(ctx: UserContext, id: string): Promise<AccountDTO | null>;
getEmailSettings(ctx: UserContext): Promise<EmailSettingDTO | null>;
getLocation(ctx: UserContext, id: string): Promise<LocationDTO | null>;
getLocationPreviews(ctx: UserContext, params: GetLocationPreviewsQueryParams): Promise<LocationPreviewDTO[]>;
getOnlineOrderingTheme(ctx: UserContext): Promise<OnlineOrderingThemeDTO | null>;
getTerminal(ctx: UserContext, id: string): Promise<TerminalDTO | null>;

@@ -88,0 +92,0 @@ getTerminalPreviews(ctx: UserContext, params: GetTerminalPreviewsQueryParams): Promise<TerminalPreviewDTO[]>;

@@ -31,2 +31,12 @@ "use strict";

}
getEmailSettings(ctx) {
return __awaiter(this, void 0, void 0, function* () {
return yield http_1.createHttpRequest({
baseURL: this.config.baseUrl,
method: "GET",
url: `/email/setting`,
headers: this.prepareHeaders(ctx),
}).then((r) => r.data);
});
}
getLocation(ctx, id) {

@@ -55,2 +65,12 @@ return __awaiter(this, void 0, void 0, function* () {

}
getOnlineOrderingTheme(ctx) {
return __awaiter(this, void 0, void 0, function* () {
return yield http_1.createHttpRequest({
baseURL: this.config.baseUrl,
method: "GET",
url: `/online-ordering/theme`,
headers: this.prepareHeaders(ctx),
}).then((r) => r.data);
});
}
getTerminal(ctx, id) {

@@ -57,0 +77,0 @@ return __awaiter(this, void 0, void 0, function* () {

2

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