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
7
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.40 to 0.15.41

lib/email.d.ts

1

lib/assignments.d.ts

@@ -19,2 +19,3 @@ export declare type AssignmentDTO = {

allowTableOpenOrders?: boolean;
promptSeating?: boolean;
};

@@ -35,2 +35,3 @@ import { Maybe, TimeSpan } from "./utils";

disableItemNoteMiB?: boolean;
config?: Maybe<CategoryConfigDTO>;
images?: CategoryImageDTO[];

@@ -46,4 +47,11 @@ optionGroup?: Maybe<CategoryOptionGroupDTO>;

barcode?: string;
pluCode?: string;
tare?: Maybe<number>;
cardProgramId?: string;
};
export declare type CategoryConfigDTO = {
pos: Record<string, any>;
kiosk: Record<string, any>;
mib: Record<string, any>;
};
export declare type CategoryReportDTO = {

@@ -50,0 +58,0 @@ id: string;

@@ -16,2 +16,3 @@ export declare type EmployeeDTO = {

addresses: EmployeeAddressDTO[];
accessCardKey?: string;
};

@@ -18,0 +19,0 @@ export declare type EmployeeAddressDTO = {

3

lib/index.d.ts

@@ -5,2 +5,3 @@ import { AccountDTO } from "./account";

import { DeliverySettingDTO } from "./delivery";
import { EmailSettingDTO } from "./email";
import { EmployeeDTO } from "./employee";

@@ -48,3 +49,2 @@ import { OrderEmailIntegrationConfigDTO } from "./integrations";

terminalId?: string;
gateway: string;
};

@@ -86,2 +86,3 @@ export declare type GetLocationPreviewsQueryParams = {

getAccount(ctx: UserContext, id: string): Promise<AccountDTO | null>;
getEmailSettings(ctx: UserContext, id: string): Promise<EmailSettingDTO | null>;
getLocation(ctx: UserContext, id: string): Promise<LocationDTO | null>;

@@ -88,0 +89,0 @@ getLocationPreviews(ctx: UserContext, params: GetLocationPreviewsQueryParams): Promise<LocationPreviewDTO[]>;

@@ -31,2 +31,12 @@ "use strict";

}
getEmailSettings(ctx, id) {
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) {

@@ -196,3 +206,2 @@ return __awaiter(this, void 0, void 0, function* () {

locationId: params.locationId,
gateway: params.gateway,
},

@@ -199,0 +208,0 @@ }).then((r) => r.data);

@@ -0,1 +1,2 @@

import { Maybe } from "fgr-lib-backend/lib/types";
export declare type PaymentSettingDTO = {

@@ -7,6 +8,11 @@ bolt?: PaymentSettingBoltDTO;

tsys?: PaymentSettingTSysDTO;
config?: PaymentSettingsConfigDTO;
};
export declare type PaymentSettingsConfigDTO = {
selectedGateways: PaymentGatewayDTO[];
};
export declare type PaymentSettingBoltDTO = {
credentials: PaymentCredentialsBoltDTO;
options?: PaymentOptionsBoltDTO;
paymentCardTokenScope?: Maybe<string>;
};

@@ -16,11 +22,15 @@ export declare type PaymentSettingCardPointeDTO = {

options?: PaymentOptionsCardPointeDTO;
paymentCardTokenScope?: Maybe<string>;
};
export declare type PaymentSettingConvergeDTO = {
credentials: PaymentCredentialsConvergeDTO;
paymentCardTokenScope?: Maybe<string>;
};
export declare type PaymentSettingDejavooDTO = {
credentials: PaymentCredentialsDejavooDTO;
paymentCardTokenScope?: Maybe<string>;
};
export declare type PaymentSettingTSysDTO = {
credentials: PaymentCredentialsTSysDTO;
paymentCardTokenScope?: Maybe<string>;
};

@@ -60,3 +70,10 @@ export declare enum PaymentOptionsCardPointeDeviceDTO {

deviceId?: string;
deviceIdTsep?: string;
};
export declare enum PaymentGatewayDTO {
CardPointe = "cardpointe",
Bolt = "bolt",
Converge = "converge",
USAePay = "usaepay",
Dejavoo = "dejavoo",
TSYS = "tsys"
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PaymentOptionsCardPointeDeviceDTO = void 0;
exports.PaymentGatewayDTO = exports.PaymentOptionsCardPointeDeviceDTO = void 0;
var PaymentOptionsCardPointeDeviceDTO;

@@ -9,2 +9,11 @@ (function (PaymentOptionsCardPointeDeviceDTO) {

})(PaymentOptionsCardPointeDeviceDTO = exports.PaymentOptionsCardPointeDeviceDTO || (exports.PaymentOptionsCardPointeDeviceDTO = {}));
var PaymentGatewayDTO;
(function (PaymentGatewayDTO) {
PaymentGatewayDTO["CardPointe"] = "cardpointe";
PaymentGatewayDTO["Bolt"] = "bolt";
PaymentGatewayDTO["Converge"] = "converge";
PaymentGatewayDTO["USAePay"] = "usaepay";
PaymentGatewayDTO["Dejavoo"] = "dejavoo";
PaymentGatewayDTO["TSYS"] = "tsys";
})(PaymentGatewayDTO = exports.PaymentGatewayDTO || (exports.PaymentGatewayDTO = {}));
//# sourceMappingURL=payment.js.map

@@ -20,2 +20,8 @@ import { TimeAvailabilityInfoDTO } from "./location";

};
aggregatorType?: TerminalAggregatorType;
metadata?: {
onlineOrdering?: {
status?: TerminalOnlineOrderingStatus;
};
};
};

@@ -60,2 +66,9 @@ export declare type TerminalPreviewDTO = {

}
export declare enum TerminalOnlineOrderingStatus {
Pending = "pending",
Active = "active",
Paused = "paused",
PausedForPickup = "paused-for-pickup",
PausedForDelivery = "paused-for-delivery"
}
export declare type TerminalAggregatorConfigUberDTO = {

@@ -62,0 +75,0 @@ storeId: string;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TerminalType = exports.TerminalAggregatorType = exports.UniqueGeneratorStrategyDTO = void 0;
exports.TerminalType = exports.TerminalOnlineOrderingStatus = exports.TerminalAggregatorType = exports.UniqueGeneratorStrategyDTO = void 0;
var UniqueGeneratorStrategyDTO;

@@ -19,2 +19,10 @@ (function (UniqueGeneratorStrategyDTO) {

})(TerminalAggregatorType = exports.TerminalAggregatorType || (exports.TerminalAggregatorType = {}));
var TerminalOnlineOrderingStatus;
(function (TerminalOnlineOrderingStatus) {
TerminalOnlineOrderingStatus["Pending"] = "pending";
TerminalOnlineOrderingStatus["Active"] = "active";
TerminalOnlineOrderingStatus["Paused"] = "paused";
TerminalOnlineOrderingStatus["PausedForPickup"] = "paused-for-pickup";
TerminalOnlineOrderingStatus["PausedForDelivery"] = "paused-for-delivery";
})(TerminalOnlineOrderingStatus = exports.TerminalOnlineOrderingStatus || (exports.TerminalOnlineOrderingStatus = {}));
var TerminalType;

@@ -21,0 +29,0 @@ (function (TerminalType) {

{
"name": "@figuredev/business-config-sdk",
"version": "0.15.40",
"version": "0.15.41",
"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

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