@figuredev/business-config-sdk
Advanced tools
Comparing version 0.15.43 to 0.15.44
@@ -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* () { |
@@ -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
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
64544
59
1384