@figuredev/business-config-sdk
Advanced tools
Comparing version 0.15.11 to 0.15.12
@@ -13,3 +13,2 @@ import { AccountDTO } from "./account"; | ||
import { SettingDTO } from "./settings"; | ||
import { TableManagementDTO } from "./tableManagement"; | ||
import { TerminalDTO, TerminalPreviewDTO } from "./terminal"; | ||
@@ -61,5 +60,2 @@ import { UserContext } from "./utils"; | ||
}; | ||
export declare type GetTableManagementQueryParams = { | ||
locationId?: string; | ||
}; | ||
export declare type GetPromotionsQueryParams = { | ||
@@ -98,3 +94,2 @@ locationIds?: string[]; | ||
getSchematizedLayouts(ctx: UserContext, params?: GetSchematizedQueryParams): Promise<SchematizedLayoutsDTO>; | ||
getTableManagement(ctx: UserContext, params?: GetTableManagementQueryParams): Promise<TableManagementDTO>; | ||
getPromotions(ctx: UserContext, params?: GetPromotionsQueryParams): Promise<PromotionDTO[]>; | ||
@@ -101,0 +96,0 @@ getPromotionById(ctx: UserContext, id: string): Promise<PromotionDTO>; |
@@ -257,15 +257,2 @@ "use strict"; | ||
} | ||
getTableManagement(ctx, params) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return yield axios_1.default | ||
.request({ | ||
baseURL: this.config.baseUrl, | ||
method: "GET", | ||
url: "/table-management", | ||
headers: this.prepareHeaders(ctx), | ||
params: params, | ||
}) | ||
.then((r) => r.data); | ||
}); | ||
} | ||
getPromotions(ctx, params) { | ||
@@ -272,0 +259,0 @@ return __awaiter(this, void 0, void 0, function* () { |
{ | ||
"name": "@figuredev/business-config-sdk", | ||
"version": "0.15.11", | ||
"version": "0.15.12", | ||
"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
53524
50
1180