@figuredev/business-config-sdk
Advanced tools
Comparing version 0.15.71 to 0.15.72
@@ -99,2 +99,3 @@ import { AccountDTO, PreparedImageUploadDTO } from "./account"; | ||
getLocationPreviews(ctx: UserContext, params: GetLocationPreviewsQueryParams): Promise<LocationPreviewDTO[]>; | ||
getLocationsByIds(locationIds: string[]): Promise<LocationPreviewDTO[]>; | ||
getTaxesPreview(ctx: UserContext, params: GetLocationPreviewsQueryParams): Promise<TaxPreviewDTO[]>; | ||
@@ -101,0 +102,0 @@ getOnlineOrderingTheme(ctx: UserContext): Promise<OnlineOrderingThemeDTO | null>; |
@@ -101,2 +101,15 @@ "use strict"; | ||
} | ||
getLocationsByIds(locationIds) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return yield (0, http_1.createHttpRequest)({ | ||
baseURL: this.config.baseUrl, | ||
method: "POST", | ||
url: "/location", | ||
headers: this.prepareHeaders({}), | ||
data: { | ||
locationIds: locationIds, | ||
}, | ||
}).then((r) => r.data); | ||
}); | ||
} | ||
getTaxesPreview(ctx, params) { | ||
@@ -103,0 +116,0 @@ return __awaiter(this, void 0, void 0, function* () { |
{ | ||
"name": "@figuredev/business-config-sdk", | ||
"version": "0.15.71", | ||
"version": "0.15.72", | ||
"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
78739
1732