@figuredev/business-config-sdk
Advanced tools
Comparing version 0.14.0 to 0.14.1
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 @@ }; |
@@ -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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
39017
47
823
0