@figuredev/business-config-sdk
Advanced tools
Comparing version 0.14.6 to 0.14.7
@@ -33,7 +33,2 @@ import { AccountDTO } from "./account"; | ||
}; | ||
export declare type PostPaymentSettingsQueryParams = { | ||
locationId: string; | ||
terminalId: string; | ||
configuration: PaymentSettingDTO; | ||
}; | ||
export declare type GetLocationPreviewsQueryParams = { | ||
@@ -80,3 +75,2 @@ locationIds?: string[]; | ||
getPaymentSettings(ctx: UserContext, params: GetPaymentSettingsQueryParams): Promise<PaymentSettingDTO>; | ||
postPaymentSettings(ctx: UserContext, params: PostPaymentSettingsQueryParams): Promise<void>; | ||
/** @deprecated in favor of getSchematizedLayouts **/ | ||
@@ -83,0 +77,0 @@ getSchematized(ctx: UserContext, params?: GetSchematizedQueryParams): Promise<SchematizedLayoutDTO>; |
@@ -213,17 +213,2 @@ "use strict"; | ||
} | ||
postPaymentSettings(ctx, params) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return yield axios_1.default.request({ | ||
baseURL: this.config.baseUrl, | ||
method: "POST", | ||
url: "/payment/setting", | ||
headers: this.prepareHeaders(ctx), | ||
params: { | ||
locationId: params.locationId, | ||
terminalId: params.terminalId, | ||
}, | ||
data: params.configuration, | ||
}); | ||
}); | ||
} | ||
/** @deprecated in favor of getSchematizedLayouts **/ | ||
@@ -230,0 +215,0 @@ getSchematized(ctx, params) { |
@@ -5,3 +5,2 @@ export declare type PaymentSettingDTO = { | ||
converge?: PaymentSettingConvergeDTO; | ||
usaepay?: PaymentSettingUSAePayDTO; | ||
dejavoo?: PaymentSettingDejavooDTO; | ||
@@ -19,5 +18,2 @@ tsys?: PaymentSettingTSysDTO; | ||
}; | ||
export declare type PaymentSettingUSAePayDTO = { | ||
credentials: PaymentCredentialsUSAePayDTO; | ||
}; | ||
export declare type PaymentSettingDejavooDTO = { | ||
@@ -41,6 +37,2 @@ credentials: PaymentCredentialsDejavooDTO; | ||
}; | ||
export declare type PaymentCredentialsUSAePayDTO = { | ||
sourceCode?: string; | ||
pin?: string; | ||
}; | ||
export declare type PaymentCredentialsDejavooDTO = { | ||
@@ -55,2 +47,3 @@ registerId?: string; | ||
deviceId?: string; | ||
deviceIdTsep?: string; | ||
}; |
{ | ||
"name": "@figuredev/business-config-sdk", | ||
"version": "0.14.6", | ||
"version": "0.14.7", | ||
"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
37894
47
797