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.43 to 0.15.44

4

lib/index.d.ts

@@ -5,7 +5,5 @@ 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";

@@ -86,6 +84,4 @@ 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>;

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

@@ -31,12 +31,2 @@ "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) {

@@ -65,12 +55,2 @@ 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) {

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

3

lib/payment.d.ts

@@ -75,3 +75,4 @@ import { Maybe } from "fgr-lib-backend/lib/types";

Dejavoo = "dejavoo",
TSYS = "tsys"
TSYS = "tsys",
PayU = "payu"
}

@@ -17,3 +17,4 @@ "use strict";

PaymentGatewayDTO["TSYS"] = "tsys";
PaymentGatewayDTO["PayU"] = "payu";
})(PaymentGatewayDTO = exports.PaymentGatewayDTO || (exports.PaymentGatewayDTO = {}));
//# sourceMappingURL=payment.js.map
{
"name": "@figuredev/business-config-sdk",
"version": "0.15.43",
"version": "0.15.44",
"license": "ISC",

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

Sorry, the diff of this file is not supported yet

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