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
6
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.14.0 to 0.14.1

lib/payment.d.ts

5

lib/index.d.ts
import { UserContext } from "./utils";
import { PhysicalPrinterDTO, PrinterDTO, PrinterType } from "./printers";
import { AssignmentDTO } from "./assignments";
import { PaymentGatewayDTO, PaymentSettingDTO, SettingDTO } from "./settings";
import { SettingDTO } from "./settings";
import { AccountDTO } from "./account";

@@ -13,2 +13,3 @@ import { LocationDTO, LocationPreviewDTO } from "./location";

import { MatchCategoriesRequestItem, MatchCategoriesResponseItem } from "./category";
import { PaymentGatewayDTO, PaymentSettingDTO } from "./payment";
declare type BusinessConfigClientConfig = {

@@ -29,2 +30,4 @@ baseUrl: string;

export declare type GetPaymentSettingsQueryParams = {
locationId?: string;
terminalId?: string;
gateway: PaymentGatewayDTO;

@@ -31,0 +34,0 @@ };

4

lib/index.js

@@ -202,5 +202,7 @@ "use strict";

method: "GET",
url: "/setting/payment",
url: "/payment/setting",
headers: this.prepareHeaders(ctx),
params: {
terminalId: params.terminalId,
locationId: params.locationId,
gateway: params.gateway,

@@ -207,0 +209,0 @@ },

@@ -8,43 +8,1 @@ export declare type SettingDTO = {

};
export declare enum PaymentGatewayDTO {
CardPointe = "cardpointe",
Bolt = "bolt",
Converge = "converge",
USAePay = "usaepay",
Dejavoo = "dejavoo",
TSYS = "tsys"
}
export declare type PaymentSettingDTO = {
bolt?: PaymentSettingBolt;
cardpointe?: PaymentSettingCardPointe;
converge?: PaymentSettingConverge;
usaepay?: PaymentSettingUSAePay;
dejavoo?: PaymentSettingDejavoo;
tsys?: PaymentSettingTSys;
};
export declare type PaymentSettingBolt = {
merchantId?: string;
hsn?: string;
};
export declare type PaymentSettingCardPointe = {
merchantId?: string;
};
export declare type PaymentSettingConverge = {
merchantId?: string;
userId?: string;
pin?: string;
};
export declare type PaymentSettingUSAePay = {
sourceCode?: string;
pin?: string;
};
export declare type PaymentSettingDejavoo = {
registerId?: string;
authKey?: string;
};
export declare type PaymentSettingTSys = {
deviceId?: string;
transactionKey?: string;
developerId?: string;
merchantId?: string;
};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PaymentGatewayDTO = void 0;
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=settings.js.map
{
"name": "@figuredev/business-config-sdk",
"version": "0.14.0",
"version": "0.14.1",
"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

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