@figuredev/business-config-sdk
Advanced tools
Comparing version 0.15.42 to 0.15.43
@@ -9,2 +9,3 @@ import { AccountDTO } from "./account"; | ||
import { LocationDTO, LocationPreviewDTO } from "./location"; | ||
import { OnlineOrderingThemeDTO } from "./onlineOrdering"; | ||
import { PaymentSettingDTO } from "./payment"; | ||
@@ -88,2 +89,3 @@ import { PricingDTO } from "./pricing"; | ||
getLocationPreviews(ctx: UserContext, params: GetLocationPreviewsQueryParams): Promise<LocationPreviewDTO[]>; | ||
getOnlineOrderingTheme(ctx: UserContext): Promise<OnlineOrderingThemeDTO | null>; | ||
getTerminal(ctx: UserContext, id: string): Promise<TerminalDTO | null>; | ||
@@ -90,0 +92,0 @@ getTerminalPreviews(ctx: UserContext, params: GetTerminalPreviewsQueryParams): Promise<TerminalPreviewDTO[]>; |
@@ -64,2 +64,12 @@ "use strict"; | ||
} | ||
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) { | ||
@@ -66,0 +76,0 @@ return __awaiter(this, void 0, void 0, function* () { |
{ | ||
"name": "@figuredev/business-config-sdk", | ||
"version": "0.15.42", | ||
"version": "0.15.43", | ||
"license": "ISC", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
65
1436
0
67192