diff --git a/.gitignore b/.gitignore index 781339b..4f92714 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,8 @@ .src/main/test .vagrant Vagrantfile -build node_modules .idea -dist .DS_Store .bash_history .config/ diff --git a/dist/lib-esm/apiKeyAuthenticatedService.d.ts b/dist/lib-esm/apiKeyAuthenticatedService.d.ts new file mode 100644 index 0000000..174f37d --- /dev/null +++ b/dist/lib-esm/apiKeyAuthenticatedService.d.ts @@ -0,0 +1,6 @@ +import Client from "./client"; +import Service from "./service"; +declare class ApiKeyAuthenticatedService extends Service { + protected constructor(client: Client); +} +export default ApiKeyAuthenticatedService; diff --git a/dist/lib-esm/apiKeyAuthenticatedService.js b/dist/lib-esm/apiKeyAuthenticatedService.js new file mode 100644 index 0000000..11f8ea6 --- /dev/null +++ b/dist/lib-esm/apiKeyAuthenticatedService.js @@ -0,0 +1,25 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +import Service from "./service"; +var ApiKeyAuthenticatedService = /** @class */ (function (_super) { + __extends(ApiKeyAuthenticatedService, _super); + function ApiKeyAuthenticatedService(client) { + var _this = _super.call(this, client) || this; + _this.apiKeyRequired = true; + return _this; + } + return ApiKeyAuthenticatedService; +}(Service)); +export default ApiKeyAuthenticatedService; +//# sourceMappingURL=apiKeyAuthenticatedService.js.map \ No newline at end of file diff --git a/dist/lib-esm/apiKeyAuthenticatedService.js.map b/dist/lib-esm/apiKeyAuthenticatedService.js.map new file mode 100644 index 0000000..8259b46 --- /dev/null +++ b/dist/lib-esm/apiKeyAuthenticatedService.js.map @@ -0,0 +1 @@ +{"version":3,"file":"apiKeyAuthenticatedService.js","sourceRoot":"","sources":["../../src/apiKeyAuthenticatedService.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAqBA,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC;IAAyC,8CAAO;IAC5C,oCAAsB,MAAc;QAApC,YACI,kBAAM,MAAM,CAAC,SAEhB;QADG,KAAI,CAAC,cAAc,GAAG,IAAI,CAAC;;IAC/B,CAAC;IACL,iCAAC;AAAD,CAAC,AALD,CAAyC,OAAO,GAK/C;AAED,eAAe,0BAA0B,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/client.d.ts b/dist/lib-esm/client.d.ts new file mode 100644 index 0000000..8587452 --- /dev/null +++ b/dist/lib-esm/client.d.ts @@ -0,0 +1,79 @@ +import Config from "./config"; +import ClientInterface from "./httpClient/clientInterface"; +import { Environment } from "./typings/enums/environment"; +declare type ClientParametersOverload = { + config: Config; +} | { + config: Config; + httpClient: ClientInterface; +} | { + username: string; + password: string; + environment: Environment; + applicationName: string; +} | { + username: string; + password: string; + environment: Environment; + applicationName: string; + httpClient: ClientInterface; +} | { + username: string; + password: string; + environment: Environment; + applicationName: string; + liveEndpointUrlPrefix: string; +} | { + username: string; + password: string; + environment: Environment; + applicationName: string; + liveEndpointUrlPrefix: string; + httpClient: ClientInterface; +} | { + apiKey: string; + environment: Environment; +} | { + apiKey: string; + environment: Environment; + httpClient: ClientInterface; +} | { + apiKey: string; + environment: Environment; + liveEndpointUrlPrefix: string; + httpClient: ClientInterface; +}; +declare class Client { + static ENDPOINT_TEST: string; + static ENDPOINT_LIVE: string; + static ENDPOINT_LIVE_SUFFIX: string; + static HPP_TEST: string; + static HPP_LIVE: string; + static MARKETPAY_ENDPOINT_TEST: string; + static MARKETPAY_ENDPOINT_LIVE: string; + static API_VERSION: string; + static RECURRING_API_VERSION: string; + static MARKETPAY_ACCOUNT_API_VERSION: string; + static MARKETPAY_FUND_API_VERSION: string; + static MARKETPAY_NOTIFICATION_API_VERSION: string; + static LIB_NAME: string; + static LIB_VERSION: string; + static CHECKOUT_ENDPOINT_TEST: string; + static CHECKOUT_ENDPOINT_LIVE_SUFFIX: string; + static CHECKOUT_API_VERSION: string; + static BIN_LOOKUP_PAL_SUFFIX: string; + static BIN_LOOKUP_API_VERSION: string; + static CHECKOUT_UTILITY_API_VERSION: string; + static TERMINAL_API_ENDPOINT_TEST: string; + static TERMINAL_API_ENDPOINT_LIVE: string; + static ENDPOINT_PROTOCOL: string; + private _httpClient; + private _config; + constructor(clientParameters: ClientParametersOverload); + setEnvironment(environment: Environment, liveEndpointUrlPrefix?: string): void; + httpClient: ClientInterface; + config: Config; + setApplicationName(applicationName: string): void; + setTimeouts(connectionTimeoutMillis: number, readTimeoutMillis: number): void; +} +export default Client; diff --git a/dist/lib-esm/client.js b/dist/lib-esm/client.js new file mode 100644 index 0000000..369def1 --- /dev/null +++ b/dist/lib-esm/client.js @@ -0,0 +1,127 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +import Config from "./config"; +import HttpURLConnectionClient from "./httpClient/httpURLConnectionClient"; +var Client = /** @class */ (function () { + function Client(options) { + if (options.config) { + this._config = options.config; + } + else { + this._config = new Config(); + } + if (options.environment) { + this.setEnvironment(options.environment, options.liveEndpointUrlPrefix); + if (options.username && options.password && options.applicationName) { + this._config.username = options.username; + this._config.password = options.password; + this._config.applicationName = options.applicationName; + } + if (options.apiKey) { + this._config.apiKey = options.apiKey; + } + } + if (options.httpClient) { + this._httpClient = options.httpClient; + } + } + Client.prototype.setEnvironment = function (environment, liveEndpointUrlPrefix) { + this._config.environment = environment; + if (environment === "TEST") { + this._config.endpoint = Client.ENDPOINT_TEST; + this._config.marketPayEndpoint = Client.MARKETPAY_ENDPOINT_TEST; + this._config.hppEndpoint = Client.HPP_TEST; + this._config.checkoutEndpoint = Client.CHECKOUT_ENDPOINT_TEST; + this._config.terminalApiCloudEndpoint = Client.TERMINAL_API_ENDPOINT_TEST; + } + else if (environment === "LIVE") { + this._config.endpoint = Client.ENDPOINT_LIVE; + this._config.marketPayEndpoint = Client.MARKETPAY_ENDPOINT_LIVE; + this._config.hppEndpoint = Client.HPP_LIVE; + if (liveEndpointUrlPrefix) { + this._config.endpoint = + "" + Client.ENDPOINT_PROTOCOL + liveEndpointUrlPrefix + Client.ENDPOINT_LIVE_SUFFIX; + this._config.checkoutEndpoint = + "" + Client.ENDPOINT_PROTOCOL + liveEndpointUrlPrefix + Client.CHECKOUT_ENDPOINT_LIVE_SUFFIX; + } + else { + this._config.endpoint = Client.ENDPOINT_LIVE; + this._config.checkoutEndpoint = undefined; + } + } + }; + Object.defineProperty(Client.prototype, "httpClient", { + get: function () { + if (!this._httpClient) { + this._httpClient = new HttpURLConnectionClient(); + } + return this._httpClient; + }, + set: function (httpClient) { + this._httpClient = httpClient; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Client.prototype, "config", { + get: function () { + return this._config; + }, + set: function (config) { + this._config = config; + }, + enumerable: true, + configurable: true + }); + Client.prototype.setApplicationName = function (applicationName) { + this.config.applicationName = applicationName; + }; + Client.prototype.setTimeouts = function (connectionTimeoutMillis, readTimeoutMillis) { + this.config.connectionTimeoutMillis = connectionTimeoutMillis; + this.config.readTimeoutMillis = readTimeoutMillis; + }; + Client.ENDPOINT_TEST = "https://pal-test.adyen.com"; + Client.ENDPOINT_LIVE = "https://pal-live.adyen.com"; + Client.ENDPOINT_LIVE_SUFFIX = "-pal-live.adyenpayments.com"; + Client.HPP_TEST = "https://test.adyen.com/hpp"; + Client.HPP_LIVE = "https://live.adyen.com/hpp"; + Client.MARKETPAY_ENDPOINT_TEST = "https://cal-test.adyen.com/cal/services"; + Client.MARKETPAY_ENDPOINT_LIVE = "https://cal-live.adyen.com/cal/services"; + Client.API_VERSION = "v49"; + Client.RECURRING_API_VERSION = "v30"; + Client.MARKETPAY_ACCOUNT_API_VERSION = "v4"; + Client.MARKETPAY_FUND_API_VERSION = "v3"; + Client.MARKETPAY_NOTIFICATION_API_VERSION = "v1"; + Client.LIB_NAME = "adyen-node-api-library"; + Client.LIB_VERSION = "1.0.0"; + Client.CHECKOUT_ENDPOINT_TEST = "https://checkout-test.adyen.com/checkout"; + Client.CHECKOUT_ENDPOINT_LIVE_SUFFIX = "-checkout-live.adyenpayments.com/checkout"; + Client.CHECKOUT_API_VERSION = "v49"; + Client.BIN_LOOKUP_PAL_SUFFIX = "/pal/servlet/BinLookup/"; + Client.BIN_LOOKUP_API_VERSION = "v40"; + Client.CHECKOUT_UTILITY_API_VERSION = "v1"; + Client.TERMINAL_API_ENDPOINT_TEST = "https://terminal-api-test.adyen.com"; + Client.TERMINAL_API_ENDPOINT_LIVE = "https://terminal-api-live.adyen.com"; + Client.ENDPOINT_PROTOCOL = "https://"; + return Client; +}()); +export default Client; +//# sourceMappingURL=client.js.map \ No newline at end of file diff --git a/dist/lib-esm/client.js.map b/dist/lib-esm/client.js.map new file mode 100644 index 0000000..d9be3fc --- /dev/null +++ b/dist/lib-esm/client.js.map @@ -0,0 +1 @@ +{"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,OAAO,uBAAuB,MAAM,sCAAsC,CAAC;AAyB3E;IA6BI,gBAAmB,OAAyB;QACxC,IAAI,OAAO,CAAC,MAAM,EAAE;YAChB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC;SACjC;aAAM;YACH,IAAI,CAAC,OAAO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,GAAG,uBAAuB,CAAC;QAC9D,IAAI,CAAC,MAAM,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IACtD,CAAC;IAxGa,oBAAa,GAAW,4BAA4B,CAAC;IACrD,oBAAa,GAAW,4BAA4B,CAAC;IACrD,2BAAoB,GAAW,6BAA6B,CAAC;IAC7D,eAAQ,GAAW,4BAA4B,CAAC;IAChD,eAAQ,GAAW,4BAA4B,CAAC;IAChD,8BAAuB,GAAW,yCAAyC,CAAC;IAC5E,8BAAuB,GAAW,yCAAyC,CAAC;IAC5E,kBAAW,GAAW,KAAK,CAAC;IAC5B,4BAAqB,GAAW,KAAK,CAAC;IACtC,oCAA6B,GAAW,IAAI,CAAC;IAC7C,iCAA0B,GAAW,IAAI,CAAC;IAC1C,yCAAkC,GAAW,IAAI,CAAC;IAClD,eAAQ,GAAW,wBAAwB,CAAC;IAC5C,kBAAW,GAAW,OAAO,CAAC;IAC9B,6BAAsB,GAAW,0CAA0C,CAAC;IAC5E,oCAA6B,GAAW,2CAA2C,CAAC;IACpF,2BAAoB,GAAW,KAAK,CAAC;IACrC,4BAAqB,GAAG,yBAAyB,CAAC;IAClD,6BAAsB,GAAG,KAAK,CAAC;IAC/B,mCAA4B,GAAW,IAAI,CAAC;IAC5C,iCAA0B,GAAW,qCAAqC,CAAC;IAC3E,iCAA0B,GAAW,qCAAqC,CAAC;IAC3E,wBAAiB,GAAW,UAAU,CAAC;IAmFzD,aAAC;CAAA,AA1GD,IA0GC;AAED,eAAe,MAAM,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/config.d.ts b/dist/lib-esm/config.d.ts new file mode 100644 index 0000000..b743615 --- /dev/null +++ b/dist/lib-esm/config.d.ts @@ -0,0 +1,58 @@ +import { Environment } from "./typings/enums/environment"; +interface ConfigConstructor { + username?: string; + password?: string; + merchantAccount?: string; + environment?: Environment; + endpoint?: string; + marketPayEndpoint?: string; + applicationName?: string; + apiKey?: string; + connectionTimeoutMillis?: number; + readTimeoutMillis?: number; + certificatePath?: string; + hppEndpoint?: string; + skinCode?: string; + hmacKey?: string; + checkoutEndpoint?: string; + terminalApiCloudEndpoint?: string; + terminalApiLocalEndpoint?: string; +} +declare class Config { + protected _username: string; + protected _password: string; + protected _merchantAccount: string; + protected _environment: Environment; + protected _endpoint: string; + protected _marketPayEndpoint: string; + protected _applicationName: string; + protected _apiKey: string; + protected _connectionTimeoutMillis: number; + protected _readTimeoutMillis: number; + protected _certificatePath: string; + protected _hppEndpoint: string; + protected _skinCode: string; + protected _hmacKey: string; + protected _checkoutEndpoint: string; + protected _terminalApiCloudEndpoint: string; + protected _terminalApiLocalEndpoint: string; + constructor(options?: ConfigConstructor); + username: string; + password: string; + merchantAccount: string; + environment: Environment; + endpoint: string; + marketPayEndpoint: string; + applicationName: string; + apiKey: string; + hppEndpoint: string; + skinCode: string; + hmacKey: string; + checkoutEndpoint: string; + terminalApiCloudEndpoint: string; + terminalApiLocalEndpoint: string; + connectionTimeoutMillis: number; + readTimeoutMillis: number; + certificatePath: string; +} +export default Config; diff --git a/dist/lib-esm/config.js b/dist/lib-esm/config.js new file mode 100644 index 0000000..7d72e1e --- /dev/null +++ b/dist/lib-esm/config.js @@ -0,0 +1,199 @@ +var Config = /** @class */ (function () { + function Config(options) { + if (options === void 0) { options = {}; } + this._username = options.username; + this._password = options.password; + this._merchantAccount = options.merchantAccount; + this._environment = options.environment; + this._endpoint = options.endpoint; + this._marketPayEndpoint = options.marketPayEndpoint; + this._applicationName = options.applicationName; + this._apiKey = options.apiKey; + this._connectionTimeoutMillis = options.connectionTimeoutMillis || 30000; + this._readTimeoutMillis = options.readTimeoutMillis || 3000; + this._certificatePath = options.certificatePath; + this._hppEndpoint = options.hppEndpoint; + this._skinCode = options.skinCode; + this._hmacKey = options.hmacKey; + this._checkoutEndpoint = options.checkoutEndpoint; + this._terminalApiCloudEndpoint = options.terminalApiCloudEndpoint; + this._terminalApiLocalEndpoint = options.terminalApiLocalEndpoint; + } + Object.defineProperty(Config.prototype, "username", { + get: function () { + return this._username; + }, + set: function (username) { + this._username = username; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "password", { + get: function () { + return this._password; + }, + set: function (password) { + this._password = password; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "merchantAccount", { + get: function () { + return this._merchantAccount; + }, + set: function (merchantAccount) { + this._merchantAccount = merchantAccount; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "environment", { + get: function () { + return this._environment; + }, + set: function (environment) { + this._environment = environment; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "endpoint", { + get: function () { + return this._endpoint; + }, + set: function (endpoint) { + this._endpoint = endpoint; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "marketPayEndpoint", { + get: function () { + return this._marketPayEndpoint; + }, + set: function (marketPayEndpoint) { + this._marketPayEndpoint = marketPayEndpoint; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "applicationName", { + get: function () { + return this._applicationName; + }, + set: function (applicationName) { + this._applicationName = applicationName; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "apiKey", { + get: function () { + return this._apiKey; + }, + set: function (apiKey) { + this._apiKey = apiKey; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "hppEndpoint", { + get: function () { + return this._hppEndpoint; + }, + set: function (hppEndpoint) { + this._hppEndpoint = hppEndpoint; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "skinCode", { + get: function () { + return this._skinCode; + }, + set: function (skinCode) { + this._skinCode = skinCode; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "hmacKey", { + get: function () { + return this._hmacKey; + }, + set: function (hmacKey) { + this._hmacKey = hmacKey; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "checkoutEndpoint", { + get: function () { + if (!this._checkoutEndpoint) { + var message = "Please provide your unique live url prefix on the setEnvironment() call on the Client or provide checkoutEndpoint in your config object."; + throw new Error(message); + } + return this._checkoutEndpoint; + }, + set: function (checkoutEndpoint) { + this._checkoutEndpoint = checkoutEndpoint; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "terminalApiCloudEndpoint", { + get: function () { + return this._terminalApiCloudEndpoint; + }, + set: function (terminalApiCloudEndpoint) { + this._terminalApiCloudEndpoint = terminalApiCloudEndpoint; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "terminalApiLocalEndpoint", { + get: function () { + return this._terminalApiLocalEndpoint; + }, + set: function (terminalApiLocalEndpoint) { + this._terminalApiLocalEndpoint = terminalApiLocalEndpoint; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "connectionTimeoutMillis", { + get: function () { + return this._connectionTimeoutMillis; + }, + set: function (connectionTimeoutMillis) { + this._connectionTimeoutMillis = connectionTimeoutMillis; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "readTimeoutMillis", { + get: function () { + return this._readTimeoutMillis; + }, + set: function (readTimeoutMillis) { + this._readTimeoutMillis = readTimeoutMillis; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "certificatePath", { + get: function () { + return this._certificatePath; + }, + set: function (certificatePath) { + this._certificatePath = certificatePath; + }, + enumerable: true, + configurable: true + }); + return Config; +}()); +export default Config; +//# sourceMappingURL=config.js.map \ No newline at end of file diff --git a/dist/lib-esm/config.js.map b/dist/lib-esm/config.js.map new file mode 100644 index 0000000..48b559e --- /dev/null +++ b/dist/lib-esm/config.js.map @@ -0,0 +1 @@ +{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/config.ts"],"names":[],"mappings":"AA0CA;IAsBI,gBAAmB,OAA+B;QAA/B,wBAAA,EAAA,YAA+B;QAC9C,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,QAAQ,CAAC;QAClC,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,QAAQ,CAAC;QAClC,IAAI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ACjC,CAAC;aAND,UAA2B,eAAuB;YAC9C,IAAI,CAAC,gBAAgB,GAAG,eAAe,CAAC;QAC5C,CAAC;;;OAAA;IAKL,aAAC;AAAD,CAAC,AArLD,IAqLC;AAED,eAAe,MAAM,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/helpers/getJsonResponse.d.ts b/dist/lib-esm/helpers/getJsonResponse.d.ts new file mode 100644 index 0000000..54dc117 --- /dev/null +++ b/dist/lib-esm/helpers/getJsonResponse.d.ts @@ -0,0 +1,5 @@ +import Resource from "../service/resource"; +import { RequestOptions } from "../typings/requestOptions"; +declare function getJsonResponse(resource: Resource, jsonRequest: T | string, requestOptions?: RequestOptions): Promise; +declare function getJsonResponse(resource: Resource, jsonRequest: T | string, requestOptions?: RequestOptions): Promise; +export default getJsonResponse; diff --git a/dist/lib-esm/helpers/getJsonResponse.js b/dist/lib-esm/helpers/getJsonResponse.js new file mode 100644 index 0000000..eda99cd --- /dev/null +++ b/dist/lib-esm/helpers/getJsonResponse.js @@ -0,0 +1,77 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +function getJsonResponse(resource, jsonRequest, requestOptions) { + if (requestOptions === void 0) { requestOptions = {}; } + return __awaiter(this, void 0, void 0, function () { + var response; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, resource.request(typeof jsonRequest === "string" ? jsonRequest : JSON.stringify(jsonRequest), requestOptions)]; + case 1: + response = _a.sent(); + try { + return [2 /*return*/, JSON.parse(response)]; + } + catch (e) { + return [2 /*return*/, response]; + } + return [2 /*return*/]; + } + }); + }); +} +export default getJsonResponse; +//# sourceMappingURL=getJsonResponse.js.map \ No newline at end of file diff --git a/dist/lib-esm/helpers/getJsonResponse.js.map b/dist/lib-esm/helpers/getJsonResponse.js.map new file mode 100644 index 0000000..5462cf9 --- /dev/null +++ b/dist/lib-esm/helpers/getJsonResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"getJsonResponse.js","sourceRoot":"","sources":["../../../src/helpers/getJsonResponse.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQH,SAAe,eAAe,CAC1B,QAAkB,EAClB,WAAuB,EACvB,cAAmC;IAAnC,+BAAA,EAAA,mBAAmC;;;;;wBAElB,qBAAM,QAAQ,CAAC,OAAO,CACnC,OAAO,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,EAC3E,cAAc,CAAC,EAAA;;oBAFb,QAAQ,GAAG,SAEE;oBACnB,IAAI;wBACA,sBAAO,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAC;qBAC/B;oBAAC,OAAO,CAAC,EAAE;wBACR,sBAAO,QAAQ,EAAC;qBACnB;;;;;CACJ;AACD,eAAe,eAAe,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/httpClient/clientInterface.d.ts b/dist/lib-esm/httpClient/clientInterface.d.ts new file mode 100644 index 0000000..a453a52 --- /dev/null +++ b/dist/lib-esm/httpClient/clientInterface.d.ts @@ -0,0 +1,10 @@ +/// +import Config from "../config"; +import { RequestOptions } from "../typings/requestOptions"; +import { AgentOptions } from "https"; +interface ClientInterface { + request(endpoint: string, json: string, config: Config, isApiKeyRequired: boolean, requestOptions?: RequestOptions): Promise; + post(endpoint: string, postParameters: [string, string][], config: Config): Promise; + proxy?: AgentOptions; +} +export default ClientInterface; diff --git a/dist/lib-esm/httpClient/clientInterface.js b/dist/lib-esm/httpClient/clientInterface.js new file mode 100644 index 0000000..3094452 --- /dev/null +++ b/dist/lib-esm/httpClient/clientInterface.js @@ -0,0 +1 @@ +//# sourceMappingURL=clientInterface.js.map \ No newline at end of file diff --git a/dist/lib-esm/httpClient/clientInterface.js.map b/dist/lib-esm/httpClient/clientInterface.js.map new file mode 100644 index 0000000..4ec600f --- /dev/null +++ b/dist/lib-esm/httpClient/clientInterface.js.map @@ -0,0 +1 @@ +{"version":3,"file":"clientInterface.js","sourceRoot":"","sources":["../../../src/httpClient/clientInterface.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib-esm/httpClient/httpClientException.d.ts b/dist/lib-esm/httpClient/httpClientException.d.ts new file mode 100644 index 0000000..b0d1ae7 --- /dev/null +++ b/dist/lib-esm/httpClient/httpClientException.d.ts @@ -0,0 +1,16 @@ +/// +import { IncomingHttpHeaders, IncomingMessage } from "http"; +declare class HttpClientException implements Error { + private _code; + private _responseHeaders; + private readonly _message; + private readonly _name; + private _responseBody; + constructor(message: string, code?: number, responseHeaders?: IncomingHttpHeaders, responseBody?: IncomingMessage); + readonly message: string; + readonly name: string; + code: number; + responseHeaders: IncomingHttpHeaders; + responseBody: IncomingMessage; +} +export default HttpClientException; diff --git a/dist/lib-esm/httpClient/httpClientException.js b/dist/lib-esm/httpClient/httpClientException.js new file mode 100644 index 0000000..593dfb4 --- /dev/null +++ b/dist/lib-esm/httpClient/httpClientException.js @@ -0,0 +1,77 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var HttpClientException = /** @class */ (function () { + function HttpClientException(message, code, responseHeaders, responseBody) { + this._code = 0; + this._name = "HttpClientException"; + this._message = message; + this._code = code; + this._responseHeaders = responseHeaders; + this._responseBody = responseBody; + } + Object.defineProperty(HttpClientException.prototype, "message", { + get: function () { + return this._message; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(HttpClientException.prototype, "name", { + get: function () { + return this._name; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(HttpClientException.prototype, "code", { + get: function () { + return this._code; + }, + set: function (value) { + this._code = value; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(HttpClientException.prototype, "responseHeaders", { + get: function () { + return this._responseHeaders; + }, + set: function (value) { + this._responseHeaders = value; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(HttpClientException.prototype, "responseBody", { + get: function () { + return this._responseBody; + }, + set: function (value) { + this._responseBody = value; + }, + enumerable: true, + configurable: true + }); + return HttpClientException; +}()); +export default HttpClientException; +//# sourceMappingURL=httpClientException.js.map \ No newline at end of file diff --git a/dist/lib-esm/httpClient/httpClientException.js.map b/dist/lib-esm/httpClient/httpClientException.js.map new file mode 100644 index 0000000..215eaf8 --- /dev/null +++ b/dist/lib-esm/httpClient/httpClientException.js.map @@ -0,0 +1 @@ +{"version":3,"file":"httpClientException.js","sourceRoot":"","sources":["../../../src/httpClient/httpClientException.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH;IAOI,6BAAmB,OAAe,EAAE,IAAa,EAAE,eAAqC,EAAE,YAA8B;QANhH,UAAK,GAAW,CAAC,CAAC;QAOtB,IAAI,CAAC,KAAK,GAAG,qBAAqB,CAAC;QACnC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;QACxB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,gBAAgB,GAAG,eAAe,CAAC;QACxC,IAAI,CAAC,aAAa,GAAG,YAAY,CAAC;IACtC,CAAC;IAED,sBAAW,wCAAO;aAAlB;YACI,OAAO,IAAI,CAAC,QAAQ,CAAC;QACzB,CAAC;;;OAAA;IAED,sBAAW,qCAAI;aAAf;YACI,OAAO,IAAI,CAAC,KAAK,CAAC;QACtB,CAAC;;;OAAA;IAED,sBAAW,qCAAI;aAAf;YACI,OAAO,IAAI,CAAC,KAAK,CAAC;QACtB,CAAC;aAED,UAAgB,KAAa;YACzB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACvB,CAAC;;;OAJA;IAMD,sBAAW,gDAAe;aAA1B;YACI,OAAO,IAAI,CAAC,gBAAgB,CAAC;QACjC,CAAC;aAED,UAA2B,KAA0B;YACjD,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAClC,CAAC;;;OAJA;IAMD,sBAAW,6CAAY;aAAvB;YACI,OAAO,IAAI,CAAC,aAAa,CAAC;QAC9B,CAAC;aAED,UAAwB,KAAsB;YAC1C,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC/B,CAAC;;;OAJA;IAKL,0BAAC;AAAD,CAAC,AA9CD,IA8CC;AAED,eAAe,mBAAmB,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/httpClient/httpURLConnectionClient.d.ts b/dist/lib-esm/httpClient/httpURLConnectionClient.d.ts new file mode 100644 index 0000000..5e082f0 --- /dev/null +++ b/dist/lib-esm/httpClient/httpURLConnectionClient.d.ts @@ -0,0 +1,19 @@ +/// +import { AgentOptions } from "https"; +import Config from "../config"; +import { RequestOptions } from "../typings/requestOptions"; +import ClientInterface from "./clientInterface"; +declare class HttpURLConnectionClient implements ClientInterface { + private static CHARSET; + private _proxy; + private agentOptions; + request(endpoint: string, json: string, config: Config, isApiRequired: boolean, requestOptions?: RequestOptions): Promise; + post(endpoint: string, postParameters: [string, string][], config: Config): Promise; + proxy: AgentOptions; + private createRequest; + private getQuery; + private doPostRequest; + private static setBasicAuthentication; + private installCertificateVerifier; +} +export default HttpURLConnectionClient; diff --git a/dist/lib-esm/httpClient/httpURLConnectionClient.js b/dist/lib-esm/httpClient/httpURLConnectionClient.js new file mode 100644 index 0000000..8c9def4 --- /dev/null +++ b/dist/lib-esm/httpClient/httpURLConnectionClient.js @@ -0,0 +1,153 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __assign = (this && this.__assign) || function () { + __assign = Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; + }; + return __assign.apply(this, arguments); +}; +import { Agent, request as httpRequest } from "https"; +import * as fs from "fs"; +import { URL } from "url"; +import Client from "../client"; +import { ACCEPT_CHARSET, API_KEY, APPLICATION_JSON_TYPE, CONTENT_TYPE, IDEMPOTENCY_KEY, METHOD_POST, USER_AGENT, } from "../typings/constants/apiConstants"; +import HttpClientException from "./httpClientException"; +var HttpURLConnectionClient = /** @class */ (function () { + function HttpURLConnectionClient() { + } + HttpURLConnectionClient.prototype.request = function (endpoint, json, config, isApiRequired, requestOptions) { + if (requestOptions === void 0) { requestOptions = {}; } + requestOptions.headers = {}; + requestOptions.timeout = config.connectionTimeoutMillis; + if (config.certificatePath) { + this.installCertificateVerifier(config.certificatePath); + } + var apiKey = config.apiKey; + if (isApiRequired || apiKey) { + requestOptions.headers[API_KEY] = apiKey; + } + else { + var authString = config.username + ":" + config.password; + var authEncBytes = new Buffer(authString); + var authStringEnc = authEncBytes.toString(); + requestOptions.headers.Authorization = "Basic " + authStringEnc; + } + requestOptions.headers[CONTENT_TYPE] = APPLICATION_JSON_TYPE; + var httpConnection = this.createRequest(endpoint, config.applicationName, requestOptions); + return this.doPostRequest(httpConnection, json); + }; + HttpURLConnectionClient.prototype.post = function (endpoint, postParameters, config) { + var postQuery = this.getQuery(postParameters); + var httpConnection = this.createRequest(endpoint, config.applicationName, {}); + return this.doPostRequest(httpConnection, postQuery); + }; + Object.defineProperty(HttpURLConnectionClient.prototype, "proxy", { + set: function (agentOptions) { + this._proxy = agentOptions; + }, + enumerable: true, + configurable: true + }); + HttpURLConnectionClient.prototype.createRequest = function (endpoint, applicationName, requestOptions) { + var url = new URL(endpoint); + requestOptions.hostname = url.hostname; + requestOptions.protocol = url.protocol; + requestOptions.port = url.port; + requestOptions.path = url.pathname; + if (this._proxy) { + this.agentOptions = __assign({}, this._proxy, this.agentOptions); + } + if (requestOptions && requestOptions.idempotencyKey) { + requestOptions.headers[IDEMPOTENCY_KEY] = requestOptions.idempotencyKey; + delete requestOptions.idempotencyKey; + } + requestOptions.agent = new Agent(this.agentOptions); + requestOptions.headers["Cache-Control"] = "no-cache"; + requestOptions.method = METHOD_POST; + requestOptions.headers[ACCEPT_CHARSET] = HttpURLConnectionClient.CHARSET; + requestOptions.headers[USER_AGENT] = applicationName + " " + Client.LIB_NAME + "/" + Client.LIB_VERSION; + return httpRequest(requestOptions); + }; + HttpURLConnectionClient.prototype.getQuery = function (params) { + return params.map(function (_a) { + var key = _a[0], value = _a[1]; + return key + "=" + value; + }).join("&"); + }; + HttpURLConnectionClient.prototype.doPostRequest = function (httpConnection, json) { + return new Promise(function (resolve, reject) { + httpConnection.flushHeaders(); + httpConnection.on("response", function (res) { + var resData = ""; + if (res.statusCode && res.statusCode !== 200) { + var exception = new HttpClientException("HTTP Exception: " + res.statusCode + ". " + res.statusMessage, res.statusCode, res.headers, res); + reject(exception); + } + res.on("data", function (data) { + resData += data; + }); + res.on("end", function () { + if (!res.complete) { + reject(new Error("The connection was terminated while the message was still being sent")); + } + resolve(resData); + }); + res.on("error", reject); + }); + httpConnection.on("timeout", function () { + httpConnection.abort(); + }); + httpConnection.on("error", reject); + httpConnection.write(Buffer.from(json)); + httpConnection.end(); + }); + }; + HttpURLConnectionClient.setBasicAuthentication = function (httpConnection, username, password) { + var authString = username + ":" + password; + var authEncBytes = new Buffer(authString); + var authStringEnc = authEncBytes.toString(); + httpConnection.setHeader("Authorization", "Basic " + authStringEnc); + return httpConnection; + }; + HttpURLConnectionClient.prototype.installCertificateVerifier = function (terminalCertificatePath) { + try { + var certificateInput = fs.readFileSync(terminalCertificatePath); + this.agentOptions = { + ca: certificateInput, + checkServerIdentity: function () { + return undefined; + }, + }; + } + catch (e) { + throw new HttpClientException("Error loading certificate from path: " + e.message); + } + }; + HttpURLConnectionClient.CHARSET = "utf-8"; + return HttpURLConnectionClient; +}()); +export default HttpURLConnectionClient; +//# sourceMappingURL=httpURLConnectionClient.js.map \ No newline at end of file diff --git a/dist/lib-esm/httpClient/httpURLConnectionClient.js.map b/dist/lib-esm/httpClient/httpURLConnectionClient.js.map new file mode 100644 index 0000000..46f0f6d --- /dev/null +++ b/dist/lib-esm/httpClient/httpURLConnectionClient.js.map @@ -0,0 +1 @@ +{"version":3,"file":"httpURLConnectionClient.js","sourceRoot":"","sources":["../../../src/httpClient/httpURLConnectionClient.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;AAGH,OAAO,EAAE,KAAK,EAAgB,OAAO,IAAI,WAAW,EAAE,MAAM,OAAO,CAAC;AAEpE,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,EAAC,GAAG,EAAC,MAAM,KAAK,CAAC;AACxB,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,OAAO,EACH,cAAc,EACd,OAAO,EACP,qBAAqB,EACrB,YAAY,EACZ,eAAe,EACf,WAAW,EACX,UAAU,GACb,MAAM,mCAAmC,CAAC;AAG3C,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AAExD;IAA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AAC,CAAC,CAAC;YACH,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;YACnC,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;YACxC,cAAc,CAAC,GAAG,EAAE,CAAC;QACzB,CAAC,CAAC,CAAC;IACP,CAAC;IAEc,8CAAsB,GAArC,UAAsC,cAA6B,EAAE,QAAgB,EAAE,QAAgB;QACnG,IAAM,UAAU,GAAM,QAAQ,SAAI,QAAU,CAAC;QAC7C,IAAM,YAAY,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC;QAC5C,IAAM,aAAa,GAAG,YAAY,CAAC,QAAQ,EAAE,CAAC;QAE9C,cAAc,CAAC,SAAS,CAAC,eAAe,EAAE,WAAS,aAAe,CAAC,CAAC;QACpE,OAAO,cAAc,CAAC;IAC1B,CAAC;IAEO,4DAA0B,GAAlC,UAAmC,uBAA+B;QAC9D,IAAI;YACA,IAAM,gBAAgB,GAAG,EAAE,CAAC,YAAY,CAAC,uBAAuB,CAAC,CAAC;YAElE,IAAI,CAAC,YAAY,GAAG;gBAChB,EAAE,EAAE,gBAAgB;gBACpB,mBAAmB,EAAE;oBACjB,OAAO,SAAS,CAAC;gBACrB,CAAC;aACJ,CAAC;SAEL;QAAC,OAAO,CAAC,EAAE;YACR,MAAM,IAAI,mBAAmB,CAAC,0CAAwC,CAAC,CAAC,OAAS,CAAC,CAAC;SACtF;IAEL,CAAC;IAtIc,+BAAO,GAAW,OAAO,CAAC;IAwI7C,8BAAC;CAAA,AAzID,IAyIC;AAED,eAAe,uBAAuB,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/index.d.ts b/dist/lib-esm/index.d.ts new file mode 100644 index 0000000..a9f8c6b --- /dev/null +++ b/dist/lib-esm/index.d.ts @@ -0,0 +1,4 @@ +export { default as Client } from "./client"; +export { default as Config } from "./config"; +export * from "./service/"; +export { default as HttpURLConnectionClient } from "./httpClient/httpURLConnectionClient"; diff --git a/dist/lib-esm/index.js b/dist/lib-esm/index.js new file mode 100644 index 0000000..50a4f24 --- /dev/null +++ b/dist/lib-esm/index.js @@ -0,0 +1,25 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +export { default as Client } from "./client"; +export { default as Config } from "./config"; +export * from "./service/"; +export { default as HttpURLConnectionClient } from "./httpClient/httpURLConnectionClient"; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/lib-esm/index.js.map b/dist/lib-esm/index.js.map new file mode 100644 index 0000000..9fd35b1 --- /dev/null +++ b/dist/lib-esm/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,sCAAsC,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/notification/notificationRequest.d.ts b/dist/lib-esm/notification/notificationRequest.d.ts new file mode 100644 index 0000000..137e0ff --- /dev/null +++ b/dist/lib-esm/notification/notificationRequest.d.ts @@ -0,0 +1,10 @@ +import { Notification, NotificationItem, NotificationRequestItem } from "../typings/notification"; +declare class NotificationRequest { + constructor(json: Notification); + notificationItemContainers: NotificationItem[]; + live: string; + readonly notificationItems: NotificationRequestItem[]; + private _live; + private _notificationItemContainers; +} +export default NotificationRequest; diff --git a/dist/lib-esm/notification/notificationRequest.js b/dist/lib-esm/notification/notificationRequest.js new file mode 100644 index 0000000..c9d1e2d --- /dev/null +++ b/dist/lib-esm/notification/notificationRequest.js @@ -0,0 +1,61 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +import { Convert } from "../typings/notification"; +var NotificationRequest = /** @class */ (function () { + function NotificationRequest(json) { + var notification = Convert.toNotification(JSON.stringify(json)); + this._notificationItemContainers = notification.notificationItems; + this._live = notification.live; + } + Object.defineProperty(NotificationRequest.prototype, "notificationItemContainers", { + get: function () { + return this._notificationItemContainers; + }, + set: function (value) { + this._notificationItemContainers = value; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(NotificationRequest.prototype, "live", { + get: function () { + return this._live; + }, + set: function (value) { + this._live = value; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(NotificationRequest.prototype, "notificationItems", { + get: function () { + if (!this._notificationItemContainers) { + return null; + } + return this._notificationItemContainers.map(function (container) { return container.notificationRequestItem; }); + }, + enumerable: true, + configurable: true + }); + return NotificationRequest; +}()); +export default NotificationRequest; +//# sourceMappingURL=notificationRequest.js.map \ No newline at end of file diff --git a/dist/lib-esm/notification/notificationRequest.js.map b/dist/lib-esm/notification/notificationRequest.js.map new file mode 100644 index 0000000..b61d264 --- /dev/null +++ b/dist/lib-esm/notification/notificationRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"notificationRequest.js","sourceRoot":"","sources":["../../../src/notification/notificationRequest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,EAAC,OAAO,EAA0D,MAAM,yBAAyB,CAAC;AAEzG;IACI,6BAAmB,IAAkB;QACjC,IAAM,YAAY,GAAG,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;QAClE,IAAI,CAAC,2BAA2B,GAAG,YAAY,CAAC,iBAAiB,CAAC;QAClE,IAAI,CAAC,KAAK,GAAG,YAAY,CAAC,IAAI,CAAC;IACnC,CAAC;IAED,sBAAW,2DAA0B;aAArC;YACI,OAAO,IAAI,CAAC,2BAA2B,CAAC;QAC5C,CAAC;aAED,UAAsC,KAAyB;YAC3D,IAAI,CAAC,2BAA2B,GAAG,KAAK,CAAC;QAC7C,CAAC;;;OAJA;IAMD,sBAAW,qCAAI;aAAf;YACI,OAAO,IAAI,CAAC,KAAK,CAAC;QACtB,CAAC;aAED,UAAgB,KAAa;YACzB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACvB,CAAC;;;OAJA;IAMD,sBAAW,kDAAiB;aAA5B;YACI,IAAI,CAAC,IAAI,CAAC,2BAA2B,EAAE;gBACnC,OAAO,IAAI,CAAC;aACf;YAED,OAAO,IAAI,CAAC,2BAA2B,CAAC,GAAG,CAAC,UAAC,SAAS,IAA8B,OAAA,SAAS,CAAC,uBAAuB,EAAjC,CAAiC,CAAC,CAAC;QAC3H,CAAC;;;OAAA;IAIL,0BAAC;AAAD,CAAC,AAjCD,IAiCC;AAED,eAAe,mBAAmB,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/security/exception/invalidSecurityKeyException.d.ts b/dist/lib-esm/security/exception/invalidSecurityKeyException.d.ts new file mode 100644 index 0000000..e318976 --- /dev/null +++ b/dist/lib-esm/security/exception/invalidSecurityKeyException.d.ts @@ -0,0 +1,8 @@ +declare class InvalidSecurityKeyException implements Error { + private readonly _message; + private readonly _name; + constructor(message: string); + readonly message: string; + readonly name: string; +} +export default InvalidSecurityKeyException; diff --git a/dist/lib-esm/security/exception/invalidSecurityKeyException.js b/dist/lib-esm/security/exception/invalidSecurityKeyException.js new file mode 100644 index 0000000..0307b35 --- /dev/null +++ b/dist/lib-esm/security/exception/invalidSecurityKeyException.js @@ -0,0 +1,43 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var InvalidSecurityKeyException = /** @class */ (function () { + function InvalidSecurityKeyException(message) { + this._message = message; + this._name = "InvalidSecurityKeyException"; + } + Object.defineProperty(InvalidSecurityKeyException.prototype, "message", { + get: function () { + return this._message; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(InvalidSecurityKeyException.prototype, "name", { + get: function () { + return this._name; + }, + enumerable: true, + configurable: true + }); + return InvalidSecurityKeyException; +}()); +export default InvalidSecurityKeyException; +//# sourceMappingURL=invalidSecurityKeyException.js.map \ No newline at end of file diff --git a/dist/lib-esm/security/exception/invalidSecurityKeyException.js.map b/dist/lib-esm/security/exception/invalidSecurityKeyException.js.map new file mode 100644 index 0000000..1e5b7f0 --- /dev/null +++ b/dist/lib-esm/security/exception/invalidSecurityKeyException.js.map @@ -0,0 +1 @@ +{"version":3,"file":"invalidSecurityKeyException.js","sourceRoot":"","sources":["../../../../src/security/exception/invalidSecurityKeyException.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH;IAII,qCAAmB,OAAe;QAC9B,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;QACxB,IAAI,CAAC,KAAK,GAAG,6BAA6B,CAAC;IAC/C,CAAC;IAED,sBAAW,gDAAO;aAAlB;YACI,OAAO,IAAI,CAAC,QAAQ,CAAC;QACzB,CAAC;;;OAAA;IAED,sBAAW,6CAAI;aAAf;YACI,OAAO,IAAI,CAAC,KAAK,CAAC;QACtB,CAAC;;;OAAA;IACL,kCAAC;AAAD,CAAC,AAhBD,IAgBC;AAED,eAAe,2BAA2B,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/security/nexoCrypto.d.ts b/dist/lib-esm/security/nexoCrypto.d.ts new file mode 100644 index 0000000..ac3aee1 --- /dev/null +++ b/dist/lib-esm/security/nexoCrypto.d.ts @@ -0,0 +1,11 @@ +import { MessageHeader, SaleToPoiSecuredMessage, SecurityKey } from "../typings/terminal"; +declare class NexoCrypto { + static encrypt(messageHeader: MessageHeader, saleToPoiMessageJson: string, securityKey: SecurityKey): SaleToPoiSecuredMessage; + decrypt(saleToPoiSecureMessage: SaleToPoiSecuredMessage, securityKey: SecurityKey): string; + private static validateSecurityKey; + private static crypt; + private static hmac; + private static generateRandomIvNonce; + private validateHmac; +} +export default NexoCrypto; diff --git a/dist/lib-esm/security/nexoCrypto.js b/dist/lib-esm/security/nexoCrypto.js new file mode 100644 index 0000000..538d3f3 --- /dev/null +++ b/dist/lib-esm/security/nexoCrypto.js @@ -0,0 +1,102 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +import { createCipheriv, createDecipheriv, createHmac, randomBytes } from "crypto"; +import NexoCryptoException from "../service/exception/nexoCryptoException"; +import { NEXO_IV_LENGTH } from "../typings/constants/nexoConstants"; +import InvalidSecurityKeyException from "./exception/invalidSecurityKeyException"; +import NexoDerivedKeyGenerator from "./nexoDerivedKeyGenerator"; +var Modes; +(function (Modes) { + Modes[Modes["ENCRYPT"] = 0] = "ENCRYPT"; + Modes[Modes["DECRYPT"] = 1] = "DECRYPT"; +})(Modes || (Modes = {})); +var NexoCrypto = /** @class */ (function () { + function NexoCrypto() { + } + NexoCrypto.encrypt = function (messageHeader, saleToPoiMessageJson, securityKey) { + var derivedKey = NexoDerivedKeyGenerator.deriveKeyMaterial(securityKey.passphrase); + var saleToPoiMessageByteArray = Buffer.from(saleToPoiMessageJson, "ascii"); + var ivNonce = NexoCrypto.generateRandomIvNonce(); + var encryptedSaleToPoiMessage = NexoCrypto.crypt(saleToPoiMessageByteArray, derivedKey, ivNonce, Modes.ENCRYPT); + var encryptedSaleToPoiMessageHmac = NexoCrypto.hmac(saleToPoiMessageByteArray, derivedKey); + var securityTrailer = { + adyenCryptoVersion: securityKey.adyenCryptoVersion, + hmac: encryptedSaleToPoiMessageHmac.toString("base64"), + keyIdentifier: securityKey.keyIdentifier, + keyVersion: securityKey.keyVersion, + nonce: ivNonce.toString("base64"), + }; + return { + messageHeader: messageHeader, + nexoBlob: encryptedSaleToPoiMessage.toString("base64"), + securityTrailer: securityTrailer, + }; + }; + NexoCrypto.prototype.decrypt = function (saleToPoiSecureMessage, securityKey) { + NexoCrypto.validateSecurityKey(securityKey); + var encryptedSaleToPoiMessageByteArray = Buffer.from(saleToPoiSecureMessage.nexoBlob, "base64"); + var derivedKey = NexoDerivedKeyGenerator.deriveKeyMaterial(securityKey.passphrase); + var ivNonce = Buffer.from(saleToPoiSecureMessage.securityTrailer.nonce, "base64"); + var decryptedSaleToPoiMessageByteArray = NexoCrypto.crypt(encryptedSaleToPoiMessageByteArray, derivedKey, ivNonce, Modes.DECRYPT); + var receivedHmac = Buffer.from(saleToPoiSecureMessage.securityTrailer.hmac, "base64"); + this.validateHmac(receivedHmac, decryptedSaleToPoiMessageByteArray, derivedKey); + return decryptedSaleToPoiMessageByteArray.toString("ascii"); + }; + NexoCrypto.validateSecurityKey = function (securityKey) { + var isValid = securityKey + && securityKey.passphrase + && securityKey.keyIdentifier + && securityKey.keyVersion + && securityKey.adyenCryptoVersion; + if (!isValid) { + throw new InvalidSecurityKeyException("Invalid Security Key"); + } + }; + NexoCrypto.crypt = function (bytes, dk, ivNonce, mode) { + var actualIV = Buffer.alloc(NEXO_IV_LENGTH); + for (var i = 0; i < NEXO_IV_LENGTH; i++) { + actualIV[i] = dk.iv[i] ^ ivNonce[i]; + } + var cipher = mode === Modes.ENCRYPT + ? createCipheriv("aes-256-cbc", dk.cipherKey, actualIV) + : createDecipheriv("aes-256-cbc", dk.cipherKey, actualIV); + var encrypted = cipher.update(bytes); + encrypted = Buffer.concat([encrypted, cipher.final()]); + return encrypted; + }; + NexoCrypto.hmac = function (bytes, derivedKey) { + var mac = createHmac("sha256", derivedKey.hmacKey); + return mac.update(bytes).digest(); + }; + NexoCrypto.generateRandomIvNonce = function () { + return randomBytes(NEXO_IV_LENGTH); + }; + NexoCrypto.prototype.validateHmac = function (receivedHmac, decryptedMessage, derivedKey) { + var hmac = NexoCrypto.hmac(decryptedMessage, derivedKey); + var isValid = hmac.every(function (item, index) { return item === receivedHmac[index]; }); + if (!isValid) { + throw new NexoCryptoException("Hmac validation failed"); + } + }; + return NexoCrypto; +}()); +export default NexoCrypto; +//# sourceMappingURL=nexoCrypto.js.map \ No newline at end of file diff --git a/dist/lib-esm/security/nexoCrypto.js.map b/dist/lib-esm/security/nexoCrypto.js.map new file mode 100644 index 0000000..6ffb1ad --- /dev/null +++ b/dist/lib-esm/security/nexoCrypto.js.map @@ -0,0 +1 @@ +{"version":3,"file":"nexoCrypto.js","sourceRoot":"","sources":["../../../src/security/n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AA5B,CAA4B,CAAC,CAAC;QAEnF,IAAI,CAAC,OAAO,EAAE;YACV,MAAM,IAAI,mBAAmB,CAAC,wBAAwB,CAAC,CAAC;SAC3D;IACL,CAAC;IACL,iBAAC;AAAD,CAAC,AAtFD,IAsFC;AAED,eAAe,UAAU,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/security/nexoDerivedKeyGenerator.d.ts b/dist/lib-esm/security/nexoDerivedKeyGenerator.d.ts new file mode 100644 index 0000000..e409b6b --- /dev/null +++ b/dist/lib-esm/security/nexoDerivedKeyGenerator.d.ts @@ -0,0 +1,6 @@ +import { NexoDerivedKey } from "../typings/terminal"; +declare class NexoDerivedKeyGenerator { + static deriveKeyMaterial(passphrase: string): NexoDerivedKey; + private static readKeyData; +} +export default NexoDerivedKeyGenerator; diff --git a/dist/lib-esm/security/nexoDerivedKeyGenerator.js b/dist/lib-esm/security/nexoDerivedKeyGenerator.js new file mode 100644 index 0000000..a285e17 --- /dev/null +++ b/dist/lib-esm/security/nexoDerivedKeyGenerator.js @@ -0,0 +1,44 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +import { pbkdf2Sync } from "crypto"; +import { NEXO_CIPHER_KEY_LENGTH, NEXO_HMAC_KEY_LENGTH, NEXO_IV_LENGTH } from "../typings/constants/nexoConstants"; +var NexoDerivedKeyGenerator = /** @class */ (function () { + function NexoDerivedKeyGenerator() { + } + NexoDerivedKeyGenerator.deriveKeyMaterial = function (passphrase) { + var pass = Buffer.from(passphrase, "binary"); + var salt = Buffer.from("AdyenNexoV1Salt", "binary"); + var iterations = 4000; + var keylen = NEXO_CIPHER_KEY_LENGTH + NEXO_HMAC_KEY_LENGTH + NEXO_IV_LENGTH; + var key = pbkdf2Sync(pass, salt, iterations, keylen * 8, "sha1"); + return NexoDerivedKeyGenerator.readKeyData(key); + }; + NexoDerivedKeyGenerator.readKeyData = function (key) { + return { + cipherKey: key.slice(NEXO_HMAC_KEY_LENGTH, NEXO_HMAC_KEY_LENGTH + NEXO_CIPHER_KEY_LENGTH), + hmacKey: key.slice(0, NEXO_HMAC_KEY_LENGTH), + iv: key.slice(NEXO_HMAC_KEY_LENGTH + NEXO_CIPHER_KEY_LENGTH, NEXO_CIPHER_KEY_LENGTH + NEXO_HMAC_KEY_LENGTH + NEXO_IV_LENGTH), + }; + }; + return NexoDerivedKeyGenerator; +}()); +export default NexoDerivedKeyGenerator; +//# sourceMappingURL=nexoDerivedKeyGenerator.js.map \ No newline at end of file diff --git a/dist/lib-esm/security/nexoDerivedKeyGenerator.js.map b/dist/lib-esm/security/nexoDerivedKeyGenerator.js.map new file mode 100644 index 0000000..47641d3 --- /dev/null +++ b/dist/lib-esm/security/nexoDerivedKeyGenerator.js.map @@ -0,0 +1 @@ +{"version":3,"file":"nexoDerivedKeyGenerator.js","sourceRoot":"","sources":["../../../src/security/nexoDerivedKeyGenerator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAC,UAAU,EAAC,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAC,sBAAsB,EAAE,oBAAoB,EAAE,cAAc,EAAC,MAAM,oCAAoC,CAAC;AAGhH;IAAA;IAoBA,CAAC;IAnBiB,yCAAiB,GAA/B,UAAgC,UAAkB;QAC9C,IAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;QAC/C,IAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CAAC;QACtD,IAAM,UAAU,GAAG,IAAI,CAAC;QACxB,IAAM,MAAM,GAAG,sBAAsB,GAAG,oBAAoB,GAAG,cAAc,CAAC;QAC9E,IAAM,GAAG,GAAG,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,GAAG,CAAC,EAAE,MAAM,CAAC,CAAC;QACnE,OAAO,uBAAuB,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IACpD,CAAC;IAEc,mCAAW,GAA1B,UAA2B,GAAW;QAClC,OAAO;YACH,SAAS,EAAE,GAAG,CAAC,KAAK,CAAC,oBAAoB,EAAE,oBAAoB,GAAG,sBAAsB,CAAC;YACzF,OAAO,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,oBAAoB,CAAC;YAC3C,EAAE,EAAE,GAAG,CAAC,KAAK,CACT,oBAAoB,GAAG,sBAAsB,EAC7C,sBAAsB,GAAG,oBAAoB,GAAG,cAAc,CACjE;SACJ,CAAC;IACN,CAAC;IACL,8BAAC;AAAD,CAAC,AApBD,IAoBC;AAED,eAAe,uBAAuB,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service.d.ts b/dist/lib-esm/service.d.ts new file mode 100644 index 0000000..c6acf0d --- /dev/null +++ b/dist/lib-esm/service.d.ts @@ -0,0 +1,9 @@ +import Client from "./client"; +declare class Service { + protected _apiKeyRequired: boolean; + private _client; + protected constructor(client: Client); + client: Client; + apiKeyRequired: boolean; +} +export default Service; diff --git a/dist/lib-esm/service.js b/dist/lib-esm/service.js new file mode 100644 index 0000000..74d4a20 --- /dev/null +++ b/dist/lib-esm/service.js @@ -0,0 +1,49 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var Service = /** @class */ (function () { + function Service(client) { + this._apiKeyRequired = false; + this._client = client; + } + Object.defineProperty(Service.prototype, "client", { + get: function () { + return this._client; + }, + set: function (client) { + this._client = client; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Service.prototype, "apiKeyRequired", { + get: function () { + return this._apiKeyRequired; + }, + set: function (apiKeyRequired) { + this._apiKeyRequired = apiKeyRequired; + }, + enumerable: true, + configurable: true + }); + return Service; +}()); +export default Service; +//# sourceMappingURL=service.js.map \ No newline at end of file diff --git a/dist/lib-esm/service.js.map b/dist/lib-esm/service.js.map new file mode 100644 index 0000000..3659947 --- /dev/null +++ b/dist/lib-esm/service.js.map @@ -0,0 +1 @@ +{"version":3,"file":"service.js","sourceRoot":"","sources":["../../src/service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH;IAII,iBAAsB,MAAc;QAH1B,oBAAe,GAAY,KAAK,CAAC;QAIvC,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;IAC1B,CAAC;IAED,sBAAW,2BAAM;aAAjB;YACI,OAAO,IAAI,CAAC,OAAO,CAAC;QACxB,CAAC;aAED,UAAkB,MAAc;YAC5B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QAC1B,CAAC;;;OAJA;IAMD,sBAAW,mCAAc;aAAzB;YACI,OAAO,IAAI,CAAC,eAAe,CAAC;QAChC,CAAC;aAED,UAA0B,cAAuB;YAC7C,IAAI,CAAC,eAAe,GAAG,cAAc,CAAC;QAC1C,CAAC;;;OAJA;IAKL,cAAC;AAAD,CAAC,AAvBD,IAuBC;AAED,eAAe,OAAO,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/binLookup.d.ts b/dist/lib-esm/service/binLookup.d.ts new file mode 100644 index 0000000..0ec83d5 --- /dev/null +++ b/dist/lib-esm/service/binLookup.d.ts @@ -0,0 +1,11 @@ +import ApiKeyAuthenticatedService from "../apiKeyAuthenticatedService"; +import Client from "../client"; +import { CostEstimateRequest, CostEstimateResponse, ThreeDSAvailabilityRequest, ThreeDSAvailabilityResponse } from "../typings/binLookup"; +declare class BinLookup extends ApiKeyAuthenticatedService { + private readonly _get3dsAvailability; + private readonly _getCostEstimate; + constructor(client: Client); + get3dsAvailability(request: ThreeDSAvailabilityRequest): Promise; + getCostEstimate(request: CostEstimateRequest): Promise; +} +export default BinLookup; diff --git a/dist/lib-esm/service/binLookup.js b/dist/lib-esm/service/binLookup.js new file mode 100644 index 0000000..bc497d8 --- /dev/null +++ b/dist/lib-esm/service/binLookup.js @@ -0,0 +1,104 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +import ApiKeyAuthenticatedService from "../apiKeyAuthenticatedService"; +import GetCostEstimate from "./resource/binLookup/getCostEstimate"; +import Get3dsAvailability from "./resource/binLookup/get3dsAvailability"; +import getJsonResponse from "../helpers/getJsonResponse"; +var BinLookup = /** @class */ (function (_super) { + __extends(BinLookup, _super); + function BinLookup(client) { + var _this = _super.call(this, client) || this; + _this._get3dsAvailability = new Get3dsAvailability(_this); + _this._getCostEstimate = new GetCostEstimate(_this); + return _this; + } + BinLookup.prototype.get3dsAvailability = function (request) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse(this._get3dsAvailability, request)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + BinLookup.prototype.getCostEstimate = function (request) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse(this._getCostEstimate, request)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + return BinLookup; +}(ApiKeyAuthenticatedService)); +export default BinLookup; +//# sourceMappingURL=binLookup.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/binLookup.js.map b/dist/lib-esm/service/binLookup.js.map new file mode 100644 index 0000000..0ba06aa --- /dev/null +++ b/dist/lib-esm/service/binLookup.js.map @@ -0,0 +1 @@ +{"version":3,"file":"binLookup.js","sourceRoot":"","sources":["../../../src/service/binLookup.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,0BAA0B,MAAM,+BAA+B,CAAC;AAEvE,OAAO,eAAe,MAAM,sCAAsC,CAAC;AACnE,OAAO,kBAAkB,MAAM,yCAAyC,CAAC;AAOzE,OAAO,eAAe,MAAM,4BAA4B,CAAC;AAEzD;IAAwB,6BAA0B;IAI9C,mBAAmB,MAAc;QAAjC,YACI,kBAAM,MAAM,CAAC,SAGhB;QAFG,KAAI,CAAC,mBAAmB,GAAG,IAAI,kBAAkB,CAAC,KAAI,CAAC,CAAC;QACxD,KAAI,CAAC,gBAAgB,GAAG,IAAI,eAAe,CAAC,KAAI,CAAC,CAAC;;IACtD,CAAC;IAEY,sCAAkB,GAA/B,UAAgC,OAAmC;;;;4BACxD,qBAAM,eAAe,CACxB,IAAI,CAAC,mBAAmB,EACxB,OAAO,CACV,EAAA;4BAHD,sBAAO,SAGN,EAAC;;;;KACL;IAEY,mCAAe,GAA5B,UAA6B,OAA4B;;;;4BAC9C,qBAAM,eAAe,CACxB,IAAI,CAAC,gBAAgB,EACrB,OAAO,CACV,EAAA;4BAHD,sBAAO,SAGN,EAAC;;;;KACL;IACL,gBAAC;AAAD,CAAC,AAvBD,CAAwB,0BAA0B,GAuBjD;AAED,eAAe,SAAS,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/checkout.d.ts b/dist/lib-esm/service/checkout.d.ts new file mode 100644 index 0000000..fe8216c --- /dev/null +++ b/dist/lib-esm/service/checkout.d.ts @@ -0,0 +1,18 @@ +import ApiKeyAuthenticatedService from "../apiKeyAuthenticatedService"; +import Client from "../client"; +import { DetailsRequest, PaymentMethodsRequest, PaymentMethodsResponse, PaymentRequest, PaymentResponse, PaymentSetupRequest, PaymentSetupResponse, PaymentVerificationRequest, PaymentVerificationResponse } from "../typings/checkout"; +import { RequestOptions } from "../typings/requestOptions"; +declare class Checkout extends ApiKeyAuthenticatedService { + private readonly _payments; + private readonly _paymentMethods; + private readonly _paymentsDetails; + private readonly _paymentSession; + private readonly _paymentsResult; + constructor(client: Client); + payments(paymentsRequest: PaymentRequest, requestOptions?: RequestOptions): Promise; + paymentMethods(paymentMethodsRequest: PaymentMethodsRequest): Promise; + paymentsDetails(paymentsDetailsRequest: DetailsRequest): Promise; + paymentSession(paymentSessionRequest: PaymentSetupRequest, requestOptions?: RequestOptions): Promise; + paymentResult(paymentResultRequest: PaymentVerificationRequest): Promise; +} +export default Checkout; diff --git a/dist/lib-esm/service/checkout.js b/dist/lib-esm/service/checkout.js new file mode 100644 index 0000000..187bea3 --- /dev/null +++ b/dist/lib-esm/service/checkout.js @@ -0,0 +1,125 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +import ApiKeyAuthenticatedService from "../apiKeyAuthenticatedService"; +import getJsonResponse from "../helpers/getJsonResponse"; +import PaymentMethods from "./resource/checkout/paymentMethods"; +import Payments from "./resource/checkout/payments"; +import PaymentsDetails from "./resource/checkout/paymentsDetails"; +import PaymentSession from "./resource/checkout/paymentSession"; +import PaymentsResult from "./resource/checkout/paymentsResult"; +var Checkout = /** @class */ (function (_super) { + __extends(Checkout, _super); + function Checkout(client) { + var _this = _super.call(this, client) || this; + _this._payments = new Payments(_this); + _this._paymentMethods = new PaymentMethods(_this); + _this._paymentsDetails = new PaymentsDetails(_this); + _this._paymentSession = new PaymentSession(_this); + _this._paymentsResult = new PaymentsResult(_this); + return _this; + } + Checkout.prototype.payments = function (paymentsRequest, requestOptions) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + return [2 /*return*/, getJsonResponse(this._payments, paymentsRequest, requestOptions)]; + }); + }); + }; + Checkout.prototype.paymentMethods = function (paymentMethodsRequest) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + return [2 /*return*/, getJsonResponse(this._paymentMethods, paymentMethodsRequest)]; + }); + }); + }; + Checkout.prototype.paymentsDetails = function (paymentsDetailsRequest) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + return [2 /*return*/, getJsonResponse(this._paymentsDetails, paymentsDetailsRequest)]; + }); + }); + }; + Checkout.prototype.paymentSession = function (paymentSessionRequest, requestOptions) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + return [2 /*return*/, getJsonResponse(this._paymentSession, paymentSessionRequest, requestOptions)]; + }); + }); + }; + Checkout.prototype.paymentResult = function (paymentResultRequest) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + return [2 /*return*/, getJsonResponse(this._paymentsResult, paymentResultRequest)]; + }); + }); + }; + return Checkout; +}(ApiKeyAuthenticatedService)); +export default Checkout; +//# sourceMappingURL=checkout.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/checkout.js.map b/dist/lib-esm/service/checkout.js.map new file mode 100644 index 0000000..403b12f --- /dev/null +++ b/dist/lib-esm/service/checkout.js.map @@ -0,0 +1 @@ +{"version":3,"file":"checkout.js","sourceRoot":"","sources":["../../../src/service/checkout.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,OAAO,0BAA0B,MAAM,+BAA+B,CAAC;AAEvE,OAAO,eAAe,MAAM,4BAA4B,CAAC;AAMzD,OAAO,cAAc,MAAM,oCAAoC,CAAC;AAChE,OAAO,QAAQ,MAAM,8BAA8B,CAAC;AACpD,OAAO,eAAe,MAAM,qCAAqC,CAAC;AAClE,OAAO,cAAc,MAAM,oCAAoC,CAAC;AAChE,OAAO,cAAc,MAAM,oCAAoC,CAAC;AAEhE;IAAuB,4BAA0B;IAO7C,kBAAmB,MAAc;QAAjC,YACI,kBAAM,MAAM,CAAC,SAMhB;QALG,KAAI,CAAC,SAAS,GAAG,IAAI,QAAQ,CAAC,KAAI,CAAC,CAAC;QACpC,KAAI,CAAC,eAAe,GAAG,IAAI,cAAc,CAAC,KAAI,CAAC,CAAC;QAChD,KAAI,CAAC,gBAAgB,GAAG,IAAI,eAAe,CAAC,KAAI,CAAC,CAAC;QAClD,KAAI,CAAC,eAAe,GAAG,IAAI,cAAc,CAAC,KAAI,CAAC,CAAC;QAChD,KAAI,CAAC,eAAe,GAAG,IAAI,cAAc,CAAC,KAAI,CAAC,CAAC;;IACpD,CAAC;IAEY,2BAAQ,GAArB,UACI,eAA+B,EAC/B,cAA+B;;;gBAE/B,sBAAO,eAAe,CAClB,IAAI,CAAC,SAAS,EACd,eAAe,EACf,cAAc,CACjB,EAAC;;;KACL;IAEY,iCAAc,GAA3B,UAA4B,qBAA4C;;;gBACpE,sBAAO,eAAe,CAClB,IAAI,CAAC,eAAe,EACpB,qBAAqB,CACxB,EAAC;;;KACL;IAEY,kCAAe,GAA5B,UAA6B,sBAAsC;;;gBAC/D,sBAAO,eAAe,CAClB,IAAI,CAAC,gBAAgB,EACrB,sBAAsB,CACzB,EAAC;;;KACL;IAEY,iCAAc,GAA3B,UACI,qBAA0C,EAC1C,cAA+B;;;gBAE/B,sBAAO,eAAe,CAClB,IAAI,CAAC,eAAe,EACpB,qBAAqB,EACrB,cAAc,CACjB,EAAC;;;KACL;IAEY,gCAAa,GAA1B,UAA2B,oBAAgD;;;gBACvE,sBAAO,eAAe,CAClB,IAAI,CAAC,eAAe,EACpB,oBAAoB,CACvB,EAAC;;;KACL;IACL,eAAC;AAAD,CAAC,AA1DD,CAAuB,0BAA0B,GA0DhD;AAED,eAAe,QAAQ,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/checkoutUtility.d.ts b/dist/lib-esm/service/checkoutUtility.d.ts new file mode 100644 index 0000000..5df19a4 --- /dev/null +++ b/dist/lib-esm/service/checkoutUtility.d.ts @@ -0,0 +1,9 @@ +import ApiKeyAuthenticatedService from "../apiKeyAuthenticatedService"; +import Client from "../client"; +import { CheckoutUtilityRequest, CheckoutUtilityResponse } from "../typings/checkoutUtility"; +declare class CheckoutUtility extends ApiKeyAuthenticatedService { + private readonly _originKeys; + constructor(client: Client); + originKeys(originKeysRequest: CheckoutUtilityRequest): Promise; +} +export default CheckoutUtility; diff --git a/dist/lib-esm/service/checkoutUtility.js b/dist/lib-esm/service/checkoutUtility.js new file mode 100644 index 0000000..1f3fcd1 --- /dev/null +++ b/dist/lib-esm/service/checkoutUtility.js @@ -0,0 +1,89 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +import ApiKeyAuthenticatedService from "../apiKeyAuthenticatedService"; +import getJsonResponse from "../helpers/getJsonResponse"; +import OriginKeys from "./resource/checkoutUtility/originKeys"; +var CheckoutUtility = /** @class */ (function (_super) { + __extends(CheckoutUtility, _super); + function CheckoutUtility(client) { + var _this = _super.call(this, client) || this; + _this._originKeys = new OriginKeys(_this); + return _this; + } + CheckoutUtility.prototype.originKeys = function (originKeysRequest) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + return [2 /*return*/, getJsonResponse(this._originKeys, originKeysRequest)]; + }); + }); + }; + return CheckoutUtility; +}(ApiKeyAuthenticatedService)); +export default CheckoutUtility; +//# sourceMappingURL=checkoutUtility.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/checkoutUtility.js.map b/dist/lib-esm/service/checkoutUtility.js.map new file mode 100644 index 0000000..dfc609e --- /dev/null +++ b/dist/lib-esm/service/checkoutUtility.js.map @@ -0,0 +1 @@ +{"version":3,"file":"checkoutUtility.js","sourceRoot":"","sources":["../../../src/service/checkoutUtility.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,OAAO,0BAA0B,MAAM,+BAA+B,CAAC;AAEvE,OAAO,eAAe,MAAM,4BAA4B,CAAC;AAEzD,OAAO,UAAU,MAAM,uCAAuC,CAAC;AAE/D;IAA8B,mCAA0B;IAGpD,yBAAmB,MAAc;QAAjC,YACI,kBAAM,MAAM,CAAC,SAEhB;QADG,KAAI,CAAC,WAAW,GAAG,IAAI,UAAU,CAAC,KAAI,CAAC,CAAC;;IAC5C,CAAC;IAEY,oCAAU,GAAvB,UAAwB,iBAAyC;;;gBAC7D,sBAAO,eAAe,CAClB,IAAI,CAAC,WAAW,EAChB,iBAAiB,CACpB,EAAC;;;KACL;IACL,sBAAC;AAAD,CAAC,AAdD,CAA8B,0BAA0B,GAcvD;AAED,eAAe,eAAe,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/exception/apiException.d.ts b/dist/lib-esm/service/exception/apiException.d.ts new file mode 100644 index 0000000..9d8a407 --- /dev/null +++ b/dist/lib-esm/service/exception/apiException.d.ts @@ -0,0 +1,13 @@ +import { ApiError } from "../../typings/apiError"; +declare class ApiException implements Error { + private _error; + private _statusCode; + private readonly _message; + private readonly _name; + constructor(message: string, statusCode: number); + error: ApiError; + statusCode: number; + readonly message: string; + readonly name: string; +} +export default ApiException; diff --git a/dist/lib-esm/service/exception/apiException.js b/dist/lib-esm/service/exception/apiException.js new file mode 100644 index 0000000..ae3872f --- /dev/null +++ b/dist/lib-esm/service/exception/apiException.js @@ -0,0 +1,64 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var ApiException = /** @class */ (function () { + function ApiException(message, statusCode) { + this._name = "ApiException"; + this._message = message; + this._statusCode = statusCode; + } + Object.defineProperty(ApiException.prototype, "error", { + get: function () { + return this._error; + }, + set: function (error) { + this._error = error; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(ApiException.prototype, "statusCode", { + get: function () { + return this._statusCode; + }, + set: function (statusCode) { + this._statusCode = statusCode; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(ApiException.prototype, "message", { + get: function () { + return this._message; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(ApiException.prototype, "name", { + get: function () { + return this._name; + }, + enumerable: true, + configurable: true + }); + return ApiException; +}()); +export default ApiException; +//# sourceMappingURL=apiException.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/exception/apiException.js.map b/dist/lib-esm/service/exception/apiException.js.map new file mode 100644 index 0000000..b1f11ac --- /dev/null +++ b/dist/lib-esm/service/exception/apiException.js.map @@ -0,0 +1 @@ +{"version":3,"file":"apiException.js","sourceRoot":"","sources":["../../../../src/service/exception/apiException.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH;IAMI,sBAAmB,OAAe,EAAE,UAAkB;QAClD,IAAI,CAAC,KAAK,GAAG,cAAc,CAAC;QAC5B,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;QACxB,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;IAClC,CAAC;IAED,sBAAW,+BAAK;aAAhB;YACI,OAAO,IAAI,CAAC,MAAM,CAAC;QACvB,CAAC;aAED,UAAiB,KAAe;YAC5B,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACxB,CAAC;;;OAJA;IAMD,sBAAW,oCAAU;aAArB;YACI,OAAO,IAAI,CAAC,WAAW,CAAC;QAC5B,CAAC;aAED,UAAsB,UAAkB;YACpC,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;QAClC,CAAC;;;OAJA;IAMD,sBAAW,iCAAO;aAAlB;YACI,OAAO,IAAI,CAAC,QAAQ,CAAC;QACzB,CAAC;;;OAAA;IAED,sBAAW,8BAAI;aAAf;YACI,OAAO,IAAI,CAAC,KAAK,CAAC;QACtB,CAAC;;;OAAA;IACL,mBAAC;AAAD,CAAC,AAnCD,IAmCC;AAED,eAAe,YAAY,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/exception/nexoCryptoException.d.ts b/dist/lib-esm/service/exception/nexoCryptoException.d.ts new file mode 100644 index 0000000..0c3c79b --- /dev/null +++ b/dist/lib-esm/service/exception/nexoCryptoException.d.ts @@ -0,0 +1,8 @@ +declare class NexoCryptoException implements Error { + private readonly _message; + private readonly _name; + constructor(message: string); + readonly message: string; + readonly name: string; +} +export default NexoCryptoException; diff --git a/dist/lib-esm/service/exception/nexoCryptoException.js b/dist/lib-esm/service/exception/nexoCryptoException.js new file mode 100644 index 0000000..066cbed --- /dev/null +++ b/dist/lib-esm/service/exception/nexoCryptoException.js @@ -0,0 +1,43 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var NexoCryptoException = /** @class */ (function () { + function NexoCryptoException(message) { + this._name = "NexoCryptoException"; + this._message = message; + } + Object.defineProperty(NexoCryptoException.prototype, "message", { + get: function () { + return this._message; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(NexoCryptoException.prototype, "name", { + get: function () { + return this._name; + }, + enumerable: true, + configurable: true + }); + return NexoCryptoException; +}()); +export default NexoCryptoException; +//# sourceMappingURL=nexoCryptoException.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/exception/nexoCryptoException.js.map b/dist/lib-esm/service/exception/nexoCryptoException.js.map new file mode 100644 index 0000000..8b786cd --- /dev/null +++ b/dist/lib-esm/service/exception/nexoCryptoException.js.map @@ -0,0 +1 @@ +{"version":3,"file":"nexoCryptoException.js","sourceRoot":"","sources":["../../../../src/service/exception/nexoCryptoException.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH;IAII,6BAAmB,OAAe;QAC9B,IAAI,CAAC,KAAK,GAAG,qBAAqB,CAAC;QACnC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;IAC5B,CAAC;IAED,sBAAW,wCAAO;aAAlB;YACI,OAAO,IAAI,CAAC,QAAQ,CAAC;QACzB,CAAC;;;OAAA;IAED,sBAAW,qCAAI;aAAf;YACI,OAAO,IAAI,CAAC,KAAK,CAAC;QACtB,CAAC;;;OAAA;IACL,0BAAC;AAAD,CAAC,AAhBD,IAgBC;AAED,eAAe,mBAAmB,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/index.d.ts b/dist/lib-esm/service/index.d.ts new file mode 100644 index 0000000..678d2e8 --- /dev/null +++ b/dist/lib-esm/service/index.d.ts @@ -0,0 +1,8 @@ +export { default as TerminalLocalAPI } from "./terminalLocalAPI"; +export { default as TerminalCloudAPI } from "./terminalCloudAPI"; +export { default as CheckoutAPI } from "./checkout"; +export { default as CheckoutUtility } from "./checkoutUtility"; +export { default as Recurring } from "./recurring"; +export { default as Modification } from "./modification"; +export { default as BinLookup } from "./binLookup"; +export { default as Payout } from "./payout"; diff --git a/dist/lib-esm/service/index.js b/dist/lib-esm/service/index.js new file mode 100644 index 0000000..e398ce8 --- /dev/null +++ b/dist/lib-esm/service/index.js @@ -0,0 +1,29 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +export { default as TerminalLocalAPI } from "./terminalLocalAPI"; +export { default as TerminalCloudAPI } from "./terminalCloudAPI"; +export { default as CheckoutAPI } from "./checkout"; +export { default as CheckoutUtility } from "./checkoutUtility"; +export { default as Recurring } from "./recurring"; +export { default as Modification } from "./modification"; +export { default as BinLookup } from "./binLookup"; +export { default as Payout } from "./payout"; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/index.js.map b/dist/lib-esm/service/index.js.map new file mode 100644 index 0000000..edfd195 --- /dev/null +++ b/dist/lib-esm/service/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/service/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/modification.d.ts b/dist/lib-esm/service/modification.d.ts new file mode 100644 index 0000000..bb256ce --- /dev/null +++ b/dist/lib-esm/service/modification.d.ts @@ -0,0 +1,20 @@ +import Client from "../client"; +import Service from "../service"; +import { ModificationRequest, ModificationResult } from "../typings/payments"; +import { RequestOptions } from "../typings/requestOptions"; +declare class Modification extends Service { + private readonly _cancelOrRefund; + private readonly _cancel; + private readonly _capture; + private readonly _refund; + private readonly _adjustAuthorisation; + private readonly _technicalCancel; + constructor(client: Client); + capture(captureRequest: ModificationRequest, requestOptions?: RequestOptions): Promise; + cancelOrRefund(cancelOrRefundRequest: ModificationRequest, requestOptions?: RequestOptions): Promise; + refund(refundRequest: ModificationRequest, requestOptions?: RequestOptions): Promise; + cancel(cancelRequest: ModificationRequest, requestOptions?: RequestOptions): Promise; + technicalCancel(technicalCancelRequest: ModificationRequest, requestOptions?: RequestOptions): Promise; + adjustAuthorisation(adjustAuthorisationRequest: ModificationRequest, requestOptions?: RequestOptions): Promise; +} +export default Modification; diff --git a/dist/lib-esm/service/modification.js b/dist/lib-esm/service/modification.js new file mode 100644 index 0000000..bfa6413 --- /dev/null +++ b/dist/lib-esm/service/modification.js @@ -0,0 +1,132 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +import getJsonResponse from "../helpers/getJsonResponse"; +import Service from "../service"; +import AdjustAuthorisation from "./resource/modification/adjustAuthorisation"; +import Cancel from "./resource/modification/cancel"; +import CancelOrRefund from "./resource/modification/cancelOrRefund"; +import Capture from "./resource/modification/capture"; +import Refund from "./resource/modification/refund"; +import TechnicalCancel from "./resource/modification/technicalCancel"; +var Modification = /** @class */ (function (_super) { + __extends(Modification, _super); + function Modification(client) { + var _this = _super.call(this, client) || this; + _this._capture = new Capture(_this); + _this._cancelOrRefund = new CancelOrRefund(_this); + _this._cancel = new Cancel(_this); + _this._refund = new Refund(_this); + _this._adjustAuthorisation = new AdjustAuthorisation(_this); + _this._technicalCancel = new TechnicalCancel(_this); + return _this; + } + Modification.prototype.capture = function (captureRequest, requestOptions) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse(this._capture, captureRequest, requestOptions)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + Modification.prototype.cancelOrRefund = function (cancelOrRefundRequest, requestOptions) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse(this._cancelOrRefund, cancelOrRefundRequest, requestOptions)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + Modification.prototype.refund = function (refundRequest, requestOptions) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse(this._refund, refundRequest, requestOptions)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + Modification.prototype.cancel = function (cancelRequest, requestOptions) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse(this._cancel, cancelRequest, requestOptions)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + Modification.prototype.technicalCancel = function (technicalCancelRequest, requestOptions) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse(this._technicalCancel, technicalCancelRequest, requestOptions)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + Modification.prototype.adjustAuthorisation = function (adjustAuthorisationRequest, requestOptions) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse(this._adjustAuthorisation, adjustAuthorisationRequest, requestOptions)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + return Modification; +}(Service)); +export default Modification; +//# sourceMappingURL=modification.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/modification.js.map b/dist/lib-esm/service/modification.js.map new file mode 100644 index 0000000..ace119a --- /dev/null +++ b/dist/lib-esm/service/modification.js.map @@ -0,0 +1 @@ +{"version":3,"file":"modification.js","sourceRoot":"","sources":["../../../src/service/modification.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,OAAO,eAAe,MAAM,4BAA4B,CAAC;AACzD,OAAO,OAAO,MAAM,YAAY,CAAC;AAGjC,OAAO,mBAAmB,MAAM,6CAA6C,CAAC;AAC9E,OAAO,MAAM,MAAM,gCAAgC,CAAC;AACpD,OAAO,cAAc,MAAM,wCAAwC,CAAC;AACpE,OAAO,OAAO,MAAM,iCAAiC,CAAC;AACtD,OAAO,MAAM,MAAM,gCAAgC,CAAC;AACpD,OAAO,eAAe,MAAM,yCAAyC,CAAC;AAEtE;IAA2B,gCAAO;IAQ9B,sBAAmB,MAAc;QAAjC,YACI,kBAAM,MAAM,CAAC,SAOhB;QANG,KAAI,CAAC,QAAQ,GAAG,IAAI,OAAO,CAAC,KAAI,CAAC,CAAC;QAClC,KAAI,CAAC,eAAe,GAAG,IAAI,cAAc,CAAC,KAAI,CAAC,CAAC;QAChD,KAAI,CAAC,OAAO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A;4BAJD,sBAAO,SAIN,EAAC;;;;KACL;IACL,mBAAC;AAAD,CAAC,AAnFD,CAA2B,OAAO,GAmFjC;AAED,eAAe,YAAY,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/payout.d.ts b/dist/lib-esm/service/payout.d.ts new file mode 100644 index 0000000..1feeffa --- /dev/null +++ b/dist/lib-esm/service/payout.d.ts @@ -0,0 +1,17 @@ +import Client from "../client"; +import Service from "../service"; +import { ModifyRequest, ModifyResponse, StoreDetailAndSubmitRequest, StoreDetailAndSubmitResponse, StoreDetailRequest, StoreDetailResponse, SubmitRequest, SubmitResponse } from "../typings/payout"; +declare class Payout extends Service { + private readonly _storeDetailAndSubmitThirdParty; + private readonly _confirmThirdParty; + private readonly _declineThirdParty; + private readonly _storeDetail; + private readonly _submitThirdParty; + constructor(client: Client); + storeDetailAndSubmitThirdParty(request: StoreDetailAndSubmitRequest): Promise; + confirmThirdParty(request: ModifyRequest): Promise; + declineThirdParty(request: ModifyRequest): Promise; + storeDetail(request: StoreDetailRequest): Promise; + submitThirdparty(request: SubmitRequest): Promise; +} +export default Payout; diff --git a/dist/lib-esm/service/payout.js b/dist/lib-esm/service/payout.js new file mode 100644 index 0000000..4d1b89b --- /dev/null +++ b/dist/lib-esm/service/payout.js @@ -0,0 +1,120 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +import Service from "../service"; +import DeclineThirdParty from "./resource/payout/declineThirdParty"; +import StoreDetail from "./resource/payout/storeDetail"; +import SubmitThirdParty from "./resource/payout/submitThirdParty"; +import ConfirmThirdParty from "./resource/payout/confirmThirdParty"; +import StoreDetailAndSubmitThirdParty from "./resource/payout/storeDetailAndSubmitThirdParty"; +import getJsonResponse from "../helpers/getJsonResponse"; +var Payout = /** @class */ (function (_super) { + __extends(Payout, _super); + function Payout(client) { + var _this = _super.call(this, client) || this; + _this._storeDetailAndSubmitThirdParty = new StoreDetailAndSubmitThirdParty(_this); + _this._confirmThirdParty = new ConfirmThirdParty(_this); + _this._declineThirdParty = new DeclineThirdParty(_this); + _this._storeDetail = new StoreDetail(_this); + _this._submitThirdParty = new SubmitThirdParty(_this); + return _this; + } + Payout.prototype.storeDetailAndSubmitThirdParty = function (request) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse(this._storeDetailAndSubmitThirdParty, request)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + Payout.prototype.confirmThirdParty = function (request) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse(this._confirmThirdParty, request)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + Payout.prototype.declineThirdParty = function (request) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse(this._declineThirdParty, request)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + Payout.prototype.storeDetail = function (request) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse(this._storeDetail, request)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + Payout.prototype.submitThirdparty = function (request) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse(this._submitThirdParty, request)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + return Payout; +}(Service)); +export default Payout; +//# sourceMappingURL=payout.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/payout.js.map b/dist/lib-esm/service/payout.js.map new file mode 100644 index 0000000..3dd9021 --- /dev/null +++ b/dist/lib-esm/service/payout.js.map @@ -0,0 +1 @@ +{"version":3,"file":"payout.js","sourceRoot":"","sources":["../../../src/service/payout.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,OAAO,OAAO,MAAM,YAAY,CAAC;AACjC,OAAO,iBAAiB,MAAM,qCAAqC,CAAC;AACpE,OAAO,WAAW,MAAM,+BAA+B,CAAC;AACxD,OAAO,gBAAgB,MAAM,oCAAoC,CAAC;AAClE,OAAO,iBAAiB,MAAM,qCAAqC,CAAC;AACpE,OAAO,8BAA8B,MAAM,kDAAkD,CAAC;AAO9F,OAAO,eAAe,MAAM,4BAA4B,CAAC;AAEzD;IAAqB,0BAAO;IAOxB,gBAAmB,MAAc;QAAjC,YACI,kBAAM,MAAM,CAAC,SAOhB;QALG,KAAI,CAAC,+BAA+B,GAAG,IAAI,8BAA8B,CAAC,KAAI,CAAC,CAAC;QAChF,KAAI,CAAC,kBAAkB,GAAG,IAAI,iBAAiB,CAAC,KAAI,CAAC,CAAC;QACtD,KAAI,CAAC,kBAAkB,GAAG,IAAI,iBAAiB,CAAC,KAAI,CAAC,CAAC;QACtD,KAAI,CAAC,YAAY,GAAG,IAAI,WAAW,CAAC,KAAI,CAAC,CAAC;QAC1C,KAAI,CAAC,iBAAiB,GAAG,IAAI,gBAAgB,CAAC,KAAI,CAAC,CAAC;;IACxD,CAAC;IAEY,+CAA8B,GAA3C,UAA4C,OAAoC;;;;4BACrE,qBAAM,eAAe,CACxB,IAAI,CAAC,+BAA+B,EACpC,OAAO,CACV,EAAA;4BAHD,sBAAO,SAGN,EAAC;;;;KACL;IAEY,kCAAiB,GAA9B,UAA+B,OAAsB;;;;4BAC1C,qBAAM,eAAe,CACxB,IAAI,CAAC,kBAAkB,EACvB,OAAO,CACV,EAAA;4BAHD,sBAAO,SAGN,EAAC;;;;KACL;IAEY,kCAAiB,GAA9B,UAA+B,OAAsB;;;;4BAC1C,qBAAM,eAAe,CACxB,IAAI,CAAC,kBAAkB,EACvB,OAAO,CACV,EAAA;4BAHD,sBAAO,SAGN,EAAC;;;;KACL;IAEY,4BAAW,GAAxB,UAAyB,OAA2B;;;;4BACzC,qBAAM,eAAe,CACxB,IAAI,CAAC,YAAY,EACjB,OAAO,CACV,EAAA;4BAHD,sBAAO,SAGN,EAAC;;;;KACL;IAEY,iCAAgB,GAA7B,UAA8B,OAAsB;;;;4BACzC,qBAAM,eAAe,CACxB,IAAI,CAAC,iBAAiB,EACtB,OAAO,CACV,EAAA;4BAHD,sBAAO,SAGN,EAAC;;;;KACL;IACL,aAAC;AAAD,CAAC,AAnDD,CAAqB,OAAO,GAmD3B;AAED,eAAe,MAAM,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/recurring.d.ts b/dist/lib-esm/service/recurring.d.ts new file mode 100644 index 0000000..329e5e5 --- /dev/null +++ b/dist/lib-esm/service/recurring.d.ts @@ -0,0 +1,11 @@ +import Client from "../client"; +import Service from "../service"; +import { DisableRequest, DisableResult, RecurringDetailsRequest, RecurringDetailsResult } from "../typings/recurring"; +declare class Recurring extends Service { + private readonly _listRecurringDetails; + private readonly _disable; + constructor(client: Client); + listRecurringDetails(request: RecurringDetailsRequest): Promise; + disable(request: DisableRequest): Promise; +} +export default Recurring; diff --git a/dist/lib-esm/service/recurring.js b/dist/lib-esm/service/recurring.js new file mode 100644 index 0000000..55ba0f2 --- /dev/null +++ b/dist/lib-esm/service/recurring.js @@ -0,0 +1,104 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +import getJsonResponse from "../helpers/getJsonResponse"; +import Service from "../service"; +import Disable from "./resource/recurring/disable"; +import ListRecurringDetails from "./resource/recurring/listRecurringDetails"; +var Recurring = /** @class */ (function (_super) { + __extends(Recurring, _super); + function Recurring(client) { + var _this = _super.call(this, client) || this; + _this._listRecurringDetails = new ListRecurringDetails(_this); + _this._disable = new Disable(_this); + return _this; + } + Recurring.prototype.listRecurringDetails = function (request) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse(this._listRecurringDetails, request)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + Recurring.prototype.disable = function (request) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse(this._disable, request)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + return Recurring; +}(Service)); +export default Recurring; +//# sourceMappingURL=recurring.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/recurring.js.map b/dist/lib-esm/service/recurring.js.map new file mode 100644 index 0000000..9e4a9e6 --- /dev/null +++ b/dist/lib-esm/service/recurring.js.map @@ -0,0 +1 @@ +{"version":3,"file":"recurring.js","sourceRoot":"","sources":["../../../src/service/recurring.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,OAAO,eAAe,MAAM,4BAA4B,CAAC;AACzD,OAAO,OAAO,MAAM,YAAY,CAAC;AAEjC,OAAO,OAAO,MAAM,8BAA8B,CAAC;AACnD,OAAO,oBAAoB,MAAM,2CAA2C,CAAC;AAE7E;IAAwB,6BAAO;IAI3B,mBAAmB,MAAc;QAAjC,YACI,kBAAM,MAAM,CAAC,SAGhB;QAFG,KAAI,CAAC,qBAAqB,GAAG,IAAI,oBAAoB,CAAC,KAAI,CAAC,CAAC;QAC5D,KAAI,CAAC,QAAQ,GAAG,IAAI,OAAO,CAAC,KAAI,CAAC,CAAC;;IACtC,CAAC;IAEY,wCAAoB,GAAjC,UAAkC,OAAgC;;;;4BACvD,qBAAM,eAAe,CACxB,IAAI,CAAC,qBAAqB,EAC1B,OAAO,CACV,EAAA;4BAHD,sBAAO,SAGN,EAAC;;;;KACL;IAEY,2BAAO,GAApB,UAAqB,OAAuB;;;;4BACjC,qBAAM,eAAe,CACxB,IAAI,CAAC,QAAQ,EACb,OAAO,CACV,EAAA;4BAHD,sBAAO,SAGN,EAAC;;;;KACL;IACL,gBAAC;AAAD,CAAC,AAvBD,CAAwB,OAAO,GAuB9B;AAED,eAAe,SAAS,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/resource.d.ts b/dist/lib-esm/service/resource.d.ts new file mode 100644 index 0000000..97bad88 --- /dev/null +++ b/dist/lib-esm/service/resource.d.ts @@ -0,0 +1,9 @@ +import Service from "../service"; +import { RequestOptions } from "../typings/requestOptions"; +declare class Resource { + protected endpoint: string; + private service; + constructor(service: Service, endpoint: string); + request(json: string, requestOptions?: RequestOptions): Promise; +} +export default Resource; diff --git a/dist/lib-esm/service/resource.js b/dist/lib-esm/service/resource.js new file mode 100644 index 0000000..5d5fe0f --- /dev/null +++ b/dist/lib-esm/service/resource.js @@ -0,0 +1,95 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +import ApiException from "./exception/apiException"; +var Resource = /** @class */ (function () { + function Resource(service, endpoint) { + this.service = service; + this.endpoint = endpoint; + } + Resource.prototype.request = function (json, requestOptions) { + return __awaiter(this, void 0, void 0, function () { + var clientInterface, config, responseBody, apiException, e_1; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: + clientInterface = this.service.client.httpClient; + config = this.service.client.config; + _a.label = 1; + case 1: + _a.trys.push([1, 3, , 4]); + return [4 /*yield*/, clientInterface.request(this.endpoint, json, config, this.service.apiKeyRequired, requestOptions)]; + case 2: return [2 /*return*/, _a.sent()]; + case 3: + e_1 = _a.sent(); + responseBody = e_1.responseBody; + apiException = new ApiException(e_1.message, e_1.code); + return [3 /*break*/, 4]; + case 4: + try { + apiException.error = responseBody; + } + catch (e) { + throw new ApiException("Invalid response or an invalid X-API-Key key was used", e.statusCode); + } + throw apiException; + } + }); + }); + }; + return Resource; +}()); +export default Resource; +//# sourceMappingURL=resource.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/resource.js.map b/dist/lib-esm/service/resource.js.map new file mode 100644 index 0000000..27879b9 --- /dev/null +++ b/dist/lib-esm/service/resource.js.map @@ -0,0 +1 @@ +{"version":3,"file":"resource.js","sourceRoot":"","sources":["../../../src/service/resource.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMH,OAAO,YAAY,MAAM,0BAA0B,CAAC;AAEpD;IAII,kBAAmB,OAAgB,EAAE,QAAgB;QACjD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;IAEY,0BAAO,GAApB,UAAqB,IAAY,EAAE,cAA+B;;;;;;wBACxD,eAAe,GAAoB,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,UAAU,CAAC;wBAClE,MAAM,GAAW,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC;;;;wBAKvC,qBAAM,eAAe,CAAC,OAAO,CAChC,IAAI,CAAC,QAAQ,EACb,IAAI,EAAE,MAAM,EACZ,IAAI,CAAC,OAAO,CAAC,cAAc,EAC3B,cAAc,CACjB,EAAA;4BALD,sBAAO,SAKN,EAAC;;;wBAEF,YAAY,GAAG,GAAC,CAAC,YAAY,CAAC;wBAC9B,YAAY,GAAG,IAAI,YAAY,CAAC,GAAC,CAAC,OAAO,EAAE,GAAC,CAAC,IAAI,CAAC,CAAC;;;wBAGvD,IAAI;4BACA,YAAY,CAAC,KAAK,GAAG,YAAY,CAAC;yBACrC;wBAAC,OAAO,CAAC,EAAE;4BACR,MAAM,IAAI,YAAY,CAAC,uDAAuD,EAAE,CAAC,CAAC,UAAU,CAAC,CAAC;yBACjG;wBAED,MAAM,YAAY,CAAC;;;;KACtB;IACL,eAAC;AAAD,CAAC,AAnCD,IAmCC;AAED,eAAe,QAAQ,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/resource/binLookup/get3dsAvailability.d.ts b/dist/lib-esm/service/resource/binLookup/get3dsAvailability.d.ts new file mode 100644 index 0000000..73097ef --- /dev/null +++ b/dist/lib-esm/service/resource/binLookup/get3dsAvailability.d.ts @@ -0,0 +1,6 @@ +import Resource from "../../resource"; +import Service from "../../../service"; +declare class Get3dsAvailability extends Resource { + constructor(service: Service); +} +export default Get3dsAvailability; diff --git a/dist/lib-esm/service/resource/binLookup/get3dsAvailability.js b/dist/lib-esm/service/resource/binLookup/get3dsAvailability.js new file mode 100644 index 0000000..facc09c --- /dev/null +++ b/dist/lib-esm/service/resource/binLookup/get3dsAvailability.js @@ -0,0 +1,44 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +import Resource from "../../resource"; +import Client from "../../../client"; +var Get3dsAvailability = /** @class */ (function (_super) { + __extends(Get3dsAvailability, _super); + function Get3dsAvailability(service) { + return _super.call(this, service, "" + service.client.config.endpoint + Client.BIN_LOOKUP_PAL_SUFFIX + Client.BIN_LOOKUP_API_VERSION + "/get3dsAvailability") || this; + } + return Get3dsAvailability; +}(Resource)); +export default Get3dsAvailability; +//# sourceMappingURL=get3dsAvailability.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/resource/binLookup/get3dsAvailability.js.map b/dist/lib-esm/service/resource/binLookup/get3dsAvailability.js.map new file mode 100644 index 0000000..4fee4cf --- /dev/null +++ b/dist/lib-esm/service/resource/binLookup/get3dsAvailability.js.map @@ -0,0 +1 @@ +{"version":3,"file":"get3dsAvailability.js","sourceRoot":"","sources":["../../../../../src/service/resource/binLookup/get3dsAvailability.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;AAEH,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAEtC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC;IAAiC,sCAAQ;IACrC,4BAAmB,OAAgB;eAC/B,kBACI,OAAO,EACP,KAAG,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,GAAG,MAAM,CAAC,qBAAqB,GAAG,MAAM,CAAC,sBAAsB,wBAAqB,CACxH;IACL,CAAC;IACL,yBAAC;AAAD,CAAC,AAPD,CAAiC,QAAQ,GAOxC;AAED,eAAe,kBAAkB,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/resource/binLookup/getCostEstimate.d.ts b/dist/lib-esm/service/resource/binLookup/getCostEstimate.d.ts new file mode 100644 index 0000000..1d3c6e5 --- /dev/null +++ b/dist/lib-esm/service/resource/binLookup/getCostEstimate.d.ts @@ -0,0 +1,6 @@ +import Resource from "../../resource"; +import Service from "../../../service"; +declare class GetCostEstimate extends Resource { + constructor(service: Service); +} +export default GetCostEstimate; diff --git a/dist/lib-esm/service/resource/binLookup/getCostEstimate.js b/dist/lib-esm/service/resource/binLookup/getCostEstimate.js new file mode 100644 index 0000000..72b2504 --- /dev/null +++ b/dist/lib-esm/service/resource/binLookup/getCostEstimate.js @@ -0,0 +1,44 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +import Resource from "../../resource"; +import Client from "../../../client"; +var GetCostEstimate = /** @class */ (function (_super) { + __extends(GetCostEstimate, _super); + function GetCostEstimate(service) { + return _super.call(this, service, "" + service.client.config.endpoint + Client.BIN_LOOKUP_PAL_SUFFIX + Client.BIN_LOOKUP_API_VERSION + "/getCostEstimate") || this; + } + return GetCostEstimate; +}(Resource)); +export default GetCostEstimate; +//# sourceMappingURL=getCostEstimate.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/resource/binLookup/getCostEstimate.js.map b/dist/lib-esm/service/resource/binLookup/getCostEstimate.js.map new file mode 100644 index 0000000..9155457 --- /dev/null +++ b/dist/lib-esm/service/resource/binLookup/getCostEstimate.js.map @@ -0,0 +1 @@ +{"version":3,"file":"getCostEstimate.js","sourceRoot":"","sources":["../../../../../src/service/resource/binLookup/getCostEstimate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;AAEH,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAEtC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC;IAA8B,mCAAQ;IAClC,yBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACP,KAAG,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,GAAG,MAAM,CAAC,qBAAqB,GAAG,MAAM,CAAC,sBAAsB,qBAAkB,CACrH;IACL,CAAC;IACL,sBAAC;AAAD,CAAC,AAPD,CAA8B,QAAQ,GAOrC;AAED,eAAe,eAAe,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/resource/checkout/paymentMethods.d.ts b/dist/lib-esm/service/resource/checkout/paymentMethods.d.ts new file mode 100644 index 0000000..c0c75e8 --- /dev/null +++ b/dist/lib-esm/service/resource/checkout/paymentMethods.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class PaymentMethods extends Resource { + constructor(service: Service); +} +export default PaymentMethods; diff --git a/dist/lib-esm/service/resource/checkout/paymentMethods.js b/dist/lib-esm/service/resource/checkout/paymentMethods.js new file mode 100644 index 0000000..53f026e --- /dev/null +++ b/dist/lib-esm/service/resource/checkout/paymentMethods.js @@ -0,0 +1,44 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +import Client from "../../../client"; +import Resource from "../../resource"; +var PaymentMethods = /** @class */ (function (_super) { + __extends(PaymentMethods, _super); + function PaymentMethods(service) { + return _super.call(this, service, service.client.config.checkoutEndpoint + "/" + Client.CHECKOUT_API_VERSION + "/paymentMethods") || this; + } + return PaymentMethods; +}(Resource)); +export default PaymentMethods; +//# sourceMappingURL=paymentMethods.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/resource/checkout/paymentMethods.js.map b/dist/lib-esm/service/resource/checkout/paymentMethods.js.map new file mode 100644 index 0000000..4279ce2 --- /dev/null +++ b/dist/lib-esm/service/resource/checkout/paymentMethods.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentMethods.js","sourceRoot":"","sources":["../../../../../src/service/resource/checkout/paymentMethods.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;AAEH,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAEtC;IAA6B,kCAAQ;IACjC,wBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,gBAAgB,SAAI,MAAM,CAAC,oBAAoB,oBAAiB,CAC5F;IACL,CAAC;IACL,qBAAC;AAAD,CAAC,AAPD,CAA6B,QAAQ,GAOpC;AAED,eAAe,cAAc,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/resource/checkout/paymentSession.d.ts b/dist/lib-esm/service/resource/checkout/paymentSession.d.ts new file mode 100644 index 0000000..344e40f --- /dev/null +++ b/dist/lib-esm/service/resource/checkout/paymentSession.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class PaymentSession extends Resource { + constructor(service: Service); +} +export default PaymentSession; diff --git a/dist/lib-esm/service/resource/checkout/paymentSession.js b/dist/lib-esm/service/resource/checkout/paymentSession.js new file mode 100644 index 0000000..32c9ec9 --- /dev/null +++ b/dist/lib-esm/service/resource/checkout/paymentSession.js @@ -0,0 +1,44 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +import Client from "../../../client"; +import Resource from "../../resource"; +var PaymentSession = /** @class */ (function (_super) { + __extends(PaymentSession, _super); + function PaymentSession(service) { + return _super.call(this, service, service.client.config.checkoutEndpoint + "/" + Client.CHECKOUT_API_VERSION + "/paymentSession") || this; + } + return PaymentSession; +}(Resource)); +export default PaymentSession; +//# sourceMappingURL=paymentSession.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/resource/checkout/paymentSession.js.map b/dist/lib-esm/service/resource/checkout/paymentSession.js.map new file mode 100644 index 0000000..bb44fef --- /dev/null +++ b/dist/lib-esm/service/resource/checkout/paymentSession.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentSession.js","sourceRoot":"","sources":["../../../../../src/service/resource/checkout/paymentSession.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;AAEH,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAEtC;IAA6B,kCAAQ;IACjC,wBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,gBAAgB,SAAI,MAAM,CAAC,oBAAoB,oBAAiB,CAC5F;IACL,CAAC;IACL,qBAAC;AAAD,CAAC,AAPD,CAA6B,QAAQ,GAOpC;AAED,eAAe,cAAc,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/resource/checkout/payments.d.ts b/dist/lib-esm/service/resource/checkout/payments.d.ts new file mode 100644 index 0000000..db58d8f --- /dev/null +++ b/dist/lib-esm/service/resource/checkout/payments.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class Payments extends Resource { + constructor(service: Service); +} +export default Payments; diff --git a/dist/lib-esm/service/resource/checkout/payments.js b/dist/lib-esm/service/resource/checkout/payments.js new file mode 100644 index 0000000..71575b6 --- /dev/null +++ b/dist/lib-esm/service/resource/checkout/payments.js @@ -0,0 +1,44 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +import Client from "../../../client"; +import Resource from "../../resource"; +var Payments = /** @class */ (function (_super) { + __extends(Payments, _super); + function Payments(service) { + return _super.call(this, service, service.client.config.checkoutEndpoint + "/" + Client.CHECKOUT_API_VERSION + "/payments") || this; + } + return Payments; +}(Resource)); +export default Payments; +//# sourceMappingURL=payments.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/resource/checkout/payments.js.map b/dist/lib-esm/service/resource/checkout/payments.js.map new file mode 100644 index 0000000..70d6c87 --- /dev/null +++ b/dist/lib-esm/service/resource/checkout/payments.js.map @@ -0,0 +1 @@ +{"version":3,"file":"payments.js","sourceRoot":"","sources":["../../../../../src/service/resource/checkout/payments.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;AAEH,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAEtC;IAAuB,4BAAQ;IAC3B,kBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,gBAAgB,SAAI,MAAM,CAAC,oBAAoB,cAAW,CACtF;IACL,CAAC;IACL,eAAC;AAAD,CAAC,AAPD,CAAuB,QAAQ,GAO9B;AAED,eAAe,QAAQ,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/resource/checkout/paymentsDetails.d.ts b/dist/lib-esm/service/resource/checkout/paymentsDetails.d.ts new file mode 100644 index 0000000..98262e7 --- /dev/null +++ b/dist/lib-esm/service/resource/checkout/paymentsDetails.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class PaymentsDetails extends Resource { + constructor(service: Service); +} +export default PaymentsDetails; diff --git a/dist/lib-esm/service/resource/checkout/paymentsDetails.js b/dist/lib-esm/service/resource/checkout/paymentsDetails.js new file mode 100644 index 0000000..61774bc --- /dev/null +++ b/dist/lib-esm/service/resource/checkout/paymentsDetails.js @@ -0,0 +1,44 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +import Client from "../../../client"; +import Resource from "../../resource"; +var PaymentsDetails = /** @class */ (function (_super) { + __extends(PaymentsDetails, _super); + function PaymentsDetails(service) { + return _super.call(this, service, service.client.config.checkoutEndpoint + "/" + Client.CHECKOUT_API_VERSION + "/payments/details") || this; + } + return PaymentsDetails; +}(Resource)); +export default PaymentsDetails; +//# sourceMappingURL=paymentsDetails.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/resource/checkout/paymentsDetails.js.map b/dist/lib-esm/service/resource/checkout/paymentsDetails.js.map new file mode 100644 index 0000000..269918c --- /dev/null +++ b/dist/lib-esm/service/resource/checkout/paymentsDetails.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentsDetails.js","sourceRoot":"","sources":["../../../../../src/service/resource/checkout/paymentsDetails.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;AAEH,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAEtC;IAA8B,mCAAQ;IAClC,yBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,gBAAgB,SAAI,MAAM,CAAC,oBAAoB,sBAAmB,CAC9F;IACL,CAAC;IACL,sBAAC;AAAD,CAAC,AAPD,CAA8B,QAAQ,GAOrC;AAED,eAAe,eAAe,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/resource/checkout/paymentsResult.d.ts b/dist/lib-esm/service/resource/checkout/paymentsResult.d.ts new file mode 100644 index 0000000..e7b3793 --- /dev/null +++ b/dist/lib-esm/service/resource/checkout/paymentsResult.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class PaymentsResult extends Resource { + constructor(service: Service); +} +export default PaymentsResult; diff --git a/dist/lib-esm/service/resource/checkout/paymentsResult.js b/dist/lib-esm/service/resource/checkout/paymentsResult.js new file mode 100644 index 0000000..74ebc53 --- /dev/null +++ b/dist/lib-esm/service/resource/checkout/paymentsResult.js @@ -0,0 +1,44 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +import Client from "../../../client"; +import Resource from "../../resource"; +var PaymentsResult = /** @class */ (function (_super) { + __extends(PaymentsResult, _super); + function PaymentsResult(service) { + return _super.call(this, service, service.client.config.checkoutEndpoint + "/" + Client.CHECKOUT_API_VERSION + "/payments/result") || this; + } + return PaymentsResult; +}(Resource)); +export default PaymentsResult; +//# sourceMappingURL=paymentsResult.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/resource/checkout/paymentsResult.js.map b/dist/lib-esm/service/resource/checkout/paymentsResult.js.map new file mode 100644 index 0000000..51ccb47 --- /dev/null +++ b/dist/lib-esm/service/resource/checkout/paymentsResult.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentsResult.js","sourceRoot":"","sources":["../../../../../src/service/resource/checkout/paymentsResult.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;AAEH,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAEtC;IAA6B,kCAAQ;IACjC,wBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,gBAAgB,SAAI,MAAM,CAAC,oBAAoB,qBAAkB,CAC7F;IACL,CAAC;IACL,qBAAC;AAAD,CAAC,AAPD,CAA6B,QAAQ,GAOpC;AAED,eAAe,cAAc,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/resource/checkoutUtility/originKeys.d.ts b/dist/lib-esm/service/resource/checkoutUtility/originKeys.d.ts new file mode 100644 index 0000000..8537768 --- /dev/null +++ b/dist/lib-esm/service/resource/checkoutUtility/originKeys.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class OriginKeys extends Resource { + constructor(service: Service); +} +export default OriginKeys; diff --git a/dist/lib-esm/service/resource/checkoutUtility/originKeys.js b/dist/lib-esm/service/resource/checkoutUtility/originKeys.js new file mode 100644 index 0000000..ac34a3a --- /dev/null +++ b/dist/lib-esm/service/resource/checkoutUtility/originKeys.js @@ -0,0 +1,44 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +import Client from "../../../client"; +import Resource from "../../resource"; +var OriginKeys = /** @class */ (function (_super) { + __extends(OriginKeys, _super); + function OriginKeys(service) { + return _super.call(this, service, service.client.config.checkoutEndpoint + "/" + Client.CHECKOUT_UTILITY_API_VERSION + "/originKeys") || this; + } + return OriginKeys; +}(Resource)); +export default OriginKeys; +//# sourceMappingURL=originKeys.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/resource/checkoutUtility/originKeys.js.map b/dist/lib-esm/service/resource/checkoutUtility/originKeys.js.map new file mode 100644 index 0000000..308970d --- /dev/null +++ b/dist/lib-esm/service/resource/checkoutUtility/originKeys.js.map @@ -0,0 +1 @@ +{"version":3,"file":"originKeys.js","sourceRoot":"","sources":["../../../../../src/service/resource/checkoutUtility/originKeys.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;AAEH,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAEtC;IAAyB,8BAAQ;IAC7B,oBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,gBAAgB,SAAI,MAAM,CAAC,4BAA4B,gBAAa,CAChG;IACL,CAAC;IACL,iBAAC;AAAD,CAAC,AAPD,CAAyB,QAAQ,GAOhC;AAED,eAAe,UAAU,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/resource/modification/adjustAuthorisation.d.ts b/dist/lib-esm/service/resource/modification/adjustAuthorisation.d.ts new file mode 100644 index 0000000..4de7039 --- /dev/null +++ b/dist/lib-esm/service/resource/modification/adjustAuthorisation.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class AdjustAuthorisation extends Resource { + constructor(service: Service); +} +export default AdjustAuthorisation; diff --git a/dist/lib-esm/service/resource/modification/adjustAuthorisation.js b/dist/lib-esm/service/resource/modification/adjustAuthorisation.js new file mode 100644 index 0000000..dc01df1 --- /dev/null +++ b/dist/lib-esm/service/resource/modification/adjustAuthorisation.js @@ -0,0 +1,44 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +import Client from "../../../client"; +import Resource from "../../resource"; +var AdjustAuthorisation = /** @class */ (function (_super) { + __extends(AdjustAuthorisation, _super); + function AdjustAuthorisation(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Payment/" + Client.API_VERSION + "/adjustAuthorisation") || this; + } + return AdjustAuthorisation; +}(Resource)); +export default AdjustAuthorisation; +//# sourceMappingURL=adjustAuthorisation.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/resource/modification/adjustAuthorisation.js.map b/dist/lib-esm/service/resource/modification/adjustAuthorisation.js.map new file mode 100644 index 0000000..279722b --- /dev/null +++ b/dist/lib-esm/service/resource/modification/adjustAuthorisation.js.map @@ -0,0 +1 @@ +{"version":3,"file":"adjustAuthorisation.js","sourceRoot":"","sources":["../../../../../src/service/resource/modification/adjustAuthorisation.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAEtC;IAAkC,uCAAQ;IACtC,6BAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,6BAAwB,MAAM,CAAC,WAAW,yBAAsB,CACpG;IACL,CAAC;IACL,0BAAC;AAAD,CAAC,AAPD,CAAkC,QAAQ,GAOzC;AAED,eAAe,mBAAmB,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/resource/modification/cancel.d.ts b/dist/lib-esm/service/resource/modification/cancel.d.ts new file mode 100644 index 0000000..cdff528 --- /dev/null +++ b/dist/lib-esm/service/resource/modification/cancel.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class Cancel extends Resource { + constructor(service: Service); +} +export default Cancel; diff --git a/dist/lib-esm/service/resource/modification/cancel.js b/dist/lib-esm/service/resource/modification/cancel.js new file mode 100644 index 0000000..e4fab44 --- /dev/null +++ b/dist/lib-esm/service/resource/modification/cancel.js @@ -0,0 +1,44 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +import Client from "../../../client"; +import Resource from "../../resource"; +var Cancel = /** @class */ (function (_super) { + __extends(Cancel, _super); + function Cancel(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Payment/" + Client.API_VERSION + "/cancel") || this; + } + return Cancel; +}(Resource)); +export default Cancel; +//# sourceMappingURL=cancel.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/resource/modification/cancel.js.map b/dist/lib-esm/service/resource/modification/cancel.js.map new file mode 100644 index 0000000..b0e7a58 --- /dev/null +++ b/dist/lib-esm/service/resource/modification/cancel.js.map @@ -0,0 +1 @@ +{"version":3,"file":"cancel.js","sourceRoot":"","sources":["../../../../../src/service/resource/modification/cancel.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAEtC;IAAqB,0BAAQ;IACzB,gBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,6BAAwB,MAAM,CAAC,WAAW,YAAS,CACvF;IACL,CAAC;IACL,aAAC;AAAD,CAAC,AAPD,CAAqB,QAAQ,GAO5B;AAED,eAAe,MAAM,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/resource/modification/cancelOrRefund.d.ts b/dist/lib-esm/service/resource/modification/cancelOrRefund.d.ts new file mode 100644 index 0000000..a3c5108 --- /dev/null +++ b/dist/lib-esm/service/resource/modification/cancelOrRefund.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class CancelOrRefund extends Resource { + constructor(service: Service); +} +export default CancelOrRefund; diff --git a/dist/lib-esm/service/resource/modification/cancelOrRefund.js b/dist/lib-esm/service/resource/modification/cancelOrRefund.js new file mode 100644 index 0000000..1380c83 --- /dev/null +++ b/dist/lib-esm/service/resource/modification/cancelOrRefund.js @@ -0,0 +1,44 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +import Client from "../../../client"; +import Resource from "../../resource"; +var CancelOrRefund = /** @class */ (function (_super) { + __extends(CancelOrRefund, _super); + function CancelOrRefund(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Payment/" + Client.API_VERSION + "/cancelOrRefund") || this; + } + return CancelOrRefund; +}(Resource)); +export default CancelOrRefund; +//# sourceMappingURL=cancelOrRefund.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/resource/modification/cancelOrRefund.js.map b/dist/lib-esm/service/resource/modification/cancelOrRefund.js.map new file mode 100644 index 0000000..2078dd2 --- /dev/null +++ b/dist/lib-esm/service/resource/modification/cancelOrRefund.js.map @@ -0,0 +1 @@ +{"version":3,"file":"cancelOrRefund.js","sourceRoot":"","sources":["../../../../../src/service/resource/modification/cancelOrRefund.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAEtC;IAA6B,kCAAQ;IACjC,wBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,6BAAwB,MAAM,CAAC,WAAW,oBAAiB,CAC/F;IACL,CAAC;IACL,qBAAC;AAAD,CAAC,AAPD,CAA6B,QAAQ,GAOpC;AAED,eAAe,cAAc,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/resource/modification/capture.d.ts b/dist/lib-esm/service/resource/modification/capture.d.ts new file mode 100644 index 0000000..b074263 --- /dev/null +++ b/dist/lib-esm/service/resource/modification/capture.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class Capture extends Resource { + constructor(service: Service); +} +export default Capture; diff --git a/dist/lib-esm/service/resource/modification/capture.js b/dist/lib-esm/service/resource/modification/capture.js new file mode 100644 index 0000000..515421f --- /dev/null +++ b/dist/lib-esm/service/resource/modification/capture.js @@ -0,0 +1,44 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +import Client from "../../../client"; +import Resource from "../../resource"; +var Capture = /** @class */ (function (_super) { + __extends(Capture, _super); + function Capture(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Payment/" + Client.API_VERSION + "/capture") || this; + } + return Capture; +}(Resource)); +export default Capture; +//# sourceMappingURL=capture.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/resource/modification/capture.js.map b/dist/lib-esm/service/resource/modification/capture.js.map new file mode 100644 index 0000000..14a20b9 --- /dev/null +++ b/dist/lib-esm/service/resource/modification/capture.js.map @@ -0,0 +1 @@ +{"version":3,"file":"capture.js","sourceRoot":"","sources":["../../../../../src/service/resource/modification/capture.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAEtC;IAAsB,2BAAQ;IAC1B,iBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,6BAAwB,MAAM,CAAC,WAAW,aAAU,CACxF;IACL,CAAC;IACL,cAAC;AAAD,CAAC,AAPD,CAAsB,QAAQ,GAO7B;AAED,eAAe,OAAO,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/resource/modification/refund.d.ts b/dist/lib-esm/service/resource/modification/refund.d.ts new file mode 100644 index 0000000..2e1deee --- /dev/null +++ b/dist/lib-esm/service/resource/modification/refund.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class Refund extends Resource { + constructor(service: Service); +} +export default Refund; diff --git a/dist/lib-esm/service/resource/modification/refund.js b/dist/lib-esm/service/resource/modification/refund.js new file mode 100644 index 0000000..637e747 --- /dev/null +++ b/dist/lib-esm/service/resource/modification/refund.js @@ -0,0 +1,44 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +import Client from "../../../client"; +import Resource from "../../resource"; +var Refund = /** @class */ (function (_super) { + __extends(Refund, _super); + function Refund(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Payment/" + Client.API_VERSION + "/refund") || this; + } + return Refund; +}(Resource)); +export default Refund; +//# sourceMappingURL=refund.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/resource/modification/refund.js.map b/dist/lib-esm/service/resource/modification/refund.js.map new file mode 100644 index 0000000..cdcb42b --- /dev/null +++ b/dist/lib-esm/service/resource/modification/refund.js.map @@ -0,0 +1 @@ +{"version":3,"file":"refund.js","sourceRoot":"","sources":["../../../../../src/service/resource/modification/refund.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAEtC;IAAqB,0BAAQ;IACzB,gBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,6BAAwB,MAAM,CAAC,WAAW,YAAS,CACvF;IACL,CAAC;IACL,aAAC;AAAD,CAAC,AAPD,CAAqB,QAAQ,GAO5B;AAED,eAAe,MAAM,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/resource/modification/technicalCancel.d.ts b/dist/lib-esm/service/resource/modification/technicalCancel.d.ts new file mode 100644 index 0000000..c77f3b4 --- /dev/null +++ b/dist/lib-esm/service/resource/modification/technicalCancel.d.ts @@ -0,0 +1,6 @@ +import Resource from "../../resource"; +import Service from "../../../service"; +declare class TechnicalCancel extends Resource { + constructor(service: Service); +} +export default TechnicalCancel; diff --git a/dist/lib-esm/service/resource/modification/technicalCancel.js b/dist/lib-esm/service/resource/modification/technicalCancel.js new file mode 100644 index 0000000..05df159 --- /dev/null +++ b/dist/lib-esm/service/resource/modification/technicalCancel.js @@ -0,0 +1,44 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +import Resource from "../../resource"; +import Client from "../../../client"; +var TechnicalCancel = /** @class */ (function (_super) { + __extends(TechnicalCancel, _super); + function TechnicalCancel(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Payment/" + Client.API_VERSION + "/technicalCancel") || this; + } + return TechnicalCancel; +}(Resource)); +export default TechnicalCancel; +//# sourceMappingURL=technicalCancel.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/resource/modification/technicalCancel.js.map b/dist/lib-esm/service/resource/modification/technicalCancel.js.map new file mode 100644 index 0000000..57e4a76 --- /dev/null +++ b/dist/lib-esm/service/resource/modification/technicalCancel.js.map @@ -0,0 +1 @@ +{"version":3,"file":"technicalCancel.js","sourceRoot":"","sources":["../../../../../src/service/resource/modification/technicalCancel.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AACtC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAGrC;IAA8B,mCAAQ;IAClC,yBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,6BAAwB,MAAM,CAAC,WAAW,qBAAkB,CAChG;IACL,CAAC;IACL,sBAAC;AAAD,CAAC,AAPD,CAA8B,QAAQ,GAOrC;AAED,eAAe,eAAe,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/resource/payout/confirmThirdParty.d.ts b/dist/lib-esm/service/resource/payout/confirmThirdParty.d.ts new file mode 100644 index 0000000..ee55868 --- /dev/null +++ b/dist/lib-esm/service/resource/payout/confirmThirdParty.d.ts @@ -0,0 +1,6 @@ +import Resource from "../../resource"; +import Service from "../../../service"; +declare class ConfirmThirdParty extends Resource { + constructor(service: Service); +} +export default ConfirmThirdParty; diff --git a/dist/lib-esm/service/resource/payout/confirmThirdParty.js b/dist/lib-esm/service/resource/payout/confirmThirdParty.js new file mode 100644 index 0000000..5d9f4ff --- /dev/null +++ b/dist/lib-esm/service/resource/payout/confirmThirdParty.js @@ -0,0 +1,44 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +import Resource from "../../resource"; +import Client from "../../../client"; +var ConfirmThirdParty = /** @class */ (function (_super) { + __extends(ConfirmThirdParty, _super); + function ConfirmThirdParty(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Payout/" + Client.API_VERSION + "/declineThirdParty") || this; + } + return ConfirmThirdParty; +}(Resource)); +export default ConfirmThirdParty; +//# sourceMappingURL=confirmThirdParty.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/resource/payout/confirmThirdParty.js.map b/dist/lib-esm/service/resource/payout/confirmThirdParty.js.map new file mode 100644 index 0000000..8f1e3e1 --- /dev/null +++ b/dist/lib-esm/service/resource/payout/confirmThirdParty.js.map @@ -0,0 +1 @@ +{"version":3,"file":"confirmThirdParty.js","sourceRoot":"","sources":["../../../../../src/service/resource/payout/confirmThirdParty.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAEtC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC;IAAgC,qCAAQ;IACpC,2BAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,4BAAuB,MAAM,CAAC,WAAW,uBAAoB,CACjG;IACL,CAAC;IACL,wBAAC;AAAD,CAAC,AAPD,CAAgC,QAAQ,GAOvC;AAED,eAAe,iBAAiB,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/resource/payout/declineThirdParty.d.ts b/dist/lib-esm/service/resource/payout/declineThirdParty.d.ts new file mode 100644 index 0000000..bfd6a94 --- /dev/null +++ b/dist/lib-esm/service/resource/payout/declineThirdParty.d.ts @@ -0,0 +1,6 @@ +import Resource from "../../resource"; +import Service from "../../../service"; +declare class DeclineThirdParty extends Resource { + constructor(service: Service); +} +export default DeclineThirdParty; diff --git a/dist/lib-esm/service/resource/payout/declineThirdParty.js b/dist/lib-esm/service/resource/payout/declineThirdParty.js new file mode 100644 index 0000000..2a25c7c --- /dev/null +++ b/dist/lib-esm/service/resource/payout/declineThirdParty.js @@ -0,0 +1,44 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +import Resource from "../../resource"; +import Client from "../../../client"; +var DeclineThirdParty = /** @class */ (function (_super) { + __extends(DeclineThirdParty, _super); + function DeclineThirdParty(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Payout/" + Client.API_VERSION + "/storeDetailAndSubmitThirdParty") || this; + } + return DeclineThirdParty; +}(Resource)); +export default DeclineThirdParty; +//# sourceMappingURL=declineThirdParty.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/resource/payout/declineThirdParty.js.map b/dist/lib-esm/service/resource/payout/declineThirdParty.js.map new file mode 100644 index 0000000..b9f558f --- /dev/null +++ b/dist/lib-esm/service/resource/payout/declineThirdParty.js.map @@ -0,0 +1 @@ +{"version":3,"file":"declineThirdParty.js","sourceRoot":"","sources":["../../../../../src/service/resource/payout/declineThirdParty.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAEtC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC;IAAgC,qCAAQ;IACpC,2BAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,4BAAuB,MAAM,CAAC,WAAW,oCAAiC,CAC9G;IACL,CAAC;IACL,wBAAC;AAAD,CAAC,AAPD,CAAgC,QAAQ,GAOvC;AAED,eAAe,iBAAiB,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/resource/payout/storeDetail.d.ts b/dist/lib-esm/service/resource/payout/storeDetail.d.ts new file mode 100644 index 0000000..d6d2ef1 --- /dev/null +++ b/dist/lib-esm/service/resource/payout/storeDetail.d.ts @@ -0,0 +1,6 @@ +import Resource from "../../resource"; +import Service from "../../../service"; +declare class StoreDetail extends Resource { + constructor(service: Service); +} +export default StoreDetail; diff --git a/dist/lib-esm/service/resource/payout/storeDetail.js b/dist/lib-esm/service/resource/payout/storeDetail.js new file mode 100644 index 0000000..ab6caa1 --- /dev/null +++ b/dist/lib-esm/service/resource/payout/storeDetail.js @@ -0,0 +1,44 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +import Resource from "../../resource"; +import Client from "../../../client"; +var StoreDetail = /** @class */ (function (_super) { + __extends(StoreDetail, _super); + function StoreDetail(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Payout/" + Client.API_VERSION + "/storeDetail") || this; + } + return StoreDetail; +}(Resource)); +export default StoreDetail; +//# sourceMappingURL=storeDetail.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/resource/payout/storeDetail.js.map b/dist/lib-esm/service/resource/payout/storeDetail.js.map new file mode 100644 index 0000000..73d2546 --- /dev/null +++ b/dist/lib-esm/service/resource/payout/storeDetail.js.map @@ -0,0 +1 @@ +{"version":3,"file":"storeDetail.js","sourceRoot":"","sources":["../../../../../src/service/resource/payout/storeDetail.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAEtC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC;IAA0B,+BAAQ;IAC9B,qBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,4BAAuB,MAAM,CAAC,WAAW,iBAAc,CAC3F;IACL,CAAC;IACL,kBAAC;AAAD,CAAC,AAPD,CAA0B,QAAQ,GAOjC;AAED,eAAe,WAAW,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/resource/payout/storeDetailAndSubmitThirdParty.d.ts b/dist/lib-esm/service/resource/payout/storeDetailAndSubmitThirdParty.d.ts new file mode 100644 index 0000000..d1742bd --- /dev/null +++ b/dist/lib-esm/service/resource/payout/storeDetailAndSubmitThirdParty.d.ts @@ -0,0 +1,6 @@ +import Resource from "../../resource"; +import Service from "../../../service"; +declare class StoreDetailAndSubmitThirdParty extends Resource { + constructor(service: Service); +} +export default StoreDetailAndSubmitThirdParty; diff --git a/dist/lib-esm/service/resource/payout/storeDetailAndSubmitThirdParty.js b/dist/lib-esm/service/resource/payout/storeDetailAndSubmitThirdParty.js new file mode 100644 index 0000000..3b2f50b --- /dev/null +++ b/dist/lib-esm/service/resource/payout/storeDetailAndSubmitThirdParty.js @@ -0,0 +1,44 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +import Resource from "../../resource"; +import Client from "../../../client"; +var StoreDetailAndSubmitThirdParty = /** @class */ (function (_super) { + __extends(StoreDetailAndSubmitThirdParty, _super); + function StoreDetailAndSubmitThirdParty(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Payout/" + Client.API_VERSION + "/storeDetailAndSubmitThirdParty") || this; + } + return StoreDetailAndSubmitThirdParty; +}(Resource)); +export default StoreDetailAndSubmitThirdParty; +//# sourceMappingURL=storeDetailAndSubmitThirdParty.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/resource/payout/storeDetailAndSubmitThirdParty.js.map b/dist/lib-esm/service/resource/payout/storeDetailAndSubmitThirdParty.js.map new file mode 100644 index 0000000..249942b --- /dev/null +++ b/dist/lib-esm/service/resource/payout/storeDetailAndSubmitThirdParty.js.map @@ -0,0 +1 @@ +{"version":3,"file":"storeDetailAndSubmitThirdParty.js","sourceRoot":"","sources":["../../../../../src/service/resource/payout/storeDetailAndSubmitThirdParty.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAEtC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC;IAA6C,kDAAQ;IACjD,wCAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,4BAAuB,MAAM,CAAC,WAAW,oCAAiC,CAC9G;IACL,CAAC;IACL,qCAAC;AAAD,CAAC,AAPD,CAA6C,QAAQ,GAOpD;AAED,eAAe,8BAA8B,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/resource/payout/submitThirdParty.d.ts b/dist/lib-esm/service/resource/payout/submitThirdParty.d.ts new file mode 100644 index 0000000..b84fc6e --- /dev/null +++ b/dist/lib-esm/service/resource/payout/submitThirdParty.d.ts @@ -0,0 +1,6 @@ +import Resource from "../../resource"; +import Service from "../../../service"; +declare class SubmitThirdParty extends Resource { + constructor(service: Service); +} +export default SubmitThirdParty; diff --git a/dist/lib-esm/service/resource/payout/submitThirdParty.js b/dist/lib-esm/service/resource/payout/submitThirdParty.js new file mode 100644 index 0000000..54b4748 --- /dev/null +++ b/dist/lib-esm/service/resource/payout/submitThirdParty.js @@ -0,0 +1,44 @@ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +import Resource from "../../resource"; +import Client from "../../../client"; +var SubmitThirdParty = /** @class */ (function (_super) { + __extends(SubmitThirdParty, _super); + function SubmitThirdParty(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Payout/" + Client.API_VERSION + "/submitThirdParty") || this; + } + return SubmitThirdParty; +}(Resource)); +export default SubmitThirdParty; +//# sourceMappingURL=submitThirdParty.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/resource/payout/submitThirdParty.js.map b/dist/lib-esm/service/resource/payout/submitThirdParty.js.map new file mode 100644 index 0000000..bf2856a --- /dev/null +++ b/dist/lib-esm/service/resource/payout/submitThirdParty.js.map @@ -0,0 +1 @@ +{"version":3,"file":"submitThirdParty.js","sourceRoot":"","sources":["../../../../../src/service/resource/payout/submitThirdParty.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAEtC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC;IAA+B,oCAAQ;IACnC,0BAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,4BAAuB,MAAM,CAAC,WAAW,sBAAmB,CAChG;IACL,CAAC;IACL,uBAAC;AAAD,CAAC,AAPD,CAA+B,QAAQ,GAOtC;AAED,eAAe,gBAAgB,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/resource/recurring/disable.d.ts b/dist/lib-esm/service/resource/recurring/disable.d.ts new file mode 100644 index 0000000..4fa1473 --- /dev/null +++ b/dist/lib-esm/service/resource/recurring/disable.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class Disable extends Resource { + constructor(service: Service); +} +export default Disable; diff --git a/dist/lib-esm/service/resource/recurring/disable.js b/dist/lib-esm/service/resource/recurring/disable.js new file mode 100644 index 0000000..1a96fc4 --- /dev/null +++ b/dist/lib-esm/service/resource/recurring/disable.js @@ -0,0 +1,44 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +import Client from "../../../client"; +import Resource from "../../resource"; +var Disable = /** @class */ (function (_super) { + __extends(Disable, _super); + function Disable(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Recurring/" + Client.RECURRING_API_VERSION + "/disable") || this; + } + return Disable; +}(Resource)); +export default Disable; +//# sourceMappingURL=disable.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/resource/recurring/disable.js.map b/dist/lib-esm/service/resource/recurring/disable.js.map new file mode 100644 index 0000000..f8ad7be --- /dev/null +++ b/dist/lib-esm/service/resource/recurring/disable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../../../src/service/resource/recurring/disable.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;AAEH,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAEtC;IAAsB,2BAAQ;IAC1B,iBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,+BAA0B,MAAM,CAAC,qBAAqB,aAAU,CACpG;IACL,CAAC;IACL,cAAC;AAAD,CAAC,AAPD,CAAsB,QAAQ,GAO7B;AAED,eAAe,OAAO,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/resource/recurring/listRecurringDetails.d.ts b/dist/lib-esm/service/resource/recurring/listRecurringDetails.d.ts new file mode 100644 index 0000000..453aec6 --- /dev/null +++ b/dist/lib-esm/service/resource/recurring/listRecurringDetails.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class ListRecurringDetails extends Resource { + constructor(service: Service); +} +export default ListRecurringDetails; diff --git a/dist/lib-esm/service/resource/recurring/listRecurringDetails.js b/dist/lib-esm/service/resource/recurring/listRecurringDetails.js new file mode 100644 index 0000000..d6f14be --- /dev/null +++ b/dist/lib-esm/service/resource/recurring/listRecurringDetails.js @@ -0,0 +1,44 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +import Client from "../../../client"; +import Resource from "../../resource"; +var ListRecurringDetails = /** @class */ (function (_super) { + __extends(ListRecurringDetails, _super); + function ListRecurringDetails(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Recurring/" + Client.RECURRING_API_VERSION + "/listRecurringDetails") || this; + } + return ListRecurringDetails; +}(Resource)); +export default ListRecurringDetails; +//# sourceMappingURL=listRecurringDetails.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/resource/recurring/listRecurringDetails.js.map b/dist/lib-esm/service/resource/recurring/listRecurringDetails.js.map new file mode 100644 index 0000000..ec992f9 --- /dev/null +++ b/dist/lib-esm/service/resource/recurring/listRecurringDetails.js.map @@ -0,0 +1 @@ +{"version":3,"file":"listRecurringDetails.js","sourceRoot":"","sources":["../../../../../src/service/resource/recurring/listRecurringDetails.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;AAEH,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAEtC;IAAmC,wCAAQ;IACvC,8BAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,+BAA0B,MAAM,CAAC,qBAAqB,0BAAuB,CACjH;IACL,CAAC;IACL,2BAAC;AAAD,CAAC,AAPD,CAAmC,QAAQ,GAO1C;AAED,eAAe,oBAAoB,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/resource/terminal/cloud/async.d.ts b/dist/lib-esm/service/resource/terminal/cloud/async.d.ts new file mode 100644 index 0000000..af915ed --- /dev/null +++ b/dist/lib-esm/service/resource/terminal/cloud/async.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../../service"; +import Resource from "../../../resource"; +declare class Async extends Resource { + constructor(service: Service); +} +export default Async; diff --git a/dist/lib-esm/service/resource/terminal/cloud/async.js b/dist/lib-esm/service/resource/terminal/cloud/async.js new file mode 100644 index 0000000..8fd25d5 --- /dev/null +++ b/dist/lib-esm/service/resource/terminal/cloud/async.js @@ -0,0 +1,43 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +import Resource from "../../../resource"; +var Async = /** @class */ (function (_super) { + __extends(Async, _super); + function Async(service) { + return _super.call(this, service, service.client.config.terminalApiCloudEndpoint + "/async") || this; + } + return Async; +}(Resource)); +export default Async; +//# sourceMappingURL=async.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/resource/terminal/cloud/async.js.map b/dist/lib-esm/service/resource/terminal/cloud/async.js.map new file mode 100644 index 0000000..af3c685 --- /dev/null +++ b/dist/lib-esm/service/resource/terminal/cloud/async.js.map @@ -0,0 +1 @@ +{"version":3,"file":"async.js","sourceRoot":"","sources":["../../../../../../src/service/resource/terminal/cloud/async.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;AAGH,OAAO,QAAQ,MAAM,mBAAmB,CAAC;AAEzC;IAAoB,yBAAQ;IACxB,eAAmB,OAAgB;eAC/B,kBAAM,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,wBAAwB,GAAG,QAAQ,CAAC;IAC7E,CAAC;IAEL,YAAC;AAAD,CAAC,AALD,CAAoB,QAAQ,GAK3B;AAED,eAAe,KAAK,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/resource/terminal/cloud/sync.d.ts b/dist/lib-esm/service/resource/terminal/cloud/sync.d.ts new file mode 100644 index 0000000..3969163 --- /dev/null +++ b/dist/lib-esm/service/resource/terminal/cloud/sync.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../../service"; +import Resource from "../../../resource"; +declare class Sync extends Resource { + constructor(service: Service); +} +export default Sync; diff --git a/dist/lib-esm/service/resource/terminal/cloud/sync.js b/dist/lib-esm/service/resource/terminal/cloud/sync.js new file mode 100644 index 0000000..8212fd6 --- /dev/null +++ b/dist/lib-esm/service/resource/terminal/cloud/sync.js @@ -0,0 +1,43 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +import Resource from "../../../resource"; +var Sync = /** @class */ (function (_super) { + __extends(Sync, _super); + function Sync(service) { + return _super.call(this, service, service.client.config.terminalApiCloudEndpoint + "/sync") || this; + } + return Sync; +}(Resource)); +export default Sync; +//# sourceMappingURL=sync.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/resource/terminal/cloud/sync.js.map b/dist/lib-esm/service/resource/terminal/cloud/sync.js.map new file mode 100644 index 0000000..e66646c --- /dev/null +++ b/dist/lib-esm/service/resource/terminal/cloud/sync.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sync.js","sourceRoot":"","sources":["../../../../../../src/service/resource/terminal/cloud/sync.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;AAGH,OAAO,QAAQ,MAAM,mBAAmB,CAAC;AAEzC;IAAmB,wBAAQ;IACvB,cAAmB,OAAgB;eAC/B,kBAAM,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,wBAAwB,GAAG,OAAO,CAAC;IAC5E,CAAC;IAEL,WAAC;AAAD,CAAC,AALD,CAAmB,QAAQ,GAK1B;AAED,eAAe,IAAI,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/terminalCloudAPI.d.ts b/dist/lib-esm/service/terminalCloudAPI.d.ts new file mode 100644 index 0000000..4b41e08 --- /dev/null +++ b/dist/lib-esm/service/terminalCloudAPI.d.ts @@ -0,0 +1,11 @@ +import ApiKeyAuthenticatedService from "../apiKeyAuthenticatedService"; +import Client from "../client"; +import { TerminalApiRequest, TerminalApiResponse } from "../typings/terminal"; +declare class TerminalCloudAPI extends ApiKeyAuthenticatedService { + private readonly terminalApiAsync; + private readonly terminalApiSync; + constructor(client: Client); + async(terminalApiRequest: TerminalApiRequest): Promise; + sync(terminalApiRequest: TerminalApiRequest): Promise; +} +export default TerminalCloudAPI; diff --git a/dist/lib-esm/service/terminalCloudAPI.js b/dist/lib-esm/service/terminalCloudAPI.js new file mode 100644 index 0000000..8de1017 --- /dev/null +++ b/dist/lib-esm/service/terminalCloudAPI.js @@ -0,0 +1,101 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +import ApiKeyAuthenticatedService from "../apiKeyAuthenticatedService"; +import getJsonResponse from "../helpers/getJsonResponse"; +import { Convert } from "../typings/terminal"; +import Async from "./resource/terminal/cloud/async"; +import Sync from "./resource/terminal/cloud/sync"; +var TerminalCloudAPI = /** @class */ (function (_super) { + __extends(TerminalCloudAPI, _super); + function TerminalCloudAPI(client) { + var _this = _super.call(this, client) || this; + _this.terminalApiAsync = new Async(_this); + _this.terminalApiSync = new Sync(_this); + return _this; + } + TerminalCloudAPI.prototype.async = function (terminalApiRequest) { + return getJsonResponse(this.terminalApiAsync, Convert.terminalApiRequestToJson(terminalApiRequest)); + }; + TerminalCloudAPI.prototype.sync = function (terminalApiRequest) { + return __awaiter(this, void 0, void 0, function () { + var response; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse(this.terminalApiSync, Convert.terminalApiRequestToJson(terminalApiRequest))]; + case 1: + response = _a.sent(); + return [2 /*return*/, Convert.toTerminalApiResponse(JSON.stringify(response))]; + } + }); + }); + }; + return TerminalCloudAPI; +}(ApiKeyAuthenticatedService)); +export default TerminalCloudAPI; +//# sourceMappingURL=terminalCloudAPI.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/terminalCloudAPI.js.map b/dist/lib-esm/service/terminalCloudAPI.js.map new file mode 100644 index 0000000..5ffc246 --- /dev/null +++ b/dist/lib-esm/service/terminalCloudAPI.js.map @@ -0,0 +1 @@ +{"version":3,"file":"terminalCloudAPI.js","sourceRoot":"","sources":["../../../src/service/terminalCloudAPI.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,OAAO,0BAA0B,MAAM,+BAA+B,CAAC;AAEvE,OAAO,eAAe,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAC,OAAO,EAA0C,MAAM,qBAAqB,CAAC;AACrF,OAAO,KAAK,MAAM,iCAAiC,CAAC;AACpD,OAAO,IAAI,MAAM,gCAAgC,CAAC;AAElD;IAA+B,oCAA0B;IAIrD,0BAAmB,MAAc;QAAjC,YACI,kBAAM,MAAM,CAAC,SAGhB;QAFG,KAAI,CAAC,gBAAgB,GAAG,IAAI,KAAK,CAAC,KAAI,CAAC,CAAC;QACxC,KAAI,CAAC,eAAe,GAAG,IAAI,IAAI,CAAC,KAAI,CAAC,CAAC;;IAC1C,CAAC;IAEM,gCAAK,GAAZ,UAAa,kBAAsC;QAC/C,OAAO,eAAe,CAClB,IAAI,CAAC,gBAAgB,EACrB,OAAO,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,CACvD,CAAC;IACN,CAAC;IAEY,+BAAI,GAAjB,UAAkB,kBAAsC;;;;;4BACnC,qBAAM,eAAe,CAClC,IAAI,CAAC,eAAe,EACpB,OAAO,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,CACvD,EAAA;;wBAHK,QAAQ,GAAG,SAGhB;wBAED,sBAAO,OAAO,CAAC,qBAAqB,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,EAAC;;;;KAClE;IACL,uBAAC;AAAD,CAAC,AAzBD,CAA+B,0BAA0B,GAyBxD;AAED,eAAe,gBAAgB,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/service/terminalLocalAPI.d.ts b/dist/lib-esm/service/terminalLocalAPI.d.ts new file mode 100644 index 0000000..1ae86f6 --- /dev/null +++ b/dist/lib-esm/service/terminalLocalAPI.d.ts @@ -0,0 +1,10 @@ +import ApiKeyAuthenticatedService from "../apiKeyAuthenticatedService"; +import Client from "../client"; +import { SecurityKey, TerminalApiRequest, TerminalApiResponse } from "../typings/terminal"; +declare class TerminalLocalAPI extends ApiKeyAuthenticatedService { + private readonly localRequest; + private nexoCrypto; + constructor(client: Client); + request(terminalApiRequest: TerminalApiRequest, securityKey: SecurityKey): Promise; +} +export default TerminalLocalAPI; diff --git a/dist/lib-esm/service/terminalLocalAPI.js b/dist/lib-esm/service/terminalLocalAPI.js new file mode 100644 index 0000000..38c00b3 --- /dev/null +++ b/dist/lib-esm/service/terminalLocalAPI.js @@ -0,0 +1,105 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +import ApiKeyAuthenticatedService from "../apiKeyAuthenticatedService"; +import getJsonResponse from "../helpers/getJsonResponse"; +import NexoCrypto from "../security/nexoCrypto"; +import { Convert, } from "../typings/terminal"; +import LocalRequest from "./resource/terminal/local/localRequest"; +var TerminalLocalAPI = /** @class */ (function (_super) { + __extends(TerminalLocalAPI, _super); + function TerminalLocalAPI(client) { + var _this = _super.call(this, client) || this; + _this.localRequest = new LocalRequest(_this); + _this.nexoCrypto = new NexoCrypto(); + return _this; + } + TerminalLocalAPI.prototype.request = function (terminalApiRequest, securityKey) { + return __awaiter(this, void 0, void 0, function () { + var saleToPoiSecuredMessage, securedPaymentRequest, jsonResponse, terminalApiSecuredResponse, response; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: + saleToPoiSecuredMessage = NexoCrypto.encrypt(terminalApiRequest.saleToPoiRequest.messageHeader, Convert.terminalApiRequestToJson(terminalApiRequest), securityKey); + securedPaymentRequest = { + saleToPoiRequest: saleToPoiSecuredMessage, + }; + return [4 /*yield*/, getJsonResponse(this.localRequest, Convert.terminalApiSecuredRequestToJson(securedPaymentRequest))]; + case 1: + jsonResponse = _a.sent(); + terminalApiSecuredResponse = Convert.toTerminalApiSecuredResponse(JSON.stringify(jsonResponse)); + response = this.nexoCrypto.decrypt(terminalApiSecuredResponse.saleToPoiResponse, securityKey); + return [2 /*return*/, Convert.toTerminalApiResponse(response)]; + } + }); + }); + }; + return TerminalLocalAPI; +}(ApiKeyAuthenticatedService)); +export default TerminalLocalAPI; +//# sourceMappingURL=terminalLocalAPI.js.map \ No newline at end of file diff --git a/dist/lib-esm/service/terminalLocalAPI.js.map b/dist/lib-esm/service/terminalLocalAPI.js.map new file mode 100644 index 0000000..25e5604 --- /dev/null +++ b/dist/lib-esm/service/terminalLocalAPI.js.map @@ -0,0 +1 @@ +{"version":3,"file":"terminalLocalAPI.js","sourceRoot":"","sources":["../../../src/service/terminalLocalAPI.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,OAAO,0BAA0B,MAAM,+BAA+B,CAAC;AAEvE,OAAO,eAAe,MAAM,4BAA4B,CAAC;AACzD,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,EACH,OAAO,GAKV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,YAAY,MAAM,wCAAwC,CAAC;AAElE;IAA+B,oCAA0B;IAIrD,0BAAmB,MAAc;QAAjC,YACI,kBAAM,MAAM,CAAC,SAGhB;QAFG,KAAI,CAAC,YAAY,GAAG,IAAI,YAAY,CAAC,KAAI,CAAC,CAAC;QAC3C,KAAI,CAAC,UAAU,GAAG,IAAI,UAAU,EAAE,CAAC;;IACvC,CAAC;IAEY,kCAAO,GAApB,UACI,kBAAsC,EACtC,WAAwB;;;;;;wBAElB,uBAAuB,GAA4B,UAAU,CAAC,OAAO,CACvE,kBAAkB,CAAC,gBAAgB,CAAC,aAAa,EACjD,OAAO,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,EACpD,WAAW,CACd,CAAC;wBAEI,qBAAqB,GAA8B;4BACrD,gBAAgB,EAAE,uBAAuB;yBAC5C,CAAC;wBAEmB,qBAAM,eAAe,CACtC,IAAI,CAAC,YAAY,EACjB,OAAO,CAAC,+BAA+B,CAAC,qBAAqB,CAAC,CACjE,EAAA;;wBAHK,YAAY,GAAG,SAGpB;wBAEK,0BAA0B,GAAG,OAAO,CAAC,4BAA4B,CAAC,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC,CAAC;wBAEhG,QAAQ,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,CACpC,0BAA0B,CAAC,iBAAiB,EAC5C,WAAW,CACd,CAAC;wBAEF,sBAAO,OAAO,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EAAC;;;;KAClD;IACL,uBAAC;AAAD,CAAC,AAtCD,CAA+B,0BAA0B,GAsCxD;AAED,eAAe,gBAAgB,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/amount.d.ts b/dist/lib-esm/typings/amount.d.ts new file mode 100644 index 0000000..b40dda3 --- /dev/null +++ b/dist/lib-esm/typings/amount.d.ts @@ -0,0 +1,4 @@ +export interface Amount { + currency: string; + value: number; +} diff --git a/dist/lib-esm/typings/amount.js b/dist/lib-esm/typings/amount.js new file mode 100644 index 0000000..5fe7361 --- /dev/null +++ b/dist/lib-esm/typings/amount.js @@ -0,0 +1 @@ +//# sourceMappingURL=amount.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/amount.js.map b/dist/lib-esm/typings/amount.js.map new file mode 100644 index 0000000..b0fcd05 --- /dev/null +++ b/dist/lib-esm/typings/amount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"amount.js","sourceRoot":"","sources":["../../../src/typings/amount.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib-esm/typings/apiError.d.ts b/dist/lib-esm/typings/apiError.d.ts new file mode 100644 index 0000000..d6d7b0a --- /dev/null +++ b/dist/lib-esm/typings/apiError.d.ts @@ -0,0 +1,7 @@ +export interface ApiError { + status?: number; + errorCode?: string; + message?: string; + errorType?: string; + pspReference?: string; +} diff --git a/dist/lib-esm/typings/apiError.js b/dist/lib-esm/typings/apiError.js new file mode 100644 index 0000000..aa60396 --- /dev/null +++ b/dist/lib-esm/typings/apiError.js @@ -0,0 +1,2 @@ +// Generated using typescript-generator version 2.14.505 on 2019-06-04 08:51:10. +//# sourceMappingURL=apiError.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/apiError.js.map b/dist/lib-esm/typings/apiError.js.map new file mode 100644 index 0000000..1b230fb --- /dev/null +++ b/dist/lib-esm/typings/apiError.js.map @@ -0,0 +1 @@ +{"version":3,"file":"apiError.js","sourceRoot":"","sources":["../../../src/typings/apiError.ts"],"names":[],"mappings":"AAAA,gFAAgF"} \ No newline at end of file diff --git a/dist/lib-esm/typings/applicationInfo.d.ts b/dist/lib-esm/typings/applicationInfo.d.ts new file mode 100644 index 0000000..7f08315 --- /dev/null +++ b/dist/lib-esm/typings/applicationInfo.d.ts @@ -0,0 +1,27 @@ +export declare class ApplicationInfo { + adyenLibrary?: CommonField; + adyenPaymentSource?: CommonField; + externalPlatform?: ExternalPlatform; + merchantApplication?: CommonField; + merchantDevice?: MerchantDevice; + paymentDetailsSource?: CommonField; + shopperInteractionDevice?: ShopperInteractionDevice; + constructor(); +} +export interface CommonField { + name?: string; + version?: string; +} +export interface ExternalPlatform extends CommonField { + integrator?: string; +} +export interface MerchantDevice { + os?: string; + osVersion?: string; + reference?: string; +} +export interface ShopperInteractionDevice { + os?: string; + osVersion?: string; + locale?: string; +} diff --git a/dist/lib-esm/typings/applicationInfo.js b/dist/lib-esm/typings/applicationInfo.js new file mode 100644 index 0000000..1f88392 --- /dev/null +++ b/dist/lib-esm/typings/applicationInfo.js @@ -0,0 +1,13 @@ +// Generated using typescript-generator version 2.14.505 on 2019-06-11 10:28:22. +import Client from "../client"; +var ApplicationInfo = /** @class */ (function () { + function ApplicationInfo() { + this.adyenLibrary = { + name: Client.LIB_NAME, + version: Client.LIB_VERSION, + }; + } + return ApplicationInfo; +}()); +export { ApplicationInfo }; +//# sourceMappingURL=applicationInfo.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/applicationInfo.js.map b/dist/lib-esm/typings/applicationInfo.js.map new file mode 100644 index 0000000..4b6db87 --- /dev/null +++ b/dist/lib-esm/typings/applicationInfo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"applicationInfo.js","sourceRoot":"","sources":["../../../src/typings/applicationInfo.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAEhF,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B;IASI;QACI,IAAI,CAAC,YAAY,GAAG;YAChB,IAAI,EAAE,MAAM,CAAC,QAAQ;YACrB,OAAO,EAAE,MAAM,CAAC,WAAW;SAC9B,CAAA;IACL,CAAC;IACL,sBAAC;AAAD,CAAC,AAfD,IAeC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/binLookup/amount.d.ts b/dist/lib-esm/typings/binLookup/amount.d.ts new file mode 100644 index 0000000..2653f00 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/amount.d.ts @@ -0,0 +1,21 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Amount { + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + */ + currency: string; + /** + * The payable amount that can be charged for the transaction. The transaction amount needs to be represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). + */ + value: number; +} diff --git a/dist/lib-esm/typings/binLookup/amount.js b/dist/lib-esm/typings/binLookup/amount.js new file mode 100644 index 0000000..55cd1bb --- /dev/null +++ b/dist/lib-esm/typings/binLookup/amount.js @@ -0,0 +1,12 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=amount.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/binLookup/amount.js.map b/dist/lib-esm/typings/binLookup/amount.js.map new file mode 100644 index 0000000..7c2b984 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/amount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"amount.js","sourceRoot":"","sources":["../../../../src/typings/binLookup/amount.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/binLookup/cardBin.d.ts b/dist/lib-esm/typings/binLookup/cardBin.d.ts new file mode 100644 index 0000000..993abd5 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/cardBin.d.ts @@ -0,0 +1,53 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface CardBin { + /** + * The first 6 digit of the card number. Enable this field via merchant account settings. + */ + bin?: string; + /** + * If true, it indicates a commercial card. Enable this field via merchant account settings. + */ + commercial?: boolean; + /** + * The card funding source. Valid values are: * CREDIT * DEBIT * PREPAID * PREPAID_RELOADABLE * DEFERRED_DEBIT * CHARGED > Enable this field via merchant account settings. + */ + fundingSource?: string; + /** + * Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if `payoutEligible` is different from \"N\" or \"U\". + */ + fundsAvailability?: string; + /** + * The issuing bank of the card. + */ + issuingBank?: string; + /** + * The country where the card was issued from. + */ + issuingCountry?: string; + /** + * The currency of the card. + */ + issuingCurrency?: string; + /** + * The payment method associated with the card (e.g. visa, mc, or amex). + */ + paymentMethod?: string; + /** + * Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown) > Returned when you verify a card BIN or estimate costs, and only if `payoutEligible` is different from \"N\" or \"U\". + */ + payoutEligible?: string; + /** + * The last four digits of the card number. + */ + summary?: string; +} diff --git a/dist/lib-esm/typings/binLookup/cardBin.js b/dist/lib-esm/typings/binLookup/cardBin.js new file mode 100644 index 0000000..2ce1762 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/cardBin.js @@ -0,0 +1,12 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=cardBin.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/binLookup/cardBin.js.map b/dist/lib-esm/typings/binLookup/cardBin.js.map new file mode 100644 index 0000000..0e1f093 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/cardBin.js.map @@ -0,0 +1 @@ +{"version":3,"file":"cardBin.js","sourceRoot":"","sources":["../../../../src/typings/binLookup/cardBin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/binLookup/costEstimateAssumptions.d.ts b/dist/lib-esm/typings/binLookup/costEstimateAssumptions.d.ts new file mode 100644 index 0000000..267a53b --- /dev/null +++ b/dist/lib-esm/typings/binLookup/costEstimateAssumptions.d.ts @@ -0,0 +1,25 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface CostEstimateAssumptions { + /** + * If true, the cardholder is expected to successfully authorise via 3D Secure. + */ + assume3DSecureAuthenticated?: boolean; + /** + * If true, the transaction is expected to have valid Level 3 data. + */ + assumeLevel3Data?: boolean; + /** + * If not zero, the number of installments. + */ + installments?: number; +} diff --git a/dist/lib-esm/typings/binLookup/costEstimateAssumptions.js b/dist/lib-esm/typings/binLookup/costEstimateAssumptions.js new file mode 100644 index 0000000..968c1c8 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/costEstimateAssumptions.js @@ -0,0 +1,12 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=costEstimateAssumptions.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/binLookup/costEstimateAssumptions.js.map b/dist/lib-esm/typings/binLookup/costEstimateAssumptions.js.map new file mode 100644 index 0000000..938bec2 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/costEstimateAssumptions.js.map @@ -0,0 +1 @@ +{"version":3,"file":"costEstimateAssumptions.js","sourceRoot":"","sources":["../../../../src/typings/binLookup/costEstimateAssumptions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/binLookup/costEstimateRequest.d.ts b/dist/lib-esm/typings/binLookup/costEstimateRequest.d.ts new file mode 100644 index 0000000..9716a22 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/costEstimateRequest.d.ts @@ -0,0 +1,53 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Amount } from './amount'; +import { CostEstimateAssumptions } from './costEstimateAssumptions'; +import { MerchantDetails } from './merchantDetails'; +import { Recurring } from './recurring'; +export interface CostEstimateRequest { + amount: Amount; + assumptions?: CostEstimateAssumptions; + /** + * The card number (4-19 characters) for PCI compliant use cases. Do not use any separators. > Either the `cardNumber` or `encryptedCard` field must be provided in a payment request. + */ + cardNumber?: string; + /** + * Encrypted data that stores card information for non PCI-compliant use cases. The encrypted data must be created with the Client-Side Encryption library and must contain at least the `number` and `generationtime` fields. > Either the `cardNumber` or `encryptedCard` field must be provided in a payment request. + */ + encryptedCard?: string; + /** + * The merchant account identifier you want to process the (transaction) request with. + */ + merchantAccount: string; + merchantDetails?: MerchantDetails; + recurring?: Recurring; + /** + * The `recurringDetailReference` you want to use for this cost estimate. The value `LATEST` can be used to select the most recently stored recurring detail. + */ + selectedRecurringDetailReference?: string; + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the card holder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + */ + shopperInteraction?: CostEstimateRequest.ShopperInteractionEnum; + /** + * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). > This field is required for recurring payments. + */ + shopperReference?: string; +} +export declare namespace CostEstimateRequest { + type ShopperInteractionEnum = 'Ecommerce' | 'ContAuth' | 'Moto' | 'POS'; + const ShopperInteractionEnum: { + Ecommerce: import("../checkout").PaymentRequest.ShopperInteractionEnum; + ContAuth: import("../checkout").PaymentRequest.ShopperInteractionEnum; + Moto: import("../checkout").PaymentRequest.ShopperInteractionEnum; + POS: import("../checkout").PaymentRequest.ShopperInteractionEnum; + }; +} diff --git a/dist/lib-esm/typings/binLookup/costEstimateRequest.js b/dist/lib-esm/typings/binLookup/costEstimateRequest.js new file mode 100644 index 0000000..538888f --- /dev/null +++ b/dist/lib-esm/typings/binLookup/costEstimateRequest.js @@ -0,0 +1,10 @@ +export var CostEstimateRequest; +(function (CostEstimateRequest) { + CostEstimateRequest.ShopperInteractionEnum = { + Ecommerce: 'Ecommerce', + ContAuth: 'ContAuth', + Moto: 'Moto', + POS: 'POS' + }; +})(CostEstimateRequest || (CostEstimateRequest = {})); +//# sourceMappingURL=costEstimateRequest.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/binLookup/costEstimateRequest.js.map b/dist/lib-esm/typings/binLookup/costEstimateRequest.js.map new file mode 100644 index 0000000..cc01fa4 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/costEstimateRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"costEstimateRequest.js","sourceRoot":"","sources":["../../../../src/typings/binLookup/costEstimateRequest.ts"],"names":[],"mappings":"AA8CA,MAAM,KAAW,mBAAmB,CAQnC;AARD,WAAiB,mBAAmB;IAEnB,0CAAsB,GAAG;QAClC,SAAS,EAAE,WAAqC;QAChD,QAAQ,EAAE,UAAoC;QAC9C,IAAI,EAAE,MAAgC;QACtC,GAAG,EAAE,KAA+B;KACvC,CAAC;AACN,CAAC,EARgB,mBAAmB,KAAnB,mBAAmB,QAQnC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/binLookup/costEstimateResponse.d.ts b/dist/lib-esm/typings/binLookup/costEstimateResponse.d.ts new file mode 100644 index 0000000..dde8919 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/costEstimateResponse.d.ts @@ -0,0 +1,24 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Amount } from './amount'; +import { CardBin } from './cardBin'; +export interface CostEstimateResponse { + cardBin?: CardBin; + costEstimateAmount?: Amount; + /** + * The result of the cost estimation. + */ + resultCode?: string; + /** + * Indicates the way the charges can be passed on to the cardholder. The following values are possible: * `ZERO` - the charges are not allowed to pass on * `PASSTHROUGH` - the charges can be passed on * `UNLIMITED` - there is no limit on how much surcharge is passed on + */ + surchargeType?: string; +} diff --git a/dist/lib-esm/typings/binLookup/costEstimateResponse.js b/dist/lib-esm/typings/binLookup/costEstimateResponse.js new file mode 100644 index 0000000..445dae8 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/costEstimateResponse.js @@ -0,0 +1 @@ +//# sourceMappingURL=costEstimateResponse.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/binLookup/costEstimateResponse.js.map b/dist/lib-esm/typings/binLookup/costEstimateResponse.js.map new file mode 100644 index 0000000..45c587b --- /dev/null +++ b/dist/lib-esm/typings/binLookup/costEstimateResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"costEstimateResponse.js","sourceRoot":"","sources":["../../../../src/typings/binLookup/costEstimateResponse.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib-esm/typings/binLookup/dSPublicKeyDetail.d.ts b/dist/lib-esm/typings/binLookup/dSPublicKeyDetail.d.ts new file mode 100644 index 0000000..c518978 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/dSPublicKeyDetail.d.ts @@ -0,0 +1,25 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface DSPublicKeyDetail { + /** + * Card brand. + */ + brand?: string; + /** + * Directory Server (DS) identifier. + */ + directoryServerId?: string; + /** + * Public key. The 3D Secure 2 SDK encrypts the device information by using the DS public key. + */ + publicKey?: string; +} diff --git a/dist/lib-esm/typings/binLookup/dSPublicKeyDetail.js b/dist/lib-esm/typings/binLookup/dSPublicKeyDetail.js new file mode 100644 index 0000000..936c2c5 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/dSPublicKeyDetail.js @@ -0,0 +1,12 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=dSPublicKeyDetail.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/binLookup/dSPublicKeyDetail.js.map b/dist/lib-esm/typings/binLookup/dSPublicKeyDetail.js.map new file mode 100644 index 0000000..b30ece9 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/dSPublicKeyDetail.js.map @@ -0,0 +1 @@ +{"version":3,"file":"dSPublicKeyDetail.js","sourceRoot":"","sources":["../../../../src/typings/binLookup/dSPublicKeyDetail.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/binLookup/index.d.ts b/dist/lib-esm/typings/binLookup/index.d.ts new file mode 100644 index 0000000..2a15be9 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/index.d.ts @@ -0,0 +1,11 @@ +export * from './amount'; +export * from './cardBin'; +export * from './costEstimateAssumptions'; +export * from './costEstimateRequest'; +export * from './costEstimateResponse'; +export * from './dSPublicKeyDetail'; +export * from './merchantDetails'; +export * from './recurring'; +export * from './threeDS2CardRangeDetail'; +export * from './threeDSAvailabilityRequest'; +export * from './threeDSAvailabilityResponse'; diff --git a/dist/lib-esm/typings/binLookup/index.js b/dist/lib-esm/typings/binLookup/index.js new file mode 100644 index 0000000..7c89e16 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/index.js @@ -0,0 +1,3 @@ +export * from './costEstimateRequest'; +export * from './recurring'; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/binLookup/index.js.map b/dist/lib-esm/typings/binLookup/index.js.map new file mode 100644 index 0000000..5d4df93 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/typings/binLookup/index.ts"],"names":[],"mappings":"AAGA,cAAc,uBAAuB,CAAC;AAItC,cAAc,aAAa,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/binLookup/merchantDetails.d.ts b/dist/lib-esm/typings/binLookup/merchantDetails.d.ts new file mode 100644 index 0000000..c466ce7 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/merchantDetails.d.ts @@ -0,0 +1,25 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface MerchantDetails { + /** + * 2-letter ISO 3166 country code of the card acceptor location. > This parameter is required for the merchants who don't use Adyen as the payment authorisation gateway. + */ + countryCode?: string; + /** + * If true, indicates that the merchant is enrolled in 3D Secure for the card network. + */ + enrolledIn3DSecure?: boolean; + /** + * The merchant category code (MCC) is a four-digit number which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. The list of MCCs can be found [here](https://en.wikipedia.org/wiki/Merchant_category_code). + */ + mcc?: string; +} diff --git a/dist/lib-esm/typings/binLookup/merchantDetails.js b/dist/lib-esm/typings/binLookup/merchantDetails.js new file mode 100644 index 0000000..a88c0c2 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/merchantDetails.js @@ -0,0 +1,12 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=merchantDetails.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/binLookup/merchantDetails.js.map b/dist/lib-esm/typings/binLookup/merchantDetails.js.map new file mode 100644 index 0000000..a2cbd35 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/merchantDetails.js.map @@ -0,0 +1 @@ +{"version":3,"file":"merchantDetails.js","sourceRoot":"","sources":["../../../../src/typings/binLookup/merchantDetails.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/binLookup/recurring.d.ts b/dist/lib-esm/typings/binLookup/recurring.d.ts new file mode 100644 index 0000000..ebbb82f --- /dev/null +++ b/dist/lib-esm/typings/binLookup/recurring.d.ts @@ -0,0 +1,46 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Recurring { + /** + * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payment-glossary#cardsecuritycodecvccvvcid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payment-glossary#cardnotpresentcnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/features/third-party-payouts). + */ + contract?: Recurring.ContractEnum; + /** + * A descriptive name for this detail. + */ + recurringDetailName?: string; + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + */ + recurringExpiry?: Date; + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + */ + recurringFrequency?: string; + /** + * The name of the token service. + */ + tokenService?: Recurring.TokenServiceEnum; +} +export declare namespace Recurring { + type ContractEnum = 'ONECLICK' | 'RECURRING' | 'PAYOUT'; + const ContractEnum: { + ONECLICK: import("../checkout").Recurring.ContractEnum; + RECURRING: import("../checkout").Recurring.ContractEnum; + PAYOUT: import("../checkout").Recurring.ContractEnum; + }; + type TokenServiceEnum = 'VISATOKENSERVICE' | 'MCTOKENSERVICE'; + const TokenServiceEnum: { + VISATOKENSERVICE: import("../checkout").Recurring.TokenServiceEnum; + MCTOKENSERVICE: import("../checkout").Recurring.TokenServiceEnum; + }; +} diff --git a/dist/lib-esm/typings/binLookup/recurring.js b/dist/lib-esm/typings/binLookup/recurring.js new file mode 100644 index 0000000..f897153 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/recurring.js @@ -0,0 +1,24 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export var Recurring; +(function (Recurring) { + Recurring.ContractEnum = { + ONECLICK: 'ONECLICK', + RECURRING: 'RECURRING', + PAYOUT: 'PAYOUT' + }; + Recurring.TokenServiceEnum = { + VISATOKENSERVICE: 'VISATOKENSERVICE', + MCTOKENSERVICE: 'MCTOKENSERVICE' + }; +})(Recurring || (Recurring = {})); +//# sourceMappingURL=recurring.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/binLookup/recurring.js.map b/dist/lib-esm/typings/binLookup/recurring.js.map new file mode 100644 index 0000000..bc0e639 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/recurring.js.map @@ -0,0 +1 @@ +{"version":3,"file":"recurring.js","sourceRoot":"","sources":["../../../../src/typings/binLookup/recurring.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAwBH,MAAM,KAAW,SAAS,CAYzB;AAZD,WAAiB,SAAS;IAET,sBAAY,GAAG;QACxB,QAAQ,EAAE,UAA0B;QACpC,SAAS,EAAE,WAA2B;QACtC,MAAM,EAAE,QAAwB;KACnC,CAAC;IAEW,0BAAgB,GAAG;QAC5B,gBAAgB,EAAE,kBAAsC;QACxD,cAAc,EAAE,gBAAoC;KACvD,CAAC;AACN,CAAC,EAZgB,SAAS,KAAT,SAAS,QAYzB"} \ No newline at end of file diff --git a/dist/lib-esm/typings/binLookup/threeDS2CardRangeDetail.d.ts b/dist/lib-esm/typings/binLookup/threeDS2CardRangeDetail.d.ts new file mode 100644 index 0000000..b1d0f43 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/threeDS2CardRangeDetail.d.ts @@ -0,0 +1,33 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface ThreeDS2CardRangeDetail { + /** + * Card brand. + */ + brandCode?: string; + /** + * BIN end range. + */ + endRange?: string; + /** + * BIN start range. + */ + startRange?: string; + /** + * 3D Secure protocol version. + */ + threeDS2Version?: string; + /** + * In a 3D Secure 2 browser-based flow, this is the URL where you should send the device fingerprint to. + */ + threeDSMethodURL?: string; +} diff --git a/dist/lib-esm/typings/binLookup/threeDS2CardRangeDetail.js b/dist/lib-esm/typings/binLookup/threeDS2CardRangeDetail.js new file mode 100644 index 0000000..5cc0f8a --- /dev/null +++ b/dist/lib-esm/typings/binLookup/threeDS2CardRangeDetail.js @@ -0,0 +1,12 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=threeDS2CardRangeDetail.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/binLookup/threeDS2CardRangeDetail.js.map b/dist/lib-esm/typings/binLookup/threeDS2CardRangeDetail.js.map new file mode 100644 index 0000000..5987fc9 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/threeDS2CardRangeDetail.js.map @@ -0,0 +1 @@ +{"version":3,"file":"threeDS2CardRangeDetail.js","sourceRoot":"","sources":["../../../../src/typings/binLookup/threeDS2CardRangeDetail.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/binLookup/threeDSAvailabilityRequest.d.ts b/dist/lib-esm/typings/binLookup/threeDSAvailabilityRequest.d.ts new file mode 100644 index 0000000..e30e385 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/threeDSAvailabilityRequest.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface ThreeDSAvailabilityRequest { + /** + * This field contains additional data, which may be required for a particular request. The `additionalData` object consists of entries, each of which includes the key and value. For more information on possible key-value pairs, refer to the [additionalData section](https://docs.adyen.com/api-reference/payments-api#paymentrequestadditionaldata). + */ + additionalData?: any; + /** + * List of brands. + */ + brands: Array; + /** + * Card number or BIN. + */ + cardNumber?: string; + /** + * The merchant account identifier. + */ + merchantAccount: string; + /** + * A recurring detail reference corresponding to a card. + */ + recurringDetailReference?: string; + /** + * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). + */ + shopperReference?: string; +} diff --git a/dist/lib-esm/typings/binLookup/threeDSAvailabilityRequest.js b/dist/lib-esm/typings/binLookup/threeDSAvailabilityRequest.js new file mode 100644 index 0000000..9a22dd9 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/threeDSAvailabilityRequest.js @@ -0,0 +1,12 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=threeDSAvailabilityRequest.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/binLookup/threeDSAvailabilityRequest.js.map b/dist/lib-esm/typings/binLookup/threeDSAvailabilityRequest.js.map new file mode 100644 index 0000000..c8cfe67 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/threeDSAvailabilityRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"threeDSAvailabilityRequest.js","sourceRoot":"","sources":["../../../../src/typings/binLookup/threeDSAvailabilityRequest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/binLookup/threeDSAvailabilityResponse.d.ts b/dist/lib-esm/typings/binLookup/threeDSAvailabilityResponse.d.ts new file mode 100644 index 0000000..90074da --- /dev/null +++ b/dist/lib-esm/typings/binLookup/threeDSAvailabilityResponse.d.ts @@ -0,0 +1,30 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { DSPublicKeyDetail } from './dSPublicKeyDetail'; +import { ThreeDS2CardRangeDetail } from './threeDS2CardRangeDetail'; +export interface ThreeDSAvailabilityResponse { + /** + * List of Directory Server (DS) public keys. + */ + dsPublicKeys?: Array; + /** + * Indicator if 3D Secure 1 is supported. + */ + threeDS1Supported?: boolean; + /** + * List of brand and card range pairs. + */ + threeDS2CardRangeDetails?: Array; + /** + * Indicator if 3D Secure 2 is supported. + */ + threeDS2supported?: boolean; +} diff --git a/dist/lib-esm/typings/binLookup/threeDSAvailabilityResponse.js b/dist/lib-esm/typings/binLookup/threeDSAvailabilityResponse.js new file mode 100644 index 0000000..21bdfd8 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/threeDSAvailabilityResponse.js @@ -0,0 +1 @@ +//# sourceMappingURL=threeDSAvailabilityResponse.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/binLookup/threeDSAvailabilityResponse.js.map b/dist/lib-esm/typings/binLookup/threeDSAvailabilityResponse.js.map new file mode 100644 index 0000000..e7ee9b5 --- /dev/null +++ b/dist/lib-esm/typings/binLookup/threeDSAvailabilityResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"threeDSAvailabilityResponse.js","sourceRoot":"","sources":["../../../../src/typings/binLookup/threeDSAvailabilityResponse.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/accountInfo.d.ts b/dist/lib-esm/typings/checkout/accountInfo.d.ts new file mode 100644 index 0000000..70be39f --- /dev/null +++ b/dist/lib-esm/typings/checkout/accountInfo.d.ts @@ -0,0 +1,125 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface AccountInfo { + /** + * Indicator for the length of time since this shopper account was created in the merchant's environment. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + */ + accountAgeIndicator?: AccountInfo.AccountAgeIndicatorEnum; + /** + * Date when the shopper's account was last changed. + */ + accountChangeDate?: Date; + /** + * Indicator for the length of time since the shopper's account was last updated. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + */ + accountChangeIndicator?: AccountInfo.AccountChangeIndicatorEnum; + /** + * Date when the shopper's account was created. + */ + accountCreationDate?: Date; + /** + * Number of attempts the shopper tried to add a card to their account in the last day. + */ + addCardAttemptsDay?: number; + /** + * Date the selected delivery address was last used. + */ + deliveryAddressUsageDate?: Date; + /** + * Indicator for the length of time since this delivery address was last used. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + */ + deliveryAddressUsageIndicator?: AccountInfo.DeliveryAddressUsageIndicatorEnum; + /** + * Shopper's home phone number (including the country code). + */ + homePhone?: string; + /** + * Shopper's mobile phone number (including the country code). + */ + mobilePhone?: string; + /** + * Date when the shopper last changed their password. + */ + passwordChangeDate?: Date; + /** + * Indicator when the shopper has changed their password. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + */ + passwordChangeIndicator?: AccountInfo.PasswordChangeIndicatorEnum; + /** + * Number of all transactions (successful and abandoned) from this shopper in the past 24 hours. + */ + pastTransactionsDay?: number; + /** + * Number of all transactions (successful and abandoned) from this shopper in the past year. + */ + pastTransactionsYear?: number; + /** + * Date this payment method was added to the shopper's account. + */ + paymentAccountAge?: Date; + /** + * Indicator for the length of time since this payment method was added to this shopper's account. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + */ + paymentAccountIndicator?: AccountInfo.PaymentAccountIndicatorEnum; + /** + * Number of successful purchases in the last six months. + */ + purchasesLast6Months?: number; + /** + * Whether suspicious activity was recorded on this account. + */ + suspiciousActivity?: boolean; + /** + * Shopper's work phone number (including the country code). + */ + workPhone?: string; +} +export declare namespace AccountInfo { + type AccountAgeIndicatorEnum = 'notApplicable' | 'thisTransaction' | 'lessThan30Days' | 'from30To60Days' | 'moreThan60Days'; + const AccountAgeIndicatorEnum: { + NotApplicable: AccountAgeIndicatorEnum; + ThisTransaction: AccountAgeIndicatorEnum; + LessThan30Days: AccountAgeIndicatorEnum; + From30To60Days: AccountAgeIndicatorEnum; + MoreThan60Days: AccountAgeIndicatorEnum; + }; + type AccountChangeIndicatorEnum = 'thisTransaction' | 'lessThan30Days' | 'from30To60Days' | 'moreThan60Days'; + const AccountChangeIndicatorEnum: { + ThisTransaction: AccountChangeIndicatorEnum; + LessThan30Days: AccountChangeIndicatorEnum; + From30To60Days: AccountChangeIndicatorEnum; + MoreThan60Days: AccountChangeIndicatorEnum; + }; + type DeliveryAddressUsageIndicatorEnum = 'thisTransaction' | 'lessThan30Days' | 'from30To60Days' | 'moreThan60Days'; + const DeliveryAddressUsageIndicatorEnum: { + ThisTransaction: AccountChangeIndicatorEnum; + LessThan30Days: AccountChangeIndicatorEnum; + From30To60Days: AccountChangeIndicatorEnum; + MoreThan60Days: AccountChangeIndicatorEnum; + }; + type PasswordChangeIndicatorEnum = 'notApplicable' | 'thisTransaction' | 'lessThan30Days' | 'from30To60Days' | 'moreThan60Days'; + const PasswordChangeIndicatorEnum: { + NotApplicable: AccountAgeIndicatorEnum; + ThisTransaction: AccountAgeIndicatorEnum; + LessThan30Days: AccountAgeIndicatorEnum; + From30To60Days: AccountAgeIndicatorEnum; + MoreThan60Days: AccountAgeIndicatorEnum; + }; + type PaymentAccountIndicatorEnum = 'notApplicable' | 'thisTransaction' | 'lessThan30Days' | 'from30To60Days' | 'moreThan60Days'; + const PaymentAccountIndicatorEnum: { + NotApplicable: AccountAgeIndicatorEnum; + ThisTransaction: AccountAgeIndicatorEnum; + LessThan30Days: AccountAgeIndicatorEnum; + From30To60Days: AccountAgeIndicatorEnum; + MoreThan60Days: AccountAgeIndicatorEnum; + }; +} diff --git a/dist/lib-esm/typings/checkout/accountInfo.js b/dist/lib-esm/typings/checkout/accountInfo.js new file mode 100644 index 0000000..d5c08f7 --- /dev/null +++ b/dist/lib-esm/typings/checkout/accountInfo.js @@ -0,0 +1,48 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export var AccountInfo; +(function (AccountInfo) { + AccountInfo.AccountAgeIndicatorEnum = { + NotApplicable: 'notApplicable', + ThisTransaction: 'thisTransaction', + LessThan30Days: 'lessThan30Days', + From30To60Days: 'from30To60Days', + MoreThan60Days: 'moreThan60Days' + }; + AccountInfo.AccountChangeIndicatorEnum = { + ThisTransaction: 'thisTransaction', + LessThan30Days: 'lessThan30Days', + From30To60Days: 'from30To60Days', + MoreThan60Days: 'moreThan60Days' + }; + AccountInfo.DeliveryAddressUsageIndicatorEnum = { + ThisTransaction: 'thisTransaction', + LessThan30Days: 'lessThan30Days', + From30To60Days: 'from30To60Days', + MoreThan60Days: 'moreThan60Days' + }; + AccountInfo.PasswordChangeIndicatorEnum = { + NotApplicable: 'notApplicable', + ThisTransaction: 'thisTransaction', + LessThan30Days: 'lessThan30Days', + From30To60Days: 'from30To60Days', + MoreThan60Days: 'moreThan60Days' + }; + AccountInfo.PaymentAccountIndicatorEnum = { + NotApplicable: 'notApplicable', + ThisTransaction: 'thisTransaction', + LessThan30Days: 'lessThan30Days', + From30To60Days: 'from30To60Days', + MoreThan60Days: 'moreThan60Days' + }; +})(AccountInfo || (AccountInfo = {})); +//# sourceMappingURL=accountInfo.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/accountInfo.js.map b/dist/lib-esm/typings/checkout/accountInfo.js.map new file mode 100644 index 0000000..fdb8750 --- /dev/null +++ b/dist/lib-esm/typings/checkout/accountInfo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"accountInfo.js","sourceRoot":"","sources":["../../../../src/typings/checkout/accountInfo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AA4EH,MAAM,KAAW,WAAW,CAuC3B;AAvCD,WAAiB,WAAW;IAEX,mCAAuB,GAAG;QACnC,aAAa,EAAE,eAA0C;QACzD,eAAe,EAAE,iBAA4C;QAC7D,cAAc,EAAE,gBAA2C;QAC3D,cAAc,EAAE,gBAA2C;QAC3D,cAAc,EAAE,gBAA2C;KAC9D,CAAC;IAEW,sCAA0B,GAAG;QACtC,eAAe,EAAE,iBAA+C;QAChE,cAAc,EAAE,gBAA8C;QAC9D,cAAc,EAAE,gBAA8C;QAC9D,cAAc,EAAE,gBAA8C;KACjE,CAAC;IAEW,6CAAiC,GAAG;QAC7C,eAAe,EAAE,iBAAsD;QACvE,cAAc,EAAE,gBAAqD;QACrE,cAAc,EAAE,gBAAqD;QACrE,cAAc,EAAE,gBAAqD;KACxE,CAAC;IAEW,uCAA2B,GAAG;QACvC,aAAa,EAAE,eAA8C;QAC7D,eAAe,EAAE,iBAAgD;QACjE,cAAc,EAAE,gBAA+C;QAC/D,cAAc,EAAE,gBAA+C;QAC/D,cAAc,EAAE,gBAA+C;KAClE,CAAC;IAEW,uCAA2B,GAAG;QACvC,aAAa,EAAE,eAA8C;QAC7D,eAAe,EAAE,iBAAgD;QACjE,cAAc,EAAE,gBAA+C;QAC/D,cAAc,EAAE,gBAA+C;QAC/D,cAAc,EAAE,gBAA+C;KAClE,CAAC;AACN,CAAC,EAvCgB,WAAW,KAAX,WAAW,QAuC3B"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/address.d.ts b/dist/lib-esm/typings/checkout/address.d.ts new file mode 100644 index 0000000..d4c5750 --- /dev/null +++ b/dist/lib-esm/typings/checkout/address.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Address { + /** + * The name of the city. >Required if either houseNumberOrName, street, postalCode, or stateOrProvince are provided. + */ + city?: string; + /** + * The two-character country code of the address >The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. 'NL'). + */ + country: string; + /** + * The number or name of the house. + */ + houseNumberOrName?: string; + /** + * The postal code. >A maximum of five (5) digits for an address in the USA, or a maximum of ten (10) characters for an address in all other countries. + */ + postalCode?: string; + /** + * The abbreviation of the state or province. >Two (2) characters for an address in the USA or Canada, or a maximum of three (3) characters for an address in all other countries. >Required for an address in the USA or Canada if either houseNumberOrName, street, city, or postalCode are provided. + */ + stateOrProvince?: string; + /** + * The name of the street. >The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. >Required if either houseNumberOrName, city, postalCode, or stateOrProvince are provided. + */ + street?: string; +} diff --git a/dist/lib-esm/typings/checkout/address.js b/dist/lib-esm/typings/checkout/address.js new file mode 100644 index 0000000..33874dc --- /dev/null +++ b/dist/lib-esm/typings/checkout/address.js @@ -0,0 +1,12 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=address.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/address.js.map b/dist/lib-esm/typings/checkout/address.js.map new file mode 100644 index 0000000..e699053 --- /dev/null +++ b/dist/lib-esm/typings/checkout/address.js.map @@ -0,0 +1 @@ +{"version":3,"file":"address.js","sourceRoot":"","sources":["../../../../src/typings/checkout/address.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/amount.d.ts b/dist/lib-esm/typings/checkout/amount.d.ts new file mode 100644 index 0000000..eab6c1f --- /dev/null +++ b/dist/lib-esm/typings/checkout/amount.d.ts @@ -0,0 +1,21 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Amount { + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + */ + currency: string; + /** + * The payable amount that can be charged for the transaction. The transaction amount needs to be represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). + */ + value: number; +} diff --git a/dist/lib-esm/typings/checkout/amount.js b/dist/lib-esm/typings/checkout/amount.js new file mode 100644 index 0000000..fb7f936 --- /dev/null +++ b/dist/lib-esm/typings/checkout/amount.js @@ -0,0 +1,12 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=amount.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/amount.js.map b/dist/lib-esm/typings/checkout/amount.js.map new file mode 100644 index 0000000..bd8d495 --- /dev/null +++ b/dist/lib-esm/typings/checkout/amount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"amount.js","sourceRoot":"","sources":["../../../../src/typings/checkout/amount.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/avs.d.ts b/dist/lib-esm/typings/checkout/avs.d.ts new file mode 100644 index 0000000..114f1e3 --- /dev/null +++ b/dist/lib-esm/typings/checkout/avs.d.ts @@ -0,0 +1,29 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Avs { + /** + * Indicates whether the shopper is allowed to modify the billing address for the current payment request. + */ + addressEditable?: boolean; + /** + * Specifies whether the shopper should enter their billing address during checkout. Allowed values: * yes — Perform AVS checks for every card payment. * automatic — Perform AVS checks only when required to optimize the conversion rate. * no — Do not perform AVS checks. + */ + enabled?: Avs.EnabledEnum; +} +export declare namespace Avs { + type EnabledEnum = 'yes' | 'no' | 'automatic'; + const EnabledEnum: { + Yes: EnabledEnum; + No: EnabledEnum; + Automatic: EnabledEnum; + }; +} diff --git a/dist/lib-esm/typings/checkout/avs.js b/dist/lib-esm/typings/checkout/avs.js new file mode 100644 index 0000000..4bdab54 --- /dev/null +++ b/dist/lib-esm/typings/checkout/avs.js @@ -0,0 +1,20 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export var Avs; +(function (Avs) { + Avs.EnabledEnum = { + Yes: 'yes', + No: 'no', + Automatic: 'automatic' + }; +})(Avs || (Avs = {})); +//# sourceMappingURL=avs.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/avs.js.map b/dist/lib-esm/typings/checkout/avs.js.map new file mode 100644 index 0000000..8a71db7 --- /dev/null +++ b/dist/lib-esm/typings/checkout/avs.js.map @@ -0,0 +1 @@ +{"version":3,"file":"avs.js","sourceRoot":"","sources":["../../../../src/typings/checkout/avs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAYH,MAAM,KAAW,GAAG,CAOnB;AAPD,WAAiB,GAAG;IAEH,eAAW,GAAG;QACvB,GAAG,EAAE,KAAoB;QACzB,EAAE,EAAE,IAAmB;QACvB,SAAS,EAAE,WAA0B;KACxC,CAAC;AACN,CAAC,EAPgB,GAAG,KAAH,GAAG,QAOnB"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/bankAccount.d.ts b/dist/lib-esm/typings/checkout/bankAccount.d.ts new file mode 100644 index 0000000..4df03ed --- /dev/null +++ b/dist/lib-esm/typings/checkout/bankAccount.d.ts @@ -0,0 +1,49 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface BankAccount { + /** + * The bank account number (without separators). + */ + bankAccountNumber?: string; + /** + * The bank city. + */ + bankCity?: string; + /** + * The location id of the bank. The field value is `nil` in most cases. + */ + bankLocationId?: string; + /** + * The name of the bank. + */ + bankName?: string; + /** + * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. + */ + bic?: string; + /** + * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). + */ + countryCode?: string; + /** + * The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN). + */ + iban?: string; + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + */ + ownerName?: string; + /** + * The bank account holder's tax ID. + */ + taxId?: string; +} diff --git a/dist/lib-esm/typings/checkout/bankAccount.js b/dist/lib-esm/typings/checkout/bankAccount.js new file mode 100644 index 0000000..f0f7ca4 --- /dev/null +++ b/dist/lib-esm/typings/checkout/bankAccount.js @@ -0,0 +1,12 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=bankAccount.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/bankAccount.js.map b/dist/lib-esm/typings/checkout/bankAccount.js.map new file mode 100644 index 0000000..4fcc660 --- /dev/null +++ b/dist/lib-esm/typings/checkout/bankAccount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bankAccount.js","sourceRoot":"","sources":["../../../../src/typings/checkout/bankAccount.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/browserInfo.d.ts b/dist/lib-esm/typings/checkout/browserInfo.d.ts new file mode 100644 index 0000000..d04a086 --- /dev/null +++ b/dist/lib-esm/typings/checkout/browserInfo.d.ts @@ -0,0 +1,49 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface BrowserInfo { + /** + * The accept header value of the shopper's browser. + */ + acceptHeader: string; + /** + * The color depth of the shopper's browser in bits per pixel. This should be obtained by using the browser's `screen.colorDepth` property. Accepted values: 1, 4, 8, 15, 16, 24, 32 or 48 bit color depth. + */ + colorDepth: number; + /** + * Boolean value indicating if the shopper's browser is able to execute Java. + */ + javaEnabled: boolean; + /** + * Boolean value indicating if the shopper's browser is able to execute JavaScript. A default 'true' value is assumed if the field is not present. + */ + javaScriptEnabled?: boolean; + /** + * The `navigator.language` value of the shopper's browser (as defined in IETF BCP 47). + */ + language: string; + /** + * The total height of the shopper's device screen in pixels. + */ + screenHeight: number; + /** + * The total width of the shopper's device screen in pixels. + */ + screenWidth: number; + /** + * Time difference between UTC time and the shopper's browser local time, in minutes. + */ + timeZoneOffset: number; + /** + * The user agent value of the shopper's browser. + */ + userAgent: string; +} diff --git a/dist/lib-esm/typings/checkout/browserInfo.js b/dist/lib-esm/typings/checkout/browserInfo.js new file mode 100644 index 0000000..862136c --- /dev/null +++ b/dist/lib-esm/typings/checkout/browserInfo.js @@ -0,0 +1,12 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=browserInfo.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/browserInfo.js.map b/dist/lib-esm/typings/checkout/browserInfo.js.map new file mode 100644 index 0000000..34d3e02 --- /dev/null +++ b/dist/lib-esm/typings/checkout/browserInfo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"browserInfo.js","sourceRoot":"","sources":["../../../../src/typings/checkout/browserInfo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/card.d.ts b/dist/lib-esm/typings/checkout/card.d.ts new file mode 100644 index 0000000..8e50909 --- /dev/null +++ b/dist/lib-esm/typings/checkout/card.d.ts @@ -0,0 +1,45 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Card { + /** + * The [card verification code](https://docs.adyen.com/payments-essentials/payment-glossary#card_security_code_cvc_cvv_cid_) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. + */ + cvc?: string; + /** + * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November + */ + expiryMonth: string; + /** + * The card expiry year. Format: 4 digits. For example: 2020 + */ + expiryYear: string; + /** + * The name of the cardholder, as printed on the card. + */ + holderName: string; + /** + * The issue number of the card (for some UK debit cards only). + */ + issueNumber?: string; + /** + * The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned. + */ + number: string; + /** + * The month component of the start date (for some UK debit cards only). + */ + startMonth?: string; + /** + * The year component of the start date (for some UK debit cards only). + */ + startYear?: string; +} diff --git a/dist/lib-esm/typings/checkout/card.js b/dist/lib-esm/typings/checkout/card.js new file mode 100644 index 0000000..2058f21 --- /dev/null +++ b/dist/lib-esm/typings/checkout/card.js @@ -0,0 +1,12 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=card.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/card.js.map b/dist/lib-esm/typings/checkout/card.js.map new file mode 100644 index 0000000..c6c53ca --- /dev/null +++ b/dist/lib-esm/typings/checkout/card.js.map @@ -0,0 +1 @@ +{"version":3,"file":"card.js","sourceRoot":"","sources":["../../../../src/typings/checkout/card.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/company.d.ts b/dist/lib-esm/typings/checkout/company.d.ts new file mode 100644 index 0000000..824dfc1 --- /dev/null +++ b/dist/lib-esm/typings/checkout/company.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Company { + /** + * The company website's home page. + */ + homepage?: string; + /** + * The company name. + */ + name?: string; + /** + * Registration number of the company. + */ + registrationNumber?: string; + /** + * Registry location of the company. + */ + registryLocation?: string; + /** + * Tax ID of the company. + */ + taxId?: string; + /** + * The company type. + */ + type?: string; +} diff --git a/dist/lib-esm/typings/checkout/company.js b/dist/lib-esm/typings/checkout/company.js new file mode 100644 index 0000000..273293d --- /dev/null +++ b/dist/lib-esm/typings/checkout/company.js @@ -0,0 +1,12 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=company.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/company.js.map b/dist/lib-esm/typings/checkout/company.js.map new file mode 100644 index 0000000..2d131d5 --- /dev/null +++ b/dist/lib-esm/typings/checkout/company.js.map @@ -0,0 +1 @@ +{"version":3,"file":"company.js","sourceRoot":"","sources":["../../../../src/typings/checkout/company.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/configuration.d.ts b/dist/lib-esm/typings/checkout/configuration.d.ts new file mode 100644 index 0000000..4d8e715 --- /dev/null +++ b/dist/lib-esm/typings/checkout/configuration.d.ts @@ -0,0 +1,30 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Avs } from './avs'; +import { Installments } from './installments'; +import { ShopperInput } from './shopperInput'; +export interface Configuration { + avs?: Avs; + /** + * Determines whether the cardholder name should be provided or not. Permitted values: * NONE * OPTIONAL * REQUIRED + */ + cardHolderName?: Configuration.CardHolderNameEnum; + installments?: Installments; + shopperInput?: ShopperInput; +} +export declare namespace Configuration { + type CardHolderNameEnum = 'NONE' | 'OPTIONAL' | 'REQUIRED'; + const CardHolderNameEnum: { + NONE: CardHolderNameEnum; + OPTIONAL: CardHolderNameEnum; + REQUIRED: CardHolderNameEnum; + }; +} diff --git a/dist/lib-esm/typings/checkout/configuration.js b/dist/lib-esm/typings/checkout/configuration.js new file mode 100644 index 0000000..a8efb50 --- /dev/null +++ b/dist/lib-esm/typings/checkout/configuration.js @@ -0,0 +1,9 @@ +export var Configuration; +(function (Configuration) { + Configuration.CardHolderNameEnum = { + NONE: 'NONE', + OPTIONAL: 'OPTIONAL', + REQUIRED: 'REQUIRED' + }; +})(Configuration || (Configuration = {})); +//# sourceMappingURL=configuration.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/configuration.js.map b/dist/lib-esm/typings/checkout/configuration.js.map new file mode 100644 index 0000000..8ee1662 --- /dev/null +++ b/dist/lib-esm/typings/checkout/configuration.js.map @@ -0,0 +1 @@ +{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../../../src/typings/checkout/configuration.ts"],"names":[],"mappings":"AAwBA,MAAM,KAAW,aAAa,CAO7B;AAPD,WAAiB,aAAa;IAEb,gCAAkB,GAAG;QAC9B,IAAI,EAAE,MAA4B;QAClC,QAAQ,EAAE,UAAgC;QAC1C,QAAQ,EAAE,UAAgC;KAC7C,CAAC;AACN,CAAC,EAPgB,aAAa,KAAb,aAAa,QAO7B"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/detailsRequest.d.ts b/dist/lib-esm/typings/checkout/detailsRequest.d.ts new file mode 100644 index 0000000..e661062 --- /dev/null +++ b/dist/lib-esm/typings/checkout/detailsRequest.d.ts @@ -0,0 +1,25 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface DetailsRequest { + /** + * Use this collection to submit the details that were returned as a result of the `/payments` call. + */ + details: any; + /** + * The `paymentData` value that you received in the response to the `/payments` call. + */ + paymentData?: string; + /** + * Change the `authenticationOnly` indicator originally set in the `/payments` request. Only needs to be set if you want to modify the value set previously. + */ + threeDSAuthenticationOnly?: boolean; +} diff --git a/dist/lib-esm/typings/checkout/detailsRequest.js b/dist/lib-esm/typings/checkout/detailsRequest.js new file mode 100644 index 0000000..2885868 --- /dev/null +++ b/dist/lib-esm/typings/checkout/detailsRequest.js @@ -0,0 +1,12 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=detailsRequest.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/detailsRequest.js.map b/dist/lib-esm/typings/checkout/detailsRequest.js.map new file mode 100644 index 0000000..24f873d --- /dev/null +++ b/dist/lib-esm/typings/checkout/detailsRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"detailsRequest.js","sourceRoot":"","sources":["../../../../src/typings/checkout/detailsRequest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/deviceRenderOptions.d.ts b/dist/lib-esm/typings/checkout/deviceRenderOptions.d.ts new file mode 100644 index 0000000..bb4f119 --- /dev/null +++ b/dist/lib-esm/typings/checkout/deviceRenderOptions.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface DeviceRenderOptions { + /** + * Supported SDK interface types. Allowed values: * Native * Html * both + */ + sdkInterface?: DeviceRenderOptions.SdkInterfaceEnum; + /** + * UI types supported for displaying specific challenges. Allowed values: * text * singleSelect * outOfBand * otherHtml * multiSelect + */ + sdkUiType?: Array; +} +export declare namespace DeviceRenderOptions { + type SdkInterfaceEnum = 'Html' | 'Native' | 'both'; + const SdkInterfaceEnum: { + Html: SdkInterfaceEnum; + Native: SdkInterfaceEnum; + Both: SdkInterfaceEnum; + }; + type SdkUiTypeEnum = 'multiSelect' | 'otherHtml' | 'outOfBand' | 'singleSelect' | 'text'; + const SdkUiTypeEnum: { + MultiSelect: SdkUiTypeEnum; + OtherHtml: SdkUiTypeEnum; + OutOfBand: SdkUiTypeEnum; + SingleSelect: SdkUiTypeEnum; + Text: SdkUiTypeEnum; + }; +} diff --git a/dist/lib-esm/typings/checkout/deviceRenderOptions.js b/dist/lib-esm/typings/checkout/deviceRenderOptions.js new file mode 100644 index 0000000..b797e8a --- /dev/null +++ b/dist/lib-esm/typings/checkout/deviceRenderOptions.js @@ -0,0 +1,27 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export var DeviceRenderOptions; +(function (DeviceRenderOptions) { + DeviceRenderOptions.SdkInterfaceEnum = { + Html: 'Html', + Native: 'Native', + Both: 'both' + }; + DeviceRenderOptions.SdkUiTypeEnum = { + MultiSelect: 'multiSelect', + OtherHtml: 'otherHtml', + OutOfBand: 'outOfBand', + SingleSelect: 'singleSelect', + Text: 'text' + }; +})(DeviceRenderOptions || (DeviceRenderOptions = {})); +//# sourceMappingURL=deviceRenderOptions.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/deviceRenderOptions.js.map b/dist/lib-esm/typings/checkout/deviceRenderOptions.js.map new file mode 100644 index 0000000..7497a21 --- /dev/null +++ b/dist/lib-esm/typings/checkout/deviceRenderOptions.js.map @@ -0,0 +1 @@ +{"version":3,"file":"deviceRenderOptions.js","sourceRoot":"","sources":["../../../../src/typings/checkout/deviceRenderOptions.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAYH,MAAM,KAAW,mBAAmB,CAenC;AAfD,WAAiB,mBAAmB;IAEnB,oCAAgB,GAAG;QAC5B,IAAI,EAAE,MAA0B;QAChC,MAAM,EAAE,QAA4B;QACpC,IAAI,EAAE,MAA0B;KACnC,CAAC;IAEW,iCAAa,GAAG;QACzB,WAAW,EAAE,aAA8B;QAC3C,SAAS,EAAE,WAA4B;QACvC,SAAS,EAAE,WAA4B;QACvC,YAAY,EAAE,cAA+B;QAC7C,IAAI,EAAE,MAAuB;KAChC,CAAC;AACN,CAAC,EAfgB,mBAAmB,KAAnB,mBAAmB,QAenC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/forexQuote.d.ts b/dist/lib-esm/typings/checkout/forexQuote.d.ts new file mode 100644 index 0000000..19122ec --- /dev/null +++ b/dist/lib-esm/typings/checkout/forexQuote.d.ts @@ -0,0 +1,49 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Amount } from './amount'; +export interface ForexQuote { + /** + * The account name. + */ + account?: string; + /** + * The account type. + */ + accountType?: string; + baseAmount?: Amount; + /** + * The base points. + */ + basePoints: number; + buy?: Amount; + interbank?: Amount; + /** + * The reference assigned to the forex quote request. + */ + reference?: string; + sell?: Amount; + /** + * The signature to validate the integrity. + */ + signature?: string; + /** + * The source of the forex quote. + */ + source?: string; + /** + * The type of forex. + */ + type?: string; + /** + * The date until which the forex quote is valid. + */ + validTill: Date; +} diff --git a/dist/lib-esm/typings/checkout/forexQuote.js b/dist/lib-esm/typings/checkout/forexQuote.js new file mode 100644 index 0000000..95de125 --- /dev/null +++ b/dist/lib-esm/typings/checkout/forexQuote.js @@ -0,0 +1 @@ +//# sourceMappingURL=forexQuote.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/forexQuote.js.map b/dist/lib-esm/typings/checkout/forexQuote.js.map new file mode 100644 index 0000000..32974b2 --- /dev/null +++ b/dist/lib-esm/typings/checkout/forexQuote.js.map @@ -0,0 +1 @@ +{"version":3,"file":"forexQuote.js","sourceRoot":"","sources":["../../../../src/typings/checkout/forexQuote.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/fraudCheckResult.d.ts b/dist/lib-esm/typings/checkout/fraudCheckResult.d.ts new file mode 100644 index 0000000..974bc09 --- /dev/null +++ b/dist/lib-esm/typings/checkout/fraudCheckResult.d.ts @@ -0,0 +1,25 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface FraudCheckResult { + /** + * The fraud score generated by the risk check. + */ + accountScore: number; + /** + * The ID of the risk check. + */ + checkId: number; + /** + * The name of the risk check. + */ + name: string; +} diff --git a/dist/lib-esm/typings/checkout/fraudCheckResult.js b/dist/lib-esm/typings/checkout/fraudCheckResult.js new file mode 100644 index 0000000..f4aeff6 --- /dev/null +++ b/dist/lib-esm/typings/checkout/fraudCheckResult.js @@ -0,0 +1,12 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=fraudCheckResult.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/fraudCheckResult.js.map b/dist/lib-esm/typings/checkout/fraudCheckResult.js.map new file mode 100644 index 0000000..0abf22e --- /dev/null +++ b/dist/lib-esm/typings/checkout/fraudCheckResult.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fraudCheckResult.js","sourceRoot":"","sources":["../../../../src/typings/checkout/fraudCheckResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/fraudResult.d.ts b/dist/lib-esm/typings/checkout/fraudResult.d.ts new file mode 100644 index 0000000..0875fc7 --- /dev/null +++ b/dist/lib-esm/typings/checkout/fraudResult.d.ts @@ -0,0 +1,21 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { FraudCheckResult } from './fraudCheckResult'; +export interface FraudResult { + /** + * The total fraud score generated by the risk checks. + */ + accountScore: number; + /** + * The result of the individual risk checks. + */ + results?: Array; +} diff --git a/dist/lib-esm/typings/checkout/fraudResult.js b/dist/lib-esm/typings/checkout/fraudResult.js new file mode 100644 index 0000000..4711992 --- /dev/null +++ b/dist/lib-esm/typings/checkout/fraudResult.js @@ -0,0 +1 @@ +//# sourceMappingURL=fraudResult.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/fraudResult.js.map b/dist/lib-esm/typings/checkout/fraudResult.js.map new file mode 100644 index 0000000..1991287 --- /dev/null +++ b/dist/lib-esm/typings/checkout/fraudResult.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fraudResult.js","sourceRoot":"","sources":["../../../../src/typings/checkout/fraudResult.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/index.d.ts b/dist/lib-esm/typings/checkout/index.d.ts new file mode 100644 index 0000000..478d06e --- /dev/null +++ b/dist/lib-esm/typings/checkout/index.d.ts @@ -0,0 +1,43 @@ +export * from './accountInfo'; +export * from './address'; +export * from './amount'; +export * from './avs'; +export * from './bankAccount'; +export * from './browserInfo'; +export * from './card'; +export * from './company'; +export * from './configuration'; +export * from './detailsRequest'; +export * from './deviceRenderOptions'; +export * from './forexQuote'; +export * from './fraudCheckResult'; +export * from './fraudResult'; +export * from './inputDetail'; +export * from './installments'; +export * from './item'; +export * from './lineItem'; +export * from './merchantRiskIndicator'; +export * from './name'; +export * from './paymentMethod'; +export * from './paymentMethodGroup'; +export * from './paymentMethodsGroup'; +export * from './paymentMethodsRequest'; +export * from './paymentMethodsResponse'; +export * from './paymentRequest'; +export * from './paymentResponse'; +export * from './paymentSetupRequest'; +export * from './paymentSetupResponse'; +export * from './paymentVerificationRequest'; +export * from './paymentVerificationResponse'; +export * from './recurring'; +export * from './recurringDetail'; +export * from './redirect'; +export * from './sDKEphemPubKey'; +export * from './serviceError'; +export * from './shopperInput'; +export * from './split'; +export * from './splitAmount'; +export * from './storedDetails'; +export * from './subInputDetail'; +export * from './threeDS2RequestData'; +export * from './threeDSecureData'; diff --git a/dist/lib-esm/typings/checkout/index.js b/dist/lib-esm/typings/checkout/index.js new file mode 100644 index 0000000..32c35f7 --- /dev/null +++ b/dist/lib-esm/typings/checkout/index.js @@ -0,0 +1,19 @@ +export * from './accountInfo'; +export * from './avs'; +export * from './configuration'; +export * from './deviceRenderOptions'; +export * from './lineItem'; +export * from './merchantRiskIndicator'; +export * from './name'; +export * from './paymentMethodsRequest'; +export * from './paymentRequest'; +export * from './paymentResponse'; +export * from './paymentSetupRequest'; +export * from './paymentVerificationResponse'; +export * from './recurring'; +export * from './redirect'; +export * from './shopperInput'; +export * from './split'; +export * from './threeDS2RequestData'; +export * from './threeDSecureData'; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/index.js.map b/dist/lib-esm/typings/checkout/index.js.map new file mode 100644 index 0000000..35e649f --- /dev/null +++ b/dist/lib-esm/typings/checkout/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/typings/checkout/index.ts"],"names":[],"mappings":"AAEA,cAAc,eAAe,CAAC;AAG9B,cAAc,OAAO,CAAC;AAKtB,cAAc,iBAAiB,CAAC;AAEhC,cAAc,uBAAuB,CAAC;AAOtC,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,QAAQ,CAAC;AAIvB,cAAc,yBAAyB,CAAC;AAExC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AAGtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,aAAa,CAAC;AAE5B,cAAc,YAAY,CAAC;AAG3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AAIxB,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/inputDetail.d.ts b/dist/lib-esm/typings/checkout/inputDetail.d.ts new file mode 100644 index 0000000..541e87c --- /dev/null +++ b/dist/lib-esm/typings/checkout/inputDetail.d.ts @@ -0,0 +1,46 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Item } from './item'; +import { SubInputDetail } from './subInputDetail'; +export interface InputDetail { + /** + * Configuration parameters for the required input. + */ + configuration?: any; + /** + * Input details can also be provided recursively. + */ + details?: Array; + /** + * In case of a select, the URL from which to query the items. + */ + itemSearchUrl?: string; + /** + * In case of a select, the items to choose from. + */ + items?: Array; + /** + * The value to provide in the result. + */ + key?: string; + /** + * True if this input value is optional. + */ + optional?: boolean; + /** + * The type of the required input. + */ + type?: string; + /** + * The value can be pre-filled, if available. + */ + value?: string; +} diff --git a/dist/lib-esm/typings/checkout/inputDetail.js b/dist/lib-esm/typings/checkout/inputDetail.js new file mode 100644 index 0000000..ea1a3d0 --- /dev/null +++ b/dist/lib-esm/typings/checkout/inputDetail.js @@ -0,0 +1 @@ +//# sourceMappingURL=inputDetail.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/inputDetail.js.map b/dist/lib-esm/typings/checkout/inputDetail.js.map new file mode 100644 index 0000000..ba0851d --- /dev/null +++ b/dist/lib-esm/typings/checkout/inputDetail.js.map @@ -0,0 +1 @@ +{"version":3,"file":"inputDetail.js","sourceRoot":"","sources":["../../../../src/typings/checkout/inputDetail.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/installments.d.ts b/dist/lib-esm/typings/checkout/installments.d.ts new file mode 100644 index 0000000..62d4045 --- /dev/null +++ b/dist/lib-esm/typings/checkout/installments.d.ts @@ -0,0 +1,17 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Installments { + /** + * Defines the number of installments. Its value needs to be greater than zero. Usually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary. + */ + value: number; +} diff --git a/dist/lib-esm/typings/checkout/installments.js b/dist/lib-esm/typings/checkout/installments.js new file mode 100644 index 0000000..401f9f6 --- /dev/null +++ b/dist/lib-esm/typings/checkout/installments.js @@ -0,0 +1,12 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=installments.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/installments.js.map b/dist/lib-esm/typings/checkout/installments.js.map new file mode 100644 index 0000000..48f0118 --- /dev/null +++ b/dist/lib-esm/typings/checkout/installments.js.map @@ -0,0 +1 @@ +{"version":3,"file":"installments.js","sourceRoot":"","sources":["../../../../src/typings/checkout/installments.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/item.d.ts b/dist/lib-esm/typings/checkout/item.d.ts new file mode 100644 index 0000000..95a9a91 --- /dev/null +++ b/dist/lib-esm/typings/checkout/item.d.ts @@ -0,0 +1,21 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Item { + /** + * The value to provide in the result. + */ + id?: string; + /** + * The display name. + */ + name?: string; +} diff --git a/dist/lib-esm/typings/checkout/item.js b/dist/lib-esm/typings/checkout/item.js new file mode 100644 index 0000000..66ee684 --- /dev/null +++ b/dist/lib-esm/typings/checkout/item.js @@ -0,0 +1,12 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=item.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/item.js.map b/dist/lib-esm/typings/checkout/item.js.map new file mode 100644 index 0000000..3122280 --- /dev/null +++ b/dist/lib-esm/typings/checkout/item.js.map @@ -0,0 +1 @@ +{"version":3,"file":"item.js","sourceRoot":"","sources":["../../../../src/typings/checkout/item.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/lineItem.d.ts b/dist/lib-esm/typings/checkout/lineItem.d.ts new file mode 100644 index 0000000..73b5fa6 --- /dev/null +++ b/dist/lib-esm/typings/checkout/lineItem.d.ts @@ -0,0 +1,54 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface LineItem { + /** + * Item amount excluding the tax, in minor units. + */ + amountExcludingTax?: number; + /** + * Item amount including the tax, in minor units. + */ + amountIncludingTax?: number; + /** + * Description of the line item. + */ + description?: string; + /** + * ID of the line item. + */ + id?: string; + /** + * Number of items. + */ + quantity?: number; + /** + * Tax amount, in minor units. + */ + taxAmount?: number; + /** + * Tax category: High, Low, None, Zero + */ + taxCategory?: LineItem.TaxCategoryEnum; + /** + * Tax percentage, in minor units. + */ + taxPercentage?: number; +} +export declare namespace LineItem { + type TaxCategoryEnum = 'High' | 'Low' | 'None' | 'Zero'; + const TaxCategoryEnum: { + High: TaxCategoryEnum; + Low: TaxCategoryEnum; + None: TaxCategoryEnum; + Zero: TaxCategoryEnum; + }; +} diff --git a/dist/lib-esm/typings/checkout/lineItem.js b/dist/lib-esm/typings/checkout/lineItem.js new file mode 100644 index 0000000..7169c6c --- /dev/null +++ b/dist/lib-esm/typings/checkout/lineItem.js @@ -0,0 +1,21 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export var LineItem; +(function (LineItem) { + LineItem.TaxCategoryEnum = { + High: 'High', + Low: 'Low', + None: 'None', + Zero: 'Zero' + }; +})(LineItem || (LineItem = {})); +//# sourceMappingURL=lineItem.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/lineItem.js.map b/dist/lib-esm/typings/checkout/lineItem.js.map new file mode 100644 index 0000000..a4e4882 --- /dev/null +++ b/dist/lib-esm/typings/checkout/lineItem.js.map @@ -0,0 +1 @@ +{"version":3,"file":"lineItem.js","sourceRoot":"","sources":["../../../../src/typings/checkout/lineItem.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAoCH,MAAM,KAAW,QAAQ,CAQxB;AARD,WAAiB,QAAQ;IAER,wBAAe,GAAG;QAC3B,IAAI,EAAE,MAAyB;QAC/B,GAAG,EAAE,KAAwB;QAC7B,IAAI,EAAE,MAAyB;QAC/B,IAAI,EAAE,MAAyB;KAClC,CAAC;AACN,CAAC,EARgB,QAAQ,KAAR,QAAQ,QAQxB"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/merchantRiskIndicator.d.ts b/dist/lib-esm/typings/checkout/merchantRiskIndicator.d.ts new file mode 100644 index 0000000..a87cd5c --- /dev/null +++ b/dist/lib-esm/typings/checkout/merchantRiskIndicator.d.ts @@ -0,0 +1,65 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Amount } from './amount'; +export interface MerchantRiskIndicator { + /** + * Whether the chosen delivery address is identical to the billing address. + */ + addressMatch?: boolean; + /** + * Indicator regarding the delivery address. Allowed values: * `shipToBillingAddress` * `shipToVerifiedAddress` * `shipToNewAddress` * `shipToStore` * `digitalGoods` * `goodsNotShipped` * `other` + */ + deliveryAddressIndicator?: MerchantRiskIndicator.DeliveryAddressIndicatorEnum; + /** + * The delivery email address (for digital goods). + */ + deliveryEmail?: string; + /** + * The estimated delivery time for the shopper to receive the goods. Allowed values: * `electronicDelivery` * `sameDayShipping` * `overnightShipping` * `twoOrMoreDaysShipping` + */ + deliveryTimeframe?: MerchantRiskIndicator.DeliveryTimeframeEnum; + giftCardAmount?: Amount; + /** + * Number of individual prepaid or gift cards used for this purchase. + */ + giftCardCount?: number; + /** + * For pre-order purchases, the expected date this product will be available to the shopper. + */ + preOrderDate?: Date; + /** + * Indicator for whether this transaction is for pre-ordering a product. + */ + preOrderPurchase?: boolean; + /** + * Indicator for whether the shopper has already purchased the same items in the past. + */ + reorderItems?: boolean; +} +export declare namespace MerchantRiskIndicator { + type DeliveryAddressIndicatorEnum = 'shipToBillingAddress' | 'shipToVerifiedAddress' | 'shipToNewAddress' | 'shipToStore' | 'digitalGoods' | 'goodsNotShipped' | 'other'; + const DeliveryAddressIndicatorEnum: { + ShipToBillingAddress: DeliveryAddressIndicatorEnum; + ShipToVerifiedAddress: DeliveryAddressIndicatorEnum; + ShipToNewAddress: DeliveryAddressIndicatorEnum; + ShipToStore: DeliveryAddressIndicatorEnum; + DigitalGoods: DeliveryAddressIndicatorEnum; + GoodsNotShipped: DeliveryAddressIndicatorEnum; + Other: DeliveryAddressIndicatorEnum; + }; + type DeliveryTimeframeEnum = 'electronicDelivery' | 'sameDayShipping' | 'overnightShipping' | 'twoOrMoreDaysShipping'; + const DeliveryTimeframeEnum: { + ElectronicDelivery: DeliveryTimeframeEnum; + SameDayShipping: DeliveryTimeframeEnum; + OvernightShipping: DeliveryTimeframeEnum; + TwoOrMoreDaysShipping: DeliveryTimeframeEnum; + }; +} diff --git a/dist/lib-esm/typings/checkout/merchantRiskIndicator.js b/dist/lib-esm/typings/checkout/merchantRiskIndicator.js new file mode 100644 index 0000000..4109dcc --- /dev/null +++ b/dist/lib-esm/typings/checkout/merchantRiskIndicator.js @@ -0,0 +1,19 @@ +export var MerchantRiskIndicator; +(function (MerchantRiskIndicator) { + MerchantRiskIndicator.DeliveryAddressIndicatorEnum = { + ShipToBillingAddress: 'shipToBillingAddress', + ShipToVerifiedAddress: 'shipToVerifiedAddress', + ShipToNewAddress: 'shipToNewAddress', + ShipToStore: 'shipToStore', + DigitalGoods: 'digitalGoods', + GoodsNotShipped: 'goodsNotShipped', + Other: 'other' + }; + MerchantRiskIndicator.DeliveryTimeframeEnum = { + ElectronicDelivery: 'electronicDelivery', + SameDayShipping: 'sameDayShipping', + OvernightShipping: 'overnightShipping', + TwoOrMoreDaysShipping: 'twoOrMoreDaysShipping' + }; +})(MerchantRiskIndicator || (MerchantRiskIndicator = {})); +//# sourceMappingURL=merchantRiskIndicator.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/merchantRiskIndicator.js.map b/dist/lib-esm/typings/checkout/merchantRiskIndicator.js.map new file mode 100644 index 0000000..8433cd9 --- /dev/null +++ b/dist/lib-esm/typings/checkout/merchantRiskIndicator.js.map @@ -0,0 +1 @@ +{"version":3,"file":"merchantRiskIndicator.js","sourceRoot":"","sources":["../../../../src/typings/checkout/merchantRiskIndicator.ts"],"names":[],"mappings":"AAkDA,MAAM,KAAW,qBAAqB,CAkBrC;AAlBD,WAAiB,qBAAqB;IAErB,kDAA4B,GAAG;QACxC,oBAAoB,EAAE,sBAAsD;QAC5E,qBAAqB,EAAE,uBAAuD;QAC9E,gBAAgB,EAAE,kBAAkD;QACpE,WAAW,EAAE,aAA6C;QAC1D,YAAY,EAAE,cAA8C;QAC5D,eAAe,EAAE,iBAAiD;QAClE,KAAK,EAAE,OAAuC;KACjD,CAAC;IAEW,2CAAqB,GAAG;QACjC,kBAAkB,EAAE,oBAA6C;QACjE,eAAe,EAAE,iBAA0C;QAC3D,iBAAiB,EAAE,mBAA4C;QAC/D,qBAAqB,EAAE,uBAAgD;KAC1E,CAAC;AACN,CAAC,EAlBgB,qBAAqB,KAArB,qBAAqB,QAkBrC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/name.d.ts b/dist/lib-esm/typings/checkout/name.d.ts new file mode 100644 index 0000000..aa0e5f5 --- /dev/null +++ b/dist/lib-esm/typings/checkout/name.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Name { + /** + * The first name. + */ + firstName: string; + /** + * The gender. >The following values are permitted: `MALE`, `FEMALE`, `UNKNOWN`. + */ + gender: Name.GenderEnum; + /** + * The name's infix, if applicable. >A maximum length of twenty (20) characters is imposed. + */ + infix?: string; + /** + * The last name. + */ + lastName: string; +} +export declare namespace Name { + type GenderEnum = 'MALE' | 'FEMALE' | 'UNKNOWN'; + const GenderEnum: { + MALE: GenderEnum; + FEMALE: GenderEnum; + UNKNOWN: GenderEnum; + }; +} diff --git a/dist/lib-esm/typings/checkout/name.js b/dist/lib-esm/typings/checkout/name.js new file mode 100644 index 0000000..e51c23f --- /dev/null +++ b/dist/lib-esm/typings/checkout/name.js @@ -0,0 +1,20 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export var Name; +(function (Name) { + Name.GenderEnum = { + MALE: 'MALE', + FEMALE: 'FEMALE', + UNKNOWN: 'UNKNOWN' + }; +})(Name || (Name = {})); +//# sourceMappingURL=name.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/name.js.map b/dist/lib-esm/typings/checkout/name.js.map new file mode 100644 index 0000000..750787f --- /dev/null +++ b/dist/lib-esm/typings/checkout/name.js.map @@ -0,0 +1 @@ +{"version":3,"file":"name.js","sourceRoot":"","sources":["../../../../src/typings/checkout/name.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAoBH,MAAM,KAAW,IAAI,CAOpB;AAPD,WAAiB,IAAI;IAEJ,eAAU,GAAG;QACtB,IAAI,EAAE,MAAoB;QAC1B,MAAM,EAAE,QAAsB;QAC9B,OAAO,EAAE,SAAuB;KACnC,CAAC;AACN,CAAC,EAPgB,IAAI,KAAJ,IAAI,QAOpB"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/paymentMethod.d.ts b/dist/lib-esm/typings/checkout/paymentMethod.d.ts new file mode 100644 index 0000000..217cdf5 --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentMethod.d.ts @@ -0,0 +1,39 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { InputDetail } from './inputDetail'; +import { PaymentMethodGroup } from './paymentMethodGroup'; +export interface PaymentMethod { + /** + * The configuration of the payment method. + */ + configuration?: any; + /** + * All input details to be provided to complete the payment with this payment method. + */ + details?: Array; + group?: PaymentMethodGroup; + /** + * The displayable name of this payment method. + */ + name?: string; + /** + * Echo data required to send in next calls. + */ + paymentMethodData?: string; + /** + * Indicates whether this payment method supports tokenization or not. + */ + supportsRecurring?: boolean; + /** + * The unique payment method code. + */ + type?: string; +} diff --git a/dist/lib-esm/typings/checkout/paymentMethod.js b/dist/lib-esm/typings/checkout/paymentMethod.js new file mode 100644 index 0000000..8a4b08b --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentMethod.js @@ -0,0 +1 @@ +//# sourceMappingURL=paymentMethod.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/paymentMethod.js.map b/dist/lib-esm/typings/checkout/paymentMethod.js.map new file mode 100644 index 0000000..9c3250e --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentMethod.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentMethod.js","sourceRoot":"","sources":["../../../../src/typings/checkout/paymentMethod.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/paymentMethodGroup.d.ts b/dist/lib-esm/typings/checkout/paymentMethodGroup.d.ts new file mode 100644 index 0000000..2f6ca66 --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentMethodGroup.d.ts @@ -0,0 +1,25 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface PaymentMethodGroup { + /** + * The name of the group. + */ + name?: string; + /** + * Echo data to be used if the payment method is displayed as part of this group. + */ + paymentMethodData?: string; + /** + * The unique code of the group. + */ + type?: string; +} diff --git a/dist/lib-esm/typings/checkout/paymentMethodGroup.js b/dist/lib-esm/typings/checkout/paymentMethodGroup.js new file mode 100644 index 0000000..5992668 --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentMethodGroup.js @@ -0,0 +1,12 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=paymentMethodGroup.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/paymentMethodGroup.js.map b/dist/lib-esm/typings/checkout/paymentMethodGroup.js.map new file mode 100644 index 0000000..e8ee719 --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentMethodGroup.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentMethodGroup.js","sourceRoot":"","sources":["../../../../src/typings/checkout/paymentMethodGroup.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/paymentMethodsGroup.d.ts b/dist/lib-esm/typings/checkout/paymentMethodsGroup.d.ts new file mode 100644 index 0000000..cdd9023 --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentMethodsGroup.d.ts @@ -0,0 +1,25 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface PaymentMethodsGroup { + /** + * The type to submit for any payment method in this group. + */ + groupType?: string; + /** + * The human-readable name of this group. + */ + name?: string; + /** + * The types of payment methods that belong in this group. + */ + types?: Array; +} diff --git a/dist/lib-esm/typings/checkout/paymentMethodsGroup.js b/dist/lib-esm/typings/checkout/paymentMethodsGroup.js new file mode 100644 index 0000000..d0a15bd --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentMethodsGroup.js @@ -0,0 +1,12 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=paymentMethodsGroup.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/paymentMethodsGroup.js.map b/dist/lib-esm/typings/checkout/paymentMethodsGroup.js.map new file mode 100644 index 0000000..edefaea --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentMethodsGroup.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentMethodsGroup.js","sourceRoot":"","sources":["../../../../src/typings/checkout/paymentMethodsGroup.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/paymentMethodsRequest.d.ts b/dist/lib-esm/typings/checkout/paymentMethodsRequest.d.ts new file mode 100644 index 0000000..44a2316 --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentMethodsRequest.d.ts @@ -0,0 +1,54 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Amount } from './amount'; +export interface PaymentMethodsRequest { + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. For more information on possible key-value pairs, refer to the [additionalData section](https://docs.adyen.com/api-reference/payments-api#paymentrequestadditionaldata). + */ + additionalData?: any; + /** + * List of payments methods to be presented to the shopper. To refer to payment methods, use their `brandCode` from [Payment methods overview](https://docs.adyen.com/payment-methods/payment-methods-overview). + */ + allowedPaymentMethods?: Array; + amount?: Amount; + /** + * List of payments methods to be hidden from the shopper. To refer to payment methods, use their `brandCode` from [Payment methods overview](https://docs.adyen.com/payment-methods/payment-methods-overview). + */ + blockedPaymentMethods?: Array; + /** + * The platform where a payment transaction takes place. This field can be used for filtering out payment methods that are only available on specific platforms. Possible values: * iOS * Android * Web + */ + channel?: PaymentMethodsRequest.ChannelEnum; + /** + * The shopper's country code. + */ + countryCode?: string; + /** + * The merchant account identifier, with which you want to process the transaction. + */ + merchantAccount: string; + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + */ + shopperLocale?: string; + /** + * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). > This field is required for recurring payments. + */ + shopperReference?: string; +} +export declare namespace PaymentMethodsRequest { + type ChannelEnum = 'iOS' | 'Android' | 'Web'; + const ChannelEnum: { + IOS: ChannelEnum; + Android: ChannelEnum; + Web: ChannelEnum; + }; +} diff --git a/dist/lib-esm/typings/checkout/paymentMethodsRequest.js b/dist/lib-esm/typings/checkout/paymentMethodsRequest.js new file mode 100644 index 0000000..777566e --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentMethodsRequest.js @@ -0,0 +1,9 @@ +export var PaymentMethodsRequest; +(function (PaymentMethodsRequest) { + PaymentMethodsRequest.ChannelEnum = { + IOS: 'iOS', + Android: 'Android', + Web: 'Web' + }; +})(PaymentMethodsRequest || (PaymentMethodsRequest = {})); +//# sourceMappingURL=paymentMethodsRequest.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/paymentMethodsRequest.js.map b/dist/lib-esm/typings/checkout/paymentMethodsRequest.js.map new file mode 100644 index 0000000..8ff8fac --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentMethodsRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentMethodsRequest.js","sourceRoot":"","sources":["../../../../src/typings/checkout/paymentMethodsRequest.ts"],"names":[],"mappings":"AAkDA,MAAM,KAAW,qBAAqB,CAOrC;AAPD,WAAiB,qBAAqB;IAErB,iCAAW,GAAG;QACvB,GAAG,EAAE,KAAoB;QACzB,OAAO,EAAE,SAAwB;QACjC,GAAG,EAAE,KAAoB;KAC5B,CAAC;AACN,CAAC,EAPgB,qBAAqB,KAArB,qBAAqB,QAOrC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/paymentMethodsResponse.d.ts b/dist/lib-esm/typings/checkout/paymentMethodsResponse.d.ts new file mode 100644 index 0000000..069b988 --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentMethodsResponse.d.ts @@ -0,0 +1,27 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { PaymentMethod } from './paymentMethod'; +import { PaymentMethodsGroup } from './paymentMethodsGroup'; +import { RecurringDetail } from './recurringDetail'; +export interface PaymentMethodsResponse { + /** + * Groups of payment methods. + */ + groups?: Array; + /** + * Detailed list of one-click payment methods. + */ + oneClickPaymentMethods?: Array; + /** + * Detailed list of payment methods required to generate payment forms. + */ + paymentMethods?: Array; +} diff --git a/dist/lib-esm/typings/checkout/paymentMethodsResponse.js b/dist/lib-esm/typings/checkout/paymentMethodsResponse.js new file mode 100644 index 0000000..c522714 --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentMethodsResponse.js @@ -0,0 +1 @@ +//# sourceMappingURL=paymentMethodsResponse.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/paymentMethodsResponse.js.map b/dist/lib-esm/typings/checkout/paymentMethodsResponse.js.map new file mode 100644 index 0000000..64d2b01 --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentMethodsResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentMethodsResponse.js","sourceRoot":"","sources":["../../../../src/typings/checkout/paymentMethodsResponse.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/paymentRequest.d.ts b/dist/lib-esm/typings/checkout/paymentRequest.d.ts new file mode 100644 index 0000000..df8d584 --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentRequest.d.ts @@ -0,0 +1,210 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { AccountInfo } from './accountInfo'; +import { Address } from './address'; +import { Amount } from './amount'; +import { BrowserInfo } from './browserInfo'; +import { Company } from './company'; +import { ForexQuote } from './forexQuote'; +import { Installments } from './installments'; +import { LineItem } from './lineItem'; +import { MerchantRiskIndicator } from './merchantRiskIndicator'; +import { Name } from './name'; +import { Split } from './split'; +import { ThreeDS2RequestData } from './threeDS2RequestData'; +import { ThreeDSecureData } from './threeDSecureData'; +import { ApplicationInfo } from "../applicationInfo"; +export declare class PaymentRequest { + applicationInfo?: ApplicationInfo; + accountInfo?: AccountInfo; + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. For more information on possible key-value pairs, refer to the [additionalData section](https://docs.adyen.com/api-reference/payments-api#paymentrequestadditionaldata). + */ + additionalData?: any; + amount: Amount; + billingAddress?: Address; + browserInfo?: BrowserInfo; + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + */ + captureDelayHours?: number; + /** + * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web + */ + channel?: PaymentRequest.ChannelEnum; + company?: Company; + /** + * The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE + */ + countryCode?: string; + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + */ + dateOfBirth?: Date; + dccQuote?: ForexQuote; + deliveryAddress?: Address; + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + */ + deliveryDate?: Date; + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + */ + deviceFingerprint?: string; + /** + * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future one-click payments. + */ + enableOneClick?: boolean; + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. + */ + enablePayOut?: boolean; + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for recurring payments. + */ + enableRecurring?: boolean; + /** + * The type of the entity the payment is processed for. + */ + entityType?: PaymentRequest.EntityTypeEnum; + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + */ + fraudOffset?: number; + installments?: Installments; + /** + * Line items regarding the payment. + */ + lineItems?: Array; + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + */ + mcc?: string; + /** + * The merchant account identifier, with which you want to process the transaction. + */ + merchantAccount: string; + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + */ + merchantOrderReference?: string; + merchantRiskIndicator?: MerchantRiskIndicator; + /** + * Metadata consists of entries, each of which includes a key and a value. Limitations: Error \"177\", \"Metadata size exceeds limit\" + */ + metadata?: any; + mpiData?: ThreeDSecureData; + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + */ + orderReference?: string; + /** + * Required for the 3D Secure 2 `channel` **Web** integration. Set this parameter to the origin URL of the page that you are loading the 3D Secure Component from. + */ + origin?: string; + /** + * The collection that contains the type of the payment method and its specific information (e.g. `idealIssuer`). + */ + paymentMethod: any; + /** + * Defines a recurring payment type. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – Card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – A transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + */ + recurringProcessingModel?: PaymentRequest.RecurringProcessingModelEnum; + /** + * Specifies the redirect method (GET or POST) when redirecting back from the issuer. + */ + redirectFromIssuerMethod?: string; + /** + * Specifies the redirect method (GET or POST) when redirecting to the issuer. + */ + redirectToIssuerMethod?: string; + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + */ + reference: string; + /** + * The URL to return to. + */ + returnUrl: string; + /** + * The maximum validity of the session. + */ + sessionValidity?: string; + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require the `shopperEmail` for both `deviceChannel` **browser** and **app**. + */ + shopperEmail?: string; + /** + * The shopper's IP address. We recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > This field is mandatory for some merchants depending on your business model. For more information, [contact Support](https://support.adyen.com/hc/en-us/requests/new). + */ + shopperIP?: string; + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + */ + shopperInteraction?: PaymentRequest.ShopperInteractionEnum; + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + */ + shopperLocale?: string; + shopperName?: Name; + /** + * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). > This field is required for recurring payments. + */ + shopperReference?: string; + /** + * The text to appear on the shopper's bank statement. + */ + shopperStatement?: string; + /** + * The shopper's social security number. + */ + socialSecurityNumber?: string; + /** + * The details of how the payment should be split when distributing a payment to a MarketPay Marketplace and its Accounts. + */ + splits?: Array; + /** + * The shopper's telephone number. + */ + telephoneNumber?: string; + threeDS2RequestData?: ThreeDS2RequestData; + /** + * Set to true if the payment should be routed to a trusted MID. + */ + trustedShopper?: boolean; + constructor(); +} +export declare namespace PaymentRequest { + type ChannelEnum = 'iOS' | 'Android' | 'Web'; + const ChannelEnum: { + IOS: import("./paymentMethodsRequest").PaymentMethodsRequest.ChannelEnum; + Android: import("./paymentMethodsRequest").PaymentMethodsRequest.ChannelEnum; + Web: import("./paymentMethodsRequest").PaymentMethodsRequest.ChannelEnum; + }; + type EntityTypeEnum = 'NaturalPerson' | 'CompanyName'; + const EntityTypeEnum: { + NaturalPerson: EntityTypeEnum; + CompanyName: EntityTypeEnum; + }; + type RecurringProcessingModelEnum = 'CardOnFile' | 'Subscription' | 'UnscheduledCardOnFile'; + const RecurringProcessingModelEnum: { + CardOnFile: RecurringProcessingModelEnum; + Subscription: RecurringProcessingModelEnum; + UnscheduledCardOnFile: RecurringProcessingModelEnum; + }; + type ShopperInteractionEnum = 'Ecommerce' | 'ContAuth' | 'Moto' | 'POS'; + const ShopperInteractionEnum: { + Ecommerce: ShopperInteractionEnum; + ContAuth: ShopperInteractionEnum; + Moto: ShopperInteractionEnum; + POS: ShopperInteractionEnum; + }; +} diff --git a/dist/lib-esm/typings/checkout/paymentRequest.js b/dist/lib-esm/typings/checkout/paymentRequest.js new file mode 100644 index 0000000..1a7042f --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentRequest.js @@ -0,0 +1,33 @@ +import { ApplicationInfo } from "../applicationInfo"; +var PaymentRequest = /** @class */ (function () { + function PaymentRequest() { + if (!this.applicationInfo) { + this.applicationInfo = new ApplicationInfo(); + } + } + return PaymentRequest; +}()); +export { PaymentRequest }; +(function (PaymentRequest) { + PaymentRequest.ChannelEnum = { + IOS: 'iOS', + Android: 'Android', + Web: 'Web' + }; + PaymentRequest.EntityTypeEnum = { + NaturalPerson: 'NaturalPerson', + CompanyName: 'CompanyName' + }; + PaymentRequest.RecurringProcessingModelEnum = { + CardOnFile: 'CardOnFile', + Subscription: 'Subscription', + UnscheduledCardOnFile: 'UnscheduledCardOnFile' + }; + PaymentRequest.ShopperInteractionEnum = { + Ecommerce: 'Ecommerce', + ContAuth: 'ContAuth', + Moto: 'Moto', + POS: 'POS' + }; +})(PaymentRequest || (PaymentRequest = {})); +//# sourceMappingURL=paymentRequest.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/paymentRequest.js.map b/dist/lib-esm/typings/checkout/paymentRequest.js.map new file mode 100644 index 0000000..c928e09 --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentRequest.js","sourceRoot":"","sources":["../../../../src/typings/checkout/paymentRequest.ts"],"names":[],"mappings":"AAyBA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAGrD;IA+JI;QACI,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE;YACvB,IAAI,CAAC,eAAe,GAAG,IAAI,eAAe,EAAE,CAAC;SAChD;IACL,CAAC;IACL,qBAAC;AAAD,CAAC,AApKD,IAoKC;;AACD,WAAiB,cAAc;IAEd,0BAAW,GAAG;QACvB,GAAG,EAAE,KAAoB;QACzB,OAAO,EAAE,SAAwB;QACjC,GAAG,EAAE,KAAoB;KAC5B,CAAC;IAEW,6BAAc,GAAG;QAC1B,aAAa,EAAE,eAAiC;QAChD,WAAW,EAAE,aAA+B;KAC/C,CAAC;IAEW,2CAA4B,GAAG;QACxC,UAAU,EAAE,YAA4C;QACxD,YAAY,EAAE,cAA8C;QAC5D,qBAAqB,EAAE,uBAAuD;KACjF,CAAC;IAEW,qCAAsB,GAAG;QAClC,SAAS,EAAE,WAAqC;QAChD,QAAQ,EAAE,UAAoC;QAC9C,IAAI,EAAE,MAAgC;QACtC,GAAG,EAAE,KAA+B;KACvC,CAAC;AACN,CAAC,EAzBgB,cAAc,KAAd,cAAc,QAyB9B"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/paymentResponse.d.ts b/dist/lib-esm/typings/checkout/paymentResponse.d.ts new file mode 100644 index 0000000..e7ad652 --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentResponse.d.ts @@ -0,0 +1,64 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { FraudResult } from './fraudResult'; +import { InputDetail } from './inputDetail'; +import { Redirect } from './redirect'; +export interface PaymentResponse { + /** + * This field contains additional data, which may be required to return in a particular payment response. To choose data fields to be returned, go to **Customer Area** > **Account** > **API URLs**. + */ + additionalData?: any; + /** + * When non-empty, contains all the fields that you must submit to the `/payments/details` endpoint. + */ + details?: Array; + fraudResult?: FraudResult; + /** + * Contains the details that will be presented to the shopper. + */ + outputDetails?: any; + /** + * When non-empty, contains a value that you must submit to the `/payments/details` endpoint. + */ + paymentData?: string; + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. > `pspReference` is returned only for non-redirect payment methods. + */ + pspReference?: string; + redirect?: Redirect; + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + */ + refusalReason?: string; + /** + * Code that specifies the refusal reason. For more information, see [Authorisation refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + */ + refusalReasonCode?: string; + /** + * The result of the payment. Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. For more information on handling a pending payment, refer to [Payments with pending status](https://docs.adyen.com/development-resources/payments-with-pending-status). * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. + */ + resultCode?: PaymentResponse.ResultCodeEnum; +} +export declare namespace PaymentResponse { + type ResultCodeEnum = 'AuthenticationFinished' | 'Authorised' | 'Cancelled' | 'ChallengeShopper' | 'Error' | 'IdentifyShopper' | 'Pending' | 'Received' | 'RedirectShopper' | 'Refused'; + const ResultCodeEnum: { + AuthenticationFinished: ResultCodeEnum; + Authorised: ResultCodeEnum; + Cancelled: ResultCodeEnum; + ChallengeShopper: ResultCodeEnum; + Error: ResultCodeEnum; + IdentifyShopper: ResultCodeEnum; + Pending: ResultCodeEnum; + Received: ResultCodeEnum; + RedirectShopper: ResultCodeEnum; + Refused: ResultCodeEnum; + }; +} diff --git a/dist/lib-esm/typings/checkout/paymentResponse.js b/dist/lib-esm/typings/checkout/paymentResponse.js new file mode 100644 index 0000000..cf7b8c7 --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentResponse.js @@ -0,0 +1,16 @@ +export var PaymentResponse; +(function (PaymentResponse) { + PaymentResponse.ResultCodeEnum = { + AuthenticationFinished: 'AuthenticationFinished', + Authorised: 'Authorised', + Cancelled: 'Cancelled', + ChallengeShopper: 'ChallengeShopper', + Error: 'Error', + IdentifyShopper: 'IdentifyShopper', + Pending: 'Pending', + Received: 'Received', + RedirectShopper: 'RedirectShopper', + Refused: 'Refused' + }; +})(PaymentResponse || (PaymentResponse = {})); +//# sourceMappingURL=paymentResponse.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/paymentResponse.js.map b/dist/lib-esm/typings/checkout/paymentResponse.js.map new file mode 100644 index 0000000..efbd52b --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentResponse.js","sourceRoot":"","sources":["../../../../src/typings/checkout/paymentResponse.ts"],"names":[],"mappings":"AAqDA,MAAM,KAAW,eAAe,CAc/B;AAdD,WAAiB,eAAe;IAEf,8BAAc,GAAG;QAC1B,sBAAsB,EAAE,wBAA0C;QAClE,UAAU,EAAE,YAA8B;QAC1C,SAAS,EAAE,WAA6B;QACxC,gBAAgB,EAAE,kBAAoC;QACtD,KAAK,EAAE,OAAyB;QAChC,eAAe,EAAE,iBAAmC;QACpD,OAAO,EAAE,SAA2B;QACpC,QAAQ,EAAE,UAA4B;QACtC,eAAe,EAAE,iBAAmC;QACpD,OAAO,EAAE,SAA2B;KACvC,CAAC;AACN,CAAC,EAdgB,eAAe,KAAf,eAAe,QAc/B"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/paymentSetupRequest.d.ts b/dist/lib-esm/typings/checkout/paymentSetupRequest.d.ts new file mode 100644 index 0000000..ed9a912 --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentSetupRequest.d.ts @@ -0,0 +1,189 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Address } from './address'; +import { Amount } from './amount'; +import { Company } from './company'; +import { Configuration } from './configuration'; +import { ForexQuote } from './forexQuote'; +import { Installments } from './installments'; +import { LineItem } from './lineItem'; +import { Name } from './name'; +import { Split } from './split'; +export interface PaymentSetupRequest { + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. For more information on possible key-value pairs, refer to the [additionalData section](https://docs.adyen.com/api-reference/payments-api#paymentrequestadditionaldata). + */ + additionalData?: any; + /** + * List of payments methods to be presented to the shopper. To refer to payment methods, use their `brandCode` from [Payment methods overview](https://docs.adyen.com/payment-methods/payment-methods-overview). + */ + allowedPaymentMethods?: Array; + amount: Amount; + billingAddress?: Address; + /** + * List of payments methods to be hidden from the shopper. To refer to payment methods, use their `brandCode` from [Payment methods overview](https://docs.adyen.com/payment-methods/payment-methods-overview). + */ + blockedPaymentMethods?: Array; + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + */ + captureDelayHours?: number; + /** + * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web + */ + channel?: PaymentSetupRequest.ChannelEnum; + company?: Company; + configuration?: Configuration; + /** + * The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE + */ + countryCode: string; + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + */ + dateOfBirth?: Date; + dccQuote?: ForexQuote; + deliveryAddress?: Address; + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + */ + deliveryDate?: Date; + /** + * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future one-click payments. + */ + enableOneClick?: boolean; + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. + */ + enablePayOut?: boolean; + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for recurring payments. + */ + enableRecurring?: boolean; + /** + * The type of the entity the payment is processed for. + */ + entityType?: PaymentSetupRequest.EntityTypeEnum; + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + */ + fraudOffset?: number; + installments?: Installments; + /** + * Line items regarding the payment. + */ + lineItems?: Array; + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + */ + mcc?: string; + /** + * The merchant account identifier, with which you want to process the transaction. + */ + merchantAccount: string; + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + */ + merchantOrderReference?: string; + /** + * Metadata consists of entries, each of which includes a key and a value. Limitations: Error \"177\", \"Metadata size exceeds limit\" + */ + metadata?: any; + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + */ + orderReference?: string; + /** + * Required for the Web integration. Set this parameter to the origin URL of the page that you are loading the SDK from. + */ + origin?: string; + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + */ + reference: string; + /** + * The URL to return to. + */ + returnUrl: string; + /** + * The version of the SDK you are using (for Web SDK integrations only). + */ + sdkVersion?: string; + /** + * The maximum validity of the session. + */ + sessionValidity?: string; + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require the `shopperEmail` for both `deviceChannel` **browser** and **app**. + */ + shopperEmail?: string; + /** + * The shopper's IP address. We recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > This field is mandatory for some merchants depending on your business model. For more information, [contact Support](https://support.adyen.com/hc/en-us/requests/new). + */ + shopperIP?: string; + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + */ + shopperInteraction?: PaymentSetupRequest.ShopperInteractionEnum; + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + */ + shopperLocale?: string; + shopperName?: Name; + /** + * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). > This field is required for recurring payments. + */ + shopperReference?: string; + /** + * The text to appear on the shopper's bank statement. + */ + shopperStatement?: string; + /** + * The shopper's social security number. + */ + socialSecurityNumber?: string; + /** + * The details of how the payment should be split when distributing a payment to a MarketPay Marketplace and its Accounts. + */ + splits?: Array; + /** + * The shopper's telephone number. + */ + telephoneNumber?: string; + /** + * The token obtained when initializing the SDK. > This parameter is required for iOS and Android; not required for Web. + */ + token?: string; + /** + * Set to true if the payment should be routed to a trusted MID. + */ + trustedShopper?: boolean; +} +export declare namespace PaymentSetupRequest { + type ChannelEnum = 'iOS' | 'Android' | 'Web'; + const ChannelEnum: { + IOS: import("./paymentMethodsRequest").PaymentMethodsRequest.ChannelEnum; + Android: import("./paymentMethodsRequest").PaymentMethodsRequest.ChannelEnum; + Web: import("./paymentMethodsRequest").PaymentMethodsRequest.ChannelEnum; + }; + type EntityTypeEnum = 'NaturalPerson' | 'CompanyName'; + const EntityTypeEnum: { + NaturalPerson: import("./paymentRequest").PaymentRequest.EntityTypeEnum; + CompanyName: import("./paymentRequest").PaymentRequest.EntityTypeEnum; + }; + type ShopperInteractionEnum = 'Ecommerce' | 'ContAuth' | 'Moto' | 'POS'; + const ShopperInteractionEnum: { + Ecommerce: import("./paymentRequest").PaymentRequest.ShopperInteractionEnum; + ContAuth: import("./paymentRequest").PaymentRequest.ShopperInteractionEnum; + Moto: import("./paymentRequest").PaymentRequest.ShopperInteractionEnum; + POS: import("./paymentRequest").PaymentRequest.ShopperInteractionEnum; + }; +} diff --git a/dist/lib-esm/typings/checkout/paymentSetupRequest.js b/dist/lib-esm/typings/checkout/paymentSetupRequest.js new file mode 100644 index 0000000..be4603f --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentSetupRequest.js @@ -0,0 +1,19 @@ +export var PaymentSetupRequest; +(function (PaymentSetupRequest) { + PaymentSetupRequest.ChannelEnum = { + IOS: 'iOS', + Android: 'Android', + Web: 'Web' + }; + PaymentSetupRequest.EntityTypeEnum = { + NaturalPerson: 'NaturalPerson', + CompanyName: 'CompanyName' + }; + PaymentSetupRequest.ShopperInteractionEnum = { + Ecommerce: 'Ecommerce', + ContAuth: 'ContAuth', + Moto: 'Moto', + POS: 'POS' + }; +})(PaymentSetupRequest || (PaymentSetupRequest = {})); +//# sourceMappingURL=paymentSetupRequest.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/paymentSetupRequest.js.map b/dist/lib-esm/typings/checkout/paymentSetupRequest.js.map new file mode 100644 index 0000000..3232778 --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentSetupRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentSetupRequest.js","sourceRoot":"","sources":["../../../../src/typings/checkout/paymentSetupRequest.ts"],"names":[],"mappings":"AA6KA,MAAM,KAAW,mBAAmB,CAmBnC;AAnBD,WAAiB,mBAAmB;IAEnB,+BAAW,GAAG;QACvB,GAAG,EAAE,KAAoB;QACzB,OAAO,EAAE,SAAwB;QACjC,GAAG,EAAE,KAAoB;KAC5B,CAAC;IAEW,kCAAc,GAAG;QAC1B,aAAa,EAAE,eAAiC;QAChD,WAAW,EAAE,aAA+B;KAC/C,CAAC;IAEW,0CAAsB,GAAG;QAClC,SAAS,EAAE,WAAqC;QAChD,QAAQ,EAAE,UAAoC;QAC9C,IAAI,EAAE,MAAgC;QACtC,GAAG,EAAE,KAA+B;KACvC,CAAC;AACN,CAAC,EAnBgB,mBAAmB,KAAnB,mBAAmB,QAmBnC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/paymentSetupResponse.d.ts b/dist/lib-esm/typings/checkout/paymentSetupResponse.d.ts new file mode 100644 index 0000000..5704eca --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentSetupResponse.d.ts @@ -0,0 +1,17 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface PaymentSetupResponse { + /** + * The encoded payment session that you need to pass to the SDK. + */ + paymentSession?: string; +} diff --git a/dist/lib-esm/typings/checkout/paymentSetupResponse.js b/dist/lib-esm/typings/checkout/paymentSetupResponse.js new file mode 100644 index 0000000..bde7588 --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentSetupResponse.js @@ -0,0 +1,12 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=paymentSetupResponse.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/paymentSetupResponse.js.map b/dist/lib-esm/typings/checkout/paymentSetupResponse.js.map new file mode 100644 index 0000000..6d84366 --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentSetupResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentSetupResponse.js","sourceRoot":"","sources":["../../../../src/typings/checkout/paymentSetupResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/paymentVerificationRequest.d.ts b/dist/lib-esm/typings/checkout/paymentVerificationRequest.d.ts new file mode 100644 index 0000000..9fd829d --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentVerificationRequest.d.ts @@ -0,0 +1,17 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface PaymentVerificationRequest { + /** + * Encrypted and signed payment result data. You should receive this value from the Checkout SDK after the shopper completes the payment. + */ + payload: string; +} diff --git a/dist/lib-esm/typings/checkout/paymentVerificationRequest.js b/dist/lib-esm/typings/checkout/paymentVerificationRequest.js new file mode 100644 index 0000000..fe42007 --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentVerificationRequest.js @@ -0,0 +1,12 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=paymentVerificationRequest.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/paymentVerificationRequest.js.map b/dist/lib-esm/typings/checkout/paymentVerificationRequest.js.map new file mode 100644 index 0000000..409cbc3 --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentVerificationRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentVerificationRequest.js","sourceRoot":"","sources":["../../../../src/typings/checkout/paymentVerificationRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/paymentVerificationResponse.d.ts b/dist/lib-esm/typings/checkout/paymentVerificationResponse.d.ts new file mode 100644 index 0000000..db1bfe0 --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentVerificationResponse.d.ts @@ -0,0 +1,63 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { FraudResult } from './fraudResult'; +import { ServiceError } from './serviceError'; +export interface PaymentVerificationResponse { + /** + * This field contains additional data, which may be required to return in a particular payment response. To choose data fields to be returned, go to **Customer Area** > **Account** > **API URLs**. + */ + additionalData?: any; + fraudResult?: FraudResult; + /** + * A unique value that you provided in the initial `/paymentSession` request as a `reference` field. + */ + merchantReference: string; + /** + * The payment method used in the transaction. + */ + paymentMethod: string; + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. > `pspReference` is returned only for non-redirect payment methods. + */ + pspReference?: string; + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + */ + refusalReason?: string; + /** + * Code that specifies the refusal reason. For more information, see [Authorisation refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + */ + refusalReasonCode?: string; + /** + * The result of the payment. Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. For more information on handling a pending payment, refer to [Payments with pending status](https://docs.adyen.com/development-resources/payments-with-pending-status). * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. + */ + resultCode?: PaymentVerificationResponse.ResultCodeEnum; + serviceError?: ServiceError; + /** + * The shopperLocale value provided in the payment request. + */ + shopperLocale: string; +} +export declare namespace PaymentVerificationResponse { + type ResultCodeEnum = 'AuthenticationFinished' | 'Authorised' | 'Cancelled' | 'ChallengeShopper' | 'Error' | 'IdentifyShopper' | 'Pending' | 'Received' | 'RedirectShopper' | 'Refused'; + const ResultCodeEnum: { + AuthenticationFinished: import("./paymentResponse").PaymentResponse.ResultCodeEnum; + Authorised: import("./paymentResponse").PaymentResponse.ResultCodeEnum; + Cancelled: import("./paymentResponse").PaymentResponse.ResultCodeEnum; + ChallengeShopper: import("./paymentResponse").PaymentResponse.ResultCodeEnum; + Error: import("./paymentResponse").PaymentResponse.ResultCodeEnum; + IdentifyShopper: import("./paymentResponse").PaymentResponse.ResultCodeEnum; + Pending: import("./paymentResponse").PaymentResponse.ResultCodeEnum; + Received: import("./paymentResponse").PaymentResponse.ResultCodeEnum; + RedirectShopper: import("./paymentResponse").PaymentResponse.ResultCodeEnum; + Refused: import("./paymentResponse").PaymentResponse.ResultCodeEnum; + }; +} diff --git a/dist/lib-esm/typings/checkout/paymentVerificationResponse.js b/dist/lib-esm/typings/checkout/paymentVerificationResponse.js new file mode 100644 index 0000000..d77b968 --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentVerificationResponse.js @@ -0,0 +1,16 @@ +export var PaymentVerificationResponse; +(function (PaymentVerificationResponse) { + PaymentVerificationResponse.ResultCodeEnum = { + AuthenticationFinished: 'AuthenticationFinished', + Authorised: 'Authorised', + Cancelled: 'Cancelled', + ChallengeShopper: 'ChallengeShopper', + Error: 'Error', + IdentifyShopper: 'IdentifyShopper', + Pending: 'Pending', + Received: 'Received', + RedirectShopper: 'RedirectShopper', + Refused: 'Refused' + }; +})(PaymentVerificationResponse || (PaymentVerificationResponse = {})); +//# sourceMappingURL=paymentVerificationResponse.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/paymentVerificationResponse.js.map b/dist/lib-esm/typings/checkout/paymentVerificationResponse.js.map new file mode 100644 index 0000000..ef44fd0 --- /dev/null +++ b/dist/lib-esm/typings/checkout/paymentVerificationResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentVerificationResponse.js","sourceRoot":"","sources":["../../../../src/typings/checkout/paymentVerificationResponse.ts"],"names":[],"mappings":"AAoDA,MAAM,KAAW,2BAA2B,CAc3C;AAdD,WAAiB,2BAA2B;IAE3B,0CAAc,GAAG;QAC1B,sBAAsB,EAAE,wBAA0C;QAClE,UAAU,EAAE,YAA8B;QAC1C,SAAS,EAAE,WAA6B;QACxC,gBAAgB,EAAE,kBAAoC;QACtD,KAAK,EAAE,OAAyB;QAChC,eAAe,EAAE,iBAAmC;QACpD,OAAO,EAAE,SAA2B;QACpC,QAAQ,EAAE,UAA4B;QACtC,eAAe,EAAE,iBAAmC;QACpD,OAAO,EAAE,SAA2B;KACvC,CAAC;AACN,CAAC,EAdgB,2BAA2B,KAA3B,2BAA2B,QAc3C"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/recurring.d.ts b/dist/lib-esm/typings/checkout/recurring.d.ts new file mode 100644 index 0000000..0c31417 --- /dev/null +++ b/dist/lib-esm/typings/checkout/recurring.d.ts @@ -0,0 +1,46 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Recurring { + /** + * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-essentials/payment-glossary#card_security_code_cvc_cvv_cid_). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payment-glossary#cardnotpresentcnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/features/third-party-payouts). + */ + contract?: Recurring.ContractEnum; + /** + * A descriptive name for this detail. + */ + recurringDetailName?: string; + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + */ + recurringExpiry?: Date; + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + */ + recurringFrequency?: string; + /** + * The name of the token service. + */ + tokenService?: Recurring.TokenServiceEnum; +} +export declare namespace Recurring { + type ContractEnum = 'ONECLICK' | 'RECURRING' | 'PAYOUT'; + const ContractEnum: { + ONECLICK: ContractEnum; + RECURRING: ContractEnum; + PAYOUT: ContractEnum; + }; + type TokenServiceEnum = 'VISATOKENSERVICE' | 'MCTOKENSERVICE'; + const TokenServiceEnum: { + VISATOKENSERVICE: TokenServiceEnum; + MCTOKENSERVICE: TokenServiceEnum; + }; +} diff --git a/dist/lib-esm/typings/checkout/recurring.js b/dist/lib-esm/typings/checkout/recurring.js new file mode 100644 index 0000000..ed5b111 --- /dev/null +++ b/dist/lib-esm/typings/checkout/recurring.js @@ -0,0 +1,24 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export var Recurring; +(function (Recurring) { + Recurring.ContractEnum = { + ONECLICK: 'ONECLICK', + RECURRING: 'RECURRING', + PAYOUT: 'PAYOUT' + }; + Recurring.TokenServiceEnum = { + VISATOKENSERVICE: 'VISATOKENSERVICE', + MCTOKENSERVICE: 'MCTOKENSERVICE' + }; +})(Recurring || (Recurring = {})); +//# sourceMappingURL=recurring.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/recurring.js.map b/dist/lib-esm/typings/checkout/recurring.js.map new file mode 100644 index 0000000..c18b32b --- /dev/null +++ b/dist/lib-esm/typings/checkout/recurring.js.map @@ -0,0 +1 @@ +{"version":3,"file":"recurring.js","sourceRoot":"","sources":["../../../../src/typings/checkout/recurring.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAwBH,MAAM,KAAW,SAAS,CAYzB;AAZD,WAAiB,SAAS;IAET,sBAAY,GAAG;QACxB,QAAQ,EAAE,UAA0B;QACpC,SAAS,EAAE,WAA2B;QACtC,MAAM,EAAE,QAAwB;KACnC,CAAC;IAEW,0BAAgB,GAAG;QAC5B,gBAAgB,EAAE,kBAAsC;QACxD,cAAc,EAAE,gBAAoC;KACvD,CAAC;AACN,CAAC,EAZgB,SAAS,KAAT,SAAS,QAYzB"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/recurringDetail.d.ts b/dist/lib-esm/typings/checkout/recurringDetail.d.ts new file mode 100644 index 0000000..03643df --- /dev/null +++ b/dist/lib-esm/typings/checkout/recurringDetail.d.ts @@ -0,0 +1,45 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { InputDetail } from './inputDetail'; +import { PaymentMethodGroup } from './paymentMethodGroup'; +import { StoredDetails } from './storedDetails'; +export interface RecurringDetail { + /** + * The configuration of the payment method. + */ + configuration?: any; + /** + * All input details to be provided to complete the payment with this payment method. + */ + details?: Array; + group?: PaymentMethodGroup; + /** + * The displayable name of this payment method. + */ + name?: string; + /** + * Echo data required to send in next calls. + */ + paymentMethodData?: string; + /** + * The reference that uniquely identifies the recurring detail. + */ + recurringDetailReference?: string; + storedDetails?: StoredDetails; + /** + * Indicates whether this payment method supports tokenization or not. + */ + supportsRecurring?: boolean; + /** + * The unique payment method code. + */ + type?: string; +} diff --git a/dist/lib-esm/typings/checkout/recurringDetail.js b/dist/lib-esm/typings/checkout/recurringDetail.js new file mode 100644 index 0000000..8131e2e --- /dev/null +++ b/dist/lib-esm/typings/checkout/recurringDetail.js @@ -0,0 +1 @@ +//# sourceMappingURL=recurringDetail.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/recurringDetail.js.map b/dist/lib-esm/typings/checkout/recurringDetail.js.map new file mode 100644 index 0000000..6b1471a --- /dev/null +++ b/dist/lib-esm/typings/checkout/recurringDetail.js.map @@ -0,0 +1 @@ +{"version":3,"file":"recurringDetail.js","sourceRoot":"","sources":["../../../../src/typings/checkout/recurringDetail.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/redirect.d.ts b/dist/lib-esm/typings/checkout/redirect.d.ts new file mode 100644 index 0000000..76654c4 --- /dev/null +++ b/dist/lib-esm/typings/checkout/redirect.d.ts @@ -0,0 +1,32 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Redirect { + /** + * When the redirect URL must be accessed via POST, use this data to post to the redirect URL. + */ + data?: any; + /** + * The web method that you must use to access the redirect URL. Possible values: GET, POST. + */ + method?: Redirect.MethodEnum; + /** + * The URL, to which you must redirect a shopper to complete a payment. + */ + url?: string; +} +export declare namespace Redirect { + type MethodEnum = 'GET' | 'POST'; + const MethodEnum: { + GET: MethodEnum; + POST: MethodEnum; + }; +} diff --git a/dist/lib-esm/typings/checkout/redirect.js b/dist/lib-esm/typings/checkout/redirect.js new file mode 100644 index 0000000..0bd0f39 --- /dev/null +++ b/dist/lib-esm/typings/checkout/redirect.js @@ -0,0 +1,19 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export var Redirect; +(function (Redirect) { + Redirect.MethodEnum = { + GET: 'GET', + POST: 'POST' + }; +})(Redirect || (Redirect = {})); +//# sourceMappingURL=redirect.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/redirect.js.map b/dist/lib-esm/typings/checkout/redirect.js.map new file mode 100644 index 0000000..1930b8a --- /dev/null +++ b/dist/lib-esm/typings/checkout/redirect.js.map @@ -0,0 +1 @@ +{"version":3,"file":"redirect.js","sourceRoot":"","sources":["../../../../src/typings/checkout/redirect.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAgBH,MAAM,KAAW,QAAQ,CAMxB;AAND,WAAiB,QAAQ;IAER,mBAAU,GAAG;QACtB,GAAG,EAAE,KAAmB;QACxB,IAAI,EAAE,MAAoB;KAC7B,CAAC;AACN,CAAC,EANgB,QAAQ,KAAR,QAAQ,QAMxB"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/sDKEphemPubKey.d.ts b/dist/lib-esm/typings/checkout/sDKEphemPubKey.d.ts new file mode 100644 index 0000000..11f04b7 --- /dev/null +++ b/dist/lib-esm/typings/checkout/sDKEphemPubKey.d.ts @@ -0,0 +1,29 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface SDKEphemPubKey { + /** + * The `crv` value as received from the 3D Secure 2 SDK. + */ + crv?: string; + /** + * The `kty` value as received from the 3D Secure 2 SDK. + */ + kty?: string; + /** + * The `x` value as received from the 3D Secure 2 SDK. + */ + x?: string; + /** + * The `y` value as received from the 3D Secure 2 SDK. + */ + y?: string; +} diff --git a/dist/lib-esm/typings/checkout/sDKEphemPubKey.js b/dist/lib-esm/typings/checkout/sDKEphemPubKey.js new file mode 100644 index 0000000..c0c3d4b --- /dev/null +++ b/dist/lib-esm/typings/checkout/sDKEphemPubKey.js @@ -0,0 +1,12 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=sDKEphemPubKey.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/sDKEphemPubKey.js.map b/dist/lib-esm/typings/checkout/sDKEphemPubKey.js.map new file mode 100644 index 0000000..8c07f8c --- /dev/null +++ b/dist/lib-esm/typings/checkout/sDKEphemPubKey.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sDKEphemPubKey.js","sourceRoot":"","sources":["../../../../src/typings/checkout/sDKEphemPubKey.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/serviceError.d.ts b/dist/lib-esm/typings/checkout/serviceError.d.ts new file mode 100644 index 0000000..86b8272 --- /dev/null +++ b/dist/lib-esm/typings/checkout/serviceError.d.ts @@ -0,0 +1,16 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface ServiceError { + errorCode?: string; + errorType?: string; + message?: string; +} diff --git a/dist/lib-esm/typings/checkout/serviceError.js b/dist/lib-esm/typings/checkout/serviceError.js new file mode 100644 index 0000000..f26b4cc --- /dev/null +++ b/dist/lib-esm/typings/checkout/serviceError.js @@ -0,0 +1,12 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=serviceError.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/serviceError.js.map b/dist/lib-esm/typings/checkout/serviceError.js.map new file mode 100644 index 0000000..b215cf8 --- /dev/null +++ b/dist/lib-esm/typings/checkout/serviceError.js.map @@ -0,0 +1 @@ +{"version":3,"file":"serviceError.js","sourceRoot":"","sources":["../../../../src/typings/checkout/serviceError.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/shopperInput.d.ts b/dist/lib-esm/typings/checkout/shopperInput.d.ts new file mode 100644 index 0000000..22f4034 --- /dev/null +++ b/dist/lib-esm/typings/checkout/shopperInput.d.ts @@ -0,0 +1,45 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface ShopperInput { + /** + * Specifies visibility of billing address fields. Permitted values: * editable * hidden * readOnly + */ + billingAddress?: ShopperInput.BillingAddressEnum; + /** + * Specifies visibility of delivery address fields. Permitted values: * editable * hidden * readOnly + */ + deliveryAddress?: ShopperInput.DeliveryAddressEnum; + /** + * Specifies visibility of personal details. Permitted values: * editable * hidden * readOnly + */ + personalDetails?: ShopperInput.PersonalDetailsEnum; +} +export declare namespace ShopperInput { + type BillingAddressEnum = 'editable' | 'hidden' | 'readOnly'; + const BillingAddressEnum: { + Editable: BillingAddressEnum; + Hidden: BillingAddressEnum; + ReadOnly: BillingAddressEnum; + }; + type DeliveryAddressEnum = 'editable' | 'hidden' | 'readOnly'; + const DeliveryAddressEnum: { + Editable: BillingAddressEnum; + Hidden: BillingAddressEnum; + ReadOnly: BillingAddressEnum; + }; + type PersonalDetailsEnum = 'editable' | 'hidden' | 'readOnly'; + const PersonalDetailsEnum: { + Editable: BillingAddressEnum; + Hidden: BillingAddressEnum; + ReadOnly: BillingAddressEnum; + }; +} diff --git a/dist/lib-esm/typings/checkout/shopperInput.js b/dist/lib-esm/typings/checkout/shopperInput.js new file mode 100644 index 0000000..6a44784 --- /dev/null +++ b/dist/lib-esm/typings/checkout/shopperInput.js @@ -0,0 +1,30 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export var ShopperInput; +(function (ShopperInput) { + ShopperInput.BillingAddressEnum = { + Editable: 'editable', + Hidden: 'hidden', + ReadOnly: 'readOnly' + }; + ShopperInput.DeliveryAddressEnum = { + Editable: 'editable', + Hidden: 'hidden', + ReadOnly: 'readOnly' + }; + ShopperInput.PersonalDetailsEnum = { + Editable: 'editable', + Hidden: 'hidden', + ReadOnly: 'readOnly' + }; +})(ShopperInput || (ShopperInput = {})); +//# sourceMappingURL=shopperInput.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/shopperInput.js.map b/dist/lib-esm/typings/checkout/shopperInput.js.map new file mode 100644 index 0000000..4f90211 --- /dev/null +++ b/dist/lib-esm/typings/checkout/shopperInput.js.map @@ -0,0 +1 @@ +{"version":3,"file":"shopperInput.js","sourceRoot":"","sources":["../../../../src/typings/checkout/shopperInput.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAgBH,MAAM,KAAW,YAAY,CAmB5B;AAnBD,WAAiB,YAAY;IAEZ,+BAAkB,GAAG;QAC9B,QAAQ,EAAE,UAAgC;QAC1C,MAAM,EAAE,QAA8B;QACtC,QAAQ,EAAE,UAAgC;KAC7C,CAAC;IAEW,gCAAmB,GAAG;QAC/B,QAAQ,EAAE,UAAiC;QAC3C,MAAM,EAAE,QAA+B;QACvC,QAAQ,EAAE,UAAiC;KAC9C,CAAC;IAEW,gCAAmB,GAAG;QAC/B,QAAQ,EAAE,UAAiC;QAC3C,MAAM,EAAE,QAA+B;QACvC,QAAQ,EAAE,UAAiC;KAC9C,CAAC;AACN,CAAC,EAnBgB,YAAY,KAAZ,YAAY,QAmB5B"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/split.d.ts b/dist/lib-esm/typings/checkout/split.d.ts new file mode 100644 index 0000000..4670cc5 --- /dev/null +++ b/dist/lib-esm/typings/checkout/split.d.ts @@ -0,0 +1,41 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { SplitAmount } from './splitAmount'; +export interface Split { + /** + * The account to which this split applies. >Required if the type is `MarketPlace`. + */ + account?: string; + amount: SplitAmount; + /** + * A description of this split. + */ + description?: string; + /** + * The reference of this split. Used to link other operations (e.g. captures and refunds) to this split. >Required if the type is `MarketPlace`. + */ + reference?: string; + /** + * The type of this split. >Permitted values: `Default`, `PaymentFee`, `VAT`, `Commission`, `MarketPlace`, `Verification`. + */ + type: Split.TypeEnum; +} +export declare namespace Split { + type TypeEnum = 'Commission' | 'Default' | 'MarketPlace' | 'PaymentFee' | 'VAT' | 'Verification'; + const TypeEnum: { + Commission: TypeEnum; + Default: TypeEnum; + MarketPlace: TypeEnum; + PaymentFee: TypeEnum; + VAT: TypeEnum; + Verification: TypeEnum; + }; +} diff --git a/dist/lib-esm/typings/checkout/split.js b/dist/lib-esm/typings/checkout/split.js new file mode 100644 index 0000000..f77a4c7 --- /dev/null +++ b/dist/lib-esm/typings/checkout/split.js @@ -0,0 +1,12 @@ +export var Split; +(function (Split) { + Split.TypeEnum = { + Commission: 'Commission', + Default: 'Default', + MarketPlace: 'MarketPlace', + PaymentFee: 'PaymentFee', + VAT: 'VAT', + Verification: 'Verification' + }; +})(Split || (Split = {})); +//# sourceMappingURL=split.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/split.js.map b/dist/lib-esm/typings/checkout/split.js.map new file mode 100644 index 0000000..9edfd80 --- /dev/null +++ b/dist/lib-esm/typings/checkout/split.js.map @@ -0,0 +1 @@ +{"version":3,"file":"split.js","sourceRoot":"","sources":["../../../../src/typings/checkout/split.ts"],"names":[],"mappings":"AAkCA,MAAM,KAAW,KAAK,CAUrB;AAVD,WAAiB,KAAK;IAEL,cAAQ,GAAG;QACpB,UAAU,EAAE,YAAwB;QACpC,OAAO,EAAE,SAAqB;QAC9B,WAAW,EAAE,aAAyB;QACtC,UAAU,EAAE,YAAwB;QACpC,GAAG,EAAE,KAAiB;QACtB,YAAY,EAAE,cAA0B;KAC3C,CAAC;AACN,CAAC,EAVgB,KAAK,KAAL,KAAK,QAUrB"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/splitAmount.d.ts b/dist/lib-esm/typings/checkout/splitAmount.d.ts new file mode 100644 index 0000000..88a148d --- /dev/null +++ b/dist/lib-esm/typings/checkout/splitAmount.d.ts @@ -0,0 +1,21 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface SplitAmount { + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). If this value is not provided, the currency in which the payment is made will be used. + */ + currency?: string; + /** + * The payable amount that can be charged for the transaction. The transaction amount needs to be represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). + */ + value: number; +} diff --git a/dist/lib-esm/typings/checkout/splitAmount.js b/dist/lib-esm/typings/checkout/splitAmount.js new file mode 100644 index 0000000..bbca674 --- /dev/null +++ b/dist/lib-esm/typings/checkout/splitAmount.js @@ -0,0 +1,12 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=splitAmount.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/splitAmount.js.map b/dist/lib-esm/typings/checkout/splitAmount.js.map new file mode 100644 index 0000000..fffcf74 --- /dev/null +++ b/dist/lib-esm/typings/checkout/splitAmount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"splitAmount.js","sourceRoot":"","sources":["../../../../src/typings/checkout/splitAmount.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/storedDetails.d.ts b/dist/lib-esm/typings/checkout/storedDetails.d.ts new file mode 100644 index 0000000..07faf82 --- /dev/null +++ b/dist/lib-esm/typings/checkout/storedDetails.d.ts @@ -0,0 +1,20 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { BankAccount } from './bankAccount'; +import { Card } from './card'; +export interface StoredDetails { + bank?: BankAccount; + card?: Card; + /** + * The email associated with stored payment details. + */ + emailAddress?: string; +} diff --git a/dist/lib-esm/typings/checkout/storedDetails.js b/dist/lib-esm/typings/checkout/storedDetails.js new file mode 100644 index 0000000..d708818 --- /dev/null +++ b/dist/lib-esm/typings/checkout/storedDetails.js @@ -0,0 +1 @@ +//# sourceMappingURL=storedDetails.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/storedDetails.js.map b/dist/lib-esm/typings/checkout/storedDetails.js.map new file mode 100644 index 0000000..a560091 --- /dev/null +++ b/dist/lib-esm/typings/checkout/storedDetails.js.map @@ -0,0 +1 @@ +{"version":3,"file":"storedDetails.js","sourceRoot":"","sources":["../../../../src/typings/checkout/storedDetails.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/subInputDetail.d.ts b/dist/lib-esm/typings/checkout/subInputDetail.d.ts new file mode 100644 index 0000000..bcc048a --- /dev/null +++ b/dist/lib-esm/typings/checkout/subInputDetail.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Item } from './item'; +export interface SubInputDetail { + /** + * Configuration parameters for the required input. + */ + configuration?: any; + /** + * In case of a select, the items to choose from. + */ + items?: Array; + /** + * The value to provide in the result. + */ + key?: string; + /** + * True if this input is optional to provide. + */ + optional?: boolean; + /** + * The type of the required input. + */ + type?: string; + /** + * The value can be pre-filled, if available. + */ + value?: string; +} diff --git a/dist/lib-esm/typings/checkout/subInputDetail.js b/dist/lib-esm/typings/checkout/subInputDetail.js new file mode 100644 index 0000000..2a1d904 --- /dev/null +++ b/dist/lib-esm/typings/checkout/subInputDetail.js @@ -0,0 +1 @@ +//# sourceMappingURL=subInputDetail.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/subInputDetail.js.map b/dist/lib-esm/typings/checkout/subInputDetail.js.map new file mode 100644 index 0000000..8facd4b --- /dev/null +++ b/dist/lib-esm/typings/checkout/subInputDetail.js.map @@ -0,0 +1 @@ +{"version":3,"file":"subInputDetail.js","sourceRoot":"","sources":["../../../../src/typings/checkout/subInputDetail.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/threeDS2RequestData.d.ts b/dist/lib-esm/typings/checkout/threeDS2RequestData.d.ts new file mode 100644 index 0000000..3efb25b --- /dev/null +++ b/dist/lib-esm/typings/checkout/threeDS2RequestData.d.ts @@ -0,0 +1,80 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { DeviceRenderOptions } from './deviceRenderOptions'; +import { SDKEphemPubKey } from './sDKEphemPubKey'; +export interface ThreeDS2RequestData { + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/checkout/3d-secure-2/3ds2-checkout-authentication-only-integration), and not the payment authorisation. + */ + authenticationOnly?: boolean; + /** + * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` + */ + challengeIndicator?: ThreeDS2RequestData.ChallengeIndicatorEnum; + /** + * The environment of the shopper. Allowed values: * `app` * `browser` + */ + deviceChannel: string; + deviceRenderOptions?: DeviceRenderOptions; + /** + * The `messageVersion` value indicating the 3D Secure 2 protocol version. + */ + messageVersion?: string; + /** + * URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**. + */ + notificationURL?: string; + /** + * The `sdkAppID` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. + */ + sdkAppID?: string; + /** + * The `sdkEncData` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. + */ + sdkEncData?: string; + sdkEphemPubKey?: SDKEphemPubKey; + /** + * The maximum amount of time in minutes for the 3D Secure 2 authentication process. Only for `deviceChannel` set to **app**. + */ + sdkMaxTimeout?: number; + /** + * The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. + */ + sdkReferenceNumber?: string; + /** + * The `sdkTransID` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. + */ + sdkTransID?: string; + /** + * Completion indicator for the device fingerprinting. + */ + threeDSCompInd?: string; + /** + * Required for [authentication-only integration](https://docs.adyen.com/checkout/3d-secure-2/3ds2-checkout-authentication-only-integration) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2. + */ + threeDSRequestorID?: string; + /** + * Required for [authentication-only integration](https://docs.adyen.com/checkout/3d-secure-2/3ds2-checkout-authentication-only-integration) for Visa. Unique 3D Secure requestor name assigned by the Directory Server when you enrol for 3D Secure 2. + */ + threeDSRequestorName?: string; + /** + * URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process. + */ + threeDSRequestorURL?: string; +} +export declare namespace ThreeDS2RequestData { + type ChallengeIndicatorEnum = 'noPreference' | 'requestNoChallenge' | 'requestChallenge'; + const ChallengeIndicatorEnum: { + NoPreference: ChallengeIndicatorEnum; + RequestNoChallenge: ChallengeIndicatorEnum; + RequestChallenge: ChallengeIndicatorEnum; + }; +} diff --git a/dist/lib-esm/typings/checkout/threeDS2RequestData.js b/dist/lib-esm/typings/checkout/threeDS2RequestData.js new file mode 100644 index 0000000..21c1161 --- /dev/null +++ b/dist/lib-esm/typings/checkout/threeDS2RequestData.js @@ -0,0 +1,9 @@ +export var ThreeDS2RequestData; +(function (ThreeDS2RequestData) { + ThreeDS2RequestData.ChallengeIndicatorEnum = { + NoPreference: 'noPreference', + RequestNoChallenge: 'requestNoChallenge', + RequestChallenge: 'requestChallenge' + }; +})(ThreeDS2RequestData || (ThreeDS2RequestData = {})); +//# sourceMappingURL=threeDS2RequestData.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/threeDS2RequestData.js.map b/dist/lib-esm/typings/checkout/threeDS2RequestData.js.map new file mode 100644 index 0000000..d1ab9d6 --- /dev/null +++ b/dist/lib-esm/typings/checkout/threeDS2RequestData.js.map @@ -0,0 +1 @@ +{"version":3,"file":"threeDS2RequestData.js","sourceRoot":"","sources":["../../../../src/typings/checkout/threeDS2RequestData.ts"],"names":[],"mappings":"AA4EA,MAAM,KAAW,mBAAmB,CAOnC;AAPD,WAAiB,mBAAmB;IAEnB,0CAAsB,GAAG;QAClC,YAAY,EAAE,cAAwC;QACtD,kBAAkB,EAAE,oBAA8C;QAClE,gBAAgB,EAAE,kBAA4C;KACjE,CAAC;AACN,CAAC,EAPgB,mBAAmB,KAAnB,mBAAmB,QAOnC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/threeDSecureData.d.ts b/dist/lib-esm/typings/checkout/threeDSecureData.d.ts new file mode 100644 index 0000000..caeb59d --- /dev/null +++ b/dist/lib-esm/typings/checkout/threeDSecureData.d.ts @@ -0,0 +1,62 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface ThreeDSecureData { + /** + * In 3D Secure 1, the authentication response if the shopper was redirected. In 3D Secure 2, this is the `transStatus` from challenge flow. If the transaction was frictionless, set this value to **Y**. + */ + authenticationResponse?: ThreeDSecureData.AuthenticationResponseEnum; + /** + * The cardholder authentication value (base64 encoded, 20 bytes in a decoded form). + */ + cavv?: string; + /** + * The CAVV algorithm used. Include this only for 3D Secure 1. + */ + cavvAlgorithm?: string; + /** + * In 3D Secure 1, this is the enrollment response from the 3D directory server. In 3D Secure 2, this is the `transStatus` from 3D Secure device fingerprinting result. + */ + directoryResponse?: ThreeDSecureData.DirectoryResponseEnum; + /** + * Supported for 3D Secure 2. The unique transaction identifier assigned by the Directory Server (DS) to identify a single transaction. + */ + dsTransID?: string; + /** + * The electronic commerce indicator. + */ + eci?: string; + /** + * The version of the 3D Secure protocol. + */ + threeDSVersion?: string; + /** + * Supported for 3D Secure 1. The transaction identifier (Base64-encoded, 20 bytes in a decoded form). + */ + xid?: string; +} +export declare namespace ThreeDSecureData { + type AuthenticationResponseEnum = 'Y' | 'N' | 'U' | 'A'; + const AuthenticationResponseEnum: { + Y: AuthenticationResponseEnum; + N: AuthenticationResponseEnum; + U: AuthenticationResponseEnum; + A: AuthenticationResponseEnum; + }; + type DirectoryResponseEnum = 'Y' | 'N' | 'U' | 'E' | 'C'; + const DirectoryResponseEnum: { + Y: DirectoryResponseEnum; + N: DirectoryResponseEnum; + U: DirectoryResponseEnum; + E: DirectoryResponseEnum; + C: DirectoryResponseEnum; + }; +} diff --git a/dist/lib-esm/typings/checkout/threeDSecureData.js b/dist/lib-esm/typings/checkout/threeDSecureData.js new file mode 100644 index 0000000..32851b2 --- /dev/null +++ b/dist/lib-esm/typings/checkout/threeDSecureData.js @@ -0,0 +1,28 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export var ThreeDSecureData; +(function (ThreeDSecureData) { + ThreeDSecureData.AuthenticationResponseEnum = { + Y: 'Y', + N: 'N', + U: 'U', + A: 'A' + }; + ThreeDSecureData.DirectoryResponseEnum = { + Y: 'Y', + N: 'N', + U: 'U', + E: 'E', + C: 'C' + }; +})(ThreeDSecureData || (ThreeDSecureData = {})); +//# sourceMappingURL=threeDSecureData.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkout/threeDSecureData.js.map b/dist/lib-esm/typings/checkout/threeDSecureData.js.map new file mode 100644 index 0000000..cfb81f6 --- /dev/null +++ b/dist/lib-esm/typings/checkout/threeDSecureData.js.map @@ -0,0 +1 @@ +{"version":3,"file":"threeDSecureData.js","sourceRoot":"","sources":["../../../../src/typings/checkout/threeDSecureData.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAoCH,MAAM,KAAW,gBAAgB,CAgBhC;AAhBD,WAAiB,gBAAgB;IAEhB,2CAA0B,GAAG;QACtC,CAAC,EAAE,GAAiC;QACpC,CAAC,EAAE,GAAiC;QACpC,CAAC,EAAE,GAAiC;QACpC,CAAC,EAAE,GAAiC;KACvC,CAAC;IAEW,sCAAqB,GAAG;QACjC,CAAC,EAAE,GAA4B;QAC/B,CAAC,EAAE,GAA4B;QAC/B,CAAC,EAAE,GAA4B;QAC/B,CAAC,EAAE,GAA4B;QAC/B,CAAC,EAAE,GAA4B;KAClC,CAAC;AACN,CAAC,EAhBgB,gBAAgB,KAAhB,gBAAgB,QAgBhC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkoutUtility/checkoutUtilityRequest.d.ts b/dist/lib-esm/typings/checkoutUtility/checkoutUtilityRequest.d.ts new file mode 100644 index 0000000..8c1695e --- /dev/null +++ b/dist/lib-esm/typings/checkoutUtility/checkoutUtilityRequest.d.ts @@ -0,0 +1,17 @@ +/** + * Adyen Checkout Utility Service + * A web service containing utility functions available for merchants integrating with Checkout APIs. ## Authentication Each request to the Checkout Utility API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v1/originKeys ``` + * + * OpenAPI spec version: 1 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface CheckoutUtilityRequest { + /** + * The list of origin domains, for which origin keys are requested. + */ + originDomains: Array; +} diff --git a/dist/lib-esm/typings/checkoutUtility/checkoutUtilityRequest.js b/dist/lib-esm/typings/checkoutUtility/checkoutUtilityRequest.js new file mode 100644 index 0000000..85b6dd8 --- /dev/null +++ b/dist/lib-esm/typings/checkoutUtility/checkoutUtilityRequest.js @@ -0,0 +1,12 @@ +/** + * Adyen Checkout Utility Service + * A web service containing utility functions available for merchants integrating with Checkout APIs. ## Authentication Each request to the Checkout Utility API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v1/originKeys ``` + * + * OpenAPI spec version: 1 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=checkoutUtilityRequest.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkoutUtility/checkoutUtilityRequest.js.map b/dist/lib-esm/typings/checkoutUtility/checkoutUtilityRequest.js.map new file mode 100644 index 0000000..28aabc9 --- /dev/null +++ b/dist/lib-esm/typings/checkoutUtility/checkoutUtilityRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"checkoutUtilityRequest.js","sourceRoot":"","sources":["../../../../src/typings/checkoutUtility/checkoutUtilityRequest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkoutUtility/checkoutUtilityResponse.d.ts b/dist/lib-esm/typings/checkoutUtility/checkoutUtilityResponse.d.ts new file mode 100644 index 0000000..c8500d8 --- /dev/null +++ b/dist/lib-esm/typings/checkoutUtility/checkoutUtilityResponse.d.ts @@ -0,0 +1,17 @@ +/** + * Adyen Checkout Utility Service + * A web service containing utility functions available for merchants integrating with Checkout APIs. ## Authentication Each request to the Checkout Utility API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v1/originKeys ``` + * + * OpenAPI spec version: 1 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface CheckoutUtilityResponse { + /** + * The list of origin keys for all requested domains. For each list item, the key is the domain and the value is the origin key. + */ + originKeys?: any; +} diff --git a/dist/lib-esm/typings/checkoutUtility/checkoutUtilityResponse.js b/dist/lib-esm/typings/checkoutUtility/checkoutUtilityResponse.js new file mode 100644 index 0000000..054a6c7 --- /dev/null +++ b/dist/lib-esm/typings/checkoutUtility/checkoutUtilityResponse.js @@ -0,0 +1,12 @@ +/** + * Adyen Checkout Utility Service + * A web service containing utility functions available for merchants integrating with Checkout APIs. ## Authentication Each request to the Checkout Utility API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v1/originKeys ``` + * + * OpenAPI spec version: 1 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=checkoutUtilityResponse.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkoutUtility/checkoutUtilityResponse.js.map b/dist/lib-esm/typings/checkoutUtility/checkoutUtilityResponse.js.map new file mode 100644 index 0000000..64741bd --- /dev/null +++ b/dist/lib-esm/typings/checkoutUtility/checkoutUtilityResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"checkoutUtilityResponse.js","sourceRoot":"","sources":["../../../../src/typings/checkoutUtility/checkoutUtilityResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/checkoutUtility/index.d.ts b/dist/lib-esm/typings/checkoutUtility/index.d.ts new file mode 100644 index 0000000..afb03fa --- /dev/null +++ b/dist/lib-esm/typings/checkoutUtility/index.d.ts @@ -0,0 +1,2 @@ +export * from './checkoutUtilityRequest'; +export * from './checkoutUtilityResponse'; diff --git a/dist/lib-esm/typings/checkoutUtility/index.js b/dist/lib-esm/typings/checkoutUtility/index.js new file mode 100644 index 0000000..8332f84 --- /dev/null +++ b/dist/lib-esm/typings/checkoutUtility/index.js @@ -0,0 +1 @@ +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/checkoutUtility/index.js.map b/dist/lib-esm/typings/checkoutUtility/index.js.map new file mode 100644 index 0000000..69021ec --- /dev/null +++ b/dist/lib-esm/typings/checkoutUtility/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/typings/checkoutUtility/index.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib-esm/typings/constants/apiConstants.d.ts b/dist/lib-esm/typings/constants/apiConstants.d.ts new file mode 100644 index 0000000..4d4e3f3 --- /dev/null +++ b/dist/lib-esm/typings/constants/apiConstants.d.ts @@ -0,0 +1,52 @@ +export declare const TRANSACTION_NOT_PERMITTED = "Transaction Not Permitted"; +export declare const CVC_DECLINED = "CVC Declined"; +export declare const RESTRICTED_CARD = "Restricted Card"; +export declare const PAYMENT_DETAIL_NOT_FOUND = "803 PaymentDetail not found"; +export declare const REFUSED = "Refused"; +export declare const REFUSAL_REASON_RAW = "refusalReasonRaw"; +export declare const PAYMENT_METHOD = "paymentMethod"; +export declare const EXPIRY_DATE = "expiryDate"; +export declare const CARD_BIN = "cardBin"; +export declare const CARD_HOLDER_NAME = "cardHolderName"; +export declare const CARD_SUMMARY = "cardSummary"; +export declare const THREE_D_OFFERERED = "threeDOffered"; +export declare const THREE_D_AUTHENTICATED = "threeDAuthenticated"; +export declare const AVS_RESULT = "avsResult"; +export declare const PAYMENT_TOKEN = "payment.token"; +export declare const FRAUD_RESULT_TYPE = "fraudResultType"; +export declare const FRAUD_MANUAL_REVIEW = "fraudManualReview"; +export declare const AUTH_CODE = "authCode"; +export declare const BOLETO_BARCODE_REFERENCE = "boletobancario.barCodeReference"; +export declare const BOLETO_DATA = "boletobancario.data"; +export declare const BOLETO_DUE_DATE = "boletobancario.dueDate"; +export declare const BOLETO_URL = "boletobancario.url"; +export declare const BOLETO_EXPIRATION_DATE = "boletobancario.expirationDate"; +export declare const MULTIBANCO_ENTITY = "comprafacil.entity"; +export declare const MULTIBANCO_AMOUNT = "comprafacil.amount"; +export declare const MULTIBANCO_DEADLINE = "comprafacil.deadline"; +export declare const MULTIBANCO_REFERENCE = "comprafacil.reference"; +export declare const HMAC_SIGNATURE = "hmacSignature"; +export declare const JSON = "card.encrypted.json"; +export declare const BOLETO_SANTANDER = "boletobancario_santander"; +export declare const NUMBER = "number"; +export declare const EXPIRY_MONTH = "expiryMonth"; +export declare const EXPIRY_YEAR = "expiryYear"; +export declare const CVC = "cvc"; +export declare const ENCRYPTED_CARD_NUMBER = "encryptedCardNumber"; +export declare const ENCRYPTED_EXPIRY_MONTH = "encryptedExpiryMonth"; +export declare const ENCRYPTED_EXPIRY_YEAR = "encryptedExpiryYear"; +export declare const ENCRYPTED_SECURITY_CODE = "encryptedSecurityCode"; +export declare const METHOD_TYPE = "type"; +export declare const HOLDER_NAME = "holderName"; +export declare const RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; +export declare const STORE_DETAILS = "storeDetails"; +export declare const MD = "MD"; +export declare const PAREQ = "PaReq"; +export declare const TYPE_SCHEME = "scheme"; +export declare const IDEMPOTENCY_KEY = "Idempotency-Key"; +export declare const ACCEPT_CHARSET = "Accept-Charset"; +export declare const USER_AGENT = "User-Agent"; +export declare const METHOD_POST = "POST"; +export declare const CONTENT_TYPE = "Content-Type"; +export declare const API_KEY = "X-API-Key"; +export declare const APPLICATION_JSON_TYPE = "application/json"; diff --git a/dist/lib-esm/typings/constants/apiConstants.js b/dist/lib-esm/typings/constants/apiConstants.js new file mode 100644 index 0000000..d844e9a --- /dev/null +++ b/dist/lib-esm/typings/constants/apiConstants.js @@ -0,0 +1,73 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +export var TRANSACTION_NOT_PERMITTED = "Transaction Not Permitted"; +export var CVC_DECLINED = "CVC Declined"; +export var RESTRICTED_CARD = "Restricted Card"; +export var PAYMENT_DETAIL_NOT_FOUND = "803 PaymentDetail not found"; +export var REFUSED = "Refused"; +export var REFUSAL_REASON_RAW = "refusalReasonRaw"; +export var PAYMENT_METHOD = "paymentMethod"; +export var EXPIRY_DATE = "expiryDate"; +export var CARD_BIN = "cardBin"; +export var CARD_HOLDER_NAME = "cardHolderName"; +export var CARD_SUMMARY = "cardSummary"; +export var THREE_D_OFFERERED = "threeDOffered"; +export var THREE_D_AUTHENTICATED = "threeDAuthenticated"; +export var AVS_RESULT = "avsResult"; +export var PAYMENT_TOKEN = "payment.token"; +export var FRAUD_RESULT_TYPE = "fraudResultType"; +export var FRAUD_MANUAL_REVIEW = "fraudManualReview"; +export var AUTH_CODE = "authCode"; +export var BOLETO_BARCODE_REFERENCE = "boletobancario.barCodeReference"; +export var BOLETO_DATA = "boletobancario.data"; +export var BOLETO_DUE_DATE = "boletobancario.dueDate"; +export var BOLETO_URL = "boletobancario.url"; +export var BOLETO_EXPIRATION_DATE = "boletobancario.expirationDate"; +export var MULTIBANCO_ENTITY = "comprafacil.entity"; +export var MULTIBANCO_AMOUNT = "comprafacil.amount"; +export var MULTIBANCO_DEADLINE = "comprafacil.deadline"; +export var MULTIBANCO_REFERENCE = "comprafacil.reference"; +export var HMAC_SIGNATURE = "hmacSignature"; +export var JSON = "card.encrypted.json"; +export var BOLETO_SANTANDER = "boletobancario_santander"; +export var NUMBER = "number"; +export var EXPIRY_MONTH = "expiryMonth"; +export var EXPIRY_YEAR = "expiryYear"; +export var CVC = "cvc"; +export var ENCRYPTED_CARD_NUMBER = "encryptedCardNumber"; +export var ENCRYPTED_EXPIRY_MONTH = "encryptedExpiryMonth"; +export var ENCRYPTED_EXPIRY_YEAR = "encryptedExpiryYear"; +export var ENCRYPTED_SECURITY_CODE = "encryptedSecurityCode"; +export var METHOD_TYPE = "type"; +export var HOLDER_NAME = "holderName"; +export var RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; +export var STORE_DETAILS = "storeDetails"; +export var MD = "MD"; +export var PAREQ = "PaReq"; +export var TYPE_SCHEME = "scheme"; +export var IDEMPOTENCY_KEY = "Idempotency-Key"; +export var ACCEPT_CHARSET = "Accept-Charset"; +export var USER_AGENT = "User-Agent"; +export var METHOD_POST = "POST"; +export var CONTENT_TYPE = "Content-Type"; +export var API_KEY = "X-API-Key"; +export var APPLICATION_JSON_TYPE = "application/json"; +//# sourceMappingURL=apiConstants.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/constants/apiConstants.js.map b/dist/lib-esm/typings/constants/apiConstants.js.map new file mode 100644 index 0000000..5f366e7 --- /dev/null +++ b/dist/lib-esm/typings/constants/apiConstants.js.map @@ -0,0 +1 @@ +{"version":3,"file":"apiConstants.js","sourceRoot":"","sources":["../../../../src/typings/constants/apiConstants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,MAAM,CAAC,IAAM,yBAAyB,GAAG,2BAA2B,CAAC;AACrE,MAAM,CAAC,IAAM,YAAY,GAAG,cAAc,CAAC;AAC3C,MAAM,CAAC,IAAM,eAAe,GAAG,iBAAiB,CAAC;AACjD,MAAM,CAAC,IAAM,wBAAwB,GAAG,6BAA6B,CAAC;AACtE,MAAM,CAAC,IAAM,OAAO,GAAG,SAAS,CAAC;AAEjC,MAAM,CAAC,IAAM,kBAAkB,GAAG,kBAAkB,CAAC;AACrD,MAAM,CAAC,IAAM,cAAc,GAAG,eAAe,CAAC;AAC9C,MAAM,CAAC,IAAM,WAAW,GAAG,YAAY,CAAC;AACxC,MAAM,CAAC,IAAM,QAAQ,GAAG,SAAS,CAAC;AAClC,MAAM,CAAC,IAAM,gBAAgB,GAAG,gBAAgB,CAAC;AACjD,MAAM,C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CAAC,IAAM,qBAAqB,GAAG,qBAAqB,CAAC;AAC3D,MAAM,CAAC,IAAM,sBAAsB,GAAG,sBAAsB,CAAC;AAC7D,MAAM,CAAC,IAAM,qBAAqB,GAAG,qBAAqB,CAAC;AAC3D,MAAM,CAAC,IAAM,uBAAuB,GAAG,uBAAuB,CAAC;AAC/D,MAAM,CAAC,IAAM,WAAW,GAAG,MAAM,CAAC;AAClC,MAAM,CAAC,IAAM,WAAW,GAAG,YAAY,CAAC;AACxC,MAAM,CAAC,IAAM,0BAA0B,GAAG,0BAA0B,CAAC;AACrE,MAAM,CAAC,IAAM,aAAa,GAAG,cAAc,CAAC;AAE5C,MAAM,CAAC,IAAM,EAAE,GAAG,IAAI,CAAC;AACvB,MAAM,CAAC,IAAM,KAAK,GAAG,OAAO,CAAC;AAE7B,MAAM,CAAC,IAAM,WAAW,GAAG,QAAQ,CAAC;AAEpC,MAAM,CAAC,IAAM,eAAe,GAAG,iBAAiB,CAAC;AACjD,MAAM,CAAC,IAAM,cAAc,GAAG,gBAAgB,CAAC;AAC/C,MAAM,CAAC,IAAM,UAAU,GAAG,YAAY,CAAC;AACvC,MAAM,CAAC,IAAM,WAAW,GAAG,MAAM,CAAC;AAClC,MAAM,CAAC,IAAM,YAAY,GAAG,cAAc,CAAC;AAC3C,MAAM,CAAC,IAAM,OAAO,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAM,qBAAqB,GAAG,kBAAkB,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/constants/nexoConstants.d.ts b/dist/lib-esm/typings/constants/nexoConstants.d.ts new file mode 100644 index 0000000..a3cef58 --- /dev/null +++ b/dist/lib-esm/typings/constants/nexoConstants.d.ts @@ -0,0 +1,3 @@ +export declare const NEXO_HMAC_KEY_LENGTH = 32; +export declare const NEXO_CIPHER_KEY_LENGTH = 32; +export declare const NEXO_IV_LENGTH = 16; diff --git a/dist/lib-esm/typings/constants/nexoConstants.js b/dist/lib-esm/typings/constants/nexoConstants.js new file mode 100644 index 0000000..6ec9d8b --- /dev/null +++ b/dist/lib-esm/typings/constants/nexoConstants.js @@ -0,0 +1,24 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +export var NEXO_HMAC_KEY_LENGTH = 32; +export var NEXO_CIPHER_KEY_LENGTH = 32; +export var NEXO_IV_LENGTH = 16; +//# sourceMappingURL=nexoConstants.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/constants/nexoConstants.js.map b/dist/lib-esm/typings/constants/nexoConstants.js.map new file mode 100644 index 0000000..0eff6b0 --- /dev/null +++ b/dist/lib-esm/typings/constants/nexoConstants.js.map @@ -0,0 +1 @@ +{"version":3,"file":"nexoConstants.js","sourceRoot":"","sources":["../../../../src/typings/constants/nexoConstants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,MAAM,CAAC,IAAM,oBAAoB,GAAG,EAAE,CAAC;AACvC,MAAM,CAAC,IAAM,sBAAsB,GAAG,EAAE,CAAC;AACzC,MAAM,CAAC,IAAM,cAAc,GAAG,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/enums/environment.d.ts b/dist/lib-esm/typings/enums/environment.d.ts new file mode 100644 index 0000000..41d992a --- /dev/null +++ b/dist/lib-esm/typings/enums/environment.d.ts @@ -0,0 +1 @@ +export declare type Environment = "LIVE" | "TEST"; diff --git a/dist/lib-esm/typings/enums/environment.js b/dist/lib-esm/typings/enums/environment.js new file mode 100644 index 0000000..178d2c7 --- /dev/null +++ b/dist/lib-esm/typings/enums/environment.js @@ -0,0 +1,21 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +//# sourceMappingURL=environment.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/enums/environment.js.map b/dist/lib-esm/typings/enums/environment.js.map new file mode 100644 index 0000000..a556cd2 --- /dev/null +++ b/dist/lib-esm/typings/enums/environment.js.map @@ -0,0 +1 @@ +{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../../../src/typings/enums/environment.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/enums/vatCategory.d.ts b/dist/lib-esm/typings/enums/vatCategory.d.ts new file mode 100644 index 0000000..02e0b96 --- /dev/null +++ b/dist/lib-esm/typings/enums/vatCategory.d.ts @@ -0,0 +1,6 @@ +declare enum VatCategory { + HIGH = "High", + LOW = "Low", + NONE = "None" +} +export default VatCategory; diff --git a/dist/lib-esm/typings/enums/vatCategory.js b/dist/lib-esm/typings/enums/vatCategory.js new file mode 100644 index 0000000..c6ca89f --- /dev/null +++ b/dist/lib-esm/typings/enums/vatCategory.js @@ -0,0 +1,28 @@ +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var VatCategory; +(function (VatCategory) { + VatCategory["HIGH"] = "High"; + VatCategory["LOW"] = "Low"; + VatCategory["NONE"] = "None"; +})(VatCategory || (VatCategory = {})); +export default VatCategory; +//# sourceMappingURL=vatCategory.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/enums/vatCategory.js.map b/dist/lib-esm/typings/enums/vatCategory.js.map new file mode 100644 index 0000000..694c957 --- /dev/null +++ b/dist/lib-esm/typings/enums/vatCategory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"vatCategory.js","sourceRoot":"","sources":["../../../../src/typings/enums/vatCategory.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,IAAK,WAIJ;AAJD,WAAK,WAAW;IACZ,4BAAa,CAAA;IACb,0BAAW,CAAA;IACX,4BAAa,CAAA;AACjB,CAAC,EAJI,WAAW,KAAX,WAAW,QAIf;AAED,eAAe,WAAW,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/nexo.d.ts b/dist/lib-esm/typings/nexo.d.ts new file mode 100644 index 0000000..fabf69e --- /dev/null +++ b/dist/lib-esm/typings/nexo.d.ts @@ -0,0 +1,1123 @@ +export interface AbortRequest { + MessageReference: MessageReference; + AbortReason: string; + DisplayOutput?: DisplayOutput; +} +export interface AdminRequest { + ServiceIdentification?: string; +} +export interface AdminResponse { + Response: Response; +} +export interface AlgorithmIdentifier { + Parameter?: Parameter; + Algorithm: AlgorithmType; +} +export interface AllowedProduct { + ProductLabel?: string; + AdditionalProductInfo?: string; + ProductCode: string; + EanUpc?: string; +} +export interface Amount { + value?: number; + Currency?: string; +} +export interface AmountsReq { + Currency: string; + RequestedAmount?: number; + CashBackAmount?: number; + TipAmount?: number; + PaidAmount?: number; + MinimumAmountToDeliver?: number; + MaximumCashBackAmount?: number; + MinimumSplitAmount?: number; +} +export interface AmountsResp { + Currency?: string; + AuthorizedAmount: number; + TotalRebatesAmount?: number; + TotalFeesAmount?: number; + CashBackAmount?: number; + TipAmount?: number; +} +export interface AreaSize { + X: string; + Y: string; +} +export interface AuthenticatedData { + keyTransportOrKEK?: any[]; + MACAlgorithm: AlgorithmIdentifier; + EncapsulatedContent: EncapsulatedContent; + Version?: VersionType; + MAC: any; +} +export interface BalanceInquiryRequest { + PaymentAccountReq?: PaymentAccountReq; + LoyaltyAccountReq?: LoyaltyAccountReq; +} +export interface BalanceInquiryResponse { + Response: Response; + PaymentAccountStatus?: PaymentAccountStatus; + LoyaltyAccountStatus?: LoyaltyAccountStatus; +} +export interface BatchRequest { + TransactionToPerform?: TransactionToPerform[]; + RemoveAllFlag?: boolean; +} +export interface BatchResponse { + Response: Response; + PerformedTransaction?: PerformedTransaction[]; +} +export interface CapturedSignature { + AreaSize?: AreaSize; + SignaturePoint: SignaturePoint[]; +} +export interface CardAcquisitionRequest { + SaleData: SaleData; + CardAcquisitionTransaction: CardAcquisitionTransaction; +} +export interface CardAcquisitionResponse { + Response: Response; + SaleData: SaleData; + POIData: POIData; + PaymentBrand?: string[]; + PaymentInstrumentData?: PaymentInstrumentData; + LoyaltyAccount?: LoyaltyAccount[]; + CustomerOrder?: CustomerOrder[]; +} +export interface CardAcquisitionTransaction { + AllowedPaymentBrand?: string[]; + AllowedLoyaltyBrand?: string[]; + ForceEntryMode?: ForceEntryModeType[][]; + LoyaltyHandling?: LoyaltyHandlingType; + CustomerLanguage?: string; + ForceCustomerSelectionFlag?: boolean; + TotalAmount?: number; + PaymentType?: PaymentType; + CashBackFlag?: boolean; +} +export interface CardData { + ProtectedCardData?: ContentInformation; + SensitiveCardData?: SensitiveCardData; + AllowedProductCode?: string[]; + AllowedProduct?: AllowedProduct[]; + PaymentToken?: PaymentToken; + CustomerOrder?: CustomerOrder[]; + PaymentBrand?: string; + MaskedPan?: string; + PaymentAccountRef?: string; + EntryMode?: EntryModeType[]; + CardCountryCode?: string; +} +export interface CardReaderAPDURequest { + APDUData?: any; + APDUClass: any; + APDUInstruction: any; + APDUPar1: any; + APDUPar2: any; + APDUExpectedLength?: any; +} +export interface CardReaderAPDUResponse { + Response: Response; + APDUData?: any; + CardStatusWords: any; +} +export interface CardReaderInitRequest { + ForceEntryMode?: ForceEntryModeType[][]; + DisplayOutput?: DisplayOutput; + WarmResetFlag?: boolean; + LeaveCardFlag?: boolean; + MaxWaitingTime?: number; +} +export interface CardReaderInitResponse { + Response: Response; + TrackData?: TrackData[]; + ICCResetData?: ICCResetData; + EntryMode?: EntryModeType[]; +} +export interface CardReaderPowerOffRequest { + DisplayOutput?: DisplayOutput; + MaxWaitingTime?: number; +} +export interface CardReaderPowerOffResponse { + Response: Response; +} +export interface CardholderPIN { + EncrPINBlock: ContentInformation; + PINFormat: PINFormatType; + AdditionalInput?: string; +} +export interface CashHandlingDevice { + CoinsOrBills: CoinsOrBills[]; + CashHandlingOKFlag: boolean; + Currency: string; +} +export interface CheckData { + BankID?: string; + AccountNumber?: string; + CheckNumber?: string; + TrackData?: TrackData; + CheckCardNumber?: string; + Type?: CheckTypeCodeType; + Country?: string; +} +export interface CoinsOrBills { + UnitValue: number; + Number: number; +} +export interface ContentInformation { + EnvelopedData?: EnvelopedData; + AuthenticatedData?: AuthenticatedData; + SignedData?: SignedData; + DigestedData?: DigestedData; + NamedKeyEncryptedData?: NamedKeyEncryptedData; + ContentType: ContentType; +} +export interface CurrencyConversion { + ConvertedAmount: Amount; + Commission?: number; + Declaration?: string; + CustomerApprovedFlag?: boolean; + Rate?: number; + Markup?: number; +} +export interface CustomerOrder { + AdditionalInformation?: string; + CustomerOrderID: string; + OpenOrderState?: boolean; + StartDate: XMLGregorianCalendar; + EndDate?: XMLGregorianCalendar; + ForecastedAmount: number; + CurrentAmount: number; + Currency?: string; + AccessedBy?: string; +} +export interface DiagnosisRequest { + AcquirerID?: string[]; + POIID?: string; + HostDiagnosisFlag?: boolean; +} +export interface DiagnosisResponse { + Response: Response; + LoggedSaleID?: string[]; + POIStatus?: POIStatus; + HostStatus?: HostStatus[]; +} +export interface DigestedData { + DigestAlgorithm: AlgorithmIdentifier; + EncapsulatedContent: EncapsulatedContent; + Digest: any; + Version?: VersionType; +} +export interface DisplayOutput { + OutputContent: OutputContent; + MenuEntry?: MenuEntry[]; + OutputSignature?: any; + ResponseRequiredFlag?: boolean; + MinimumDisplayTime?: number; + Device: DeviceType; + InfoQualify: InfoQualifyType; +} +export interface DisplayRequest { + DisplayOutput: DisplayOutput[]; +} +export interface DisplayResponse { + OutputResult: OutputResult[]; +} +export interface EnableServiceRequest { + ServicesEnabled?: ServicesEnabledType[]; + DisplayOutput?: DisplayOutput; + TransactionAction: TransactionActionType; +} +export interface EnableServiceResponse { + Response: Response; +} +export interface EncapsulatedContent { + Content?: any; + ContentType: ContentType; +} +export interface EncryptedContent { + ContentEncryptionAlgorithm: AlgorithmIdentifier; + EncryptedData: any; + ContentType: ContentType; +} +export interface EnvelopedData { + keyTransportOrKEK?: any[]; + EncryptedContent: EncryptedContent; + Version?: VersionType; +} +export interface EventNotification { + EventDetails?: string; + RejectedMessage?: any; + DisplayOutput?: DisplayOutput; + TimeStamp: XMLGregorianCalendar; + EventToNotify: EventToNotifyType; + MaintenanceRequiredFlag?: boolean; + CustomerLanguage?: string; +} +export interface GeographicCoordinates { + Latitude: string; + Longitude: string; +} +export interface Geolocation { + GeographicCoordinates?: GeographicCoordinates; + UTMCoordinates?: UTMCoordinates; +} +export interface GetTotalsRequest { + TotalDetails?: TotalDetailsType[]; + TotalFilter?: TotalFilter; +} +export interface GetTotalsResponse { + Response: Response; + TransactionTotals?: TransactionTotals[]; + POIReconciliationID: string; +} +export interface HostStatus { + AcquirerID: string; + IsReachableFlag?: boolean; +} +export interface ICCResetData { + ATRValue?: any; + CardStatusWords?: any; +} +export interface Input { + ConfirmedFlag?: boolean; + FunctionKey?: string; + TextInput?: string; + DigitInput?: string; + Password?: ContentInformation; + MenuEntryNumber?: number; + InputCommand: InputCommandType; +} +export interface InputData { + DefaultInputString?: string; + StringMask?: string; + Device: DeviceType; + InfoQualify: InfoQualifyType; + InputCommand: InputCommandType; + NotifyCardInputFlag?: boolean; + MaxInputTime?: number; + ImmediateResponseFlag?: boolean; + MinLength?: number; + MaxLength?: number; + MaxDecimalLength?: number; + WaitUserValidationFlag?: boolean; + FromRightToLeftFlag?: boolean; + MaskCharactersFlag?: boolean; + BeepKeyFlag?: boolean; + GlobalCorrectionFlag?: boolean; + DisableCancelFlag?: boolean; + DisableCorrectFlag?: boolean; + DisableValidFlag?: boolean; + MenuBackFlag?: boolean; +} +export interface InputRequest { + DisplayOutput?: DisplayOutput; + InputData: InputData; +} +export interface InputResponse { + OutputResult?: OutputResult; + InputResult: InputResult; +} +export interface InputResult { + Response: Response; + Input?: Input; + Device: DeviceType; + InfoQualify: InfoQualifyType; +} +export interface InputUpdate { + MessageReference: MessageReference; + OutputContent: OutputContent; + MenuEntry?: MenuEntry[]; + OutputSignature?: any; + MinLength?: number; + MaxLength?: number; + MaxDecimalLength?: number; +} +export interface Instalment { + Instalment?: InstalmentType[]; + SequenceNumber?: number; + PlanID?: string; + Period?: number; + PeriodUnit?: PeriodUnitType; + FirstPaymentDate?: string; + TotalNbOfPayments?: number; + CumulativeAmount?: number; + FirstAmount?: number; + Charges?: number; +} +export interface Issuer { + RelativeDistinguishedName: RelativeDistinguishedName[]; +} +export interface IssuerAndSerialNumber { + Issuer: Issuer; + SerialNumber: number; +} +export interface KEK { + KEKIdentifier: KEKIdentifier; + KeyEncryptionAlgorithm: AlgorithmIdentifier; + Version?: VersionType; + EncryptedKey: any; +} +export interface KEKIdentifier { + KeyIdentifier: string; + KeyVersion: string; + DerivationIdentifier?: any; +} +export interface KeyTransport { + RecipientIdentifier: RecipientIdentifier; + KeyEncryptionAlgorithm: AlgorithmIdentifier; + Version?: VersionType; + EncryptedKey: any; +} +export interface LoginRequest { + DateTime: XMLGregorianCalendar; + SaleSoftware: SaleSoftware; + SaleTerminalData?: SaleTerminalData; + TrainingModeFlag?: boolean; + OperatorLanguage: string; + OperatorID?: string; + ShiftNumber?: string; + TokenRequestedType?: TokenRequestedType; + CustomerOrderReq?: CustomerOrderReqType[]; + POISerialNumber?: string; +} +export interface LoginResponse { + Response: Response; + POISystemData?: POISystemData; +} +export interface LogoutRequest { + MaintenanceAllowed?: boolean; +} +export interface LogoutResponse { + Response: Response; +} +export interface LoyaltyAccount { + LoyaltyAccountID: LoyaltyAccountID; + LoyaltyBrand?: string; +} +export interface LoyaltyAccountID { + value?: string; + EntryMode: EntryModeType[]; + IdentificationType: IdentificationType; + IdentificationSupport?: IdentificationSupportType; +} +export interface LoyaltyAccountReq { + CardAcquisitionReference?: TransactionIdentification; + LoyaltyAccountID?: LoyaltyAccountID; +} +export interface LoyaltyAccountStatus { + LoyaltyAccount: LoyaltyAccount; + CurrentBalance?: number; + LoyaltyUnit?: LoyaltyUnitType; + Currency?: string; +} +export interface LoyaltyAcquirerData { + ApprovalCode?: string; + LoyaltyTransactionID?: TransactionIdentification; + LoyaltyAcquirerID?: string; + HostReconciliationID?: string; +} +export interface LoyaltyAmount { + value?: number; + LoyaltyUnit?: LoyaltyUnitType; + Currency?: string; +} +export interface LoyaltyData { + CardAcquisitionReference?: TransactionIdentification; + LoyaltyAccountID?: LoyaltyAccountID; + LoyaltyAmount?: LoyaltyAmount; +} +export interface LoyaltyRequest { + SaleData: SaleData; + LoyaltyTransaction: LoyaltyTransaction; + LoyaltyData?: LoyaltyData[]; +} +export interface LoyaltyResponse { + Response: Response; + SaleData: SaleData; + POIData: POIData; + LoyaltyResult?: LoyaltyResult[]; + PaymentReceipt?: PaymentReceipt[]; +} +export interface LoyaltyResult { + LoyaltyAccount: LoyaltyAccount; + LoyaltyAmount?: LoyaltyAmount; + LoyaltyAcquirerData?: LoyaltyAcquirerData; + Rebates?: Rebates; + CurrentBalance?: number; +} +export interface LoyaltyTotals { + TransactionType: TransactionType; + TransactionCount: number; + TransactionAmount: number; +} +export interface LoyaltyTransaction { + OriginalPOITransaction?: OriginalPOITransaction; + TransactionConditions?: TransactionConditions; + SaleItem?: SaleItem[]; + LoyaltyTransactionType: LoyaltyTransactionType; + Currency?: string; + TotalAmount?: number; +} +export interface MenuEntry { + PredefinedContent?: PredefinedContent; + OutputText?: OutputText[]; + OutputXHTML?: any; + MenuEntryTag?: MenuEntryTagType; + OutputFormat: OutputFormatType; + DefaultSelectedFlag?: boolean; +} +export interface MessageHeader { + ProtocolVersion?: string; + MessageClass: MessageClassType; + MessageCategory: MessageCategoryType; + MessageType: MessageType; + ServiceID?: string; + DeviceID?: string; + SaleID: string; + POIID: string; +} +export interface MessageReference { + MessageCategory?: MessageCategoryType; + ServiceID?: string; + DeviceID?: string; + SaleID?: string; + POIID?: string; +} +export interface MobileData { + MobileCountryCode?: string; + Geolocation?: Geolocation; + ProtectedMobileData?: ContentInformation; + SensitiveMobileData?: SensitiveMobileData; + MobileNetworkCode?: string; + MaskedMSISDN?: string; +} +export interface NamedKeyEncryptedData { + KeyName?: string; + EncryptedContent: EncryptedContent; + Version?: VersionType; +} +export interface ObjectFactory { +} +export interface OriginalPOITransaction { + POITransactionID?: TransactionIdentification; + ApprovalCode?: string; + HostTransactionID?: TransactionIdentification; + SaleID?: string; + POIID?: string; + ReuseCardDataFlag?: boolean; + CustomerLanguage?: string; + AcquirerID?: string; +} +export interface OutputBarcode { + value?: string; + BarcodeType?: BarcodeType; +} +export interface OutputContent { + PredefinedContent?: PredefinedContent; + OutputText?: OutputText[]; + OutputXHTML?: any; + OutputBarcode?: OutputBarcode; + OutputFormat: OutputFormatType; +} +export interface OutputResult { + Response: Response; + Device: DeviceType; + InfoQualify: InfoQualifyType; +} +export interface OutputText { + Text?: string; + CharacterSet?: number; + Font?: string; + StartRow?: number; + StartColumn?: number; + Color?: ColorType; + CharacterWidth?: CharacterWidthType; + CharacterHeight?: CharacterHeightType; + CharacterStyle?: CharacterStyleType; + Alignment?: AlignmentType; + EndOfLineFlag?: boolean; +} +export interface PINRequest { + CardholderPIN?: CardholderPIN; + PINRequestType: PINRequestType; + PINVerifMethod?: string; + AdditionalInput?: string; + PINEncAlgorithm?: string; + PINFormat?: PINFormatType; + KeyReference?: string; + MaxWaitingTime?: number; +} +export interface PINResponse { + Response: Response; + CardholderPIN?: CardholderPIN; +} +export interface POIData { + POITransactionID: TransactionIdentification; + POIReconciliationID?: string; +} +export interface POIProfile { + ServiceProfiles?: ServiceProfilesType[]; + GenericProfile?: GenericProfileType; +} +export interface POISoftware { + ManufacturerID: string; + ApplicationName: string; + SoftwareVersion: string; + CertificationCode: string; +} +export interface POIStatus { + CashHandlingDevice?: CashHandlingDevice[]; + GlobalStatus: GlobalStatusType; + SecurityOKFlag?: boolean; + PEDOKFlag?: boolean; + CardReaderOKFlag?: boolean; + PrinterStatus?: PrinterStatusType; + CommunicationOKFlag?: boolean; + FraudPreventionFlag?: boolean; +} +export interface POISystemData { + DateTime: XMLGregorianCalendar; + POISoftware: POISoftware; + POITerminalData?: POITerminalData; + POIStatus?: POIStatus; +} +export interface POITerminalData { + POICapabilities: POICapabilitiesType[]; + POIProfile?: POIProfile; + TerminalEnvironment: TerminalEnvironmentType; + POISerialNumber: string; +} +export interface Parameter { + InitialisationVector?: any; +} +export interface PaymentAccountReq { + CardAcquisitionReference?: TransactionIdentification; + PaymentInstrumentData?: PaymentInstrumentData; + AccountType?: AccountType; +} +export interface PaymentAccountStatus { + PaymentInstrumentData?: PaymentInstrumentData; + PaymentAcquirerData?: PaymentAcquirerData; + LoyaltyAccountStatus?: LoyaltyAccountStatus; + Currency?: string; + CurrentBalance?: number; +} +export interface PaymentAcquirerData { + AcquirerTransactionID?: TransactionIdentification; + ApprovalCode?: string; + AcquirerID?: string; + MerchantID: string; + AcquirerPOIID: string; +} +export interface PaymentData { + CardAcquisitionReference?: TransactionIdentification; + RequestedValidityDate?: string; + Instalment?: Instalment; + CustomerOrder?: CustomerOrder; + PaymentInstrumentData?: PaymentInstrumentData; + PaymentType?: PaymentType; + SplitPaymentFlag?: boolean; +} +export interface PaymentInstrumentData { + CardData?: CardData; + CheckData?: CheckData; + MobileData?: MobileData; + PaymentInstrumentType: PaymentInstrumentType; + StoredValueAccountID: StoredValueAccountID; + ProtectedCardData: ContentInformation; +} +export interface PaymentReceipt { + OutputContent: OutputContent; + DocumentQualifier: DocumentQualifierType; + IntegratedPrintFlag?: boolean; + RequiredSignatureFlag?: boolean; +} +export interface PaymentRequest { + SaleData: SaleData; + PaymentTransaction: PaymentTransaction; + PaymentData?: PaymentData; + LoyaltyData?: LoyaltyData[]; +} +export interface PaymentResponse { + Response: Response; + SaleData: SaleData; + POIData: POIData; + PaymentResult?: PaymentResult; + LoyaltyResult?: LoyaltyResult[]; + PaymentReceipt?: PaymentReceipt[]; + CustomerOrder?: CustomerOrder[]; +} +export interface PaymentResult { + PaymentInstrumentData?: PaymentInstrumentData; + AmountsResp?: AmountsResp; + Instalment?: Instalment; + CurrencyConversion?: CurrencyConversion[]; + CapturedSignature?: CapturedSignature; + ProtectedSignature?: ContentInformation; + PaymentAcquirerData?: PaymentAcquirerData; + PaymentType?: PaymentType; + MerchantOverrideFlag?: boolean; + CustomerLanguage?: string; + OnlineFlag?: boolean; + AuthenticationMethod?: AuthenticationMethodType[]; + ValidityDate?: string; +} +export interface PaymentToken { + TokenRequestedType: TokenRequestedType; + TokenValue: string; + ExpiryDateTime?: XMLGregorianCalendar; +} +export interface PaymentTotals { + TransactionType: TransactionType; + TransactionCount: number; + TransactionAmount: number; +} +export interface PaymentTransaction { + AmountsReq: AmountsReq; + OriginalPOITransaction?: OriginalPOITransaction; + TransactionConditions?: TransactionConditions; + SaleItem?: SaleItem[]; +} +export interface PerformedTransaction { + Response: Response; + SaleData?: SaleData; + POIData: POIData; + PaymentResult?: PaymentResult; + LoyaltyResult?: LoyaltyResult[]; + ReversedAmount?: number; +} +export interface PredefinedContent { + ReferenceID: string; + Language?: string; +} +export interface PrintOutput { + OutputContent: OutputContent; + OutputSignature?: any; + DocumentQualifier: DocumentQualifierType; + ResponseMode: ResponseModeType; + IntegratedPrintFlag?: boolean; + RequiredSignatureFlag?: boolean; +} +export interface PrintRequest { + PrintOutput: PrintOutput; +} +export interface PrintResponse { + Response: Response; + DocumentQualifier: DocumentQualifierType; +} +export interface Rebates { + TotalRebate?: number; + RebateLabel?: string; + SaleItemRebate?: SaleItemRebate[]; +} +export interface RecipientIdentifier { + IssuerAndSerialNumber: IssuerAndSerialNumber; +} +export interface ReconciliationRequest { + AcquirerID?: string[]; + ReconciliationType: ReconciliationType; + POIReconciliationID?: string; +} +export interface ReconciliationResponse { + Response: Response; + TransactionTotals?: TransactionTotals[]; + ReconciliationType: ReconciliationType; + POIReconciliationID?: string; +} +export interface RelativeDistinguishedName { + Attribute: string; + AttributeValue: string; +} +export interface RepeatedMessageResponse { + RepeatedResponseMessageBody: RepeatedResponseMessageBody; + MessageHeader: MessageHeader; +} +export interface RepeatedMessageResponseBody { + LoyaltyResponse?: LoyaltyResponse; + PaymentResponse?: PaymentResponse; + ReversalResponse?: ReversalResponse; + StoredValueResponse?: StoredValueResponse; + CardAcquisitionResponse?: CardAcquisitionResponse; + CardReaderAPDUResponse?: CardReaderAPDUResponse; +} +export interface RepeatedResponseMessageBody { + LoyaltyResponse?: LoyaltyResponse; + PaymentResponse?: PaymentResponse; + ReversalResponse?: ReversalResponse; + StoredValueResponse?: StoredValueResponse; + CardAcquisitionResponse?: CardAcquisitionResponse; + CardReaderAPDUResponse?: CardReaderAPDUResponse; +} +export interface Response { + AdditionalResponse?: string; + Result: ResultType; + ErrorCondition?: ErrorConditionType; +} +export interface ReversalRequest { + OriginalPOITransaction: OriginalPOITransaction; + CustomerOrderID?: CustomerOrder; + SaleReferenceID?: string; + ReversalReason: ReversalReasonType; + ReversedAmount?: number; +} +export interface ReversalResponse { + Response: Response; + POIData?: POIData; + OriginalPOITransaction?: OriginalPOITransaction; + PaymentReceipt?: PaymentReceipt[]; + ReversedAmount?: number; + CustomerOrderID?: string; +} +export interface SaleData { + SaleTransactionID: TransactionIdentification; + SaleTerminalData?: SaleTerminalData; + SponsoredMerchant?: SponsoredMerchant[]; + SaleToPOIData?: string; + SaleToAcquirerData?: string; + SaleToIssuerData?: SaleToIssuerData; + OperatorID?: string; + OperatorLanguage?: string; + ShiftNumber?: string; + SaleReferenceID?: string; + TokenRequestedType?: TokenRequestedType; + CustomerOrderID?: string; + CustomerOrderReq?: CustomerOrderReqType[]; +} +export interface SaleItem { + UnitOfMeasure?: UnitOfMeasureType; + Quantity?: number; + UnitPrice?: number; + TaxCode?: string; + SaleChannel?: string; + ProductLabel?: string; + AdditionalProductInfo?: string; + ItemID: number; + ProductCode: string; + EanUpc?: string; + ItemAmount: number; +} +export interface SaleItemRebate { + UnitOfMeasure?: UnitOfMeasureType; + Quantity?: number; + RebateLabel?: string; + ItemID: number; + ProductCode: string; + EanUpc?: string; + ItemAmount?: number; +} +export interface SaleProfile { + ServiceProfiles?: ServiceProfilesType[]; + GenericProfile?: GenericProfileType; +} +export interface SaleSoftware { + ManufacturerID: string; + ApplicationName: string; + SoftwareVersion: string; + CertificationCode: string; +} +export interface SaleTerminalData { + SaleCapabilities?: SaleCapabilitiesType[]; + SaleProfile?: SaleProfile; + TerminalEnvironment?: TerminalEnvironmentType; + TotalsGroupID?: string; +} +export interface SaleToIssuerData { + StatementReference?: string; +} +export interface SaleToPOIRequest { + MessageHeader: MessageHeader; + AbortRequest?: AbortRequest; + BalanceInquiryRequest?: BalanceInquiryRequest; + BatchRequest?: BatchRequest; + CardAcquisitionRequest?: CardAcquisitionRequest; + AdminRequest?: AdminRequest; + DiagnosisRequest?: DiagnosisRequest; + DisplayRequest?: DisplayRequest; + EnableServiceRequest?: EnableServiceRequest; + EventNotification?: EventNotification; + GetTotalsRequest?: GetTotalsRequest; + InputRequest?: InputRequest; + InputUpdate?: InputUpdate; + LoginRequest?: LoginRequest; + LogoutRequest?: LogoutRequest; + LoyaltyRequest?: LoyaltyRequest; + PaymentRequest?: PaymentRequest; + PINRequest?: PINRequest; + PrintRequest?: PrintRequest; + CardReaderInitRequest?: CardReaderInitRequest; + CardReaderAPDURequest?: CardReaderAPDURequest; + CardReaderPowerOffRequest?: CardReaderPowerOffRequest; + ReconciliationRequest?: ReconciliationRequest; + ReversalRequest?: ReversalRequest; + SoundRequest?: SoundRequest; + StoredValueRequest?: StoredValueRequest; + TransactionStatusRequest?: TransactionStatusRequest; + TransmitRequest?: TransmitRequest; + SecurityTrailer?: ContentInformation; +} +export interface SaleToPOIResponse { + MessageHeader: MessageHeader; + BalanceInquiryResponse?: BalanceInquiryResponse; + BatchResponse?: BatchResponse; + CardAcquisitionResponse?: CardAcquisitionResponse; + AdminResponse?: AdminResponse; + DiagnosisResponse?: DiagnosisResponse; + DisplayResponse?: DisplayResponse; + EnableServiceResponse?: EnableServiceResponse; + GetTotalsResponse?: GetTotalsResponse; + InputResponse?: InputResponse; + LoginResponse?: LoginResponse; + LogoutResponse?: LogoutResponse; + LoyaltyResponse?: LoyaltyResponse; + PaymentResponse?: PaymentResponse; + PINResponse?: PINResponse; + PrintResponse?: PrintResponse; + CardReaderInitResponse?: CardReaderInitResponse; + CardReaderAPDUResponse?: CardReaderAPDUResponse; + CardReaderPowerOffResponse?: CardReaderPowerOffResponse; + ReconciliationResponse?: ReconciliationResponse; + ReversalResponse?: ReversalResponse; + SoundResponse?: SoundResponse; + StoredValueResponse?: StoredValueResponse; + TransactionStatusResponse?: TransactionStatusResponse; + TransmitResponse?: TransmitResponse; + SecurityTrailer?: ContentInformation; +} +export interface SensitiveCardData { + TrackData?: TrackData[]; + PAN?: string; + CardSeqNumb?: string; + ExpiryDate?: string; +} +export interface SensitiveMobileData { + MSISDN: string; + IMSI?: string; + IMEI?: string; +} +export interface SignaturePoint { + X: string; + Y: string; +} +export interface SignedData { + DigestAlgorithm: AlgorithmIdentifier[]; + EncapsulatedContent: EncapsulatedContent; + Certificate?: any[]; + Signer: Signer[]; + Version?: VersionType; +} +export interface Signer { + SignerIdentifier: SignerIdentifier; + DigestAlgorithm: AlgorithmIdentifier; + SignatureAlgorithm: AlgorithmIdentifier; + Signature: any; + Version?: VersionType; +} +export interface SignerIdentifier { + IssuerAndSerialNumber: IssuerAndSerialNumber; +} +export interface SoundContent { + value?: string; + SoundFormat?: SoundFormatType; + Language?: string; + ReferenceID?: string; +} +export interface SoundRequest { + SoundContent: SoundContent; + ResponseMode?: ResponseModeType; + SoundAction: SoundActionType; + SoundVolume?: number; +} +export interface SoundResponse { + Response: Response; +} +export interface SponsoredMerchant { + MerchantName: string; + MerchantAddress?: string; + MerchantCountry: string; + MerchantCategoryCode: string; + RegistrationID: string; +} +export interface StoredValueAccountID { + value?: string; + StoredValueAccountType: StoredValueAccountType; + StoredValueProvider?: string; + OwnerName?: string; + ExpiryDate?: string; + EntryMode: EntryModeType[]; + IdentificationType: IdentificationType; +} +export interface StoredValueAccountStatus { + StoredValueAccountID: StoredValueAccountID; + CurrentBalance?: number; +} +export interface StoredValueData { + StoredValueAccountID?: StoredValueAccountID; + OriginalPOITransaction?: OriginalPOITransaction; + StoredValueProvider?: string; + StoredValueTransactionType: StoredValueTransactionType; + ProductCode?: string; + EanUpc?: string; + ItemAmount: number; + Currency: string; +} +export interface StoredValueRequest { + SaleData: SaleData; + StoredValueData: StoredValueData[]; + CustomerLanguage?: string; +} +export interface StoredValueResponse { + Response: Response; + SaleData: SaleData; + POIData: POIData; + StoredValueResult?: StoredValueResult[]; +} +export interface StoredValueResult { + StoredValueAccountStatus: StoredValueAccountStatus; + HostTransactionID?: TransactionIdentification; + StoredValueTransactionType: StoredValueTransactionType; + ProductCode: string; + EanUpc?: string; + ItemAmount: number; + Currency: string; +} +export interface TotalFilter { + POIID?: string; + SaleID?: string; + OperatorID?: string; + ShiftNumber?: string; + TotalsGroupID?: string; +} +export interface TrackData { + value?: string; + TrackNumb?: number; + TrackFormat?: TrackFormatType; +} +export interface TransactionConditions { + AllowedPaymentBrand?: string[]; + AcquirerID?: string[]; + AllowedLoyaltyBrand?: string[]; + ForceEntryMode?: ForceEntryModeType[][]; + DebitPreferredFlag?: boolean; + LoyaltyHandling?: LoyaltyHandlingType; + CustomerLanguage?: string; + ForceOnlineFlag?: boolean; + MerchantCategoryCode?: string; +} +export interface TransactionIdentification { + TransactionID: string; + TimeStamp: XMLGregorianCalendar; +} +export interface TransactionStatusRequest { + MessageReference?: MessageReference; + DocumentQualifier?: DocumentQualifierType[]; + ReceiptReprintFlag?: boolean; +} +export interface TransactionStatusResponse { + Response: Response; + MessageReference?: MessageReference; + RepeatedMessageResponse?: RepeatedMessageResponse; +} +export interface TransactionToPerform { + PaymentRequest?: PaymentRequest; + LoyaltyRequest?: LoyaltyRequest; + ReversalRequest?: ReversalRequest; +} +export interface TransactionTotals { + PaymentTotals?: PaymentTotals[]; + LoyaltyTotals?: LoyaltyTotals[]; + PaymentInstrumentType: PaymentInstrumentType; + AcquirerID?: string; + ErrorCondition?: ErrorConditionType; + HostReconciliationID?: string; + CardBrand?: string; + POIID?: string; + SaleID?: string; + OperatorID?: string; + ShiftNumber?: string; + TotalsGroupID?: string; + PaymentCurrency?: string; + LoyaltyUnit?: LoyaltyUnitType; + LoyaltyCurrency?: string; +} +export interface TransmitRequest { + Message: any; + WaitResponseFlag?: boolean; + MaximumTransmitTime: number; + DestinationAddress: string; +} +export interface TransmitResponse { + Response: Response; + Message?: any; +} +export interface UTMCoordinates { + UTMZone: string; + UTMEastward: string; + UTMNorthward: string; +} +export interface XMLGregorianCalendar extends Cloneable { +} +export interface Cloneable { +} +export declare type AccountType = "Default" | "Savings" | "Checking" | "CreditCard" | "Universal" | "Investment" | "CardTotals" | "EpurseCard"; +export declare type AlgorithmType = "id-retail-cbc-mac" | "id-retail-cbc-mac-sha-256" | "id-ukpt-wrap " | "id-dukpt-wrap" | "des-ede3-ecb" | "des-ede3-cbc" | "id-sha256" | "sha256WithRSAEncryption" | "rsaEncryption"; +export declare type AlignmentType = "Left" | "Right" | "Centred" | "Justified"; +export declare type AttributeType = "id-at-commonName" | "id-at-localityName" | "id-at-organizationName" | "id-at-organizationalUnitName" | "id-at-countryName"; +export declare type AuthenticationMethodType = "Bypass" | "ManualVerification" | "MerchantAuthentication" | "OfflinePIN" | "OnLinePIN" | "PaperSignature" | "SecuredChannel" | "SecureCertificate" | "SecureNoCertificate" | "SignatureCapture" | "UnknownMethod"; +export declare type BarcodeType = "EAN8" | "EAN13" | "UPCA" | "Code25" | "Code128" | "PDF417" | "QRCODE"; +export declare type CharacterHeightType = "SingleHeight" | "DoubleHeight" | "HalfHeight"; +export declare type CharacterStyleType = "Normal" | "Bold" | "Italic" | "Underlined"; +export declare type CharacterWidthType = "SingleWidth" | "DoubleWidth"; +export declare type CheckTypeCodeType = "Personal" | "Company"; +export declare type ColorType = "White" | "Black" | "Red" | "Green" | "Blue" | "Yellow" | "Magenta" | "Cyan"; +export declare type ContentType = "id-data" | "id-signedData" | "id-envelopedData" | "id-digestedData" | "id-encryptedData" | "id-ct-authData"; +export declare type CustomerOrderReqType = "Open" | "Closed" | "Both"; +export declare type DeviceType = "CashierDisplay" | "CustomerDisplay" | "CashierInput" | "CustomerInput"; +export declare type DocumentQualifierType = "SaleReceipt" | "CashierReceipt" | "CustomerReceipt" | "Document" | "Voucher" | "Journal"; +export declare type EntryModeType = "RFID" | "Keyed" | "Manual" | "File" | "Scanned" | "MagStripe" | "ICC" | "SynchronousICC" | "Tapped" | "Contactless" | "Mobile"; +export declare type ErrorConditionType = "Aborted" | "Busy" | "Cancel" | "DeviceOut" | "InsertedCard" | "InProgress" | "LoggedOut" | "MessageFormat" | "NotAllowed" | "NotFound" | "PaymentRestriction" | "Refusal" | "UnavailableDevice" | "UnavailableService" | "InvalidCard" | "UnreachableHost" | "WrongPIN"; +export declare type EventToNotifyType = "BeginMaintenance" | "EndMaintenance" | "Shutdown" | "Initialised" | "OutOfOrder" | "Completed" | "Abort" | "SaleWakeUp" | "SaleAdmin" | "CustomerLanguage" | "KeyPressed" | "SecurityAlarm" | "StopAssistance" | "CardInserted" | "CardRemoved" | "Reject"; +export declare type ForceEntryModeType = "RFID" | "Keyed" | "Manual" | "File" | "Scanned" | "MagStripe" | "ICC" | "SynchronousICC" | "Tapped" | "Contactless" | "CheckReader"; +export declare type GenericProfileType = "Basic" | "Standard" | "Extended"; +export declare type GlobalStatusType = "OK" | "Busy" | "Maintenance" | "Unreachable"; +export declare type IdentificationSupportType = "NoCard" | "LoyaltyCard" | "HybridCard" | "LinkedCard"; +export declare type IdentificationType = "PAN" | "ISOTrack2" | "BarCode" | "AccountNumber" | "PhoneNumber"; +export declare type InfoQualifyType = "Status" | "Error" | "Display" | "Sound" | "Input" | "POIReplication" | "CustomerAssistance" | "Receipt" | "Document" | "Voucher"; +export declare type InputCommandType = "GetAnyKey" | "GetConfirmation" | "SiteManager" | "TextString" | "DigitString" | "DecimalString" | "GetFunctionKey" | "GetMenuEntry" | "Password"; +export declare type InstalmentType = "DeferredInstalments" | "EqualInstalments" | "InequalInstalments"; +export declare type LoyaltyHandlingType = "Forbidden" | "Processed" | "Allowed" | "Proposed" | "Required"; +export declare type LoyaltyTransactionType = "Award" | "Rebate" | "Redemption" | "AwardRefund" | "RebateRefund" | "RedemptionRefund"; +export declare type LoyaltyUnitType = "Point" | "Monetary"; +export declare type MenuEntryTagType = "Selectable" | "NonSelectable" | "SubMenu" | "NonSelectableSubMenu"; +export declare type MessageCategoryType = "Abort" | "Admin" | "BalanceInquiry" | "Batch" | "CardAcquisition" | "CardReaderAPDU" | "CardReaderInit" | "CardReaderPowerOff" | "Diagnosis" | "Display" | "EnableService" | "Event" | "GetTotals" | "Input" | "InputUpdate" | "Login" | "Logout" | "Loyalty" | "Payment" | "PIN" | "Print" | "Reconciliation" | "Reversal" | "Sound" | "StoredValue" | "TransactionStatus" | "Transmit"; +export declare type MessageClassType = "Service" | "Device" | "Event"; +export declare type MessageType = "Request" | "Response" | "Notification"; +export declare type OutputFormatType = "MessageRef" | "Text" | "XHTML" | "BarCode"; +export declare type PINFormatType = "ISO0" | "ISO1" | "ISO2" | "ISO3"; +export declare type PINRequestType = "PINVerify" | "PINVerifyOnly" | "PINEnter"; +export declare type POICapabilitiesType = "CashierDisplay" | "CashierError" | "CashierInput" | "CustomerDisplay" | "CustomerError" | "CustomerInput" | "PrinterReceipt" | "PrinterDocument" | "PrinterVoucher" | "MagStripe" | "ICC" | "EMVContactless" | "CashHandling"; +export declare type PaymentInstrumentType = "Card" | "Check" | "Mobile" | "StoredValue" | "Cash"; +export declare type PaymentType = "Normal" | "Refund" | "OneTimeReservation" | "FirstReservation" | "UpdateReservation" | "Completion" | "CashAdvance" | "CashDeposit" | "Recurring" | "Instalment" | "IssuerInstalment" | "PaidOut"; +export declare type PeriodUnitType = "Daily" | "Weekly" | "Monthly" | "Annual"; +export declare type PrinterStatusType = "OK" | "PaperLow" | "NoPaper" | "PaperJam" | "OutOfOrder"; +export declare type ReconciliationType = "SaleReconciliation" | "AcquirerSynchronisation" | "AcquirerReconciliation" | "PreviousReconciliation"; +export declare type ResponseModeType = "NotRequired" | "Immediate" | "PrintEnd" | "SoundEnd"; +export declare type ResultType = "Success" | "Failure" | "Partial"; +export declare type ReversalReasonType = "CustCancel" | "MerchantCancel" | "Malfunction" | "Unable2Compl"; +export declare type SaleCapabilitiesType = "CashierStatus" | "CashierError" | "CashierDisplay" | "POIReplication" | "CashierInput" | "CustomerAssistance" | "CustomerDisplay" | "CustomerError" | "CustomerInput" | "PrinterReceipt" | "PrinterDocument" | "PrinterVoucher" | "MagStripe" | "ICC" | "EMVContactless"; +export declare type ServiceProfilesType = "Synchro" | "Batch" | "OneTimeRes" | "Reservation" | "Loyalty" | "StoredValue" | "PIN" | "CardReader" | "Sound" | "Communication"; +export declare type ServicesEnabledType = "CardAcquisition" | "Payment" | "Loyalty"; +export declare type SoundActionType = "StartSound" | "StopSound" | "SetDefaultVolume"; +export declare type SoundFormatType = "SoundRef" | "MessageRef" | "Text"; +export declare type StoredValueAccountType = "GiftCard" | "PhoneCard" | "Other"; +export declare type StoredValueTransactionType = "Reserve" | "Activate" | "Load" | "Unload" | "Reverse" | "Duplicate"; +export declare type TerminalEnvironmentType = "Attended" | "SemiAttended" | "Unattended"; +export declare type TokenRequestedType = "Transaction" | "Customer"; +export declare type TotalDetailsType = "POIID" | "SaleID" | "OperatorID" | "ShiftNumber" | "TotalsGroupID"; +export declare type TrackFormatType = "ISO" | "JIS-I" | "JIS-II" | "AAMVA" | "CMC-7" | "E-13B"; +export declare type TransactionActionType = "StartTransaction" | "AbortTransaction"; +export declare type TransactionType = "Debit" | "Credit" | "ReverseDebit" | "ReverseCredit" | "OneTimeReservation" | "CompletedDeffered" | "FirstReservation" | "UpdateReservation" | "CompletedReservation" | "CashAdvance" | "IssuerInstalment" | "Declined" | "Failed" | "Award" | "ReverseAward" | "Redemption" | "ReverseRedemption" | "Rebate" | "ReverseRebate"; +export declare type UnitOfMeasureType = "Case" | "Foot" | "UKGallon" | "USGallon" | "Gram" | "Inch" | "Kilogram" | "Pound" | "Meter" | "Centimetre" | "Litre" | "Centilitre" | "Ounce" | "Quart" | "Pint" | "Mile" | "Kilometre" | "Yard" | "Other"; +export declare type VersionType = "v0" | "v1" | "v2" | "v3" | "v4" | "v5"; diff --git a/dist/lib-esm/typings/nexo.js b/dist/lib-esm/typings/nexo.js new file mode 100644 index 0000000..1fefe6c --- /dev/null +++ b/dist/lib-esm/typings/nexo.js @@ -0,0 +1,2 @@ +// Generated using typescript-generator version 2.14.505 on 2019-06-06 08:35:05. +//# sourceMappingURL=nexo.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/nexo.js.map b/dist/lib-esm/typings/nexo.js.map new file mode 100644 index 0000000..766b593 --- /dev/null +++ b/dist/lib-esm/typings/nexo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"nexo.js","sourceRoot":"","sources":["../../../src/typings/nexo.ts"],"names":[],"mappings":"AAAA,gFAAgF"} \ No newline at end of file diff --git a/dist/lib-esm/typings/notification.d.ts b/dist/lib-esm/typings/notification.d.ts new file mode 100644 index 0000000..0986c09 --- /dev/null +++ b/dist/lib-esm/typings/notification.d.ts @@ -0,0 +1,45 @@ +export interface Notification { + live: string; + notificationItems: NotificationItem[]; +} +export interface NotificationItem { + notificationRequestItem: NotificationRequestItem; +} +export interface NotificationRequestItem { + additionalData: AdditionalData; + amount: Amount; + eventCode: string; + eventDate: Date; + merchantAccountCode: string; + merchantReference: string; + operations?: string[]; + originalReference?: string; + paymentMethod: string; + pspReference: string; + reason: string; + success: string; +} +export interface AdditionalData { + [key: string]: string; +} +export interface Amount { + currency: string; + value: number; +} +export declare enum NotificationEnum { + EVENT_CODE_AUTHORISATION = "AUTHORISATION", + EVENT_CODE_CANCELLATION = "CANCELLATION", + EVENT_CODE_REFUND = "REFUND", + EVENT_CODE_CANCEL_OR_REFUND = "CANCEL_OR_REFUND", + EVENT_CODE_CAPTURE = "CAPTURE", + EVENT_CODE_CAPTURE_FAILED = "CAPTURE_FAILED", + EVENT_CODE_REFUND_FAILED = "REFUND_FAILED", + EVENT_CODE_REFUNDED_REVERSED = "REFUNDED_REVERSED", + EVENT_CODE_PAIDOUT_REVERSED = "PAIDOUT_REVERSED", + ADDITIONAL_DATA_TOTAL_FRAUD_SCORE = "totalFraudScore", + ADDITIONAL_DATA_FRAUD_CHECK_PATTERN = "fraudCheck-(\\d+)-([A-Za-z0-9]+)" +} +export declare class Convert { + static toNotification(json: string): Notification; + static notificationToJson(value: Notification): string; +} diff --git a/dist/lib-esm/typings/notification.js b/dist/lib-esm/typings/notification.js new file mode 100644 index 0000000..824fa67 --- /dev/null +++ b/dist/lib-esm/typings/notification.js @@ -0,0 +1,192 @@ +// To parse this data: +// +// import { Convert, Notification } from "./file"; +// +// const notification = Convert.toNotification(json); +// +// These functions will throw an error if the JSON doesn't +// match the expected interface, even if the JSON is valid. +export var NotificationEnum; +(function (NotificationEnum) { + NotificationEnum["EVENT_CODE_AUTHORISATION"] = "AUTHORISATION"; + //Event codes + NotificationEnum["EVENT_CODE_CANCELLATION"] = "CANCELLATION"; + NotificationEnum["EVENT_CODE_REFUND"] = "REFUND"; + NotificationEnum["EVENT_CODE_CANCEL_OR_REFUND"] = "CANCEL_OR_REFUND"; + NotificationEnum["EVENT_CODE_CAPTURE"] = "CAPTURE"; + NotificationEnum["EVENT_CODE_CAPTURE_FAILED"] = "CAPTURE_FAILED"; + NotificationEnum["EVENT_CODE_REFUND_FAILED"] = "REFUND_FAILED"; + NotificationEnum["EVENT_CODE_REFUNDED_REVERSED"] = "REFUNDED_REVERSED"; + NotificationEnum["EVENT_CODE_PAIDOUT_REVERSED"] = "PAIDOUT_REVERSED"; + //Additional Data + NotificationEnum["ADDITIONAL_DATA_TOTAL_FRAUD_SCORE"] = "totalFraudScore"; + NotificationEnum["ADDITIONAL_DATA_FRAUD_CHECK_PATTERN"] = "fraudCheck-(\\d+)-([A-Za-z0-9]+)"; +})(NotificationEnum || (NotificationEnum = {})); +// Converts JSON strings to/from your types +// and asserts the results of JSON.parse at runtime +var Convert = /** @class */ (function () { + function Convert() { + } + Convert.toNotification = function (json) { + return cast(JSON.parse(json), r("Notification")); + }; + Convert.notificationToJson = function (value) { + return JSON.stringify(uncast(value, r("Notification")), null, 2); + }; + return Convert; +}()); +export { Convert }; +function invalidValue(typ, val) { + throw Error("Invalid value " + JSON.stringify(val) + " for type " + JSON.stringify(typ)); +} +function jsonToJSProps(typ) { + if (typ.jsonToJS === undefined) { + var map = {}; + typ.props.forEach(function (p) { return map[p.json] = { key: p.js, typ: p.typ }; }); + typ.jsonToJS = map; + } + return typ.jsonToJS; +} +function jsToJSONProps(typ) { + if (typ.jsToJSON === undefined) { + var map = {}; + typ.props.forEach(function (p) { return map[p.js] = { key: p.json, typ: p.typ }; }); + typ.jsToJSON = map; + } + return typ.jsToJSON; +} +function transform(val, typ, getProps) { + function transformPrimitive(typ, val) { + if (typeof typ === typeof val) + return val; + return invalidValue(typ, val); + } + function transformUnion(typs, val) { + // val must validate against one typ in typs + var l = typs.length; + for (var i = 0; i < l; i++) { + var typ = typs[i]; + try { + return transform(val, typ, getProps); + } + catch (_) { } + } + return invalidValue(typs, val); + } + function transformEnum(cases, val) { + if (cases.indexOf(val) !== -1) + return val; + return invalidValue(cases, val); + } + function transformArray(typ, val) { + // val must be an array with no invalid elements + if (!Array.isArray(val)) + return invalidValue("array", val); + return val.map(function (el) { return transform(el, typ, getProps); }); + } + function transformDate(typ, val) { + if (val === null) { + return null; + } + var d = new Date(val); + if (isNaN(d.valueOf())) { + return invalidValue("Date", val); + } + return d; + } + function transformObject(props, additional, val) { + if (val === null || typeof val !== "object" || Array.isArray(val)) { + return invalidValue("object", val); + } + var result = {}; + Object.getOwnPropertyNames(props).forEach(function (key) { + var prop = props[key]; + var v = Object.prototype.hasOwnProperty.call(val, key) ? val[key] : undefined; + result[prop.key] = transform(v, prop.typ, getProps); + }); + Object.getOwnPropertyNames(val).forEach(function (key) { + if (!Object.prototype.hasOwnProperty.call(props, key)) { + result[key] = transform(val[key], additional, getProps); + } + }); + return result; + } + if (typ === "any") + return val; + if (typ === null) { + if (val === null) + return val; + return invalidValue(typ, val); + } + if (typ === false) + return invalidValue(typ, val); + while (typeof typ === "object" && typ.ref !== undefined) { + typ = typeMap[typ.ref]; + } + if (Array.isArray(typ)) + return transformEnum(typ, val); + if (typeof typ === "object") { + return typ.hasOwnProperty("unionMembers") ? transformUnion(typ.unionMembers, val) + : typ.hasOwnProperty("arrayItems") ? transformArray(typ.arrayItems, val) + : typ.hasOwnProperty("props") ? transformObject(getProps(typ), typ.additional, val) + : invalidValue(typ, val); + } + // Numbers can be parsed by Date but shouldn't be. + if (typ === Date && typeof val !== "number") + return transformDate(typ, val); + return transformPrimitive(typ, val); +} +function cast(val, typ) { + return transform(val, typ, jsonToJSProps); +} +function uncast(val, typ) { + return transform(val, typ, jsToJSONProps); +} +function a(typ) { + return { arrayItems: typ }; +} +function u() { + var typs = []; + for (var _i = 0; _i < arguments.length; _i++) { + typs[_i] = arguments[_i]; + } + return { unionMembers: typs }; +} +function o(props, additional) { + return { props: props, additional: additional }; +} +function m(additional) { + // @ts-ignore + return { props: [], additional: additional }; +} +function r(name) { + return { ref: name }; +} +var typeMap = { + "Notification": o([ + { json: "live", js: "live", typ: "" }, + { json: "notificationItems", js: "notificationItems", typ: a(r("NotificationItem")) }, + ], false), + "NotificationItem": o([ + { json: "NotificationRequestItem", js: "notificationRequestItem", typ: r("NotificationRequestItem") }, + ], false), + "NotificationRequestItem": o([ + { json: "additionalData", js: "additionalData", typ: u(undefined, m("any")) }, + { json: "amount", js: "amount", typ: r("Amount") }, + { json: "eventCode", js: "eventCode", typ: "" }, + { json: "eventDate", js: "eventDate", typ: Date }, + { json: "merchantAccountCode", js: "merchantAccountCode", typ: "" }, + { json: "merchantReference", js: "merchantReference", typ: "" }, + { json: "operations", js: "operations", typ: u(undefined, a("")) }, + { json: "originalReference", js: "originalReference", typ: u(undefined, "") }, + { json: "paymentMethod", js: "paymentMethod", typ: "" }, + { json: "pspReference", js: "pspReference", typ: "" }, + { json: "reason", js: "reason", typ: "" }, + { json: "success", js: "success", typ: "" }, + ], false), + "Amount": o([ + { json: "currency", js: "currency", typ: "" }, + { json: "value", js: "value", typ: 0 }, + ], false), +}; +//# sourceMappingURL=notification.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/notification.js.map b/dist/lib-esm/typings/notification.js.map new file mode 100644 index 0000000..ab89159 --- /dev/null +++ b/dist/lib-esm/typings/notification.js.map @@ -0,0 +1 @@ +{"version":3,"file":"notification.js","sourceRoot":"","sources":["../../../src/typings/notification.ts"],"names":[],"mappings":"AAAA,sBAAsB;AACtB,EAAE;AACF,oDAAoD;AACpD,EAAE;AACF,uDAAuD;AACvD,EAAE;AACF,0DAA0D;AAC1D,2DAA2D;AAmC3D,MAAM,CAAN,IAAY,gBAgBX;AAhBD,WAAY,gBAAgB;IACxB,8DAA0C,CAAA;IAE1C,aAAa;IACb,4DAAwC,CAAA;IACxC,gDAA4B,CAAA;IAC5B,oEAAgD,CAAA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AAE,CAAC,CAAC,SAAS,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE;QAClE,EAAE,IAAI,EAAE,mBAAmB,EAAE,EAAE,EAAE,mBAAmB,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,EAAE;QAC7E,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,EAAE,eAAe,EAAE,GAAG,EAAE,EAAE,EAAE;QACvD,EAAE,IAAI,EAAE,cAAc,EAAE,EAAE,EAAE,cAAc,EAAE,GAAG,EAAE,EAAE,EAAE;QACrD,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,EAAE,EAAE;QACzC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE,EAAE,EAAE;KAC9C,EAAE,KAAK,CAAC;IACT,QAAQ,EAAE,CAAC,CAAC;QACR,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,EAAE,EAAE,EAAE;QAC7C,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,EAAE;KACzC,EAAE,KAAK,CAAC;CACZ,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/accountInfo.d.ts b/dist/lib-esm/typings/payments/accountInfo.d.ts new file mode 100644 index 0000000..c3b6d87 --- /dev/null +++ b/dist/lib-esm/typings/payments/accountInfo.d.ts @@ -0,0 +1,125 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface AccountInfo { + /** + * Indicator for the length of time since this shopper account was created in the merchant's environment. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + */ + accountAgeIndicator?: AccountInfo.AccountAgeIndicatorEnum; + /** + * Date when the shopper's account was last changed. + */ + accountChangeDate?: Date; + /** + * Indicator for the length of time since the shopper's account was last updated. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + */ + accountChangeIndicator?: AccountInfo.AccountChangeIndicatorEnum; + /** + * Date when the shopper's account was created. + */ + accountCreationDate?: Date; + /** + * Number of attempts the shopper tried to add a card to their account in the last day. + */ + addCardAttemptsDay?: number; + /** + * Date the selected delivery address was last used. + */ + deliveryAddressUsageDate?: Date; + /** + * Indicator for the length of time since this delivery address was last used. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + */ + deliveryAddressUsageIndicator?: AccountInfo.DeliveryAddressUsageIndicatorEnum; + /** + * Shopper's home phone number (including the country code). + */ + homePhone?: string; + /** + * Shopper's mobile phone number (including the country code). + */ + mobilePhone?: string; + /** + * Date when the shopper last changed their password. + */ + passwordChangeDate?: Date; + /** + * Indicator when the shopper has changed their password. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + */ + passwordChangeIndicator?: AccountInfo.PasswordChangeIndicatorEnum; + /** + * Number of all transactions (successful and abandoned) from this shopper in the past 24 hours. + */ + pastTransactionsDay?: number; + /** + * Number of all transactions (successful and abandoned) from this shopper in the past year. + */ + pastTransactionsYear?: number; + /** + * Date this payment method was added to the shopper's account. + */ + paymentAccountAge?: Date; + /** + * Indicator for the length of time since this payment method was added to this shopper's account. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + */ + paymentAccountIndicator?: AccountInfo.PaymentAccountIndicatorEnum; + /** + * Number of successful purchases in the last six months. + */ + purchasesLast6Months?: number; + /** + * Whether suspicious activity was recorded on this account. + */ + suspiciousActivity?: boolean; + /** + * Shopper's work phone number (including the country code). + */ + workPhone?: string; +} +export declare namespace AccountInfo { + type AccountAgeIndicatorEnum = 'notApplicable' | 'thisTransaction' | 'lessThan30Days' | 'from30To60Days' | 'moreThan60Days'; + const AccountAgeIndicatorEnum: { + NotApplicable: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + ThisTransaction: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + LessThan30Days: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + From30To60Days: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + MoreThan60Days: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + }; + type AccountChangeIndicatorEnum = 'thisTransaction' | 'lessThan30Days' | 'from30To60Days' | 'moreThan60Days'; + const AccountChangeIndicatorEnum: { + ThisTransaction: import("../checkout").AccountInfo.AccountChangeIndicatorEnum; + LessThan30Days: import("../checkout").AccountInfo.AccountChangeIndicatorEnum; + From30To60Days: import("../checkout").AccountInfo.AccountChangeIndicatorEnum; + MoreThan60Days: import("../checkout").AccountInfo.AccountChangeIndicatorEnum; + }; + type DeliveryAddressUsageIndicatorEnum = 'thisTransaction' | 'lessThan30Days' | 'from30To60Days' | 'moreThan60Days'; + const DeliveryAddressUsageIndicatorEnum: { + ThisTransaction: import("../checkout").AccountInfo.AccountChangeIndicatorEnum; + LessThan30Days: import("../checkout").AccountInfo.AccountChangeIndicatorEnum; + From30To60Days: import("../checkout").AccountInfo.AccountChangeIndicatorEnum; + MoreThan60Days: import("../checkout").AccountInfo.AccountChangeIndicatorEnum; + }; + type PasswordChangeIndicatorEnum = 'notApplicable' | 'thisTransaction' | 'lessThan30Days' | 'from30To60Days' | 'moreThan60Days'; + const PasswordChangeIndicatorEnum: { + NotApplicable: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + ThisTransaction: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + LessThan30Days: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + From30To60Days: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + MoreThan60Days: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + }; + type PaymentAccountIndicatorEnum = 'notApplicable' | 'thisTransaction' | 'lessThan30Days' | 'from30To60Days' | 'moreThan60Days'; + const PaymentAccountIndicatorEnum: { + NotApplicable: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + ThisTransaction: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + LessThan30Days: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + From30To60Days: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + MoreThan60Days: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + }; +} diff --git a/dist/lib-esm/typings/payments/accountInfo.js b/dist/lib-esm/typings/payments/accountInfo.js new file mode 100644 index 0000000..176dc8e --- /dev/null +++ b/dist/lib-esm/typings/payments/accountInfo.js @@ -0,0 +1,48 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export var AccountInfo; +(function (AccountInfo) { + AccountInfo.AccountAgeIndicatorEnum = { + NotApplicable: 'notApplicable', + ThisTransaction: 'thisTransaction', + LessThan30Days: 'lessThan30Days', + From30To60Days: 'from30To60Days', + MoreThan60Days: 'moreThan60Days' + }; + AccountInfo.AccountChangeIndicatorEnum = { + ThisTransaction: 'thisTransaction', + LessThan30Days: 'lessThan30Days', + From30To60Days: 'from30To60Days', + MoreThan60Days: 'moreThan60Days' + }; + AccountInfo.DeliveryAddressUsageIndicatorEnum = { + ThisTransaction: 'thisTransaction', + LessThan30Days: 'lessThan30Days', + From30To60Days: 'from30To60Days', + MoreThan60Days: 'moreThan60Days' + }; + AccountInfo.PasswordChangeIndicatorEnum = { + NotApplicable: 'notApplicable', + ThisTransaction: 'thisTransaction', + LessThan30Days: 'lessThan30Days', + From30To60Days: 'from30To60Days', + MoreThan60Days: 'moreThan60Days' + }; + AccountInfo.PaymentAccountIndicatorEnum = { + NotApplicable: 'notApplicable', + ThisTransaction: 'thisTransaction', + LessThan30Days: 'lessThan30Days', + From30To60Days: 'from30To60Days', + MoreThan60Days: 'moreThan60Days' + }; +})(AccountInfo || (AccountInfo = {})); +//# sourceMappingURL=accountInfo.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/accountInfo.js.map b/dist/lib-esm/typings/payments/accountInfo.js.map new file mode 100644 index 0000000..92ab644 --- /dev/null +++ b/dist/lib-esm/typings/payments/accountInfo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"accountInfo.js","sourceRoot":"","sources":["../../../../src/typings/payments/accountInfo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AA4EH,MAAM,KAAW,WAAW,CAuC3B;AAvCD,WAAiB,WAAW;IAEX,mCAAuB,GAAG;QACnC,aAAa,EAAE,eAA0C;QACzD,eAAe,EAAE,iBAA4C;QAC7D,cAAc,EAAE,gBAA2C;QAC3D,cAAc,EAAE,gBAA2C;QAC3D,cAAc,EAAE,gBAA2C;KAC9D,CAAC;IAEW,sCAA0B,GAAG;QACtC,eAAe,EAAE,iBAA+C;QAChE,cAAc,EAAE,gBAA8C;QAC9D,cAAc,EAAE,gBAA8C;QAC9D,cAAc,EAAE,gBAA8C;KACjE,CAAC;IAEW,6CAAiC,GAAG;QAC7C,eAAe,EAAE,iBAAsD;QACvE,cAAc,EAAE,gBAAqD;QACrE,cAAc,EAAE,gBAAqD;QACrE,cAAc,EAAE,gBAAqD;KACxE,CAAC;IAEW,uCAA2B,GAAG;QACvC,aAAa,EAAE,eAA8C;QAC7D,eAAe,EAAE,iBAAgD;QACjE,cAAc,EAAE,gBAA+C;QAC/D,cAAc,EAAE,gBAA+C;QAC/D,cAAc,EAAE,gBAA+C;KAClE,CAAC;IAEW,uCAA2B,GAAG;QACvC,aAAa,EAAE,eAA8C;QAC7D,eAAe,EAAE,iBAAgD;QACjE,cAAc,EAAE,gBAA+C;QAC/D,cAAc,EAAE,gBAA+C;QAC/D,cAAc,EAAE,gBAA+C;KAClE,CAAC;AACN,CAAC,EAvCgB,WAAW,KAAX,WAAW,QAuC3B"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/address.d.ts b/dist/lib-esm/typings/payments/address.d.ts new file mode 100644 index 0000000..ef65b68 --- /dev/null +++ b/dist/lib-esm/typings/payments/address.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Address { + /** + * The name of the city. >Required if either houseNumberOrName, street, postalCode, or stateOrProvince are provided. + */ + city?: string; + /** + * The two-character country code of the address. The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. 'NL'). > If you don't know the country or are not collecting the country from the shopper, provide `countryCode` as `ZZ`. + */ + country: string; + /** + * The number or name of the house. + */ + houseNumberOrName?: string; + /** + * The postal code. >A maximum of five (5) digits for an address in the USA, or a maximum of ten (10) characters for an address in all other countries. + */ + postalCode?: string; + /** + * The abbreviation of the state or province. >Two (2) characters for an address in the USA or Canada, or a maximum of three (3) characters for an address in all other countries. >Required for an address in the USA or Canada if either houseNumberOrName, street, city, or postalCode are provided. + */ + stateOrProvince?: string; + /** + * The name of the street. >The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. >Required if either houseNumberOrName, city, postalCode, or stateOrProvince are provided. + */ + street?: string; +} diff --git a/dist/lib-esm/typings/payments/address.js b/dist/lib-esm/typings/payments/address.js new file mode 100644 index 0000000..14d6e99 --- /dev/null +++ b/dist/lib-esm/typings/payments/address.js @@ -0,0 +1,12 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=address.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/address.js.map b/dist/lib-esm/typings/payments/address.js.map new file mode 100644 index 0000000..0dde5e5 --- /dev/null +++ b/dist/lib-esm/typings/payments/address.js.map @@ -0,0 +1 @@ +{"version":3,"file":"address.js","sourceRoot":"","sources":["../../../../src/typings/payments/address.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/amount.d.ts b/dist/lib-esm/typings/payments/amount.d.ts new file mode 100644 index 0000000..2fa0f80 --- /dev/null +++ b/dist/lib-esm/typings/payments/amount.d.ts @@ -0,0 +1,21 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Amount { + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + */ + currency: string; + /** + * The payable amount that can be charged for the transaction. The transaction amount needs to be represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). + */ + value: number; +} diff --git a/dist/lib-esm/typings/payments/amount.js b/dist/lib-esm/typings/payments/amount.js new file mode 100644 index 0000000..cfddca9 --- /dev/null +++ b/dist/lib-esm/typings/payments/amount.js @@ -0,0 +1,12 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=amount.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/amount.js.map b/dist/lib-esm/typings/payments/amount.js.map new file mode 100644 index 0000000..ad9488f --- /dev/null +++ b/dist/lib-esm/typings/payments/amount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"amount.js","sourceRoot":"","sources":["../../../../src/typings/payments/amount.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/bankAccount.d.ts b/dist/lib-esm/typings/payments/bankAccount.d.ts new file mode 100644 index 0000000..01c78ea --- /dev/null +++ b/dist/lib-esm/typings/payments/bankAccount.d.ts @@ -0,0 +1,49 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface BankAccount { + /** + * The bank account number (without separators). + */ + bankAccountNumber?: string; + /** + * The bank city. + */ + bankCity?: string; + /** + * The location id of the bank. The field value is `nil` in most cases. + */ + bankLocationId?: string; + /** + * The name of the bank. + */ + bankName?: string; + /** + * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. + */ + bic?: string; + /** + * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). + */ + countryCode?: string; + /** + * The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN). + */ + iban?: string; + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + */ + ownerName?: string; + /** + * The bank account holder's tax ID. + */ + taxId?: string; +} diff --git a/dist/lib-esm/typings/payments/bankAccount.js b/dist/lib-esm/typings/payments/bankAccount.js new file mode 100644 index 0000000..37f03af --- /dev/null +++ b/dist/lib-esm/typings/payments/bankAccount.js @@ -0,0 +1,12 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=bankAccount.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/bankAccount.js.map b/dist/lib-esm/typings/payments/bankAccount.js.map new file mode 100644 index 0000000..6b4848e --- /dev/null +++ b/dist/lib-esm/typings/payments/bankAccount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bankAccount.js","sourceRoot":"","sources":["../../../../src/typings/payments/bankAccount.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/browserInfo.d.ts b/dist/lib-esm/typings/payments/browserInfo.d.ts new file mode 100644 index 0000000..33231be --- /dev/null +++ b/dist/lib-esm/typings/payments/browserInfo.d.ts @@ -0,0 +1,49 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface BrowserInfo { + /** + * The accept header value of the shopper's browser. + */ + acceptHeader: string; + /** + * The color depth of the shopper's browser in bits per pixel. This should be obtained by using the browser's `screen.colorDepth` property. Accepted values: 1, 4, 8, 15, 16, 24, 32 or 48 bit color depth. + */ + colorDepth: number; + /** + * Boolean value indicating if the shopper's browser is able to execute Java. + */ + javaEnabled: boolean; + /** + * Boolean value indicating if the shopper's browser is able to execute JavaScript. A default 'true' value is assumed if the field is not present. + */ + javaScriptEnabled?: boolean; + /** + * The `navigator.language` value of the shopper's browser (as defined in IETF BCP 47). + */ + language: string; + /** + * The total height of the shopper's device screen in pixels. + */ + screenHeight: number; + /** + * The total width of the shopper's device screen in pixels. + */ + screenWidth: number; + /** + * Time difference between UTC time and the shopper's browser local time, in minutes. + */ + timeZoneOffset: number; + /** + * The user agent value of the shopper's browser. + */ + userAgent: string; +} diff --git a/dist/lib-esm/typings/payments/browserInfo.js b/dist/lib-esm/typings/payments/browserInfo.js new file mode 100644 index 0000000..5b3ca9d --- /dev/null +++ b/dist/lib-esm/typings/payments/browserInfo.js @@ -0,0 +1,12 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=browserInfo.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/browserInfo.js.map b/dist/lib-esm/typings/payments/browserInfo.js.map new file mode 100644 index 0000000..8088bcf --- /dev/null +++ b/dist/lib-esm/typings/payments/browserInfo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"browserInfo.js","sourceRoot":"","sources":["../../../../src/typings/payments/browserInfo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/card.d.ts b/dist/lib-esm/typings/payments/card.d.ts new file mode 100644 index 0000000..3c8cd1b --- /dev/null +++ b/dist/lib-esm/typings/payments/card.d.ts @@ -0,0 +1,45 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Card { + /** + * The [card verification code](https://docs.adyen.com/payments-essentials/payment-glossary#card_security_code_cvc_cvv_cid_) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. + */ + cvc?: string; + /** + * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November + */ + expiryMonth: string; + /** + * The card expiry year. Format: 4 digits. For example: 2020 + */ + expiryYear: string; + /** + * The name of the cardholder, as printed on the card. + */ + holderName: string; + /** + * The issue number of the card (for some UK debit cards only). + */ + issueNumber?: string; + /** + * The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned. + */ + number: string; + /** + * The month component of the start date (for some UK debit cards only). + */ + startMonth?: string; + /** + * The year component of the start date (for some UK debit cards only). + */ + startYear?: string; +} diff --git a/dist/lib-esm/typings/payments/card.js b/dist/lib-esm/typings/payments/card.js new file mode 100644 index 0000000..668b683 --- /dev/null +++ b/dist/lib-esm/typings/payments/card.js @@ -0,0 +1,12 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=card.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/card.js.map b/dist/lib-esm/typings/payments/card.js.map new file mode 100644 index 0000000..0eca501 --- /dev/null +++ b/dist/lib-esm/typings/payments/card.js.map @@ -0,0 +1 @@ +{"version":3,"file":"card.js","sourceRoot":"","sources":["../../../../src/typings/payments/card.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/deviceRenderOptions.d.ts b/dist/lib-esm/typings/payments/deviceRenderOptions.d.ts new file mode 100644 index 0000000..aa9e4bc --- /dev/null +++ b/dist/lib-esm/typings/payments/deviceRenderOptions.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface DeviceRenderOptions { + /** + * Supported SDK interface types. Allowed values: * Native * Html * both + */ + sdkInterface?: DeviceRenderOptions.SdkInterfaceEnum; + /** + * UI types supported for displaying specific challenges. Allowed values: * text * singleSelect * outOfBand * otherHtml * multiSelect + */ + sdkUiType?: DeviceRenderOptions.SdkUiTypeEnum[]; +} +export declare namespace DeviceRenderOptions { + type SdkInterfaceEnum = 'Html' | 'Native' | 'both'; + const SdkInterfaceEnum: { + Html: import("../checkout").DeviceRenderOptions.SdkInterfaceEnum; + Native: import("../checkout").DeviceRenderOptions.SdkInterfaceEnum; + Both: import("../checkout").DeviceRenderOptions.SdkInterfaceEnum; + }; + type SdkUiTypeEnum = 'multiSelect' | 'otherHtml' | 'outOfBand' | 'singleSelect' | 'text'; + const SdkUiTypeEnum: { + MultiSelect: import("../checkout").DeviceRenderOptions.SdkUiTypeEnum; + OtherHtml: import("../checkout").DeviceRenderOptions.SdkUiTypeEnum; + OutOfBand: import("../checkout").DeviceRenderOptions.SdkUiTypeEnum; + SingleSelect: import("../checkout").DeviceRenderOptions.SdkUiTypeEnum; + Text: import("../checkout").DeviceRenderOptions.SdkUiTypeEnum; + }; +} diff --git a/dist/lib-esm/typings/payments/deviceRenderOptions.js b/dist/lib-esm/typings/payments/deviceRenderOptions.js new file mode 100644 index 0000000..9fbd88b --- /dev/null +++ b/dist/lib-esm/typings/payments/deviceRenderOptions.js @@ -0,0 +1,27 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export var DeviceRenderOptions; +(function (DeviceRenderOptions) { + DeviceRenderOptions.SdkInterfaceEnum = { + Html: 'Html', + Native: 'Native', + Both: 'both' + }; + DeviceRenderOptions.SdkUiTypeEnum = { + MultiSelect: 'multiSelect', + OtherHtml: 'otherHtml', + OutOfBand: 'outOfBand', + SingleSelect: 'singleSelect', + Text: 'text' + }; +})(DeviceRenderOptions || (DeviceRenderOptions = {})); +//# sourceMappingURL=deviceRenderOptions.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/deviceRenderOptions.js.map b/dist/lib-esm/typings/payments/deviceRenderOptions.js.map new file mode 100644 index 0000000..84f5d3d --- /dev/null +++ b/dist/lib-esm/typings/payments/deviceRenderOptions.js.map @@ -0,0 +1 @@ +{"version":3,"file":"deviceRenderOptions.js","sourceRoot":"","sources":["../../../../src/typings/payments/deviceRenderOptions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAYH,MAAM,KAAW,mBAAmB,CAenC;AAfD,WAAiB,mBAAmB;IAEnB,oCAAgB,GAAG;QAC5B,IAAI,EAAE,MAA0B;QAChC,MAAM,EAAE,QAA4B;QACpC,IAAI,EAAE,MAA0B;KACnC,CAAC;IAEW,iCAAa,GAAG;QACzB,WAAW,EAAE,aAA8B;QAC3C,SAAS,EAAE,WAA4B;QACvC,SAAS,EAAE,WAA4B;QACvC,YAAY,EAAE,cAA+B;QAC7C,IAAI,EAAE,MAAuB;KAChC,CAAC;AACN,CAAC,EAfgB,mBAAmB,KAAnB,mBAAmB,QAenC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/forexQuote.d.ts b/dist/lib-esm/typings/payments/forexQuote.d.ts new file mode 100644 index 0000000..eeea38a --- /dev/null +++ b/dist/lib-esm/typings/payments/forexQuote.d.ts @@ -0,0 +1,49 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Amount } from './amount'; +export interface ForexQuote { + /** + * The account name. + */ + account?: string; + /** + * The account type. + */ + accountType?: string; + baseAmount?: Amount; + /** + * The base points. + */ + basePoints: number; + buy?: Amount; + interbank?: Amount; + /** + * The reference assigned to the forex quote request. + */ + reference?: string; + sell?: Amount; + /** + * The signature to validate the integrity. + */ + signature?: string; + /** + * The source of the forex quote. + */ + source?: string; + /** + * The type of forex. + */ + type?: string; + /** + * The date until which the forex quote is valid. + */ + validTill: Date; +} diff --git a/dist/lib-esm/typings/payments/forexQuote.js b/dist/lib-esm/typings/payments/forexQuote.js new file mode 100644 index 0000000..95de125 --- /dev/null +++ b/dist/lib-esm/typings/payments/forexQuote.js @@ -0,0 +1 @@ +//# sourceMappingURL=forexQuote.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/forexQuote.js.map b/dist/lib-esm/typings/payments/forexQuote.js.map new file mode 100644 index 0000000..7c329f4 --- /dev/null +++ b/dist/lib-esm/typings/payments/forexQuote.js.map @@ -0,0 +1 @@ +{"version":3,"file":"forexQuote.js","sourceRoot":"","sources":["../../../../src/typings/payments/forexQuote.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/fraudCheckResult.d.ts b/dist/lib-esm/typings/payments/fraudCheckResult.d.ts new file mode 100644 index 0000000..5af682e --- /dev/null +++ b/dist/lib-esm/typings/payments/fraudCheckResult.d.ts @@ -0,0 +1,25 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface FraudCheckResult { + /** + * The fraud score generated by the risk check. + */ + accountScore: number; + /** + * The ID of the risk check. + */ + checkId: number; + /** + * The name of the risk check. + */ + name: string; +} diff --git a/dist/lib-esm/typings/payments/fraudCheckResult.js b/dist/lib-esm/typings/payments/fraudCheckResult.js new file mode 100644 index 0000000..33e5599 --- /dev/null +++ b/dist/lib-esm/typings/payments/fraudCheckResult.js @@ -0,0 +1,12 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=fraudCheckResult.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/fraudCheckResult.js.map b/dist/lib-esm/typings/payments/fraudCheckResult.js.map new file mode 100644 index 0000000..afc6e3a --- /dev/null +++ b/dist/lib-esm/typings/payments/fraudCheckResult.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fraudCheckResult.js","sourceRoot":"","sources":["../../../../src/typings/payments/fraudCheckResult.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/fraudResult.d.ts b/dist/lib-esm/typings/payments/fraudResult.d.ts new file mode 100644 index 0000000..348d8f6 --- /dev/null +++ b/dist/lib-esm/typings/payments/fraudResult.d.ts @@ -0,0 +1,21 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { FraudCheckResult } from './fraudCheckResult'; +export interface FraudResult { + /** + * The total fraud score generated by the risk checks. + */ + accountScore: number; + /** + * The result of the individual risk checks. + */ + results?: FraudCheckResult[]; +} diff --git a/dist/lib-esm/typings/payments/fraudResult.js b/dist/lib-esm/typings/payments/fraudResult.js new file mode 100644 index 0000000..4711992 --- /dev/null +++ b/dist/lib-esm/typings/payments/fraudResult.js @@ -0,0 +1 @@ +//# sourceMappingURL=fraudResult.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/fraudResult.js.map b/dist/lib-esm/typings/payments/fraudResult.js.map new file mode 100644 index 0000000..8a2e89a --- /dev/null +++ b/dist/lib-esm/typings/payments/fraudResult.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fraudResult.js","sourceRoot":"","sources":["../../../../src/typings/payments/fraudResult.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/index.d.ts b/dist/lib-esm/typings/payments/index.d.ts new file mode 100644 index 0000000..c5fb220 --- /dev/null +++ b/dist/lib-esm/typings/payments/index.d.ts @@ -0,0 +1,28 @@ +export * from './accountInfo'; +export * from './address'; +export * from './amount'; +export * from './bankAccount'; +export * from './browserInfo'; +export * from './card'; +export * from './deviceRenderOptions'; +export * from './forexQuote'; +export * from './fraudCheckResult'; +export * from './fraudResult'; +export * from './installments'; +export * from './merchantRiskIndicator'; +export * from './modificationRequest'; +export * from './modificationResult'; +export * from './name'; +export * from './paymentRequest'; +export * from './paymentRequest3d'; +export * from './paymentRequest3ds2'; +export * from './paymentResult'; +export * from './recurring'; +export * from './sDKEphemPubKey'; +export * from './split'; +export * from './splitAmount'; +export * from './threeDS2RequestData'; +export * from './threeDS2Result'; +export * from './threeDS2ResultRequest'; +export * from './threeDS2ResultResponse'; +export * from './threeDSecureData'; diff --git a/dist/lib-esm/typings/payments/index.js b/dist/lib-esm/typings/payments/index.js new file mode 100644 index 0000000..e5ded2d --- /dev/null +++ b/dist/lib-esm/typings/payments/index.js @@ -0,0 +1,14 @@ +export * from './accountInfo'; +export * from './deviceRenderOptions'; +export * from './merchantRiskIndicator'; +export * from './modificationResult'; +export * from './name'; +export * from './paymentRequest'; +export * from './paymentRequest3d'; +export * from './paymentRequest3ds2'; +export * from './paymentResult'; +export * from './recurring'; +export * from './split'; +export * from './threeDS2RequestData'; +export * from './threeDSecureData'; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/index.js.map b/dist/lib-esm/typings/payments/index.js.map new file mode 100644 index 0000000..70a26ff --- /dev/null +++ b/dist/lib-esm/typings/payments/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/typings/payments/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAM9B,cAAc,uBAAuB,CAAC;AAKtC,cAAc,yBAAyB,CAAC;AAExC,cAAc,sBAAsB,CAAC;AACrC,cAAc,QAAQ,CAAC;AACvB,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAE5B,cAAc,SAAS,CAAC;AAExB,cAAc,uBAAuB,CAAC;AAItC,cAAc,oBAAoB,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/installments.d.ts b/dist/lib-esm/typings/payments/installments.d.ts new file mode 100644 index 0000000..1d4b21d --- /dev/null +++ b/dist/lib-esm/typings/payments/installments.d.ts @@ -0,0 +1,17 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Installments { + /** + * Defines the number of installments. Its value needs to be greater than zero. Usually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary. + */ + value: number; +} diff --git a/dist/lib-esm/typings/payments/installments.js b/dist/lib-esm/typings/payments/installments.js new file mode 100644 index 0000000..d408281 --- /dev/null +++ b/dist/lib-esm/typings/payments/installments.js @@ -0,0 +1,12 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=installments.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/installments.js.map b/dist/lib-esm/typings/payments/installments.js.map new file mode 100644 index 0000000..cf5c105 --- /dev/null +++ b/dist/lib-esm/typings/payments/installments.js.map @@ -0,0 +1 @@ +{"version":3,"file":"installments.js","sourceRoot":"","sources":["../../../../src/typings/payments/installments.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/merchantRiskIndicator.d.ts b/dist/lib-esm/typings/payments/merchantRiskIndicator.d.ts new file mode 100644 index 0000000..9ae29b7 --- /dev/null +++ b/dist/lib-esm/typings/payments/merchantRiskIndicator.d.ts @@ -0,0 +1,65 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Amount } from './amount'; +export interface MerchantRiskIndicator { + /** + * Whether the chosen delivery address is identical to the billing address. + */ + addressMatch?: boolean; + /** + * Indicator regarding the delivery address. Allowed values: * `shipToBillingAddress` * `shipToVerifiedAddress` * `shipToNewAddress` * `shipToStore` * `digitalGoods` * `goodsNotShipped` * `other` + */ + deliveryAddressIndicator?: MerchantRiskIndicator.DeliveryAddressIndicatorEnum; + /** + * The delivery email address (for digital goods). + */ + deliveryEmail?: string; + /** + * The estimated delivery time for the shopper to receive the goods. Allowed values: * `electronicDelivery` * `sameDayShipping` * `overnightShipping` * `twoOrMoreDaysShipping` + */ + deliveryTimeframe?: MerchantRiskIndicator.DeliveryTimeframeEnum; + giftCardAmount?: Amount; + /** + * Number of individual prepaid or gift cards used for this purchase. + */ + giftCardCount?: number; + /** + * For pre-order purchases, the expected date this product will be available to the shopper. + */ + preOrderDate?: Date; + /** + * Indicator for whether this transaction is for pre-ordering a product. + */ + preOrderPurchase?: boolean; + /** + * Indicator for whether the shopper has already purchased the same items in the past. + */ + reorderItems?: boolean; +} +export declare namespace MerchantRiskIndicator { + type DeliveryAddressIndicatorEnum = 'shipToBillingAddress' | 'shipToVerifiedAddress' | 'shipToNewAddress' | 'shipToStore' | 'digitalGoods' | 'goodsNotShipped' | 'other'; + const DeliveryAddressIndicatorEnum: { + ShipToBillingAddress: import("../checkout").MerchantRiskIndicator.DeliveryAddressIndicatorEnum; + ShipToVerifiedAddress: import("../checkout").MerchantRiskIndicator.DeliveryAddressIndicatorEnum; + ShipToNewAddress: import("../checkout").MerchantRiskIndicator.DeliveryAddressIndicatorEnum; + ShipToStore: import("../checkout").MerchantRiskIndicator.DeliveryAddressIndicatorEnum; + DigitalGoods: import("../checkout").MerchantRiskIndicator.DeliveryAddressIndicatorEnum; + GoodsNotShipped: import("../checkout").MerchantRiskIndicator.DeliveryAddressIndicatorEnum; + Other: import("../checkout").MerchantRiskIndicator.DeliveryAddressIndicatorEnum; + }; + type DeliveryTimeframeEnum = 'electronicDelivery' | 'sameDayShipping' | 'overnightShipping' | 'twoOrMoreDaysShipping'; + const DeliveryTimeframeEnum: { + ElectronicDelivery: import("../checkout").MerchantRiskIndicator.DeliveryTimeframeEnum; + SameDayShipping: import("../checkout").MerchantRiskIndicator.DeliveryTimeframeEnum; + OvernightShipping: import("../checkout").MerchantRiskIndicator.DeliveryTimeframeEnum; + TwoOrMoreDaysShipping: import("../checkout").MerchantRiskIndicator.DeliveryTimeframeEnum; + }; +} diff --git a/dist/lib-esm/typings/payments/merchantRiskIndicator.js b/dist/lib-esm/typings/payments/merchantRiskIndicator.js new file mode 100644 index 0000000..4109dcc --- /dev/null +++ b/dist/lib-esm/typings/payments/merchantRiskIndicator.js @@ -0,0 +1,19 @@ +export var MerchantRiskIndicator; +(function (MerchantRiskIndicator) { + MerchantRiskIndicator.DeliveryAddressIndicatorEnum = { + ShipToBillingAddress: 'shipToBillingAddress', + ShipToVerifiedAddress: 'shipToVerifiedAddress', + ShipToNewAddress: 'shipToNewAddress', + ShipToStore: 'shipToStore', + DigitalGoods: 'digitalGoods', + GoodsNotShipped: 'goodsNotShipped', + Other: 'other' + }; + MerchantRiskIndicator.DeliveryTimeframeEnum = { + ElectronicDelivery: 'electronicDelivery', + SameDayShipping: 'sameDayShipping', + OvernightShipping: 'overnightShipping', + TwoOrMoreDaysShipping: 'twoOrMoreDaysShipping' + }; +})(MerchantRiskIndicator || (MerchantRiskIndicator = {})); +//# sourceMappingURL=merchantRiskIndicator.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/merchantRiskIndicator.js.map b/dist/lib-esm/typings/payments/merchantRiskIndicator.js.map new file mode 100644 index 0000000..4ac4410 --- /dev/null +++ b/dist/lib-esm/typings/payments/merchantRiskIndicator.js.map @@ -0,0 +1 @@ +{"version":3,"file":"merchantRiskIndicator.js","sourceRoot":"","sources":["../../../../src/typings/payments/merchantRiskIndicator.ts"],"names":[],"mappings":"AAgDA,MAAM,KAAW,qBAAqB,CAkBrC;AAlBD,WAAiB,qBAAqB;IAErB,kDAA4B,GAAG;QACxC,oBAAoB,EAAE,sBAAsD;QAC5E,qBAAqB,EAAE,uBAAuD;QAC9E,gBAAgB,EAAE,kBAAkD;QACpE,WAAW,EAAE,aAA6C;QAC1D,YAAY,EAAE,cAA8C;QAC5D,eAAe,EAAE,iBAAiD;QAClE,KAAK,EAAE,OAAuC;KACjD,CAAC;IAEW,2CAAqB,GAAG;QACjC,kBAAkB,EAAE,oBAA6C;QACjE,eAAe,EAAE,iBAA0C;QAC3D,iBAAiB,EAAE,mBAA4C;QAC/D,qBAAqB,EAAE,uBAAgD;KAC1E,CAAC;AACN,CAAC,EAlBgB,qBAAqB,KAArB,qBAAqB,QAkBrC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/modificationRequest.d.ts b/dist/lib-esm/typings/payments/modificationRequest.d.ts new file mode 100644 index 0000000..4cd2bb2 --- /dev/null +++ b/dist/lib-esm/typings/payments/modificationRequest.d.ts @@ -0,0 +1,49 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Amount } from './amount'; +import { Split } from './split'; +import { ThreeDSecureData } from './threeDSecureData'; +export interface ModificationRequest { + /** + * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. For more information on possible key-value pairs, refer to the [ModificationRequest.additionalData](https://docs.adyen.com/api-reference/payments-api/modificationrequest/modificationrequest-additionaldata) section. + */ + additionalData?: any; + /** + * The merchant account that is used to process the payment. + */ + merchantAccount: string; + modificationAmount?: Amount; + mpiData?: ThreeDSecureData; + /** + * The original merchant reference to cancel. + */ + originalMerchantReference?: string; + /** + * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification + */ + originalReference: string; + /** + * Optionally, you can specify your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. + */ + reference?: string; + /** + * The details of how the payment should be split when distributing a payment to a Marketpay Marketplace and its Accounts. + */ + splits?: Split[]; + /** + * The transaction reference provided by the PED. For point-of-sale integrations only. + */ + tenderReference?: string; + /** + * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. + */ + uniqueTerminalId?: string; +} diff --git a/dist/lib-esm/typings/payments/modificationRequest.js b/dist/lib-esm/typings/payments/modificationRequest.js new file mode 100644 index 0000000..bfcf8f1 --- /dev/null +++ b/dist/lib-esm/typings/payments/modificationRequest.js @@ -0,0 +1 @@ +//# sourceMappingURL=modificationRequest.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/modificationRequest.js.map b/dist/lib-esm/typings/payments/modificationRequest.js.map new file mode 100644 index 0000000..63dcae2 --- /dev/null +++ b/dist/lib-esm/typings/payments/modificationRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"modificationRequest.js","sourceRoot":"","sources":["../../../../src/typings/payments/modificationRequest.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/modificationResult.d.ts b/dist/lib-esm/typings/payments/modificationResult.d.ts new file mode 100644 index 0000000..8426dc5 --- /dev/null +++ b/dist/lib-esm/typings/payments/modificationResult.d.ts @@ -0,0 +1,34 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface ModificationResult { + /** + * This field contains additional data, which may be returned in a particular modification response. + */ + additionalData?: any; + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + */ + pspReference?: string; + /** + * Indicates if the modification request has been received for processing. + */ + response?: ModificationResult.ResponseEnum; +} +export declare namespace ModificationResult { + type ResponseEnum = '[capture-received]' | '[cancel-received]' | '[refund-received]' | '[cancelOrRefund-received]'; + const ResponseEnum: { + CaptureReceived: ResponseEnum; + CancelReceived: ResponseEnum; + RefundReceived: ResponseEnum; + CancelOrRefundReceived: ResponseEnum; + }; +} diff --git a/dist/lib-esm/typings/payments/modificationResult.js b/dist/lib-esm/typings/payments/modificationResult.js new file mode 100644 index 0000000..3f20b6a --- /dev/null +++ b/dist/lib-esm/typings/payments/modificationResult.js @@ -0,0 +1,21 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export var ModificationResult; +(function (ModificationResult) { + ModificationResult.ResponseEnum = { + CaptureReceived: '[capture-received]', + CancelReceived: '[cancel-received]', + RefundReceived: '[refund-received]', + CancelOrRefundReceived: '[cancelOrRefund-received]' + }; +})(ModificationResult || (ModificationResult = {})); +//# sourceMappingURL=modificationResult.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/modificationResult.js.map b/dist/lib-esm/typings/payments/modificationResult.js.map new file mode 100644 index 0000000..62fabd4 --- /dev/null +++ b/dist/lib-esm/typings/payments/modificationResult.js.map @@ -0,0 +1 @@ +{"version":3,"file":"modificationResult.js","sourceRoot":"","sources":["../../../../src/typings/payments/modificationResult.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAgBH,MAAM,KAAW,kBAAkB,CAQlC;AARD,WAAiB,kBAAkB;IAElB,+BAAY,GAAG;QACxB,eAAe,EAAE,oBAAoC;QACrD,cAAc,EAAE,mBAAmC;QACnD,cAAc,EAAE,mBAAmC;QACnD,sBAAsB,EAAE,2BAA2C;KACtE,CAAC;AACN,CAAC,EARgB,kBAAkB,KAAlB,kBAAkB,QAQlC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/name.d.ts b/dist/lib-esm/typings/payments/name.d.ts new file mode 100644 index 0000000..d061020 --- /dev/null +++ b/dist/lib-esm/typings/payments/name.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Name { + /** + * The first name. + */ + firstName: string; + /** + * The gender. >The following values are permitted: `MALE`, `FEMALE`, `UNKNOWN`. + */ + gender: Name.GenderEnum; + /** + * The name's infix, if applicable. >A maximum length of twenty (20) characters is imposed. + */ + infix?: string; + /** + * The last name. + */ + lastName: string; +} +export declare namespace Name { + type GenderEnum = 'MALE' | 'FEMALE' | 'UNKNOWN'; + const GenderEnum: { + MALE: import("../checkout").Name.GenderEnum; + FEMALE: import("../checkout").Name.GenderEnum; + UNKNOWN: import("../checkout").Name.GenderEnum; + }; +} diff --git a/dist/lib-esm/typings/payments/name.js b/dist/lib-esm/typings/payments/name.js new file mode 100644 index 0000000..80b8596 --- /dev/null +++ b/dist/lib-esm/typings/payments/name.js @@ -0,0 +1,20 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export var Name; +(function (Name) { + Name.GenderEnum = { + MALE: 'MALE', + FEMALE: 'FEMALE', + UNKNOWN: 'UNKNOWN' + }; +})(Name || (Name = {})); +//# sourceMappingURL=name.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/name.js.map b/dist/lib-esm/typings/payments/name.js.map new file mode 100644 index 0000000..aa0d64f --- /dev/null +++ b/dist/lib-esm/typings/payments/name.js.map @@ -0,0 +1 @@ +{"version":3,"file":"name.js","sourceRoot":"","sources":["../../../../src/typings/payments/name.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAoBH,MAAM,KAAW,IAAI,CAOpB;AAPD,WAAiB,IAAI;IAEJ,eAAU,GAAG;QACtB,IAAI,EAAE,MAAoB;QAC1B,MAAM,EAAE,QAAsB;QAC9B,OAAO,EAAE,SAAuB;KACnC,CAAC;AACN,CAAC,EAPgB,IAAI,KAAJ,IAAI,QAOpB"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/paymentRequest.d.ts b/dist/lib-esm/typings/payments/paymentRequest.d.ts new file mode 100644 index 0000000..7e06149 --- /dev/null +++ b/dist/lib-esm/typings/payments/paymentRequest.d.ts @@ -0,0 +1,181 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { AccountInfo } from './accountInfo'; +import { Address } from './address'; +import { Amount } from './amount'; +import { BankAccount } from './bankAccount'; +import { BrowserInfo } from './browserInfo'; +import { Card } from './card'; +import { ForexQuote } from './forexQuote'; +import { Installments } from './installments'; +import { MerchantRiskIndicator } from './merchantRiskIndicator'; +import { Name } from './name'; +import { Recurring } from './recurring'; +import { Split } from './split'; +import { ThreeDS2RequestData } from './threeDS2RequestData'; +import { ThreeDSecureData } from './threeDSecureData'; +export interface PaymentRequest { + accountInfo?: AccountInfo; + additionalAmount?: Amount; + /** + * This field contains additional data, which may be required for a particular payment request. + */ + additionalData?: any; + amount: Amount; + bankAccount?: BankAccount; + billingAddress?: Address; + browserInfo?: BrowserInfo; + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + */ + captureDelayHours?: number; + card?: Card; + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + */ + dateOfBirth?: Date; + dccQuote?: ForexQuote; + deliveryAddress?: Address; + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + */ + deliveryDate?: Date; + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + */ + deviceFingerprint?: string; + /** + * The type of the entity the payment is processed for. + */ + entityType?: PaymentRequest.EntityTypeEnum; + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + */ + fraudOffset?: number; + installments?: Installments; + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + */ + mcc?: string; + /** + * The merchant account identifier, with which you want to process the transaction. + */ + merchantAccount: string; + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + */ + merchantOrderReference?: string; + merchantRiskIndicator?: MerchantRiskIndicator; + /** + * Metadata consists of entries, each of which includes a key and a value. Limitations: Error \"177\", \"Metadata size exceeds limit\" + */ + metadata?: any; + mpiData?: ThreeDSecureData; + /** + * The two-character country code of the shopper's nationality. + */ + nationality?: string; + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + */ + orderReference?: string; + recurring?: Recurring; + /** + * Defines a recurring payment type. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – Card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – A transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + */ + recurringProcessingModel?: PaymentRequest.RecurringProcessingModelEnum; + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + */ + reference: string; + /** + * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. + */ + selectedBrand?: string; + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + */ + selectedRecurringDetailReference?: string; + /** + * A session ID used to identify a payment session. + */ + sessionId?: string; + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require the `shopperEmail` for both `deviceChannel` **browser** and **app**. + */ + shopperEmail?: string; + /** + * The shopper's IP address. We recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > This field is mandatory for some merchants depending on your business model. For more information, [contact Support](https://support.adyen.com/hc/en-us/requests/new). + */ + shopperIP?: string; + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + */ + shopperInteraction?: PaymentRequest.ShopperInteractionEnum; + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + */ + shopperLocale?: string; + shopperName?: Name; + /** + * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). > This field is required for recurring payments. + */ + shopperReference?: string; + /** + * The text to appear on the shopper's bank statement. + */ + shopperStatement?: string; + /** + * The shopper's social security number. + */ + socialSecurityNumber?: string; + /** + * The details of how the payment should be split when distributing a payment to a MarketPay Marketplace and its Accounts. + */ + splits?: Split[]; + /** + * The physical store, for which this payment is processed. + */ + store?: string; + /** + * The shopper's telephone number. + */ + telephoneNumber?: string; + threeDS2RequestData?: ThreeDS2RequestData; + /** + * The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available). + */ + totalsGroup?: string; + /** + * Set to true if the payment should be routed to a trusted MID. + */ + trustedShopper?: boolean; +} +export declare namespace PaymentRequest { + type EntityTypeEnum = 'NaturalPerson' | 'CompanyName'; + const EntityTypeEnum: { + NaturalPerson: import("../checkout").PaymentRequest.EntityTypeEnum; + CompanyName: import("../checkout").PaymentRequest.EntityTypeEnum; + }; + type RecurringProcessingModelEnum = 'CardOnFile' | 'Subscription' | 'UnscheduledCardOnFile'; + const RecurringProcessingModelEnum: { + CardOnFile: import("../checkout").PaymentRequest.RecurringProcessingModelEnum; + Subscription: import("../checkout").PaymentRequest.RecurringProcessingModelEnum; + UnscheduledCardOnFile: import("../checkout").PaymentRequest.RecurringProcessingModelEnum; + }; + type ShopperInteractionEnum = 'Ecommerce' | 'ContAuth' | 'Moto' | 'POS'; + const ShopperInteractionEnum: { + Ecommerce: import("../checkout").PaymentRequest.ShopperInteractionEnum; + ContAuth: import("../checkout").PaymentRequest.ShopperInteractionEnum; + Moto: import("../checkout").PaymentRequest.ShopperInteractionEnum; + POS: import("../checkout").PaymentRequest.ShopperInteractionEnum; + }; +} diff --git a/dist/lib-esm/typings/payments/paymentRequest.js b/dist/lib-esm/typings/payments/paymentRequest.js new file mode 100644 index 0000000..d8d7cf9 --- /dev/null +++ b/dist/lib-esm/typings/payments/paymentRequest.js @@ -0,0 +1,19 @@ +export var PaymentRequest; +(function (PaymentRequest) { + PaymentRequest.EntityTypeEnum = { + NaturalPerson: 'NaturalPerson', + CompanyName: 'CompanyName' + }; + PaymentRequest.RecurringProcessingModelEnum = { + CardOnFile: 'CardOnFile', + Subscription: 'Subscription', + UnscheduledCardOnFile: 'UnscheduledCardOnFile' + }; + PaymentRequest.ShopperInteractionEnum = { + Ecommerce: 'Ecommerce', + ContAuth: 'ContAuth', + Moto: 'Moto', + POS: 'POS' + }; +})(PaymentRequest || (PaymentRequest = {})); +//# sourceMappingURL=paymentRequest.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/paymentRequest.js.map b/dist/lib-esm/typings/payments/paymentRequest.js.map new file mode 100644 index 0000000..78add45 --- /dev/null +++ b/dist/lib-esm/typings/payments/paymentRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentRequest.js","sourceRoot":"","sources":["../../../../src/typings/payments/paymentRequest.ts"],"names":[],"mappings":"AAmKA,MAAM,KAAW,cAAc,CAmB9B;AAnBD,WAAiB,cAAc;IAEd,6BAAc,GAAG;QAC1B,aAAa,EAAE,eAAiC;QAChD,WAAW,EAAE,aAA+B;KAC/C,CAAC;IAEW,2CAA4B,GAAG;QACxC,UAAU,EAAE,YAA4C;QACxD,YAAY,EAAE,cAA8C;QAC5D,qBAAqB,EAAE,uBAAuD;KACjF,CAAC;IAEW,qCAAsB,GAAG;QAClC,SAAS,EAAE,WAAqC;QAChD,QAAQ,EAAE,UAAoC;QAC9C,IAAI,EAAE,MAAgC;QACtC,GAAG,EAAE,KAA+B;KACvC,CAAC;AACN,CAAC,EAnBgB,cAAc,KAAd,cAAc,QAmB9B"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/paymentRequest3d.d.ts b/dist/lib-esm/typings/payments/paymentRequest3d.d.ts new file mode 100644 index 0000000..21da074 --- /dev/null +++ b/dist/lib-esm/typings/payments/paymentRequest3d.d.ts @@ -0,0 +1,170 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { AccountInfo } from './accountInfo'; +import { Address } from './address'; +import { Amount } from './amount'; +import { BrowserInfo } from './browserInfo'; +import { ForexQuote } from './forexQuote'; +import { Installments } from './installments'; +import { MerchantRiskIndicator } from './merchantRiskIndicator'; +import { Name } from './name'; +import { Recurring } from './recurring'; +import { Split } from './split'; +import { ThreeDS2RequestData } from './threeDS2RequestData'; +export interface PaymentRequest3d { + accountInfo?: AccountInfo; + additionalAmount?: Amount; + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. For more information on possible key-value pairs, refer to the [additionalData section](https://docs.adyen.com/api-reference/payments-api#paymentrequestadditionaldata). + */ + additionalData?: any; + amount?: Amount; + billingAddress?: Address; + browserInfo?: BrowserInfo; + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + */ + captureDelayHours?: number; + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + */ + dateOfBirth?: Date; + dccQuote?: ForexQuote; + deliveryAddress?: Address; + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + */ + deliveryDate?: Date; + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + */ + deviceFingerprint?: string; + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + */ + fraudOffset?: number; + installments?: Installments; + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + */ + mcc?: string; + /** + * The payment session identifier returned by the card issuer. + */ + md: string; + /** + * The merchant account identifier, with which you want to process the transaction. + */ + merchantAccount: string; + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + */ + merchantOrderReference?: string; + merchantRiskIndicator?: MerchantRiskIndicator; + /** + * Metadata consists of entries, each of which includes a key and a value. Limitations: Error \"177\", \"Metadata size exceeds limit\" + */ + metadata?: any; + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + */ + orderReference?: string; + /** + * Payment authorisation response returned by the card issuer. The `paResponse` field holds the PaRes value received from the card issuer. + */ + paResponse: string; + recurring?: Recurring; + /** + * Defines a recurring payment type. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – Card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – A transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + */ + recurringProcessingModel?: PaymentRequest3d.RecurringProcessingModelEnum; + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + */ + reference?: string; + /** + * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. + */ + selectedBrand?: string; + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + */ + selectedRecurringDetailReference?: string; + /** + * A session ID used to identify a payment session. + */ + sessionId?: string; + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require the `shopperEmail` for both `deviceChannel` **browser** and **app**. + */ + shopperEmail?: string; + /** + * The shopper's IP address. We recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > This field is mandatory for some merchants depending on your business model. For more information, [contact Support](https://support.adyen.com/hc/en-us/requests/new). + */ + shopperIP?: string; + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + */ + shopperInteraction?: PaymentRequest3d.ShopperInteractionEnum; + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + */ + shopperLocale?: string; + shopperName?: Name; + /** + * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). > This field is required for recurring payments. + */ + shopperReference?: string; + /** + * The text to appear on the shopper's bank statement. + */ + shopperStatement?: string; + /** + * The shopper's social security number. + */ + socialSecurityNumber?: string; + /** + * The details of how the payment should be split when distributing a payment to a MarketPay Marketplace and its Accounts. + */ + splits?: Split[]; + /** + * The physical store, for which this payment is processed. + */ + store?: string; + /** + * The shopper's telephone number. + */ + telephoneNumber?: string; + threeDS2RequestData?: ThreeDS2RequestData; + /** + * The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available). + */ + totalsGroup?: string; + /** + * Set to true if the payment should be routed to a trusted MID. + */ + trustedShopper?: boolean; +} +export declare namespace PaymentRequest3d { + type RecurringProcessingModelEnum = 'CardOnFile' | 'Subscription' | 'UnscheduledCardOnFile'; + const RecurringProcessingModelEnum: { + CardOnFile: import("../checkout").PaymentRequest.RecurringProcessingModelEnum; + Subscription: import("../checkout").PaymentRequest.RecurringProcessingModelEnum; + UnscheduledCardOnFile: import("../checkout").PaymentRequest.RecurringProcessingModelEnum; + }; + type ShopperInteractionEnum = 'Ecommerce' | 'ContAuth' | 'Moto' | 'POS'; + const ShopperInteractionEnum: { + Ecommerce: import("../checkout").PaymentRequest.ShopperInteractionEnum; + ContAuth: import("../checkout").PaymentRequest.ShopperInteractionEnum; + Moto: import("../checkout").PaymentRequest.ShopperInteractionEnum; + POS: import("../checkout").PaymentRequest.ShopperInteractionEnum; + }; +} diff --git a/dist/lib-esm/typings/payments/paymentRequest3d.js b/dist/lib-esm/typings/payments/paymentRequest3d.js new file mode 100644 index 0000000..c88abe3 --- /dev/null +++ b/dist/lib-esm/typings/payments/paymentRequest3d.js @@ -0,0 +1,15 @@ +export var PaymentRequest3d; +(function (PaymentRequest3d) { + PaymentRequest3d.RecurringProcessingModelEnum = { + CardOnFile: 'CardOnFile', + Subscription: 'Subscription', + UnscheduledCardOnFile: 'UnscheduledCardOnFile' + }; + PaymentRequest3d.ShopperInteractionEnum = { + Ecommerce: 'Ecommerce', + ContAuth: 'ContAuth', + Moto: 'Moto', + POS: 'POS' + }; +})(PaymentRequest3d || (PaymentRequest3d = {})); +//# sourceMappingURL=paymentRequest3d.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/paymentRequest3d.js.map b/dist/lib-esm/typings/payments/paymentRequest3d.js.map new file mode 100644 index 0000000..4f6aaac --- /dev/null +++ b/dist/lib-esm/typings/payments/paymentRequest3d.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentRequest3d.js","sourceRoot":"","sources":["../../../../src/typings/payments/paymentRequest3d.ts"],"names":[],"mappings":"AA6JA,MAAM,KAAW,gBAAgB,CAchC;AAdD,WAAiB,gBAAgB;IAEhB,6CAA4B,GAAG;QACxC,UAAU,EAAE,YAA4C;QACxD,YAAY,EAAE,cAA8C;QAC5D,qBAAqB,EAAE,uBAAuD;KACjF,CAAC;IAEW,uCAAsB,GAAG;QAClC,SAAS,EAAE,WAAqC;QAChD,QAAQ,EAAE,UAAoC;QAC9C,IAAI,EAAE,MAAgC;QACtC,GAAG,EAAE,KAA+B;KACvC,CAAC;AACN,CAAC,EAdgB,gBAAgB,KAAhB,gBAAgB,QAchC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/paymentRequest3ds2.d.ts b/dist/lib-esm/typings/payments/paymentRequest3ds2.d.ts new file mode 100644 index 0000000..fb62e3e --- /dev/null +++ b/dist/lib-esm/typings/payments/paymentRequest3ds2.d.ts @@ -0,0 +1,168 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { AccountInfo } from './accountInfo'; +import { Address } from './address'; +import { Amount } from './amount'; +import { BrowserInfo } from './browserInfo'; +import { ForexQuote } from './forexQuote'; +import { Installments } from './installments'; +import { MerchantRiskIndicator } from './merchantRiskIndicator'; +import { Name } from './name'; +import { Recurring } from './recurring'; +import { Split } from './split'; +import { ThreeDS2RequestData } from './threeDS2RequestData'; +import { ThreeDS2Result } from './threeDS2Result'; +export interface PaymentRequest3ds2 { + accountInfo?: AccountInfo; + additionalAmount?: Amount; + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. For more information on possible key-value pairs, refer to the [additionalData section](https://docs.adyen.com/api-reference/payments-api#paymentrequestadditionaldata). + */ + additionalData?: any; + amount: Amount; + billingAddress?: Address; + browserInfo?: BrowserInfo; + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + */ + captureDelayHours?: number; + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + */ + dateOfBirth?: Date; + dccQuote?: ForexQuote; + deliveryAddress?: Address; + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + */ + deliveryDate?: Date; + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + */ + deviceFingerprint?: string; + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + */ + fraudOffset?: number; + installments?: Installments; + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + */ + mcc?: string; + /** + * The merchant account identifier, with which you want to process the transaction. + */ + merchantAccount: string; + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + */ + merchantOrderReference?: string; + merchantRiskIndicator?: MerchantRiskIndicator; + /** + * Metadata consists of entries, each of which includes a key and a value. Limitations: Error \"177\", \"Metadata size exceeds limit\" + */ + metadata?: any; + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + */ + orderReference?: string; + recurring?: Recurring; + /** + * Defines a recurring payment type. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – Card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – A transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + */ + recurringProcessingModel?: PaymentRequest3ds2.RecurringProcessingModelEnum; + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + */ + reference: string; + /** + * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. + */ + selectedBrand?: string; + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + */ + selectedRecurringDetailReference?: string; + /** + * A session ID used to identify a payment session. + */ + sessionId?: string; + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require the `shopperEmail` for both `deviceChannel` **browser** and **app**. + */ + shopperEmail?: string; + /** + * The shopper's IP address. We recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > This field is mandatory for some merchants depending on your business model. For more information, [contact Support](https://support.adyen.com/hc/en-us/requests/new). + */ + shopperIP?: string; + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + */ + shopperInteraction?: PaymentRequest3ds2.ShopperInteractionEnum; + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + */ + shopperLocale?: string; + shopperName?: Name; + /** + * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). > This field is required for recurring payments. + */ + shopperReference?: string; + /** + * The text to appear on the shopper's bank statement. + */ + shopperStatement?: string; + /** + * The shopper's social security number. + */ + socialSecurityNumber?: string; + /** + * The details of how the payment should be split when distributing a payment to a MarketPay Marketplace and its Accounts. + */ + splits?: Split[]; + /** + * The physical store, for which this payment is processed. + */ + store?: string; + /** + * The shopper's telephone number. + */ + telephoneNumber?: string; + threeDS2RequestData?: ThreeDS2RequestData; + threeDS2Result?: ThreeDS2Result; + /** + * The ThreeDS2Token that was returned in the /authorise call. + */ + threeDS2Token?: string; + /** + * The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available). + */ + totalsGroup?: string; + /** + * Set to true if the payment should be routed to a trusted MID. + */ + trustedShopper?: boolean; +} +export declare namespace PaymentRequest3ds2 { + type RecurringProcessingModelEnum = 'CardOnFile' | 'Subscription' | 'UnscheduledCardOnFile'; + const RecurringProcessingModelEnum: { + CardOnFile: import("../checkout").PaymentRequest.RecurringProcessingModelEnum; + Subscription: import("../checkout").PaymentRequest.RecurringProcessingModelEnum; + UnscheduledCardOnFile: import("../checkout").PaymentRequest.RecurringProcessingModelEnum; + }; + type ShopperInteractionEnum = 'Ecommerce' | 'ContAuth' | 'Moto' | 'POS'; + const ShopperInteractionEnum: { + Ecommerce: import("../checkout").PaymentRequest.ShopperInteractionEnum; + ContAuth: import("../checkout").PaymentRequest.ShopperInteractionEnum; + Moto: import("../checkout").PaymentRequest.ShopperInteractionEnum; + POS: import("../checkout").PaymentRequest.ShopperInteractionEnum; + }; +} diff --git a/dist/lib-esm/typings/payments/paymentRequest3ds2.js b/dist/lib-esm/typings/payments/paymentRequest3ds2.js new file mode 100644 index 0000000..8a7ec62 --- /dev/null +++ b/dist/lib-esm/typings/payments/paymentRequest3ds2.js @@ -0,0 +1,15 @@ +export var PaymentRequest3ds2; +(function (PaymentRequest3ds2) { + PaymentRequest3ds2.RecurringProcessingModelEnum = { + CardOnFile: 'CardOnFile', + Subscription: 'Subscription', + UnscheduledCardOnFile: 'UnscheduledCardOnFile' + }; + PaymentRequest3ds2.ShopperInteractionEnum = { + Ecommerce: 'Ecommerce', + ContAuth: 'ContAuth', + Moto: 'Moto', + POS: 'POS' + }; +})(PaymentRequest3ds2 || (PaymentRequest3ds2 = {})); +//# sourceMappingURL=paymentRequest3ds2.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/paymentRequest3ds2.js.map b/dist/lib-esm/typings/payments/paymentRequest3ds2.js.map new file mode 100644 index 0000000..01aa8d5 --- /dev/null +++ b/dist/lib-esm/typings/payments/paymentRequest3ds2.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentRequest3ds2.js","sourceRoot":"","sources":["../../../../src/typings/payments/paymentRequest3ds2.ts"],"names":[],"mappings":"AA2JA,MAAM,KAAW,kBAAkB,CAclC;AAdD,WAAiB,kBAAkB;IAElB,+CAA4B,GAAG;QACxC,UAAU,EAAE,YAA4C;QACxD,YAAY,EAAE,cAA8C;QAC5D,qBAAqB,EAAE,uBAAuD;KACjF,CAAC;IAEW,yCAAsB,GAAG;QAClC,SAAS,EAAE,WAAqC;QAChD,QAAQ,EAAE,UAAoC;QAC9C,IAAI,EAAE,MAAgC;QACtC,GAAG,EAAE,KAA+B;KACvC,CAAC;AACN,CAAC,EAdgB,kBAAkB,KAAlB,kBAAkB,QAclC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/paymentResult.d.ts b/dist/lib-esm/typings/payments/paymentResult.d.ts new file mode 100644 index 0000000..84c56d2 --- /dev/null +++ b/dist/lib-esm/typings/payments/paymentResult.d.ts @@ -0,0 +1,67 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Amount } from './amount'; +import { FraudResult } from './fraudResult'; +export interface PaymentResult { + /** + * This field contains additional data, which may be required to return in a particular payment response. To choose data fields to be returned, go to **Customer Area** > **Account** > **API URLs**. + */ + additionalData?: any; + /** + * Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. + */ + authCode?: string; + dccAmount?: Amount; + /** + * Cryptographic signature used to verify `dccQuote`. > This value only applies if you have implemented Dynamic Currency Conversion. For more information, [contact Support](https://support.adyen.com/hc/en-us/requests/new). + */ + dccSignature?: string; + fraudResult?: FraudResult; + /** + * The URL to direct the shopper to. > In case of SecurePlus, do not redirect a shopper to this URL. + */ + issuerUrl?: string; + /** + * The payment session. + */ + md?: string; + /** + * The 3D request data for the issuer. If the value is **CUPSecurePlus-CollectSMSVerificationCode**, collect an SMS code from the shopper and pass it in the `/authorise3D` request. For more information, see [3D Secure](https://docs.adyen.com/classic-integration/3d-secure). + */ + paRequest?: string; + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. > `pspReference` is returned only for non-redirect payment methods. + */ + pspReference?: string; + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + */ + refusalReason?: string; + /** + * The result of the payment. Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. For more information on handling a pending payment, refer to [Payments with pending status](https://docs.adyen.com/development-resources/payments-with-pending-status). * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. + */ + resultCode?: PaymentResult.ResultCodeEnum; +} +export declare namespace PaymentResult { + type ResultCodeEnum = 'AuthenticationFinished' | 'Authorised' | 'Cancelled' | 'ChallengeShopper' | 'Error' | 'IdentifyShopper' | 'Pending' | 'Received' | 'RedirectShopper' | 'Refused'; + const ResultCodeEnum: { + AuthenticationFinished: import("../checkout").PaymentResponse.ResultCodeEnum; + Authorised: import("../checkout").PaymentResponse.ResultCodeEnum; + Cancelled: import("../checkout").PaymentResponse.ResultCodeEnum; + ChallengeShopper: import("../checkout").PaymentResponse.ResultCodeEnum; + Error: import("../checkout").PaymentResponse.ResultCodeEnum; + IdentifyShopper: import("../checkout").PaymentResponse.ResultCodeEnum; + Pending: import("../checkout").PaymentResponse.ResultCodeEnum; + Received: import("../checkout").PaymentResponse.ResultCodeEnum; + RedirectShopper: import("../checkout").PaymentResponse.ResultCodeEnum; + Refused: import("../checkout").PaymentResponse.ResultCodeEnum; + }; +} diff --git a/dist/lib-esm/typings/payments/paymentResult.js b/dist/lib-esm/typings/payments/paymentResult.js new file mode 100644 index 0000000..656dea4 --- /dev/null +++ b/dist/lib-esm/typings/payments/paymentResult.js @@ -0,0 +1,16 @@ +export var PaymentResult; +(function (PaymentResult) { + PaymentResult.ResultCodeEnum = { + AuthenticationFinished: 'AuthenticationFinished', + Authorised: 'Authorised', + Cancelled: 'Cancelled', + ChallengeShopper: 'ChallengeShopper', + Error: 'Error', + IdentifyShopper: 'IdentifyShopper', + Pending: 'Pending', + Received: 'Received', + RedirectShopper: 'RedirectShopper', + Refused: 'Refused' + }; +})(PaymentResult || (PaymentResult = {})); +//# sourceMappingURL=paymentResult.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/paymentResult.js.map b/dist/lib-esm/typings/payments/paymentResult.js.map new file mode 100644 index 0000000..552fa5b --- /dev/null +++ b/dist/lib-esm/typings/payments/paymentResult.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentResult.js","sourceRoot":"","sources":["../../../../src/typings/payments/paymentResult.ts"],"names":[],"mappings":"AAsDA,MAAM,KAAW,aAAa,CAc7B;AAdD,WAAiB,aAAa;IAEb,4BAAc,GAAG;QAC1B,sBAAsB,EAAE,wBAA0C;QAClE,UAAU,EAAE,YAA8B;QAC1C,SAAS,EAAE,WAA6B;QACxC,gBAAgB,EAAE,kBAAoC;QACtD,KAAK,EAAE,OAAyB;QAChC,eAAe,EAAE,iBAAmC;QACpD,OAAO,EAAE,SAA2B;QACpC,QAAQ,EAAE,UAA4B;QACtC,eAAe,EAAE,iBAAmC;QACpD,OAAO,EAAE,SAA2B;KACvC,CAAC;AACN,CAAC,EAdgB,aAAa,KAAb,aAAa,QAc7B"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/recurring.d.ts b/dist/lib-esm/typings/payments/recurring.d.ts new file mode 100644 index 0000000..ac8d351 --- /dev/null +++ b/dist/lib-esm/typings/payments/recurring.d.ts @@ -0,0 +1,46 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Recurring { + /** + * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-essentials/payment-glossary#card_security_code_cvc_cvv_cid_). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payment-glossary#cardnotpresentcnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/features/third-party-payouts). + */ + contract?: Recurring.ContractEnum; + /** + * A descriptive name for this detail. + */ + recurringDetailName?: string; + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + */ + recurringExpiry?: Date; + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + */ + recurringFrequency?: string; + /** + * The name of the token service. + */ + tokenService?: Recurring.TokenServiceEnum; +} +export declare namespace Recurring { + type ContractEnum = 'ONECLICK' | 'RECURRING' | 'PAYOUT'; + const ContractEnum: { + ONECLICK: import("../checkout").Recurring.ContractEnum; + RECURRING: import("../checkout").Recurring.ContractEnum; + PAYOUT: import("../checkout").Recurring.ContractEnum; + }; + type TokenServiceEnum = 'VISATOKENSERVICE' | 'MCTOKENSERVICE'; + const TokenServiceEnum: { + VISATOKENSERVICE: import("../checkout").Recurring.TokenServiceEnum; + MCTOKENSERVICE: import("../checkout").Recurring.TokenServiceEnum; + }; +} diff --git a/dist/lib-esm/typings/payments/recurring.js b/dist/lib-esm/typings/payments/recurring.js new file mode 100644 index 0000000..239ca28 --- /dev/null +++ b/dist/lib-esm/typings/payments/recurring.js @@ -0,0 +1,24 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export var Recurring; +(function (Recurring) { + Recurring.ContractEnum = { + ONECLICK: 'ONECLICK', + RECURRING: 'RECURRING', + PAYOUT: 'PAYOUT' + }; + Recurring.TokenServiceEnum = { + VISATOKENSERVICE: 'VISATOKENSERVICE', + MCTOKENSERVICE: 'MCTOKENSERVICE' + }; +})(Recurring || (Recurring = {})); +//# sourceMappingURL=recurring.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/recurring.js.map b/dist/lib-esm/typings/payments/recurring.js.map new file mode 100644 index 0000000..81d92f2 --- /dev/null +++ b/dist/lib-esm/typings/payments/recurring.js.map @@ -0,0 +1 @@ +{"version":3,"file":"recurring.js","sourceRoot":"","sources":["../../../../src/typings/payments/recurring.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAwBH,MAAM,KAAW,SAAS,CAYzB;AAZD,WAAiB,SAAS;IAET,sBAAY,GAAG;QACxB,QAAQ,EAAE,UAA0B;QACpC,SAAS,EAAE,WAA2B;QACtC,MAAM,EAAE,QAAwB;KACnC,CAAC;IAEW,0BAAgB,GAAG;QAC5B,gBAAgB,EAAE,kBAAsC;QACxD,cAAc,EAAE,gBAAoC;KACvD,CAAC;AACN,CAAC,EAZgB,SAAS,KAAT,SAAS,QAYzB"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/sDKEphemPubKey.d.ts b/dist/lib-esm/typings/payments/sDKEphemPubKey.d.ts new file mode 100644 index 0000000..8092e6d --- /dev/null +++ b/dist/lib-esm/typings/payments/sDKEphemPubKey.d.ts @@ -0,0 +1,29 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface SDKEphemPubKey { + /** + * The `crv` value as received from the 3D Secure 2 SDK. + */ + crv?: string; + /** + * The `kty` value as received from the 3D Secure 2 SDK. + */ + kty?: string; + /** + * The `x` value as received from the 3D Secure 2 SDK. + */ + x?: string; + /** + * The `y` value as received from the 3D Secure 2 SDK. + */ + y?: string; +} diff --git a/dist/lib-esm/typings/payments/sDKEphemPubKey.js b/dist/lib-esm/typings/payments/sDKEphemPubKey.js new file mode 100644 index 0000000..e350401 --- /dev/null +++ b/dist/lib-esm/typings/payments/sDKEphemPubKey.js @@ -0,0 +1,12 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=sDKEphemPubKey.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/sDKEphemPubKey.js.map b/dist/lib-esm/typings/payments/sDKEphemPubKey.js.map new file mode 100644 index 0000000..a67c4cc --- /dev/null +++ b/dist/lib-esm/typings/payments/sDKEphemPubKey.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sDKEphemPubKey.js","sourceRoot":"","sources":["../../../../src/typings/payments/sDKEphemPubKey.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/split.d.ts b/dist/lib-esm/typings/payments/split.d.ts new file mode 100644 index 0000000..2e1a7c6 --- /dev/null +++ b/dist/lib-esm/typings/payments/split.d.ts @@ -0,0 +1,41 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { SplitAmount } from './splitAmount'; +export interface Split { + /** + * The account to which this split applies. >Required if the type is `MarketPlace`. + */ + account?: string; + amount: SplitAmount; + /** + * A description of this split. + */ + description?: string; + /** + * The reference of this split. Used to link other operations (e.g. captures and refunds) to this split. >Required if the type is `MarketPlace`. + */ + reference?: string; + /** + * The type of this split. >Permitted values: `Default`, `PaymentFee`, `VAT`, `Commission`, `MarketPlace`, `Verification`. + */ + type: Split.TypeEnum; +} +export declare namespace Split { + type TypeEnum = 'Commission' | 'Default' | 'MarketPlace' | 'PaymentFee' | 'VAT' | 'Verification'; + const TypeEnum: { + Commission: import("../checkout").Split.TypeEnum; + Default: import("../checkout").Split.TypeEnum; + MarketPlace: import("../checkout").Split.TypeEnum; + PaymentFee: import("../checkout").Split.TypeEnum; + VAT: import("../checkout").Split.TypeEnum; + Verification: import("../checkout").Split.TypeEnum; + }; +} diff --git a/dist/lib-esm/typings/payments/split.js b/dist/lib-esm/typings/payments/split.js new file mode 100644 index 0000000..f77a4c7 --- /dev/null +++ b/dist/lib-esm/typings/payments/split.js @@ -0,0 +1,12 @@ +export var Split; +(function (Split) { + Split.TypeEnum = { + Commission: 'Commission', + Default: 'Default', + MarketPlace: 'MarketPlace', + PaymentFee: 'PaymentFee', + VAT: 'VAT', + Verification: 'Verification' + }; +})(Split || (Split = {})); +//# sourceMappingURL=split.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/split.js.map b/dist/lib-esm/typings/payments/split.js.map new file mode 100644 index 0000000..aacfee5 --- /dev/null +++ b/dist/lib-esm/typings/payments/split.js.map @@ -0,0 +1 @@ +{"version":3,"file":"split.js","sourceRoot":"","sources":["../../../../src/typings/payments/split.ts"],"names":[],"mappings":"AAgCA,MAAM,KAAW,KAAK,CAUrB;AAVD,WAAiB,KAAK;IAEL,cAAQ,GAAG;QACpB,UAAU,EAAE,YAAwB;QACpC,OAAO,EAAE,SAAqB;QAC9B,WAAW,EAAE,aAAyB;QACtC,UAAU,EAAE,YAAwB;QACpC,GAAG,EAAE,KAAiB;QACtB,YAAY,EAAE,cAA0B;KAC3C,CAAC;AACN,CAAC,EAVgB,KAAK,KAAL,KAAK,QAUrB"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/splitAmount.d.ts b/dist/lib-esm/typings/payments/splitAmount.d.ts new file mode 100644 index 0000000..3f6634d --- /dev/null +++ b/dist/lib-esm/typings/payments/splitAmount.d.ts @@ -0,0 +1,21 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface SplitAmount { + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). If this value is not provided, the currency in which the payment is made will be used. + */ + currency?: string; + /** + * The payable amount that can be charged for the transaction. The transaction amount needs to be represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). + */ + value: number; +} diff --git a/dist/lib-esm/typings/payments/splitAmount.js b/dist/lib-esm/typings/payments/splitAmount.js new file mode 100644 index 0000000..815ac3a --- /dev/null +++ b/dist/lib-esm/typings/payments/splitAmount.js @@ -0,0 +1,12 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=splitAmount.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/splitAmount.js.map b/dist/lib-esm/typings/payments/splitAmount.js.map new file mode 100644 index 0000000..3bc45e7 --- /dev/null +++ b/dist/lib-esm/typings/payments/splitAmount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"splitAmount.js","sourceRoot":"","sources":["../../../../src/typings/payments/splitAmount.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/threeDS2RequestData.d.ts b/dist/lib-esm/typings/payments/threeDS2RequestData.d.ts new file mode 100644 index 0000000..f49ce7c --- /dev/null +++ b/dist/lib-esm/typings/payments/threeDS2RequestData.d.ts @@ -0,0 +1,80 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { DeviceRenderOptions } from './deviceRenderOptions'; +import { SDKEphemPubKey } from './sDKEphemPubKey'; +export interface ThreeDS2RequestData { + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/checkout/3d-secure-2/3ds2-checkout-authentication-only-integration), and not the payment authorisation. + */ + authenticationOnly?: boolean; + /** + * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` + */ + challengeIndicator?: ThreeDS2RequestData.ChallengeIndicatorEnum; + /** + * The environment of the shopper. Allowed values: * `app` * `browser` + */ + deviceChannel: string; + deviceRenderOptions?: DeviceRenderOptions; + /** + * The `messageVersion` value indicating the 3D Secure 2 protocol version. + */ + messageVersion?: string; + /** + * URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**. + */ + notificationURL?: string; + /** + * The `sdkAppID` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. + */ + sdkAppID?: string; + /** + * The `sdkEncData` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. + */ + sdkEncData?: string; + sdkEphemPubKey?: SDKEphemPubKey; + /** + * The maximum amount of time in minutes for the 3D Secure 2 authentication process. Only for `deviceChannel` set to **app**. + */ + sdkMaxTimeout?: number; + /** + * The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. + */ + sdkReferenceNumber?: string; + /** + * The `sdkTransID` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. + */ + sdkTransID?: string; + /** + * Completion indicator for the device fingerprinting. + */ + threeDSCompInd?: string; + /** + * Required for [authentication-only integration](https://docs.adyen.com/checkout/3d-secure-2/3ds2-checkout-authentication-only-integration) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2. + */ + threeDSRequestorID?: string; + /** + * Required for [authentication-only integration](https://docs.adyen.com/checkout/3d-secure-2/3ds2-checkout-authentication-only-integration) for Visa. Unique 3D Secure requestor name assigned by the Directory Server when you enrol for 3D Secure 2. + */ + threeDSRequestorName?: string; + /** + * URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process. + */ + threeDSRequestorURL?: string; +} +export declare namespace ThreeDS2RequestData { + type ChallengeIndicatorEnum = 'noPreference' | 'requestNoChallenge' | 'requestChallenge'; + const ChallengeIndicatorEnum: { + NoPreference: import("../checkout").ThreeDS2RequestData.ChallengeIndicatorEnum; + RequestNoChallenge: import("../checkout").ThreeDS2RequestData.ChallengeIndicatorEnum; + RequestChallenge: import("../checkout").ThreeDS2RequestData.ChallengeIndicatorEnum; + }; +} diff --git a/dist/lib-esm/typings/payments/threeDS2RequestData.js b/dist/lib-esm/typings/payments/threeDS2RequestData.js new file mode 100644 index 0000000..21c1161 --- /dev/null +++ b/dist/lib-esm/typings/payments/threeDS2RequestData.js @@ -0,0 +1,9 @@ +export var ThreeDS2RequestData; +(function (ThreeDS2RequestData) { + ThreeDS2RequestData.ChallengeIndicatorEnum = { + NoPreference: 'noPreference', + RequestNoChallenge: 'requestNoChallenge', + RequestChallenge: 'requestChallenge' + }; +})(ThreeDS2RequestData || (ThreeDS2RequestData = {})); +//# sourceMappingURL=threeDS2RequestData.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/threeDS2RequestData.js.map b/dist/lib-esm/typings/payments/threeDS2RequestData.js.map new file mode 100644 index 0000000..72bee64 --- /dev/null +++ b/dist/lib-esm/typings/payments/threeDS2RequestData.js.map @@ -0,0 +1 @@ +{"version":3,"file":"threeDS2RequestData.js","sourceRoot":"","sources":["../../../../src/typings/payments/threeDS2RequestData.ts"],"names":[],"mappings":"AA0EA,MAAM,KAAW,mBAAmB,CAOnC;AAPD,WAAiB,mBAAmB;IAEnB,0CAAsB,GAAG;QAClC,YAAY,EAAE,cAAwC;QACtD,kBAAkB,EAAE,oBAA8C;QAClE,gBAAgB,EAAE,kBAA4C;KACjE,CAAC;AACN,CAAC,EAPgB,mBAAmB,KAAnB,mBAAmB,QAOnC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/threeDS2Result.d.ts b/dist/lib-esm/typings/payments/threeDS2Result.d.ts new file mode 100644 index 0000000..28ecde4 --- /dev/null +++ b/dist/lib-esm/typings/payments/threeDS2Result.d.ts @@ -0,0 +1,41 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface ThreeDS2Result { + /** + * The `authenticationValue` value as defined in the 3D Secure 2 specification. + */ + authenticationValue?: string; + /** + * The `dsTransID` value as defined in the 3D Secure 2 specification. + */ + dsTransID?: string; + /** + * The `eci` value as defined in the 3D Secure 2 specification. + */ + eci?: string; + /** + * The `threeDSServerTransID` value as defined in the 3D Secure 2 specification. + */ + threeDSServerTransID?: string; + /** + * The `timestamp` value of the 3D Secure 2 authentication. + */ + timestamp?: string; + /** + * The `transStatus` value as defined in the 3D Secure 2 specification. + */ + transStatus?: string; + /** + * The `transStatusReason` value as defined in the 3D Secure 2 specification. + */ + transStatusReason?: string; +} diff --git a/dist/lib-esm/typings/payments/threeDS2Result.js b/dist/lib-esm/typings/payments/threeDS2Result.js new file mode 100644 index 0000000..b987280 --- /dev/null +++ b/dist/lib-esm/typings/payments/threeDS2Result.js @@ -0,0 +1,12 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=threeDS2Result.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/threeDS2Result.js.map b/dist/lib-esm/typings/payments/threeDS2Result.js.map new file mode 100644 index 0000000..b06f3e4 --- /dev/null +++ b/dist/lib-esm/typings/payments/threeDS2Result.js.map @@ -0,0 +1 @@ +{"version":3,"file":"threeDS2Result.js","sourceRoot":"","sources":["../../../../src/typings/payments/threeDS2Result.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/threeDS2ResultRequest.d.ts b/dist/lib-esm/typings/payments/threeDS2ResultRequest.d.ts new file mode 100644 index 0000000..289af38 --- /dev/null +++ b/dist/lib-esm/typings/payments/threeDS2ResultRequest.d.ts @@ -0,0 +1,21 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface ThreeDS2ResultRequest { + /** + * The merchant account identifier, with which you want to process the transaction. + */ + merchantAccount: string; + /** + * The pspReference returned in the /authorise call. + */ + pspReference: string; +} diff --git a/dist/lib-esm/typings/payments/threeDS2ResultRequest.js b/dist/lib-esm/typings/payments/threeDS2ResultRequest.js new file mode 100644 index 0000000..0a48b0e --- /dev/null +++ b/dist/lib-esm/typings/payments/threeDS2ResultRequest.js @@ -0,0 +1,12 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=threeDS2ResultRequest.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/threeDS2ResultRequest.js.map b/dist/lib-esm/typings/payments/threeDS2ResultRequest.js.map new file mode 100644 index 0000000..97c22ff --- /dev/null +++ b/dist/lib-esm/typings/payments/threeDS2ResultRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"threeDS2ResultRequest.js","sourceRoot":"","sources":["../../../../src/typings/payments/threeDS2ResultRequest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/threeDS2ResultResponse.d.ts b/dist/lib-esm/typings/payments/threeDS2ResultResponse.d.ts new file mode 100644 index 0000000..116ac92 --- /dev/null +++ b/dist/lib-esm/typings/payments/threeDS2ResultResponse.d.ts @@ -0,0 +1,14 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { ThreeDS2Result } from './threeDS2Result'; +export interface ThreeDS2ResultResponse { + threeDS2Result?: ThreeDS2Result; +} diff --git a/dist/lib-esm/typings/payments/threeDS2ResultResponse.js b/dist/lib-esm/typings/payments/threeDS2ResultResponse.js new file mode 100644 index 0000000..2d67595 --- /dev/null +++ b/dist/lib-esm/typings/payments/threeDS2ResultResponse.js @@ -0,0 +1 @@ +//# sourceMappingURL=threeDS2ResultResponse.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/threeDS2ResultResponse.js.map b/dist/lib-esm/typings/payments/threeDS2ResultResponse.js.map new file mode 100644 index 0000000..d1e69fd --- /dev/null +++ b/dist/lib-esm/typings/payments/threeDS2ResultResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"threeDS2ResultResponse.js","sourceRoot":"","sources":["../../../../src/typings/payments/threeDS2ResultResponse.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/threeDSecureData.d.ts b/dist/lib-esm/typings/payments/threeDSecureData.d.ts new file mode 100644 index 0000000..e7501d1 --- /dev/null +++ b/dist/lib-esm/typings/payments/threeDSecureData.d.ts @@ -0,0 +1,62 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface ThreeDSecureData { + /** + * In 3D Secure 1, the authentication response if the shopper was redirected. In 3D Secure 2, this is the `transStatus` from challenge flow. If the transaction was frictionless, set this value to **Y**. + */ + authenticationResponse?: ThreeDSecureData.AuthenticationResponseEnum; + /** + * The cardholder authentication value (base64 encoded, 20 bytes in a decoded form). + */ + cavv?: string; + /** + * The CAVV algorithm used. Include this only for 3D Secure 1. + */ + cavvAlgorithm?: string; + /** + * In 3D Secure 1, this is the enrollment response from the 3D directory server. In 3D Secure 2, this is the `transStatus` from 3D Secure device fingerprinting result. + */ + directoryResponse?: ThreeDSecureData.DirectoryResponseEnum; + /** + * Supported for 3D Secure 2. The unique transaction identifier assigned by the Directory Server (DS) to identify a single transaction. + */ + dsTransID?: string; + /** + * The electronic commerce indicator. + */ + eci?: string; + /** + * The version of the 3D Secure protocol. + */ + threeDSVersion?: string; + /** + * Supported for 3D Secure 1. The transaction identifier (Base64-encoded, 20 bytes in a decoded form). + */ + xid?: string; +} +export declare namespace ThreeDSecureData { + type AuthenticationResponseEnum = 'Y' | 'N' | 'U' | 'A'; + const AuthenticationResponseEnum: { + Y: import("../checkout").ThreeDSecureData.AuthenticationResponseEnum; + N: import("../checkout").ThreeDSecureData.AuthenticationResponseEnum; + U: import("../checkout").ThreeDSecureData.AuthenticationResponseEnum; + A: import("../checkout").ThreeDSecureData.AuthenticationResponseEnum; + }; + type DirectoryResponseEnum = 'Y' | 'N' | 'U' | 'E' | 'C'; + const DirectoryResponseEnum: { + Y: import("../checkout").ThreeDSecureData.DirectoryResponseEnum; + N: import("../checkout").ThreeDSecureData.DirectoryResponseEnum; + U: import("../checkout").ThreeDSecureData.DirectoryResponseEnum; + E: import("../checkout").ThreeDSecureData.DirectoryResponseEnum; + C: import("../checkout").ThreeDSecureData.DirectoryResponseEnum; + }; +} diff --git a/dist/lib-esm/typings/payments/threeDSecureData.js b/dist/lib-esm/typings/payments/threeDSecureData.js new file mode 100644 index 0000000..7522b7f --- /dev/null +++ b/dist/lib-esm/typings/payments/threeDSecureData.js @@ -0,0 +1,28 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export var ThreeDSecureData; +(function (ThreeDSecureData) { + ThreeDSecureData.AuthenticationResponseEnum = { + Y: 'Y', + N: 'N', + U: 'U', + A: 'A' + }; + ThreeDSecureData.DirectoryResponseEnum = { + Y: 'Y', + N: 'N', + U: 'U', + E: 'E', + C: 'C' + }; +})(ThreeDSecureData || (ThreeDSecureData = {})); +//# sourceMappingURL=threeDSecureData.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payments/threeDSecureData.js.map b/dist/lib-esm/typings/payments/threeDSecureData.js.map new file mode 100644 index 0000000..dbe65e2 --- /dev/null +++ b/dist/lib-esm/typings/payments/threeDSecureData.js.map @@ -0,0 +1 @@ +{"version":3,"file":"threeDSecureData.js","sourceRoot":"","sources":["../../../../src/typings/payments/threeDSecureData.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAoCH,MAAM,KAAW,gBAAgB,CAgBhC;AAhBD,WAAiB,gBAAgB;IAEhB,2CAA0B,GAAG;QACtC,CAAC,EAAE,GAAiC;QACpC,CAAC,EAAE,GAAiC;QACpC,CAAC,EAAE,GAAiC;QACpC,CAAC,EAAE,GAAiC;KACvC,CAAC;IAEW,sCAAqB,GAAG;QACjC,CAAC,EAAE,GAA4B;QAC/B,CAAC,EAAE,GAA4B;QAC/B,CAAC,EAAE,GAA4B;QAC/B,CAAC,EAAE,GAA4B;QAC/B,CAAC,EAAE,GAA4B;KAClC,CAAC;AACN,CAAC,EAhBgB,gBAAgB,KAAhB,gBAAgB,QAgBhC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/address.d.ts b/dist/lib-esm/typings/payout/address.d.ts new file mode 100644 index 0000000..323b5a3 --- /dev/null +++ b/dist/lib-esm/typings/payout/address.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Address { + /** + * The name of the city. >Required if either houseNumberOrName, street, postalCode, or stateOrProvince are provided. + */ + city?: string; + /** + * The two-character country code of the address >The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. 'NL'). + */ + country: string; + /** + * The number or name of the house. + */ + houseNumberOrName?: string; + /** + * The postal code. >A maximum of five (5) digits for an address in the USA, or a maximum of ten (10) characters for an address in all other countries. >Required if either houseNumberOrName, street, city, or stateOrProvince are provided. + */ + postalCode?: string; + /** + * The abbreviation of the state or province. >Two (2) characters for an address in the USA or Canada, or a maximum of three (3) characters for an address in all other countries. >Required for an address in the USA or Canada if either houseNumberOrName, street, city, or postalCode are provided. + */ + stateOrProvince?: string; + /** + * The name of the street. >The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. >Required if either houseNumberOrName, city, postalCode, or stateOrProvince are provided. + */ + street?: string; +} diff --git a/dist/lib-esm/typings/payout/address.js b/dist/lib-esm/typings/payout/address.js new file mode 100644 index 0000000..374dc0a --- /dev/null +++ b/dist/lib-esm/typings/payout/address.js @@ -0,0 +1,12 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=address.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/address.js.map b/dist/lib-esm/typings/payout/address.js.map new file mode 100644 index 0000000..def7ae2 --- /dev/null +++ b/dist/lib-esm/typings/payout/address.js.map @@ -0,0 +1 @@ +{"version":3,"file":"address.js","sourceRoot":"","sources":["../../../../src/typings/payout/address.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/amount.d.ts b/dist/lib-esm/typings/payout/amount.d.ts new file mode 100644 index 0000000..470abae --- /dev/null +++ b/dist/lib-esm/typings/payout/amount.d.ts @@ -0,0 +1,21 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Amount { + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + */ + currency: string; + /** + * The payable amount that can be charged for the transaction. The transaction amount needs to be represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). + */ + value: number; +} diff --git a/dist/lib-esm/typings/payout/amount.js b/dist/lib-esm/typings/payout/amount.js new file mode 100644 index 0000000..4efbb37 --- /dev/null +++ b/dist/lib-esm/typings/payout/amount.js @@ -0,0 +1,12 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=amount.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/amount.js.map b/dist/lib-esm/typings/payout/amount.js.map new file mode 100644 index 0000000..2c015d6 --- /dev/null +++ b/dist/lib-esm/typings/payout/amount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"amount.js","sourceRoot":"","sources":["../../../../src/typings/payout/amount.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/bankAccount.d.ts b/dist/lib-esm/typings/payout/bankAccount.d.ts new file mode 100644 index 0000000..a02db49 --- /dev/null +++ b/dist/lib-esm/typings/payout/bankAccount.d.ts @@ -0,0 +1,49 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface BankAccount { + /** + * The bank account number (without separators). + */ + bankAccountNumber?: string; + /** + * The bank city. + */ + bankCity?: string; + /** + * The location id of the bank. The field value is `nil` in most cases. + */ + bankLocationId?: string; + /** + * The name of the bank. + */ + bankName?: string; + /** + * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. + */ + bic?: string; + /** + * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). + */ + countryCode?: string; + /** + * The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN). + */ + iban?: string; + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + */ + ownerName?: string; + /** + * The bank account holder's tax ID. + */ + taxId?: string; +} diff --git a/dist/lib-esm/typings/payout/bankAccount.js b/dist/lib-esm/typings/payout/bankAccount.js new file mode 100644 index 0000000..c84daad --- /dev/null +++ b/dist/lib-esm/typings/payout/bankAccount.js @@ -0,0 +1,12 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=bankAccount.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/bankAccount.js.map b/dist/lib-esm/typings/payout/bankAccount.js.map new file mode 100644 index 0000000..b61649c --- /dev/null +++ b/dist/lib-esm/typings/payout/bankAccount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bankAccount.js","sourceRoot":"","sources":["../../../../src/typings/payout/bankAccount.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/browserInfo.d.ts b/dist/lib-esm/typings/payout/browserInfo.d.ts new file mode 100644 index 0000000..69de777 --- /dev/null +++ b/dist/lib-esm/typings/payout/browserInfo.d.ts @@ -0,0 +1,21 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface BrowserInfo { + /** + * The accept header value of the shopper's browser. + */ + acceptHeader: string; + /** + * The user agent value of the shopper's browser. + */ + userAgent: string; +} diff --git a/dist/lib-esm/typings/payout/browserInfo.js b/dist/lib-esm/typings/payout/browserInfo.js new file mode 100644 index 0000000..fac8070 --- /dev/null +++ b/dist/lib-esm/typings/payout/browserInfo.js @@ -0,0 +1,12 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=browserInfo.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/browserInfo.js.map b/dist/lib-esm/typings/payout/browserInfo.js.map new file mode 100644 index 0000000..6dde014 --- /dev/null +++ b/dist/lib-esm/typings/payout/browserInfo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"browserInfo.js","sourceRoot":"","sources":["../../../../src/typings/payout/browserInfo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/card.d.ts b/dist/lib-esm/typings/payout/card.d.ts new file mode 100644 index 0000000..75ad2cf --- /dev/null +++ b/dist/lib-esm/typings/payout/card.d.ts @@ -0,0 +1,45 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Card { + /** + * The [card verification code](https://docs.adyen.com/payment-glossary#cardsecuritycodecvccvvcid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/features/client-side-encryption), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. + */ + cvc?: string; + /** + * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November + */ + expiryMonth: string; + /** + * The card expiry year. Format: 4 digits. For example: 2020 + */ + expiryYear: string; + /** + * The name of the cardholder, as printed on the card. + */ + holderName: string; + /** + * The issue number of the card (for some UK debit cards only). + */ + issueNumber?: string; + /** + * The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned. + */ + number: string; + /** + * The month component of the start date (for some UK debit cards only). + */ + startMonth?: string; + /** + * The year component of the start date (for some UK debit cards only). + */ + startYear?: string; +} diff --git a/dist/lib-esm/typings/payout/card.js b/dist/lib-esm/typings/payout/card.js new file mode 100644 index 0000000..f128a20 --- /dev/null +++ b/dist/lib-esm/typings/payout/card.js @@ -0,0 +1,12 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=card.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/card.js.map b/dist/lib-esm/typings/payout/card.js.map new file mode 100644 index 0000000..3c8eb3b --- /dev/null +++ b/dist/lib-esm/typings/payout/card.js.map @@ -0,0 +1 @@ +{"version":3,"file":"card.js","sourceRoot":"","sources":["../../../../src/typings/payout/card.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/forexQuote.d.ts b/dist/lib-esm/typings/payout/forexQuote.d.ts new file mode 100644 index 0000000..04b691c --- /dev/null +++ b/dist/lib-esm/typings/payout/forexQuote.d.ts @@ -0,0 +1,49 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Amount } from './amount'; +export interface ForexQuote { + /** + * The account name. + */ + account?: string; + /** + * The account type. + */ + accountType?: string; + baseAmount?: Amount; + /** + * The base points. + */ + basePoints: number; + buy?: Amount; + interbank?: Amount; + /** + * The reference assigned to the forex quote request. + */ + reference?: string; + sell?: Amount; + /** + * The signature to validate the integrity. + */ + signature?: string; + /** + * The source of the forex quote. + */ + source?: string; + /** + * The type of forex. + */ + type?: string; + /** + * The date until which the forex quote is valid. + */ + validTill: Date; +} diff --git a/dist/lib-esm/typings/payout/forexQuote.js b/dist/lib-esm/typings/payout/forexQuote.js new file mode 100644 index 0000000..95de125 --- /dev/null +++ b/dist/lib-esm/typings/payout/forexQuote.js @@ -0,0 +1 @@ +//# sourceMappingURL=forexQuote.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/forexQuote.js.map b/dist/lib-esm/typings/payout/forexQuote.js.map new file mode 100644 index 0000000..6183d13 --- /dev/null +++ b/dist/lib-esm/typings/payout/forexQuote.js.map @@ -0,0 +1 @@ +{"version":3,"file":"forexQuote.js","sourceRoot":"","sources":["../../../../src/typings/payout/forexQuote.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/fraudCheckResult.d.ts b/dist/lib-esm/typings/payout/fraudCheckResult.d.ts new file mode 100644 index 0000000..e79b860 --- /dev/null +++ b/dist/lib-esm/typings/payout/fraudCheckResult.d.ts @@ -0,0 +1,25 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface FraudCheckResult { + /** + * The fraud score generated by the risk check. + */ + accountScore: number; + /** + * The ID of the risk check. + */ + checkId: number; + /** + * The name of the risk check. + */ + name: string; +} diff --git a/dist/lib-esm/typings/payout/fraudCheckResult.js b/dist/lib-esm/typings/payout/fraudCheckResult.js new file mode 100644 index 0000000..958d611 --- /dev/null +++ b/dist/lib-esm/typings/payout/fraudCheckResult.js @@ -0,0 +1,12 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=fraudCheckResult.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/fraudCheckResult.js.map b/dist/lib-esm/typings/payout/fraudCheckResult.js.map new file mode 100644 index 0000000..df7d90b --- /dev/null +++ b/dist/lib-esm/typings/payout/fraudCheckResult.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fraudCheckResult.js","sourceRoot":"","sources":["../../../../src/typings/payout/fraudCheckResult.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/fraudResult.d.ts b/dist/lib-esm/typings/payout/fraudResult.d.ts new file mode 100644 index 0000000..71dc71d --- /dev/null +++ b/dist/lib-esm/typings/payout/fraudResult.d.ts @@ -0,0 +1,21 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { FraudCheckResult } from './fraudCheckResult'; +export interface FraudResult { + /** + * The total fraud score generated by the risk checks. + */ + accountScore: number; + /** + * The result of the individual risk checks. + */ + results?: Array; +} diff --git a/dist/lib-esm/typings/payout/fraudResult.js b/dist/lib-esm/typings/payout/fraudResult.js new file mode 100644 index 0000000..4711992 --- /dev/null +++ b/dist/lib-esm/typings/payout/fraudResult.js @@ -0,0 +1 @@ +//# sourceMappingURL=fraudResult.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/fraudResult.js.map b/dist/lib-esm/typings/payout/fraudResult.js.map new file mode 100644 index 0000000..d30bcf5 --- /dev/null +++ b/dist/lib-esm/typings/payout/fraudResult.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fraudResult.js","sourceRoot":"","sources":["../../../../src/typings/payout/fraudResult.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/fundSource.d.ts b/dist/lib-esm/typings/payout/fundSource.d.ts new file mode 100644 index 0000000..f97a185 --- /dev/null +++ b/dist/lib-esm/typings/payout/fundSource.d.ts @@ -0,0 +1,30 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Address } from './address'; +import { Card } from './card'; +import { Name } from './name'; +export interface FundSource { + /** + * a map of name/value pairs for passing in additional/industry-specific data + */ + additionalData?: any; + billingAddress?: Address; + card?: Card; + /** + * the email address of the person + */ + shopperEmail?: string; + shopperName?: Name; + /** + * the telephone number of the person + */ + telephoneNumber?: string; +} diff --git a/dist/lib-esm/typings/payout/fundSource.js b/dist/lib-esm/typings/payout/fundSource.js new file mode 100644 index 0000000..57e0dcc --- /dev/null +++ b/dist/lib-esm/typings/payout/fundSource.js @@ -0,0 +1 @@ +//# sourceMappingURL=fundSource.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/fundSource.js.map b/dist/lib-esm/typings/payout/fundSource.js.map new file mode 100644 index 0000000..14b8240 --- /dev/null +++ b/dist/lib-esm/typings/payout/fundSource.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fundSource.js","sourceRoot":"","sources":["../../../../src/typings/payout/fundSource.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/index.d.ts b/dist/lib-esm/typings/payout/index.d.ts new file mode 100644 index 0000000..b76c54b --- /dev/null +++ b/dist/lib-esm/typings/payout/index.d.ts @@ -0,0 +1,23 @@ +export * from './address'; +export * from './amount'; +export * from './bankAccount'; +export * from './browserInfo'; +export * from './card'; +export * from './forexQuote'; +export * from './fraudCheckResult'; +export * from './fraudResult'; +export * from './fundSource'; +export * from './installments'; +export * from './modifyRequest'; +export * from './modifyResponse'; +export * from './name'; +export * from './payoutRequest'; +export * from './payoutResponse'; +export * from './recurring'; +export * from './storeDetailAndSubmitRequest'; +export * from './storeDetailAndSubmitResponse'; +export * from './storeDetailRequest'; +export * from './storeDetailResponse'; +export * from './submitRequest'; +export * from './submitResponse'; +export * from './threeDSecureData'; diff --git a/dist/lib-esm/typings/payout/index.js b/dist/lib-esm/typings/payout/index.js new file mode 100644 index 0000000..5949ffb --- /dev/null +++ b/dist/lib-esm/typings/payout/index.js @@ -0,0 +1,9 @@ +export * from './name'; +export * from './payoutRequest'; +export * from './payoutResponse'; +export * from './recurring'; +export * from './storeDetailAndSubmitRequest'; +export * from './storeDetailRequest'; +export * from './submitRequest'; +export * from './threeDSecureData'; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/index.js.map b/dist/lib-esm/typings/payout/index.js.map new file mode 100644 index 0000000..83e71a8 --- /dev/null +++ b/dist/lib-esm/typings/payout/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/typings/payout/index.ts"],"names":[],"mappings":"AAYA,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,+BAA+B,CAAC;AAE9C,cAAc,sBAAsB,CAAC;AAErC,cAAc,iBAAiB,CAAC;AAEhC,cAAc,oBAAoB,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/installments.d.ts b/dist/lib-esm/typings/payout/installments.d.ts new file mode 100644 index 0000000..7fa4d73 --- /dev/null +++ b/dist/lib-esm/typings/payout/installments.d.ts @@ -0,0 +1,17 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Installments { + /** + * Defines the number of installments. Its value needs to be greater than zero. Usually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary. + */ + value: number; +} diff --git a/dist/lib-esm/typings/payout/installments.js b/dist/lib-esm/typings/payout/installments.js new file mode 100644 index 0000000..a0d847e --- /dev/null +++ b/dist/lib-esm/typings/payout/installments.js @@ -0,0 +1,12 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=installments.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/installments.js.map b/dist/lib-esm/typings/payout/installments.js.map new file mode 100644 index 0000000..eb3082f --- /dev/null +++ b/dist/lib-esm/typings/payout/installments.js.map @@ -0,0 +1 @@ +{"version":3,"file":"installments.js","sourceRoot":"","sources":["../../../../src/typings/payout/installments.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/modifyRequest.d.ts b/dist/lib-esm/typings/payout/modifyRequest.d.ts new file mode 100644 index 0000000..60ca49e --- /dev/null +++ b/dist/lib-esm/typings/payout/modifyRequest.d.ts @@ -0,0 +1,25 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface ModifyRequest { + /** + * This field contains additional data, which may be required for a particular payout request. + */ + additionalData?: any; + /** + * The merchant account identifier, with which you want to process the transaction. + */ + merchantAccount: string; + /** + * The PSP reference received in the `/submitThirdParty` response. + */ + originalReference: string; +} diff --git a/dist/lib-esm/typings/payout/modifyRequest.js b/dist/lib-esm/typings/payout/modifyRequest.js new file mode 100644 index 0000000..e83d95d --- /dev/null +++ b/dist/lib-esm/typings/payout/modifyRequest.js @@ -0,0 +1,12 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=modifyRequest.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/modifyRequest.js.map b/dist/lib-esm/typings/payout/modifyRequest.js.map new file mode 100644 index 0000000..037687e --- /dev/null +++ b/dist/lib-esm/typings/payout/modifyRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"modifyRequest.js","sourceRoot":"","sources":["../../../../src/typings/payout/modifyRequest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/modifyResponse.d.ts b/dist/lib-esm/typings/payout/modifyResponse.d.ts new file mode 100644 index 0000000..d97d0ea --- /dev/null +++ b/dist/lib-esm/typings/payout/modifyResponse.d.ts @@ -0,0 +1,25 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface ModifyResponse { + /** + * This field contains additional data, which may be returned in a particular response. + */ + additionalData?: any; + /** + * Adyen's 16-character string reference associated with the transaction. This value is globally unique; quote it when communicating with us about this response. + */ + pspReference: string; + /** + * The response: * In case of success, it is either `payout-confirm-received` or `payout-decline-received`. * In case of an error, an informational message is returned. + */ + response: string; +} diff --git a/dist/lib-esm/typings/payout/modifyResponse.js b/dist/lib-esm/typings/payout/modifyResponse.js new file mode 100644 index 0000000..476923e --- /dev/null +++ b/dist/lib-esm/typings/payout/modifyResponse.js @@ -0,0 +1,12 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=modifyResponse.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/modifyResponse.js.map b/dist/lib-esm/typings/payout/modifyResponse.js.map new file mode 100644 index 0000000..a756fd8 --- /dev/null +++ b/dist/lib-esm/typings/payout/modifyResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"modifyResponse.js","sourceRoot":"","sources":["../../../../src/typings/payout/modifyResponse.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/name.d.ts b/dist/lib-esm/typings/payout/name.d.ts new file mode 100644 index 0000000..25bc14f --- /dev/null +++ b/dist/lib-esm/typings/payout/name.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Name { + /** + * The first name. + */ + firstName: string; + /** + * The gender. >The following values are permitted: `MALE`, `FEMALE`, `UNKNOWN`. + */ + gender: Name.GenderEnum; + /** + * The name's infix, if applicable. >A maximum length of twenty (20) characters is imposed. + */ + infix?: string; + /** + * The last name. + */ + lastName: string; +} +export declare namespace Name { + type GenderEnum = 'MALE' | 'FEMALE' | 'UNKNOWN'; + const GenderEnum: { + MALE: import("../checkout").Name.GenderEnum; + FEMALE: import("../checkout").Name.GenderEnum; + UNKNOWN: import("../checkout").Name.GenderEnum; + }; +} diff --git a/dist/lib-esm/typings/payout/name.js b/dist/lib-esm/typings/payout/name.js new file mode 100644 index 0000000..e0bacfd --- /dev/null +++ b/dist/lib-esm/typings/payout/name.js @@ -0,0 +1,20 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export var Name; +(function (Name) { + Name.GenderEnum = { + MALE: 'MALE', + FEMALE: 'FEMALE', + UNKNOWN: 'UNKNOWN' + }; +})(Name || (Name = {})); +//# sourceMappingURL=name.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/name.js.map b/dist/lib-esm/typings/payout/name.js.map new file mode 100644 index 0000000..edbe149 --- /dev/null +++ b/dist/lib-esm/typings/payout/name.js.map @@ -0,0 +1 @@ +{"version":3,"file":"name.js","sourceRoot":"","sources":["../../../../src/typings/payout/name.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAoBH,MAAM,KAAW,IAAI,CAOpB;AAPD,WAAiB,IAAI;IAEJ,eAAU,GAAG;QACtB,IAAI,EAAE,MAAoB;QAC1B,MAAM,EAAE,QAAsB;QAC9B,OAAO,EAAE,SAAuB;KACnC,CAAC;AACN,CAAC,EAPgB,IAAI,KAAJ,IAAI,QAOpB"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/payoutRequest.d.ts b/dist/lib-esm/typings/payout/payoutRequest.d.ts new file mode 100644 index 0000000..646ff99 --- /dev/null +++ b/dist/lib-esm/typings/payout/payoutRequest.d.ts @@ -0,0 +1,167 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Address } from './address'; +import { Amount } from './amount'; +import { BankAccount } from './bankAccount'; +import { BrowserInfo } from './browserInfo'; +import { Card } from './card'; +import { ForexQuote } from './forexQuote'; +import { FundSource } from './fundSource'; +import { Installments } from './installments'; +import { Name } from './name'; +import { Recurring } from './recurring'; +import { ThreeDSecureData } from './threeDSecureData'; +export interface PayoutRequest { + additionalAmount?: Amount; + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. For more information on possible key-value pairs, refer to the [additionalData section](https://docs.adyen.com/api-reference/payments-api#paymentrequestadditionaldata). + */ + additionalData?: any; + amount: Amount; + bankAccount?: BankAccount; + billingAddress?: Address; + browserInfo?: BrowserInfo; + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + */ + captureDelayHours?: number; + card?: Card; + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + */ + dateOfBirth?: Date; + dccQuote?: ForexQuote; + deliveryAddress?: Address; + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + */ + deliveryDate?: Date; + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + */ + deviceFingerprint?: string; + /** + * The type of the entity the payment is processed for. + */ + entityType?: PayoutRequest.EntityTypeEnum; + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + */ + fraudOffset?: number; + fundSource?: FundSource; + installments?: Installments; + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + */ + mcc?: string; + /** + * The merchant account identifier, with which you want to process the transaction. + */ + merchantAccount: string; + /** + * This reference allows linking multiple transactions to each other. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + */ + merchantOrderReference?: string; + /** + * Metadata consists of entries, each of which includes a key and a value. Limitations: Error \"177\", \"Metadata size exceeds limit\" + */ + metadata?: any; + mpiData?: ThreeDSecureData; + /** + * The two-character country code of the shopper's nationality. + */ + nationality?: string; + /** + * The order reference to link multiple partial payments. + */ + orderReference?: string; + recurring?: Recurring; + /** + * Defines a recurring payment type. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – Card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. + */ + recurringProcessingModel?: PayoutRequest.RecurringProcessingModelEnum; + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + */ + reference: string; + /** + * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. + */ + selectedBrand?: string; + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + */ + selectedRecurringDetailReference?: string; + /** + * A session ID used to identify a payment session. + */ + sessionId?: string; + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. + */ + shopperEmail?: string; + /** + * The shopper's IP address. We recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > This field is mandatory for some merchants depending on your business model. For more information, [contact Support](https://support.adyen.com/hc/en-us/requests/new). + */ + shopperIP?: string; + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + */ + shopperInteraction?: PayoutRequest.ShopperInteractionEnum; + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + */ + shopperLocale?: string; + shopperName?: Name; + /** + * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). > This field is required for recurring payments. + */ + shopperReference?: string; + /** + * The text to appear on the shopper's bank statement. + */ + shopperStatement?: string; + /** + * The shopper's social security number. + */ + socialSecurityNumber?: string; + /** + * The physical store, for which this payment is processed. + */ + store?: string; + /** + * The shopper's telephone number. + */ + telephoneNumber?: string; + /** + * The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available). + */ + totalsGroup?: string; +} +export declare namespace PayoutRequest { + type EntityTypeEnum = 'NaturalPerson' | 'CompanyName'; + const EntityTypeEnum: { + NaturalPerson: import("../checkout").PaymentRequest.EntityTypeEnum; + CompanyName: import("../checkout").PaymentRequest.EntityTypeEnum; + }; + type RecurringProcessingModelEnum = 'CardOnFile' | 'Subscription'; + const RecurringProcessingModelEnum: { + CardOnFile: RecurringProcessingModelEnum; + Subscription: RecurringProcessingModelEnum; + }; + type ShopperInteractionEnum = 'Ecommerce' | 'ContAuth' | 'Moto' | 'POS'; + const ShopperInteractionEnum: { + Ecommerce: import("../checkout").PaymentRequest.ShopperInteractionEnum; + ContAuth: import("../checkout").PaymentRequest.ShopperInteractionEnum; + Moto: import("../checkout").PaymentRequest.ShopperInteractionEnum; + POS: import("../checkout").PaymentRequest.ShopperInteractionEnum; + }; +} diff --git a/dist/lib-esm/typings/payout/payoutRequest.js b/dist/lib-esm/typings/payout/payoutRequest.js new file mode 100644 index 0000000..0cab789 --- /dev/null +++ b/dist/lib-esm/typings/payout/payoutRequest.js @@ -0,0 +1,18 @@ +export var PayoutRequest; +(function (PayoutRequest) { + PayoutRequest.EntityTypeEnum = { + NaturalPerson: 'NaturalPerson', + CompanyName: 'CompanyName' + }; + PayoutRequest.RecurringProcessingModelEnum = { + CardOnFile: 'CardOnFile', + Subscription: 'Subscription' + }; + PayoutRequest.ShopperInteractionEnum = { + Ecommerce: 'Ecommerce', + ContAuth: 'ContAuth', + Moto: 'Moto', + POS: 'POS' + }; +})(PayoutRequest || (PayoutRequest = {})); +//# sourceMappingURL=payoutRequest.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/payoutRequest.js.map b/dist/lib-esm/typings/payout/payoutRequest.js.map new file mode 100644 index 0000000..9a4970b --- /dev/null +++ b/dist/lib-esm/typings/payout/payoutRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"payoutRequest.js","sourceRoot":"","sources":["../../../../src/typings/payout/payoutRequest.ts"],"names":[],"mappings":"AAsJA,MAAM,KAAW,aAAa,CAkB7B;AAlBD,WAAiB,aAAa;IAEb,4BAAc,GAAG;QAC1B,aAAa,EAAE,eAAiC;QAChD,WAAW,EAAE,aAA+B;KAC/C,CAAC;IAEW,0CAA4B,GAAG;QACxC,UAAU,EAAE,YAA4C;QACxD,YAAY,EAAE,cAA8C;KAC/D,CAAC;IAEW,oCAAsB,GAAG;QAClC,SAAS,EAAE,WAAqC;QAChD,QAAQ,EAAE,UAAoC;QAC9C,IAAI,EAAE,MAAgC;QACtC,GAAG,EAAE,KAA+B;KACvC,CAAC;AACN,CAAC,EAlBgB,aAAa,KAAb,aAAa,QAkB7B"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/payoutResponse.d.ts b/dist/lib-esm/typings/payout/payoutResponse.d.ts new file mode 100644 index 0000000..06bcd25 --- /dev/null +++ b/dist/lib-esm/typings/payout/payoutResponse.d.ts @@ -0,0 +1,64 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Amount } from './amount'; +import { FraudResult } from './fraudResult'; +export interface PayoutResponse { + /** + * This field contains additional data, which may be required to return in a particular payment response. To choose data fields to be returned, go to **Customer Area** > **Account** > **API URLs**. + */ + additionalData?: any; + /** + * Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. + */ + authCode?: string; + dccAmount?: Amount; + /** + * Cryptographic signature used to verify `dccQuote`. > This value only applies if you have implemented Dynamic Currency Conversion. For more information, [contact Support](https://support.adyen.com/hc/en-us/requests/new). + */ + dccSignature?: string; + fraudResult?: FraudResult; + /** + * The URL to direct the shopper to. > In case of SecurePlus, do not redirect a shopper to this URL. + */ + issuerUrl?: string; + /** + * The payment session. + */ + md?: string; + /** + * The 3D request data for the issuer. If the value is **CUPSecurePlus-CollectSMSVerificationCode**, collect an SMS code from the shopper and pass it in the `/authorise3D` request. For more information, see [3D Secure](https://docs.adyen.com/risk-management/3d-secure). + */ + paRequest?: string; + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. > `pspReference` is returned only for non-redirect payment methods. + */ + pspReference?: string; + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + */ + refusalReason?: string; + /** + * The result of the payment. Possible values: * **Authorised** – Indicates the payment authorisation was successfully completed. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. For more information on handling a pending payment, refer to [Payments with pending status](https://docs.adyen.com/development-resources/payments-with-pending-status). * **Error** – Indicates an error occurred during processing of the payment. The reason is given in the `refusalReason` field. This is a final state. + */ + resultCode?: PayoutResponse.ResultCodeEnum; +} +export declare namespace PayoutResponse { + type ResultCodeEnum = 'Authorised' | 'PartiallyAuthorised' | 'Refused' | 'Error' | 'Cancelled' | 'Received' | 'RedirectShopper'; + const ResultCodeEnum: { + Authorised: ResultCodeEnum; + PartiallyAuthorised: ResultCodeEnum; + Refused: ResultCodeEnum; + Error: ResultCodeEnum; + Cancelled: ResultCodeEnum; + Received: ResultCodeEnum; + RedirectShopper: ResultCodeEnum; + }; +} diff --git a/dist/lib-esm/typings/payout/payoutResponse.js b/dist/lib-esm/typings/payout/payoutResponse.js new file mode 100644 index 0000000..a62462c --- /dev/null +++ b/dist/lib-esm/typings/payout/payoutResponse.js @@ -0,0 +1,13 @@ +export var PayoutResponse; +(function (PayoutResponse) { + PayoutResponse.ResultCodeEnum = { + Authorised: 'Authorised', + PartiallyAuthorised: 'PartiallyAuthorised', + Refused: 'Refused', + Error: 'Error', + Cancelled: 'Cancelled', + Received: 'Received', + RedirectShopper: 'RedirectShopper' + }; +})(PayoutResponse || (PayoutResponse = {})); +//# sourceMappingURL=payoutResponse.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/payoutResponse.js.map b/dist/lib-esm/typings/payout/payoutResponse.js.map new file mode 100644 index 0000000..af8538c --- /dev/null +++ b/dist/lib-esm/typings/payout/payoutResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"payoutResponse.js","sourceRoot":"","sources":["../../../../src/typings/payout/payoutResponse.ts"],"names":[],"mappings":"AAsDA,MAAM,KAAW,cAAc,CAW9B;AAXD,WAAiB,cAAc;IAEd,6BAAc,GAAG;QAC1B,UAAU,EAAE,YAA8B;QAC1C,mBAAmB,EAAE,qBAAuC;QAC5D,OAAO,EAAE,SAA2B;QACpC,KAAK,EAAE,OAAyB;QAChC,SAAS,EAAE,WAA6B;QACxC,QAAQ,EAAE,UAA4B;QACtC,eAAe,EAAE,iBAAmC;KACvD,CAAC;AACN,CAAC,EAXgB,cAAc,KAAd,cAAc,QAW9B"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/recurring.d.ts b/dist/lib-esm/typings/payout/recurring.d.ts new file mode 100644 index 0000000..71cd446 --- /dev/null +++ b/dist/lib-esm/typings/payout/recurring.d.ts @@ -0,0 +1,38 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Recurring { + /** + * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payment-glossary#cardsecuritycodecvccvvcid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payment-glossary#cardnotpresentcnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/features/third-party-payouts). + */ + contract?: Recurring.ContractEnum; + /** + * A descriptive name for this detail. + */ + recurringDetailName?: string; + /** + * The name of the token service. + */ + tokenService?: Recurring.TokenServiceEnum; +} +export declare namespace Recurring { + type ContractEnum = 'ONECLICK' | 'RECURRING' | 'PAYOUT'; + const ContractEnum: { + ONECLICK: import("../checkout").Recurring.ContractEnum; + RECURRING: import("../checkout").Recurring.ContractEnum; + PAYOUT: import("../checkout").Recurring.ContractEnum; + }; + type TokenServiceEnum = 'VISATOKENSERVICE' | 'MCTOKENSERVICE'; + const TokenServiceEnum: { + VISATOKENSERVICE: import("../checkout").Recurring.TokenServiceEnum; + MCTOKENSERVICE: import("../checkout").Recurring.TokenServiceEnum; + }; +} diff --git a/dist/lib-esm/typings/payout/recurring.js b/dist/lib-esm/typings/payout/recurring.js new file mode 100644 index 0000000..03b89b2 --- /dev/null +++ b/dist/lib-esm/typings/payout/recurring.js @@ -0,0 +1,24 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export var Recurring; +(function (Recurring) { + Recurring.ContractEnum = { + ONECLICK: 'ONECLICK', + RECURRING: 'RECURRING', + PAYOUT: 'PAYOUT' + }; + Recurring.TokenServiceEnum = { + VISATOKENSERVICE: 'VISATOKENSERVICE', + MCTOKENSERVICE: 'MCTOKENSERVICE' + }; +})(Recurring || (Recurring = {})); +//# sourceMappingURL=recurring.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/recurring.js.map b/dist/lib-esm/typings/payout/recurring.js.map new file mode 100644 index 0000000..8c11397 --- /dev/null +++ b/dist/lib-esm/typings/payout/recurring.js.map @@ -0,0 +1 @@ +{"version":3,"file":"recurring.js","sourceRoot":"","sources":["../../../../src/typings/payout/recurring.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAgBH,MAAM,KAAW,SAAS,CAYzB;AAZD,WAAiB,SAAS;IAET,sBAAY,GAAG;QACxB,QAAQ,EAAE,UAA0B;QACpC,SAAS,EAAE,WAA2B;QACtC,MAAM,EAAE,QAAwB;KACnC,CAAC;IAEW,0BAAgB,GAAG;QAC5B,gBAAgB,EAAE,kBAAsC;QACxD,cAAc,EAAE,gBAAoC;KACvD,CAAC;AACN,CAAC,EAZgB,SAAS,KAAT,SAAS,QAYzB"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/storeDetailAndSubmitRequest.d.ts b/dist/lib-esm/typings/payout/storeDetailAndSubmitRequest.d.ts new file mode 100644 index 0000000..f0b9417 --- /dev/null +++ b/dist/lib-esm/typings/payout/storeDetailAndSubmitRequest.d.ts @@ -0,0 +1,79 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Address } from './address'; +import { Amount } from './amount'; +import { BankAccount } from './bankAccount'; +import { Card } from './card'; +import { Name } from './name'; +import { Recurring } from './recurring'; +export interface StoreDetailAndSubmitRequest { + /** + * This field contains additional data, which may be required for a particular request. + */ + additionalData?: any; + amount: Amount; + bank?: BankAccount; + billingAddress?: Address; + card?: Card; + /** + * The date of birth. Format: [ISO-8601](https://www.w3.org/TR/NOTE-datetime); example: YYYY-MM-DD For Paysafecard it must be the same as used when registering the Paysafecard account. > This field is mandatory for natural persons. + */ + dateOfBirth: Date; + /** + * The type of the entity the payout is processed for. + */ + entityType: StoreDetailAndSubmitRequest.EntityTypeEnum; + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + */ + fraudOffset?: number; + /** + * The merchant account identifier, with which you want to process the transaction. + */ + merchantAccount: string; + /** + * The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL'). + */ + nationality: string; + recurring: Recurring; + /** + * The merchant reference for this payment. This reference will be used in all communication to the merchant about the status of the payout. Although it is a good idea to make sure it is unique, this is not a requirement. + */ + reference: string; + /** + * The name of the brand to make a payout to. For Paysafecard it must be set to `paysafecard`. + */ + selectedBrand?: string; + /** + * The shopper's email address. + */ + shopperEmail: string; + shopperName?: Name; + /** + * The shopper's reference for the payment transaction. + */ + shopperReference: string; + /** + * The description of this payout. This description is shown on the bank statement of the shopper (if this is supported by the chosen payment method). + */ + shopperStatement?: string; + /** + * The shopper's social security number. + */ + socialSecurityNumber?: string; +} +export declare namespace StoreDetailAndSubmitRequest { + type EntityTypeEnum = 'NaturalPerson' | 'Company'; + const EntityTypeEnum: { + NaturalPerson: EntityTypeEnum; + Company: EntityTypeEnum; + }; +} diff --git a/dist/lib-esm/typings/payout/storeDetailAndSubmitRequest.js b/dist/lib-esm/typings/payout/storeDetailAndSubmitRequest.js new file mode 100644 index 0000000..4694547 --- /dev/null +++ b/dist/lib-esm/typings/payout/storeDetailAndSubmitRequest.js @@ -0,0 +1,8 @@ +export var StoreDetailAndSubmitRequest; +(function (StoreDetailAndSubmitRequest) { + StoreDetailAndSubmitRequest.EntityTypeEnum = { + NaturalPerson: 'NaturalPerson', + Company: 'Company' + }; +})(StoreDetailAndSubmitRequest || (StoreDetailAndSubmitRequest = {})); +//# sourceMappingURL=storeDetailAndSubmitRequest.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/storeDetailAndSubmitRequest.js.map b/dist/lib-esm/typings/payout/storeDetailAndSubmitRequest.js.map new file mode 100644 index 0000000..6c4795d --- /dev/null +++ b/dist/lib-esm/typings/payout/storeDetailAndSubmitRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"storeDetailAndSubmitRequest.js","sourceRoot":"","sources":["../../../../src/typings/payout/storeDetailAndSubmitRequest.ts"],"names":[],"mappings":"AA0EA,MAAM,KAAW,2BAA2B,CAM3C;AAND,WAAiB,2BAA2B;IAE3B,0CAAc,GAAG;QAC1B,aAAa,EAAE,eAAiC;QAChD,OAAO,EAAE,SAA2B;KACvC,CAAC;AACN,CAAC,EANgB,2BAA2B,KAA3B,2BAA2B,QAM3C"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/storeDetailAndSubmitResponse.d.ts b/dist/lib-esm/typings/payout/storeDetailAndSubmitResponse.d.ts new file mode 100644 index 0000000..a1fc975 --- /dev/null +++ b/dist/lib-esm/typings/payout/storeDetailAndSubmitResponse.d.ts @@ -0,0 +1,29 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface StoreDetailAndSubmitResponse { + /** + * This field contains additional data, which may be returned in a particular response. + */ + additionalData?: any; + /** + * A new reference to uniquely identify this request. + */ + pspReference: string; + /** + * In case of refusal, an informational message for the reason. + */ + refusalReason?: string; + /** + * The response: * In case of success is payout-submit-received. * In case of an error, an informational message is returned. + */ + resultCode: string; +} diff --git a/dist/lib-esm/typings/payout/storeDetailAndSubmitResponse.js b/dist/lib-esm/typings/payout/storeDetailAndSubmitResponse.js new file mode 100644 index 0000000..e88022a --- /dev/null +++ b/dist/lib-esm/typings/payout/storeDetailAndSubmitResponse.js @@ -0,0 +1,12 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=storeDetailAndSubmitResponse.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/storeDetailAndSubmitResponse.js.map b/dist/lib-esm/typings/payout/storeDetailAndSubmitResponse.js.map new file mode 100644 index 0000000..0c25f3c --- /dev/null +++ b/dist/lib-esm/typings/payout/storeDetailAndSubmitResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"storeDetailAndSubmitResponse.js","sourceRoot":"","sources":["../../../../src/typings/payout/storeDetailAndSubmitResponse.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/storeDetailRequest.d.ts b/dist/lib-esm/typings/payout/storeDetailRequest.d.ts new file mode 100644 index 0000000..ae50508 --- /dev/null +++ b/dist/lib-esm/typings/payout/storeDetailRequest.d.ts @@ -0,0 +1,69 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Address } from './address'; +import { BankAccount } from './bankAccount'; +import { Card } from './card'; +import { Name } from './name'; +import { Recurring } from './recurring'; +export interface StoreDetailRequest { + /** + * This field contains additional data, which may be required for a particular request. + */ + additionalData?: any; + bank?: BankAccount; + billingAddress?: Address; + card?: Card; + /** + * The date of birth. Format: [ISO-8601](https://www.w3.org/TR/NOTE-datetime); example: YYYY-MM-DD For Paysafecard it must be the same as used when registering the Paysafecard account. > This field is mandatory for natural persons. + */ + dateOfBirth: Date; + /** + * The type of the entity the payout is processed for. + */ + entityType: StoreDetailRequest.EntityTypeEnum; + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + */ + fraudOffset?: number; + /** + * The merchant account identifier, with which you want to process the transaction. + */ + merchantAccount: string; + /** + * The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL'). + */ + nationality: string; + recurring: Recurring; + /** + * The name of the brand to make a payout to. For Paysafecard it must be set to `paysafecard`. + */ + selectedBrand?: string; + /** + * The shopper's email address. + */ + shopperEmail: string; + shopperName?: Name; + /** + * The shopper's reference for the payment transaction. + */ + shopperReference: string; + /** + * The shopper's social security number. + */ + socialSecurityNumber?: string; +} +export declare namespace StoreDetailRequest { + type EntityTypeEnum = 'NaturalPerson' | 'Company'; + const EntityTypeEnum: { + NaturalPerson: import("./storeDetailAndSubmitRequest").StoreDetailAndSubmitRequest.EntityTypeEnum; + Company: import("./storeDetailAndSubmitRequest").StoreDetailAndSubmitRequest.EntityTypeEnum; + }; +} diff --git a/dist/lib-esm/typings/payout/storeDetailRequest.js b/dist/lib-esm/typings/payout/storeDetailRequest.js new file mode 100644 index 0000000..a6a9498 --- /dev/null +++ b/dist/lib-esm/typings/payout/storeDetailRequest.js @@ -0,0 +1,8 @@ +export var StoreDetailRequest; +(function (StoreDetailRequest) { + StoreDetailRequest.EntityTypeEnum = { + NaturalPerson: 'NaturalPerson', + Company: 'Company' + }; +})(StoreDetailRequest || (StoreDetailRequest = {})); +//# sourceMappingURL=storeDetailRequest.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/storeDetailRequest.js.map b/dist/lib-esm/typings/payout/storeDetailRequest.js.map new file mode 100644 index 0000000..d0751c9 --- /dev/null +++ b/dist/lib-esm/typings/payout/storeDetailRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"storeDetailRequest.js","sourceRoot":"","sources":["../../../../src/typings/payout/storeDetailRequest.ts"],"names":[],"mappings":"AAgEA,MAAM,KAAW,kBAAkB,CAMlC;AAND,WAAiB,kBAAkB;IAElB,iCAAc,GAAG;QAC1B,aAAa,EAAE,eAAiC;QAChD,OAAO,EAAE,SAA2B;KACvC,CAAC;AACN,CAAC,EANgB,kBAAkB,KAAlB,kBAAkB,QAMlC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/storeDetailResponse.d.ts b/dist/lib-esm/typings/payout/storeDetailResponse.d.ts new file mode 100644 index 0000000..a2b3635 --- /dev/null +++ b/dist/lib-esm/typings/payout/storeDetailResponse.d.ts @@ -0,0 +1,29 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface StoreDetailResponse { + /** + * This field contains additional data, which may be returned in a particular response. + */ + additionalData?: any; + /** + * A new reference to uniquely identify this request. + */ + pspReference: string; + /** + * The token which you can use later on for submitting the payout. + */ + recurringDetailReference: string; + /** + * The result code of the transaction. `Success` indicates that the details were stored successfully. + */ + resultCode: string; +} diff --git a/dist/lib-esm/typings/payout/storeDetailResponse.js b/dist/lib-esm/typings/payout/storeDetailResponse.js new file mode 100644 index 0000000..b4c3e98 --- /dev/null +++ b/dist/lib-esm/typings/payout/storeDetailResponse.js @@ -0,0 +1,12 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=storeDetailResponse.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/storeDetailResponse.js.map b/dist/lib-esm/typings/payout/storeDetailResponse.js.map new file mode 100644 index 0000000..b62c463 --- /dev/null +++ b/dist/lib-esm/typings/payout/storeDetailResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"storeDetailResponse.js","sourceRoot":"","sources":["../../../../src/typings/payout/storeDetailResponse.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/submitRequest.d.ts b/dist/lib-esm/typings/payout/submitRequest.d.ts new file mode 100644 index 0000000..2836029 --- /dev/null +++ b/dist/lib-esm/typings/payout/submitRequest.d.ts @@ -0,0 +1,73 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Amount } from './amount'; +import { Name } from './name'; +import { Recurring } from './recurring'; +export interface SubmitRequest { + /** + * This field contains additional data, which may be required for a particular request. + */ + additionalData?: any; + amount: Amount; + /** + * The date of birth. Format: ISO-8601; example: YYYY-MM-DD For Paysafecard it must be the same as used when registering the Paysafecard account. > This field is mandatory for natural persons. > This field is required to update the existing `dateOfBirth` that is associated with this recurring contract. + */ + dateOfBirth?: Date; + /** + * The type of the entity the payout is processed for. Allowed values: * NaturalPerson * Company > This field is required to update the existing `entityType` that is associated with this recurring contract. + */ + entityType?: SubmitRequest.EntityTypeEnum; + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + */ + fraudOffset?: number; + /** + * The merchant account identifier you want to process the transaction request with. + */ + merchantAccount: string; + /** + * The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL'). > This field is required to update the existing nationality that is associated with this recurring contract. + */ + nationality?: string; + recurring: Recurring; + /** + * The merchant reference for this payout. This reference will be used in all communication to the merchant about the status of the payout. Although it is a good idea to make sure it is unique, this is not a requirement. + */ + reference: string; + /** + * This is the `recurringDetailReference` you want to use for this payout. You can use the value LATEST to select the most recently used recurring detail. + */ + selectedRecurringDetailReference: string; + /** + * The shopper's email address. + */ + shopperEmail: string; + shopperName?: Name; + /** + * The shopper's reference for the payout transaction. + */ + shopperReference: string; + /** + * The description of this payout. This description is shown on the bank statement of the shopper (if this is supported by the chosen payment method). + */ + shopperStatement?: string; + /** + * The shopper's social security number. + */ + socialSecurityNumber?: string; +} +export declare namespace SubmitRequest { + type EntityTypeEnum = 'NaturalPerson' | 'Company'; + const EntityTypeEnum: { + NaturalPerson: import("./storeDetailAndSubmitRequest").StoreDetailAndSubmitRequest.EntityTypeEnum; + Company: import("./storeDetailAndSubmitRequest").StoreDetailAndSubmitRequest.EntityTypeEnum; + }; +} diff --git a/dist/lib-esm/typings/payout/submitRequest.js b/dist/lib-esm/typings/payout/submitRequest.js new file mode 100644 index 0000000..11a9677 --- /dev/null +++ b/dist/lib-esm/typings/payout/submitRequest.js @@ -0,0 +1,8 @@ +export var SubmitRequest; +(function (SubmitRequest) { + SubmitRequest.EntityTypeEnum = { + NaturalPerson: 'NaturalPerson', + Company: 'Company' + }; +})(SubmitRequest || (SubmitRequest = {})); +//# sourceMappingURL=submitRequest.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/submitRequest.js.map b/dist/lib-esm/typings/payout/submitRequest.js.map new file mode 100644 index 0000000..c6747f4 --- /dev/null +++ b/dist/lib-esm/typings/payout/submitRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"submitRequest.js","sourceRoot":"","sources":["../../../../src/typings/payout/submitRequest.ts"],"names":[],"mappings":"AAoEA,MAAM,KAAW,aAAa,CAM7B;AAND,WAAiB,aAAa;IAEb,4BAAc,GAAG;QAC1B,aAAa,EAAE,eAAiC;QAChD,OAAO,EAAE,SAA2B;KACvC,CAAC;AACN,CAAC,EANgB,aAAa,KAAb,aAAa,QAM7B"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/submitResponse.d.ts b/dist/lib-esm/typings/payout/submitResponse.d.ts new file mode 100644 index 0000000..8ff3d41 --- /dev/null +++ b/dist/lib-esm/typings/payout/submitResponse.d.ts @@ -0,0 +1,29 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface SubmitResponse { + /** + * This field contains additional data, which may be returned in a particular response. + */ + additionalData?: any; + /** + * A new reference to uniquely identify this request. + */ + pspReference: string; + /** + * In case of refusal, an informational message for the reason. + */ + refusalReason?: string; + /** + * The response: * In case of success, it is `payout-submit-received`. * In case of an error, an informational message is returned. + */ + resultCode: string; +} diff --git a/dist/lib-esm/typings/payout/submitResponse.js b/dist/lib-esm/typings/payout/submitResponse.js new file mode 100644 index 0000000..e46f8a5 --- /dev/null +++ b/dist/lib-esm/typings/payout/submitResponse.js @@ -0,0 +1,12 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=submitResponse.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/submitResponse.js.map b/dist/lib-esm/typings/payout/submitResponse.js.map new file mode 100644 index 0000000..5012be0 --- /dev/null +++ b/dist/lib-esm/typings/payout/submitResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"submitResponse.js","sourceRoot":"","sources":["../../../../src/typings/payout/submitResponse.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/threeDSecureData.d.ts b/dist/lib-esm/typings/payout/threeDSecureData.d.ts new file mode 100644 index 0000000..66b590a --- /dev/null +++ b/dist/lib-esm/typings/payout/threeDSecureData.d.ts @@ -0,0 +1,53 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface ThreeDSecureData { + /** + * The authentication response if the shopper was redirected. + */ + authenticationResponse?: ThreeDSecureData.AuthenticationResponseEnum; + /** + * The cardholder authentication value (base64 encoded, 20 bytes in a decoded form). + */ + cavv?: string; + /** + * The CAVV algorithm used. + */ + cavvAlgorithm?: string; + /** + * The enrollment response from the 3D directory server. + */ + directoryResponse?: ThreeDSecureData.DirectoryResponseEnum; + /** + * The electronic commerce indicator. + */ + eci?: string; + /** + * The transaction identifier (base64 encoded, 20 bytes in a decoded form). + */ + xid?: string; +} +export declare namespace ThreeDSecureData { + type AuthenticationResponseEnum = 'Y' | 'N' | 'U' | 'A'; + const AuthenticationResponseEnum: { + Y: import("../checkout").ThreeDSecureData.AuthenticationResponseEnum; + N: import("../checkout").ThreeDSecureData.AuthenticationResponseEnum; + U: import("../checkout").ThreeDSecureData.AuthenticationResponseEnum; + A: import("../checkout").ThreeDSecureData.AuthenticationResponseEnum; + }; + type DirectoryResponseEnum = 'Y' | 'N' | 'U' | 'E'; + const DirectoryResponseEnum: { + Y: DirectoryResponseEnum; + N: DirectoryResponseEnum; + U: DirectoryResponseEnum; + E: DirectoryResponseEnum; + }; +} diff --git a/dist/lib-esm/typings/payout/threeDSecureData.js b/dist/lib-esm/typings/payout/threeDSecureData.js new file mode 100644 index 0000000..272c8b6 --- /dev/null +++ b/dist/lib-esm/typings/payout/threeDSecureData.js @@ -0,0 +1,27 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export var ThreeDSecureData; +(function (ThreeDSecureData) { + ThreeDSecureData.AuthenticationResponseEnum = { + Y: 'Y', + N: 'N', + U: 'U', + A: 'A' + }; + ThreeDSecureData.DirectoryResponseEnum = { + Y: 'Y', + N: 'N', + U: 'U', + E: 'E' + }; +})(ThreeDSecureData || (ThreeDSecureData = {})); +//# sourceMappingURL=threeDSecureData.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/payout/threeDSecureData.js.map b/dist/lib-esm/typings/payout/threeDSecureData.js.map new file mode 100644 index 0000000..aee4856 --- /dev/null +++ b/dist/lib-esm/typings/payout/threeDSecureData.js.map @@ -0,0 +1 @@ +{"version":3,"file":"threeDSecureData.js","sourceRoot":"","sources":["../../../../src/typings/payout/threeDSecureData.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AA4BH,MAAM,KAAW,gBAAgB,CAehC;AAfD,WAAiB,gBAAgB;IAEhB,2CAA0B,GAAG;QACtC,CAAC,EAAE,GAAiC;QACpC,CAAC,EAAE,GAAiC;QACpC,CAAC,EAAE,GAAiC;QACpC,CAAC,EAAE,GAAiC;KACvC,CAAC;IAEW,sCAAqB,GAAG;QACjC,CAAC,EAAE,GAA4B;QAC/B,CAAC,EAAE,GAA4B;QAC/B,CAAC,EAAE,GAA4B;QAC/B,CAAC,EAAE,GAA4B;KAClC,CAAC;AACN,CAAC,EAfgB,gBAAgB,KAAhB,gBAAgB,QAehC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/recurring/address.d.ts b/dist/lib-esm/typings/recurring/address.d.ts new file mode 100644 index 0000000..ab116ef --- /dev/null +++ b/dist/lib-esm/typings/recurring/address.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Address { + /** + * The name of the city. >Required if either houseNumberOrName, street, postalCode, or stateOrProvince are provided. + */ + city?: string; + /** + * The two-character country code of the address. The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. 'NL'). > If you don't know the country or are not collecting the country from the shopper, provide `countryCode` as `ZZ`. + */ + country: string; + /** + * The number or name of the house. + */ + houseNumberOrName?: string; + /** + * The postal code. >A maximum of five (5) digits for an address in the USA, or a maximum of ten (10) characters for an address in all other countries. + */ + postalCode?: string; + /** + * The abbreviation of the state or province. >Two (2) characters for an address in the USA or Canada, or a maximum of three (3) characters for an address in all other countries. >Required for an address in the USA or Canada if either houseNumberOrName, street, city, or postalCode are provided. + */ + stateOrProvince?: string; + /** + * The name of the street. >The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. >Required if either houseNumberOrName, city, postalCode, or stateOrProvince are provided. + */ + street?: string; +} diff --git a/dist/lib-esm/typings/recurring/address.js b/dist/lib-esm/typings/recurring/address.js new file mode 100644 index 0000000..7e4571a --- /dev/null +++ b/dist/lib-esm/typings/recurring/address.js @@ -0,0 +1,12 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=address.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/recurring/address.js.map b/dist/lib-esm/typings/recurring/address.js.map new file mode 100644 index 0000000..5e44019 --- /dev/null +++ b/dist/lib-esm/typings/recurring/address.js.map @@ -0,0 +1 @@ +{"version":3,"file":"address.js","sourceRoot":"","sources":["../../../../src/typings/recurring/address.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/recurring/bankAccount.d.ts b/dist/lib-esm/typings/recurring/bankAccount.d.ts new file mode 100644 index 0000000..716602d --- /dev/null +++ b/dist/lib-esm/typings/recurring/bankAccount.d.ts @@ -0,0 +1,49 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface BankAccount { + /** + * The bank account number (without separators). + */ + bankAccountNumber?: string; + /** + * The bank city. + */ + bankCity?: string; + /** + * The location id of the bank. The field value is `nil` in most cases. + */ + bankLocationId?: string; + /** + * The name of the bank. + */ + bankName?: string; + /** + * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. + */ + bic?: string; + /** + * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). + */ + countryCode?: string; + /** + * The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN). + */ + iban?: string; + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + */ + ownerName?: string; + /** + * The bank account holder's tax ID. + */ + taxId?: string; +} diff --git a/dist/lib-esm/typings/recurring/bankAccount.js b/dist/lib-esm/typings/recurring/bankAccount.js new file mode 100644 index 0000000..870d44a --- /dev/null +++ b/dist/lib-esm/typings/recurring/bankAccount.js @@ -0,0 +1,12 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=bankAccount.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/recurring/bankAccount.js.map b/dist/lib-esm/typings/recurring/bankAccount.js.map new file mode 100644 index 0000000..66f9309 --- /dev/null +++ b/dist/lib-esm/typings/recurring/bankAccount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bankAccount.js","sourceRoot":"","sources":["../../../../src/typings/recurring/bankAccount.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/recurring/card.d.ts b/dist/lib-esm/typings/recurring/card.d.ts new file mode 100644 index 0000000..c93acc5 --- /dev/null +++ b/dist/lib-esm/typings/recurring/card.d.ts @@ -0,0 +1,45 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Card { + /** + * The [card verification code](https://docs.adyen.com/payments-essentials/payment-glossary#card_security_code_cvc_cvv_cid_) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. + */ + cvc?: string; + /** + * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November + */ + expiryMonth: string; + /** + * The card expiry year. Format: 4 digits. For example: 2020 + */ + expiryYear: string; + /** + * The name of the cardholder, as printed on the card. + */ + holderName: string; + /** + * The issue number of the card (for some UK debit cards only). + */ + issueNumber?: string; + /** + * The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned. + */ + number: string; + /** + * The month component of the start date (for some UK debit cards only). + */ + startMonth?: string; + /** + * The year component of the start date (for some UK debit cards only). + */ + startYear?: string; +} diff --git a/dist/lib-esm/typings/recurring/card.js b/dist/lib-esm/typings/recurring/card.js new file mode 100644 index 0000000..fac1512 --- /dev/null +++ b/dist/lib-esm/typings/recurring/card.js @@ -0,0 +1,12 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=card.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/recurring/card.js.map b/dist/lib-esm/typings/recurring/card.js.map new file mode 100644 index 0000000..44e3fa9 --- /dev/null +++ b/dist/lib-esm/typings/recurring/card.js.map @@ -0,0 +1 @@ +{"version":3,"file":"card.js","sourceRoot":"","sources":["../../../../src/typings/recurring/card.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/recurring/disableRequest.d.ts b/dist/lib-esm/typings/recurring/disableRequest.d.ts new file mode 100644 index 0000000..d7cb811 --- /dev/null +++ b/dist/lib-esm/typings/recurring/disableRequest.d.ts @@ -0,0 +1,29 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface DisableRequest { + /** + * Specify the contract if you only want to disable a specific use. This field can be set to one of the following values, or to their combination (comma-separated): * ONECLICK * RECURRING * PAYOUT + */ + contract?: string; + /** + * The merchant account identifier with which you want to process the transaction. + */ + merchantAccount: string; + /** + * The ID that uniquely identifies the recurring detail reference. If it is not provided, the whole recurring contract of the `shopperReference` will be disabled, which includes all recurring details. + */ + recurringDetailReference?: string; + /** + * The ID that uniquely identifies the shopper. This `shopperReference` must be the same as the `shopperReference` used in the initial payment. + */ + shopperReference: string; +} diff --git a/dist/lib-esm/typings/recurring/disableRequest.js b/dist/lib-esm/typings/recurring/disableRequest.js new file mode 100644 index 0000000..6bfa48e --- /dev/null +++ b/dist/lib-esm/typings/recurring/disableRequest.js @@ -0,0 +1,12 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=disableRequest.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/recurring/disableRequest.js.map b/dist/lib-esm/typings/recurring/disableRequest.js.map new file mode 100644 index 0000000..f43db81 --- /dev/null +++ b/dist/lib-esm/typings/recurring/disableRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"disableRequest.js","sourceRoot":"","sources":["../../../../src/typings/recurring/disableRequest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/recurring/disableResult.d.ts b/dist/lib-esm/typings/recurring/disableResult.d.ts new file mode 100644 index 0000000..a80ff5c --- /dev/null +++ b/dist/lib-esm/typings/recurring/disableResult.d.ts @@ -0,0 +1,17 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface DisableResult { + /** + * Depending on whether a specific recurring detail was in the request, result is either [detail-successfully-disabled] or [all-details-successfully-disabled]. + */ + response?: string; +} diff --git a/dist/lib-esm/typings/recurring/disableResult.js b/dist/lib-esm/typings/recurring/disableResult.js new file mode 100644 index 0000000..385b056 --- /dev/null +++ b/dist/lib-esm/typings/recurring/disableResult.js @@ -0,0 +1,12 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +//# sourceMappingURL=disableResult.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/recurring/disableResult.js.map b/dist/lib-esm/typings/recurring/disableResult.js.map new file mode 100644 index 0000000..8cde875 --- /dev/null +++ b/dist/lib-esm/typings/recurring/disableResult.js.map @@ -0,0 +1 @@ +{"version":3,"file":"disableResult.js","sourceRoot":"","sources":["../../../../src/typings/recurring/disableResult.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib-esm/typings/recurring/index.d.ts b/dist/lib-esm/typings/recurring/index.d.ts new file mode 100644 index 0000000..452cdd4 --- /dev/null +++ b/dist/lib-esm/typings/recurring/index.d.ts @@ -0,0 +1,10 @@ +export * from './address'; +export * from './bankAccount'; +export * from './card'; +export * from './disableRequest'; +export * from './disableResult'; +export * from './name'; +export * from './recurring'; +export * from './recurringDetail'; +export * from './recurringDetailsRequest'; +export * from './recurringDetailsResult'; diff --git a/dist/lib-esm/typings/recurring/index.js b/dist/lib-esm/typings/recurring/index.js new file mode 100644 index 0000000..ea2d31c --- /dev/null +++ b/dist/lib-esm/typings/recurring/index.js @@ -0,0 +1,3 @@ +export * from './name'; +export * from './recurring'; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/recurring/index.js.map b/dist/lib-esm/typings/recurring/index.js.map new file mode 100644 index 0000000..843d7e4 --- /dev/null +++ b/dist/lib-esm/typings/recurring/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/typings/recurring/index.ts"],"names":[],"mappings":"AAKA,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC"} \ No newline at end of file diff --git a/dist/lib-esm/typings/recurring/name.d.ts b/dist/lib-esm/typings/recurring/name.d.ts new file mode 100644 index 0000000..de3e36c --- /dev/null +++ b/dist/lib-esm/typings/recurring/name.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Name { + /** + * The first name. + */ + firstName: string; + /** + * The gender. >The following values are permitted: `MALE`, `FEMALE`, `UNKNOWN`. + */ + gender: Name.GenderEnum; + /** + * The name's infix, if applicable. >A maximum length of twenty (20) characters is imposed. + */ + infix?: string; + /** + * The last name. + */ + lastName: string; +} +export declare namespace Name { + type GenderEnum = 'MALE' | 'FEMALE' | 'UNKNOWN'; + const GenderEnum: { + MALE: import("../checkout").Name.GenderEnum; + FEMALE: import("../checkout").Name.GenderEnum; + UNKNOWN: import("../checkout").Name.GenderEnum; + }; +} diff --git a/dist/lib-esm/typings/recurring/name.js b/dist/lib-esm/typings/recurring/name.js new file mode 100644 index 0000000..1da8953 --- /dev/null +++ b/dist/lib-esm/typings/recurring/name.js @@ -0,0 +1,20 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export var Name; +(function (Name) { + Name.GenderEnum = { + MALE: 'MALE', + FEMALE: 'FEMALE', + UNKNOWN: 'UNKNOWN' + }; +})(Name || (Name = {})); +//# sourceMappingURL=name.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/recurring/name.js.map b/dist/lib-esm/typings/recurring/name.js.map new file mode 100644 index 0000000..2dcb580 --- /dev/null +++ b/dist/lib-esm/typings/recurring/name.js.map @@ -0,0 +1 @@ +{"version":3,"file":"name.js","sourceRoot":"","sources":["../../../../src/typings/recurring/name.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAoBH,MAAM,KAAW,IAAI,CAOpB;AAPD,WAAiB,IAAI;IAEJ,eAAU,GAAG;QACtB,IAAI,EAAE,MAAoB;QAC1B,MAAM,EAAE,QAAsB;QAC9B,OAAO,EAAE,SAAuB;KACnC,CAAC;AACN,CAAC,EAPgB,IAAI,KAAJ,IAAI,QAOpB"} \ No newline at end of file diff --git a/dist/lib-esm/typings/recurring/recurring.d.ts b/dist/lib-esm/typings/recurring/recurring.d.ts new file mode 100644 index 0000000..a3b97c5 --- /dev/null +++ b/dist/lib-esm/typings/recurring/recurring.d.ts @@ -0,0 +1,38 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Recurring { + /** + * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-essentials/payment-glossary#card_security_code_cvc_cvv_cid_). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-essentials/payment-glossary#card_not_present_cnp_). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/features/third-party-payouts). + */ + contract?: Recurring.ContractEnum; + /** + * A descriptive name for this detail. + */ + recurringDetailName?: string; + /** + * The name of the token service. + */ + tokenService?: Recurring.TokenServiceEnum; +} +export declare namespace Recurring { + type ContractEnum = 'ONECLICK' | 'RECURRING' | 'PAYOUT'; + const ContractEnum: { + ONECLICK: import("../checkout").Recurring.ContractEnum; + RECURRING: import("../checkout").Recurring.ContractEnum; + PAYOUT: import("../checkout").Recurring.ContractEnum; + }; + type TokenServiceEnum = 'VISATOKENSERVICE' | 'MCTOKENSERVICE'; + const TokenServiceEnum: { + VISATOKENSERVICE: import("../checkout").Recurring.TokenServiceEnum; + MCTOKENSERVICE: import("../checkout").Recurring.TokenServiceEnum; + }; +} diff --git a/dist/lib-esm/typings/recurring/recurring.js b/dist/lib-esm/typings/recurring/recurring.js new file mode 100644 index 0000000..5811873 --- /dev/null +++ b/dist/lib-esm/typings/recurring/recurring.js @@ -0,0 +1,24 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export var Recurring; +(function (Recurring) { + Recurring.ContractEnum = { + ONECLICK: 'ONECLICK', + RECURRING: 'RECURRING', + PAYOUT: 'PAYOUT' + }; + Recurring.TokenServiceEnum = { + VISATOKENSERVICE: 'VISATOKENSERVICE', + MCTOKENSERVICE: 'MCTOKENSERVICE' + }; +})(Recurring || (Recurring = {})); +//# sourceMappingURL=recurring.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/recurring/recurring.js.map b/dist/lib-esm/typings/recurring/recurring.js.map new file mode 100644 index 0000000..e7ce5c5 --- /dev/null +++ b/dist/lib-esm/typings/recurring/recurring.js.map @@ -0,0 +1 @@ +{"version":3,"file":"recurring.js","sourceRoot":"","sources":["../../../../src/typings/recurring/recurring.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAgBH,MAAM,KAAW,SAAS,CAYzB;AAZD,WAAiB,SAAS;IAET,sBAAY,GAAG;QACxB,QAAQ,EAAE,UAA0B;QACpC,SAAS,EAAE,WAA2B;QACtC,MAAM,EAAE,QAAwB;KACnC,CAAC;IAEW,0BAAgB,GAAG;QAC5B,gBAAgB,EAAE,kBAAsC;QACxD,cAAc,EAAE,gBAAoC;KACvD,CAAC;AACN,CAAC,EAZgB,SAAS,KAAT,SAAS,QAYzB"} \ No newline at end of file diff --git a/dist/lib-esm/typings/recurring/recurringDetail.d.ts b/dist/lib-esm/typings/recurring/recurringDetail.d.ts new file mode 100644 index 0000000..573e40e --- /dev/null +++ b/dist/lib-esm/typings/recurring/recurringDetail.d.ts @@ -0,0 +1,64 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Address } from './address'; +import { BankAccount } from './bankAccount'; +import { Card } from './card'; +import { Name } from './name'; +export interface RecurringDetail { + /** + * This field contains additional data, which may be returned in a particular response. The additionalData object consists of entries, each of which includes the key and value. For more information on possible key-value pairs, refer to [RecurringDetail.additionalData](https://docs.adyen.com/api-reference/recurring-api#recurringdetailadditionaldata). + */ + additionalData?: any; + /** + * The alias of the credit card number. Applies only to recurring contracts storing credit card details + */ + alias?: string; + /** + * The alias type of the credit card number. Applies only to recurring contracts storing credit card details. + */ + aliasType?: string; + bank?: BankAccount; + billingAddress?: Address; + card?: Card; + /** + * Types of recurring contracts. + */ + contractTypes?: string[]; + /** + * The date when the recurring details were created. + */ + creationDate?: Date; + /** + * The `pspReference` of the first recurring payment that created the recurring detail. + */ + firstPspReference?: string; + /** + * An optional descriptive name for this recurring detail. + */ + name?: string; + /** + * The type or sub-brand of a payment method used, e.g. Visa Debit, Visa Corporate, etc. For more information, refer to [PaymentMethodVariant](https://docs.adyen.com/api-reference/common-api/paymentmethodvariant). + */ + paymentMethodVariant?: string; + /** + * The reference that uniquely identifies the recurring detail. + */ + recurringDetailReference: string; + shopperName?: Name; + /** + * A shopper's social security number (only in countries where it is legal to collect). + */ + socialSecurityNumber?: string; + /** + * The payment method, such as “mc\", \"visa\", \"ideal\", \"paypal\". + */ + variant: string; +} diff --git a/dist/lib-esm/typings/recurring/recurringDetail.js b/dist/lib-esm/typings/recurring/recurringDetail.js new file mode 100644 index 0000000..8131e2e --- /dev/null +++ b/dist/lib-esm/typings/recurring/recurringDetail.js @@ -0,0 +1 @@ +//# sourceMappingURL=recurringDetail.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/recurring/recurringDetail.js.map b/dist/lib-esm/typings/recurring/recurringDetail.js.map new file mode 100644 index 0000000..f2e8871 --- /dev/null +++ b/dist/lib-esm/typings/recurring/recurringDetail.js.map @@ -0,0 +1 @@ +{"version":3,"file":"recurringDetail.js","sourceRoot":"","sources":["../../../../src/typings/recurring/recurringDetail.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib-esm/typings/recurring/recurringDetailsRequest.d.ts b/dist/lib-esm/typings/recurring/recurringDetailsRequest.d.ts new file mode 100644 index 0000000..9169c69 --- /dev/null +++ b/dist/lib-esm/typings/recurring/recurringDetailsRequest.d.ts @@ -0,0 +1,22 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Recurring } from './recurring'; +export interface RecurringDetailsRequest { + /** + * The merchant account identifier you want to process the (transaction) request with. + */ + merchantAccount: string; + recurring?: Recurring; + /** + * The reference you use to uniquely identify the shopper (e.g. user ID or account ID). + */ + shopperReference: string; +} diff --git a/dist/lib-esm/typings/recurring/recurringDetailsRequest.js b/dist/lib-esm/typings/recurring/recurringDetailsRequest.js new file mode 100644 index 0000000..d1a2a6b --- /dev/null +++ b/dist/lib-esm/typings/recurring/recurringDetailsRequest.js @@ -0,0 +1 @@ +//# sourceMappingURL=recurringDetailsRequest.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/recurring/recurringDetailsRequest.js.map b/dist/lib-esm/typings/recurring/recurringDetailsRequest.js.map new file mode 100644 index 0000000..dfb9a18 --- /dev/null +++ b/dist/lib-esm/typings/recurring/recurringDetailsRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"recurringDetailsRequest.js","sourceRoot":"","sources":["../../../../src/typings/recurring/recurringDetailsRequest.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib-esm/typings/recurring/recurringDetailsResult.d.ts b/dist/lib-esm/typings/recurring/recurringDetailsResult.d.ts new file mode 100644 index 0000000..218b97f --- /dev/null +++ b/dist/lib-esm/typings/recurring/recurringDetailsResult.d.ts @@ -0,0 +1,29 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { RecurringDetail } from './recurringDetail'; +export interface RecurringDetailsResult { + /** + * The date when the recurring details were created. + */ + creationDate?: Date; + /** + * Payment details stored for recurring payments. + */ + details?: RecurringDetail[]; + /** + * The most recent email for this shopper (if available). + */ + lastKnownShopperEmail?: string; + /** + * The reference you use to uniquely identify the shopper (e.g. user ID or account ID). + */ + shopperReference?: string; +} diff --git a/dist/lib-esm/typings/recurring/recurringDetailsResult.js b/dist/lib-esm/typings/recurring/recurringDetailsResult.js new file mode 100644 index 0000000..2f8e304 --- /dev/null +++ b/dist/lib-esm/typings/recurring/recurringDetailsResult.js @@ -0,0 +1 @@ +//# sourceMappingURL=recurringDetailsResult.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/recurring/recurringDetailsResult.js.map b/dist/lib-esm/typings/recurring/recurringDetailsResult.js.map new file mode 100644 index 0000000..296136c --- /dev/null +++ b/dist/lib-esm/typings/recurring/recurringDetailsResult.js.map @@ -0,0 +1 @@ +{"version":3,"file":"recurringDetailsResult.js","sourceRoot":"","sources":["../../../../src/typings/recurring/recurringDetailsResult.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib-esm/typings/requestOptions.d.ts b/dist/lib-esm/typings/requestOptions.d.ts new file mode 100644 index 0000000..2fbc58f --- /dev/null +++ b/dist/lib-esm/typings/requestOptions.d.ts @@ -0,0 +1,5 @@ +/// +import { RequestOptions as HttpsRequestOptions } from "https"; +export declare type RequestOptions = HttpsRequestOptions & { + idempotencyKey?: string; +}; diff --git a/dist/lib-esm/typings/requestOptions.js b/dist/lib-esm/typings/requestOptions.js new file mode 100644 index 0000000..137ca19 --- /dev/null +++ b/dist/lib-esm/typings/requestOptions.js @@ -0,0 +1,2 @@ +// Generated using typescript-generator version 2.14.505 on 2019-06-03 16:13:35. +//# sourceMappingURL=requestOptions.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/requestOptions.js.map b/dist/lib-esm/typings/requestOptions.js.map new file mode 100644 index 0000000..00ba607 --- /dev/null +++ b/dist/lib-esm/typings/requestOptions.js.map @@ -0,0 +1 @@ +{"version":3,"file":"requestOptions.js","sourceRoot":"","sources":["../../../src/typings/requestOptions.ts"],"names":[],"mappings":"AAAA,gFAAgF"} \ No newline at end of file diff --git a/dist/lib-esm/typings/terminal.d.ts b/dist/lib-esm/typings/terminal.d.ts new file mode 100644 index 0000000..f9e4b2f --- /dev/null +++ b/dist/lib-esm/typings/terminal.d.ts @@ -0,0 +1,2040 @@ +export interface TerminalApiRequest { + saleToPoiRequest?: SaleToPoiRequest; +} +export interface SaleToPoiRequest { + abortRequest?: AbortRequest; + adminRequest?: AdminRequest; + balanceInquiryRequest?: BalanceInquiryRequest; + batchRequest?: BatchRequest; + cardAcquisitionRequest?: CardAcquisitionRequest; + cardReaderApduRequest?: CardReaderApduRequest; + cardReaderInitRequest?: CardReaderInitRequest; + cardReaderPowerOffRequest?: CardReaderPowerOffRequest; + diagnosisRequest?: DiagnosisRequest; + displayRequest?: DisplayRequest; + enableServiceRequest?: EnableServiceRequest; + eventNotification?: EventNotification; + getTotalsRequest?: GetTotalsRequest; + inputRequest?: InputRequest; + inputUpdate?: InputUpdate; + loginRequest?: LoginRequest; + logoutRequest?: LogoutRequest; + loyaltyRequest?: LoyaltyRequest; + messageHeader: MessageHeader; + paymentRequest?: PaymentRequest; + pinRequest?: PinRequest; + printRequest?: PrintRequest; + reconciliationRequest?: ReconciliationRequest; + reversalRequest?: ReversalRequest; + securityTrailer?: ContentInformation; + soundRequest?: SoundRequest; + storedValueRequest?: StoredValueRequest; + transactionStatusRequest?: TransactionStatusRequest; + transmitRequest?: TransmitRequest; +} +export interface AbortRequest { + abortReason: string; + displayOutput?: DisplayOutput; + messageReference: MessageReference; +} +export interface DisplayOutput { + device: DeviceType; + infoQualify: InfoQualifyType; + menuEntry?: MenuEntry[]; + minimumDisplayTime?: number; + outputContent: OutputContent; + outputSignature?: any; + responseRequiredFlag?: boolean; +} +export declare enum DeviceType { + CashierDisplay = "CashierDisplay", + CashierInput = "CashierInput", + CustomerDisplay = "CustomerDisplay", + CustomerInput = "CustomerInput" +} +export declare enum InfoQualifyType { + CustomerAssistance = "CustomerAssistance", + Display = "Display", + Document = "Document", + Error = "Error", + Input = "Input", + PoiReplication = "POIReplication", + Receipt = "Receipt", + Sound = "Sound", + Status = "Status", + Voucher = "Voucher" +} +export interface MenuEntry { + defaultSelectedFlag?: boolean; + menuEntryTag?: MenuEntryTagType; + outputFormat: OutputFormatType; + outputText?: OutputText[]; + outputXhtml?: any; + predefinedContent?: PredefinedContent; +} +export declare enum MenuEntryTagType { + NonSelectable = "NonSelectable", + NonSelectableSubMenu = "NonSelectableSubMenu", + Selectable = "Selectable", + SubMenu = "SubMenu" +} +export declare enum OutputFormatType { + BarCode = "BarCode", + MessageRef = "MessageRef", + Text = "Text", + Xhtml = "XHTML" +} +export interface OutputText { + alignment?: AlignmentType; + characterHeight?: CharacterHeightType; + characterSet?: number; + characterStyle?: CharacterStyleType; + characterWidth?: CharacterWidthType; + color?: ColorType; + endOfLineFlag?: boolean; + font?: string; + startColumn?: number; + startRow?: number; + text?: string; +} +export declare enum AlignmentType { + Centred = "Centred", + Justified = "Justified", + Left = "Left", + Right = "Right" +} +export declare enum CharacterHeightType { + DoubleHeight = "DoubleHeight", + HalfHeight = "HalfHeight", + SingleHeight = "SingleHeight" +} +export declare enum CharacterStyleType { + Bold = "Bold", + Italic = "Italic", + Normal = "Normal", + Underlined = "Underlined" +} +export declare enum CharacterWidthType { + DoubleWidth = "DoubleWidth", + SingleWidth = "SingleWidth" +} +export declare enum ColorType { + Black = "Black", + Blue = "Blue", + Cyan = "Cyan", + Green = "Green", + Magenta = "Magenta", + Red = "Red", + White = "White", + Yellow = "Yellow" +} +export interface PredefinedContent { + language?: string; + referenceId: string; +} +export interface OutputContent { + outputBarcode?: OutputBarcode; + outputFormat: OutputFormatType; + outputText?: OutputText[]; + outputXhtml?: any; + predefinedContent?: PredefinedContent; +} +export interface OutputBarcode { + barcodeType?: BarcodeType; + value?: string; +} +export declare enum BarcodeType { + Code128 = "Code128", + Code25 = "Code25", + Ean13 = "EAN13", + Ean8 = "EAN8", + Pdf417 = "PDF417", + Qrcode = "QRCODE", + Upca = "UPCA" +} +export interface MessageReference { + deviceId?: string; + messageCategory?: MessageCategoryType; + poiid?: string; + saleId?: string; + serviceId?: string; +} +export declare enum MessageCategoryType { + Abort = "Abort", + Admin = "Admin", + BalanceInquiry = "BalanceInquiry", + Batch = "Batch", + CardAcquisition = "CardAcquisition", + CardReaderApdu = "CardReaderAPDU", + CardReaderInit = "CardReaderInit", + CardReaderPowerOff = "CardReaderPowerOff", + Diagnosis = "Diagnosis", + Display = "Display", + EnableService = "EnableService", + Event = "Event", + GetTotals = "GetTotals", + Input = "Input", + InputUpdate = "InputUpdate", + Login = "Login", + Logout = "Logout", + Loyalty = "Loyalty", + Payment = "Payment", + Pin = "PIN", + Print = "Print", + Reconciliation = "Reconciliation", + Reversal = "Reversal", + Sound = "Sound", + StoredValue = "StoredValue", + TransactionStatus = "TransactionStatus", + Transmit = "Transmit" +} +export interface AdminRequest { + serviceIdentification?: string; +} +export interface BalanceInquiryRequest { + loyaltyAccountReq?: LoyaltyAccountReq; + paymentAccountReq?: PaymentAccountReq; +} +export interface LoyaltyAccountReq { + cardAcquisitionReference?: TransactionIdentification; + loyaltyAccountId?: LoyaltyAccountId; +} +export interface TransactionIdentification { + timeStamp: string; + transactionId: string; +} +export interface LoyaltyAccountId { + entryMode: EntryModeType[]; + identificationSupport?: IdentificationSupportType; + identificationType: IdentificationType; + value?: string; +} +export declare enum EntryModeType { + Contactless = "Contactless", + File = "File", + Icc = "ICC", + Keyed = "Keyed", + MagStripe = "MagStripe", + Manual = "Manual", + Mobile = "Mobile", + Rfid = "RFID", + Scanned = "Scanned", + SynchronousIcc = "SynchronousICC", + Tapped = "Tapped" +} +export declare enum IdentificationSupportType { + HybridCard = "HybridCard", + LinkedCard = "LinkedCard", + LoyaltyCard = "LoyaltyCard", + NoCard = "NoCard" +} +export declare enum IdentificationType { + AccountNumber = "AccountNumber", + BarCode = "BarCode", + IsoTrack2 = "ISOTrack2", + Pan = "PAN", + PhoneNumber = "PhoneNumber" +} +export interface PaymentAccountReq { + accountType?: AccountType; + cardAcquisitionReference?: TransactionIdentification; + paymentInstrumentData?: PaymentInstrumentData; +} +export declare enum AccountType { + CardTotals = "CardTotals", + Checking = "Checking", + CreditCard = "CreditCard", + Default = "Default", + EpurseCard = "EpurseCard", + Investment = "Investment", + Savings = "Savings", + Universal = "Universal" +} +export interface PaymentInstrumentData { + cardData?: CardData; + checkData?: CheckData; + mobileData?: MobileData; + paymentInstrumentType: PaymentInstrumentType; +} +export interface CardData { + allowedProduct?: AllowedProduct[]; + allowedProductCode?: string[]; + cardCountryCode?: string; + customerOrder?: CustomerOrder[]; + entryMode?: EntryModeType[]; + maskedPan?: string; + paymentAccountRef?: string; + paymentBrand?: string; + paymentToken?: PaymentToken; + protectedCardData?: ContentInformation; + sensitiveCardData?: SensitiveCardData; +} +export interface AllowedProduct { + additionalProductInfo?: string; + eanUpc?: string; + productCode: string; + productLabel?: string; +} +export interface CustomerOrder { + accessedBy?: string; + additionalInformation?: string; + currency?: string; + currentAmount: number; + customerOrderId: string; + endDate?: { + [key: string]: any; + }; + forecastedAmount: number; + openOrderState?: boolean; + startDate: { + [key: string]: any; + }; +} +export interface PaymentToken { + expiryDateTime?: { + [key: string]: any; + }; + tokenRequestedType: TokenRequestedType; + tokenValue: string; +} +export declare enum TokenRequestedType { + Customer = "Customer", + Transaction = "Transaction" +} +export interface ContentInformation { + authenticatedData?: AuthenticatedData; + contentType: ContentType; + digestedData?: DigestedData; + envelopedData?: EnvelopedData; + namedKeyEncryptedData?: NamedKeyEncryptedData; + signedData?: SignedData; +} +export interface AuthenticatedData { + encapsulatedContent: EncapsulatedContent; + keyTransportOrKek?: any[]; + mac: any; + macAlgorithm: AlgorithmIdentifier; + version?: VersionType; +} +export interface EncapsulatedContent { + content?: any; + contentType: ContentType; +} +export declare enum ContentType { + IdCtAuthData = "id-ct-authData", + IdData = "id-data", + IdDigestedData = "id-digestedData", + IdEncryptedData = "id-encryptedData", + IdEnvelopedData = "id-envelopedData", + IdSignedData = "id-signedData" +} +export interface AlgorithmIdentifier { + algorithm: AlgorithmType; + parameter?: Parameter; +} +export declare enum AlgorithmType { + DesEde3Cbc = "des-ede3-cbc", + DesEde3Ecb = "des-ede3-ecb", + IdDukptWrap = "id-dukpt-wrap", + IdRetailCbcMac = "id-retail-cbc-mac", + IdRetailCbcMacSha256 = "id-retail-cbc-mac-sha-256", + IdSha256 = "id-sha256", + IdUkptWrap = "id-ukpt-wrap ", + RsaEncryption = "rsaEncryption", + Sha256WithRsaEncryption = "sha256WithRSAEncryption" +} +export interface Parameter { + initialisationVector?: any; +} +export declare enum VersionType { + V0 = "v0", + V1 = "v1", + V2 = "v2", + V3 = "v3", + V4 = "v4", + V5 = "v5" +} +export interface DigestedData { + digest: any; + digestAlgorithm: AlgorithmIdentifier; + encapsulatedContent: EncapsulatedContent; + version?: VersionType; +} +export interface EnvelopedData { + encryptedContent: EncryptedContent; + keyTransportOrKek?: any[]; + version?: VersionType; +} +export interface EncryptedContent { + contentEncryptionAlgorithm: AlgorithmIdentifier; + contentType: ContentType; + encryptedData: any; +} +export interface NamedKeyEncryptedData { + encryptedContent: EncryptedContent; + keyName?: string; + version?: VersionType; +} +export interface SignedData { + certificate?: any[]; + digestAlgorithm: AlgorithmIdentifier[]; + encapsulatedContent: EncapsulatedContent; + signer: Signer[]; + version?: VersionType; +} +export interface Signer { + digestAlgorithm: AlgorithmIdentifier; + signature: any; + signatureAlgorithm: AlgorithmIdentifier; + signerIdentifier: SignerIdentifier; + version?: VersionType; +} +export interface SignerIdentifier { + issuerAndSerialNumber: IssuerAndSerialNumber; +} +export interface IssuerAndSerialNumber { + issuer: Issuer; + serialNumber: number; +} +export interface Issuer { + relativeDistinguishedName: RelativeDistinguishedName[]; +} +export interface RelativeDistinguishedName { + attribute: string; + attributeValue: string; +} +export interface SensitiveCardData { + cardSeqNumb?: string; + expiryDate?: string; + pan?: string; + trackData?: TrackData[]; +} +export interface TrackData { + trackFormat?: TrackFormatType; + trackNumb?: number; + value?: string; +} +export declare enum TrackFormatType { + Aamva = "AAMVA", + Cmc7 = "CMC-7", + E13B = "E-13B", + Iso = "ISO", + JisI = "JIS-I", + JisIi = "JIS-II" +} +export interface CheckData { + accountNumber?: string; + bankId?: string; + checkCardNumber?: string; + checkNumber?: string; + country?: string; + trackData?: TrackData; + type?: CheckTypeCodeType; +} +export declare enum CheckTypeCodeType { + Company = "Company", + Personal = "Personal" +} +export interface MobileData { + geolocation?: Geolocation; + maskedMsisdn?: string; + mobileCountryCode?: string; + mobileNetworkCode?: string; + protectedMobileData?: ContentInformation; + sensitiveMobileData?: SensitiveMobileData; +} +export interface Geolocation { + geographicCoordinates?: GeographicCoordinates; + utmCoordinates?: UtmCoordinates; +} +export interface GeographicCoordinates { + latitude: string; + longitude: string; +} +export interface UtmCoordinates { + utmEastward: string; + utmNorthward: string; + utmZone: string; +} +export interface SensitiveMobileData { + imei?: string; + imsi?: string; + msisdn: string; +} +export declare enum PaymentInstrumentType { + Card = "Card", + Cash = "Cash", + Check = "Check", + Mobile = "Mobile", + StoredValue = "StoredValue" +} +export interface BatchRequest { + removeAllFlag?: boolean; + transactionToPerform?: TransactionToPerform[]; +} +export interface TransactionToPerform { + loyaltyRequest?: LoyaltyRequest; + paymentRequest?: PaymentRequest; + reversalRequest?: ReversalRequest; +} +export interface LoyaltyRequest { + loyaltyData?: LoyaltyData[]; + loyaltyTransaction: LoyaltyTransaction; + saleData: SaleData; +} +export interface LoyaltyData { + cardAcquisitionReference?: TransactionIdentification; + loyaltyAccountId?: LoyaltyAccountId; + loyaltyAmount?: LoyaltyAmount; +} +export interface LoyaltyAmount { + currency?: string; + loyaltyUnit?: LoyaltyUnitType; + value?: number; +} +export declare enum LoyaltyUnitType { + Monetary = "Monetary", + Point = "Point" +} +export interface LoyaltyTransaction { + currency?: string; + loyaltyTransactionType: LoyaltyTransactionType; + originalPoiTransaction?: OriginalPoiTransaction; + saleItem?: SaleItem[]; + totalAmount?: number; + transactionConditions?: TransactionConditions; +} +export declare enum LoyaltyTransactionType { + Award = "Award", + AwardRefund = "AwardRefund", + Rebate = "Rebate", + RebateRefund = "RebateRefund", + Redemption = "Redemption", + RedemptionRefund = "RedemptionRefund" +} +export interface OriginalPoiTransaction { + acquirerId?: string; + approvalCode?: string; + customerLanguage?: string; + hostTransactionId?: TransactionIdentification; + poiid?: string; + poiTransactionId?: TransactionIdentification; + reuseCardDataFlag?: boolean; + saleId?: string; +} +export interface SaleItem { + additionalProductInfo?: string; + eanUpc?: string; + itemAmount: number; + itemId: number; + productCode: string; + productLabel?: string; + quantity?: number; + saleChannel?: string; + taxCode?: string; + unitOfMeasure?: UnitOfMeasureType; + unitPrice?: number; +} +export declare enum UnitOfMeasureType { + Case = "Case", + Centilitre = "Centilitre", + Centimetre = "Centimetre", + Foot = "Foot", + Gram = "Gram", + Inch = "Inch", + Kilogram = "Kilogram", + Kilometre = "Kilometre", + Litre = "Litre", + Meter = "Meter", + Mile = "Mile", + Other = "Other", + Ounce = "Ounce", + Pint = "Pint", + Pound = "Pound", + Quart = "Quart", + UkGallon = "UKGallon", + UsGallon = "USGallon", + Yard = "Yard" +} +export interface TransactionConditions { + acquirerId?: string[]; + allowedLoyaltyBrand?: string[]; + allowedPaymentBrand?: string[]; + customerLanguage?: string; + debitPreferredFlag?: boolean; + forceEntryMode?: Array; + forceOnlineFlag?: boolean; + loyaltyHandling?: LoyaltyHandlingType; + merchantCategoryCode?: string; +} +export declare enum ForceEntryModeType { + CheckReader = "CheckReader", + Contactless = "Contactless", + File = "File", + Icc = "ICC", + Keyed = "Keyed", + MagStripe = "MagStripe", + Manual = "Manual", + Rfid = "RFID", + Scanned = "Scanned", + SynchronousIcc = "SynchronousICC", + Tapped = "Tapped" +} +export declare enum LoyaltyHandlingType { + Allowed = "Allowed", + Forbidden = "Forbidden", + Processed = "Processed", + Proposed = "Proposed", + Required = "Required" +} +export interface SaleData { + customerOrderId?: string; + customerOrderReq?: CustomerOrderReqType[]; + operatorId?: string; + operatorLanguage?: string; + saleReferenceId?: string; + saleTerminalData?: SaleTerminalData; + saleToAcquirerData?: string; + saleToIssuerData?: SaleToIssuerData; + saleToPoiData?: string; + saleTransactionId: TransactionIdentification; + shiftNumber?: string; + sponsoredMerchant?: SponsoredMerchant[]; + tokenRequestedType?: TokenRequestedType; +} +export declare enum CustomerOrderReqType { + Both = "Both", + Closed = "Closed", + Open = "Open" +} +export interface SaleTerminalData { + saleCapabilities?: SaleCapabilitiesType[]; + saleProfile?: SaleProfile; + terminalEnvironment?: TerminalEnvironmentType; + totalsGroupId?: string; +} +export declare enum SaleCapabilitiesType { + CashierDisplay = "CashierDisplay", + CashierError = "CashierError", + CashierInput = "CashierInput", + CashierStatus = "CashierStatus", + CustomerAssistance = "CustomerAssistance", + CustomerDisplay = "CustomerDisplay", + CustomerError = "CustomerError", + CustomerInput = "CustomerInput", + EmvContactless = "EMVContactless", + Icc = "ICC", + MagStripe = "MagStripe", + PoiReplication = "POIReplication", + PrinterDocument = "PrinterDocument", + PrinterReceipt = "PrinterReceipt", + PrinterVoucher = "PrinterVoucher" +} +export interface SaleProfile { + genericProfile?: GenericProfileType; + serviceProfiles?: ServiceProfilesType[]; +} +export declare enum GenericProfileType { + Basic = "Basic", + Extended = "Extended", + Standard = "Standard" +} +export declare enum ServiceProfilesType { + Batch = "Batch", + CardReader = "CardReader", + Communication = "Communication", + Loyalty = "Loyalty", + OneTimeRes = "OneTimeRes", + Pin = "PIN", + Reservation = "Reservation", + Sound = "Sound", + StoredValue = "StoredValue", + Synchro = "Synchro" +} +export declare enum TerminalEnvironmentType { + Attended = "Attended", + SemiAttended = "SemiAttended", + Unattended = "Unattended" +} +export interface SaleToIssuerData { + statementReference?: string; +} +export interface SponsoredMerchant { + merchantAddress?: string; + merchantCategoryCode: string; + merchantCountry: string; + merchantName: string; + registrationId: string; +} +export interface PaymentRequest { + loyaltyData?: LoyaltyData[]; + paymentData?: PaymentData; + paymentTransaction: PaymentTransaction; + saleData: SaleData; +} +export interface PaymentData { + cardAcquisitionReference?: TransactionIdentification; + customerOrder?: CustomerOrder; + instalment?: Instalment; + paymentInstrumentData?: PaymentInstrumentData; + paymentType?: PaymentType; + requestedValidityDate?: string; + splitPaymentFlag?: boolean; +} +export interface Instalment { + charges?: number; + cumulativeAmount?: number; + firstAmount?: number; + firstPaymentDate?: string; + instalment?: InstalmentType[]; + period?: number; + periodUnit?: PeriodUnitType; + planId?: string; + sequenceNumber?: number; + totalNbOfPayments?: number; +} +export declare enum InstalmentType { + DeferredInstalments = "DeferredInstalments", + EqualInstalments = "EqualInstalments", + InequalInstalments = "InequalInstalments" +} +export declare enum PeriodUnitType { + Annual = "Annual", + Daily = "Daily", + Monthly = "Monthly", + Weekly = "Weekly" +} +export declare enum PaymentType { + CashAdvance = "CashAdvance", + CashDeposit = "CashDeposit", + Completion = "Completion", + FirstReservation = "FirstReservation", + Instalment = "Instalment", + IssuerInstalment = "IssuerInstalment", + Normal = "Normal", + OneTimeReservation = "OneTimeReservation", + PaidOut = "PaidOut", + Recurring = "Recurring", + Refund = "Refund", + UpdateReservation = "UpdateReservation" +} +export interface PaymentTransaction { + amountsReq: AmountsReq; + originalPoiTransaction?: OriginalPoiTransaction; + saleItem?: SaleItem[]; + transactionConditions?: TransactionConditions; +} +export interface AmountsReq { + cashBackAmount?: number; + currency: string; + maximumCashBackAmount?: number; + minimumAmountToDeliver?: number; + minimumSplitAmount?: number; + paidAmount?: number; + requestedAmount?: number; + tipAmount?: number; +} +export interface ReversalRequest { + customerOrderId?: CustomerOrder; + originalPoiTransaction: OriginalPoiTransaction; + reversalReason: ReversalReasonType; + reversedAmount?: number; + saleReferenceId?: string; +} +export declare enum ReversalReasonType { + CustCancel = "CustCancel", + Malfunction = "Malfunction", + MerchantCancel = "MerchantCancel", + Unable2Compl = "Unable2Compl" +} +export interface CardAcquisitionRequest { + cardAcquisitionTransaction: CardAcquisitionTransaction; + saleData: SaleData; +} +export interface CardAcquisitionTransaction { + allowedLoyaltyBrand?: string[]; + allowedPaymentBrand?: string[]; + cashBackFlag?: boolean; + customerLanguage?: string; + forceCustomerSelectionFlag?: boolean; + forceEntryMode?: Array; + loyaltyHandling?: LoyaltyHandlingType; + paymentType?: PaymentType; + totalAmount?: number; +} +export interface CardReaderApduRequest { + apduClass: any; + apduData?: any; + apduExpectedLength?: any; + apduInstruction: any; + apduPar1: any; + apduPar2: any; +} +export interface CardReaderInitRequest { + displayOutput?: DisplayOutput; + forceEntryMode?: Array; + leaveCardFlag?: boolean; + maxWaitingTime?: number; + warmResetFlag?: boolean; +} +export interface CardReaderPowerOffRequest { + displayOutput?: DisplayOutput; + maxWaitingTime?: number; +} +export interface DiagnosisRequest { + acquirerId?: string[]; + hostDiagnosisFlag?: boolean; + poiid?: string; +} +export interface DisplayRequest { + displayOutput: DisplayOutput[]; +} +export interface EnableServiceRequest { + displayOutput?: DisplayOutput; + servicesEnabled?: ServicesEnabledType[]; + transactionAction: TransactionActionType; +} +export declare enum ServicesEnabledType { + CardAcquisition = "CardAcquisition", + Loyalty = "Loyalty", + Payment = "Payment" +} +export declare enum TransactionActionType { + AbortTransaction = "AbortTransaction", + StartTransaction = "StartTransaction" +} +export interface EventNotification { + customerLanguage?: string; + displayOutput?: DisplayOutput; + eventDetails?: string; + eventToNotify: EventToNotifyType; + maintenanceRequiredFlag?: boolean; + rejectedMessage?: any; + timeStamp: string; +} +export declare enum EventToNotifyType { + Abort = "Abort", + BeginMaintenance = "BeginMaintenance", + CardInserted = "CardInserted", + CardRemoved = "CardRemoved", + Completed = "Completed", + CustomerLanguage = "CustomerLanguage", + EndMaintenance = "EndMaintenance", + Initialised = "Initialised", + KeyPressed = "KeyPressed", + OutOfOrder = "OutOfOrder", + Reject = "Reject", + SaleAdmin = "SaleAdmin", + SaleWakeUp = "SaleWakeUp", + SecurityAlarm = "SecurityAlarm", + Shutdown = "Shutdown", + StopAssistance = "StopAssistance" +} +export interface GetTotalsRequest { + totalDetails?: TotalDetailsType[]; + totalFilter?: TotalFilter; +} +export declare enum TotalDetailsType { + OperatorId = "OperatorID", + Poiid = "POIID", + SaleId = "SaleID", + ShiftNumber = "ShiftNumber", + TotalsGroupId = "TotalsGroupID" +} +export interface TotalFilter { + operatorId?: string; + poiid?: string; + saleId?: string; + shiftNumber?: string; + totalsGroupId?: string; +} +export interface InputRequest { + displayOutput?: DisplayOutput; + inputData: InputData; +} +export interface InputData { + beepKeyFlag?: boolean; + defaultInputString?: string; + device: DeviceType; + disableCancelFlag?: boolean; + disableCorrectFlag?: boolean; + disableValidFlag?: boolean; + fromRightToLeftFlag?: boolean; + globalCorrectionFlag?: boolean; + immediateResponseFlag?: boolean; + infoQualify: InfoQualifyType; + inputCommand: InputCommandType; + maskCharactersFlag?: boolean; + maxDecimalLength?: number; + maxInputTime?: number; + maxLength?: number; + menuBackFlag?: boolean; + minLength?: number; + notifyCardInputFlag?: boolean; + stringMask?: string; + waitUserValidationFlag?: boolean; +} +export declare enum InputCommandType { + DecimalString = "DecimalString", + DigitString = "DigitString", + GetAnyKey = "GetAnyKey", + GetConfirmation = "GetConfirmation", + GetFunctionKey = "GetFunctionKey", + GetMenuEntry = "GetMenuEntry", + Password = "Password", + SiteManager = "SiteManager", + TextString = "TextString" +} +export interface InputUpdate { + maxDecimalLength?: number; + maxLength?: number; + menuEntry?: MenuEntry[]; + messageReference: MessageReference; + minLength?: number; + outputContent: OutputContent; + outputSignature?: any; +} +export interface LoginRequest { + customerOrderReq?: CustomerOrderReqType[]; + dateTime: { + [key: string]: any; + }; + operatorId?: string; + operatorLanguage: string; + poiSerialNumber?: string; + saleSoftware: SaleSoftware; + saleTerminalData?: SaleTerminalData; + shiftNumber?: string; + tokenRequestedType?: TokenRequestedType; + trainingModeFlag?: boolean; +} +export interface SaleSoftware { + applicationName: string; + certificationCode: string; + manufacturerId: string; + softwareVersion: string; +} +export interface LogoutRequest { + maintenanceAllowed?: boolean; +} +export interface MessageHeader { + deviceId?: string; + messageCategory: MessageCategoryType; + messageClass: MessageClassType; + messageType: MessageType; + poiid: string; + protocolVersion?: string; + saleId: string; + serviceId?: string; +} +export declare enum MessageClassType { + Device = "Device", + Event = "Event", + Service = "Service" +} +export declare enum MessageType { + Notification = "Notification", + Request = "Request", + Response = "Response" +} +export interface PinRequest { + additionalInput?: string; + cardholderPin?: CardholderPin; + keyReference?: string; + maxWaitingTime?: number; + pinEncAlgorithm?: string; + pinFormat?: PinFormatType; + pinRequestType: PinRequestType; + pinVerifMethod?: string; +} +export interface CardholderPin { + additionalInput?: string; + encrPinBlock: ContentInformation; + pinFormat: PinFormatType; +} +export declare enum PinFormatType { + Iso0 = "ISO0", + Iso1 = "ISO1", + Iso2 = "ISO2", + Iso3 = "ISO3" +} +export declare enum PinRequestType { + PinEnter = "PINEnter", + PinVerify = "PINVerify", + PinVerifyOnly = "PINVerifyOnly" +} +export interface PrintRequest { + printOutput: PrintOutput; +} +export interface PrintOutput { + documentQualifier: DocumentQualifierType; + integratedPrintFlag?: boolean; + outputContent: OutputContent; + outputSignature?: any; + requiredSignatureFlag?: boolean; + responseMode: ResponseModeType; +} +export declare enum DocumentQualifierType { + CashierReceipt = "CashierReceipt", + CustomerReceipt = "CustomerReceipt", + Document = "Document", + Journal = "Journal", + SaleReceipt = "SaleReceipt", + Voucher = "Voucher" +} +export declare enum ResponseModeType { + Immediate = "Immediate", + NotRequired = "NotRequired", + PrintEnd = "PrintEnd", + SoundEnd = "SoundEnd" +} +export interface ReconciliationRequest { + acquirerId?: string[]; + poiReconciliationId?: string; + reconciliationType: ReconciliationType; +} +export declare enum ReconciliationType { + AcquirerReconciliation = "AcquirerReconciliation", + AcquirerSynchronisation = "AcquirerSynchronisation", + PreviousReconciliation = "PreviousReconciliation", + SaleReconciliation = "SaleReconciliation" +} +export interface SoundRequest { + responseMode?: ResponseModeType; + soundAction: SoundActionType; + soundContent: SoundContent; + soundVolume?: number; +} +export declare enum SoundActionType { + SetDefaultVolume = "SetDefaultVolume", + StartSound = "StartSound", + StopSound = "StopSound" +} +export interface SoundContent { + language?: string; + referenceId?: string; + soundFormat?: SoundFormatType; + value?: string; +} +export declare enum SoundFormatType { + MessageRef = "MessageRef", + SoundRef = "SoundRef", + Text = "Text" +} +export interface StoredValueRequest { + customerLanguage?: string; + saleData: SaleData; + storedValueData: StoredValueData[]; +} +export interface StoredValueData { + currency: string; + eanUpc?: string; + itemAmount: number; + originalPoiTransaction?: OriginalPoiTransaction; + productCode?: string; + storedValueAccountId?: StoredValueAccountId; + storedValueProvider?: string; + storedValueTransactionType: StoredValueTransactionType; +} +export interface StoredValueAccountId { + entryMode: EntryModeType[]; + expiryDate?: string; + identificationType: IdentificationType; + ownerName?: string; + storedValueAccountType: StoredValueAccountType; + storedValueProvider?: string; + value?: string; +} +export declare enum StoredValueAccountType { + GiftCard = "GiftCard", + Other = "Other", + PhoneCard = "PhoneCard" +} +export declare enum StoredValueTransactionType { + Activate = "Activate", + Duplicate = "Duplicate", + Load = "Load", + Reserve = "Reserve", + Reverse = "Reverse", + Unload = "Unload" +} +export interface TransactionStatusRequest { + documentQualifier?: DocumentQualifierType[]; + messageReference?: MessageReference; + receiptReprintFlag?: boolean; +} +export interface TransmitRequest { + destinationAddress: string; + maximumTransmitTime: number; + message: any; + waitResponseFlag?: boolean; +} +export interface TerminalApiResponse { + saleToPoiResponse?: SaleToPoiResponse; +} +export interface SaleToPoiResponse { + adminResponse?: AdminResponse; + balanceInquiryResponse?: BalanceInquiryResponse; + batchResponse?: BatchResponse; + cardAcquisitionResponse?: CardAcquisitionResponse; + cardReaderApduResponse?: CardReaderApduResponse; + cardReaderInitResponse?: CardReaderInitResponse; + cardReaderPowerOffResponse?: CardReaderPowerOffResponse; + diagnosisResponse?: DiagnosisResponse; + displayResponse?: DisplayResponse; + enableServiceResponse?: EnableServiceResponse; + getTotalsResponse?: GetTotalsResponse; + inputResponse?: InputResponse; + loginResponse?: LoginResponse; + logoutResponse?: LogoutResponse; + loyaltyResponse?: LoyaltyResponse; + messageHeader: MessageHeader; + paymentResponse?: PaymentResponse; + pinResponse?: PinResponse; + printResponse?: PrintResponse; + reconciliationResponse?: ReconciliationResponse; + reversalResponse?: ReversalResponse; + securityTrailer?: ContentInformation; + soundResponse?: SoundResponse; + storedValueResponse?: StoredValueResponse; + transactionStatusResponse?: TransactionStatusResponse; + transmitResponse?: TransmitResponse; +} +export interface AdminResponse { + response: Response; +} +export interface Response { + additionalResponse?: string; + errorCondition?: ErrorConditionType; + result: ResultType; +} +export declare enum ErrorConditionType { + Aborted = "Aborted", + Busy = "Busy", + Cancel = "Cancel", + DeviceOut = "DeviceOut", + InProgress = "InProgress", + InsertedCard = "InsertedCard", + InvalidCard = "InvalidCard", + LoggedOut = "LoggedOut", + MessageFormat = "MessageFormat", + NotAllowed = "NotAllowed", + NotFound = "NotFound", + PaymentRestriction = "PaymentRestriction", + Refusal = "Refusal", + UnavailableDevice = "UnavailableDevice", + UnavailableService = "UnavailableService", + UnreachableHost = "UnreachableHost", + WrongPin = "WrongPIN" +} +export declare enum ResultType { + Failure = "Failure", + Partial = "Partial", + Success = "Success" +} +export interface BalanceInquiryResponse { + loyaltyAccountStatus?: LoyaltyAccountStatus; + paymentAccountStatus?: PaymentAccountStatus; + response: Response; +} +export interface LoyaltyAccountStatus { + currency?: string; + currentBalance?: number; + loyaltyAccount: LoyaltyAccount; + loyaltyUnit?: LoyaltyUnitType; +} +export interface LoyaltyAccount { + loyaltyAccountId: LoyaltyAccountId; + loyaltyBrand?: string; +} +export interface PaymentAccountStatus { + currency?: string; + currentBalance?: number; + loyaltyAccountStatus?: LoyaltyAccountStatus; + paymentAcquirerData?: PaymentAcquirerData; + paymentInstrumentData?: PaymentInstrumentData; +} +export interface PaymentAcquirerData { + acquirerId?: string; + acquirerPoiid: string; + acquirerTransactionId?: TransactionIdentification; + approvalCode?: string; + merchantId: string; +} +export interface BatchResponse { + performedTransaction?: PerformedTransaction[]; + response: Response; +} +export interface PerformedTransaction { + loyaltyResult?: LoyaltyResult[]; + paymentResult?: PaymentResult; + poiData: PoiData; + response: Response; + reversedAmount?: number; + saleData?: SaleData; +} +export interface LoyaltyResult { + currentBalance?: number; + loyaltyAccount: LoyaltyAccount; + loyaltyAcquirerData?: LoyaltyAcquirerData; + loyaltyAmount?: LoyaltyAmount; + rebates?: Rebates; +} +export interface LoyaltyAcquirerData { + approvalCode?: string; + hostReconciliationId?: string; + loyaltyAcquirerId?: string; + loyaltyTransactionId?: TransactionIdentification; +} +export interface Rebates { + rebateLabel?: string; + saleItemRebate?: SaleItemRebate[]; + totalRebate?: number; +} +export interface SaleItemRebate { + eanUpc?: string; + itemAmount?: number; + itemId: number; + productCode: string; + quantity?: number; + rebateLabel?: string; + unitOfMeasure?: UnitOfMeasureType; +} +export interface PoiData { + poiReconciliationId?: string; + poiTransactionId: TransactionIdentification; +} +export interface PaymentResult { + amountsResp?: AmountsResp; + authenticationMethod?: AuthenticationMethodType[]; + capturedSignature?: CapturedSignature; + currencyConversion?: CurrencyConversion[]; + customerLanguage?: string; + instalment?: Instalment; + merchantOverrideFlag?: boolean; + onlineFlag?: boolean; + paymentAcquirerData?: PaymentAcquirerData; + paymentInstrumentData?: PaymentInstrumentData; + paymentType?: PaymentType; + protectedSignature?: ContentInformation; + validityDate?: string; +} +export interface AmountsResp { + authorizedAmount: number; + cashBackAmount?: number; + currency?: string; + tipAmount?: number; + totalFeesAmount?: number; + totalRebatesAmount?: number; +} +export declare enum AuthenticationMethodType { + Bypass = "Bypass", + ManualVerification = "ManualVerification", + MerchantAuthentication = "MerchantAuthentication", + OfflinePin = "OfflinePIN", + OnLinePin = "OnLinePIN", + PaperSignature = "PaperSignature", + SecureCertificate = "SecureCertificate", + SecureNoCertificate = "SecureNoCertificate", + SecuredChannel = "SecuredChannel", + SignatureCapture = "SignatureCapture", + UnknownMethod = "UnknownMethod" +} +export interface CapturedSignature { + areaSize?: AreaSize; + signaturePoint: SignaturePoint[]; +} +export interface AreaSize { + x: string; + y: string; +} +export interface SignaturePoint { + x: string; + y: string; +} +export interface CurrencyConversion { + commission?: number; + convertedAmount: Amount; + customerApprovedFlag?: boolean; + declaration?: string; + markup?: number; + rate?: number; +} +export interface Amount { + currency?: string; + value?: number; +} +export interface CardAcquisitionResponse { + customerOrder?: CustomerOrder[]; + loyaltyAccount?: LoyaltyAccount[]; + paymentBrand?: string[]; + paymentInstrumentData?: PaymentInstrumentData; + poiData: PoiData; + response: Response; + saleData: SaleData; +} +export interface CardReaderApduResponse { + apduData?: any; + cardStatusWords: any; + response: Response; +} +export interface CardReaderInitResponse { + entryMode?: EntryModeType[]; + iccResetData?: IccResetData; + response: Response; + trackData?: TrackData[]; +} +export interface IccResetData { + atrValue?: any; + cardStatusWords?: any; +} +export interface CardReaderPowerOffResponse { + response: Response; +} +export interface DiagnosisResponse { + hostStatus?: HostStatus[]; + loggedSaleId?: string[]; + poiStatus?: PoiStatus; + response: Response; +} +export interface HostStatus { + acquirerId: string; + isReachableFlag?: boolean; +} +export interface PoiStatus { + cardReaderOkFlag?: boolean; + cashHandlingDevice?: CashHandlingDevice[]; + communicationOkFlag?: boolean; + fraudPreventionFlag?: boolean; + globalStatus: GlobalStatusType; + pedokFlag?: boolean; + printerStatus?: PrinterStatusType; + securityOkFlag?: boolean; +} +export interface CashHandlingDevice { + cashHandlingOkFlag: boolean; + coinsOrBills: CoinsOrBills[]; + currency: string; +} +export interface CoinsOrBills { + number: number; + unitValue: number; +} +export declare enum GlobalStatusType { + Busy = "Busy", + Maintenance = "Maintenance", + Ok = "OK", + Unreachable = "Unreachable" +} +export declare enum PrinterStatusType { + NoPaper = "NoPaper", + Ok = "OK", + OutOfOrder = "OutOfOrder", + PaperJam = "PaperJam", + PaperLow = "PaperLow" +} +export interface DisplayResponse { + outputResult: OutputResult[]; +} +export interface OutputResult { + device: DeviceType; + infoQualify: InfoQualifyType; + response: Response; +} +export interface EnableServiceResponse { + response: Response; +} +export interface GetTotalsResponse { + poiReconciliationId: string; + response: Response; + transactionTotals?: TransactionTotals[]; +} +export interface TransactionTotals { + acquirerId?: string; + cardBrand?: string; + errorCondition?: ErrorConditionType; + hostReconciliationId?: string; + loyaltyCurrency?: string; + loyaltyTotals?: LoyaltyTotals[]; + loyaltyUnit?: LoyaltyUnitType; + operatorId?: string; + paymentCurrency?: string; + paymentInstrumentType: PaymentInstrumentType; + paymentTotals?: PaymentTotals[]; + poiid?: string; + saleId?: string; + shiftNumber?: string; + totalsGroupId?: string; +} +export interface LoyaltyTotals { + transactionAmount: number; + transactionCount: number; + transactionType: TransactionType; +} +export declare enum TransactionType { + Award = "Award", + CashAdvance = "CashAdvance", + CompletedDeffered = "CompletedDeffered", + CompletedReservation = "CompletedReservation", + Credit = "Credit", + Debit = "Debit", + Declined = "Declined", + Failed = "Failed", + FirstReservation = "FirstReservation", + IssuerInstalment = "IssuerInstalment", + OneTimeReservation = "OneTimeReservation", + Rebate = "Rebate", + Redemption = "Redemption", + ReverseAward = "ReverseAward", + ReverseCredit = "ReverseCredit", + ReverseDebit = "ReverseDebit", + ReverseRebate = "ReverseRebate", + ReverseRedemption = "ReverseRedemption", + UpdateReservation = "UpdateReservation" +} +export interface PaymentTotals { + transactionAmount: number; + transactionCount: number; + transactionType: TransactionType; +} +export interface InputResponse { + inputResult: InputResult; + outputResult?: OutputResult; +} +export interface InputResult { + device: DeviceType; + infoQualify: InfoQualifyType; + input?: Input; + response: Response; +} +export interface Input { + confirmedFlag?: boolean; + digitInput?: string; + functionKey?: string; + inputCommand: InputCommandType; + menuEntryNumber?: number; + password?: ContentInformation; + textInput?: string; +} +export interface LoginResponse { + poiSystemData?: PoiSystemData; + response: Response; +} +export interface PoiSystemData { + dateTime: { + [key: string]: any; + }; + poiSoftware: PoiSoftware; + poiStatus?: PoiStatus; + poiTerminalData?: PoiTerminalData; +} +export interface PoiSoftware { + applicationName: string; + certificationCode: string; + manufacturerId: string; + softwareVersion: string; +} +export interface PoiTerminalData { + poiCapabilities: PoiCapabilitiesType[]; + poiProfile?: PoiProfile; + poiSerialNumber: string; + terminalEnvironment: TerminalEnvironmentType; +} +export declare enum PoiCapabilitiesType { + CashHandling = "CashHandling", + CashierDisplay = "CashierDisplay", + CashierError = "CashierError", + CashierInput = "CashierInput", + CustomerDisplay = "CustomerDisplay", + CustomerError = "CustomerError", + CustomerInput = "CustomerInput", + EmvContactless = "EMVContactless", + Icc = "ICC", + MagStripe = "MagStripe", + PrinterDocument = "PrinterDocument", + PrinterReceipt = "PrinterReceipt", + PrinterVoucher = "PrinterVoucher" +} +export interface PoiProfile { + genericProfile?: GenericProfileType; + serviceProfiles?: ServiceProfilesType[]; +} +export interface LogoutResponse { + response: Response; +} +export interface LoyaltyResponse { + loyaltyResult?: LoyaltyResult[]; + paymentReceipt?: PaymentReceipt[]; + poiData: PoiData; + response: Response; + saleData: SaleData; +} +export interface PaymentReceipt { + documentQualifier: DocumentQualifierType; + integratedPrintFlag?: boolean; + outputContent: OutputContent; + requiredSignatureFlag?: boolean; +} +export interface PinResponse { + cardholderPin?: CardholderPin; + response: Response; +} +export interface PaymentResponse { + customerOrder?: CustomerOrder[]; + loyaltyResult?: LoyaltyResult[]; + paymentReceipt?: PaymentReceipt[]; + paymentResult?: PaymentResult; + poiData: PoiData; + response: Response; + saleData: SaleData; +} +export interface PrintResponse { + documentQualifier: DocumentQualifierType; + response: Response; +} +export interface ReconciliationResponse { + poiReconciliationId?: string; + reconciliationType: ReconciliationType; + response: Response; + transactionTotals?: TransactionTotals[]; +} +export interface ReversalResponse { + customerOrderId?: string; + originalPoiTransaction?: OriginalPoiTransaction; + paymentReceipt?: PaymentReceipt[]; + poiData?: PoiData; + response: Response; + reversedAmount?: number; +} +export interface SoundResponse { + response: Response; +} +export interface StoredValueResponse { + poiData: PoiData; + response: Response; + saleData: SaleData; + storedValueResult?: StoredValueResult[]; +} +export interface StoredValueResult { + currency: string; + eanUpc?: string; + hostTransactionId?: TransactionIdentification; + itemAmount: number; + productCode: string; + storedValueAccountStatus: StoredValueAccountStatus; + storedValueTransactionType: StoredValueTransactionType; +} +export interface StoredValueAccountStatus { + currentBalance?: number; + storedValueAccountId: StoredValueAccountId; +} +export interface TransactionStatusResponse { + messageReference?: MessageReference; + repeatedMessageResponse?: RepeatedMessageResponse; + response: Response; +} +export interface RepeatedMessageResponse { + messageHeader: MessageHeader; + repeatedResponseMessageBody: RepeatedResponseMessageBody; +} +export interface RepeatedResponseMessageBody { + cardAcquisitionResponse?: CardAcquisitionResponse; + cardReaderApduResponse?: CardReaderApduResponse; + loyaltyResponse?: LoyaltyResponse; + paymentResponse?: PaymentResponse; + reversalResponse?: ReversalResponse; + storedValueResponse?: StoredValueResponse; +} +export interface TransmitResponse { + message?: any; + response: Response; +} +export interface TerminalApiSecuredRequest { + saleToPoiRequest?: SaleToPoiSecuredMessage; +} +export interface SaleToPoiSecuredMessage { + messageHeader?: MessageHeader; + nexoBlob?: string; + securityTrailer?: SecurityTrailer; +} +export interface SecurityTrailer { + adyenCryptoVersion?: number; + hmac?: any; + keyIdentifier?: string; + keyVersion?: number; + nonce?: any; +} +export interface TerminalApiSecuredResponse { + saleToPoiResponse?: SaleToPoiSecuredMessage; +} +export interface NexoDerivedKey { + cipherKey?: any; + hmacKey?: any; + iv?: any; +} +export interface SecurityKey { + adyenCryptoVersion?: number; + keyIdentifier?: string; + keyVersion?: number; + passphrase?: string; +} +export declare class Convert { + static toTerminalApiRequest(json: string): TerminalApiRequest; + static terminalApiRequestToJson(value: TerminalApiRequest): string; + static toTerminalApiResponse(json: string): TerminalApiResponse; + static terminalApiResponseToJson(value: TerminalApiResponse): string; + static toTerminalApiSecuredRequest(json: string): TerminalApiSecuredRequest; + static terminalApiSecuredRequestToJson(value: TerminalApiSecuredRequest): string; + static toTerminalApiSecuredResponse(json: string): TerminalApiSecuredResponse; + static terminalApiSecuredResponseToJson(value: TerminalApiSecuredResponse): string; + static toNexoDerivedKey(json: string): NexoDerivedKey; + static nexoDerivedKeyToJson(value: NexoDerivedKey): string; + static toSaleToPoiSecuredMessage(json: string): SaleToPoiSecuredMessage; + static saleToPoiSecuredMessageToJson(value: SaleToPoiSecuredMessage): string; + static toSecurityKey(json: string): SecurityKey; + static securityKeyToJson(value: SecurityKey): string; + static toSecurityTrailer(json: string): SecurityTrailer; + static securityTrailerToJson(value: SecurityTrailer): string; + static toSaleToPoiRequest(json: string): SaleToPoiRequest; + static saleToPoiRequestToJson(value: SaleToPoiRequest): string; + static toSaleToPoiResponse(json: string): SaleToPoiResponse; + static saleToPoiResponseToJson(value: SaleToPoiResponse): string; + static toMessageHeader(json: string): MessageHeader; + static messageHeaderToJson(value: MessageHeader): string; + static toAbortRequest(json: string): AbortRequest; + static abortRequestToJson(value: AbortRequest): string; + static toBalanceInquiryRequest(json: string): BalanceInquiryRequest; + static balanceInquiryRequestToJson(value: BalanceInquiryRequest): string; + static toBatchRequest(json: string): BatchRequest; + static batchRequestToJson(value: BatchRequest): string; + static toCardAcquisitionRequest(json: string): CardAcquisitionRequest; + static cardAcquisitionRequestToJson(value: CardAcquisitionRequest): string; + static toAdminRequest(json: string): AdminRequest; + static adminRequestToJson(value: AdminRequest): string; + static toDiagnosisRequest(json: string): DiagnosisRequest; + static diagnosisRequestToJson(value: DiagnosisRequest): string; + static toDisplayRequest(json: string): DisplayRequest; + static displayRequestToJson(value: DisplayRequest): string; + static toEnableServiceRequest(json: string): EnableServiceRequest; + static enableServiceRequestToJson(value: EnableServiceRequest): string; + static toEventNotification(json: string): EventNotification; + static eventNotificationToJson(value: EventNotification): string; + static toGetTotalsRequest(json: string): GetTotalsRequest; + static getTotalsRequestToJson(value: GetTotalsRequest): string; + static toInputRequest(json: string): InputRequest; + static inputRequestToJson(value: InputRequest): string; + static toInputUpdate(json: string): InputUpdate; + static inputUpdateToJson(value: InputUpdate): string; + static toLoginRequest(json: string): LoginRequest; + static loginRequestToJson(value: LoginRequest): string; + static toLogoutRequest(json: string): LogoutRequest; + static logoutRequestToJson(value: LogoutRequest): string; + static toLoyaltyRequest(json: string): LoyaltyRequest; + static loyaltyRequestToJson(value: LoyaltyRequest): string; + static toPaymentRequest(json: string): PaymentRequest; + static paymentRequestToJson(value: PaymentRequest): string; + static toPinRequest(json: string): PinRequest; + static pinRequestToJson(value: PinRequest): string; + static toPrintRequest(json: string): PrintRequest; + static printRequestToJson(value: PrintRequest): string; + static toCardReaderInitRequest(json: string): CardReaderInitRequest; + static cardReaderInitRequestToJson(value: CardReaderInitRequest): string; + static toCardReaderApduRequest(json: string): CardReaderApduRequest; + static cardReaderApduRequestToJson(value: CardReaderApduRequest): string; + static toCardReaderPowerOffRequest(json: string): CardReaderPowerOffRequest; + static cardReaderPowerOffRequestToJson(value: CardReaderPowerOffRequest): string; + static toReconciliationRequest(json: string): ReconciliationRequest; + static reconciliationRequestToJson(value: ReconciliationRequest): string; + static toReversalRequest(json: string): ReversalRequest; + static reversalRequestToJson(value: ReversalRequest): string; + static toSoundRequest(json: string): SoundRequest; + static soundRequestToJson(value: SoundRequest): string; + static toStoredValueRequest(json: string): StoredValueRequest; + static storedValueRequestToJson(value: StoredValueRequest): string; + static toTransactionStatusRequest(json: string): TransactionStatusRequest; + static transactionStatusRequestToJson(value: TransactionStatusRequest): string; + static toTransmitRequest(json: string): TransmitRequest; + static transmitRequestToJson(value: TransmitRequest): string; + static toContentInformation(json: string): ContentInformation; + static contentInformationToJson(value: ContentInformation): string; + static toBalanceInquiryResponse(json: string): BalanceInquiryResponse; + static balanceInquiryResponseToJson(value: BalanceInquiryResponse): string; + static toBatchResponse(json: string): BatchResponse; + static batchResponseToJson(value: BatchResponse): string; + static toCardAcquisitionResponse(json: string): CardAcquisitionResponse; + static cardAcquisitionResponseToJson(value: CardAcquisitionResponse): string; + static toAdminResponse(json: string): AdminResponse; + static adminResponseToJson(value: AdminResponse): string; + static toDiagnosisResponse(json: string): DiagnosisResponse; + static diagnosisResponseToJson(value: DiagnosisResponse): string; + static toDisplayResponse(json: string): DisplayResponse; + static displayResponseToJson(value: DisplayResponse): string; + static toEnableServiceResponse(json: string): EnableServiceResponse; + static enableServiceResponseToJson(value: EnableServiceResponse): string; + static toGetTotalsResponse(json: string): GetTotalsResponse; + static getTotalsResponseToJson(value: GetTotalsResponse): string; + static toInputResponse(json: string): InputResponse; + static inputResponseToJson(value: InputResponse): string; + static toLoginResponse(json: string): LoginResponse; + static loginResponseToJson(value: LoginResponse): string; + static toLogoutResponse(json: string): LogoutResponse; + static logoutResponseToJson(value: LogoutResponse): string; + static toLoyaltyResponse(json: string): LoyaltyResponse; + static loyaltyResponseToJson(value: LoyaltyResponse): string; + static toPaymentResponse(json: string): PaymentResponse; + static paymentResponseToJson(value: PaymentResponse): string; + static toPinResponse(json: string): PinResponse; + static pinResponseToJson(value: PinResponse): string; + static toPrintResponse(json: string): PrintResponse; + static printResponseToJson(value: PrintResponse): string; + static toCardReaderInitResponse(json: string): CardReaderInitResponse; + static cardReaderInitResponseToJson(value: CardReaderInitResponse): string; + static toCardReaderApduResponse(json: string): CardReaderApduResponse; + static cardReaderApduResponseToJson(value: CardReaderApduResponse): string; + static toCardReaderPowerOffResponse(json: string): CardReaderPowerOffResponse; + static cardReaderPowerOffResponseToJson(value: CardReaderPowerOffResponse): string; + static toReconciliationResponse(json: string): ReconciliationResponse; + static reconciliationResponseToJson(value: ReconciliationResponse): string; + static toReversalResponse(json: string): ReversalResponse; + static reversalResponseToJson(value: ReversalResponse): string; + static toSoundResponse(json: string): SoundResponse; + static soundResponseToJson(value: SoundResponse): string; + static toStoredValueResponse(json: string): StoredValueResponse; + static storedValueResponseToJson(value: StoredValueResponse): string; + static toTransactionStatusResponse(json: string): TransactionStatusResponse; + static transactionStatusResponseToJson(value: TransactionStatusResponse): string; + static toTransmitResponse(json: string): TransmitResponse; + static transmitResponseToJson(value: TransmitResponse): string; + static toMessageReference(json: string): MessageReference; + static messageReferenceToJson(value: MessageReference): string; + static toDisplayOutput(json: string): DisplayOutput; + static displayOutputToJson(value: DisplayOutput): string; + static toPaymentAccountReq(json: string): PaymentAccountReq; + static paymentAccountReqToJson(value: PaymentAccountReq): string; + static toLoyaltyAccountReq(json: string): LoyaltyAccountReq; + static loyaltyAccountReqToJson(value: LoyaltyAccountReq): string; + static toTransactionToPerform(json: string): TransactionToPerform; + static transactionToPerformToJson(value: TransactionToPerform): string; + static toSaleData(json: string): SaleData; + static saleDataToJson(value: SaleData): string; + static toCardAcquisitionTransaction(json: string): CardAcquisitionTransaction; + static cardAcquisitionTransactionToJson(value: CardAcquisitionTransaction): string; + static toXmlGregorianCalendar(json: string): { + [key: string]: any; + }; + static xmlGregorianCalendarToJson(value: { + [key: string]: any; + }): string; + static toTotalFilter(json: string): TotalFilter; + static totalFilterToJson(value: TotalFilter): string; + static toInputData(json: string): InputData; + static inputDataToJson(value: InputData): string; + static toOutputContent(json: string): OutputContent; + static outputContentToJson(value: OutputContent): string; + static toMenuEntry(json: string): MenuEntry; + static menuEntryToJson(value: MenuEntry): string; + static toSaleSoftware(json: string): SaleSoftware; + static saleSoftwareToJson(value: SaleSoftware): string; + static toSaleTerminalData(json: string): SaleTerminalData; + static saleTerminalDataToJson(value: SaleTerminalData): string; + static toLoyaltyTransaction(json: string): LoyaltyTransaction; + static loyaltyTransactionToJson(value: LoyaltyTransaction): string; + static toLoyaltyData(json: string): LoyaltyData; + static loyaltyDataToJson(value: LoyaltyData): string; + static toPaymentTransaction(json: string): PaymentTransaction; + static paymentTransactionToJson(value: PaymentTransaction): string; + static toPaymentData(json: string): PaymentData; + static paymentDataToJson(value: PaymentData): string; + static toCardholderPin(json: string): CardholderPin; + static cardholderPinToJson(value: CardholderPin): string; + static toPrintOutput(json: string): PrintOutput; + static printOutputToJson(value: PrintOutput): string; + static toOriginalPoiTransaction(json: string): OriginalPoiTransaction; + static originalPoiTransactionToJson(value: OriginalPoiTransaction): string; + static toCustomerOrder(json: string): CustomerOrder; + static customerOrderToJson(value: CustomerOrder): string; + static toSoundContent(json: string): SoundContent; + static soundContentToJson(value: SoundContent): string; + static toStoredValueData(json: string): StoredValueData; + static storedValueDataToJson(value: StoredValueData): string; + static toEnvelopedData(json: string): EnvelopedData; + static envelopedDataToJson(value: EnvelopedData): string; + static toAuthenticatedData(json: string): AuthenticatedData; + static authenticatedDataToJson(value: AuthenticatedData): string; + static toSignedData(json: string): SignedData; + static signedDataToJson(value: SignedData): string; + static toDigestedData(json: string): DigestedData; + static digestedDataToJson(value: DigestedData): string; + static toNamedKeyEncryptedData(json: string): NamedKeyEncryptedData; + static namedKeyEncryptedDataToJson(value: NamedKeyEncryptedData): string; + static toResponse(json: string): Response; + static responseToJson(value: Response): string; + static toPaymentAccountStatus(json: string): PaymentAccountStatus; + static paymentAccountStatusToJson(value: PaymentAccountStatus): string; + static toLoyaltyAccountStatus(json: string): LoyaltyAccountStatus; + static loyaltyAccountStatusToJson(value: LoyaltyAccountStatus): string; + static toPerformedTransaction(json: string): PerformedTransaction; + static performedTransactionToJson(value: PerformedTransaction): string; + static toPoiData(json: string): PoiData; + static poiDataToJson(value: PoiData): string; + static toPaymentInstrumentData(json: string): PaymentInstrumentData; + static paymentInstrumentDataToJson(value: PaymentInstrumentData): string; + static toLoyaltyAccount(json: string): LoyaltyAccount; + static loyaltyAccountToJson(value: LoyaltyAccount): string; + static toPoiStatus(json: string): PoiStatus; + static poiStatusToJson(value: PoiStatus): string; + static toHostStatus(json: string): HostStatus; + static hostStatusToJson(value: HostStatus): string; + static toOutputResult(json: string): OutputResult; + static outputResultToJson(value: OutputResult): string; + static toTransactionTotals(json: string): TransactionTotals; + static transactionTotalsToJson(value: TransactionTotals): string; + static toInputResult(json: string): InputResult; + static inputResultToJson(value: InputResult): string; + static toPoiSystemData(json: string): PoiSystemData; + static poiSystemDataToJson(value: PoiSystemData): string; + static toLoyaltyResult(json: string): LoyaltyResult; + static loyaltyResultToJson(value: LoyaltyResult): string; + static toPaymentReceipt(json: string): PaymentReceipt; + static paymentReceiptToJson(value: PaymentReceipt): string; + static toPaymentResult(json: string): PaymentResult; + static paymentResultToJson(value: PaymentResult): string; + static toTrackData(json: string): TrackData; + static trackDataToJson(value: TrackData): string; + static toIccResetData(json: string): IccResetData; + static iccResetDataToJson(value: IccResetData): string; + static toStoredValueResult(json: string): StoredValueResult; + static storedValueResultToJson(value: StoredValueResult): string; + static toRepeatedMessageResponse(json: string): RepeatedMessageResponse; + static repeatedMessageResponseToJson(value: RepeatedMessageResponse): string; + static toTransactionIdentification(json: string): TransactionIdentification; + static transactionIdentificationToJson(value: TransactionIdentification): string; + static toLoyaltyAccountId(json: string): LoyaltyAccountId; + static loyaltyAccountIdToJson(value: LoyaltyAccountId): string; + static toSponsoredMerchant(json: string): SponsoredMerchant; + static sponsoredMerchantToJson(value: SponsoredMerchant): string; + static toSaleToIssuerData(json: string): SaleToIssuerData; + static saleToIssuerDataToJson(value: SaleToIssuerData): string; + static toCloneable(json: string): { + [key: string]: any; + }; + static cloneableToJson(value: { + [key: string]: any; + }): string; + static toPredefinedContent(json: string): PredefinedContent; + static predefinedContentToJson(value: PredefinedContent): string; + static toOutputText(json: string): OutputText; + static outputTextToJson(value: OutputText): string; + static toOutputBarcode(json: string): OutputBarcode; + static outputBarcodeToJson(value: OutputBarcode): string; + static toSaleProfile(json: string): SaleProfile; + static saleProfileToJson(value: SaleProfile): string; + static toTransactionConditions(json: string): TransactionConditions; + static transactionConditionsToJson(value: TransactionConditions): string; + static toSaleItem(json: string): SaleItem; + static saleItemToJson(value: SaleItem): string; + static toLoyaltyAmount(json: string): LoyaltyAmount; + static loyaltyAmountToJson(value: LoyaltyAmount): string; + static toAmountsReq(json: string): AmountsReq; + static amountsReqToJson(value: AmountsReq): string; + static toInstalment(json: string): Instalment; + static instalmentToJson(value: Instalment): string; + static toStoredValueAccountId(json: string): StoredValueAccountId; + static storedValueAccountIdToJson(value: StoredValueAccountId): string; + static toEncryptedContent(json: string): EncryptedContent; + static encryptedContentToJson(value: EncryptedContent): string; + static toAlgorithmIdentifier(json: string): AlgorithmIdentifier; + static algorithmIdentifierToJson(value: AlgorithmIdentifier): string; + static toEncapsulatedContent(json: string): EncapsulatedContent; + static encapsulatedContentToJson(value: EncapsulatedContent): string; + static toSigner(json: string): Signer; + static signerToJson(value: Signer): string; + static toPaymentAcquirerData(json: string): PaymentAcquirerData; + static paymentAcquirerDataToJson(value: PaymentAcquirerData): string; + static toCardData(json: string): CardData; + static cardDataToJson(value: CardData): string; + static toCheckData(json: string): CheckData; + static checkDataToJson(value: CheckData): string; + static toMobileData(json: string): MobileData; + static mobileDataToJson(value: MobileData): string; + static toCashHandlingDevice(json: string): CashHandlingDevice; + static cashHandlingDeviceToJson(value: CashHandlingDevice): string; + static toPaymentTotals(json: string): PaymentTotals; + static paymentTotalsToJson(value: PaymentTotals): string; + static toLoyaltyTotals(json: string): LoyaltyTotals; + static loyaltyTotalsToJson(value: LoyaltyTotals): string; + static toInput(json: string): Input; + static inputToJson(value: Input): string; + static toPoiSoftware(json: string): PoiSoftware; + static poiSoftwareToJson(value: PoiSoftware): string; + static toPoiTerminalData(json: string): PoiTerminalData; + static poiTerminalDataToJson(value: PoiTerminalData): string; + static toLoyaltyAcquirerData(json: string): LoyaltyAcquirerData; + static loyaltyAcquirerDataToJson(value: LoyaltyAcquirerData): string; + static toRebates(json: string): Rebates; + static rebatesToJson(value: Rebates): string; + static toAmountsResp(json: string): AmountsResp; + static amountsRespToJson(value: AmountsResp): string; + static toCurrencyConversion(json: string): CurrencyConversion; + static currencyConversionToJson(value: CurrencyConversion): string; + static toCapturedSignature(json: string): CapturedSignature; + static capturedSignatureToJson(value: CapturedSignature): string; + static toStoredValueAccountStatus(json: string): StoredValueAccountStatus; + static storedValueAccountStatusToJson(value: StoredValueAccountStatus): string; + static toRepeatedResponseMessageBody(json: string): RepeatedResponseMessageBody; + static repeatedResponseMessageBodyToJson(value: RepeatedResponseMessageBody): string; + static toParameter(json: string): Parameter; + static parameterToJson(value: Parameter): string; + static toSignerIdentifier(json: string): SignerIdentifier; + static signerIdentifierToJson(value: SignerIdentifier): string; + static toSensitiveCardData(json: string): SensitiveCardData; + static sensitiveCardDataToJson(value: SensitiveCardData): string; + static toAllowedProduct(json: string): AllowedProduct; + static allowedProductToJson(value: AllowedProduct): string; + static toPaymentToken(json: string): PaymentToken; + static paymentTokenToJson(value: PaymentToken): string; + static toGeolocation(json: string): Geolocation; + static geolocationToJson(value: Geolocation): string; + static toSensitiveMobileData(json: string): SensitiveMobileData; + static sensitiveMobileDataToJson(value: SensitiveMobileData): string; + static toCoinsOrBills(json: string): CoinsOrBills; + static coinsOrBillsToJson(value: CoinsOrBills): string; + static toPoiProfile(json: string): PoiProfile; + static poiProfileToJson(value: PoiProfile): string; + static toSaleItemRebate(json: string): SaleItemRebate; + static saleItemRebateToJson(value: SaleItemRebate): string; + static toAmount(json: string): Amount; + static amountToJson(value: Amount): string; + static toAreaSize(json: string): AreaSize; + static areaSizeToJson(value: AreaSize): string; + static toSignaturePoint(json: string): SignaturePoint; + static signaturePointToJson(value: SignaturePoint): string; + static toIssuerAndSerialNumber(json: string): IssuerAndSerialNumber; + static issuerAndSerialNumberToJson(value: IssuerAndSerialNumber): string; + static toGeographicCoordinates(json: string): GeographicCoordinates; + static geographicCoordinatesToJson(value: GeographicCoordinates): string; + static toUtmCoordinates(json: string): UtmCoordinates; + static utmCoordinatesToJson(value: UtmCoordinates): string; + static toIssuer(json: string): Issuer; + static issuerToJson(value: Issuer): string; + static toRelativeDistinguishedName(json: string): RelativeDistinguishedName; + static relativeDistinguishedNameToJson(value: RelativeDistinguishedName): string; + static toMessageClassType(json: string): MessageClassType; + static messageClassTypeToJson(value: MessageClassType): string; + static toMessageCategoryType(json: string): MessageCategoryType; + static messageCategoryTypeToJson(value: MessageCategoryType): string; + static toMessageType(json: string): MessageType; + static messageTypeToJson(value: MessageType): string; + static toServicesEnabledType(json: string): ServicesEnabledType; + static servicesEnabledTypeToJson(value: ServicesEnabledType): string; + static toTransactionActionType(json: string): TransactionActionType; + static transactionActionTypeToJson(value: TransactionActionType): string; + static toEventToNotifyType(json: string): EventToNotifyType; + static eventToNotifyTypeToJson(value: EventToNotifyType): string; + static toTotalDetailsType(json: string): TotalDetailsType; + static totalDetailsTypeToJson(value: TotalDetailsType): string; + static toTokenRequestedType(json: string): TokenRequestedType; + static tokenRequestedTypeToJson(value: TokenRequestedType): string; + static toCustomerOrderReqType(json: string): CustomerOrderReqType; + static customerOrderReqTypeToJson(value: CustomerOrderReqType): string; + static toPinRequestType(json: string): PinRequestType; + static pinRequestTypeToJson(value: PinRequestType): string; + static toPinFormatType(json: string): PinFormatType; + static pinFormatTypeToJson(value: PinFormatType): string; + static toForceEntryModeType(json: string): ForceEntryModeType; + static forceEntryModeTypeToJson(value: ForceEntryModeType): string; + static toReconciliationType(json: string): ReconciliationType; + static reconciliationTypeToJson(value: ReconciliationType): string; + static toReversalReasonType(json: string): ReversalReasonType; + static reversalReasonTypeToJson(value: ReversalReasonType): string; + static toResponseModeType(json: string): ResponseModeType; + static responseModeTypeToJson(value: ResponseModeType): string; + static toSoundActionType(json: string): SoundActionType; + static soundActionTypeToJson(value: SoundActionType): string; + static toDocumentQualifierType(json: string): DocumentQualifierType; + static documentQualifierTypeToJson(value: DocumentQualifierType): string; + static toContentType(json: string): ContentType; + static contentTypeToJson(value: ContentType): string; + static toEntryModeType(json: string): EntryModeType; + static entryModeTypeToJson(value: EntryModeType): string; + static toDeviceType(json: string): DeviceType; + static deviceTypeToJson(value: DeviceType): string; + static toInfoQualifyType(json: string): InfoQualifyType; + static infoQualifyTypeToJson(value: InfoQualifyType): string; + static toAccountType(json: string): AccountType; + static accountTypeToJson(value: AccountType): string; + static toLoyaltyHandlingType(json: string): LoyaltyHandlingType; + static loyaltyHandlingTypeToJson(value: LoyaltyHandlingType): string; + static toPaymentType(json: string): PaymentType; + static paymentTypeToJson(value: PaymentType): string; + static toInputCommandType(json: string): InputCommandType; + static inputCommandTypeToJson(value: InputCommandType): string; + static toOutputFormatType(json: string): OutputFormatType; + static outputFormatTypeToJson(value: OutputFormatType): string; + static toMenuEntryTagType(json: string): MenuEntryTagType; + static menuEntryTagTypeToJson(value: MenuEntryTagType): string; + static toSaleCapabilitiesType(json: string): SaleCapabilitiesType; + static saleCapabilitiesTypeToJson(value: SaleCapabilitiesType): string; + static toTerminalEnvironmentType(json: string): TerminalEnvironmentType; + static terminalEnvironmentTypeToJson(value: TerminalEnvironmentType): string; + static toLoyaltyTransactionType(json: string): LoyaltyTransactionType; + static loyaltyTransactionTypeToJson(value: LoyaltyTransactionType): string; + static toSoundFormatType(json: string): SoundFormatType; + static soundFormatTypeToJson(value: SoundFormatType): string; + static toStoredValueTransactionType(json: string): StoredValueTransactionType; + static storedValueTransactionTypeToJson(value: StoredValueTransactionType): string; + static toVersionType(json: string): VersionType; + static versionTypeToJson(value: VersionType): string; + static toResultType(json: string): ResultType; + static resultTypeToJson(value: ResultType): string; + static toErrorConditionType(json: string): ErrorConditionType; + static errorConditionTypeToJson(value: ErrorConditionType): string; + static toLoyaltyUnitType(json: string): LoyaltyUnitType; + static loyaltyUnitTypeToJson(value: LoyaltyUnitType): string; + static toPaymentInstrumentType(json: string): PaymentInstrumentType; + static paymentInstrumentTypeToJson(value: PaymentInstrumentType): string; + static toGlobalStatusType(json: string): GlobalStatusType; + static globalStatusTypeToJson(value: GlobalStatusType): string; + static toPrinterStatusType(json: string): PrinterStatusType; + static printerStatusTypeToJson(value: PrinterStatusType): string; + static toAuthenticationMethodType(json: string): AuthenticationMethodType; + static authenticationMethodTypeToJson(value: AuthenticationMethodType): string; + static toTrackFormatType(json: string): TrackFormatType; + static trackFormatTypeToJson(value: TrackFormatType): string; + static toIdentificationType(json: string): IdentificationType; + static identificationTypeToJson(value: IdentificationType): string; + static toIdentificationSupportType(json: string): IdentificationSupportType; + static identificationSupportTypeToJson(value: IdentificationSupportType): string; + static toColorType(json: string): ColorType; + static colorTypeToJson(value: ColorType): string; + static toCharacterWidthType(json: string): CharacterWidthType; + static characterWidthTypeToJson(value: CharacterWidthType): string; + static toCharacterHeightType(json: string): CharacterHeightType; + static characterHeightTypeToJson(value: CharacterHeightType): string; + static toCharacterStyleType(json: string): CharacterStyleType; + static characterStyleTypeToJson(value: CharacterStyleType): string; + static toAlignmentType(json: string): AlignmentType; + static alignmentTypeToJson(value: AlignmentType): string; + static toBarcodeType(json: string): BarcodeType; + static barcodeTypeToJson(value: BarcodeType): string; + static toServiceProfilesType(json: string): ServiceProfilesType; + static serviceProfilesTypeToJson(value: ServiceProfilesType): string; + static toGenericProfileType(json: string): GenericProfileType; + static genericProfileTypeToJson(value: GenericProfileType): string; + static toUnitOfMeasureType(json: string): UnitOfMeasureType; + static unitOfMeasureTypeToJson(value: UnitOfMeasureType): string; + static toInstalmentType(json: string): InstalmentType; + static instalmentTypeToJson(value: InstalmentType): string; + static toPeriodUnitType(json: string): PeriodUnitType; + static periodUnitTypeToJson(value: PeriodUnitType): string; + static toStoredValueAccountType(json: string): StoredValueAccountType; + static storedValueAccountTypeToJson(value: StoredValueAccountType): string; + static toAlgorithmType(json: string): AlgorithmType; + static algorithmTypeToJson(value: AlgorithmType): string; + static toCheckTypeCodeType(json: string): CheckTypeCodeType; + static checkTypeCodeTypeToJson(value: CheckTypeCodeType): string; + static toTransactionType(json: string): TransactionType; + static transactionTypeToJson(value: TransactionType): string; + static toPoiCapabilitiesType(json: string): PoiCapabilitiesType; + static poiCapabilitiesTypeToJson(value: PoiCapabilitiesType): string; +} diff --git a/dist/lib-esm/typings/terminal.js b/dist/lib-esm/typings/terminal.js new file mode 100644 index 0000000..12b9d21 --- /dev/null +++ b/dist/lib-esm/typings/terminal.js @@ -0,0 +1,3856 @@ +// To parse this data: +// +// import { Convert, TerminalApiRequest, TerminalApiResponse, TerminalApiSecuredRequest, TerminalApiSecuredResponse, NexoDerivedKey, SaleToPoiSecuredMessage, SecurityKey, SecurityTrailer, SaleToPoiRequest, SaleToPoiResponse, MessageHeader, AbortRequest, BalanceInquiryRequest, BatchRequest, CardAcquisitionRequest, AdminRequest, DiagnosisRequest, DisplayRequest, EnableServiceRequest, EventNotification, GetTotalsRequest, InputRequest, InputUpdate, LoginRequest, LogoutRequest, LoyaltyRequest, PaymentRequest, PinRequest, PrintRequest, CardReaderInitRequest, CardReaderApduRequest, CardReaderPowerOffRequest, ReconciliationRequest, ReversalRequest, SoundRequest, StoredValueRequest, TransactionStatusRequest, TransmitRequest, ContentInformation, BalanceInquiryResponse, BatchResponse, CardAcquisitionResponse, AdminResponse, DiagnosisResponse, DisplayResponse, EnableServiceResponse, GetTotalsResponse, InputResponse, LoginResponse, LogoutResponse, LoyaltyResponse, PaymentResponse, PinResponse, PrintResponse, CardReaderInitResponse, CardReaderApduResponse, CardReaderPowerOffResponse, ReconciliationResponse, ReversalResponse, SoundResponse, StoredValueResponse, TransactionStatusResponse, TransmitResponse, MessageReference, DisplayOutput, PaymentAccountReq, LoyaltyAccountReq, TransactionToPerform, SaleData, CardAcquisitionTransaction, TotalFilter, InputData, OutputContent, MenuEntry, SaleSoftware, SaleTerminalData, LoyaltyTransaction, LoyaltyData, PaymentTransaction, PaymentData, CardholderPin, PrintOutput, OriginalPoiTransaction, CustomerOrder, SoundContent, StoredValueData, EnvelopedData, AuthenticatedData, SignedData, DigestedData, NamedKeyEncryptedData, Response, PaymentAccountStatus, LoyaltyAccountStatus, PerformedTransaction, PoiData, PaymentInstrumentData, LoyaltyAccount, PoiStatus, HostStatus, OutputResult, TransactionTotals, InputResult, PoiSystemData, LoyaltyResult, PaymentReceipt, PaymentResult, TrackData, IccResetData, StoredValueResult, RepeatedMessageResponse, TransactionIdentification, LoyaltyAccountId, SponsoredMerchant, SaleToIssuerData, PredefinedContent, OutputText, OutputBarcode, SaleProfile, TransactionConditions, SaleItem, LoyaltyAmount, AmountsReq, Instalment, StoredValueAccountId, EncryptedContent, AlgorithmIdentifier, EncapsulatedContent, Signer, PaymentAcquirerData, CardData, CheckData, MobileData, CashHandlingDevice, PaymentTotals, LoyaltyTotals, Input, PoiSoftware, PoiTerminalData, LoyaltyAcquirerData, Rebates, AmountsResp, CurrencyConversion, CapturedSignature, StoredValueAccountStatus, RepeatedResponseMessageBody, Parameter, SignerIdentifier, SensitiveCardData, AllowedProduct, PaymentToken, Geolocation, SensitiveMobileData, CoinsOrBills, PoiProfile, SaleItemRebate, Amount, AreaSize, SignaturePoint, IssuerAndSerialNumber, GeographicCoordinates, UtmCoordinates, Issuer, RelativeDistinguishedName, MessageClassType, MessageCategoryType, MessageType, ServicesEnabledType, TransactionActionType, EventToNotifyType, TotalDetailsType, TokenRequestedType, CustomerOrderReqType, PinRequestType, PinFormatType, ForceEntryModeType, ReconciliationType, ReversalReasonType, ResponseModeType, SoundActionType, DocumentQualifierType, ContentType, EntryModeType, DeviceType, InfoQualifyType, AccountType, LoyaltyHandlingType, PaymentType, InputCommandType, OutputFormatType, MenuEntryTagType, SaleCapabilitiesType, TerminalEnvironmentType, LoyaltyTransactionType, SoundFormatType, StoredValueTransactionType, VersionType, ResultType, ErrorConditionType, LoyaltyUnitType, PaymentInstrumentType, GlobalStatusType, PrinterStatusType, AuthenticationMethodType, TrackFormatType, IdentificationType, IdentificationSupportType, ColorType, CharacterWidthType, CharacterHeightType, CharacterStyleType, AlignmentType, BarcodeType, ServiceProfilesType, GenericProfileType, UnitOfMeasureType, InstalmentType, PeriodUnitType, StoredValueAccountType, AlgorithmType, CheckTypeCodeType, TransactionType, PoiCapabilitiesType } from "./file"; +// +// const terminalApiRequest = Convert.toTerminalApiRequest(json); +// const terminalApiResponse = Convert.toTerminalApiResponse(json); +// const terminalApiSecuredRequest = Convert.toTerminalApiSecuredRequest(json); +// const terminalApiSecuredResponse = Convert.toTerminalApiSecuredResponse(json); +// const nexoDerivedKey = Convert.toNexoDerivedKey(json); +// const saleToPoiSecuredMessage = Convert.toSaleToPoiSecuredMessage(json); +// const securityKey = Convert.toSecurityKey(json); +// const securityTrailer = Convert.toSecurityTrailer(json); +// const saleToPoiRequest = Convert.toSaleToPoiRequest(json); +// const saleToPoiResponse = Convert.toSaleToPoiResponse(json); +// const messageHeader = Convert.toMessageHeader(json); +// const abortRequest = Convert.toAbortRequest(json); +// const balanceInquiryRequest = Convert.toBalanceInquiryRequest(json); +// const batchRequest = Convert.toBatchRequest(json); +// const cardAcquisitionRequest = Convert.toCardAcquisitionRequest(json); +// const adminRequest = Convert.toAdminRequest(json); +// const diagnosisRequest = Convert.toDiagnosisRequest(json); +// const displayRequest = Convert.toDisplayRequest(json); +// const enableServiceRequest = Convert.toEnableServiceRequest(json); +// const eventNotification = Convert.toEventNotification(json); +// const getTotalsRequest = Convert.toGetTotalsRequest(json); +// const inputRequest = Convert.toInputRequest(json); +// const inputUpdate = Convert.toInputUpdate(json); +// const loginRequest = Convert.toLoginRequest(json); +// const logoutRequest = Convert.toLogoutRequest(json); +// const loyaltyRequest = Convert.toLoyaltyRequest(json); +// const paymentRequest = Convert.toPaymentRequest(json); +// const pinRequest = Convert.toPinRequest(json); +// const printRequest = Convert.toPrintRequest(json); +// const cardReaderInitRequest = Convert.toCardReaderInitRequest(json); +// const cardReaderApduRequest = Convert.toCardReaderApduRequest(json); +// const cardReaderPowerOffRequest = Convert.toCardReaderPowerOffRequest(json); +// const reconciliationRequest = Convert.toReconciliationRequest(json); +// const reversalRequest = Convert.toReversalRequest(json); +// const soundRequest = Convert.toSoundRequest(json); +// const storedValueRequest = Convert.toStoredValueRequest(json); +// const transactionStatusRequest = Convert.toTransactionStatusRequest(json); +// const transmitRequest = Convert.toTransmitRequest(json); +// const contentInformation = Convert.toContentInformation(json); +// const balanceInquiryResponse = Convert.toBalanceInquiryResponse(json); +// const batchResponse = Convert.toBatchResponse(json); +// const cardAcquisitionResponse = Convert.toCardAcquisitionResponse(json); +// const adminResponse = Convert.toAdminResponse(json); +// const diagnosisResponse = Convert.toDiagnosisResponse(json); +// const displayResponse = Convert.toDisplayResponse(json); +// const enableServiceResponse = Convert.toEnableServiceResponse(json); +// const getTotalsResponse = Convert.toGetTotalsResponse(json); +// const inputResponse = Convert.toInputResponse(json); +// const loginResponse = Convert.toLoginResponse(json); +// const logoutResponse = Convert.toLogoutResponse(json); +// const loyaltyResponse = Convert.toLoyaltyResponse(json); +// const paymentResponse = Convert.toPaymentResponse(json); +// const pinResponse = Convert.toPinResponse(json); +// const printResponse = Convert.toPrintResponse(json); +// const cardReaderInitResponse = Convert.toCardReaderInitResponse(json); +// const cardReaderApduResponse = Convert.toCardReaderApduResponse(json); +// const cardReaderPowerOffResponse = Convert.toCardReaderPowerOffResponse(json); +// const reconciliationResponse = Convert.toReconciliationResponse(json); +// const reversalResponse = Convert.toReversalResponse(json); +// const soundResponse = Convert.toSoundResponse(json); +// const storedValueResponse = Convert.toStoredValueResponse(json); +// const transactionStatusResponse = Convert.toTransactionStatusResponse(json); +// const transmitResponse = Convert.toTransmitResponse(json); +// const messageReference = Convert.toMessageReference(json); +// const displayOutput = Convert.toDisplayOutput(json); +// const paymentAccountReq = Convert.toPaymentAccountReq(json); +// const loyaltyAccountReq = Convert.toLoyaltyAccountReq(json); +// const transactionToPerform = Convert.toTransactionToPerform(json); +// const saleData = Convert.toSaleData(json); +// const cardAcquisitionTransaction = Convert.toCardAcquisitionTransaction(json); +// const xmlGregorianCalendar = Convert.toXmlGregorianCalendar(json); +// const totalFilter = Convert.toTotalFilter(json); +// const inputData = Convert.toInputData(json); +// const outputContent = Convert.toOutputContent(json); +// const menuEntry = Convert.toMenuEntry(json); +// const saleSoftware = Convert.toSaleSoftware(json); +// const saleTerminalData = Convert.toSaleTerminalData(json); +// const loyaltyTransaction = Convert.toLoyaltyTransaction(json); +// const loyaltyData = Convert.toLoyaltyData(json); +// const paymentTransaction = Convert.toPaymentTransaction(json); +// const paymentData = Convert.toPaymentData(json); +// const cardholderPin = Convert.toCardholderPin(json); +// const printOutput = Convert.toPrintOutput(json); +// const originalPoiTransaction = Convert.toOriginalPoiTransaction(json); +// const customerOrder = Convert.toCustomerOrder(json); +// const soundContent = Convert.toSoundContent(json); +// const storedValueData = Convert.toStoredValueData(json); +// const envelopedData = Convert.toEnvelopedData(json); +// const authenticatedData = Convert.toAuthenticatedData(json); +// const signedData = Convert.toSignedData(json); +// const digestedData = Convert.toDigestedData(json); +// const namedKeyEncryptedData = Convert.toNamedKeyEncryptedData(json); +// const response = Convert.toResponse(json); +// const paymentAccountStatus = Convert.toPaymentAccountStatus(json); +// const loyaltyAccountStatus = Convert.toLoyaltyAccountStatus(json); +// const performedTransaction = Convert.toPerformedTransaction(json); +// const poiData = Convert.toPoiData(json); +// const paymentInstrumentData = Convert.toPaymentInstrumentData(json); +// const loyaltyAccount = Convert.toLoyaltyAccount(json); +// const poiStatus = Convert.toPoiStatus(json); +// const hostStatus = Convert.toHostStatus(json); +// const outputResult = Convert.toOutputResult(json); +// const transactionTotals = Convert.toTransactionTotals(json); +// const inputResult = Convert.toInputResult(json); +// const poiSystemData = Convert.toPoiSystemData(json); +// const loyaltyResult = Convert.toLoyaltyResult(json); +// const paymentReceipt = Convert.toPaymentReceipt(json); +// const paymentResult = Convert.toPaymentResult(json); +// const trackData = Convert.toTrackData(json); +// const iccResetData = Convert.toIccResetData(json); +// const storedValueResult = Convert.toStoredValueResult(json); +// const repeatedMessageResponse = Convert.toRepeatedMessageResponse(json); +// const transactionIdentification = Convert.toTransactionIdentification(json); +// const loyaltyAccountId = Convert.toLoyaltyAccountId(json); +// const sponsoredMerchant = Convert.toSponsoredMerchant(json); +// const saleToIssuerData = Convert.toSaleToIssuerData(json); +// const cloneable = Convert.toCloneable(json); +// const predefinedContent = Convert.toPredefinedContent(json); +// const outputText = Convert.toOutputText(json); +// const outputBarcode = Convert.toOutputBarcode(json); +// const saleProfile = Convert.toSaleProfile(json); +// const transactionConditions = Convert.toTransactionConditions(json); +// const saleItem = Convert.toSaleItem(json); +// const loyaltyAmount = Convert.toLoyaltyAmount(json); +// const amountsReq = Convert.toAmountsReq(json); +// const instalment = Convert.toInstalment(json); +// const storedValueAccountId = Convert.toStoredValueAccountId(json); +// const encryptedContent = Convert.toEncryptedContent(json); +// const algorithmIdentifier = Convert.toAlgorithmIdentifier(json); +// const encapsulatedContent = Convert.toEncapsulatedContent(json); +// const signer = Convert.toSigner(json); +// const paymentAcquirerData = Convert.toPaymentAcquirerData(json); +// const cardData = Convert.toCardData(json); +// const checkData = Convert.toCheckData(json); +// const mobileData = Convert.toMobileData(json); +// const cashHandlingDevice = Convert.toCashHandlingDevice(json); +// const paymentTotals = Convert.toPaymentTotals(json); +// const loyaltyTotals = Convert.toLoyaltyTotals(json); +// const input = Convert.toInput(json); +// const poiSoftware = Convert.toPoiSoftware(json); +// const poiTerminalData = Convert.toPoiTerminalData(json); +// const loyaltyAcquirerData = Convert.toLoyaltyAcquirerData(json); +// const rebates = Convert.toRebates(json); +// const amountsResp = Convert.toAmountsResp(json); +// const currencyConversion = Convert.toCurrencyConversion(json); +// const capturedSignature = Convert.toCapturedSignature(json); +// const storedValueAccountStatus = Convert.toStoredValueAccountStatus(json); +// const repeatedResponseMessageBody = Convert.toRepeatedResponseMessageBody(json); +// const parameter = Convert.toParameter(json); +// const signerIdentifier = Convert.toSignerIdentifier(json); +// const sensitiveCardData = Convert.toSensitiveCardData(json); +// const allowedProduct = Convert.toAllowedProduct(json); +// const paymentToken = Convert.toPaymentToken(json); +// const geolocation = Convert.toGeolocation(json); +// const sensitiveMobileData = Convert.toSensitiveMobileData(json); +// const coinsOrBills = Convert.toCoinsOrBills(json); +// const poiProfile = Convert.toPoiProfile(json); +// const saleItemRebate = Convert.toSaleItemRebate(json); +// const amount = Convert.toAmount(json); +// const areaSize = Convert.toAreaSize(json); +// const signaturePoint = Convert.toSignaturePoint(json); +// const issuerAndSerialNumber = Convert.toIssuerAndSerialNumber(json); +// const geographicCoordinates = Convert.toGeographicCoordinates(json); +// const utmCoordinates = Convert.toUtmCoordinates(json); +// const issuer = Convert.toIssuer(json); +// const relativeDistinguishedName = Convert.toRelativeDistinguishedName(json); +// const messageClassType = Convert.toMessageClassType(json); +// const messageCategoryType = Convert.toMessageCategoryType(json); +// const messageType = Convert.toMessageType(json); +// const servicesEnabledType = Convert.toServicesEnabledType(json); +// const transactionActionType = Convert.toTransactionActionType(json); +// const eventToNotifyType = Convert.toEventToNotifyType(json); +// const totalDetailsType = Convert.toTotalDetailsType(json); +// const tokenRequestedType = Convert.toTokenRequestedType(json); +// const customerOrderReqType = Convert.toCustomerOrderReqType(json); +// const pinRequestType = Convert.toPinRequestType(json); +// const pinFormatType = Convert.toPinFormatType(json); +// const forceEntryModeType = Convert.toForceEntryModeType(json); +// const reconciliationType = Convert.toReconciliationType(json); +// const reversalReasonType = Convert.toReversalReasonType(json); +// const responseModeType = Convert.toResponseModeType(json); +// const soundActionType = Convert.toSoundActionType(json); +// const documentQualifierType = Convert.toDocumentQualifierType(json); +// const contentType = Convert.toContentType(json); +// const entryModeType = Convert.toEntryModeType(json); +// const deviceType = Convert.toDeviceType(json); +// const infoQualifyType = Convert.toInfoQualifyType(json); +// const accountType = Convert.toAccountType(json); +// const loyaltyHandlingType = Convert.toLoyaltyHandlingType(json); +// const paymentType = Convert.toPaymentType(json); +// const inputCommandType = Convert.toInputCommandType(json); +// const outputFormatType = Convert.toOutputFormatType(json); +// const menuEntryTagType = Convert.toMenuEntryTagType(json); +// const saleCapabilitiesType = Convert.toSaleCapabilitiesType(json); +// const terminalEnvironmentType = Convert.toTerminalEnvironmentType(json); +// const loyaltyTransactionType = Convert.toLoyaltyTransactionType(json); +// const soundFormatType = Convert.toSoundFormatType(json); +// const storedValueTransactionType = Convert.toStoredValueTransactionType(json); +// const versionType = Convert.toVersionType(json); +// const resultType = Convert.toResultType(json); +// const errorConditionType = Convert.toErrorConditionType(json); +// const loyaltyUnitType = Convert.toLoyaltyUnitType(json); +// const paymentInstrumentType = Convert.toPaymentInstrumentType(json); +// const globalStatusType = Convert.toGlobalStatusType(json); +// const printerStatusType = Convert.toPrinterStatusType(json); +// const authenticationMethodType = Convert.toAuthenticationMethodType(json); +// const trackFormatType = Convert.toTrackFormatType(json); +// const identificationType = Convert.toIdentificationType(json); +// const identificationSupportType = Convert.toIdentificationSupportType(json); +// const colorType = Convert.toColorType(json); +// const characterWidthType = Convert.toCharacterWidthType(json); +// const characterHeightType = Convert.toCharacterHeightType(json); +// const characterStyleType = Convert.toCharacterStyleType(json); +// const alignmentType = Convert.toAlignmentType(json); +// const barcodeType = Convert.toBarcodeType(json); +// const serviceProfilesType = Convert.toServiceProfilesType(json); +// const genericProfileType = Convert.toGenericProfileType(json); +// const unitOfMeasureType = Convert.toUnitOfMeasureType(json); +// const instalmentType = Convert.toInstalmentType(json); +// const periodUnitType = Convert.toPeriodUnitType(json); +// const storedValueAccountType = Convert.toStoredValueAccountType(json); +// const algorithmType = Convert.toAlgorithmType(json); +// const checkTypeCodeType = Convert.toCheckTypeCodeType(json); +// const transactionType = Convert.toTransactionType(json); +// const poiCapabilitiesType = Convert.toPoiCapabilitiesType(json); +// +// These functions will throw an error if the JSON doesn't +// match the expected interface, even if the JSON is valid. +export var DeviceType; +(function (DeviceType) { + DeviceType["CashierDisplay"] = "CashierDisplay"; + DeviceType["CashierInput"] = "CashierInput"; + DeviceType["CustomerDisplay"] = "CustomerDisplay"; + DeviceType["CustomerInput"] = "CustomerInput"; +})(DeviceType || (DeviceType = {})); +export var InfoQualifyType; +(function (InfoQualifyType) { + InfoQualifyType["CustomerAssistance"] = "CustomerAssistance"; + InfoQualifyType["Display"] = "Display"; + InfoQualifyType["Document"] = "Document"; + InfoQualifyType["Error"] = "Error"; + InfoQualifyType["Input"] = "Input"; + InfoQualifyType["PoiReplication"] = "POIReplication"; + InfoQualifyType["Receipt"] = "Receipt"; + InfoQualifyType["Sound"] = "Sound"; + InfoQualifyType["Status"] = "Status"; + InfoQualifyType["Voucher"] = "Voucher"; +})(InfoQualifyType || (InfoQualifyType = {})); +export var MenuEntryTagType; +(function (MenuEntryTagType) { + MenuEntryTagType["NonSelectable"] = "NonSelectable"; + MenuEntryTagType["NonSelectableSubMenu"] = "NonSelectableSubMenu"; + MenuEntryTagType["Selectable"] = "Selectable"; + MenuEntryTagType["SubMenu"] = "SubMenu"; +})(MenuEntryTagType || (MenuEntryTagType = {})); +export var OutputFormatType; +(function (OutputFormatType) { + OutputFormatType["BarCode"] = "BarCode"; + OutputFormatType["MessageRef"] = "MessageRef"; + OutputFormatType["Text"] = "Text"; + OutputFormatType["Xhtml"] = "XHTML"; +})(OutputFormatType || (OutputFormatType = {})); +export var AlignmentType; +(function (AlignmentType) { + AlignmentType["Centred"] = "Centred"; + AlignmentType["Justified"] = "Justified"; + AlignmentType["Left"] = "Left"; + AlignmentType["Right"] = "Right"; +})(AlignmentType || (AlignmentType = {})); +export var CharacterHeightType; +(function (CharacterHeightType) { + CharacterHeightType["DoubleHeight"] = "DoubleHeight"; + CharacterHeightType["HalfHeight"] = "HalfHeight"; + CharacterHeightType["SingleHeight"] = "SingleHeight"; +})(CharacterHeightType || (CharacterHeightType = {})); +export var CharacterStyleType; +(function (CharacterStyleType) { + CharacterStyleType["Bold"] = "Bold"; + CharacterStyleType["Italic"] = "Italic"; + CharacterStyleType["Normal"] = "Normal"; + CharacterStyleType["Underlined"] = "Underlined"; +})(CharacterStyleType || (CharacterStyleType = {})); +export var CharacterWidthType; +(function (CharacterWidthType) { + CharacterWidthType["DoubleWidth"] = "DoubleWidth"; + CharacterWidthType["SingleWidth"] = "SingleWidth"; +})(CharacterWidthType || (CharacterWidthType = {})); +export var ColorType; +(function (ColorType) { + ColorType["Black"] = "Black"; + ColorType["Blue"] = "Blue"; + ColorType["Cyan"] = "Cyan"; + ColorType["Green"] = "Green"; + ColorType["Magenta"] = "Magenta"; + ColorType["Red"] = "Red"; + ColorType["White"] = "White"; + ColorType["Yellow"] = "Yellow"; +})(ColorType || (ColorType = {})); +export var BarcodeType; +(function (BarcodeType) { + BarcodeType["Code128"] = "Code128"; + BarcodeType["Code25"] = "Code25"; + BarcodeType["Ean13"] = "EAN13"; + BarcodeType["Ean8"] = "EAN8"; + BarcodeType["Pdf417"] = "PDF417"; + BarcodeType["Qrcode"] = "QRCODE"; + BarcodeType["Upca"] = "UPCA"; +})(BarcodeType || (BarcodeType = {})); +export var MessageCategoryType; +(function (MessageCategoryType) { + MessageCategoryType["Abort"] = "Abort"; + MessageCategoryType["Admin"] = "Admin"; + MessageCategoryType["BalanceInquiry"] = "BalanceInquiry"; + MessageCategoryType["Batch"] = "Batch"; + MessageCategoryType["CardAcquisition"] = "CardAcquisition"; + MessageCategoryType["CardReaderApdu"] = "CardReaderAPDU"; + MessageCategoryType["CardReaderInit"] = "CardReaderInit"; + MessageCategoryType["CardReaderPowerOff"] = "CardReaderPowerOff"; + MessageCategoryType["Diagnosis"] = "Diagnosis"; + MessageCategoryType["Display"] = "Display"; + MessageCategoryType["EnableService"] = "EnableService"; + MessageCategoryType["Event"] = "Event"; + MessageCategoryType["GetTotals"] = "GetTotals"; + MessageCategoryType["Input"] = "Input"; + MessageCategoryType["InputUpdate"] = "InputUpdate"; + MessageCategoryType["Login"] = "Login"; + MessageCategoryType["Logout"] = "Logout"; + MessageCategoryType["Loyalty"] = "Loyalty"; + MessageCategoryType["Payment"] = "Payment"; + MessageCategoryType["Pin"] = "PIN"; + MessageCategoryType["Print"] = "Print"; + MessageCategoryType["Reconciliation"] = "Reconciliation"; + MessageCategoryType["Reversal"] = "Reversal"; + MessageCategoryType["Sound"] = "Sound"; + MessageCategoryType["StoredValue"] = "StoredValue"; + MessageCategoryType["TransactionStatus"] = "TransactionStatus"; + MessageCategoryType["Transmit"] = "Transmit"; +})(MessageCategoryType || (MessageCategoryType = {})); +export var EntryModeType; +(function (EntryModeType) { + EntryModeType["Contactless"] = "Contactless"; + EntryModeType["File"] = "File"; + EntryModeType["Icc"] = "ICC"; + EntryModeType["Keyed"] = "Keyed"; + EntryModeType["MagStripe"] = "MagStripe"; + EntryModeType["Manual"] = "Manual"; + EntryModeType["Mobile"] = "Mobile"; + EntryModeType["Rfid"] = "RFID"; + EntryModeType["Scanned"] = "Scanned"; + EntryModeType["SynchronousIcc"] = "SynchronousICC"; + EntryModeType["Tapped"] = "Tapped"; +})(EntryModeType || (EntryModeType = {})); +export var IdentificationSupportType; +(function (IdentificationSupportType) { + IdentificationSupportType["HybridCard"] = "HybridCard"; + IdentificationSupportType["LinkedCard"] = "LinkedCard"; + IdentificationSupportType["LoyaltyCard"] = "LoyaltyCard"; + IdentificationSupportType["NoCard"] = "NoCard"; +})(IdentificationSupportType || (IdentificationSupportType = {})); +export var IdentificationType; +(function (IdentificationType) { + IdentificationType["AccountNumber"] = "AccountNumber"; + IdentificationType["BarCode"] = "BarCode"; + IdentificationType["IsoTrack2"] = "ISOTrack2"; + IdentificationType["Pan"] = "PAN"; + IdentificationType["PhoneNumber"] = "PhoneNumber"; +})(IdentificationType || (IdentificationType = {})); +export var AccountType; +(function (AccountType) { + AccountType["CardTotals"] = "CardTotals"; + AccountType["Checking"] = "Checking"; + AccountType["CreditCard"] = "CreditCard"; + AccountType["Default"] = "Default"; + AccountType["EpurseCard"] = "EpurseCard"; + AccountType["Investment"] = "Investment"; + AccountType["Savings"] = "Savings"; + AccountType["Universal"] = "Universal"; +})(AccountType || (AccountType = {})); +export var TokenRequestedType; +(function (TokenRequestedType) { + TokenRequestedType["Customer"] = "Customer"; + TokenRequestedType["Transaction"] = "Transaction"; +})(TokenRequestedType || (TokenRequestedType = {})); +export var ContentType; +(function (ContentType) { + ContentType["IdCtAuthData"] = "id-ct-authData"; + ContentType["IdData"] = "id-data"; + ContentType["IdDigestedData"] = "id-digestedData"; + ContentType["IdEncryptedData"] = "id-encryptedData"; + ContentType["IdEnvelopedData"] = "id-envelopedData"; + ContentType["IdSignedData"] = "id-signedData"; +})(ContentType || (ContentType = {})); +export var AlgorithmType; +(function (AlgorithmType) { + AlgorithmType["DesEde3Cbc"] = "des-ede3-cbc"; + AlgorithmType["DesEde3Ecb"] = "des-ede3-ecb"; + AlgorithmType["IdDukptWrap"] = "id-dukpt-wrap"; + AlgorithmType["IdRetailCbcMac"] = "id-retail-cbc-mac"; + AlgorithmType["IdRetailCbcMacSha256"] = "id-retail-cbc-mac-sha-256"; + AlgorithmType["IdSha256"] = "id-sha256"; + AlgorithmType["IdUkptWrap"] = "id-ukpt-wrap "; + AlgorithmType["RsaEncryption"] = "rsaEncryption"; + AlgorithmType["Sha256WithRsaEncryption"] = "sha256WithRSAEncryption"; +})(AlgorithmType || (AlgorithmType = {})); +export var VersionType; +(function (VersionType) { + VersionType["V0"] = "v0"; + VersionType["V1"] = "v1"; + VersionType["V2"] = "v2"; + VersionType["V3"] = "v3"; + VersionType["V4"] = "v4"; + VersionType["V5"] = "v5"; +})(VersionType || (VersionType = {})); +export var TrackFormatType; +(function (TrackFormatType) { + TrackFormatType["Aamva"] = "AAMVA"; + TrackFormatType["Cmc7"] = "CMC-7"; + TrackFormatType["E13B"] = "E-13B"; + TrackFormatType["Iso"] = "ISO"; + TrackFormatType["JisI"] = "JIS-I"; + TrackFormatType["JisIi"] = "JIS-II"; +})(TrackFormatType || (TrackFormatType = {})); +export var CheckTypeCodeType; +(function (CheckTypeCodeType) { + CheckTypeCodeType["Company"] = "Company"; + CheckTypeCodeType["Personal"] = "Personal"; +})(CheckTypeCodeType || (CheckTypeCodeType = {})); +export var PaymentInstrumentType; +(function (PaymentInstrumentType) { + PaymentInstrumentType["Card"] = "Card"; + PaymentInstrumentType["Cash"] = "Cash"; + PaymentInstrumentType["Check"] = "Check"; + PaymentInstrumentType["Mobile"] = "Mobile"; + PaymentInstrumentType["StoredValue"] = "StoredValue"; +})(PaymentInstrumentType || (PaymentInstrumentType = {})); +export var LoyaltyUnitType; +(function (LoyaltyUnitType) { + LoyaltyUnitType["Monetary"] = "Monetary"; + LoyaltyUnitType["Point"] = "Point"; +})(LoyaltyUnitType || (LoyaltyUnitType = {})); +export var LoyaltyTransactionType; +(function (LoyaltyTransactionType) { + LoyaltyTransactionType["Award"] = "Award"; + LoyaltyTransactionType["AwardRefund"] = "AwardRefund"; + LoyaltyTransactionType["Rebate"] = "Rebate"; + LoyaltyTransactionType["RebateRefund"] = "RebateRefund"; + LoyaltyTransactionType["Redemption"] = "Redemption"; + LoyaltyTransactionType["RedemptionRefund"] = "RedemptionRefund"; +})(LoyaltyTransactionType || (LoyaltyTransactionType = {})); +export var UnitOfMeasureType; +(function (UnitOfMeasureType) { + UnitOfMeasureType["Case"] = "Case"; + UnitOfMeasureType["Centilitre"] = "Centilitre"; + UnitOfMeasureType["Centimetre"] = "Centimetre"; + UnitOfMeasureType["Foot"] = "Foot"; + UnitOfMeasureType["Gram"] = "Gram"; + UnitOfMeasureType["Inch"] = "Inch"; + UnitOfMeasureType["Kilogram"] = "Kilogram"; + UnitOfMeasureType["Kilometre"] = "Kilometre"; + UnitOfMeasureType["Litre"] = "Litre"; + UnitOfMeasureType["Meter"] = "Meter"; + UnitOfMeasureType["Mile"] = "Mile"; + UnitOfMeasureType["Other"] = "Other"; + UnitOfMeasureType["Ounce"] = "Ounce"; + UnitOfMeasureType["Pint"] = "Pint"; + UnitOfMeasureType["Pound"] = "Pound"; + UnitOfMeasureType["Quart"] = "Quart"; + UnitOfMeasureType["UkGallon"] = "UKGallon"; + UnitOfMeasureType["UsGallon"] = "USGallon"; + UnitOfMeasureType["Yard"] = "Yard"; +})(UnitOfMeasureType || (UnitOfMeasureType = {})); +export var ForceEntryModeType; +(function (ForceEntryModeType) { + ForceEntryModeType["CheckReader"] = "CheckReader"; + ForceEntryModeType["Contactless"] = "Contactless"; + ForceEntryModeType["File"] = "File"; + ForceEntryModeType["Icc"] = "ICC"; + ForceEntryModeType["Keyed"] = "Keyed"; + ForceEntryModeType["MagStripe"] = "MagStripe"; + ForceEntryModeType["Manual"] = "Manual"; + ForceEntryModeType["Rfid"] = "RFID"; + ForceEntryModeType["Scanned"] = "Scanned"; + ForceEntryModeType["SynchronousIcc"] = "SynchronousICC"; + ForceEntryModeType["Tapped"] = "Tapped"; +})(ForceEntryModeType || (ForceEntryModeType = {})); +export var LoyaltyHandlingType; +(function (LoyaltyHandlingType) { + LoyaltyHandlingType["Allowed"] = "Allowed"; + LoyaltyHandlingType["Forbidden"] = "Forbidden"; + LoyaltyHandlingType["Processed"] = "Processed"; + LoyaltyHandlingType["Proposed"] = "Proposed"; + LoyaltyHandlingType["Required"] = "Required"; +})(LoyaltyHandlingType || (LoyaltyHandlingType = {})); +export var CustomerOrderReqType; +(function (CustomerOrderReqType) { + CustomerOrderReqType["Both"] = "Both"; + CustomerOrderReqType["Closed"] = "Closed"; + CustomerOrderReqType["Open"] = "Open"; +})(CustomerOrderReqType || (CustomerOrderReqType = {})); +export var SaleCapabilitiesType; +(function (SaleCapabilitiesType) { + SaleCapabilitiesType["CashierDisplay"] = "CashierDisplay"; + SaleCapabilitiesType["CashierError"] = "CashierError"; + SaleCapabilitiesType["CashierInput"] = "CashierInput"; + SaleCapabilitiesType["CashierStatus"] = "CashierStatus"; + SaleCapabilitiesType["CustomerAssistance"] = "CustomerAssistance"; + SaleCapabilitiesType["CustomerDisplay"] = "CustomerDisplay"; + SaleCapabilitiesType["CustomerError"] = "CustomerError"; + SaleCapabilitiesType["CustomerInput"] = "CustomerInput"; + SaleCapabilitiesType["EmvContactless"] = "EMVContactless"; + SaleCapabilitiesType["Icc"] = "ICC"; + SaleCapabilitiesType["MagStripe"] = "MagStripe"; + SaleCapabilitiesType["PoiReplication"] = "POIReplication"; + SaleCapabilitiesType["PrinterDocument"] = "PrinterDocument"; + SaleCapabilitiesType["PrinterReceipt"] = "PrinterReceipt"; + SaleCapabilitiesType["PrinterVoucher"] = "PrinterVoucher"; +})(SaleCapabilitiesType || (SaleCapabilitiesType = {})); +export var GenericProfileType; +(function (GenericProfileType) { + GenericProfileType["Basic"] = "Basic"; + GenericProfileType["Extended"] = "Extended"; + GenericProfileType["Standard"] = "Standard"; +})(GenericProfileType || (GenericProfileType = {})); +export var ServiceProfilesType; +(function (ServiceProfilesType) { + ServiceProfilesType["Batch"] = "Batch"; + ServiceProfilesType["CardReader"] = "CardReader"; + ServiceProfilesType["Communication"] = "Communication"; + ServiceProfilesType["Loyalty"] = "Loyalty"; + ServiceProfilesType["OneTimeRes"] = "OneTimeRes"; + ServiceProfilesType["Pin"] = "PIN"; + ServiceProfilesType["Reservation"] = "Reservation"; + ServiceProfilesType["Sound"] = "Sound"; + ServiceProfilesType["StoredValue"] = "StoredValue"; + ServiceProfilesType["Synchro"] = "Synchro"; +})(ServiceProfilesType || (ServiceProfilesType = {})); +export var TerminalEnvironmentType; +(function (TerminalEnvironmentType) { + TerminalEnvironmentType["Attended"] = "Attended"; + TerminalEnvironmentType["SemiAttended"] = "SemiAttended"; + TerminalEnvironmentType["Unattended"] = "Unattended"; +})(TerminalEnvironmentType || (TerminalEnvironmentType = {})); +export var InstalmentType; +(function (InstalmentType) { + InstalmentType["DeferredInstalments"] = "DeferredInstalments"; + InstalmentType["EqualInstalments"] = "EqualInstalments"; + InstalmentType["InequalInstalments"] = "InequalInstalments"; +})(InstalmentType || (InstalmentType = {})); +export var PeriodUnitType; +(function (PeriodUnitType) { + PeriodUnitType["Annual"] = "Annual"; + PeriodUnitType["Daily"] = "Daily"; + PeriodUnitType["Monthly"] = "Monthly"; + PeriodUnitType["Weekly"] = "Weekly"; +})(PeriodUnitType || (PeriodUnitType = {})); +export var PaymentType; +(function (PaymentType) { + PaymentType["CashAdvance"] = "CashAdvance"; + PaymentType["CashDeposit"] = "CashDeposit"; + PaymentType["Completion"] = "Completion"; + PaymentType["FirstReservation"] = "FirstReservation"; + PaymentType["Instalment"] = "Instalment"; + PaymentType["IssuerInstalment"] = "IssuerInstalment"; + PaymentType["Normal"] = "Normal"; + PaymentType["OneTimeReservation"] = "OneTimeReservation"; + PaymentType["PaidOut"] = "PaidOut"; + PaymentType["Recurring"] = "Recurring"; + PaymentType["Refund"] = "Refund"; + PaymentType["UpdateReservation"] = "UpdateReservation"; +})(PaymentType || (PaymentType = {})); +export var ReversalReasonType; +(function (ReversalReasonType) { + ReversalReasonType["CustCancel"] = "CustCancel"; + ReversalReasonType["Malfunction"] = "Malfunction"; + ReversalReasonType["MerchantCancel"] = "MerchantCancel"; + ReversalReasonType["Unable2Compl"] = "Unable2Compl"; +})(ReversalReasonType || (ReversalReasonType = {})); +export var ServicesEnabledType; +(function (ServicesEnabledType) { + ServicesEnabledType["CardAcquisition"] = "CardAcquisition"; + ServicesEnabledType["Loyalty"] = "Loyalty"; + ServicesEnabledType["Payment"] = "Payment"; +})(ServicesEnabledType || (ServicesEnabledType = {})); +export var TransactionActionType; +(function (TransactionActionType) { + TransactionActionType["AbortTransaction"] = "AbortTransaction"; + TransactionActionType["StartTransaction"] = "StartTransaction"; +})(TransactionActionType || (TransactionActionType = {})); +export var EventToNotifyType; +(function (EventToNotifyType) { + EventToNotifyType["Abort"] = "Abort"; + EventToNotifyType["BeginMaintenance"] = "BeginMaintenance"; + EventToNotifyType["CardInserted"] = "CardInserted"; + EventToNotifyType["CardRemoved"] = "CardRemoved"; + EventToNotifyType["Completed"] = "Completed"; + EventToNotifyType["CustomerLanguage"] = "CustomerLanguage"; + EventToNotifyType["EndMaintenance"] = "EndMaintenance"; + EventToNotifyType["Initialised"] = "Initialised"; + EventToNotifyType["KeyPressed"] = "KeyPressed"; + EventToNotifyType["OutOfOrder"] = "OutOfOrder"; + EventToNotifyType["Reject"] = "Reject"; + EventToNotifyType["SaleAdmin"] = "SaleAdmin"; + EventToNotifyType["SaleWakeUp"] = "SaleWakeUp"; + EventToNotifyType["SecurityAlarm"] = "SecurityAlarm"; + EventToNotifyType["Shutdown"] = "Shutdown"; + EventToNotifyType["StopAssistance"] = "StopAssistance"; +})(EventToNotifyType || (EventToNotifyType = {})); +export var TotalDetailsType; +(function (TotalDetailsType) { + TotalDetailsType["OperatorId"] = "OperatorID"; + TotalDetailsType["Poiid"] = "POIID"; + TotalDetailsType["SaleId"] = "SaleID"; + TotalDetailsType["ShiftNumber"] = "ShiftNumber"; + TotalDetailsType["TotalsGroupId"] = "TotalsGroupID"; +})(TotalDetailsType || (TotalDetailsType = {})); +export var InputCommandType; +(function (InputCommandType) { + InputCommandType["DecimalString"] = "DecimalString"; + InputCommandType["DigitString"] = "DigitString"; + InputCommandType["GetAnyKey"] = "GetAnyKey"; + InputCommandType["GetConfirmation"] = "GetConfirmation"; + InputCommandType["GetFunctionKey"] = "GetFunctionKey"; + InputCommandType["GetMenuEntry"] = "GetMenuEntry"; + InputCommandType["Password"] = "Password"; + InputCommandType["SiteManager"] = "SiteManager"; + InputCommandType["TextString"] = "TextString"; +})(InputCommandType || (InputCommandType = {})); +export var MessageClassType; +(function (MessageClassType) { + MessageClassType["Device"] = "Device"; + MessageClassType["Event"] = "Event"; + MessageClassType["Service"] = "Service"; +})(MessageClassType || (MessageClassType = {})); +export var MessageType; +(function (MessageType) { + MessageType["Notification"] = "Notification"; + MessageType["Request"] = "Request"; + MessageType["Response"] = "Response"; +})(MessageType || (MessageType = {})); +export var PinFormatType; +(function (PinFormatType) { + PinFormatType["Iso0"] = "ISO0"; + PinFormatType["Iso1"] = "ISO1"; + PinFormatType["Iso2"] = "ISO2"; + PinFormatType["Iso3"] = "ISO3"; +})(PinFormatType || (PinFormatType = {})); +export var PinRequestType; +(function (PinRequestType) { + PinRequestType["PinEnter"] = "PINEnter"; + PinRequestType["PinVerify"] = "PINVerify"; + PinRequestType["PinVerifyOnly"] = "PINVerifyOnly"; +})(PinRequestType || (PinRequestType = {})); +export var DocumentQualifierType; +(function (DocumentQualifierType) { + DocumentQualifierType["CashierReceipt"] = "CashierReceipt"; + DocumentQualifierType["CustomerReceipt"] = "CustomerReceipt"; + DocumentQualifierType["Document"] = "Document"; + DocumentQualifierType["Journal"] = "Journal"; + DocumentQualifierType["SaleReceipt"] = "SaleReceipt"; + DocumentQualifierType["Voucher"] = "Voucher"; +})(DocumentQualifierType || (DocumentQualifierType = {})); +export var ResponseModeType; +(function (ResponseModeType) { + ResponseModeType["Immediate"] = "Immediate"; + ResponseModeType["NotRequired"] = "NotRequired"; + ResponseModeType["PrintEnd"] = "PrintEnd"; + ResponseModeType["SoundEnd"] = "SoundEnd"; +})(ResponseModeType || (ResponseModeType = {})); +export var ReconciliationType; +(function (ReconciliationType) { + ReconciliationType["AcquirerReconciliation"] = "AcquirerReconciliation"; + ReconciliationType["AcquirerSynchronisation"] = "AcquirerSynchronisation"; + ReconciliationType["PreviousReconciliation"] = "PreviousReconciliation"; + ReconciliationType["SaleReconciliation"] = "SaleReconciliation"; +})(ReconciliationType || (ReconciliationType = {})); +export var SoundActionType; +(function (SoundActionType) { + SoundActionType["SetDefaultVolume"] = "SetDefaultVolume"; + SoundActionType["StartSound"] = "StartSound"; + SoundActionType["StopSound"] = "StopSound"; +})(SoundActionType || (SoundActionType = {})); +export var SoundFormatType; +(function (SoundFormatType) { + SoundFormatType["MessageRef"] = "MessageRef"; + SoundFormatType["SoundRef"] = "SoundRef"; + SoundFormatType["Text"] = "Text"; +})(SoundFormatType || (SoundFormatType = {})); +export var StoredValueAccountType; +(function (StoredValueAccountType) { + StoredValueAccountType["GiftCard"] = "GiftCard"; + StoredValueAccountType["Other"] = "Other"; + StoredValueAccountType["PhoneCard"] = "PhoneCard"; +})(StoredValueAccountType || (StoredValueAccountType = {})); +export var StoredValueTransactionType; +(function (StoredValueTransactionType) { + StoredValueTransactionType["Activate"] = "Activate"; + StoredValueTransactionType["Duplicate"] = "Duplicate"; + StoredValueTransactionType["Load"] = "Load"; + StoredValueTransactionType["Reserve"] = "Reserve"; + StoredValueTransactionType["Reverse"] = "Reverse"; + StoredValueTransactionType["Unload"] = "Unload"; +})(StoredValueTransactionType || (StoredValueTransactionType = {})); +export var ErrorConditionType; +(function (ErrorConditionType) { + ErrorConditionType["Aborted"] = "Aborted"; + ErrorConditionType["Busy"] = "Busy"; + ErrorConditionType["Cancel"] = "Cancel"; + ErrorConditionType["DeviceOut"] = "DeviceOut"; + ErrorConditionType["InProgress"] = "InProgress"; + ErrorConditionType["InsertedCard"] = "InsertedCard"; + ErrorConditionType["InvalidCard"] = "InvalidCard"; + ErrorConditionType["LoggedOut"] = "LoggedOut"; + ErrorConditionType["MessageFormat"] = "MessageFormat"; + ErrorConditionType["NotAllowed"] = "NotAllowed"; + ErrorConditionType["NotFound"] = "NotFound"; + ErrorConditionType["PaymentRestriction"] = "PaymentRestriction"; + ErrorConditionType["Refusal"] = "Refusal"; + ErrorConditionType["UnavailableDevice"] = "UnavailableDevice"; + ErrorConditionType["UnavailableService"] = "UnavailableService"; + ErrorConditionType["UnreachableHost"] = "UnreachableHost"; + ErrorConditionType["WrongPin"] = "WrongPIN"; +})(ErrorConditionType || (ErrorConditionType = {})); +export var ResultType; +(function (ResultType) { + ResultType["Failure"] = "Failure"; + ResultType["Partial"] = "Partial"; + ResultType["Success"] = "Success"; +})(ResultType || (ResultType = {})); +export var AuthenticationMethodType; +(function (AuthenticationMethodType) { + AuthenticationMethodType["Bypass"] = "Bypass"; + AuthenticationMethodType["ManualVerification"] = "ManualVerification"; + AuthenticationMethodType["MerchantAuthentication"] = "MerchantAuthentication"; + AuthenticationMethodType["OfflinePin"] = "OfflinePIN"; + AuthenticationMethodType["OnLinePin"] = "OnLinePIN"; + AuthenticationMethodType["PaperSignature"] = "PaperSignature"; + AuthenticationMethodType["SecureCertificate"] = "SecureCertificate"; + AuthenticationMethodType["SecureNoCertificate"] = "SecureNoCertificate"; + AuthenticationMethodType["SecuredChannel"] = "SecuredChannel"; + AuthenticationMethodType["SignatureCapture"] = "SignatureCapture"; + AuthenticationMethodType["UnknownMethod"] = "UnknownMethod"; +})(AuthenticationMethodType || (AuthenticationMethodType = {})); +export var GlobalStatusType; +(function (GlobalStatusType) { + GlobalStatusType["Busy"] = "Busy"; + GlobalStatusType["Maintenance"] = "Maintenance"; + GlobalStatusType["Ok"] = "OK"; + GlobalStatusType["Unreachable"] = "Unreachable"; +})(GlobalStatusType || (GlobalStatusType = {})); +export var PrinterStatusType; +(function (PrinterStatusType) { + PrinterStatusType["NoPaper"] = "NoPaper"; + PrinterStatusType["Ok"] = "OK"; + PrinterStatusType["OutOfOrder"] = "OutOfOrder"; + PrinterStatusType["PaperJam"] = "PaperJam"; + PrinterStatusType["PaperLow"] = "PaperLow"; +})(PrinterStatusType || (PrinterStatusType = {})); +export var TransactionType; +(function (TransactionType) { + TransactionType["Award"] = "Award"; + TransactionType["CashAdvance"] = "CashAdvance"; + TransactionType["CompletedDeffered"] = "CompletedDeffered"; + TransactionType["CompletedReservation"] = "CompletedReservation"; + TransactionType["Credit"] = "Credit"; + TransactionType["Debit"] = "Debit"; + TransactionType["Declined"] = "Declined"; + TransactionType["Failed"] = "Failed"; + TransactionType["FirstReservation"] = "FirstReservation"; + TransactionType["IssuerInstalment"] = "IssuerInstalment"; + TransactionType["OneTimeReservation"] = "OneTimeReservation"; + TransactionType["Rebate"] = "Rebate"; + TransactionType["Redemption"] = "Redemption"; + TransactionType["ReverseAward"] = "ReverseAward"; + TransactionType["ReverseCredit"] = "ReverseCredit"; + TransactionType["ReverseDebit"] = "ReverseDebit"; + TransactionType["ReverseRebate"] = "ReverseRebate"; + TransactionType["ReverseRedemption"] = "ReverseRedemption"; + TransactionType["UpdateReservation"] = "UpdateReservation"; +})(TransactionType || (TransactionType = {})); +export var PoiCapabilitiesType; +(function (PoiCapabilitiesType) { + PoiCapabilitiesType["CashHandling"] = "CashHandling"; + PoiCapabilitiesType["CashierDisplay"] = "CashierDisplay"; + PoiCapabilitiesType["CashierError"] = "CashierError"; + PoiCapabilitiesType["CashierInput"] = "CashierInput"; + PoiCapabilitiesType["CustomerDisplay"] = "CustomerDisplay"; + PoiCapabilitiesType["CustomerError"] = "CustomerError"; + PoiCapabilitiesType["CustomerInput"] = "CustomerInput"; + PoiCapabilitiesType["EmvContactless"] = "EMVContactless"; + PoiCapabilitiesType["Icc"] = "ICC"; + PoiCapabilitiesType["MagStripe"] = "MagStripe"; + PoiCapabilitiesType["PrinterDocument"] = "PrinterDocument"; + PoiCapabilitiesType["PrinterReceipt"] = "PrinterReceipt"; + PoiCapabilitiesType["PrinterVoucher"] = "PrinterVoucher"; +})(PoiCapabilitiesType || (PoiCapabilitiesType = {})); +// Converts JSON strings to/from your types +// and asserts the results of JSON.parse at runtime +var Convert = /** @class */ (function () { + function Convert() { + } + Convert.toTerminalApiRequest = function (json) { + return cast(JSON.parse(json), r("TerminalApiRequest")); + }; + Convert.terminalApiRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("TerminalApiRequest")), null, 2); + }; + Convert.toTerminalApiResponse = function (json) { + return cast(JSON.parse(json), r("TerminalApiResponse")); + }; + Convert.terminalApiResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("TerminalApiResponse")), null, 2); + }; + Convert.toTerminalApiSecuredRequest = function (json) { + return cast(JSON.parse(json), r("TerminalApiSecuredRequest")); + }; + Convert.terminalApiSecuredRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("TerminalApiSecuredRequest")), null, 2); + }; + Convert.toTerminalApiSecuredResponse = function (json) { + return cast(JSON.parse(json), r("TerminalApiSecuredResponse")); + }; + Convert.terminalApiSecuredResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("TerminalApiSecuredResponse")), null, 2); + }; + Convert.toNexoDerivedKey = function (json) { + return cast(JSON.parse(json), r("NexoDerivedKey")); + }; + Convert.nexoDerivedKeyToJson = function (value) { + return JSON.stringify(uncast(value, r("NexoDerivedKey")), null, 2); + }; + Convert.toSaleToPoiSecuredMessage = function (json) { + return cast(JSON.parse(json), r("SaleToPoiSecuredMessage")); + }; + Convert.saleToPoiSecuredMessageToJson = function (value) { + return JSON.stringify(uncast(value, r("SaleToPoiSecuredMessage")), null, 2); + }; + Convert.toSecurityKey = function (json) { + return cast(JSON.parse(json), r("SecurityKey")); + }; + Convert.securityKeyToJson = function (value) { + return JSON.stringify(uncast(value, r("SecurityKey")), null, 2); + }; + Convert.toSecurityTrailer = function (json) { + return cast(JSON.parse(json), r("SecurityTrailer")); + }; + Convert.securityTrailerToJson = function (value) { + return JSON.stringify(uncast(value, r("SecurityTrailer")), null, 2); + }; + Convert.toSaleToPoiRequest = function (json) { + return cast(JSON.parse(json), r("SaleToPoiRequest")); + }; + Convert.saleToPoiRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("SaleToPoiRequest")), null, 2); + }; + Convert.toSaleToPoiResponse = function (json) { + return cast(JSON.parse(json), r("SaleToPoiResponse")); + }; + Convert.saleToPoiResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("SaleToPoiResponse")), null, 2); + }; + Convert.toMessageHeader = function (json) { + return cast(JSON.parse(json), r("MessageHeader")); + }; + Convert.messageHeaderToJson = function (value) { + return JSON.stringify(uncast(value, r("MessageHeader")), null, 2); + }; + Convert.toAbortRequest = function (json) { + return cast(JSON.parse(json), r("AbortRequest")); + }; + Convert.abortRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("AbortRequest")), null, 2); + }; + Convert.toBalanceInquiryRequest = function (json) { + return cast(JSON.parse(json), r("BalanceInquiryRequest")); + }; + Convert.balanceInquiryRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("BalanceInquiryRequest")), null, 2); + }; + Convert.toBatchRequest = function (json) { + return cast(JSON.parse(json), r("BatchRequest")); + }; + Convert.batchRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("BatchRequest")), null, 2); + }; + Convert.toCardAcquisitionRequest = function (json) { + return cast(JSON.parse(json), r("CardAcquisitionRequest")); + }; + Convert.cardAcquisitionRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("CardAcquisitionRequest")), null, 2); + }; + Convert.toAdminRequest = function (json) { + return cast(JSON.parse(json), r("AdminRequest")); + }; + Convert.adminRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("AdminRequest")), null, 2); + }; + Convert.toDiagnosisRequest = function (json) { + return cast(JSON.parse(json), r("DiagnosisRequest")); + }; + Convert.diagnosisRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("DiagnosisRequest")), null, 2); + }; + Convert.toDisplayRequest = function (json) { + return cast(JSON.parse(json), r("DisplayRequest")); + }; + Convert.displayRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("DisplayRequest")), null, 2); + }; + Convert.toEnableServiceRequest = function (json) { + return cast(JSON.parse(json), r("EnableServiceRequest")); + }; + Convert.enableServiceRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("EnableServiceRequest")), null, 2); + }; + Convert.toEventNotification = function (json) { + return cast(JSON.parse(json), r("EventNotification")); + }; + Convert.eventNotificationToJson = function (value) { + return JSON.stringify(uncast(value, r("EventNotification")), null, 2); + }; + Convert.toGetTotalsRequest = function (json) { + return cast(JSON.parse(json), r("GetTotalsRequest")); + }; + Convert.getTotalsRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("GetTotalsRequest")), null, 2); + }; + Convert.toInputRequest = function (json) { + return cast(JSON.parse(json), r("InputRequest")); + }; + Convert.inputRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("InputRequest")), null, 2); + }; + Convert.toInputUpdate = function (json) { + return cast(JSON.parse(json), r("InputUpdate")); + }; + Convert.inputUpdateToJson = function (value) { + return JSON.stringify(uncast(value, r("InputUpdate")), null, 2); + }; + Convert.toLoginRequest = function (json) { + return cast(JSON.parse(json), r("LoginRequest")); + }; + Convert.loginRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("LoginRequest")), null, 2); + }; + Convert.toLogoutRequest = function (json) { + return cast(JSON.parse(json), r("LogoutRequest")); + }; + Convert.logoutRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("LogoutRequest")), null, 2); + }; + Convert.toLoyaltyRequest = function (json) { + return cast(JSON.parse(json), r("LoyaltyRequest")); + }; + Convert.loyaltyRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyRequest")), null, 2); + }; + Convert.toPaymentRequest = function (json) { + return cast(JSON.parse(json), r("PaymentRequest")); + }; + Convert.paymentRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentRequest")), null, 2); + }; + Convert.toPinRequest = function (json) { + return cast(JSON.parse(json), r("PinRequest")); + }; + Convert.pinRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("PinRequest")), null, 2); + }; + Convert.toPrintRequest = function (json) { + return cast(JSON.parse(json), r("PrintRequest")); + }; + Convert.printRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("PrintRequest")), null, 2); + }; + Convert.toCardReaderInitRequest = function (json) { + return cast(JSON.parse(json), r("CardReaderInitRequest")); + }; + Convert.cardReaderInitRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("CardReaderInitRequest")), null, 2); + }; + Convert.toCardReaderApduRequest = function (json) { + return cast(JSON.parse(json), r("CardReaderApduRequest")); + }; + Convert.cardReaderApduRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("CardReaderApduRequest")), null, 2); + }; + Convert.toCardReaderPowerOffRequest = function (json) { + return cast(JSON.parse(json), r("CardReaderPowerOffRequest")); + }; + Convert.cardReaderPowerOffRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("CardReaderPowerOffRequest")), null, 2); + }; + Convert.toReconciliationRequest = function (json) { + return cast(JSON.parse(json), r("ReconciliationRequest")); + }; + Convert.reconciliationRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("ReconciliationRequest")), null, 2); + }; + Convert.toReversalRequest = function (json) { + return cast(JSON.parse(json), r("ReversalRequest")); + }; + Convert.reversalRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("ReversalRequest")), null, 2); + }; + Convert.toSoundRequest = function (json) { + return cast(JSON.parse(json), r("SoundRequest")); + }; + Convert.soundRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("SoundRequest")), null, 2); + }; + Convert.toStoredValueRequest = function (json) { + return cast(JSON.parse(json), r("StoredValueRequest")); + }; + Convert.storedValueRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("StoredValueRequest")), null, 2); + }; + Convert.toTransactionStatusRequest = function (json) { + return cast(JSON.parse(json), r("TransactionStatusRequest")); + }; + Convert.transactionStatusRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("TransactionStatusRequest")), null, 2); + }; + Convert.toTransmitRequest = function (json) { + return cast(JSON.parse(json), r("TransmitRequest")); + }; + Convert.transmitRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("TransmitRequest")), null, 2); + }; + Convert.toContentInformation = function (json) { + return cast(JSON.parse(json), r("ContentInformation")); + }; + Convert.contentInformationToJson = function (value) { + return JSON.stringify(uncast(value, r("ContentInformation")), null, 2); + }; + Convert.toBalanceInquiryResponse = function (json) { + return cast(JSON.parse(json), r("BalanceInquiryResponse")); + }; + Convert.balanceInquiryResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("BalanceInquiryResponse")), null, 2); + }; + Convert.toBatchResponse = function (json) { + return cast(JSON.parse(json), r("BatchResponse")); + }; + Convert.batchResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("BatchResponse")), null, 2); + }; + Convert.toCardAcquisitionResponse = function (json) { + return cast(JSON.parse(json), r("CardAcquisitionResponse")); + }; + Convert.cardAcquisitionResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("CardAcquisitionResponse")), null, 2); + }; + Convert.toAdminResponse = function (json) { + return cast(JSON.parse(json), r("AdminResponse")); + }; + Convert.adminResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("AdminResponse")), null, 2); + }; + Convert.toDiagnosisResponse = function (json) { + return cast(JSON.parse(json), r("DiagnosisResponse")); + }; + Convert.diagnosisResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("DiagnosisResponse")), null, 2); + }; + Convert.toDisplayResponse = function (json) { + return cast(JSON.parse(json), r("DisplayResponse")); + }; + Convert.displayResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("DisplayResponse")), null, 2); + }; + Convert.toEnableServiceResponse = function (json) { + return cast(JSON.parse(json), r("EnableServiceResponse")); + }; + Convert.enableServiceResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("EnableServiceResponse")), null, 2); + }; + Convert.toGetTotalsResponse = function (json) { + return cast(JSON.parse(json), r("GetTotalsResponse")); + }; + Convert.getTotalsResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("GetTotalsResponse")), null, 2); + }; + Convert.toInputResponse = function (json) { + return cast(JSON.parse(json), r("InputResponse")); + }; + Convert.inputResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("InputResponse")), null, 2); + }; + Convert.toLoginResponse = function (json) { + return cast(JSON.parse(json), r("LoginResponse")); + }; + Convert.loginResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("LoginResponse")), null, 2); + }; + Convert.toLogoutResponse = function (json) { + return cast(JSON.parse(json), r("LogoutResponse")); + }; + Convert.logoutResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("LogoutResponse")), null, 2); + }; + Convert.toLoyaltyResponse = function (json) { + return cast(JSON.parse(json), r("LoyaltyResponse")); + }; + Convert.loyaltyResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyResponse")), null, 2); + }; + Convert.toPaymentResponse = function (json) { + return cast(JSON.parse(json), r("PaymentResponse")); + }; + Convert.paymentResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentResponse")), null, 2); + }; + Convert.toPinResponse = function (json) { + return cast(JSON.parse(json), r("PinResponse")); + }; + Convert.pinResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("PinResponse")), null, 2); + }; + Convert.toPrintResponse = function (json) { + return cast(JSON.parse(json), r("PrintResponse")); + }; + Convert.printResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("PrintResponse")), null, 2); + }; + Convert.toCardReaderInitResponse = function (json) { + return cast(JSON.parse(json), r("CardReaderInitResponse")); + }; + Convert.cardReaderInitResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("CardReaderInitResponse")), null, 2); + }; + Convert.toCardReaderApduResponse = function (json) { + return cast(JSON.parse(json), r("CardReaderApduResponse")); + }; + Convert.cardReaderApduResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("CardReaderApduResponse")), null, 2); + }; + Convert.toCardReaderPowerOffResponse = function (json) { + return cast(JSON.parse(json), r("CardReaderPowerOffResponse")); + }; + Convert.cardReaderPowerOffResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("CardReaderPowerOffResponse")), null, 2); + }; + Convert.toReconciliationResponse = function (json) { + return cast(JSON.parse(json), r("ReconciliationResponse")); + }; + Convert.reconciliationResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("ReconciliationResponse")), null, 2); + }; + Convert.toReversalResponse = function (json) { + return cast(JSON.parse(json), r("ReversalResponse")); + }; + Convert.reversalResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("ReversalResponse")), null, 2); + }; + Convert.toSoundResponse = function (json) { + return cast(JSON.parse(json), r("SoundResponse")); + }; + Convert.soundResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("SoundResponse")), null, 2); + }; + Convert.toStoredValueResponse = function (json) { + return cast(JSON.parse(json), r("StoredValueResponse")); + }; + Convert.storedValueResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("StoredValueResponse")), null, 2); + }; + Convert.toTransactionStatusResponse = function (json) { + return cast(JSON.parse(json), r("TransactionStatusResponse")); + }; + Convert.transactionStatusResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("TransactionStatusResponse")), null, 2); + }; + Convert.toTransmitResponse = function (json) { + return cast(JSON.parse(json), r("TransmitResponse")); + }; + Convert.transmitResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("TransmitResponse")), null, 2); + }; + Convert.toMessageReference = function (json) { + return cast(JSON.parse(json), r("MessageReference")); + }; + Convert.messageReferenceToJson = function (value) { + return JSON.stringify(uncast(value, r("MessageReference")), null, 2); + }; + Convert.toDisplayOutput = function (json) { + return cast(JSON.parse(json), r("DisplayOutput")); + }; + Convert.displayOutputToJson = function (value) { + return JSON.stringify(uncast(value, r("DisplayOutput")), null, 2); + }; + Convert.toPaymentAccountReq = function (json) { + return cast(JSON.parse(json), r("PaymentAccountReq")); + }; + Convert.paymentAccountReqToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentAccountReq")), null, 2); + }; + Convert.toLoyaltyAccountReq = function (json) { + return cast(JSON.parse(json), r("LoyaltyAccountReq")); + }; + Convert.loyaltyAccountReqToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyAccountReq")), null, 2); + }; + Convert.toTransactionToPerform = function (json) { + return cast(JSON.parse(json), r("TransactionToPerform")); + }; + Convert.transactionToPerformToJson = function (value) { + return JSON.stringify(uncast(value, r("TransactionToPerform")), null, 2); + }; + Convert.toSaleData = function (json) { + return cast(JSON.parse(json), r("SaleData")); + }; + Convert.saleDataToJson = function (value) { + return JSON.stringify(uncast(value, r("SaleData")), null, 2); + }; + Convert.toCardAcquisitionTransaction = function (json) { + return cast(JSON.parse(json), r("CardAcquisitionTransaction")); + }; + Convert.cardAcquisitionTransactionToJson = function (value) { + return JSON.stringify(uncast(value, r("CardAcquisitionTransaction")), null, 2); + }; + Convert.toXmlGregorianCalendar = function (json) { + return cast(JSON.parse(json), m("any")); + }; + Convert.xmlGregorianCalendarToJson = function (value) { + return JSON.stringify(uncast(value, m("any")), null, 2); + }; + Convert.toTotalFilter = function (json) { + return cast(JSON.parse(json), r("TotalFilter")); + }; + Convert.totalFilterToJson = function (value) { + return JSON.stringify(uncast(value, r("TotalFilter")), null, 2); + }; + Convert.toInputData = function (json) { + return cast(JSON.parse(json), r("InputData")); + }; + Convert.inputDataToJson = function (value) { + return JSON.stringify(uncast(value, r("InputData")), null, 2); + }; + Convert.toOutputContent = function (json) { + return cast(JSON.parse(json), r("OutputContent")); + }; + Convert.outputContentToJson = function (value) { + return JSON.stringify(uncast(value, r("OutputContent")), null, 2); + }; + Convert.toMenuEntry = function (json) { + return cast(JSON.parse(json), r("MenuEntry")); + }; + Convert.menuEntryToJson = function (value) { + return JSON.stringify(uncast(value, r("MenuEntry")), null, 2); + }; + Convert.toSaleSoftware = function (json) { + return cast(JSON.parse(json), r("SaleSoftware")); + }; + Convert.saleSoftwareToJson = function (value) { + return JSON.stringify(uncast(value, r("SaleSoftware")), null, 2); + }; + Convert.toSaleTerminalData = function (json) { + return cast(JSON.parse(json), r("SaleTerminalData")); + }; + Convert.saleTerminalDataToJson = function (value) { + return JSON.stringify(uncast(value, r("SaleTerminalData")), null, 2); + }; + Convert.toLoyaltyTransaction = function (json) { + return cast(JSON.parse(json), r("LoyaltyTransaction")); + }; + Convert.loyaltyTransactionToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyTransaction")), null, 2); + }; + Convert.toLoyaltyData = function (json) { + return cast(JSON.parse(json), r("LoyaltyData")); + }; + Convert.loyaltyDataToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyData")), null, 2); + }; + Convert.toPaymentTransaction = function (json) { + return cast(JSON.parse(json), r("PaymentTransaction")); + }; + Convert.paymentTransactionToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentTransaction")), null, 2); + }; + Convert.toPaymentData = function (json) { + return cast(JSON.parse(json), r("PaymentData")); + }; + Convert.paymentDataToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentData")), null, 2); + }; + Convert.toCardholderPin = function (json) { + return cast(JSON.parse(json), r("CardholderPin")); + }; + Convert.cardholderPinToJson = function (value) { + return JSON.stringify(uncast(value, r("CardholderPin")), null, 2); + }; + Convert.toPrintOutput = function (json) { + return cast(JSON.parse(json), r("PrintOutput")); + }; + Convert.printOutputToJson = function (value) { + return JSON.stringify(uncast(value, r("PrintOutput")), null, 2); + }; + Convert.toOriginalPoiTransaction = function (json) { + return cast(JSON.parse(json), r("OriginalPoiTransaction")); + }; + Convert.originalPoiTransactionToJson = function (value) { + return JSON.stringify(uncast(value, r("OriginalPoiTransaction")), null, 2); + }; + Convert.toCustomerOrder = function (json) { + return cast(JSON.parse(json), r("CustomerOrder")); + }; + Convert.customerOrderToJson = function (value) { + return JSON.stringify(uncast(value, r("CustomerOrder")), null, 2); + }; + Convert.toSoundContent = function (json) { + return cast(JSON.parse(json), r("SoundContent")); + }; + Convert.soundContentToJson = function (value) { + return JSON.stringify(uncast(value, r("SoundContent")), null, 2); + }; + Convert.toStoredValueData = function (json) { + return cast(JSON.parse(json), r("StoredValueData")); + }; + Convert.storedValueDataToJson = function (value) { + return JSON.stringify(uncast(value, r("StoredValueData")), null, 2); + }; + Convert.toEnvelopedData = function (json) { + return cast(JSON.parse(json), r("EnvelopedData")); + }; + Convert.envelopedDataToJson = function (value) { + return JSON.stringify(uncast(value, r("EnvelopedData")), null, 2); + }; + Convert.toAuthenticatedData = function (json) { + return cast(JSON.parse(json), r("AuthenticatedData")); + }; + Convert.authenticatedDataToJson = function (value) { + return JSON.stringify(uncast(value, r("AuthenticatedData")), null, 2); + }; + Convert.toSignedData = function (json) { + return cast(JSON.parse(json), r("SignedData")); + }; + Convert.signedDataToJson = function (value) { + return JSON.stringify(uncast(value, r("SignedData")), null, 2); + }; + Convert.toDigestedData = function (json) { + return cast(JSON.parse(json), r("DigestedData")); + }; + Convert.digestedDataToJson = function (value) { + return JSON.stringify(uncast(value, r("DigestedData")), null, 2); + }; + Convert.toNamedKeyEncryptedData = function (json) { + return cast(JSON.parse(json), r("NamedKeyEncryptedData")); + }; + Convert.namedKeyEncryptedDataToJson = function (value) { + return JSON.stringify(uncast(value, r("NamedKeyEncryptedData")), null, 2); + }; + Convert.toResponse = function (json) { + return cast(JSON.parse(json), r("Response")); + }; + Convert.responseToJson = function (value) { + return JSON.stringify(uncast(value, r("Response")), null, 2); + }; + Convert.toPaymentAccountStatus = function (json) { + return cast(JSON.parse(json), r("PaymentAccountStatus")); + }; + Convert.paymentAccountStatusToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentAccountStatus")), null, 2); + }; + Convert.toLoyaltyAccountStatus = function (json) { + return cast(JSON.parse(json), r("LoyaltyAccountStatus")); + }; + Convert.loyaltyAccountStatusToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyAccountStatus")), null, 2); + }; + Convert.toPerformedTransaction = function (json) { + return cast(JSON.parse(json), r("PerformedTransaction")); + }; + Convert.performedTransactionToJson = function (value) { + return JSON.stringify(uncast(value, r("PerformedTransaction")), null, 2); + }; + Convert.toPoiData = function (json) { + return cast(JSON.parse(json), r("PoiData")); + }; + Convert.poiDataToJson = function (value) { + return JSON.stringify(uncast(value, r("PoiData")), null, 2); + }; + Convert.toPaymentInstrumentData = function (json) { + return cast(JSON.parse(json), r("PaymentInstrumentData")); + }; + Convert.paymentInstrumentDataToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentInstrumentData")), null, 2); + }; + Convert.toLoyaltyAccount = function (json) { + return cast(JSON.parse(json), r("LoyaltyAccount")); + }; + Convert.loyaltyAccountToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyAccount")), null, 2); + }; + Convert.toPoiStatus = function (json) { + return cast(JSON.parse(json), r("PoiStatus")); + }; + Convert.poiStatusToJson = function (value) { + return JSON.stringify(uncast(value, r("PoiStatus")), null, 2); + }; + Convert.toHostStatus = function (json) { + return cast(JSON.parse(json), r("HostStatus")); + }; + Convert.hostStatusToJson = function (value) { + return JSON.stringify(uncast(value, r("HostStatus")), null, 2); + }; + Convert.toOutputResult = function (json) { + return cast(JSON.parse(json), r("OutputResult")); + }; + Convert.outputResultToJson = function (value) { + return JSON.stringify(uncast(value, r("OutputResult")), null, 2); + }; + Convert.toTransactionTotals = function (json) { + return cast(JSON.parse(json), r("TransactionTotals")); + }; + Convert.transactionTotalsToJson = function (value) { + return JSON.stringify(uncast(value, r("TransactionTotals")), null, 2); + }; + Convert.toInputResult = function (json) { + return cast(JSON.parse(json), r("InputResult")); + }; + Convert.inputResultToJson = function (value) { + return JSON.stringify(uncast(value, r("InputResult")), null, 2); + }; + Convert.toPoiSystemData = function (json) { + return cast(JSON.parse(json), r("PoiSystemData")); + }; + Convert.poiSystemDataToJson = function (value) { + return JSON.stringify(uncast(value, r("PoiSystemData")), null, 2); + }; + Convert.toLoyaltyResult = function (json) { + return cast(JSON.parse(json), r("LoyaltyResult")); + }; + Convert.loyaltyResultToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyResult")), null, 2); + }; + Convert.toPaymentReceipt = function (json) { + return cast(JSON.parse(json), r("PaymentReceipt")); + }; + Convert.paymentReceiptToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentReceipt")), null, 2); + }; + Convert.toPaymentResult = function (json) { + return cast(JSON.parse(json), r("PaymentResult")); + }; + Convert.paymentResultToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentResult")), null, 2); + }; + Convert.toTrackData = function (json) { + return cast(JSON.parse(json), r("TrackData")); + }; + Convert.trackDataToJson = function (value) { + return JSON.stringify(uncast(value, r("TrackData")), null, 2); + }; + Convert.toIccResetData = function (json) { + return cast(JSON.parse(json), r("IccResetData")); + }; + Convert.iccResetDataToJson = function (value) { + return JSON.stringify(uncast(value, r("IccResetData")), null, 2); + }; + Convert.toStoredValueResult = function (json) { + return cast(JSON.parse(json), r("StoredValueResult")); + }; + Convert.storedValueResultToJson = function (value) { + return JSON.stringify(uncast(value, r("StoredValueResult")), null, 2); + }; + Convert.toRepeatedMessageResponse = function (json) { + return cast(JSON.parse(json), r("RepeatedMessageResponse")); + }; + Convert.repeatedMessageResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("RepeatedMessageResponse")), null, 2); + }; + Convert.toTransactionIdentification = function (json) { + return cast(JSON.parse(json), r("TransactionIdentification")); + }; + Convert.transactionIdentificationToJson = function (value) { + return JSON.stringify(uncast(value, r("TransactionIdentification")), null, 2); + }; + Convert.toLoyaltyAccountId = function (json) { + return cast(JSON.parse(json), r("LoyaltyAccountId")); + }; + Convert.loyaltyAccountIdToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyAccountId")), null, 2); + }; + Convert.toSponsoredMerchant = function (json) { + return cast(JSON.parse(json), r("SponsoredMerchant")); + }; + Convert.sponsoredMerchantToJson = function (value) { + return JSON.stringify(uncast(value, r("SponsoredMerchant")), null, 2); + }; + Convert.toSaleToIssuerData = function (json) { + return cast(JSON.parse(json), r("SaleToIssuerData")); + }; + Convert.saleToIssuerDataToJson = function (value) { + return JSON.stringify(uncast(value, r("SaleToIssuerData")), null, 2); + }; + Convert.toCloneable = function (json) { + return cast(JSON.parse(json), m("any")); + }; + Convert.cloneableToJson = function (value) { + return JSON.stringify(uncast(value, m("any")), null, 2); + }; + Convert.toPredefinedContent = function (json) { + return cast(JSON.parse(json), r("PredefinedContent")); + }; + Convert.predefinedContentToJson = function (value) { + return JSON.stringify(uncast(value, r("PredefinedContent")), null, 2); + }; + Convert.toOutputText = function (json) { + return cast(JSON.parse(json), r("OutputText")); + }; + Convert.outputTextToJson = function (value) { + return JSON.stringify(uncast(value, r("OutputText")), null, 2); + }; + Convert.toOutputBarcode = function (json) { + return cast(JSON.parse(json), r("OutputBarcode")); + }; + Convert.outputBarcodeToJson = function (value) { + return JSON.stringify(uncast(value, r("OutputBarcode")), null, 2); + }; + Convert.toSaleProfile = function (json) { + return cast(JSON.parse(json), r("SaleProfile")); + }; + Convert.saleProfileToJson = function (value) { + return JSON.stringify(uncast(value, r("SaleProfile")), null, 2); + }; + Convert.toTransactionConditions = function (json) { + return cast(JSON.parse(json), r("TransactionConditions")); + }; + Convert.transactionConditionsToJson = function (value) { + return JSON.stringify(uncast(value, r("TransactionConditions")), null, 2); + }; + Convert.toSaleItem = function (json) { + return cast(JSON.parse(json), r("SaleItem")); + }; + Convert.saleItemToJson = function (value) { + return JSON.stringify(uncast(value, r("SaleItem")), null, 2); + }; + Convert.toLoyaltyAmount = function (json) { + return cast(JSON.parse(json), r("LoyaltyAmount")); + }; + Convert.loyaltyAmountToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyAmount")), null, 2); + }; + Convert.toAmountsReq = function (json) { + return cast(JSON.parse(json), r("AmountsReq")); + }; + Convert.amountsReqToJson = function (value) { + return JSON.stringify(uncast(value, r("AmountsReq")), null, 2); + }; + Convert.toInstalment = function (json) { + return cast(JSON.parse(json), r("Instalment")); + }; + Convert.instalmentToJson = function (value) { + return JSON.stringify(uncast(value, r("Instalment")), null, 2); + }; + Convert.toStoredValueAccountId = function (json) { + return cast(JSON.parse(json), r("StoredValueAccountId")); + }; + Convert.storedValueAccountIdToJson = function (value) { + return JSON.stringify(uncast(value, r("StoredValueAccountId")), null, 2); + }; + Convert.toEncryptedContent = function (json) { + return cast(JSON.parse(json), r("EncryptedContent")); + }; + Convert.encryptedContentToJson = function (value) { + return JSON.stringify(uncast(value, r("EncryptedContent")), null, 2); + }; + Convert.toAlgorithmIdentifier = function (json) { + return cast(JSON.parse(json), r("AlgorithmIdentifier")); + }; + Convert.algorithmIdentifierToJson = function (value) { + return JSON.stringify(uncast(value, r("AlgorithmIdentifier")), null, 2); + }; + Convert.toEncapsulatedContent = function (json) { + return cast(JSON.parse(json), r("EncapsulatedContent")); + }; + Convert.encapsulatedContentToJson = function (value) { + return JSON.stringify(uncast(value, r("EncapsulatedContent")), null, 2); + }; + Convert.toSigner = function (json) { + return cast(JSON.parse(json), r("Signer")); + }; + Convert.signerToJson = function (value) { + return JSON.stringify(uncast(value, r("Signer")), null, 2); + }; + Convert.toPaymentAcquirerData = function (json) { + return cast(JSON.parse(json), r("PaymentAcquirerData")); + }; + Convert.paymentAcquirerDataToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentAcquirerData")), null, 2); + }; + Convert.toCardData = function (json) { + return cast(JSON.parse(json), r("CardData")); + }; + Convert.cardDataToJson = function (value) { + return JSON.stringify(uncast(value, r("CardData")), null, 2); + }; + Convert.toCheckData = function (json) { + return cast(JSON.parse(json), r("CheckData")); + }; + Convert.checkDataToJson = function (value) { + return JSON.stringify(uncast(value, r("CheckData")), null, 2); + }; + Convert.toMobileData = function (json) { + return cast(JSON.parse(json), r("MobileData")); + }; + Convert.mobileDataToJson = function (value) { + return JSON.stringify(uncast(value, r("MobileData")), null, 2); + }; + Convert.toCashHandlingDevice = function (json) { + return cast(JSON.parse(json), r("CashHandlingDevice")); + }; + Convert.cashHandlingDeviceToJson = function (value) { + return JSON.stringify(uncast(value, r("CashHandlingDevice")), null, 2); + }; + Convert.toPaymentTotals = function (json) { + return cast(JSON.parse(json), r("PaymentTotals")); + }; + Convert.paymentTotalsToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentTotals")), null, 2); + }; + Convert.toLoyaltyTotals = function (json) { + return cast(JSON.parse(json), r("LoyaltyTotals")); + }; + Convert.loyaltyTotalsToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyTotals")), null, 2); + }; + Convert.toInput = function (json) { + return cast(JSON.parse(json), r("Input")); + }; + Convert.inputToJson = function (value) { + return JSON.stringify(uncast(value, r("Input")), null, 2); + }; + Convert.toPoiSoftware = function (json) { + return cast(JSON.parse(json), r("PoiSoftware")); + }; + Convert.poiSoftwareToJson = function (value) { + return JSON.stringify(uncast(value, r("PoiSoftware")), null, 2); + }; + Convert.toPoiTerminalData = function (json) { + return cast(JSON.parse(json), r("PoiTerminalData")); + }; + Convert.poiTerminalDataToJson = function (value) { + return JSON.stringify(uncast(value, r("PoiTerminalData")), null, 2); + }; + Convert.toLoyaltyAcquirerData = function (json) { + return cast(JSON.parse(json), r("LoyaltyAcquirerData")); + }; + Convert.loyaltyAcquirerDataToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyAcquirerData")), null, 2); + }; + Convert.toRebates = function (json) { + return cast(JSON.parse(json), r("Rebates")); + }; + Convert.rebatesToJson = function (value) { + return JSON.stringify(uncast(value, r("Rebates")), null, 2); + }; + Convert.toAmountsResp = function (json) { + return cast(JSON.parse(json), r("AmountsResp")); + }; + Convert.amountsRespToJson = function (value) { + return JSON.stringify(uncast(value, r("AmountsResp")), null, 2); + }; + Convert.toCurrencyConversion = function (json) { + return cast(JSON.parse(json), r("CurrencyConversion")); + }; + Convert.currencyConversionToJson = function (value) { + return JSON.stringify(uncast(value, r("CurrencyConversion")), null, 2); + }; + Convert.toCapturedSignature = function (json) { + return cast(JSON.parse(json), r("CapturedSignature")); + }; + Convert.capturedSignatureToJson = function (value) { + return JSON.stringify(uncast(value, r("CapturedSignature")), null, 2); + }; + Convert.toStoredValueAccountStatus = function (json) { + return cast(JSON.parse(json), r("StoredValueAccountStatus")); + }; + Convert.storedValueAccountStatusToJson = function (value) { + return JSON.stringify(uncast(value, r("StoredValueAccountStatus")), null, 2); + }; + Convert.toRepeatedResponseMessageBody = function (json) { + return cast(JSON.parse(json), r("RepeatedResponseMessageBody")); + }; + Convert.repeatedResponseMessageBodyToJson = function (value) { + return JSON.stringify(uncast(value, r("RepeatedResponseMessageBody")), null, 2); + }; + Convert.toParameter = function (json) { + return cast(JSON.parse(json), r("Parameter")); + }; + Convert.parameterToJson = function (value) { + return JSON.stringify(uncast(value, r("Parameter")), null, 2); + }; + Convert.toSignerIdentifier = function (json) { + return cast(JSON.parse(json), r("SignerIdentifier")); + }; + Convert.signerIdentifierToJson = function (value) { + return JSON.stringify(uncast(value, r("SignerIdentifier")), null, 2); + }; + Convert.toSensitiveCardData = function (json) { + return cast(JSON.parse(json), r("SensitiveCardData")); + }; + Convert.sensitiveCardDataToJson = function (value) { + return JSON.stringify(uncast(value, r("SensitiveCardData")), null, 2); + }; + Convert.toAllowedProduct = function (json) { + return cast(JSON.parse(json), r("AllowedProduct")); + }; + Convert.allowedProductToJson = function (value) { + return JSON.stringify(uncast(value, r("AllowedProduct")), null, 2); + }; + Convert.toPaymentToken = function (json) { + return cast(JSON.parse(json), r("PaymentToken")); + }; + Convert.paymentTokenToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentToken")), null, 2); + }; + Convert.toGeolocation = function (json) { + return cast(JSON.parse(json), r("Geolocation")); + }; + Convert.geolocationToJson = function (value) { + return JSON.stringify(uncast(value, r("Geolocation")), null, 2); + }; + Convert.toSensitiveMobileData = function (json) { + return cast(JSON.parse(json), r("SensitiveMobileData")); + }; + Convert.sensitiveMobileDataToJson = function (value) { + return JSON.stringify(uncast(value, r("SensitiveMobileData")), null, 2); + }; + Convert.toCoinsOrBills = function (json) { + return cast(JSON.parse(json), r("CoinsOrBills")); + }; + Convert.coinsOrBillsToJson = function (value) { + return JSON.stringify(uncast(value, r("CoinsOrBills")), null, 2); + }; + Convert.toPoiProfile = function (json) { + return cast(JSON.parse(json), r("PoiProfile")); + }; + Convert.poiProfileToJson = function (value) { + return JSON.stringify(uncast(value, r("PoiProfile")), null, 2); + }; + Convert.toSaleItemRebate = function (json) { + return cast(JSON.parse(json), r("SaleItemRebate")); + }; + Convert.saleItemRebateToJson = function (value) { + return JSON.stringify(uncast(value, r("SaleItemRebate")), null, 2); + }; + Convert.toAmount = function (json) { + return cast(JSON.parse(json), r("Amount")); + }; + Convert.amountToJson = function (value) { + return JSON.stringify(uncast(value, r("Amount")), null, 2); + }; + Convert.toAreaSize = function (json) { + return cast(JSON.parse(json), r("AreaSize")); + }; + Convert.areaSizeToJson = function (value) { + return JSON.stringify(uncast(value, r("AreaSize")), null, 2); + }; + Convert.toSignaturePoint = function (json) { + return cast(JSON.parse(json), r("SignaturePoint")); + }; + Convert.signaturePointToJson = function (value) { + return JSON.stringify(uncast(value, r("SignaturePoint")), null, 2); + }; + Convert.toIssuerAndSerialNumber = function (json) { + return cast(JSON.parse(json), r("IssuerAndSerialNumber")); + }; + Convert.issuerAndSerialNumberToJson = function (value) { + return JSON.stringify(uncast(value, r("IssuerAndSerialNumber")), null, 2); + }; + Convert.toGeographicCoordinates = function (json) { + return cast(JSON.parse(json), r("GeographicCoordinates")); + }; + Convert.geographicCoordinatesToJson = function (value) { + return JSON.stringify(uncast(value, r("GeographicCoordinates")), null, 2); + }; + Convert.toUtmCoordinates = function (json) { + return cast(JSON.parse(json), r("UtmCoordinates")); + }; + Convert.utmCoordinatesToJson = function (value) { + return JSON.stringify(uncast(value, r("UtmCoordinates")), null, 2); + }; + Convert.toIssuer = function (json) { + return cast(JSON.parse(json), r("Issuer")); + }; + Convert.issuerToJson = function (value) { + return JSON.stringify(uncast(value, r("Issuer")), null, 2); + }; + Convert.toRelativeDistinguishedName = function (json) { + return cast(JSON.parse(json), r("RelativeDistinguishedName")); + }; + Convert.relativeDistinguishedNameToJson = function (value) { + return JSON.stringify(uncast(value, r("RelativeDistinguishedName")), null, 2); + }; + Convert.toMessageClassType = function (json) { + return cast(JSON.parse(json), r("MessageClassType")); + }; + Convert.messageClassTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("MessageClassType")), null, 2); + }; + Convert.toMessageCategoryType = function (json) { + return cast(JSON.parse(json), r("MessageCategoryType")); + }; + Convert.messageCategoryTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("MessageCategoryType")), null, 2); + }; + Convert.toMessageType = function (json) { + return cast(JSON.parse(json), r("MessageType")); + }; + Convert.messageTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("MessageType")), null, 2); + }; + Convert.toServicesEnabledType = function (json) { + return cast(JSON.parse(json), r("ServicesEnabledType")); + }; + Convert.servicesEnabledTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("ServicesEnabledType")), null, 2); + }; + Convert.toTransactionActionType = function (json) { + return cast(JSON.parse(json), r("TransactionActionType")); + }; + Convert.transactionActionTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("TransactionActionType")), null, 2); + }; + Convert.toEventToNotifyType = function (json) { + return cast(JSON.parse(json), r("EventToNotifyType")); + }; + Convert.eventToNotifyTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("EventToNotifyType")), null, 2); + }; + Convert.toTotalDetailsType = function (json) { + return cast(JSON.parse(json), r("TotalDetailsType")); + }; + Convert.totalDetailsTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("TotalDetailsType")), null, 2); + }; + Convert.toTokenRequestedType = function (json) { + return cast(JSON.parse(json), r("TokenRequestedType")); + }; + Convert.tokenRequestedTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("TokenRequestedType")), null, 2); + }; + Convert.toCustomerOrderReqType = function (json) { + return cast(JSON.parse(json), r("CustomerOrderReqType")); + }; + Convert.customerOrderReqTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("CustomerOrderReqType")), null, 2); + }; + Convert.toPinRequestType = function (json) { + return cast(JSON.parse(json), r("PinRequestType")); + }; + Convert.pinRequestTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("PinRequestType")), null, 2); + }; + Convert.toPinFormatType = function (json) { + return cast(JSON.parse(json), r("PinFormatType")); + }; + Convert.pinFormatTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("PinFormatType")), null, 2); + }; + Convert.toForceEntryModeType = function (json) { + return cast(JSON.parse(json), r("ForceEntryModeType")); + }; + Convert.forceEntryModeTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("ForceEntryModeType")), null, 2); + }; + Convert.toReconciliationType = function (json) { + return cast(JSON.parse(json), r("ReconciliationType")); + }; + Convert.reconciliationTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("ReconciliationType")), null, 2); + }; + Convert.toReversalReasonType = function (json) { + return cast(JSON.parse(json), r("ReversalReasonType")); + }; + Convert.reversalReasonTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("ReversalReasonType")), null, 2); + }; + Convert.toResponseModeType = function (json) { + return cast(JSON.parse(json), r("ResponseModeType")); + }; + Convert.responseModeTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("ResponseModeType")), null, 2); + }; + Convert.toSoundActionType = function (json) { + return cast(JSON.parse(json), r("SoundActionType")); + }; + Convert.soundActionTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("SoundActionType")), null, 2); + }; + Convert.toDocumentQualifierType = function (json) { + return cast(JSON.parse(json), r("DocumentQualifierType")); + }; + Convert.documentQualifierTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("DocumentQualifierType")), null, 2); + }; + Convert.toContentType = function (json) { + return cast(JSON.parse(json), r("ContentType")); + }; + Convert.contentTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("ContentType")), null, 2); + }; + Convert.toEntryModeType = function (json) { + return cast(JSON.parse(json), r("EntryModeType")); + }; + Convert.entryModeTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("EntryModeType")), null, 2); + }; + Convert.toDeviceType = function (json) { + return cast(JSON.parse(json), r("DeviceType")); + }; + Convert.deviceTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("DeviceType")), null, 2); + }; + Convert.toInfoQualifyType = function (json) { + return cast(JSON.parse(json), r("InfoQualifyType")); + }; + Convert.infoQualifyTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("InfoQualifyType")), null, 2); + }; + Convert.toAccountType = function (json) { + return cast(JSON.parse(json), r("AccountType")); + }; + Convert.accountTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("AccountType")), null, 2); + }; + Convert.toLoyaltyHandlingType = function (json) { + return cast(JSON.parse(json), r("LoyaltyHandlingType")); + }; + Convert.loyaltyHandlingTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyHandlingType")), null, 2); + }; + Convert.toPaymentType = function (json) { + return cast(JSON.parse(json), r("PaymentType")); + }; + Convert.paymentTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentType")), null, 2); + }; + Convert.toInputCommandType = function (json) { + return cast(JSON.parse(json), r("InputCommandType")); + }; + Convert.inputCommandTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("InputCommandType")), null, 2); + }; + Convert.toOutputFormatType = function (json) { + return cast(JSON.parse(json), r("OutputFormatType")); + }; + Convert.outputFormatTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("OutputFormatType")), null, 2); + }; + Convert.toMenuEntryTagType = function (json) { + return cast(JSON.parse(json), r("MenuEntryTagType")); + }; + Convert.menuEntryTagTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("MenuEntryTagType")), null, 2); + }; + Convert.toSaleCapabilitiesType = function (json) { + return cast(JSON.parse(json), r("SaleCapabilitiesType")); + }; + Convert.saleCapabilitiesTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("SaleCapabilitiesType")), null, 2); + }; + Convert.toTerminalEnvironmentType = function (json) { + return cast(JSON.parse(json), r("TerminalEnvironmentType")); + }; + Convert.terminalEnvironmentTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("TerminalEnvironmentType")), null, 2); + }; + Convert.toLoyaltyTransactionType = function (json) { + return cast(JSON.parse(json), r("LoyaltyTransactionType")); + }; + Convert.loyaltyTransactionTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyTransactionType")), null, 2); + }; + Convert.toSoundFormatType = function (json) { + return cast(JSON.parse(json), r("SoundFormatType")); + }; + Convert.soundFormatTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("SoundFormatType")), null, 2); + }; + Convert.toStoredValueTransactionType = function (json) { + return cast(JSON.parse(json), r("StoredValueTransactionType")); + }; + Convert.storedValueTransactionTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("StoredValueTransactionType")), null, 2); + }; + Convert.toVersionType = function (json) { + return cast(JSON.parse(json), r("VersionType")); + }; + Convert.versionTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("VersionType")), null, 2); + }; + Convert.toResultType = function (json) { + return cast(JSON.parse(json), r("ResultType")); + }; + Convert.resultTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("ResultType")), null, 2); + }; + Convert.toErrorConditionType = function (json) { + return cast(JSON.parse(json), r("ErrorConditionType")); + }; + Convert.errorConditionTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("ErrorConditionType")), null, 2); + }; + Convert.toLoyaltyUnitType = function (json) { + return cast(JSON.parse(json), r("LoyaltyUnitType")); + }; + Convert.loyaltyUnitTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyUnitType")), null, 2); + }; + Convert.toPaymentInstrumentType = function (json) { + return cast(JSON.parse(json), r("PaymentInstrumentType")); + }; + Convert.paymentInstrumentTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentInstrumentType")), null, 2); + }; + Convert.toGlobalStatusType = function (json) { + return cast(JSON.parse(json), r("GlobalStatusType")); + }; + Convert.globalStatusTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("GlobalStatusType")), null, 2); + }; + Convert.toPrinterStatusType = function (json) { + return cast(JSON.parse(json), r("PrinterStatusType")); + }; + Convert.printerStatusTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("PrinterStatusType")), null, 2); + }; + Convert.toAuthenticationMethodType = function (json) { + return cast(JSON.parse(json), r("AuthenticationMethodType")); + }; + Convert.authenticationMethodTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("AuthenticationMethodType")), null, 2); + }; + Convert.toTrackFormatType = function (json) { + return cast(JSON.parse(json), r("TrackFormatType")); + }; + Convert.trackFormatTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("TrackFormatType")), null, 2); + }; + Convert.toIdentificationType = function (json) { + return cast(JSON.parse(json), r("IdentificationType")); + }; + Convert.identificationTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("IdentificationType")), null, 2); + }; + Convert.toIdentificationSupportType = function (json) { + return cast(JSON.parse(json), r("IdentificationSupportType")); + }; + Convert.identificationSupportTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("IdentificationSupportType")), null, 2); + }; + Convert.toColorType = function (json) { + return cast(JSON.parse(json), r("ColorType")); + }; + Convert.colorTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("ColorType")), null, 2); + }; + Convert.toCharacterWidthType = function (json) { + return cast(JSON.parse(json), r("CharacterWidthType")); + }; + Convert.characterWidthTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("CharacterWidthType")), null, 2); + }; + Convert.toCharacterHeightType = function (json) { + return cast(JSON.parse(json), r("CharacterHeightType")); + }; + Convert.characterHeightTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("CharacterHeightType")), null, 2); + }; + Convert.toCharacterStyleType = function (json) { + return cast(JSON.parse(json), r("CharacterStyleType")); + }; + Convert.characterStyleTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("CharacterStyleType")), null, 2); + }; + Convert.toAlignmentType = function (json) { + return cast(JSON.parse(json), r("AlignmentType")); + }; + Convert.alignmentTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("AlignmentType")), null, 2); + }; + Convert.toBarcodeType = function (json) { + return cast(JSON.parse(json), r("BarcodeType")); + }; + Convert.barcodeTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("BarcodeType")), null, 2); + }; + Convert.toServiceProfilesType = function (json) { + return cast(JSON.parse(json), r("ServiceProfilesType")); + }; + Convert.serviceProfilesTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("ServiceProfilesType")), null, 2); + }; + Convert.toGenericProfileType = function (json) { + return cast(JSON.parse(json), r("GenericProfileType")); + }; + Convert.genericProfileTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("GenericProfileType")), null, 2); + }; + Convert.toUnitOfMeasureType = function (json) { + return cast(JSON.parse(json), r("UnitOfMeasureType")); + }; + Convert.unitOfMeasureTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("UnitOfMeasureType")), null, 2); + }; + Convert.toInstalmentType = function (json) { + return cast(JSON.parse(json), r("InstalmentType")); + }; + Convert.instalmentTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("InstalmentType")), null, 2); + }; + Convert.toPeriodUnitType = function (json) { + return cast(JSON.parse(json), r("PeriodUnitType")); + }; + Convert.periodUnitTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("PeriodUnitType")), null, 2); + }; + Convert.toStoredValueAccountType = function (json) { + return cast(JSON.parse(json), r("StoredValueAccountType")); + }; + Convert.storedValueAccountTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("StoredValueAccountType")), null, 2); + }; + Convert.toAlgorithmType = function (json) { + return cast(JSON.parse(json), r("AlgorithmType")); + }; + Convert.algorithmTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("AlgorithmType")), null, 2); + }; + Convert.toCheckTypeCodeType = function (json) { + return cast(JSON.parse(json), r("CheckTypeCodeType")); + }; + Convert.checkTypeCodeTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("CheckTypeCodeType")), null, 2); + }; + Convert.toTransactionType = function (json) { + return cast(JSON.parse(json), r("TransactionType")); + }; + Convert.transactionTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("TransactionType")), null, 2); + }; + Convert.toPoiCapabilitiesType = function (json) { + return cast(JSON.parse(json), r("PoiCapabilitiesType")); + }; + Convert.poiCapabilitiesTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("PoiCapabilitiesType")), null, 2); + }; + return Convert; +}()); +export { Convert }; +function invalidValue(typ, val) { + throw Error("Invalid value " + JSON.stringify(val) + " for type " + JSON.stringify(typ)); +} +function jsonToJSProps(typ) { + if (typ.jsonToJS === undefined) { + var map = {}; + typ.props.forEach(function (p) { return map[p.json] = { key: p.js, typ: p.typ }; }); + typ.jsonToJS = map; + } + return typ.jsonToJS; +} +function jsToJSONProps(typ) { + if (typ.jsToJSON === undefined) { + var map = {}; + typ.props.forEach(function (p) { return map[p.js] = { key: p.json, typ: p.typ }; }); + typ.jsToJSON = map; + } + return typ.jsToJSON; +} +function transform(val, typ, getProps) { + function transformPrimitive(typ, val) { + if (typeof typ === typeof val) + return val; + return invalidValue(typ, val); + } + function transformUnion(typs, val) { + // val must validate against one typ in typs + var l = typs.length; + for (var i = 0; i < l; i++) { + var typ = typs[i]; + try { + return transform(val, typ, getProps); + } + catch (_) { } + } + return invalidValue(typs, val); + } + function transformEnum(cases, val) { + if (cases.indexOf(val) !== -1) + return val; + return invalidValue(cases, val); + } + function transformArray(typ, val) { + // val must be an array with no invalid elements + if (!Array.isArray(val)) + return invalidValue("array", val); + return val.map(function (el) { return transform(el, typ, getProps); }); + } + function transformDate(typ, val) { + if (val === null) { + return null; + } + var d = new Date(val); + if (isNaN(d.valueOf())) { + return invalidValue("Date", val); + } + return d; + } + function transformObject(props, additional, val) { + if (val === null || typeof val !== "object" || Array.isArray(val)) { + return invalidValue("object", val); + } + var result = {}; + Object.getOwnPropertyNames(props).forEach(function (key) { + var prop = props[key]; + var v = Object.prototype.hasOwnProperty.call(val, key) ? val[key] : undefined; + result[prop.key] = transform(v, prop.typ, getProps); + }); + Object.getOwnPropertyNames(val).forEach(function (key) { + if (!Object.prototype.hasOwnProperty.call(props, key)) { + result[key] = transform(val[key], additional, getProps); + } + }); + return result; + } + if (typ === "any") + return val; + if (typ === null) { + if (val === null) + return val; + return invalidValue(typ, val); + } + if (typ === false) + return invalidValue(typ, val); + while (typeof typ === "object" && typ.ref !== undefined) { + typ = typeMap[typ.ref]; + } + if (Array.isArray(typ)) + return transformEnum(typ, val); + if (typeof typ === "object") { + return typ.hasOwnProperty("unionMembers") ? transformUnion(typ.unionMembers, val) + : typ.hasOwnProperty("arrayItems") ? transformArray(typ.arrayItems, val) + : typ.hasOwnProperty("props") ? transformObject(getProps(typ), typ.additional, val) + : invalidValue(typ, val); + } + // Numbers can be parsed by Date but shouldn't be. + if (typ === Date && typeof val !== "number") + return transformDate(typ, val); + return transformPrimitive(typ, val); +} +function cast(val, typ) { + return transform(val, typ, jsonToJSProps); +} +function uncast(val, typ) { + return transform(val, typ, jsToJSONProps); +} +function a(typ) { + return { arrayItems: typ }; +} +function u() { + var typs = []; + for (var _i = 0; _i < arguments.length; _i++) { + typs[_i] = arguments[_i]; + } + return { unionMembers: typs }; +} +function o(props, additional) { + return { props: props, additional: additional }; +} +function m(additional) { + // @ts-ignore + return { props: [], additional: additional }; +} +function r(name) { + return { ref: name }; +} +var typeMap = { + "TerminalApiRequest": o([ + { json: "SaleToPOIRequest", js: "saleToPoiRequest", typ: u(undefined, r("SaleToPoiRequest")) }, + ], "any"), + "SaleToPoiRequest": o([ + { json: "AbortRequest", js: "abortRequest", typ: u(undefined, r("AbortRequest")) }, + { json: "AdminRequest", js: "adminRequest", typ: u(undefined, r("AdminRequest")) }, + { json: "BalanceInquiryRequest", js: "balanceInquiryRequest", typ: u(undefined, r("BalanceInquiryRequest")) }, + { json: "BatchRequest", js: "batchRequest", typ: u(undefined, r("BatchRequest")) }, + { json: "CardAcquisitionRequest", js: "cardAcquisitionRequest", typ: u(undefined, r("CardAcquisitionRequest")) }, + { json: "CardReaderAPDURequest", js: "cardReaderApduRequest", typ: u(undefined, r("CardReaderApduRequest")) }, + { json: "CardReaderInitRequest", js: "cardReaderInitRequest", typ: u(undefined, r("CardReaderInitRequest")) }, + { json: "CardReaderPowerOffRequest", js: "cardReaderPowerOffRequest", typ: u(undefined, r("CardReaderPowerOffRequest")) }, + { json: "DiagnosisRequest", js: "diagnosisRequest", typ: u(undefined, r("DiagnosisRequest")) }, + { json: "DisplayRequest", js: "displayRequest", typ: u(undefined, r("DisplayRequest")) }, + { json: "EnableServiceRequest", js: "enableServiceRequest", typ: u(undefined, r("EnableServiceRequest")) }, + { json: "EventNotification", js: "eventNotification", typ: u(undefined, r("EventNotification")) }, + { json: "GetTotalsRequest", js: "getTotalsRequest", typ: u(undefined, r("GetTotalsRequest")) }, + { json: "InputRequest", js: "inputRequest", typ: u(undefined, r("InputRequest")) }, + { json: "InputUpdate", js: "inputUpdate", typ: u(undefined, r("InputUpdate")) }, + { json: "LoginRequest", js: "loginRequest", typ: u(undefined, r("LoginRequest")) }, + { json: "LogoutRequest", js: "logoutRequest", typ: u(undefined, r("LogoutRequest")) }, + { json: "LoyaltyRequest", js: "loyaltyRequest", typ: u(undefined, r("LoyaltyRequest")) }, + { json: "MessageHeader", js: "messageHeader", typ: r("MessageHeader") }, + { json: "PaymentRequest", js: "paymentRequest", typ: u(undefined, r("PaymentRequest")) }, + { json: "PINRequest", js: "pinRequest", typ: u(undefined, r("PinRequest")) }, + { json: "PrintRequest", js: "printRequest", typ: u(undefined, r("PrintRequest")) }, + { json: "ReconciliationRequest", js: "reconciliationRequest", typ: u(undefined, r("ReconciliationRequest")) }, + { json: "ReversalRequest", js: "reversalRequest", typ: u(undefined, r("ReversalRequest")) }, + { json: "SecurityTrailer", js: "securityTrailer", typ: u(undefined, r("ContentInformation")) }, + { json: "SoundRequest", js: "soundRequest", typ: u(undefined, r("SoundRequest")) }, + { json: "StoredValueRequest", js: "storedValueRequest", typ: u(undefined, r("StoredValueRequest")) }, + { json: "TransactionStatusRequest", js: "transactionStatusRequest", typ: u(undefined, r("TransactionStatusRequest")) }, + { json: "TransmitRequest", js: "transmitRequest", typ: u(undefined, r("TransmitRequest")) }, + ], "any"), + "AbortRequest": o([ + { json: "AbortReason", js: "abortReason", typ: "" }, + { json: "DisplayOutput", js: "displayOutput", typ: u(undefined, r("DisplayOutput")) }, + { json: "MessageReference", js: "messageReference", typ: r("MessageReference") }, + ], "any"), + "DisplayOutput": o([ + { json: "Device", js: "device", typ: r("DeviceType") }, + { json: "InfoQualify", js: "infoQualify", typ: r("InfoQualifyType") }, + { json: "MenuEntry", js: "menuEntry", typ: u(undefined, a(r("MenuEntry"))) }, + { json: "MinimumDisplayTime", js: "minimumDisplayTime", typ: u(undefined, 3.14) }, + { json: "OutputContent", js: "outputContent", typ: r("OutputContent") }, + { json: "OutputSignature", js: "outputSignature", typ: u(undefined, "any") }, + { json: "ResponseRequiredFlag", js: "responseRequiredFlag", typ: u(undefined, true) }, + ], "any"), + "MenuEntry": o([ + { json: "DefaultSelectedFlag", js: "defaultSelectedFlag", typ: u(undefined, true) }, + { json: "MenuEntryTag", js: "menuEntryTag", typ: u(undefined, r("MenuEntryTagType")) }, + { json: "OutputFormat", js: "outputFormat", typ: r("OutputFormatType") }, + { json: "OutputText", js: "outputText", typ: u(undefined, a(r("OutputText"))) }, + { json: "OutputXHTML", js: "outputXhtml", typ: u(undefined, "any") }, + { json: "PredefinedContent", js: "predefinedContent", typ: u(undefined, r("PredefinedContent")) }, + ], "any"), + "OutputText": o([ + { json: "Alignment", js: "alignment", typ: u(undefined, r("AlignmentType")) }, + { json: "CharacterHeight", js: "characterHeight", typ: u(undefined, r("CharacterHeightType")) }, + { json: "CharacterSet", js: "characterSet", typ: u(undefined, 3.14) }, + { json: "CharacterStyle", js: "characterStyle", typ: u(undefined, r("CharacterStyleType")) }, + { json: "CharacterWidth", js: "characterWidth", typ: u(undefined, r("CharacterWidthType")) }, + { json: "Color", js: "color", typ: u(undefined, r("ColorType")) }, + { json: "EndOfLineFlag", js: "endOfLineFlag", typ: u(undefined, true) }, + { json: "Font", js: "font", typ: u(undefined, "") }, + { json: "StartColumn", js: "startColumn", typ: u(undefined, 3.14) }, + { json: "StartRow", js: "startRow", typ: u(undefined, 3.14) }, + { json: "Text", js: "text", typ: u(undefined, "") }, + ], "any"), + "PredefinedContent": o([ + { json: "Language", js: "language", typ: u(undefined, "") }, + { json: "ReferenceID", js: "referenceId", typ: "" }, + ], "any"), + "OutputContent": o([ + { json: "OutputBarcode", js: "outputBarcode", typ: u(undefined, r("OutputBarcode")) }, + { json: "OutputFormat", js: "outputFormat", typ: r("OutputFormatType") }, + { json: "OutputText", js: "outputText", typ: u(undefined, a(r("OutputText"))) }, + { json: "OutputXHTML", js: "outputXhtml", typ: u(undefined, "any") }, + { json: "PredefinedContent", js: "predefinedContent", typ: u(undefined, r("PredefinedContent")) }, + ], "any"), + "OutputBarcode": o([ + { json: "BarcodeType", js: "barcodeType", typ: u(undefined, r("BarcodeType")) }, + { json: "value", js: "value", typ: u(undefined, "") }, + ], "any"), + "MessageReference": o([ + { json: "DeviceID", js: "deviceId", typ: u(undefined, "") }, + { json: "MessageCategory", js: "messageCategory", typ: u(undefined, r("MessageCategoryType")) }, + { json: "POIID", js: "poiid", typ: u(undefined, "") }, + { json: "SaleID", js: "saleId", typ: u(undefined, "") }, + { json: "ServiceID", js: "serviceId", typ: u(undefined, "") }, + ], "any"), + "AdminRequest": o([ + { json: "ServiceIdentification", js: "serviceIdentification", typ: u(undefined, "") }, + ], "any"), + "BalanceInquiryRequest": o([ + { json: "LoyaltyAccountReq", js: "loyaltyAccountReq", typ: u(undefined, r("LoyaltyAccountReq")) }, + { json: "PaymentAccountReq", js: "paymentAccountReq", typ: u(undefined, r("PaymentAccountReq")) }, + ], "any"), + "LoyaltyAccountReq": o([ + { json: "CardAcquisitionReference", js: "cardAcquisitionReference", typ: u(undefined, r("TransactionIdentification")) }, + { json: "LoyaltyAccountID", js: "loyaltyAccountId", typ: u(undefined, r("LoyaltyAccountId")) }, + ], "any"), + "TransactionIdentification": o([ + { json: "TimeStamp", js: "timeStamp", typ: "" }, + { json: "TransactionID", js: "transactionId", typ: "" }, + ], "any"), + "LoyaltyAccountId": o([ + { json: "EntryMode", js: "entryMode", typ: a(r("EntryModeType")) }, + { json: "IdentificationSupport", js: "identificationSupport", typ: u(undefined, r("IdentificationSupportType")) }, + { json: "IdentificationType", js: "identificationType", typ: r("IdentificationType") }, + { json: "value", js: "value", typ: u(undefined, "") }, + ], "any"), + "PaymentAccountReq": o([ + { json: "AccountType", js: "accountType", typ: u(undefined, r("AccountType")) }, + { json: "CardAcquisitionReference", js: "cardAcquisitionReference", typ: u(undefined, r("TransactionIdentification")) }, + { json: "PaymentInstrumentData", js: "paymentInstrumentData", typ: u(undefined, r("PaymentInstrumentData")) }, + ], "any"), + "PaymentInstrumentData": o([ + { json: "CardData", js: "cardData", typ: u(undefined, r("CardData")) }, + { json: "CheckData", js: "checkData", typ: u(undefined, r("CheckData")) }, + { json: "MobileData", js: "mobileData", typ: u(undefined, r("MobileData")) }, + { json: "PaymentInstrumentType", js: "paymentInstrumentType", typ: r("PaymentInstrumentType") }, + ], "any"), + "CardData": o([ + { json: "AllowedProduct", js: "allowedProduct", typ: u(undefined, a(r("AllowedProduct"))) }, + { json: "AllowedProductCode", js: "allowedProductCode", typ: u(undefined, a("")) }, + { json: "CardCountryCode", js: "cardCountryCode", typ: u(undefined, "") }, + { json: "CustomerOrder", js: "customerOrder", typ: u(undefined, a(r("CustomerOrder"))) }, + { json: "EntryMode", js: "entryMode", typ: u(undefined, a(r("EntryModeType"))) }, + { json: "MaskedPan", js: "maskedPan", typ: u(undefined, "") }, + { json: "PaymentAccountRef", js: "paymentAccountRef", typ: u(undefined, "") }, + { json: "PaymentBrand", js: "paymentBrand", typ: u(undefined, "") }, + { json: "PaymentToken", js: "paymentToken", typ: u(undefined, r("PaymentToken")) }, + { json: "ProtectedCardData", js: "protectedCardData", typ: u(undefined, r("ContentInformation")) }, + { json: "SensitiveCardData", js: "sensitiveCardData", typ: u(undefined, r("SensitiveCardData")) }, + ], "any"), + "AllowedProduct": o([ + { json: "AdditionalProductInfo", js: "additionalProductInfo", typ: u(undefined, "") }, + { json: "EanUpc", js: "eanUpc", typ: u(undefined, "") }, + { json: "ProductCode", js: "productCode", typ: "" }, + { json: "ProductLabel", js: "productLabel", typ: u(undefined, "") }, + ], "any"), + "CustomerOrder": o([ + { json: "AccessedBy", js: "accessedBy", typ: u(undefined, "") }, + { json: "AdditionalInformation", js: "additionalInformation", typ: u(undefined, "") }, + { json: "Currency", js: "currency", typ: u(undefined, "") }, + { json: "CurrentAmount", js: "currentAmount", typ: 3.14 }, + { json: "CustomerOrderID", js: "customerOrderId", typ: "" }, + { json: "EndDate", js: "endDate", typ: u(undefined, m("any")) }, + { json: "ForecastedAmount", js: "forecastedAmount", typ: 3.14 }, + { json: "OpenOrderState", js: "openOrderState", typ: u(undefined, true) }, + { json: "StartDate", js: "startDate", typ: m("any") }, + ], "any"), + "PaymentToken": o([ + { json: "ExpiryDateTime", js: "expiryDateTime", typ: u(undefined, m("any")) }, + { json: "TokenRequestedType", js: "tokenRequestedType", typ: r("TokenRequestedType") }, + { json: "TokenValue", js: "tokenValue", typ: "" }, + ], "any"), + "ContentInformation": o([ + { json: "AuthenticatedData", js: "authenticatedData", typ: u(undefined, r("AuthenticatedData")) }, + { json: "ContentType", js: "contentType", typ: r("ContentType") }, + { json: "DigestedData", js: "digestedData", typ: u(undefined, r("DigestedData")) }, + { json: "EnvelopedData", js: "envelopedData", typ: u(undefined, r("EnvelopedData")) }, + { json: "NamedKeyEncryptedData", js: "namedKeyEncryptedData", typ: u(undefined, r("NamedKeyEncryptedData")) }, + { json: "SignedData", js: "signedData", typ: u(undefined, r("SignedData")) }, + ], "any"), + "AuthenticatedData": o([ + { json: "EncapsulatedContent", js: "encapsulatedContent", typ: r("EncapsulatedContent") }, + { json: "keyTransportOrKEK", js: "keyTransportOrKek", typ: u(undefined, a("any")) }, + { json: "MAC", js: "mac", typ: "any" }, + { json: "MACAlgorithm", js: "macAlgorithm", typ: r("AlgorithmIdentifier") }, + { json: "Version", js: "version", typ: u(undefined, r("VersionType")) }, + ], "any"), + "EncapsulatedContent": o([ + { json: "Content", js: "content", typ: u(undefined, "any") }, + { json: "ContentType", js: "contentType", typ: r("ContentType") }, + ], "any"), + "AlgorithmIdentifier": o([ + { json: "Algorithm", js: "algorithm", typ: r("AlgorithmType") }, + { json: "Parameter", js: "parameter", typ: u(undefined, r("Parameter")) }, + ], "any"), + "Parameter": o([ + { json: "InitialisationVector", js: "initialisationVector", typ: u(undefined, "any") }, + ], "any"), + "DigestedData": o([ + { json: "Digest", js: "digest", typ: "any" }, + { json: "DigestAlgorithm", js: "digestAlgorithm", typ: r("AlgorithmIdentifier") }, + { json: "EncapsulatedContent", js: "encapsulatedContent", typ: r("EncapsulatedContent") }, + { json: "Version", js: "version", typ: u(undefined, r("VersionType")) }, + ], "any"), + "EnvelopedData": o([ + { json: "EncryptedContent", js: "encryptedContent", typ: r("EncryptedContent") }, + { json: "keyTransportOrKEK", js: "keyTransportOrKek", typ: u(undefined, a("any")) }, + { json: "Version", js: "version", typ: u(undefined, r("VersionType")) }, + ], "any"), + "EncryptedContent": o([ + { json: "ContentEncryptionAlgorithm", js: "contentEncryptionAlgorithm", typ: r("AlgorithmIdentifier") }, + { json: "ContentType", js: "contentType", typ: r("ContentType") }, + { json: "EncryptedData", js: "encryptedData", typ: "any" }, + ], "any"), + "NamedKeyEncryptedData": o([ + { json: "EncryptedContent", js: "encryptedContent", typ: r("EncryptedContent") }, + { json: "KeyName", js: "keyName", typ: u(undefined, "") }, + { json: "Version", js: "version", typ: u(undefined, r("VersionType")) }, + ], "any"), + "SignedData": o([ + { json: "Certificate", js: "certificate", typ: u(undefined, a("any")) }, + { json: "DigestAlgorithm", js: "digestAlgorithm", typ: a(r("AlgorithmIdentifier")) }, + { json: "EncapsulatedContent", js: "encapsulatedContent", typ: r("EncapsulatedContent") }, + { json: "Signer", js: "signer", typ: a(r("Signer")) }, + { json: "Version", js: "version", typ: u(undefined, r("VersionType")) }, + ], "any"), + "Signer": o([ + { json: "DigestAlgorithm", js: "digestAlgorithm", typ: r("AlgorithmIdentifier") }, + { json: "Signature", js: "signature", typ: "any" }, + { json: "SignatureAlgorithm", js: "signatureAlgorithm", typ: r("AlgorithmIdentifier") }, + { json: "SignerIdentifier", js: "signerIdentifier", typ: r("SignerIdentifier") }, + { json: "Version", js: "version", typ: u(undefined, r("VersionType")) }, + ], "any"), + "SignerIdentifier": o([ + { json: "IssuerAndSerialNumber", js: "issuerAndSerialNumber", typ: r("IssuerAndSerialNumber") }, + ], "any"), + "IssuerAndSerialNumber": o([ + { json: "Issuer", js: "issuer", typ: r("Issuer") }, + { json: "SerialNumber", js: "serialNumber", typ: 3.14 }, + ], "any"), + "Issuer": o([ + { json: "RelativeDistinguishedName", js: "relativeDistinguishedName", typ: a(r("RelativeDistinguishedName")) }, + ], "any"), + "RelativeDistinguishedName": o([ + { json: "Attribute", js: "attribute", typ: "" }, + { json: "AttributeValue", js: "attributeValue", typ: "" }, + ], "any"), + "SensitiveCardData": o([ + { json: "CardSeqNumb", js: "cardSeqNumb", typ: u(undefined, "") }, + { json: "ExpiryDate", js: "expiryDate", typ: u(undefined, "") }, + { json: "PAN", js: "pan", typ: u(undefined, "") }, + { json: "TrackData", js: "trackData", typ: u(undefined, a(r("TrackData"))) }, + ], "any"), + "TrackData": o([ + { json: "TrackFormat", js: "trackFormat", typ: u(undefined, r("TrackFormatType")) }, + { json: "TrackNumb", js: "trackNumb", typ: u(undefined, 3.14) }, + { json: "value", js: "value", typ: u(undefined, "") }, + ], "any"), + "CheckData": o([ + { json: "AccountNumber", js: "accountNumber", typ: u(undefined, "") }, + { json: "BankID", js: "bankId", typ: u(undefined, "") }, + { json: "CheckCardNumber", js: "checkCardNumber", typ: u(undefined, "") }, + { json: "CheckNumber", js: "checkNumber", typ: u(undefined, "") }, + { json: "Country", js: "country", typ: u(undefined, "") }, + { json: "TrackData", js: "trackData", typ: u(undefined, r("TrackData")) }, + { json: "Type", js: "type", typ: u(undefined, r("CheckTypeCodeType")) }, + ], "any"), + "MobileData": o([ + { json: "Geolocation", js: "geolocation", typ: u(undefined, r("Geolocation")) }, + { json: "MaskedMSISDN", js: "maskedMsisdn", typ: u(undefined, "") }, + { json: "MobileCountryCode", js: "mobileCountryCode", typ: u(undefined, "") }, + { json: "MobileNetworkCode", js: "mobileNetworkCode", typ: u(undefined, "") }, + { json: "ProtectedMobileData", js: "protectedMobileData", typ: u(undefined, r("ContentInformation")) }, + { json: "SensitiveMobileData", js: "sensitiveMobileData", typ: u(undefined, r("SensitiveMobileData")) }, + ], "any"), + "Geolocation": o([ + { json: "GeographicCoordinates", js: "geographicCoordinates", typ: u(undefined, r("GeographicCoordinates")) }, + { json: "UTMCoordinates", js: "utmCoordinates", typ: u(undefined, r("UtmCoordinates")) }, + ], "any"), + "GeographicCoordinates": o([ + { json: "Latitude", js: "latitude", typ: "" }, + { json: "Longitude", js: "longitude", typ: "" }, + ], "any"), + "UtmCoordinates": o([ + { json: "UTMEastward", js: "utmEastward", typ: "" }, + { json: "UTMNorthward", js: "utmNorthward", typ: "" }, + { json: "UTMZone", js: "utmZone", typ: "" }, + ], "any"), + "SensitiveMobileData": o([ + { json: "IMEI", js: "imei", typ: u(undefined, "") }, + { json: "IMSI", js: "imsi", typ: u(undefined, "") }, + { json: "MSISDN", js: "msisdn", typ: "" }, + ], "any"), + "BatchRequest": o([ + { json: "RemoveAllFlag", js: "removeAllFlag", typ: u(undefined, true) }, + { json: "TransactionToPerform", js: "transactionToPerform", typ: u(undefined, a(r("TransactionToPerform"))) }, + ], "any"), + "TransactionToPerform": o([ + { json: "LoyaltyRequest", js: "loyaltyRequest", typ: u(undefined, r("LoyaltyRequest")) }, + { json: "PaymentRequest", js: "paymentRequest", typ: u(undefined, r("PaymentRequest")) }, + { json: "ReversalRequest", js: "reversalRequest", typ: u(undefined, r("ReversalRequest")) }, + ], "any"), + "LoyaltyRequest": o([ + { json: "LoyaltyData", js: "loyaltyData", typ: u(undefined, a(r("LoyaltyData"))) }, + { json: "LoyaltyTransaction", js: "loyaltyTransaction", typ: r("LoyaltyTransaction") }, + { json: "SaleData", js: "saleData", typ: r("SaleData") }, + ], "any"), + "LoyaltyData": o([ + { json: "CardAcquisitionReference", js: "cardAcquisitionReference", typ: u(undefined, r("TransactionIdentification")) }, + { json: "LoyaltyAccountID", js: "loyaltyAccountId", typ: u(undefined, r("LoyaltyAccountId")) }, + { json: "LoyaltyAmount", js: "loyaltyAmount", typ: u(undefined, r("LoyaltyAmount")) }, + ], "any"), + "LoyaltyAmount": o([ + { json: "Currency", js: "currency", typ: u(undefined, "") }, + { json: "LoyaltyUnit", js: "loyaltyUnit", typ: u(undefined, r("LoyaltyUnitType")) }, + { json: "value", js: "value", typ: u(undefined, 3.14) }, + ], "any"), + "LoyaltyTransaction": o([ + { json: "Currency", js: "currency", typ: u(undefined, "") }, + { json: "LoyaltyTransactionType", js: "loyaltyTransactionType", typ: r("LoyaltyTransactionType") }, + { json: "OriginalPOITransaction", js: "originalPoiTransaction", typ: u(undefined, r("OriginalPoiTransaction")) }, + { json: "SaleItem", js: "saleItem", typ: u(undefined, a(r("SaleItem"))) }, + { json: "TotalAmount", js: "totalAmount", typ: u(undefined, 3.14) }, + { json: "TransactionConditions", js: "transactionConditions", typ: u(undefined, r("TransactionConditions")) }, + ], "any"), + "OriginalPoiTransaction": o([ + { json: "AcquirerID", js: "acquirerId", typ: u(undefined, "") }, + { json: "ApprovalCode", js: "approvalCode", typ: u(undefined, "") }, + { json: "CustomerLanguage", js: "customerLanguage", typ: u(undefined, "") }, + { json: "HostTransactionID", js: "hostTransactionId", typ: u(undefined, r("TransactionIdentification")) }, + { json: "POIID", js: "poiid", typ: u(undefined, "") }, + { json: "POITransactionID", js: "poiTransactionId", typ: u(undefined, r("TransactionIdentification")) }, + { json: "ReuseCardDataFlag", js: "reuseCardDataFlag", typ: u(undefined, true) }, + { json: "SaleID", js: "saleId", typ: u(undefined, "") }, + ], "any"), + "SaleItem": o([ + { json: "AdditionalProductInfo", js: "additionalProductInfo", typ: u(undefined, "") }, + { json: "EanUpc", js: "eanUpc", typ: u(undefined, "") }, + { json: "ItemAmount", js: "itemAmount", typ: 3.14 }, + { json: "ItemID", js: "itemId", typ: 3.14 }, + { json: "ProductCode", js: "productCode", typ: "" }, + { json: "ProductLabel", js: "productLabel", typ: u(undefined, "") }, + { json: "Quantity", js: "quantity", typ: u(undefined, 3.14) }, + { json: "SaleChannel", js: "saleChannel", typ: u(undefined, "") }, + { json: "TaxCode", js: "taxCode", typ: u(undefined, "") }, + { json: "UnitOfMeasure", js: "unitOfMeasure", typ: u(undefined, r("UnitOfMeasureType")) }, + { json: "UnitPrice", js: "unitPrice", typ: u(undefined, 3.14) }, + ], "any"), + "TransactionConditions": o([ + { json: "AcquirerID", js: "acquirerId", typ: u(undefined, a("")) }, + { json: "AllowedLoyaltyBrand", js: "allowedLoyaltyBrand", typ: u(undefined, a("")) }, + { json: "AllowedPaymentBrand", js: "allowedPaymentBrand", typ: u(undefined, a("")) }, + { json: "CustomerLanguage", js: "customerLanguage", typ: u(undefined, "") }, + { json: "DebitPreferredFlag", js: "debitPreferredFlag", typ: u(undefined, true) }, + { json: "ForceEntryMode", js: "forceEntryMode", typ: u(undefined, a(a(r("ForceEntryModeType")))) }, + { json: "ForceOnlineFlag", js: "forceOnlineFlag", typ: u(undefined, true) }, + { json: "LoyaltyHandling", js: "loyaltyHandling", typ: u(undefined, r("LoyaltyHandlingType")) }, + { json: "MerchantCategoryCode", js: "merchantCategoryCode", typ: u(undefined, "") }, + ], "any"), + "SaleData": o([ + { json: "CustomerOrderID", js: "customerOrderId", typ: u(undefined, "") }, + { json: "CustomerOrderReq", js: "customerOrderReq", typ: u(undefined, a(r("CustomerOrderReqType"))) }, + { json: "OperatorID", js: "operatorId", typ: u(undefined, "") }, + { json: "OperatorLanguage", js: "operatorLanguage", typ: u(undefined, "") }, + { json: "SaleReferenceID", js: "saleReferenceId", typ: u(undefined, "") }, + { json: "SaleTerminalData", js: "saleTerminalData", typ: u(undefined, r("SaleTerminalData")) }, + { json: "SaleToAcquirerData", js: "saleToAcquirerData", typ: u(undefined, "") }, + { json: "SaleToIssuerData", js: "saleToIssuerData", typ: u(undefined, r("SaleToIssuerData")) }, + { json: "SaleToPOIData", js: "saleToPoiData", typ: u(undefined, "") }, + { json: "SaleTransactionID", js: "saleTransactionId", typ: r("TransactionIdentification") }, + { json: "ShiftNumber", js: "shiftNumber", typ: u(undefined, "") }, + { json: "SponsoredMerchant", js: "sponsoredMerchant", typ: u(undefined, a(r("SponsoredMerchant"))) }, + { json: "TokenRequestedType", js: "tokenRequestedType", typ: u(undefined, r("TokenRequestedType")) }, + ], "any"), + "SaleTerminalData": o([ + { json: "SaleCapabilities", js: "saleCapabilities", typ: u(undefined, a(r("SaleCapabilitiesType"))) }, + { json: "SaleProfile", js: "saleProfile", typ: u(undefined, r("SaleProfile")) }, + { json: "TerminalEnvironment", js: "terminalEnvironment", typ: u(undefined, r("TerminalEnvironmentType")) }, + { json: "TotalsGroupID", js: "totalsGroupId", typ: u(undefined, "") }, + ], "any"), + "SaleProfile": o([ + { json: "GenericProfile", js: "genericProfile", typ: u(undefined, r("GenericProfileType")) }, + { json: "ServiceProfiles", js: "serviceProfiles", typ: u(undefined, a(r("ServiceProfilesType"))) }, + ], "any"), + "SaleToIssuerData": o([ + { json: "StatementReference", js: "statementReference", typ: u(undefined, "") }, + ], "any"), + "SponsoredMerchant": o([ + { json: "MerchantAddress", js: "merchantAddress", typ: u(undefined, "") }, + { json: "MerchantCategoryCode", js: "merchantCategoryCode", typ: "" }, + { json: "MerchantCountry", js: "merchantCountry", typ: "" }, + { json: "MerchantName", js: "merchantName", typ: "" }, + { json: "RegistrationID", js: "registrationId", typ: "" }, + ], "any"), + "PaymentRequest": o([ + { json: "LoyaltyData", js: "loyaltyData", typ: u(undefined, a(r("LoyaltyData"))) }, + { json: "PaymentData", js: "paymentData", typ: u(undefined, r("PaymentData")) }, + { json: "PaymentTransaction", js: "paymentTransaction", typ: r("PaymentTransaction") }, + { json: "SaleData", js: "saleData", typ: r("SaleData") }, + ], "any"), + "PaymentData": o([ + { json: "CardAcquisitionReference", js: "cardAcquisitionReference", typ: u(undefined, r("TransactionIdentification")) }, + { json: "CustomerOrder", js: "customerOrder", typ: u(undefined, r("CustomerOrder")) }, + { json: "Instalment", js: "instalment", typ: u(undefined, r("Instalment")) }, + { json: "PaymentInstrumentData", js: "paymentInstrumentData", typ: u(undefined, r("PaymentInstrumentData")) }, + { json: "PaymentType", js: "paymentType", typ: u(undefined, r("PaymentType")) }, + { json: "RequestedValidityDate", js: "requestedValidityDate", typ: u(undefined, "") }, + { json: "SplitPaymentFlag", js: "splitPaymentFlag", typ: u(undefined, true) }, + ], "any"), + "Instalment": o([ + { json: "Charges", js: "charges", typ: u(undefined, 3.14) }, + { json: "CumulativeAmount", js: "cumulativeAmount", typ: u(undefined, 3.14) }, + { json: "FirstAmount", js: "firstAmount", typ: u(undefined, 3.14) }, + { json: "FirstPaymentDate", js: "firstPaymentDate", typ: u(undefined, "") }, + { json: "Instalment", js: "instalment", typ: u(undefined, a(r("InstalmentType"))) }, + { json: "Period", js: "period", typ: u(undefined, 3.14) }, + { json: "PeriodUnit", js: "periodUnit", typ: u(undefined, r("PeriodUnitType")) }, + { json: "PlanID", js: "planId", typ: u(undefined, "") }, + { json: "SequenceNumber", js: "sequenceNumber", typ: u(undefined, 3.14) }, + { json: "TotalNbOfPayments", js: "totalNbOfPayments", typ: u(undefined, 3.14) }, + ], "any"), + "PaymentTransaction": o([ + { json: "AmountsReq", js: "amountsReq", typ: r("AmountsReq") }, + { json: "OriginalPOITransaction", js: "originalPoiTransaction", typ: u(undefined, r("OriginalPoiTransaction")) }, + { json: "SaleItem", js: "saleItem", typ: u(undefined, a(r("SaleItem"))) }, + { json: "TransactionConditions", js: "transactionConditions", typ: u(undefined, r("TransactionConditions")) }, + ], "any"), + "AmountsReq": o([ + { json: "CashBackAmount", js: "cashBackAmount", typ: u(undefined, 3.14) }, + { json: "Currency", js: "currency", typ: "" }, + { json: "MaximumCashBackAmount", js: "maximumCashBackAmount", typ: u(undefined, 3.14) }, + { json: "MinimumAmountToDeliver", js: "minimumAmountToDeliver", typ: u(undefined, 3.14) }, + { json: "MinimumSplitAmount", js: "minimumSplitAmount", typ: u(undefined, 3.14) }, + { json: "PaidAmount", js: "paidAmount", typ: u(undefined, 3.14) }, + { json: "RequestedAmount", js: "requestedAmount", typ: u(undefined, 3.14) }, + { json: "TipAmount", js: "tipAmount", typ: u(undefined, 3.14) }, + ], "any"), + "ReversalRequest": o([ + { json: "CustomerOrderID", js: "customerOrderId", typ: u(undefined, r("CustomerOrder")) }, + { json: "OriginalPOITransaction", js: "originalPoiTransaction", typ: r("OriginalPoiTransaction") }, + { json: "ReversalReason", js: "reversalReason", typ: r("ReversalReasonType") }, + { json: "ReversedAmount", js: "reversedAmount", typ: u(undefined, 3.14) }, + { json: "SaleReferenceID", js: "saleReferenceId", typ: u(undefined, "") }, + ], "any"), + "CardAcquisitionRequest": o([ + { json: "CardAcquisitionTransaction", js: "cardAcquisitionTransaction", typ: r("CardAcquisitionTransaction") }, + { json: "SaleData", js: "saleData", typ: r("SaleData") }, + ], "any"), + "CardAcquisitionTransaction": o([ + { json: "AllowedLoyaltyBrand", js: "allowedLoyaltyBrand", typ: u(undefined, a("")) }, + { json: "AllowedPaymentBrand", js: "allowedPaymentBrand", typ: u(undefined, a("")) }, + { json: "CashBackFlag", js: "cashBackFlag", typ: u(undefined, true) }, + { json: "CustomerLanguage", js: "customerLanguage", typ: u(undefined, "") }, + { json: "ForceCustomerSelectionFlag", js: "forceCustomerSelectionFlag", typ: u(undefined, true) }, + { json: "ForceEntryMode", js: "forceEntryMode", typ: u(undefined, a(a(r("ForceEntryModeType")))) }, + { json: "LoyaltyHandling", js: "loyaltyHandling", typ: u(undefined, r("LoyaltyHandlingType")) }, + { json: "PaymentType", js: "paymentType", typ: u(undefined, r("PaymentType")) }, + { json: "TotalAmount", js: "totalAmount", typ: u(undefined, 3.14) }, + ], "any"), + "CardReaderApduRequest": o([ + { json: "APDUClass", js: "apduClass", typ: "any" }, + { json: "APDUData", js: "apduData", typ: u(undefined, "any") }, + { json: "APDUExpectedLength", js: "apduExpectedLength", typ: u(undefined, "any") }, + { json: "APDUInstruction", js: "apduInstruction", typ: "any" }, + { json: "APDUPar1", js: "apduPar1", typ: "any" }, + { json: "APDUPar2", js: "apduPar2", typ: "any" }, + ], "any"), + "CardReaderInitRequest": o([ + { json: "DisplayOutput", js: "displayOutput", typ: u(undefined, r("DisplayOutput")) }, + { json: "ForceEntryMode", js: "forceEntryMode", typ: u(undefined, a(a(r("ForceEntryModeType")))) }, + { json: "LeaveCardFlag", js: "leaveCardFlag", typ: u(undefined, true) }, + { json: "MaxWaitingTime", js: "maxWaitingTime", typ: u(undefined, 3.14) }, + { json: "WarmResetFlag", js: "warmResetFlag", typ: u(undefined, true) }, + ], "any"), + "CardReaderPowerOffRequest": o([ + { json: "DisplayOutput", js: "displayOutput", typ: u(undefined, r("DisplayOutput")) }, + { json: "MaxWaitingTime", js: "maxWaitingTime", typ: u(undefined, 3.14) }, + ], "any"), + "DiagnosisRequest": o([ + { json: "AcquirerID", js: "acquirerId", typ: u(undefined, a("")) }, + { json: "HostDiagnosisFlag", js: "hostDiagnosisFlag", typ: u(undefined, true) }, + { json: "POIID", js: "poiid", typ: u(undefined, "") }, + ], "any"), + "DisplayRequest": o([ + { json: "DisplayOutput", js: "displayOutput", typ: a(r("DisplayOutput")) }, + ], "any"), + "EnableServiceRequest": o([ + { json: "DisplayOutput", js: "displayOutput", typ: u(undefined, r("DisplayOutput")) }, + { json: "ServicesEnabled", js: "servicesEnabled", typ: u(undefined, a(r("ServicesEnabledType"))) }, + { json: "TransactionAction", js: "transactionAction", typ: r("TransactionActionType") }, + ], "any"), + "EventNotification": o([ + { json: "CustomerLanguage", js: "customerLanguage", typ: u(undefined, "") }, + { json: "DisplayOutput", js: "displayOutput", typ: u(undefined, r("DisplayOutput")) }, + { json: "EventDetails", js: "eventDetails", typ: u(undefined, "") }, + { json: "EventToNotify", js: "eventToNotify", typ: r("EventToNotifyType") }, + { json: "MaintenanceRequiredFlag", js: "maintenanceRequiredFlag", typ: u(undefined, true) }, + { json: "RejectedMessage", js: "rejectedMessage", typ: u(undefined, "any") }, + { json: "TimeStamp", js: "timeStamp", typ: "" }, + ], "any"), + "GetTotalsRequest": o([ + { json: "TotalDetails", js: "totalDetails", typ: u(undefined, a(r("TotalDetailsType"))) }, + { json: "TotalFilter", js: "totalFilter", typ: u(undefined, r("TotalFilter")) }, + ], "any"), + "TotalFilter": o([ + { json: "OperatorID", js: "operatorId", typ: u(undefined, "") }, + { json: "POIID", js: "poiid", typ: u(undefined, "") }, + { json: "SaleID", js: "saleId", typ: u(undefined, "") }, + { json: "ShiftNumber", js: "shiftNumber", typ: u(undefined, "") }, + { json: "TotalsGroupID", js: "totalsGroupId", typ: u(undefined, "") }, + ], "any"), + "InputRequest": o([ + { json: "DisplayOutput", js: "displayOutput", typ: u(undefined, r("DisplayOutput")) }, + { json: "InputData", js: "inputData", typ: r("InputData") }, + ], "any"), + "InputData": o([ + { json: "BeepKeyFlag", js: "beepKeyFlag", typ: u(undefined, true) }, + { json: "DefaultInputString", js: "defaultInputString", typ: u(undefined, "") }, + { json: "Device", js: "device", typ: r("DeviceType") }, + { json: "DisableCancelFlag", js: "disableCancelFlag", typ: u(undefined, true) }, + { json: "DisableCorrectFlag", js: "disableCorrectFlag", typ: u(undefined, true) }, + { json: "DisableValidFlag", js: "disableValidFlag", typ: u(undefined, true) }, + { json: "FromRightToLeftFlag", js: "fromRightToLeftFlag", typ: u(undefined, true) }, + { json: "GlobalCorrectionFlag", js: "globalCorrectionFlag", typ: u(undefined, true) }, + { json: "ImmediateResponseFlag", js: "immediateResponseFlag", typ: u(undefined, true) }, + { json: "InfoQualify", js: "infoQualify", typ: r("InfoQualifyType") }, + { json: "InputCommand", js: "inputCommand", typ: r("InputCommandType") }, + { json: "MaskCharactersFlag", js: "maskCharactersFlag", typ: u(undefined, true) }, + { json: "MaxDecimalLength", js: "maxDecimalLength", typ: u(undefined, 3.14) }, + { json: "MaxInputTime", js: "maxInputTime", typ: u(undefined, 3.14) }, + { json: "MaxLength", js: "maxLength", typ: u(undefined, 3.14) }, + { json: "MenuBackFlag", js: "menuBackFlag", typ: u(undefined, true) }, + { json: "MinLength", js: "minLength", typ: u(undefined, 3.14) }, + { json: "NotifyCardInputFlag", js: "notifyCardInputFlag", typ: u(undefined, true) }, + { json: "StringMask", js: "stringMask", typ: u(undefined, "") }, + { json: "WaitUserValidationFlag", js: "waitUserValidationFlag", typ: u(undefined, true) }, + ], "any"), + "InputUpdate": o([ + { json: "MaxDecimalLength", js: "maxDecimalLength", typ: u(undefined, 3.14) }, + { json: "MaxLength", js: "maxLength", typ: u(undefined, 3.14) }, + { json: "MenuEntry", js: "menuEntry", typ: u(undefined, a(r("MenuEntry"))) }, + { json: "MessageReference", js: "messageReference", typ: r("MessageReference") }, + { json: "MinLength", js: "minLength", typ: u(undefined, 3.14) }, + { json: "OutputContent", js: "outputContent", typ: r("OutputContent") }, + { json: "OutputSignature", js: "outputSignature", typ: u(undefined, "any") }, + ], "any"), + "LoginRequest": o([ + { json: "CustomerOrderReq", js: "customerOrderReq", typ: u(undefined, a(r("CustomerOrderReqType"))) }, + { json: "DateTime", js: "dateTime", typ: m("any") }, + { json: "OperatorID", js: "operatorId", typ: u(undefined, "") }, + { json: "OperatorLanguage", js: "operatorLanguage", typ: "" }, + { json: "POISerialNumber", js: "poiSerialNumber", typ: u(undefined, "") }, + { json: "SaleSoftware", js: "saleSoftware", typ: r("SaleSoftware") }, + { json: "SaleTerminalData", js: "saleTerminalData", typ: u(undefined, r("SaleTerminalData")) }, + { json: "ShiftNumber", js: "shiftNumber", typ: u(undefined, "") }, + { json: "TokenRequestedType", js: "tokenRequestedType", typ: u(undefined, r("TokenRequestedType")) }, + { json: "TrainingModeFlag", js: "trainingModeFlag", typ: u(undefined, true) }, + ], "any"), + "SaleSoftware": o([ + { json: "ApplicationName", js: "applicationName", typ: "" }, + { json: "CertificationCode", js: "certificationCode", typ: "" }, + { json: "ManufacturerID", js: "manufacturerId", typ: "" }, + { json: "SoftwareVersion", js: "softwareVersion", typ: "" }, + ], "any"), + "LogoutRequest": o([ + { json: "MaintenanceAllowed", js: "maintenanceAllowed", typ: u(undefined, true) }, + ], "any"), + "MessageHeader": o([ + { json: "DeviceID", js: "deviceId", typ: u(undefined, "") }, + { json: "MessageCategory", js: "messageCategory", typ: r("MessageCategoryType") }, + { json: "MessageClass", js: "messageClass", typ: r("MessageClassType") }, + { json: "MessageType", js: "messageType", typ: r("MessageType") }, + { json: "POIID", js: "poiid", typ: "" }, + { json: "ProtocolVersion", js: "protocolVersion", typ: u(undefined, "") }, + { json: "SaleID", js: "saleId", typ: "" }, + { json: "ServiceID", js: "serviceId", typ: u(undefined, "") }, + ], "any"), + "PinRequest": o([ + { json: "AdditionalInput", js: "additionalInput", typ: u(undefined, "") }, + { json: "CardholderPIN", js: "cardholderPin", typ: u(undefined, r("CardholderPin")) }, + { json: "KeyReference", js: "keyReference", typ: u(undefined, "") }, + { json: "MaxWaitingTime", js: "maxWaitingTime", typ: u(undefined, 3.14) }, + { json: "PINEncAlgorithm", js: "pinEncAlgorithm", typ: u(undefined, "") }, + { json: "PINFormat", js: "pinFormat", typ: u(undefined, r("PinFormatType")) }, + { json: "PINRequestType", js: "pinRequestType", typ: r("PinRequestType") }, + { json: "PINVerifMethod", js: "pinVerifMethod", typ: u(undefined, "") }, + ], "any"), + "CardholderPin": o([ + { json: "AdditionalInput", js: "additionalInput", typ: u(undefined, "") }, + { json: "EncrPINBlock", js: "encrPinBlock", typ: r("ContentInformation") }, + { json: "PINFormat", js: "pinFormat", typ: r("PinFormatType") }, + ], "any"), + "PrintRequest": o([ + { json: "PrintOutput", js: "printOutput", typ: r("PrintOutput") }, + ], "any"), + "PrintOutput": o([ + { json: "DocumentQualifier", js: "documentQualifier", typ: r("DocumentQualifierType") }, + { json: "IntegratedPrintFlag", js: "integratedPrintFlag", typ: u(undefined, true) }, + { json: "OutputContent", js: "outputContent", typ: r("OutputContent") }, + { json: "OutputSignature", js: "outputSignature", typ: u(undefined, "any") }, + { json: "RequiredSignatureFlag", js: "requiredSignatureFlag", typ: u(undefined, true) }, + { json: "ResponseMode", js: "responseMode", typ: r("ResponseModeType") }, + ], "any"), + "ReconciliationRequest": o([ + { json: "AcquirerID", js: "acquirerId", typ: u(undefined, a("")) }, + { json: "POIReconciliationID", js: "poiReconciliationId", typ: u(undefined, "") }, + { json: "ReconciliationType", js: "reconciliationType", typ: r("ReconciliationType") }, + ], "any"), + "SoundRequest": o([ + { json: "ResponseMode", js: "responseMode", typ: u(undefined, r("ResponseModeType")) }, + { json: "SoundAction", js: "soundAction", typ: r("SoundActionType") }, + { json: "SoundContent", js: "soundContent", typ: r("SoundContent") }, + { json: "SoundVolume", js: "soundVolume", typ: u(undefined, 3.14) }, + ], "any"), + "SoundContent": o([ + { json: "Language", js: "language", typ: u(undefined, "") }, + { json: "ReferenceID", js: "referenceId", typ: u(undefined, "") }, + { json: "SoundFormat", js: "soundFormat", typ: u(undefined, r("SoundFormatType")) }, + { json: "value", js: "value", typ: u(undefined, "") }, + ], "any"), + "StoredValueRequest": o([ + { json: "CustomerLanguage", js: "customerLanguage", typ: u(undefined, "") }, + { json: "SaleData", js: "saleData", typ: r("SaleData") }, + { json: "StoredValueData", js: "storedValueData", typ: a(r("StoredValueData")) }, + ], "any"), + "StoredValueData": o([ + { json: "Currency", js: "currency", typ: "" }, + { json: "EanUpc", js: "eanUpc", typ: u(undefined, "") }, + { json: "ItemAmount", js: "itemAmount", typ: 3.14 }, + { json: "OriginalPOITransaction", js: "originalPoiTransaction", typ: u(undefined, r("OriginalPoiTransaction")) }, + { json: "ProductCode", js: "productCode", typ: u(undefined, "") }, + { json: "StoredValueAccountID", js: "storedValueAccountId", typ: u(undefined, r("StoredValueAccountId")) }, + { json: "StoredValueProvider", js: "storedValueProvider", typ: u(undefined, "") }, + { json: "StoredValueTransactionType", js: "storedValueTransactionType", typ: r("StoredValueTransactionType") }, + ], "any"), + "StoredValueAccountId": o([ + { json: "EntryMode", js: "entryMode", typ: a(r("EntryModeType")) }, + { json: "ExpiryDate", js: "expiryDate", typ: u(undefined, "") }, + { json: "IdentificationType", js: "identificationType", typ: r("IdentificationType") }, + { json: "OwnerName", js: "ownerName", typ: u(undefined, "") }, + { json: "StoredValueAccountType", js: "storedValueAccountType", typ: r("StoredValueAccountType") }, + { json: "StoredValueProvider", js: "storedValueProvider", typ: u(undefined, "") }, + { json: "value", js: "value", typ: u(undefined, "") }, + ], "any"), + "TransactionStatusRequest": o([ + { json: "DocumentQualifier", js: "documentQualifier", typ: u(undefined, a(r("DocumentQualifierType"))) }, + { json: "MessageReference", js: "messageReference", typ: u(undefined, r("MessageReference")) }, + { json: "ReceiptReprintFlag", js: "receiptReprintFlag", typ: u(undefined, true) }, + ], "any"), + "TransmitRequest": o([ + { json: "DestinationAddress", js: "destinationAddress", typ: "" }, + { json: "MaximumTransmitTime", js: "maximumTransmitTime", typ: 3.14 }, + { json: "Message", js: "message", typ: "any" }, + { json: "WaitResponseFlag", js: "waitResponseFlag", typ: u(undefined, true) }, + ], "any"), + "TerminalApiResponse": o([ + { json: "SaleToPOIResponse", js: "saleToPoiResponse", typ: u(undefined, r("SaleToPoiResponse")) }, + ], "any"), + "SaleToPoiResponse": o([ + { json: "AdminResponse", js: "adminResponse", typ: u(undefined, r("AdminResponse")) }, + { json: "BalanceInquiryResponse", js: "balanceInquiryResponse", typ: u(undefined, r("BalanceInquiryResponse")) }, + { json: "BatchResponse", js: "batchResponse", typ: u(undefined, r("BatchResponse")) }, + { json: "CardAcquisitionResponse", js: "cardAcquisitionResponse", typ: u(undefined, r("CardAcquisitionResponse")) }, + { json: "CardReaderAPDUResponse", js: "cardReaderApduResponse", typ: u(undefined, r("CardReaderApduResponse")) }, + { json: "CardReaderInitResponse", js: "cardReaderInitResponse", typ: u(undefined, r("CardReaderInitResponse")) }, + { json: "CardReaderPowerOffResponse", js: "cardReaderPowerOffResponse", typ: u(undefined, r("CardReaderPowerOffResponse")) }, + { json: "DiagnosisResponse", js: "diagnosisResponse", typ: u(undefined, r("DiagnosisResponse")) }, + { json: "DisplayResponse", js: "displayResponse", typ: u(undefined, r("DisplayResponse")) }, + { json: "EnableServiceResponse", js: "enableServiceResponse", typ: u(undefined, r("EnableServiceResponse")) }, + { json: "GetTotalsResponse", js: "getTotalsResponse", typ: u(undefined, r("GetTotalsResponse")) }, + { json: "InputResponse", js: "inputResponse", typ: u(undefined, r("InputResponse")) }, + { json: "LoginResponse", js: "loginResponse", typ: u(undefined, r("LoginResponse")) }, + { json: "LogoutResponse", js: "logoutResponse", typ: u(undefined, r("LogoutResponse")) }, + { json: "LoyaltyResponse", js: "loyaltyResponse", typ: u(undefined, r("LoyaltyResponse")) }, + { json: "MessageHeader", js: "messageHeader", typ: r("MessageHeader") }, + { json: "PaymentResponse", js: "paymentResponse", typ: u(undefined, r("PaymentResponse")) }, + { json: "PINResponse", js: "pinResponse", typ: u(undefined, r("PinResponse")) }, + { json: "PrintResponse", js: "printResponse", typ: u(undefined, r("PrintResponse")) }, + { json: "ReconciliationResponse", js: "reconciliationResponse", typ: u(undefined, r("ReconciliationResponse")) }, + { json: "ReversalResponse", js: "reversalResponse", typ: u(undefined, r("ReversalResponse")) }, + { json: "SecurityTrailer", js: "securityTrailer", typ: u(undefined, r("ContentInformation")) }, + { json: "SoundResponse", js: "soundResponse", typ: u(undefined, r("SoundResponse")) }, + { json: "StoredValueResponse", js: "storedValueResponse", typ: u(undefined, r("StoredValueResponse")) }, + { json: "TransactionStatusResponse", js: "transactionStatusResponse", typ: u(undefined, r("TransactionStatusResponse")) }, + { json: "TransmitResponse", js: "transmitResponse", typ: u(undefined, r("TransmitResponse")) }, + ], "any"), + "AdminResponse": o([ + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "Response": o([ + { json: "AdditionalResponse", js: "additionalResponse", typ: u(undefined, "") }, + { json: "ErrorCondition", js: "errorCondition", typ: u(undefined, r("ErrorConditionType")) }, + { json: "Result", js: "result", typ: r("ResultType") }, + ], "any"), + "BalanceInquiryResponse": o([ + { json: "LoyaltyAccountStatus", js: "loyaltyAccountStatus", typ: u(undefined, r("LoyaltyAccountStatus")) }, + { json: "PaymentAccountStatus", js: "paymentAccountStatus", typ: u(undefined, r("PaymentAccountStatus")) }, + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "LoyaltyAccountStatus": o([ + { json: "Currency", js: "currency", typ: u(undefined, "") }, + { json: "CurrentBalance", js: "currentBalance", typ: u(undefined, 3.14) }, + { json: "LoyaltyAccount", js: "loyaltyAccount", typ: r("LoyaltyAccount") }, + { json: "LoyaltyUnit", js: "loyaltyUnit", typ: u(undefined, r("LoyaltyUnitType")) }, + ], "any"), + "LoyaltyAccount": o([ + { json: "LoyaltyAccountID", js: "loyaltyAccountId", typ: r("LoyaltyAccountId") }, + { json: "LoyaltyBrand", js: "loyaltyBrand", typ: u(undefined, "") }, + ], "any"), + "PaymentAccountStatus": o([ + { json: "Currency", js: "currency", typ: u(undefined, "") }, + { json: "CurrentBalance", js: "currentBalance", typ: u(undefined, 3.14) }, + { json: "LoyaltyAccountStatus", js: "loyaltyAccountStatus", typ: u(undefined, r("LoyaltyAccountStatus")) }, + { json: "PaymentAcquirerData", js: "paymentAcquirerData", typ: u(undefined, r("PaymentAcquirerData")) }, + { json: "PaymentInstrumentData", js: "paymentInstrumentData", typ: u(undefined, r("PaymentInstrumentData")) }, + ], "any"), + "PaymentAcquirerData": o([ + { json: "AcquirerID", js: "acquirerId", typ: u(undefined, "") }, + { json: "AcquirerPOIID", js: "acquirerPoiid", typ: "" }, + { json: "AcquirerTransactionID", js: "acquirerTransactionId", typ: u(undefined, r("TransactionIdentification")) }, + { json: "ApprovalCode", js: "approvalCode", typ: u(undefined, "") }, + { json: "MerchantID", js: "merchantId", typ: "" }, + ], "any"), + "BatchResponse": o([ + { json: "PerformedTransaction", js: "performedTransaction", typ: u(undefined, a(r("PerformedTransaction"))) }, + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "PerformedTransaction": o([ + { json: "LoyaltyResult", js: "loyaltyResult", typ: u(undefined, a(r("LoyaltyResult"))) }, + { json: "PaymentResult", js: "paymentResult", typ: u(undefined, r("PaymentResult")) }, + { json: "POIData", js: "poiData", typ: r("PoiData") }, + { json: "Response", js: "response", typ: r("Response") }, + { json: "ReversedAmount", js: "reversedAmount", typ: u(undefined, 3.14) }, + { json: "SaleData", js: "saleData", typ: u(undefined, r("SaleData")) }, + ], "any"), + "LoyaltyResult": o([ + { json: "CurrentBalance", js: "currentBalance", typ: u(undefined, 3.14) }, + { json: "LoyaltyAccount", js: "loyaltyAccount", typ: r("LoyaltyAccount") }, + { json: "LoyaltyAcquirerData", js: "loyaltyAcquirerData", typ: u(undefined, r("LoyaltyAcquirerData")) }, + { json: "LoyaltyAmount", js: "loyaltyAmount", typ: u(undefined, r("LoyaltyAmount")) }, + { json: "Rebates", js: "rebates", typ: u(undefined, r("Rebates")) }, + ], "any"), + "LoyaltyAcquirerData": o([ + { json: "ApprovalCode", js: "approvalCode", typ: u(undefined, "") }, + { json: "HostReconciliationID", js: "hostReconciliationId", typ: u(undefined, "") }, + { json: "LoyaltyAcquirerID", js: "loyaltyAcquirerId", typ: u(undefined, "") }, + { json: "LoyaltyTransactionID", js: "loyaltyTransactionId", typ: u(undefined, r("TransactionIdentification")) }, + ], "any"), + "Rebates": o([ + { json: "RebateLabel", js: "rebateLabel", typ: u(undefined, "") }, + { json: "SaleItemRebate", js: "saleItemRebate", typ: u(undefined, a(r("SaleItemRebate"))) }, + { json: "TotalRebate", js: "totalRebate", typ: u(undefined, 3.14) }, + ], "any"), + "SaleItemRebate": o([ + { json: "EanUpc", js: "eanUpc", typ: u(undefined, "") }, + { json: "ItemAmount", js: "itemAmount", typ: u(undefined, 3.14) }, + { json: "ItemID", js: "itemId", typ: 3.14 }, + { json: "ProductCode", js: "productCode", typ: "" }, + { json: "Quantity", js: "quantity", typ: u(undefined, 3.14) }, + { json: "RebateLabel", js: "rebateLabel", typ: u(undefined, "") }, + { json: "UnitOfMeasure", js: "unitOfMeasure", typ: u(undefined, r("UnitOfMeasureType")) }, + ], "any"), + "PoiData": o([ + { json: "POIReconciliationID", js: "poiReconciliationId", typ: u(undefined, "") }, + { json: "POITransactionID", js: "poiTransactionId", typ: r("TransactionIdentification") }, + ], "any"), + "PaymentResult": o([ + { json: "AmountsResp", js: "amountsResp", typ: u(undefined, r("AmountsResp")) }, + { json: "AuthenticationMethod", js: "authenticationMethod", typ: u(undefined, a(r("AuthenticationMethodType"))) }, + { json: "CapturedSignature", js: "capturedSignature", typ: u(undefined, r("CapturedSignature")) }, + { json: "CurrencyConversion", js: "currencyConversion", typ: u(undefined, a(r("CurrencyConversion"))) }, + { json: "CustomerLanguage", js: "customerLanguage", typ: u(undefined, "") }, + { json: "Instalment", js: "instalment", typ: u(undefined, r("Instalment")) }, + { json: "MerchantOverrideFlag", js: "merchantOverrideFlag", typ: u(undefined, true) }, + { json: "OnlineFlag", js: "onlineFlag", typ: u(undefined, true) }, + { json: "PaymentAcquirerData", js: "paymentAcquirerData", typ: u(undefined, r("PaymentAcquirerData")) }, + { json: "PaymentInstrumentData", js: "paymentInstrumentData", typ: u(undefined, r("PaymentInstrumentData")) }, + { json: "PaymentType", js: "paymentType", typ: u(undefined, r("PaymentType")) }, + { json: "ProtectedSignature", js: "protectedSignature", typ: u(undefined, r("ContentInformation")) }, + { json: "ValidityDate", js: "validityDate", typ: u(undefined, "") }, + ], "any"), + "AmountsResp": o([ + { json: "AuthorizedAmount", js: "authorizedAmount", typ: 3.14 }, + { json: "CashBackAmount", js: "cashBackAmount", typ: u(undefined, 3.14) }, + { json: "Currency", js: "currency", typ: u(undefined, "") }, + { json: "TipAmount", js: "tipAmount", typ: u(undefined, 3.14) }, + { json: "TotalFeesAmount", js: "totalFeesAmount", typ: u(undefined, 3.14) }, + { json: "TotalRebatesAmount", js: "totalRebatesAmount", typ: u(undefined, 3.14) }, + ], "any"), + "CapturedSignature": o([ + { json: "AreaSize", js: "areaSize", typ: u(undefined, r("AreaSize")) }, + { json: "SignaturePoint", js: "signaturePoint", typ: a(r("SignaturePoint")) }, + ], "any"), + "AreaSize": o([ + { json: "X", js: "x", typ: "" }, + { json: "Y", js: "y", typ: "" }, + ], "any"), + "SignaturePoint": o([ + { json: "X", js: "x", typ: "" }, + { json: "Y", js: "y", typ: "" }, + ], "any"), + "CurrencyConversion": o([ + { json: "Commission", js: "commission", typ: u(undefined, 3.14) }, + { json: "ConvertedAmount", js: "convertedAmount", typ: r("Amount") }, + { json: "CustomerApprovedFlag", js: "customerApprovedFlag", typ: u(undefined, true) }, + { json: "Declaration", js: "declaration", typ: u(undefined, "") }, + { json: "Markup", js: "markup", typ: u(undefined, 3.14) }, + { json: "Rate", js: "rate", typ: u(undefined, 3.14) }, + ], "any"), + "Amount": o([ + { json: "Currency", js: "currency", typ: u(undefined, "") }, + { json: "value", js: "value", typ: u(undefined, 3.14) }, + ], "any"), + "CardAcquisitionResponse": o([ + { json: "CustomerOrder", js: "customerOrder", typ: u(undefined, a(r("CustomerOrder"))) }, + { json: "LoyaltyAccount", js: "loyaltyAccount", typ: u(undefined, a(r("LoyaltyAccount"))) }, + { json: "PaymentBrand", js: "paymentBrand", typ: u(undefined, a("")) }, + { json: "PaymentInstrumentData", js: "paymentInstrumentData", typ: u(undefined, r("PaymentInstrumentData")) }, + { json: "POIData", js: "poiData", typ: r("PoiData") }, + { json: "Response", js: "response", typ: r("Response") }, + { json: "SaleData", js: "saleData", typ: r("SaleData") }, + ], "any"), + "CardReaderApduResponse": o([ + { json: "APDUData", js: "apduData", typ: u(undefined, "any") }, + { json: "CardStatusWords", js: "cardStatusWords", typ: "any" }, + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "CardReaderInitResponse": o([ + { json: "EntryMode", js: "entryMode", typ: u(undefined, a(r("EntryModeType"))) }, + { json: "ICCResetData", js: "iccResetData", typ: u(undefined, r("IccResetData")) }, + { json: "Response", js: "response", typ: r("Response") }, + { json: "TrackData", js: "trackData", typ: u(undefined, a(r("TrackData"))) }, + ], "any"), + "IccResetData": o([ + { json: "ATRValue", js: "atrValue", typ: u(undefined, "any") }, + { json: "CardStatusWords", js: "cardStatusWords", typ: u(undefined, "any") }, + ], "any"), + "CardReaderPowerOffResponse": o([ + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "DiagnosisResponse": o([ + { json: "HostStatus", js: "hostStatus", typ: u(undefined, a(r("HostStatus"))) }, + { json: "LoggedSaleID", js: "loggedSaleId", typ: u(undefined, a("")) }, + { json: "POIStatus", js: "poiStatus", typ: u(undefined, r("PoiStatus")) }, + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "HostStatus": o([ + { json: "AcquirerID", js: "acquirerId", typ: "" }, + { json: "IsReachableFlag", js: "isReachableFlag", typ: u(undefined, true) }, + ], "any"), + "PoiStatus": o([ + { json: "CardReaderOKFlag", js: "cardReaderOkFlag", typ: u(undefined, true) }, + { json: "CashHandlingDevice", js: "cashHandlingDevice", typ: u(undefined, a(r("CashHandlingDevice"))) }, + { json: "CommunicationOKFlag", js: "communicationOkFlag", typ: u(undefined, true) }, + { json: "FraudPreventionFlag", js: "fraudPreventionFlag", typ: u(undefined, true) }, + { json: "GlobalStatus", js: "globalStatus", typ: r("GlobalStatusType") }, + { json: "PEDOKFlag", js: "pedokFlag", typ: u(undefined, true) }, + { json: "PrinterStatus", js: "printerStatus", typ: u(undefined, r("PrinterStatusType")) }, + { json: "SecurityOKFlag", js: "securityOkFlag", typ: u(undefined, true) }, + ], "any"), + "CashHandlingDevice": o([ + { json: "CashHandlingOKFlag", js: "cashHandlingOkFlag", typ: true }, + { json: "CoinsOrBills", js: "coinsOrBills", typ: a(r("CoinsOrBills")) }, + { json: "Currency", js: "currency", typ: "" }, + ], "any"), + "CoinsOrBills": o([ + { json: "Number", js: "number", typ: 3.14 }, + { json: "UnitValue", js: "unitValue", typ: 3.14 }, + ], "any"), + "DisplayResponse": o([ + { json: "OutputResult", js: "outputResult", typ: a(r("OutputResult")) }, + ], "any"), + "OutputResult": o([ + { json: "Device", js: "device", typ: r("DeviceType") }, + { json: "InfoQualify", js: "infoQualify", typ: r("InfoQualifyType") }, + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "EnableServiceResponse": o([ + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "GetTotalsResponse": o([ + { json: "POIReconciliationID", js: "poiReconciliationId", typ: "" }, + { json: "Response", js: "response", typ: r("Response") }, + { json: "TransactionTotals", js: "transactionTotals", typ: u(undefined, a(r("TransactionTotals"))) }, + ], "any"), + "TransactionTotals": o([ + { json: "AcquirerID", js: "acquirerId", typ: u(undefined, "") }, + { json: "CardBrand", js: "cardBrand", typ: u(undefined, "") }, + { json: "ErrorCondition", js: "errorCondition", typ: u(undefined, r("ErrorConditionType")) }, + { json: "HostReconciliationID", js: "hostReconciliationId", typ: u(undefined, "") }, + { json: "LoyaltyCurrency", js: "loyaltyCurrency", typ: u(undefined, "") }, + { json: "LoyaltyTotals", js: "loyaltyTotals", typ: u(undefined, a(r("LoyaltyTotals"))) }, + { json: "LoyaltyUnit", js: "loyaltyUnit", typ: u(undefined, r("LoyaltyUnitType")) }, + { json: "OperatorID", js: "operatorId", typ: u(undefined, "") }, + { json: "PaymentCurrency", js: "paymentCurrency", typ: u(undefined, "") }, + { json: "PaymentInstrumentType", js: "paymentInstrumentType", typ: r("PaymentInstrumentType") }, + { json: "PaymentTotals", js: "paymentTotals", typ: u(undefined, a(r("PaymentTotals"))) }, + { json: "POIID", js: "poiid", typ: u(undefined, "") }, + { json: "SaleID", js: "saleId", typ: u(undefined, "") }, + { json: "ShiftNumber", js: "shiftNumber", typ: u(undefined, "") }, + { json: "TotalsGroupID", js: "totalsGroupId", typ: u(undefined, "") }, + ], "any"), + "LoyaltyTotals": o([ + { json: "TransactionAmount", js: "transactionAmount", typ: 3.14 }, + { json: "TransactionCount", js: "transactionCount", typ: 3.14 }, + { json: "TransactionType", js: "transactionType", typ: r("TransactionType") }, + ], "any"), + "PaymentTotals": o([ + { json: "TransactionAmount", js: "transactionAmount", typ: 3.14 }, + { json: "TransactionCount", js: "transactionCount", typ: 3.14 }, + { json: "TransactionType", js: "transactionType", typ: r("TransactionType") }, + ], "any"), + "InputResponse": o([ + { json: "InputResult", js: "inputResult", typ: r("InputResult") }, + { json: "OutputResult", js: "outputResult", typ: u(undefined, r("OutputResult")) }, + ], "any"), + "InputResult": o([ + { json: "Device", js: "device", typ: r("DeviceType") }, + { json: "InfoQualify", js: "infoQualify", typ: r("InfoQualifyType") }, + { json: "Input", js: "input", typ: u(undefined, r("Input")) }, + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "Input": o([ + { json: "ConfirmedFlag", js: "confirmedFlag", typ: u(undefined, true) }, + { json: "DigitInput", js: "digitInput", typ: u(undefined, "") }, + { json: "FunctionKey", js: "functionKey", typ: u(undefined, "") }, + { json: "InputCommand", js: "inputCommand", typ: r("InputCommandType") }, + { json: "MenuEntryNumber", js: "menuEntryNumber", typ: u(undefined, 3.14) }, + { json: "Password", js: "password", typ: u(undefined, r("ContentInformation")) }, + { json: "TextInput", js: "textInput", typ: u(undefined, "") }, + ], "any"), + "LoginResponse": o([ + { json: "POISystemData", js: "poiSystemData", typ: u(undefined, r("PoiSystemData")) }, + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "PoiSystemData": o([ + { json: "DateTime", js: "dateTime", typ: m("any") }, + { json: "POISoftware", js: "poiSoftware", typ: r("PoiSoftware") }, + { json: "POIStatus", js: "poiStatus", typ: u(undefined, r("PoiStatus")) }, + { json: "POITerminalData", js: "poiTerminalData", typ: u(undefined, r("PoiTerminalData")) }, + ], "any"), + "PoiSoftware": o([ + { json: "ApplicationName", js: "applicationName", typ: "" }, + { json: "CertificationCode", js: "certificationCode", typ: "" }, + { json: "ManufacturerID", js: "manufacturerId", typ: "" }, + { json: "SoftwareVersion", js: "softwareVersion", typ: "" }, + ], "any"), + "PoiTerminalData": o([ + { json: "POICapabilities", js: "poiCapabilities", typ: a(r("PoiCapabilitiesType")) }, + { json: "POIProfile", js: "poiProfile", typ: u(undefined, r("PoiProfile")) }, + { json: "POISerialNumber", js: "poiSerialNumber", typ: "" }, + { json: "TerminalEnvironment", js: "terminalEnvironment", typ: r("TerminalEnvironmentType") }, + ], "any"), + "PoiProfile": o([ + { json: "GenericProfile", js: "genericProfile", typ: u(undefined, r("GenericProfileType")) }, + { json: "ServiceProfiles", js: "serviceProfiles", typ: u(undefined, a(r("ServiceProfilesType"))) }, + ], "any"), + "LogoutResponse": o([ + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "LoyaltyResponse": o([ + { json: "LoyaltyResult", js: "loyaltyResult", typ: u(undefined, a(r("LoyaltyResult"))) }, + { json: "PaymentReceipt", js: "paymentReceipt", typ: u(undefined, a(r("PaymentReceipt"))) }, + { json: "POIData", js: "poiData", typ: r("PoiData") }, + { json: "Response", js: "response", typ: r("Response") }, + { json: "SaleData", js: "saleData", typ: r("SaleData") }, + ], "any"), + "PaymentReceipt": o([ + { json: "DocumentQualifier", js: "documentQualifier", typ: r("DocumentQualifierType") }, + { json: "IntegratedPrintFlag", js: "integratedPrintFlag", typ: u(undefined, true) }, + { json: "OutputContent", js: "outputContent", typ: r("OutputContent") }, + { json: "RequiredSignatureFlag", js: "requiredSignatureFlag", typ: u(undefined, true) }, + ], "any"), + "PinResponse": o([ + { json: "CardholderPIN", js: "cardholderPin", typ: u(undefined, r("CardholderPin")) }, + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "PaymentResponse": o([ + { json: "CustomerOrder", js: "customerOrder", typ: u(undefined, a(r("CustomerOrder"))) }, + { json: "LoyaltyResult", js: "loyaltyResult", typ: u(undefined, a(r("LoyaltyResult"))) }, + { json: "PaymentReceipt", js: "paymentReceipt", typ: u(undefined, a(r("PaymentReceipt"))) }, + { json: "PaymentResult", js: "paymentResult", typ: u(undefined, r("PaymentResult")) }, + { json: "POIData", js: "poiData", typ: r("PoiData") }, + { json: "Response", js: "response", typ: r("Response") }, + { json: "SaleData", js: "saleData", typ: r("SaleData") }, + ], "any"), + "PrintResponse": o([ + { json: "DocumentQualifier", js: "documentQualifier", typ: r("DocumentQualifierType") }, + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "ReconciliationResponse": o([ + { json: "POIReconciliationID", js: "poiReconciliationId", typ: u(undefined, "") }, + { json: "ReconciliationType", js: "reconciliationType", typ: r("ReconciliationType") }, + { json: "Response", js: "response", typ: r("Response") }, + { json: "TransactionTotals", js: "transactionTotals", typ: u(undefined, a(r("TransactionTotals"))) }, + ], "any"), + "ReversalResponse": o([ + { json: "CustomerOrderID", js: "customerOrderId", typ: u(undefined, "") }, + { json: "OriginalPOITransaction", js: "originalPoiTransaction", typ: u(undefined, r("OriginalPoiTransaction")) }, + { json: "PaymentReceipt", js: "paymentReceipt", typ: u(undefined, a(r("PaymentReceipt"))) }, + { json: "POIData", js: "poiData", typ: u(undefined, r("PoiData")) }, + { json: "Response", js: "response", typ: r("Response") }, + { json: "ReversedAmount", js: "reversedAmount", typ: u(undefined, 3.14) }, + ], "any"), + "SoundResponse": o([ + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "StoredValueResponse": o([ + { json: "POIData", js: "poiData", typ: r("PoiData") }, + { json: "Response", js: "response", typ: r("Response") }, + { json: "SaleData", js: "saleData", typ: r("SaleData") }, + { json: "StoredValueResult", js: "storedValueResult", typ: u(undefined, a(r("StoredValueResult"))) }, + ], "any"), + "StoredValueResult": o([ + { json: "Currency", js: "currency", typ: "" }, + { json: "EanUpc", js: "eanUpc", typ: u(undefined, "") }, + { json: "HostTransactionID", js: "hostTransactionId", typ: u(undefined, r("TransactionIdentification")) }, + { json: "ItemAmount", js: "itemAmount", typ: 3.14 }, + { json: "ProductCode", js: "productCode", typ: "" }, + { json: "StoredValueAccountStatus", js: "storedValueAccountStatus", typ: r("StoredValueAccountStatus") }, + { json: "StoredValueTransactionType", js: "storedValueTransactionType", typ: r("StoredValueTransactionType") }, + ], "any"), + "StoredValueAccountStatus": o([ + { json: "CurrentBalance", js: "currentBalance", typ: u(undefined, 3.14) }, + { json: "StoredValueAccountID", js: "storedValueAccountId", typ: r("StoredValueAccountId") }, + ], "any"), + "TransactionStatusResponse": o([ + { json: "MessageReference", js: "messageReference", typ: u(undefined, r("MessageReference")) }, + { json: "RepeatedMessageResponse", js: "repeatedMessageResponse", typ: u(undefined, r("RepeatedMessageResponse")) }, + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "RepeatedMessageResponse": o([ + { json: "MessageHeader", js: "messageHeader", typ: r("MessageHeader") }, + { json: "RepeatedResponseMessageBody", js: "repeatedResponseMessageBody", typ: r("RepeatedResponseMessageBody") }, + ], "any"), + "RepeatedResponseMessageBody": o([ + { json: "CardAcquisitionResponse", js: "cardAcquisitionResponse", typ: u(undefined, r("CardAcquisitionResponse")) }, + { json: "CardReaderAPDUResponse", js: "cardReaderApduResponse", typ: u(undefined, r("CardReaderApduResponse")) }, + { json: "LoyaltyResponse", js: "loyaltyResponse", typ: u(undefined, r("LoyaltyResponse")) }, + { json: "PaymentResponse", js: "paymentResponse", typ: u(undefined, r("PaymentResponse")) }, + { json: "ReversalResponse", js: "reversalResponse", typ: u(undefined, r("ReversalResponse")) }, + { json: "StoredValueResponse", js: "storedValueResponse", typ: u(undefined, r("StoredValueResponse")) }, + ], "any"), + "TransmitResponse": o([ + { json: "Message", js: "message", typ: u(undefined, "any") }, + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "TerminalApiSecuredRequest": o([ + { json: "SaleToPOIRequest", js: "saleToPoiRequest", typ: u(undefined, r("SaleToPoiSecuredMessage")) }, + ], "any"), + "SaleToPoiSecuredMessage": o([ + { json: "MessageHeader", js: "messageHeader", typ: u(undefined, r("MessageHeader")) }, + { json: "NexoBlob", js: "nexoBlob", typ: u(undefined, "") }, + { json: "SecurityTrailer", js: "securityTrailer", typ: u(undefined, r("SecurityTrailer")) }, + ], "any"), + "SecurityTrailer": o([ + { json: "AdyenCryptoVersion", js: "adyenCryptoVersion", typ: u(undefined, 3.14) }, + { json: "Hmac", js: "hmac", typ: u(undefined, "any") }, + { json: "KeyIdentifier", js: "keyIdentifier", typ: u(undefined, "") }, + { json: "KeyVersion", js: "keyVersion", typ: u(undefined, 3.14) }, + { json: "Nonce", js: "nonce", typ: u(undefined, "any") }, + ], "any"), + "TerminalApiSecuredResponse": o([ + { json: "SaleToPOIResponse", js: "saleToPoiResponse", typ: u(undefined, r("SaleToPoiSecuredMessage")) }, + ], "any"), + "NexoDerivedKey": o([ + { json: "CipherKey", js: "cipherKey", typ: u(undefined, "any") }, + { json: "HmacKey", js: "hmacKey", typ: u(undefined, "any") }, + { json: "Iv", js: "iv", typ: u(undefined, "any") }, + ], "any"), + "SecurityKey": o([ + { json: "adyenCryptoVersion", js: "adyenCryptoVersion", typ: u(undefined, 3.14) }, + { json: "keyIdentifier", js: "keyIdentifier", typ: u(undefined, "") }, + { json: "keyVersion", js: "keyVersion", typ: u(undefined, 3.14) }, + { json: "passphrase", js: "passphrase", typ: u(undefined, "") }, + ], "any"), + "DeviceType": [ + "CashierDisplay", + "CashierInput", + "CustomerDisplay", + "CustomerInput", + ], + "InfoQualifyType": [ + "CustomerAssistance", + "Display", + "Document", + "Error", + "Input", + "POIReplication", + "Receipt", + "Sound", + "Status", + "Voucher", + ], + "MenuEntryTagType": [ + "NonSelectable", + "NonSelectableSubMenu", + "Selectable", + "SubMenu", + ], + "OutputFormatType": [ + "BarCode", + "MessageRef", + "Text", + "XHTML", + ], + "AlignmentType": [ + "Centred", + "Justified", + "Left", + "Right", + ], + "CharacterHeightType": [ + "DoubleHeight", + "HalfHeight", + "SingleHeight", + ], + "CharacterStyleType": [ + "Bold", + "Italic", + "Normal", + "Underlined", + ], + "CharacterWidthType": [ + "DoubleWidth", + "SingleWidth", + ], + "ColorType": [ + "Black", + "Blue", + "Cyan", + "Green", + "Magenta", + "Red", + "White", + "Yellow", + ], + "BarcodeType": [ + "Code128", + "Code25", + "EAN13", + "EAN8", + "PDF417", + "QRCODE", + "UPCA", + ], + "MessageCategoryType": [ + "Abort", + "Admin", + "BalanceInquiry", + "Batch", + "CardAcquisition", + "CardReaderAPDU", + "CardReaderInit", + "CardReaderPowerOff", + "Diagnosis", + "Display", + "EnableService", + "Event", + "GetTotals", + "Input", + "InputUpdate", + "Login", + "Logout", + "Loyalty", + "Payment", + "PIN", + "Print", + "Reconciliation", + "Reversal", + "Sound", + "StoredValue", + "TransactionStatus", + "Transmit", + ], + "EntryModeType": [ + "Contactless", + "File", + "ICC", + "Keyed", + "MagStripe", + "Manual", + "Mobile", + "RFID", + "Scanned", + "SynchronousICC", + "Tapped", + ], + "IdentificationSupportType": [ + "HybridCard", + "LinkedCard", + "LoyaltyCard", + "NoCard", + ], + "IdentificationType": [ + "AccountNumber", + "BarCode", + "ISOTrack2", + "PAN", + "PhoneNumber", + ], + "AccountType": [ + "CardTotals", + "Checking", + "CreditCard", + "Default", + "EpurseCard", + "Investment", + "Savings", + "Universal", + ], + "TokenRequestedType": [ + "Customer", + "Transaction", + ], + "ContentType": [ + "id-ct-authData", + "id-data", + "id-digestedData", + "id-encryptedData", + "id-envelopedData", + "id-signedData", + ], + "AlgorithmType": [ + "des-ede3-cbc", + "des-ede3-ecb", + "id-dukpt-wrap", + "id-retail-cbc-mac", + "id-retail-cbc-mac-sha-256", + "id-sha256", + "id-ukpt-wrap ", + "rsaEncryption", + "sha256WithRSAEncryption", + ], + "VersionType": [ + "v0", + "v1", + "v2", + "v3", + "v4", + "v5", + ], + "TrackFormatType": [ + "AAMVA", + "CMC-7", + "E-13B", + "ISO", + "JIS-I", + "JIS-II", + ], + "CheckTypeCodeType": [ + "Company", + "Personal", + ], + "PaymentInstrumentType": [ + "Card", + "Cash", + "Check", + "Mobile", + "StoredValue", + ], + "LoyaltyUnitType": [ + "Monetary", + "Point", + ], + "LoyaltyTransactionType": [ + "Award", + "AwardRefund", + "Rebate", + "RebateRefund", + "Redemption", + "RedemptionRefund", + ], + "UnitOfMeasureType": [ + "Case", + "Centilitre", + "Centimetre", + "Foot", + "Gram", + "Inch", + "Kilogram", + "Kilometre", + "Litre", + "Meter", + "Mile", + "Other", + "Ounce", + "Pint", + "Pound", + "Quart", + "UKGallon", + "USGallon", + "Yard", + ], + "ForceEntryModeType": [ + "CheckReader", + "Contactless", + "File", + "ICC", + "Keyed", + "MagStripe", + "Manual", + "RFID", + "Scanned", + "SynchronousICC", + "Tapped", + ], + "LoyaltyHandlingType": [ + "Allowed", + "Forbidden", + "Processed", + "Proposed", + "Required", + ], + "CustomerOrderReqType": [ + "Both", + "Closed", + "Open", + ], + "SaleCapabilitiesType": [ + "CashierDisplay", + "CashierError", + "CashierInput", + "CashierStatus", + "CustomerAssistance", + "CustomerDisplay", + "CustomerError", + "CustomerInput", + "EMVContactless", + "ICC", + "MagStripe", + "POIReplication", + "PrinterDocument", + "PrinterReceipt", + "PrinterVoucher", + ], + "GenericProfileType": [ + "Basic", + "Extended", + "Standard", + ], + "ServiceProfilesType": [ + "Batch", + "CardReader", + "Communication", + "Loyalty", + "OneTimeRes", + "PIN", + "Reservation", + "Sound", + "StoredValue", + "Synchro", + ], + "TerminalEnvironmentType": [ + "Attended", + "SemiAttended", + "Unattended", + ], + "InstalmentType": [ + "DeferredInstalments", + "EqualInstalments", + "InequalInstalments", + ], + "PeriodUnitType": [ + "Annual", + "Daily", + "Monthly", + "Weekly", + ], + "PaymentType": [ + "CashAdvance", + "CashDeposit", + "Completion", + "FirstReservation", + "Instalment", + "IssuerInstalment", + "Normal", + "OneTimeReservation", + "PaidOut", + "Recurring", + "Refund", + "UpdateReservation", + ], + "ReversalReasonType": [ + "CustCancel", + "Malfunction", + "MerchantCancel", + "Unable2Compl", + ], + "ServicesEnabledType": [ + "CardAcquisition", + "Loyalty", + "Payment", + ], + "TransactionActionType": [ + "AbortTransaction", + "StartTransaction", + ], + "EventToNotifyType": [ + "Abort", + "BeginMaintenance", + "CardInserted", + "CardRemoved", + "Completed", + "CustomerLanguage", + "EndMaintenance", + "Initialised", + "KeyPressed", + "OutOfOrder", + "Reject", + "SaleAdmin", + "SaleWakeUp", + "SecurityAlarm", + "Shutdown", + "StopAssistance", + ], + "TotalDetailsType": [ + "OperatorID", + "POIID", + "SaleID", + "ShiftNumber", + "TotalsGroupID", + ], + "InputCommandType": [ + "DecimalString", + "DigitString", + "GetAnyKey", + "GetConfirmation", + "GetFunctionKey", + "GetMenuEntry", + "Password", + "SiteManager", + "TextString", + ], + "MessageClassType": [ + "Device", + "Event", + "Service", + ], + "MessageType": [ + "Notification", + "Request", + "Response", + ], + "PinFormatType": [ + "ISO0", + "ISO1", + "ISO2", + "ISO3", + ], + "PinRequestType": [ + "PINEnter", + "PINVerify", + "PINVerifyOnly", + ], + "DocumentQualifierType": [ + "CashierReceipt", + "CustomerReceipt", + "Document", + "Journal", + "SaleReceipt", + "Voucher", + ], + "ResponseModeType": [ + "Immediate", + "NotRequired", + "PrintEnd", + "SoundEnd", + ], + "ReconciliationType": [ + "AcquirerReconciliation", + "AcquirerSynchronisation", + "PreviousReconciliation", + "SaleReconciliation", + ], + "SoundActionType": [ + "SetDefaultVolume", + "StartSound", + "StopSound", + ], + "SoundFormatType": [ + "MessageRef", + "SoundRef", + "Text", + ], + "StoredValueAccountType": [ + "GiftCard", + "Other", + "PhoneCard", + ], + "StoredValueTransactionType": [ + "Activate", + "Duplicate", + "Load", + "Reserve", + "Reverse", + "Unload", + ], + "ErrorConditionType": [ + "Aborted", + "Busy", + "Cancel", + "DeviceOut", + "InProgress", + "InsertedCard", + "InvalidCard", + "LoggedOut", + "MessageFormat", + "NotAllowed", + "NotFound", + "PaymentRestriction", + "Refusal", + "UnavailableDevice", + "UnavailableService", + "UnreachableHost", + "WrongPIN", + ], + "ResultType": [ + "Failure", + "Partial", + "Success", + ], + "AuthenticationMethodType": [ + "Bypass", + "ManualVerification", + "MerchantAuthentication", + "OfflinePIN", + "OnLinePIN", + "PaperSignature", + "SecureCertificate", + "SecureNoCertificate", + "SecuredChannel", + "SignatureCapture", + "UnknownMethod", + ], + "GlobalStatusType": [ + "Busy", + "Maintenance", + "OK", + "Unreachable", + ], + "PrinterStatusType": [ + "NoPaper", + "OK", + "OutOfOrder", + "PaperJam", + "PaperLow", + ], + "TransactionType": [ + "Award", + "CashAdvance", + "CompletedDeffered", + "CompletedReservation", + "Credit", + "Debit", + "Declined", + "Failed", + "FirstReservation", + "IssuerInstalment", + "OneTimeReservation", + "Rebate", + "Redemption", + "ReverseAward", + "ReverseCredit", + "ReverseDebit", + "ReverseRebate", + "ReverseRedemption", + "UpdateReservation", + ], + "PoiCapabilitiesType": [ + "CashHandling", + "CashierDisplay", + "CashierError", + "CashierInput", + "CustomerDisplay", + "CustomerError", + "CustomerInput", + "EMVContactless", + "ICC", + "MagStripe", + "PrinterDocument", + "PrinterReceipt", + "PrinterVoucher", + ], +}; +//# sourceMappingURL=terminal.js.map \ No newline at end of file diff --git a/dist/lib-esm/typings/terminal.js.map b/dist/lib-esm/typings/terminal.js.map new file mode 100644 index 0000000..ad8cb74 --- /dev/null +++ b/dist/lib-esm/typings/terminal.js.map @@ -0,0 +1 @@ +{"version":3,"file":"terminal.js","sourceRoot":"","sources":["../../../src/typings/terminal.ts"],"names":[],"mappings":"AAAA,sBAAsB;AACtB,EAAE;AACF,s4HAAs4H;AACt4H,EAAE;AACF,mEAAmE;AACnE,qEAAqE;AACrE,iFAAiF;AACjF,mFAAmF;AACnF,2DAA2D;AAC3D,6EAA6E;AAC7E,qDAAqD;AACrD,6DAA6D;AAC7D,+DAA+D;AAC/D,iEAAiE;AACjE,yDAAyD;AACzD,uDAAuD;AACvD,yEAAyE;AACzE,uDAAuD;AACvD,2EAA2E;AAC3E,uDAAuD;AACvD,+DAA+D;AAC/D,2DAA2D;AAC3D,uEAAuE;AACvE,iEAAiE;AACjE,+DAA+D;AAC/D,uDAAuD;AACvD,qDAAqD;AACrD,uDAAuD;AACvD,yDAAyD;AACzD,2DAA2D;AAC3D,2DAA2D;AAC3D,mDAAmD;AACnD,uDAAuD;AACvD,yEAAyE;AACzE,yEAAyE;AACzE,iFAAiF;AACjF,yEAAyE;AACzE,6DAA6D;AAC7D,uDAAuD;AACvD,mEAAmE;AACnE,+EAA+E;AAC/E,6DAA6D;AAC7D,mEAAmE;AACnE,2EAA2E;AAC3E,yDAAyD;AACzD,6EAA6E;AAC7E,yDAAyD;AACzD,iEAAiE;AACjE,6DAA6D;AAC7D,yEAAyE;AACzE,iEAAiE;AACjE,yDAAyD;AACzD,yDAAyD;AACzD,2DAA2D;AAC3D,6DAA6D;AAC7D,6DAA6D;AAC7D,qDAAqD;AACrD,yDAAyD;AACzD,2EAA2E;AAC3E,2EAA2E;AAC3E,mFAAmF;AACnF,2EAA2E;AAC3E,+DAA+D;AAC/D,yDAAyD;AACzD,qEAAqE;AACrE,iFAAiF;AACjF,+DA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;QACb,mBAAmB;QACnB,sBAAsB;QACtB,QAAQ;QACR,OAAO;QACP,UAAU;QACV,QAAQ;QACR,kBAAkB;QAClB,kBAAkB;QAClB,oBAAoB;QACpB,QAAQ;QACR,YAAY;QACZ,cAAc;QACd,eAAe;QACf,cAAc;QACd,eAAe;QACf,mBAAmB;QACnB,mBAAmB;KACtB;IACD,qBAAqB,EAAE;QACnB,cAAc;QACd,gBAAgB;QAChB,cAAc;QACd,cAAc;QACd,iBAAiB;QACjB,eAAe;QACf,eAAe;QACf,gBAAgB;QAChB,KAAK;QACL,WAAW;QACX,iBAAiB;QACjB,gBAAgB;QAChB,gBAAgB;KACnB;CACJ,CAAC"} \ No newline at end of file diff --git a/dist/lib/apiKeyAuthenticatedService.d.ts b/dist/lib/apiKeyAuthenticatedService.d.ts new file mode 100644 index 0000000..174f37d --- /dev/null +++ b/dist/lib/apiKeyAuthenticatedService.d.ts @@ -0,0 +1,6 @@ +import Client from "./client"; +import Service from "./service"; +declare class ApiKeyAuthenticatedService extends Service { + protected constructor(client: Client); +} +export default ApiKeyAuthenticatedService; diff --git a/dist/lib/apiKeyAuthenticatedService.js b/dist/lib/apiKeyAuthenticatedService.js new file mode 100644 index 0000000..cb06577 --- /dev/null +++ b/dist/lib/apiKeyAuthenticatedService.js @@ -0,0 +1,30 @@ +"use strict"; +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var service_1 = __importDefault(require("./service")); +var ApiKeyAuthenticatedService = /** @class */ (function (_super) { + __extends(ApiKeyAuthenticatedService, _super); + function ApiKeyAuthenticatedService(client) { + var _this = _super.call(this, client) || this; + _this.apiKeyRequired = true; + return _this; + } + return ApiKeyAuthenticatedService; +}(service_1.default)); +exports.default = ApiKeyAuthenticatedService; +//# sourceMappingURL=apiKeyAuthenticatedService.js.map \ No newline at end of file diff --git a/dist/lib/apiKeyAuthenticatedService.js.map b/dist/lib/apiKeyAuthenticatedService.js.map new file mode 100644 index 0000000..38cc61d --- /dev/null +++ b/dist/lib/apiKeyAuthenticatedService.js.map @@ -0,0 +1 @@ +{"version":3,"file":"apiKeyAuthenticatedService.js","sourceRoot":"","sources":["../../src/apiKeyAuthenticatedService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAqBA,sDAAgC;AAEhC;IAAyC,8CAAO;IAC5C,oCAAsB,MAAc;QAApC,YACI,kBAAM,MAAM,CAAC,SAEhB;QADG,KAAI,CAAC,cAAc,GAAG,IAAI,CAAC;;IAC/B,CAAC;IACL,iCAAC;AAAD,CAAC,AALD,CAAyC,iBAAO,GAK/C;AAED,kBAAe,0BAA0B,CAAC"} \ No newline at end of file diff --git a/dist/lib/client.d.ts b/dist/lib/client.d.ts new file mode 100644 index 0000000..8587452 --- /dev/null +++ b/dist/lib/client.d.ts @@ -0,0 +1,79 @@ +import Config from "./config"; +import ClientInterface from "./httpClient/clientInterface"; +import { Environment } from "./typings/enums/environment"; +declare type ClientParametersOverload = { + config: Config; +} | { + config: Config; + httpClient: ClientInterface; +} | { + username: string; + password: string; + environment: Environment; + applicationName: string; +} | { + username: string; + password: string; + environment: Environment; + applicationName: string; + httpClient: ClientInterface; +} | { + username: string; + password: string; + environment: Environment; + applicationName: string; + liveEndpointUrlPrefix: string; +} | { + username: string; + password: string; + environment: Environment; + applicationName: string; + liveEndpointUrlPrefix: string; + httpClient: ClientInterface; +} | { + apiKey: string; + environment: Environment; +} | { + apiKey: string; + environment: Environment; + httpClient: ClientInterface; +} | { + apiKey: string; + environment: Environment; + liveEndpointUrlPrefix: string; + httpClient: ClientInterface; +}; +declare class Client { + static ENDPOINT_TEST: string; + static ENDPOINT_LIVE: string; + static ENDPOINT_LIVE_SUFFIX: string; + static HPP_TEST: string; + static HPP_LIVE: string; + static MARKETPAY_ENDPOINT_TEST: string; + static MARKETPAY_ENDPOINT_LIVE: string; + static API_VERSION: string; + static RECURRING_API_VERSION: string; + static MARKETPAY_ACCOUNT_API_VERSION: string; + static MARKETPAY_FUND_API_VERSION: string; + static MARKETPAY_NOTIFICATION_API_VERSION: string; + static LIB_NAME: string; + static LIB_VERSION: string; + static CHECKOUT_ENDPOINT_TEST: string; + static CHECKOUT_ENDPOINT_LIVE_SUFFIX: string; + static CHECKOUT_API_VERSION: string; + static BIN_LOOKUP_PAL_SUFFIX: string; + static BIN_LOOKUP_API_VERSION: string; + static CHECKOUT_UTILITY_API_VERSION: string; + static TERMINAL_API_ENDPOINT_TEST: string; + static TERMINAL_API_ENDPOINT_LIVE: string; + static ENDPOINT_PROTOCOL: string; + private _httpClient; + private _config; + constructor(clientParameters: ClientParametersOverload); + setEnvironment(environment: Environment, liveEndpointUrlPrefix?: string): void; + httpClient: ClientInterface; + config: Config; + setApplicationName(applicationName: string): void; + setTimeouts(connectionTimeoutMillis: number, readTimeoutMillis: number): void; +} +export default Client; diff --git a/dist/lib/client.js b/dist/lib/client.js new file mode 100644 index 0000000..4bdad24 --- /dev/null +++ b/dist/lib/client.js @@ -0,0 +1,132 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var config_1 = __importDefault(require("./config")); +var httpURLConnectionClient_1 = __importDefault(require("./httpClient/httpURLConnectionClient")); +var Client = /** @class */ (function () { + function Client(options) { + if (options.config) { + this._config = options.config; + } + else { + this._config = new config_1.default(); + } + if (options.environment) { + this.setEnvironment(options.environment, options.liveEndpointUrlPrefix); + if (options.username && options.password && options.applicationName) { + this._config.username = options.username; + this._config.password = options.password; + this._config.applicationName = options.applicationName; + } + if (options.apiKey) { + this._config.apiKey = options.apiKey; + } + } + if (options.httpClient) { + this._httpClient = options.httpClient; + } + } + Client.prototype.setEnvironment = function (environment, liveEndpointUrlPrefix) { + this._config.environment = environment; + if (environment === "TEST") { + this._config.endpoint = Client.ENDPOINT_TEST; + this._config.marketPayEndpoint = Client.MARKETPAY_ENDPOINT_TEST; + this._config.hppEndpoint = Client.HPP_TEST; + this._config.checkoutEndpoint = Client.CHECKOUT_ENDPOINT_TEST; + this._config.terminalApiCloudEndpoint = Client.TERMINAL_API_ENDPOINT_TEST; + } + else if (environment === "LIVE") { + this._config.endpoint = Client.ENDPOINT_LIVE; + this._config.marketPayEndpoint = Client.MARKETPAY_ENDPOINT_LIVE; + this._config.hppEndpoint = Client.HPP_LIVE; + if (liveEndpointUrlPrefix) { + this._config.endpoint = + "" + Client.ENDPOINT_PROTOCOL + liveEndpointUrlPrefix + Client.ENDPOINT_LIVE_SUFFIX; + this._config.checkoutEndpoint = + "" + Client.ENDPOINT_PROTOCOL + liveEndpointUrlPrefix + Client.CHECKOUT_ENDPOINT_LIVE_SUFFIX; + } + else { + this._config.endpoint = Client.ENDPOINT_LIVE; + this._config.checkoutEndpoint = undefined; + } + } + }; + Object.defineProperty(Client.prototype, "httpClient", { + get: function () { + if (!this._httpClient) { + this._httpClient = new httpURLConnectionClient_1.default(); + } + return this._httpClient; + }, + set: function (httpClient) { + this._httpClient = httpClient; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Client.prototype, "config", { + get: function () { + return this._config; + }, + set: function (config) { + this._config = config; + }, + enumerable: true, + configurable: true + }); + Client.prototype.setApplicationName = function (applicationName) { + this.config.applicationName = applicationName; + }; + Client.prototype.setTimeouts = function (connectionTimeoutMillis, readTimeoutMillis) { + this.config.connectionTimeoutMillis = connectionTimeoutMillis; + this.config.readTimeoutMillis = readTimeoutMillis; + }; + Client.ENDPOINT_TEST = "https://pal-test.adyen.com"; + Client.ENDPOINT_LIVE = "https://pal-live.adyen.com"; + Client.ENDPOINT_LIVE_SUFFIX = "-pal-live.adyenpayments.com"; + Client.HPP_TEST = "https://test.adyen.com/hpp"; + Client.HPP_LIVE = "https://live.adyen.com/hpp"; + Client.MARKETPAY_ENDPOINT_TEST = "https://cal-test.adyen.com/cal/services"; + Client.MARKETPAY_ENDPOINT_LIVE = "https://cal-live.adyen.com/cal/services"; + Client.API_VERSION = "v49"; + Client.RECURRING_API_VERSION = "v30"; + Client.MARKETPAY_ACCOUNT_API_VERSION = "v4"; + Client.MARKETPAY_FUND_API_VERSION = "v3"; + Client.MARKETPAY_NOTIFICATION_API_VERSION = "v1"; + Client.LIB_NAME = "adyen-node-api-library"; + Client.LIB_VERSION = "1.0.0"; + Client.CHECKOUT_ENDPOINT_TEST = "https://checkout-test.adyen.com/checkout"; + Client.CHECKOUT_ENDPOINT_LIVE_SUFFIX = "-checkout-live.adyenpayments.com/checkout"; + Client.CHECKOUT_API_VERSION = "v49"; + Client.BIN_LOOKUP_PAL_SUFFIX = "/pal/servlet/BinLookup/"; + Client.BIN_LOOKUP_API_VERSION = "v40"; + Client.CHECKOUT_UTILITY_API_VERSION = "v1"; + Client.TERMINAL_API_ENDPOINT_TEST = "https://terminal-api-test.adyen.com"; + Client.TERMINAL_API_ENDPOINT_LIVE = "https://terminal-api-live.adyen.com"; + Client.ENDPOINT_PROTOCOL = "https://"; + return Client; +}()); +exports.default = Client; +//# sourceMappingURL=client.js.map \ No newline at end of file diff --git a/dist/lib/client.js.map b/dist/lib/client.js.map new file mode 100644 index 0000000..c7cebd2 --- /dev/null +++ b/dist/lib/client.js.map @@ -0,0 +1 @@ +{"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;AAEH,oDAA8B;AAE9B,iGAA2E;AAyB3E;IA6BI,gBAAmB,OAAyB;QACxC,IAAI,OAAO,CAAC,MAAM,EAAE;YAChB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC;SACjC;aAAM;YACH,IAAI,CAAC,OAAO,GAAG,IAAI,gBAAM,EAAE,CAAC;SAC/B;QAED,IAAI,OAAO,CAAC,WAAW,EAAE;YACrB,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,WAAW,EAAE,OAAO,CAAC,qBAAqB,CAAC,CAAC;YACxE,IAAI,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC,eAAe,EAAE;gBACjE,IAAI,CAAC,OAAO,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;gBACzC,IAAI,CAAC,OAAO,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;gBACzC,IAAI,CAAC,OAAO,CAAC,eAAe,GAAG,OAAO,CAAC,eAAe,CAAC;aAC1D;YAED,IAAI,OAAO,CAAC,MAAM,EAAE;gBAChB,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;aACxC;SACJ;QAED,IAAI,OAAO,CAAC,UAAU,EAAE;YACpB,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,UAAU,CAAC;SACzC;IACL,CAAC;IAEM,+BAAc,GAArB,UAAsB,WAAwB,EAAE,qBAA8B;QAC1E,IAAI,CAAC,OAAO,CAAC,WAAW,GAAG,WAAW,CAAC;QACvC,I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AAW,qCAAqC,CAAC;IAC3E,iCAA0B,GAAW,qCAAqC,CAAC;IAC3E,wBAAiB,GAAW,UAAU,CAAC;IAmFzD,aAAC;CAAA,AA1GD,IA0GC;AAED,kBAAe,MAAM,CAAC"} \ No newline at end of file diff --git a/dist/lib/config.d.ts b/dist/lib/config.d.ts new file mode 100644 index 0000000..b743615 --- /dev/null +++ b/dist/lib/config.d.ts @@ -0,0 +1,58 @@ +import { Environment } from "./typings/enums/environment"; +interface ConfigConstructor { + username?: string; + password?: string; + merchantAccount?: string; + environment?: Environment; + endpoint?: string; + marketPayEndpoint?: string; + applicationName?: string; + apiKey?: string; + connectionTimeoutMillis?: number; + readTimeoutMillis?: number; + certificatePath?: string; + hppEndpoint?: string; + skinCode?: string; + hmacKey?: string; + checkoutEndpoint?: string; + terminalApiCloudEndpoint?: string; + terminalApiLocalEndpoint?: string; +} +declare class Config { + protected _username: string; + protected _password: string; + protected _merchantAccount: string; + protected _environment: Environment; + protected _endpoint: string; + protected _marketPayEndpoint: string; + protected _applicationName: string; + protected _apiKey: string; + protected _connectionTimeoutMillis: number; + protected _readTimeoutMillis: number; + protected _certificatePath: string; + protected _hppEndpoint: string; + protected _skinCode: string; + protected _hmacKey: string; + protected _checkoutEndpoint: string; + protected _terminalApiCloudEndpoint: string; + protected _terminalApiLocalEndpoint: string; + constructor(options?: ConfigConstructor); + username: string; + password: string; + merchantAccount: string; + environment: Environment; + endpoint: string; + marketPayEndpoint: string; + applicationName: string; + apiKey: string; + hppEndpoint: string; + skinCode: string; + hmacKey: string; + checkoutEndpoint: string; + terminalApiCloudEndpoint: string; + terminalApiLocalEndpoint: string; + connectionTimeoutMillis: number; + readTimeoutMillis: number; + certificatePath: string; +} +export default Config; diff --git a/dist/lib/config.js b/dist/lib/config.js new file mode 100644 index 0000000..397d60e --- /dev/null +++ b/dist/lib/config.js @@ -0,0 +1,201 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var Config = /** @class */ (function () { + function Config(options) { + if (options === void 0) { options = {}; } + this._username = options.username; + this._password = options.password; + this._merchantAccount = options.merchantAccount; + this._environment = options.environment; + this._endpoint = options.endpoint; + this._marketPayEndpoint = options.marketPayEndpoint; + this._applicationName = options.applicationName; + this._apiKey = options.apiKey; + this._connectionTimeoutMillis = options.connectionTimeoutMillis || 30000; + this._readTimeoutMillis = options.readTimeoutMillis || 3000; + this._certificatePath = options.certificatePath; + this._hppEndpoint = options.hppEndpoint; + this._skinCode = options.skinCode; + this._hmacKey = options.hmacKey; + this._checkoutEndpoint = options.checkoutEndpoint; + this._terminalApiCloudEndpoint = options.terminalApiCloudEndpoint; + this._terminalApiLocalEndpoint = options.terminalApiLocalEndpoint; + } + Object.defineProperty(Config.prototype, "username", { + get: function () { + return this._username; + }, + set: function (username) { + this._username = username; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "password", { + get: function () { + return this._password; + }, + set: function (password) { + this._password = password; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "merchantAccount", { + get: function () { + return this._merchantAccount; + }, + set: function (merchantAccount) { + this._merchantAccount = merchantAccount; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "environment", { + get: function () { + return this._environment; + }, + set: function (environment) { + this._environment = environment; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "endpoint", { + get: function () { + return this._endpoint; + }, + set: function (endpoint) { + this._endpoint = endpoint; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "marketPayEndpoint", { + get: function () { + return this._marketPayEndpoint; + }, + set: function (marketPayEndpoint) { + this._marketPayEndpoint = marketPayEndpoint; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "applicationName", { + get: function () { + return this._applicationName; + }, + set: function (applicationName) { + this._applicationName = applicationName; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "apiKey", { + get: function () { + return this._apiKey; + }, + set: function (apiKey) { + this._apiKey = apiKey; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "hppEndpoint", { + get: function () { + return this._hppEndpoint; + }, + set: function (hppEndpoint) { + this._hppEndpoint = hppEndpoint; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "skinCode", { + get: function () { + return this._skinCode; + }, + set: function (skinCode) { + this._skinCode = skinCode; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "hmacKey", { + get: function () { + return this._hmacKey; + }, + set: function (hmacKey) { + this._hmacKey = hmacKey; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "checkoutEndpoint", { + get: function () { + if (!this._checkoutEndpoint) { + var message = "Please provide your unique live url prefix on the setEnvironment() call on the Client or provide checkoutEndpoint in your config object."; + throw new Error(message); + } + return this._checkoutEndpoint; + }, + set: function (checkoutEndpoint) { + this._checkoutEndpoint = checkoutEndpoint; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "terminalApiCloudEndpoint", { + get: function () { + return this._terminalApiCloudEndpoint; + }, + set: function (terminalApiCloudEndpoint) { + this._terminalApiCloudEndpoint = terminalApiCloudEndpoint; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "terminalApiLocalEndpoint", { + get: function () { + return this._terminalApiLocalEndpoint; + }, + set: function (terminalApiLocalEndpoint) { + this._terminalApiLocalEndpoint = terminalApiLocalEndpoint; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "connectionTimeoutMillis", { + get: function () { + return this._connectionTimeoutMillis; + }, + set: function (connectionTimeoutMillis) { + this._connectionTimeoutMillis = connectionTimeoutMillis; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "readTimeoutMillis", { + get: function () { + return this._readTimeoutMillis; + }, + set: function (readTimeoutMillis) { + this._readTimeoutMillis = readTimeoutMillis; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Config.prototype, "certificatePath", { + get: function () { + return this._certificatePath; + }, + set: function (certificatePath) { + this._certificatePath = certificatePath; + }, + enumerable: true, + configurable: true + }); + return Config; +}()); +exports.default = Config; +//# sourceMappingURL=config.js.map \ No newline at end of file diff --git a/dist/lib/config.js.map b/dist/lib/config.js.map new file mode 100644 index 0000000..bcef5cf --- /dev/null +++ b/dist/lib/config.js.map @@ -0,0 +1 @@ +{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/config.ts"],"names":[],"mappings":";;AA0CA;IAsBI,gBAAmB,OAA+B;QAA/B,wBAAA,EAAA,YAA+B;QAC9C,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,QAAQ,CAAC;QAClC,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,QAAQ,CAAC;QAClC,IAAI,CAAC,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC;QAChD,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,WAAW,CAAC;QACxC,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,QAAQ,CAAC;QAClC,IAAI,CAAC,kBAAkB,GAAG,OAAO,CAAC,iBAAiB,CAAC;QACpD,IAAI,CAAC,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC;QAChD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC;QAC9B,IAAI,CAAC,wBAAwB,GAAG,OAAO,CAAC,uBAAuB,IAAI,KAAK,CAAC;QACzE,IAAI,CAAC,kBAAkB,GAAG,OAAO,CAAC,iBAAiB,IAAI,IAAI,CAAC;QAC5D,IAAI,CAAC,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC;QAChD,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,WAAW,CAAC;QACxC,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,QAAQ,CAAC;QAClC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,OAAO,CAAC;QAChC,IAAI,CAAC,iBAAiB,GAAG,OAAO,CAAC,gBAAgB,CAAC;QAClD,IAAI,CAAC,yBAAyB,GAA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,yBAAyB,GAAG,wBAAwB,CAAC;QAC9D,CAAC;;;OAJA;IAMD,sBAAW,2CAAuB;aAAlC;YACI,OAAO,IAAI,CAAC,wBAAwB,CAAC;QACzC,CAAC;aAED,UAAmC,uBAA+B;YAC9D,IAAI,CAAC,wBAAwB,GAAG,uBAAuB,CAAC;QAC5D,CAAC;;;OAJA;IAMD,sBAAW,qCAAiB;aAA5B;YACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;QACnC,CAAC;aAED,UAA6B,iBAAyB;YAClD,IAAI,CAAC,kBAAkB,GAAG,iBAAiB,CAAC;QAChD,CAAC;;;OAJA;IAMD,sBAAW,mCAAe;aAI1B;YACI,OAAO,IAAI,CAAC,gBAAgB,CAAC;QACjC,CAAC;aAND,UAA2B,eAAuB;YAC9C,IAAI,CAAC,gBAAgB,GAAG,eAAe,CAAC;QAC5C,CAAC;;;OAAA;IAKL,aAAC;AAAD,CAAC,AArLD,IAqLC;AAED,kBAAe,MAAM,CAAC"} \ No newline at end of file diff --git a/dist/lib/helpers/getJsonResponse.d.ts b/dist/lib/helpers/getJsonResponse.d.ts new file mode 100644 index 0000000..54dc117 --- /dev/null +++ b/dist/lib/helpers/getJsonResponse.d.ts @@ -0,0 +1,5 @@ +import Resource from "../service/resource"; +import { RequestOptions } from "../typings/requestOptions"; +declare function getJsonResponse(resource: Resource, jsonRequest: T | string, requestOptions?: RequestOptions): Promise; +declare function getJsonResponse(resource: Resource, jsonRequest: T | string, requestOptions?: RequestOptions): Promise; +export default getJsonResponse; diff --git a/dist/lib/helpers/getJsonResponse.js b/dist/lib/helpers/getJsonResponse.js new file mode 100644 index 0000000..f6d0c3d --- /dev/null +++ b/dist/lib/helpers/getJsonResponse.js @@ -0,0 +1,79 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +Object.defineProperty(exports, "__esModule", { value: true }); +function getJsonResponse(resource, jsonRequest, requestOptions) { + if (requestOptions === void 0) { requestOptions = {}; } + return __awaiter(this, void 0, void 0, function () { + var response; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, resource.request(typeof jsonRequest === "string" ? jsonRequest : JSON.stringify(jsonRequest), requestOptions)]; + case 1: + response = _a.sent(); + try { + return [2 /*return*/, JSON.parse(response)]; + } + catch (e) { + return [2 /*return*/, response]; + } + return [2 /*return*/]; + } + }); + }); +} +exports.default = getJsonResponse; +//# sourceMappingURL=getJsonResponse.js.map \ No newline at end of file diff --git a/dist/lib/helpers/getJsonResponse.js.map b/dist/lib/helpers/getJsonResponse.js.map new file mode 100644 index 0000000..8958a75 --- /dev/null +++ b/dist/lib/helpers/getJsonResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"getJsonResponse.js","sourceRoot":"","sources":["../../../src/helpers/getJsonResponse.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQH,SAAe,eAAe,CAC1B,QAAkB,EAClB,WAAuB,EACvB,cAAmC;IAAnC,+BAAA,EAAA,mBAAmC;;;;;wBAElB,qBAAM,QAAQ,CAAC,OAAO,CACnC,OAAO,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,EAC3E,cAAc,CAAC,EAAA;;oBAFb,QAAQ,GAAG,SAEE;oBACnB,IAAI;wBACA,sBAAO,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAC;qBAC/B;oBAAC,OAAO,CAAC,EAAE;wBACR,sBAAO,QAAQ,EAAC;qBACnB;;;;;CACJ;AACD,kBAAe,eAAe,CAAC"} \ No newline at end of file diff --git a/dist/lib/httpClient/clientInterface.d.ts b/dist/lib/httpClient/clientInterface.d.ts new file mode 100644 index 0000000..a453a52 --- /dev/null +++ b/dist/lib/httpClient/clientInterface.d.ts @@ -0,0 +1,10 @@ +/// +import Config from "../config"; +import { RequestOptions } from "../typings/requestOptions"; +import { AgentOptions } from "https"; +interface ClientInterface { + request(endpoint: string, json: string, config: Config, isApiKeyRequired: boolean, requestOptions?: RequestOptions): Promise; + post(endpoint: string, postParameters: [string, string][], config: Config): Promise; + proxy?: AgentOptions; +} +export default ClientInterface; diff --git a/dist/lib/httpClient/clientInterface.js b/dist/lib/httpClient/clientInterface.js new file mode 100644 index 0000000..ed97a51 --- /dev/null +++ b/dist/lib/httpClient/clientInterface.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=clientInterface.js.map \ No newline at end of file diff --git a/dist/lib/httpClient/clientInterface.js.map b/dist/lib/httpClient/clientInterface.js.map new file mode 100644 index 0000000..4ec600f --- /dev/null +++ b/dist/lib/httpClient/clientInterface.js.map @@ -0,0 +1 @@ +{"version":3,"file":"clientInterface.js","sourceRoot":"","sources":["../../../src/httpClient/clientInterface.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib/httpClient/httpClientException.d.ts b/dist/lib/httpClient/httpClientException.d.ts new file mode 100644 index 0000000..b0d1ae7 --- /dev/null +++ b/dist/lib/httpClient/httpClientException.d.ts @@ -0,0 +1,16 @@ +/// +import { IncomingHttpHeaders, IncomingMessage } from "http"; +declare class HttpClientException implements Error { + private _code; + private _responseHeaders; + private readonly _message; + private readonly _name; + private _responseBody; + constructor(message: string, code?: number, responseHeaders?: IncomingHttpHeaders, responseBody?: IncomingMessage); + readonly message: string; + readonly name: string; + code: number; + responseHeaders: IncomingHttpHeaders; + responseBody: IncomingMessage; +} +export default HttpClientException; diff --git a/dist/lib/httpClient/httpClientException.js b/dist/lib/httpClient/httpClientException.js new file mode 100644 index 0000000..129bf33 --- /dev/null +++ b/dist/lib/httpClient/httpClientException.js @@ -0,0 +1,79 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var HttpClientException = /** @class */ (function () { + function HttpClientException(message, code, responseHeaders, responseBody) { + this._code = 0; + this._name = "HttpClientException"; + this._message = message; + this._code = code; + this._responseHeaders = responseHeaders; + this._responseBody = responseBody; + } + Object.defineProperty(HttpClientException.prototype, "message", { + get: function () { + return this._message; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(HttpClientException.prototype, "name", { + get: function () { + return this._name; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(HttpClientException.prototype, "code", { + get: function () { + return this._code; + }, + set: function (value) { + this._code = value; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(HttpClientException.prototype, "responseHeaders", { + get: function () { + return this._responseHeaders; + }, + set: function (value) { + this._responseHeaders = value; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(HttpClientException.prototype, "responseBody", { + get: function () { + return this._responseBody; + }, + set: function (value) { + this._responseBody = value; + }, + enumerable: true, + configurable: true + }); + return HttpClientException; +}()); +exports.default = HttpClientException; +//# sourceMappingURL=httpClientException.js.map \ No newline at end of file diff --git a/dist/lib/httpClient/httpClientException.js.map b/dist/lib/httpClient/httpClientException.js.map new file mode 100644 index 0000000..09d16d9 --- /dev/null +++ b/dist/lib/httpClient/httpClientException.js.map @@ -0,0 +1 @@ +{"version":3,"file":"httpClientException.js","sourceRoot":"","sources":["../../../src/httpClient/httpClientException.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;AAIH;IAOI,6BAAmB,OAAe,EAAE,IAAa,EAAE,eAAqC,EAAE,YAA8B;QANhH,UAAK,GAAW,CAAC,CAAC;QAOtB,IAAI,CAAC,KAAK,GAAG,qBAAqB,CAAC;QACnC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;QACxB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,gBAAgB,GAAG,eAAe,CAAC;QACxC,IAAI,CAAC,aAAa,GAAG,YAAY,CAAC;IACtC,CAAC;IAED,sBAAW,wCAAO;aAAlB;YACI,OAAO,IAAI,CAAC,QAAQ,CAAC;QACzB,CAAC;;;OAAA;IAED,sBAAW,qCAAI;aAAf;YACI,OAAO,IAAI,CAAC,KAAK,CAAC;QACtB,CAAC;;;OAAA;IAED,sBAAW,qCAAI;aAAf;YACI,OAAO,IAAI,CAAC,KAAK,CAAC;QACtB,CAAC;aAED,UAAgB,KAAa;YACzB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACvB,CAAC;;;OAJA;IAMD,sBAAW,gDAAe;aAA1B;YACI,OAAO,IAAI,CAAC,gBAAgB,CAAC;QACjC,CAAC;aAED,UAA2B,KAA0B;YACjD,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAClC,CAAC;;;OAJA;IAMD,sBAAW,6CAAY;aAAvB;YACI,OAAO,IAAI,CAAC,aAAa,CAAC;QAC9B,CAAC;aAED,UAAwB,KAAsB;YAC1C,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC/B,CAAC;;;OAJA;IAKL,0BAAC;AAAD,CAAC,AA9CD,IA8CC;AAED,kBAAe,mBAAmB,CAAC"} \ No newline at end of file diff --git a/dist/lib/httpClient/httpURLConnectionClient.d.ts b/dist/lib/httpClient/httpURLConnectionClient.d.ts new file mode 100644 index 0000000..5e082f0 --- /dev/null +++ b/dist/lib/httpClient/httpURLConnectionClient.d.ts @@ -0,0 +1,19 @@ +/// +import { AgentOptions } from "https"; +import Config from "../config"; +import { RequestOptions } from "../typings/requestOptions"; +import ClientInterface from "./clientInterface"; +declare class HttpURLConnectionClient implements ClientInterface { + private static CHARSET; + private _proxy; + private agentOptions; + request(endpoint: string, json: string, config: Config, isApiRequired: boolean, requestOptions?: RequestOptions): Promise; + post(endpoint: string, postParameters: [string, string][], config: Config): Promise; + proxy: AgentOptions; + private createRequest; + private getQuery; + private doPostRequest; + private static setBasicAuthentication; + private installCertificateVerifier; +} +export default HttpURLConnectionClient; diff --git a/dist/lib/httpClient/httpURLConnectionClient.js b/dist/lib/httpClient/httpURLConnectionClient.js new file mode 100644 index 0000000..9b6494e --- /dev/null +++ b/dist/lib/httpClient/httpURLConnectionClient.js @@ -0,0 +1,165 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __assign = (this && this.__assign) || function () { + __assign = Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; + }; + return __assign.apply(this, arguments); +}; +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; + result["default"] = mod; + return result; +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var https_1 = require("https"); +var fs = __importStar(require("fs")); +var url_1 = require("url"); +var client_1 = __importDefault(require("../client")); +var apiConstants_1 = require("../typings/constants/apiConstants"); +var httpClientException_1 = __importDefault(require("./httpClientException")); +var HttpURLConnectionClient = /** @class */ (function () { + function HttpURLConnectionClient() { + } + HttpURLConnectionClient.prototype.request = function (endpoint, json, config, isApiRequired, requestOptions) { + if (requestOptions === void 0) { requestOptions = {}; } + requestOptions.headers = {}; + requestOptions.timeout = config.connectionTimeoutMillis; + if (config.certificatePath) { + this.installCertificateVerifier(config.certificatePath); + } + var apiKey = config.apiKey; + if (isApiRequired || apiKey) { + requestOptions.headers[apiConstants_1.API_KEY] = apiKey; + } + else { + var authString = config.username + ":" + config.password; + var authEncBytes = new Buffer(authString); + var authStringEnc = authEncBytes.toString(); + requestOptions.headers.Authorization = "Basic " + authStringEnc; + } + requestOptions.headers[apiConstants_1.CONTENT_TYPE] = apiConstants_1.APPLICATION_JSON_TYPE; + var httpConnection = this.createRequest(endpoint, config.applicationName, requestOptions); + return this.doPostRequest(httpConnection, json); + }; + HttpURLConnectionClient.prototype.post = function (endpoint, postParameters, config) { + var postQuery = this.getQuery(postParameters); + var httpConnection = this.createRequest(endpoint, config.applicationName, {}); + return this.doPostRequest(httpConnection, postQuery); + }; + Object.defineProperty(HttpURLConnectionClient.prototype, "proxy", { + set: function (agentOptions) { + this._proxy = agentOptions; + }, + enumerable: true, + configurable: true + }); + HttpURLConnectionClient.prototype.createRequest = function (endpoint, applicationName, requestOptions) { + var url = new url_1.URL(endpoint); + requestOptions.hostname = url.hostname; + requestOptions.protocol = url.protocol; + requestOptions.port = url.port; + requestOptions.path = url.pathname; + if (this._proxy) { + this.agentOptions = __assign({}, this._proxy, this.agentOptions); + } + if (requestOptions && requestOptions.idempotencyKey) { + requestOptions.headers[apiConstants_1.IDEMPOTENCY_KEY] = requestOptions.idempotencyKey; + delete requestOptions.idempotencyKey; + } + requestOptions.agent = new https_1.Agent(this.agentOptions); + requestOptions.headers["Cache-Control"] = "no-cache"; + requestOptions.method = apiConstants_1.METHOD_POST; + requestOptions.headers[apiConstants_1.ACCEPT_CHARSET] = HttpURLConnectionClient.CHARSET; + requestOptions.headers[apiConstants_1.USER_AGENT] = applicationName + " " + client_1.default.LIB_NAME + "/" + client_1.default.LIB_VERSION; + return https_1.request(requestOptions); + }; + HttpURLConnectionClient.prototype.getQuery = function (params) { + return params.map(function (_a) { + var key = _a[0], value = _a[1]; + return key + "=" + value; + }).join("&"); + }; + HttpURLConnectionClient.prototype.doPostRequest = function (httpConnection, json) { + return new Promise(function (resolve, reject) { + httpConnection.flushHeaders(); + httpConnection.on("response", function (res) { + var resData = ""; + if (res.statusCode && res.statusCode !== 200) { + var exception = new httpClientException_1.default("HTTP Exception: " + res.statusCode + ". " + res.statusMessage, res.statusCode, res.headers, res); + reject(exception); + } + res.on("data", function (data) { + resData += data; + }); + res.on("end", function () { + if (!res.complete) { + reject(new Error("The connection was terminated while the message was still being sent")); + } + resolve(resData); + }); + res.on("error", reject); + }); + httpConnection.on("timeout", function () { + httpConnection.abort(); + }); + httpConnection.on("error", reject); + httpConnection.write(Buffer.from(json)); + httpConnection.end(); + }); + }; + HttpURLConnectionClient.setBasicAuthentication = function (httpConnection, username, password) { + var authString = username + ":" + password; + var authEncBytes = new Buffer(authString); + var authStringEnc = authEncBytes.toString(); + httpConnection.setHeader("Authorization", "Basic " + authStringEnc); + return httpConnection; + }; + HttpURLConnectionClient.prototype.installCertificateVerifier = function (terminalCertificatePath) { + try { + var certificateInput = fs.readFileSync(terminalCertificatePath); + this.agentOptions = { + ca: certificateInput, + checkServerIdentity: function () { + return undefined; + }, + }; + } + catch (e) { + throw new httpClientException_1.default("Error loading certificate from path: " + e.message); + } + }; + HttpURLConnectionClient.CHARSET = "utf-8"; + return HttpURLConnectionClient; +}()); +exports.default = HttpURLConnectionClient; +//# sourceMappingURL=httpURLConnectionClient.js.map \ No newline at end of file diff --git a/dist/lib/httpClient/httpURLConnectionClient.js.map b/dist/lib/httpClient/httpURLConnectionClient.js.map new file mode 100644 index 0000000..31a438b --- /dev/null +++ b/dist/lib/httpClient/httpURLConnectionClient.js.map @@ -0,0 +1 @@ +{"version":3,"file":"httpURLConnectionClient.js","sourceRoot":"","sources":["../../../src/httpClient/httpURLConnectionClient.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;;;;;;AAGH,+BAAoE;AAEpE,qCAAyB;AACzB,2BAAwB;AACxB,qDAA+B;AAE/B,kEAQ2C;AAG3C,8EAAwD;AAExD;IAAA;IAyIA,CAAC;IApIU,yCAAO,GAAd,UACI,QAAgB,EAAE,IAAY,EAAE,MAAc,EAAE,aAAsB,EACtE,cAAmC;QAAnC,+BAAA,EAAA,mBAAmC;QAEnC,cAAc,CAAC,OAAO,GAAG,EAAE,CAAC;QAC5B,cAAc,CAAC,OAAO,GAAG,MAAM,CAAC,uBAAuB,CAAC;QAExD,IAAI,MAAM,CAAC,eAAe,EAAE;YACxB,IAAI,CAAC,0BAA0B,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;SAC3D;QAED,IAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;QAE7B,IAAI,aAAa,IAAI,MAAM,EAAE;YACzB,cAAc,CAAC,OAAO,CAAC,sBAAO,CAAC,GAAG,MAAM,CAAC;SAC5C;aAAM;YACH,IAAM,UAAU,GAAM,MAAM,CAAC,QAAQ,SAAI,MAAM,CAAC,QAAU,CAAC;YAC3D,IAAM,YAAY,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC;YAC5C,IAAM,aAAa,GAAG,YAAY,CAAC,QAAQ,EAAE,CAAC;YAE9C,cAAc,CAAC,OAAO,CAAC,aAAa,GAAG,WAAS,aAAe,CAAC;SACnE;QAED,cAAc,CAA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AE;oBACjB,OAAO,SAAS,CAAC;gBACrB,CAAC;aACJ,CAAC;SAEL;QAAC,OAAO,CAAC,EAAE;YACR,MAAM,IAAI,6BAAmB,CAAC,0CAAwC,CAAC,CAAC,OAAS,CAAC,CAAC;SACtF;IAEL,CAAC;IAtIc,+BAAO,GAAW,OAAO,CAAC;IAwI7C,8BAAC;CAAA,AAzID,IAyIC;AAED,kBAAe,uBAAuB,CAAC"} \ No newline at end of file diff --git a/dist/lib/index.d.ts b/dist/lib/index.d.ts new file mode 100644 index 0000000..a9f8c6b --- /dev/null +++ b/dist/lib/index.d.ts @@ -0,0 +1,4 @@ +export { default as Client } from "./client"; +export { default as Config } from "./config"; +export * from "./service/"; +export { default as HttpURLConnectionClient } from "./httpClient/httpURLConnectionClient"; diff --git a/dist/lib/index.js b/dist/lib/index.js new file mode 100644 index 0000000..4e3aa31 --- /dev/null +++ b/dist/lib/index.js @@ -0,0 +1,33 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +function __export(m) { + for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; +} +Object.defineProperty(exports, "__esModule", { value: true }); +var client_1 = require("./client"); +exports.Client = client_1.default; +var config_1 = require("./config"); +exports.Config = config_1.default; +__export(require("./service/")); +var httpURLConnectionClient_1 = require("./httpClient/httpURLConnectionClient"); +exports.HttpURLConnectionClient = httpURLConnectionClient_1.default; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/lib/index.js.map b/dist/lib/index.js.map new file mode 100644 index 0000000..868c79e --- /dev/null +++ b/dist/lib/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;AAEH,mCAA6C;AAApC,0BAAA,OAAO,CAAU;AAC1B,mCAA6C;AAApC,0BAAA,OAAO,CAAU;AAC1B,gCAA2B;AAC3B,gFAA0F;AAAjF,4DAAA,OAAO,CAA2B"} \ No newline at end of file diff --git a/dist/lib/notification/notificationRequest.d.ts b/dist/lib/notification/notificationRequest.d.ts new file mode 100644 index 0000000..137e0ff --- /dev/null +++ b/dist/lib/notification/notificationRequest.d.ts @@ -0,0 +1,10 @@ +import { Notification, NotificationItem, NotificationRequestItem } from "../typings/notification"; +declare class NotificationRequest { + constructor(json: Notification); + notificationItemContainers: NotificationItem[]; + live: string; + readonly notificationItems: NotificationRequestItem[]; + private _live; + private _notificationItemContainers; +} +export default NotificationRequest; diff --git a/dist/lib/notification/notificationRequest.js b/dist/lib/notification/notificationRequest.js new file mode 100644 index 0000000..9ba34e5 --- /dev/null +++ b/dist/lib/notification/notificationRequest.js @@ -0,0 +1,63 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var notification_1 = require("../typings/notification"); +var NotificationRequest = /** @class */ (function () { + function NotificationRequest(json) { + var notification = notification_1.Convert.toNotification(JSON.stringify(json)); + this._notificationItemContainers = notification.notificationItems; + this._live = notification.live; + } + Object.defineProperty(NotificationRequest.prototype, "notificationItemContainers", { + get: function () { + return this._notificationItemContainers; + }, + set: function (value) { + this._notificationItemContainers = value; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(NotificationRequest.prototype, "live", { + get: function () { + return this._live; + }, + set: function (value) { + this._live = value; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(NotificationRequest.prototype, "notificationItems", { + get: function () { + if (!this._notificationItemContainers) { + return null; + } + return this._notificationItemContainers.map(function (container) { return container.notificationRequestItem; }); + }, + enumerable: true, + configurable: true + }); + return NotificationRequest; +}()); +exports.default = NotificationRequest; +//# sourceMappingURL=notificationRequest.js.map \ No newline at end of file diff --git a/dist/lib/notification/notificationRequest.js.map b/dist/lib/notification/notificationRequest.js.map new file mode 100644 index 0000000..d35aa2b --- /dev/null +++ b/dist/lib/notification/notificationRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"notificationRequest.js","sourceRoot":"","sources":["../../../src/notification/notificationRequest.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wDAAyG;AAEzG;IACI,6BAAmB,IAAkB;QACjC,IAAM,YAAY,GAAG,sBAAO,CAAC,cAAc,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;QAClE,IAAI,CAAC,2BAA2B,GAAG,YAAY,CAAC,iBAAiB,CAAC;QAClE,IAAI,CAAC,KAAK,GAAG,YAAY,CAAC,IAAI,CAAC;IACnC,CAAC;IAED,sBAAW,2DAA0B;aAArC;YACI,OAAO,IAAI,CAAC,2BAA2B,CAAC;QAC5C,CAAC;aAED,UAAsC,KAAyB;YAC3D,IAAI,CAAC,2BAA2B,GAAG,KAAK,CAAC;QAC7C,CAAC;;;OAJA;IAMD,sBAAW,qCAAI;aAAf;YACI,OAAO,IAAI,CAAC,KAAK,CAAC;QACtB,CAAC;aAED,UAAgB,KAAa;YACzB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACvB,CAAC;;;OAJA;IAMD,sBAAW,kDAAiB;aAA5B;YACI,IAAI,CAAC,IAAI,CAAC,2BAA2B,EAAE;gBACnC,OAAO,IAAI,CAAC;aACf;YAED,OAAO,IAAI,CAAC,2BAA2B,CAAC,GAAG,CAAC,UAAC,SAAS,IAA8B,OAAA,SAAS,CAAC,uBAAuB,EAAjC,CAAiC,CAAC,CAAC;QAC3H,CAAC;;;OAAA;IAIL,0BAAC;AAAD,CAAC,AAjCD,IAiCC;AAED,kBAAe,mBAAmB,CAAC"} \ No newline at end of file diff --git a/dist/lib/security/exception/invalidSecurityKeyException.d.ts b/dist/lib/security/exception/invalidSecurityKeyException.d.ts new file mode 100644 index 0000000..e318976 --- /dev/null +++ b/dist/lib/security/exception/invalidSecurityKeyException.d.ts @@ -0,0 +1,8 @@ +declare class InvalidSecurityKeyException implements Error { + private readonly _message; + private readonly _name; + constructor(message: string); + readonly message: string; + readonly name: string; +} +export default InvalidSecurityKeyException; diff --git a/dist/lib/security/exception/invalidSecurityKeyException.js b/dist/lib/security/exception/invalidSecurityKeyException.js new file mode 100644 index 0000000..aac9cd0 --- /dev/null +++ b/dist/lib/security/exception/invalidSecurityKeyException.js @@ -0,0 +1,45 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var InvalidSecurityKeyException = /** @class */ (function () { + function InvalidSecurityKeyException(message) { + this._message = message; + this._name = "InvalidSecurityKeyException"; + } + Object.defineProperty(InvalidSecurityKeyException.prototype, "message", { + get: function () { + return this._message; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(InvalidSecurityKeyException.prototype, "name", { + get: function () { + return this._name; + }, + enumerable: true, + configurable: true + }); + return InvalidSecurityKeyException; +}()); +exports.default = InvalidSecurityKeyException; +//# sourceMappingURL=invalidSecurityKeyException.js.map \ No newline at end of file diff --git a/dist/lib/security/exception/invalidSecurityKeyException.js.map b/dist/lib/security/exception/invalidSecurityKeyException.js.map new file mode 100644 index 0000000..bb4dc11 --- /dev/null +++ b/dist/lib/security/exception/invalidSecurityKeyException.js.map @@ -0,0 +1 @@ +{"version":3,"file":"invalidSecurityKeyException.js","sourceRoot":"","sources":["../../../../src/security/exception/invalidSecurityKeyException.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;AAEH;IAII,qCAAmB,OAAe;QAC9B,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;QACxB,IAAI,CAAC,KAAK,GAAG,6BAA6B,CAAC;IAC/C,CAAC;IAED,sBAAW,gDAAO;aAAlB;YACI,OAAO,IAAI,CAAC,QAAQ,CAAC;QACzB,CAAC;;;OAAA;IAED,sBAAW,6CAAI;aAAf;YACI,OAAO,IAAI,CAAC,KAAK,CAAC;QACtB,CAAC;;;OAAA;IACL,kCAAC;AAAD,CAAC,AAhBD,IAgBC;AAED,kBAAe,2BAA2B,CAAC"} \ No newline at end of file diff --git a/dist/lib/security/nexoCrypto.d.ts b/dist/lib/security/nexoCrypto.d.ts new file mode 100644 index 0000000..ac3aee1 --- /dev/null +++ b/dist/lib/security/nexoCrypto.d.ts @@ -0,0 +1,11 @@ +import { MessageHeader, SaleToPoiSecuredMessage, SecurityKey } from "../typings/terminal"; +declare class NexoCrypto { + static encrypt(messageHeader: MessageHeader, saleToPoiMessageJson: string, securityKey: SecurityKey): SaleToPoiSecuredMessage; + decrypt(saleToPoiSecureMessage: SaleToPoiSecuredMessage, securityKey: SecurityKey): string; + private static validateSecurityKey; + private static crypt; + private static hmac; + private static generateRandomIvNonce; + private validateHmac; +} +export default NexoCrypto; diff --git a/dist/lib/security/nexoCrypto.js b/dist/lib/security/nexoCrypto.js new file mode 100644 index 0000000..a4b52b3 --- /dev/null +++ b/dist/lib/security/nexoCrypto.js @@ -0,0 +1,107 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var crypto_1 = require("crypto"); +var nexoCryptoException_1 = __importDefault(require("../service/exception/nexoCryptoException")); +var nexoConstants_1 = require("../typings/constants/nexoConstants"); +var invalidSecurityKeyException_1 = __importDefault(require("./exception/invalidSecurityKeyException")); +var nexoDerivedKeyGenerator_1 = __importDefault(require("./nexoDerivedKeyGenerator")); +var Modes; +(function (Modes) { + Modes[Modes["ENCRYPT"] = 0] = "ENCRYPT"; + Modes[Modes["DECRYPT"] = 1] = "DECRYPT"; +})(Modes || (Modes = {})); +var NexoCrypto = /** @class */ (function () { + function NexoCrypto() { + } + NexoCrypto.encrypt = function (messageHeader, saleToPoiMessageJson, securityKey) { + var derivedKey = nexoDerivedKeyGenerator_1.default.deriveKeyMaterial(securityKey.passphrase); + var saleToPoiMessageByteArray = Buffer.from(saleToPoiMessageJson, "ascii"); + var ivNonce = NexoCrypto.generateRandomIvNonce(); + var encryptedSaleToPoiMessage = NexoCrypto.crypt(saleToPoiMessageByteArray, derivedKey, ivNonce, Modes.ENCRYPT); + var encryptedSaleToPoiMessageHmac = NexoCrypto.hmac(saleToPoiMessageByteArray, derivedKey); + var securityTrailer = { + adyenCryptoVersion: securityKey.adyenCryptoVersion, + hmac: encryptedSaleToPoiMessageHmac.toString("base64"), + keyIdentifier: securityKey.keyIdentifier, + keyVersion: securityKey.keyVersion, + nonce: ivNonce.toString("base64"), + }; + return { + messageHeader: messageHeader, + nexoBlob: encryptedSaleToPoiMessage.toString("base64"), + securityTrailer: securityTrailer, + }; + }; + NexoCrypto.prototype.decrypt = function (saleToPoiSecureMessage, securityKey) { + NexoCrypto.validateSecurityKey(securityKey); + var encryptedSaleToPoiMessageByteArray = Buffer.from(saleToPoiSecureMessage.nexoBlob, "base64"); + var derivedKey = nexoDerivedKeyGenerator_1.default.deriveKeyMaterial(securityKey.passphrase); + var ivNonce = Buffer.from(saleToPoiSecureMessage.securityTrailer.nonce, "base64"); + var decryptedSaleToPoiMessageByteArray = NexoCrypto.crypt(encryptedSaleToPoiMessageByteArray, derivedKey, ivNonce, Modes.DECRYPT); + var receivedHmac = Buffer.from(saleToPoiSecureMessage.securityTrailer.hmac, "base64"); + this.validateHmac(receivedHmac, decryptedSaleToPoiMessageByteArray, derivedKey); + return decryptedSaleToPoiMessageByteArray.toString("ascii"); + }; + NexoCrypto.validateSecurityKey = function (securityKey) { + var isValid = securityKey + && securityKey.passphrase + && securityKey.keyIdentifier + && securityKey.keyVersion + && securityKey.adyenCryptoVersion; + if (!isValid) { + throw new invalidSecurityKeyException_1.default("Invalid Security Key"); + } + }; + NexoCrypto.crypt = function (bytes, dk, ivNonce, mode) { + var actualIV = Buffer.alloc(nexoConstants_1.NEXO_IV_LENGTH); + for (var i = 0; i < nexoConstants_1.NEXO_IV_LENGTH; i++) { + actualIV[i] = dk.iv[i] ^ ivNonce[i]; + } + var cipher = mode === Modes.ENCRYPT + ? crypto_1.createCipheriv("aes-256-cbc", dk.cipherKey, actualIV) + : crypto_1.createDecipheriv("aes-256-cbc", dk.cipherKey, actualIV); + var encrypted = cipher.update(bytes); + encrypted = Buffer.concat([encrypted, cipher.final()]); + return encrypted; + }; + NexoCrypto.hmac = function (bytes, derivedKey) { + var mac = crypto_1.createHmac("sha256", derivedKey.hmacKey); + return mac.update(bytes).digest(); + }; + NexoCrypto.generateRandomIvNonce = function () { + return crypto_1.randomBytes(nexoConstants_1.NEXO_IV_LENGTH); + }; + NexoCrypto.prototype.validateHmac = function (receivedHmac, decryptedMessage, derivedKey) { + var hmac = NexoCrypto.hmac(decryptedMessage, derivedKey); + var isValid = hmac.every(function (item, index) { return item === receivedHmac[index]; }); + if (!isValid) { + throw new nexoCryptoException_1.default("Hmac validation failed"); + } + }; + return NexoCrypto; +}()); +exports.default = NexoCrypto; +//# sourceMappingURL=nexoCrypto.js.map \ No newline at end of file diff --git a/dist/lib/security/nexoCrypto.js.map b/dist/lib/security/nexoCrypto.js.map new file mode 100644 index 0000000..c1caaab --- /dev/null +++ b/dist/lib/security/nexoCrypto.js.map @@ -0,0 +1 @@ +{"version":3,"file":"nexoCrypto.js","sourceRoot":"","sources":["../../../src/security/nexoCrypto.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;AAEH,iCAAyF;AACzF,iGAA2E;AAC3E,oEAAkE;AAQlE,wGAAkF;AAClF,sFAAgE;AAEhE,IAAK,KAGJ;AAHD,WAAK,KAAK;IACN,uCAAO,CAAA;IACP,uCAAO,CAAA;AACX,CAAC,EAHI,KAAK,KAAL,KAAK,QAGT;AAED;IAAA;IAsFA,CAAC;IArFiB,kBAAO,GAArB,UACI,aAA4B,EAC5B,oBAA4B,EAC5B,WAAwB;QAExB,IAAM,UAAU,GAAmB,iCAAuB,CAAC,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;QACrG,IAAM,yBAAyB,GAAG,MAAM,CAAC,IAAI,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC;QAC7E,IAAM,OAAO,GAAG,UA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AE,UAA0B;QACzD,IAAM,GAAG,GAAG,mBAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;QACrD,OAAO,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,CAAC;IACtC,CAAC;IAEc,gCAAqB,GAApC;QACI,OAAO,oBAAW,CAAC,8BAAc,CAAC,CAAC;IACvC,CAAC;IAEO,iCAAY,GAApB,UAAqB,YAAoB,EAAE,gBAAwB,EAAE,UAA0B;QAC3F,IAAM,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC;QAE3D,IAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,UAAC,IAAI,EAAE,KAAK,IAAc,OAAA,IAAI,KAAK,YAAY,CAAC,KAAK,CAAC,EAA5B,CAA4B,CAAC,CAAC;QAEnF,IAAI,CAAC,OAAO,EAAE;YACV,MAAM,IAAI,6BAAmB,CAAC,wBAAwB,CAAC,CAAC;SAC3D;IACL,CAAC;IACL,iBAAC;AAAD,CAAC,AAtFD,IAsFC;AAED,kBAAe,UAAU,CAAC"} \ No newline at end of file diff --git a/dist/lib/security/nexoDerivedKeyGenerator.d.ts b/dist/lib/security/nexoDerivedKeyGenerator.d.ts new file mode 100644 index 0000000..e409b6b --- /dev/null +++ b/dist/lib/security/nexoDerivedKeyGenerator.d.ts @@ -0,0 +1,6 @@ +import { NexoDerivedKey } from "../typings/terminal"; +declare class NexoDerivedKeyGenerator { + static deriveKeyMaterial(passphrase: string): NexoDerivedKey; + private static readKeyData; +} +export default NexoDerivedKeyGenerator; diff --git a/dist/lib/security/nexoDerivedKeyGenerator.js b/dist/lib/security/nexoDerivedKeyGenerator.js new file mode 100644 index 0000000..b2b7b18 --- /dev/null +++ b/dist/lib/security/nexoDerivedKeyGenerator.js @@ -0,0 +1,46 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var crypto_1 = require("crypto"); +var nexoConstants_1 = require("../typings/constants/nexoConstants"); +var NexoDerivedKeyGenerator = /** @class */ (function () { + function NexoDerivedKeyGenerator() { + } + NexoDerivedKeyGenerator.deriveKeyMaterial = function (passphrase) { + var pass = Buffer.from(passphrase, "binary"); + var salt = Buffer.from("AdyenNexoV1Salt", "binary"); + var iterations = 4000; + var keylen = nexoConstants_1.NEXO_CIPHER_KEY_LENGTH + nexoConstants_1.NEXO_HMAC_KEY_LENGTH + nexoConstants_1.NEXO_IV_LENGTH; + var key = crypto_1.pbkdf2Sync(pass, salt, iterations, keylen * 8, "sha1"); + return NexoDerivedKeyGenerator.readKeyData(key); + }; + NexoDerivedKeyGenerator.readKeyData = function (key) { + return { + cipherKey: key.slice(nexoConstants_1.NEXO_HMAC_KEY_LENGTH, nexoConstants_1.NEXO_HMAC_KEY_LENGTH + nexoConstants_1.NEXO_CIPHER_KEY_LENGTH), + hmacKey: key.slice(0, nexoConstants_1.NEXO_HMAC_KEY_LENGTH), + iv: key.slice(nexoConstants_1.NEXO_HMAC_KEY_LENGTH + nexoConstants_1.NEXO_CIPHER_KEY_LENGTH, nexoConstants_1.NEXO_CIPHER_KEY_LENGTH + nexoConstants_1.NEXO_HMAC_KEY_LENGTH + nexoConstants_1.NEXO_IV_LENGTH), + }; + }; + return NexoDerivedKeyGenerator; +}()); +exports.default = NexoDerivedKeyGenerator; +//# sourceMappingURL=nexoDerivedKeyGenerator.js.map \ No newline at end of file diff --git a/dist/lib/security/nexoDerivedKeyGenerator.js.map b/dist/lib/security/nexoDerivedKeyGenerator.js.map new file mode 100644 index 0000000..f3ea105 --- /dev/null +++ b/dist/lib/security/nexoDerivedKeyGenerator.js.map @@ -0,0 +1 @@ +{"version":3,"file":"nexoDerivedKeyGenerator.js","sourceRoot":"","sources":["../../../src/security/nexoDerivedKeyGenerator.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;AAEH,iCAAkC;AAClC,oEAAgH;AAGhH;IAAA;IAoBA,CAAC;IAnBiB,yCAAiB,GAA/B,UAAgC,UAAkB;QAC9C,IAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;QAC/C,IAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CAAC;QACtD,IAAM,UAAU,GAAG,IAAI,CAAC;QACxB,IAAM,MAAM,GAAG,sCAAsB,GAAG,oCAAoB,GAAG,8BAAc,CAAC;QAC9E,IAAM,GAAG,GAAG,mBAAU,CAAC,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,GAAG,CAAC,EAAE,MAAM,CAAC,CAAC;QACnE,OAAO,uBAAuB,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IACpD,CAAC;IAEc,mCAAW,GAA1B,UAA2B,GAAW;QAClC,OAAO;YACH,SAAS,EAAE,GAAG,CAAC,KAAK,CAAC,oCAAoB,EAAE,oCAAoB,GAAG,sCAAsB,CAAC;YACzF,OAAO,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,oCAAoB,CAAC;YAC3C,EAAE,EAAE,GAAG,CAAC,KAAK,CACT,oCAAoB,GAAG,sCAAsB,EAC7C,sCAAsB,GAAG,oCAAoB,GAAG,8BAAc,CACjE;SACJ,CAAC;IACN,CAAC;IACL,8BAAC;AAAD,CAAC,AApBD,IAoBC;AAED,kBAAe,uBAAuB,CAAC"} \ No newline at end of file diff --git a/dist/lib/service.d.ts b/dist/lib/service.d.ts new file mode 100644 index 0000000..c6acf0d --- /dev/null +++ b/dist/lib/service.d.ts @@ -0,0 +1,9 @@ +import Client from "./client"; +declare class Service { + protected _apiKeyRequired: boolean; + private _client; + protected constructor(client: Client); + client: Client; + apiKeyRequired: boolean; +} +export default Service; diff --git a/dist/lib/service.js b/dist/lib/service.js new file mode 100644 index 0000000..a566922 --- /dev/null +++ b/dist/lib/service.js @@ -0,0 +1,51 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var Service = /** @class */ (function () { + function Service(client) { + this._apiKeyRequired = false; + this._client = client; + } + Object.defineProperty(Service.prototype, "client", { + get: function () { + return this._client; + }, + set: function (client) { + this._client = client; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(Service.prototype, "apiKeyRequired", { + get: function () { + return this._apiKeyRequired; + }, + set: function (apiKeyRequired) { + this._apiKeyRequired = apiKeyRequired; + }, + enumerable: true, + configurable: true + }); + return Service; +}()); +exports.default = Service; +//# sourceMappingURL=service.js.map \ No newline at end of file diff --git a/dist/lib/service.js.map b/dist/lib/service.js.map new file mode 100644 index 0000000..ec5fd98 --- /dev/null +++ b/dist/lib/service.js.map @@ -0,0 +1 @@ +{"version":3,"file":"service.js","sourceRoot":"","sources":["../../src/service.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;AAIH;IAII,iBAAsB,MAAc;QAH1B,oBAAe,GAAY,KAAK,CAAC;QAIvC,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;IAC1B,CAAC;IAED,sBAAW,2BAAM;aAAjB;YACI,OAAO,IAAI,CAAC,OAAO,CAAC;QACxB,CAAC;aAED,UAAkB,MAAc;YAC5B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QAC1B,CAAC;;;OAJA;IAMD,sBAAW,mCAAc;aAAzB;YACI,OAAO,IAAI,CAAC,eAAe,CAAC;QAChC,CAAC;aAED,UAA0B,cAAuB;YAC7C,IAAI,CAAC,eAAe,GAAG,cAAc,CAAC;QAC1C,CAAC;;;OAJA;IAKL,cAAC;AAAD,CAAC,AAvBD,IAuBC;AAED,kBAAe,OAAO,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/binLookup.d.ts b/dist/lib/service/binLookup.d.ts new file mode 100644 index 0000000..0ec83d5 --- /dev/null +++ b/dist/lib/service/binLookup.d.ts @@ -0,0 +1,11 @@ +import ApiKeyAuthenticatedService from "../apiKeyAuthenticatedService"; +import Client from "../client"; +import { CostEstimateRequest, CostEstimateResponse, ThreeDSAvailabilityRequest, ThreeDSAvailabilityResponse } from "../typings/binLookup"; +declare class BinLookup extends ApiKeyAuthenticatedService { + private readonly _get3dsAvailability; + private readonly _getCostEstimate; + constructor(client: Client); + get3dsAvailability(request: ThreeDSAvailabilityRequest): Promise; + getCostEstimate(request: CostEstimateRequest): Promise; +} +export default BinLookup; diff --git a/dist/lib/service/binLookup.js b/dist/lib/service/binLookup.js new file mode 100644 index 0000000..93c7376 --- /dev/null +++ b/dist/lib/service/binLookup.js @@ -0,0 +1,109 @@ +"use strict"; +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var apiKeyAuthenticatedService_1 = __importDefault(require("../apiKeyAuthenticatedService")); +var getCostEstimate_1 = __importDefault(require("./resource/binLookup/getCostEstimate")); +var get3dsAvailability_1 = __importDefault(require("./resource/binLookup/get3dsAvailability")); +var getJsonResponse_1 = __importDefault(require("../helpers/getJsonResponse")); +var BinLookup = /** @class */ (function (_super) { + __extends(BinLookup, _super); + function BinLookup(client) { + var _this = _super.call(this, client) || this; + _this._get3dsAvailability = new get3dsAvailability_1.default(_this); + _this._getCostEstimate = new getCostEstimate_1.default(_this); + return _this; + } + BinLookup.prototype.get3dsAvailability = function (request) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse_1.default(this._get3dsAvailability, request)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + BinLookup.prototype.getCostEstimate = function (request) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse_1.default(this._getCostEstimate, request)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + return BinLookup; +}(apiKeyAuthenticatedService_1.default)); +exports.default = BinLookup; +//# sourceMappingURL=binLookup.js.map \ No newline at end of file diff --git a/dist/lib/service/binLookup.js.map b/dist/lib/service/binLookup.js.map new file mode 100644 index 0000000..29f4aaa --- /dev/null +++ b/dist/lib/service/binLookup.js.map @@ -0,0 +1 @@ +{"version":3,"file":"binLookup.js","sourceRoot":"","sources":["../../../src/service/binLookup.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,6FAAuE;AAEvE,yFAAmE;AACnE,+FAAyE;AAOzE,+EAAyD;AAEzD;IAAwB,6BAA0B;IAI9C,mBAAmB,MAAc;QAAjC,YACI,kBAAM,MAAM,CAAC,SAGhB;QAFG,KAAI,CAAC,mBAAmB,GAAG,IAAI,4BAAkB,CAAC,KAAI,CAAC,CAAC;QACxD,KAAI,CAAC,gBAAgB,GAAG,IAAI,yBAAe,CAAC,KAAI,CAAC,CAAC;;IACtD,CAAC;IAEY,sCAAkB,GAA/B,UAAgC,OAAmC;;;;4BACxD,qBAAM,yBAAe,CACxB,IAAI,CAAC,mBAAmB,EACxB,OAAO,CACV,EAAA;4BAHD,sBAAO,SAGN,EAAC;;;;KACL;IAEY,mCAAe,GAA5B,UAA6B,OAA4B;;;;4BAC9C,qBAAM,yBAAe,CACxB,IAAI,CAAC,gBAAgB,EACrB,OAAO,CACV,EAAA;4BAHD,sBAAO,SAGN,EAAC;;;;KACL;IACL,gBAAC;AAAD,CAAC,AAvBD,CAAwB,oCAA0B,GAuBjD;AAED,kBAAe,SAAS,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/checkout.d.ts b/dist/lib/service/checkout.d.ts new file mode 100644 index 0000000..fe8216c --- /dev/null +++ b/dist/lib/service/checkout.d.ts @@ -0,0 +1,18 @@ +import ApiKeyAuthenticatedService from "../apiKeyAuthenticatedService"; +import Client from "../client"; +import { DetailsRequest, PaymentMethodsRequest, PaymentMethodsResponse, PaymentRequest, PaymentResponse, PaymentSetupRequest, PaymentSetupResponse, PaymentVerificationRequest, PaymentVerificationResponse } from "../typings/checkout"; +import { RequestOptions } from "../typings/requestOptions"; +declare class Checkout extends ApiKeyAuthenticatedService { + private readonly _payments; + private readonly _paymentMethods; + private readonly _paymentsDetails; + private readonly _paymentSession; + private readonly _paymentsResult; + constructor(client: Client); + payments(paymentsRequest: PaymentRequest, requestOptions?: RequestOptions): Promise; + paymentMethods(paymentMethodsRequest: PaymentMethodsRequest): Promise; + paymentsDetails(paymentsDetailsRequest: DetailsRequest): Promise; + paymentSession(paymentSessionRequest: PaymentSetupRequest, requestOptions?: RequestOptions): Promise; + paymentResult(paymentResultRequest: PaymentVerificationRequest): Promise; +} +export default Checkout; diff --git a/dist/lib/service/checkout.js b/dist/lib/service/checkout.js new file mode 100644 index 0000000..ea511fc --- /dev/null +++ b/dist/lib/service/checkout.js @@ -0,0 +1,130 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var apiKeyAuthenticatedService_1 = __importDefault(require("../apiKeyAuthenticatedService")); +var getJsonResponse_1 = __importDefault(require("../helpers/getJsonResponse")); +var paymentMethods_1 = __importDefault(require("./resource/checkout/paymentMethods")); +var payments_1 = __importDefault(require("./resource/checkout/payments")); +var paymentsDetails_1 = __importDefault(require("./resource/checkout/paymentsDetails")); +var paymentSession_1 = __importDefault(require("./resource/checkout/paymentSession")); +var paymentsResult_1 = __importDefault(require("./resource/checkout/paymentsResult")); +var Checkout = /** @class */ (function (_super) { + __extends(Checkout, _super); + function Checkout(client) { + var _this = _super.call(this, client) || this; + _this._payments = new payments_1.default(_this); + _this._paymentMethods = new paymentMethods_1.default(_this); + _this._paymentsDetails = new paymentsDetails_1.default(_this); + _this._paymentSession = new paymentSession_1.default(_this); + _this._paymentsResult = new paymentsResult_1.default(_this); + return _this; + } + Checkout.prototype.payments = function (paymentsRequest, requestOptions) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + return [2 /*return*/, getJsonResponse_1.default(this._payments, paymentsRequest, requestOptions)]; + }); + }); + }; + Checkout.prototype.paymentMethods = function (paymentMethodsRequest) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + return [2 /*return*/, getJsonResponse_1.default(this._paymentMethods, paymentMethodsRequest)]; + }); + }); + }; + Checkout.prototype.paymentsDetails = function (paymentsDetailsRequest) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + return [2 /*return*/, getJsonResponse_1.default(this._paymentsDetails, paymentsDetailsRequest)]; + }); + }); + }; + Checkout.prototype.paymentSession = function (paymentSessionRequest, requestOptions) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + return [2 /*return*/, getJsonResponse_1.default(this._paymentSession, paymentSessionRequest, requestOptions)]; + }); + }); + }; + Checkout.prototype.paymentResult = function (paymentResultRequest) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + return [2 /*return*/, getJsonResponse_1.default(this._paymentsResult, paymentResultRequest)]; + }); + }); + }; + return Checkout; +}(apiKeyAuthenticatedService_1.default)); +exports.default = Checkout; +//# sourceMappingURL=checkout.js.map \ No newline at end of file diff --git a/dist/lib/service/checkout.js.map b/dist/lib/service/checkout.js.map new file mode 100644 index 0000000..c28b198 --- /dev/null +++ b/dist/lib/service/checkout.js.map @@ -0,0 +1 @@ +{"version":3,"file":"checkout.js","sourceRoot":"","sources":["../../../src/service/checkout.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,6FAAuE;AAEvE,+EAAyD;AAMzD,sFAAgE;AAChE,0EAAoD;AACpD,wFAAkE;AAClE,sFAAgE;AAChE,sFAAgE;AAEhE;IAAuB,4BAA0B;IAO7C,kBAAmB,MAAc;QAAjC,YACI,kBAAM,MAAM,CAAC,SAMhB;QALG,KAAI,CAAC,SAAS,GAAG,IAAI,kBAAQ,CAAC,KAAI,CAAC,CAAC;QACpC,KAAI,CAAC,eAAe,GAAG,IAAI,wBAAc,CAAC,KAAI,CAAC,CAAC;QAChD,KAAI,CAAC,gBAAgB,GAAG,IAAI,yBAAe,CAAC,KAAI,CAAC,CAAC;QAClD,KAAI,CAAC,eAAe,GAAG,IAAI,wBAAc,CAAC,KAAI,CAAC,CAAC;QAChD,KAAI,CAAC,eAAe,GAAG,IAAI,wBAAc,CAAC,KAAI,CAAC,CAAC;;IACpD,CAAC;IAEY,2BAAQ,GAArB,UACI,eAA+B,EAC/B,cAA+B;;;gBAE/B,sBAAO,yBAAe,CAClB,IAAI,CAAC,SAAS,EACd,eAAe,EACf,cAAc,CACjB,EAAC;;;KACL;IAEY,iCAAc,GAA3B,UAA4B,qBAA4C;;;gBACpE,sBAAO,yBAAe,CAClB,IAAI,CAAC,eAAe,EACpB,qBAAqB,CACxB,EAAC;;;KACL;IAEY,kCAAe,GAA5B,UAA6B,sBAAsC;;;gBAC/D,sBAAO,yBAAe,CAClB,IAAI,CAAC,gBAAgB,EACrB,sBAAsB,CACzB,EAAC;;;KACL;IAEY,iCAAc,GAA3B,UACI,qBAA0C,EAC1C,cAA+B;;;gBAE/B,sBAAO,yBAAe,CAClB,IAAI,CAAC,eAAe,EACpB,qBAAqB,EACrB,cAAc,CACjB,EAAC;;;KACL;IAEY,gCAAa,GAA1B,UAA2B,oBAAgD;;;gBACvE,sBAAO,yBAAe,CAClB,IAAI,CAAC,eAAe,EACpB,oBAAoB,CACvB,EAAC;;;KACL;IACL,eAAC;AAAD,CAAC,AA1DD,CAAuB,oCAA0B,GA0DhD;AAED,kBAAe,QAAQ,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/checkoutUtility.d.ts b/dist/lib/service/checkoutUtility.d.ts new file mode 100644 index 0000000..5df19a4 --- /dev/null +++ b/dist/lib/service/checkoutUtility.d.ts @@ -0,0 +1,9 @@ +import ApiKeyAuthenticatedService from "../apiKeyAuthenticatedService"; +import Client from "../client"; +import { CheckoutUtilityRequest, CheckoutUtilityResponse } from "../typings/checkoutUtility"; +declare class CheckoutUtility extends ApiKeyAuthenticatedService { + private readonly _originKeys; + constructor(client: Client); + originKeys(originKeysRequest: CheckoutUtilityRequest): Promise; +} +export default CheckoutUtility; diff --git a/dist/lib/service/checkoutUtility.js b/dist/lib/service/checkoutUtility.js new file mode 100644 index 0000000..b568a38 --- /dev/null +++ b/dist/lib/service/checkoutUtility.js @@ -0,0 +1,94 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var apiKeyAuthenticatedService_1 = __importDefault(require("../apiKeyAuthenticatedService")); +var getJsonResponse_1 = __importDefault(require("../helpers/getJsonResponse")); +var originKeys_1 = __importDefault(require("./resource/checkoutUtility/originKeys")); +var CheckoutUtility = /** @class */ (function (_super) { + __extends(CheckoutUtility, _super); + function CheckoutUtility(client) { + var _this = _super.call(this, client) || this; + _this._originKeys = new originKeys_1.default(_this); + return _this; + } + CheckoutUtility.prototype.originKeys = function (originKeysRequest) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + return [2 /*return*/, getJsonResponse_1.default(this._originKeys, originKeysRequest)]; + }); + }); + }; + return CheckoutUtility; +}(apiKeyAuthenticatedService_1.default)); +exports.default = CheckoutUtility; +//# sourceMappingURL=checkoutUtility.js.map \ No newline at end of file diff --git a/dist/lib/service/checkoutUtility.js.map b/dist/lib/service/checkoutUtility.js.map new file mode 100644 index 0000000..aa038ad --- /dev/null +++ b/dist/lib/service/checkoutUtility.js.map @@ -0,0 +1 @@ +{"version":3,"file":"checkoutUtility.js","sourceRoot":"","sources":["../../../src/service/checkoutUtility.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,6FAAuE;AAEvE,+EAAyD;AAEzD,qFAA+D;AAE/D;IAA8B,mCAA0B;IAGpD,yBAAmB,MAAc;QAAjC,YACI,kBAAM,MAAM,CAAC,SAEhB;QADG,KAAI,CAAC,WAAW,GAAG,IAAI,oBAAU,CAAC,KAAI,CAAC,CAAC;;IAC5C,CAAC;IAEY,oCAAU,GAAvB,UAAwB,iBAAyC;;;gBAC7D,sBAAO,yBAAe,CAClB,IAAI,CAAC,WAAW,EAChB,iBAAiB,CACpB,EAAC;;;KACL;IACL,sBAAC;AAAD,CAAC,AAdD,CAA8B,oCAA0B,GAcvD;AAED,kBAAe,eAAe,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/exception/apiException.d.ts b/dist/lib/service/exception/apiException.d.ts new file mode 100644 index 0000000..9d8a407 --- /dev/null +++ b/dist/lib/service/exception/apiException.d.ts @@ -0,0 +1,13 @@ +import { ApiError } from "../../typings/apiError"; +declare class ApiException implements Error { + private _error; + private _statusCode; + private readonly _message; + private readonly _name; + constructor(message: string, statusCode: number); + error: ApiError; + statusCode: number; + readonly message: string; + readonly name: string; +} +export default ApiException; diff --git a/dist/lib/service/exception/apiException.js b/dist/lib/service/exception/apiException.js new file mode 100644 index 0000000..658bba9 --- /dev/null +++ b/dist/lib/service/exception/apiException.js @@ -0,0 +1,66 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var ApiException = /** @class */ (function () { + function ApiException(message, statusCode) { + this._name = "ApiException"; + this._message = message; + this._statusCode = statusCode; + } + Object.defineProperty(ApiException.prototype, "error", { + get: function () { + return this._error; + }, + set: function (error) { + this._error = error; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(ApiException.prototype, "statusCode", { + get: function () { + return this._statusCode; + }, + set: function (statusCode) { + this._statusCode = statusCode; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(ApiException.prototype, "message", { + get: function () { + return this._message; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(ApiException.prototype, "name", { + get: function () { + return this._name; + }, + enumerable: true, + configurable: true + }); + return ApiException; +}()); +exports.default = ApiException; +//# sourceMappingURL=apiException.js.map \ No newline at end of file diff --git a/dist/lib/service/exception/apiException.js.map b/dist/lib/service/exception/apiException.js.map new file mode 100644 index 0000000..858b8a6 --- /dev/null +++ b/dist/lib/service/exception/apiException.js.map @@ -0,0 +1 @@ +{"version":3,"file":"apiException.js","sourceRoot":"","sources":["../../../../src/service/exception/apiException.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;AAIH;IAMI,sBAAmB,OAAe,EAAE,UAAkB;QAClD,IAAI,CAAC,KAAK,GAAG,cAAc,CAAC;QAC5B,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;QACxB,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;IAClC,CAAC;IAED,sBAAW,+BAAK;aAAhB;YACI,OAAO,IAAI,CAAC,MAAM,CAAC;QACvB,CAAC;aAED,UAAiB,KAAe;YAC5B,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACxB,CAAC;;;OAJA;IAMD,sBAAW,oCAAU;aAArB;YACI,OAAO,IAAI,CAAC,WAAW,CAAC;QAC5B,CAAC;aAED,UAAsB,UAAkB;YACpC,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;QAClC,CAAC;;;OAJA;IAMD,sBAAW,iCAAO;aAAlB;YACI,OAAO,IAAI,CAAC,QAAQ,CAAC;QACzB,CAAC;;;OAAA;IAED,sBAAW,8BAAI;aAAf;YACI,OAAO,IAAI,CAAC,KAAK,CAAC;QACtB,CAAC;;;OAAA;IACL,mBAAC;AAAD,CAAC,AAnCD,IAmCC;AAED,kBAAe,YAAY,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/exception/nexoCryptoException.d.ts b/dist/lib/service/exception/nexoCryptoException.d.ts new file mode 100644 index 0000000..0c3c79b --- /dev/null +++ b/dist/lib/service/exception/nexoCryptoException.d.ts @@ -0,0 +1,8 @@ +declare class NexoCryptoException implements Error { + private readonly _message; + private readonly _name; + constructor(message: string); + readonly message: string; + readonly name: string; +} +export default NexoCryptoException; diff --git a/dist/lib/service/exception/nexoCryptoException.js b/dist/lib/service/exception/nexoCryptoException.js new file mode 100644 index 0000000..80e63e4 --- /dev/null +++ b/dist/lib/service/exception/nexoCryptoException.js @@ -0,0 +1,45 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var NexoCryptoException = /** @class */ (function () { + function NexoCryptoException(message) { + this._name = "NexoCryptoException"; + this._message = message; + } + Object.defineProperty(NexoCryptoException.prototype, "message", { + get: function () { + return this._message; + }, + enumerable: true, + configurable: true + }); + Object.defineProperty(NexoCryptoException.prototype, "name", { + get: function () { + return this._name; + }, + enumerable: true, + configurable: true + }); + return NexoCryptoException; +}()); +exports.default = NexoCryptoException; +//# sourceMappingURL=nexoCryptoException.js.map \ No newline at end of file diff --git a/dist/lib/service/exception/nexoCryptoException.js.map b/dist/lib/service/exception/nexoCryptoException.js.map new file mode 100644 index 0000000..8056e64 --- /dev/null +++ b/dist/lib/service/exception/nexoCryptoException.js.map @@ -0,0 +1 @@ +{"version":3,"file":"nexoCryptoException.js","sourceRoot":"","sources":["../../../../src/service/exception/nexoCryptoException.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;AAEH;IAII,6BAAmB,OAAe;QAC9B,IAAI,CAAC,KAAK,GAAG,qBAAqB,CAAC;QACnC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;IAC5B,CAAC;IAED,sBAAW,wCAAO;aAAlB;YACI,OAAO,IAAI,CAAC,QAAQ,CAAC;QACzB,CAAC;;;OAAA;IAED,sBAAW,qCAAI;aAAf;YACI,OAAO,IAAI,CAAC,KAAK,CAAC;QACtB,CAAC;;;OAAA;IACL,0BAAC;AAAD,CAAC,AAhBD,IAgBC;AAED,kBAAe,mBAAmB,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/index.d.ts b/dist/lib/service/index.d.ts new file mode 100644 index 0000000..678d2e8 --- /dev/null +++ b/dist/lib/service/index.d.ts @@ -0,0 +1,8 @@ +export { default as TerminalLocalAPI } from "./terminalLocalAPI"; +export { default as TerminalCloudAPI } from "./terminalCloudAPI"; +export { default as CheckoutAPI } from "./checkout"; +export { default as CheckoutUtility } from "./checkoutUtility"; +export { default as Recurring } from "./recurring"; +export { default as Modification } from "./modification"; +export { default as BinLookup } from "./binLookup"; +export { default as Payout } from "./payout"; diff --git a/dist/lib/service/index.js b/dist/lib/service/index.js new file mode 100644 index 0000000..e1abb11 --- /dev/null +++ b/dist/lib/service/index.js @@ -0,0 +1,39 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var terminalLocalAPI_1 = require("./terminalLocalAPI"); +exports.TerminalLocalAPI = terminalLocalAPI_1.default; +var terminalCloudAPI_1 = require("./terminalCloudAPI"); +exports.TerminalCloudAPI = terminalCloudAPI_1.default; +var checkout_1 = require("./checkout"); +exports.CheckoutAPI = checkout_1.default; +var checkoutUtility_1 = require("./checkoutUtility"); +exports.CheckoutUtility = checkoutUtility_1.default; +var recurring_1 = require("./recurring"); +exports.Recurring = recurring_1.default; +var modification_1 = require("./modification"); +exports.Modification = modification_1.default; +var binLookup_1 = require("./binLookup"); +exports.BinLookup = binLookup_1.default; +var payout_1 = require("./payout"); +exports.Payout = payout_1.default; +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/lib/service/index.js.map b/dist/lib/service/index.js.map new file mode 100644 index 0000000..150a670 --- /dev/null +++ b/dist/lib/service/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/service/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;AAEH,uDAAiE;AAAxD,8CAAA,OAAO,CAAoB;AACpC,uDAAiE;AAAxD,8CAAA,OAAO,CAAoB;AACpC,uCAAoD;AAA3C,iCAAA,OAAO,CAAe;AAC/B,qDAA+D;AAAtD,4CAAA,OAAO,CAAmB;AACnC,yCAAmD;AAA1C,gCAAA,OAAO,CAAa;AAC7B,+CAAyD;AAAhD,sCAAA,OAAO,CAAgB;AAChC,yCAAmD;AAA1C,gCAAA,OAAO,CAAa;AAC7B,mCAA6C;AAApC,0BAAA,OAAO,CAAU"} \ No newline at end of file diff --git a/dist/lib/service/modification.d.ts b/dist/lib/service/modification.d.ts new file mode 100644 index 0000000..bb256ce --- /dev/null +++ b/dist/lib/service/modification.d.ts @@ -0,0 +1,20 @@ +import Client from "../client"; +import Service from "../service"; +import { ModificationRequest, ModificationResult } from "../typings/payments"; +import { RequestOptions } from "../typings/requestOptions"; +declare class Modification extends Service { + private readonly _cancelOrRefund; + private readonly _cancel; + private readonly _capture; + private readonly _refund; + private readonly _adjustAuthorisation; + private readonly _technicalCancel; + constructor(client: Client); + capture(captureRequest: ModificationRequest, requestOptions?: RequestOptions): Promise; + cancelOrRefund(cancelOrRefundRequest: ModificationRequest, requestOptions?: RequestOptions): Promise; + refund(refundRequest: ModificationRequest, requestOptions?: RequestOptions): Promise; + cancel(cancelRequest: ModificationRequest, requestOptions?: RequestOptions): Promise; + technicalCancel(technicalCancelRequest: ModificationRequest, requestOptions?: RequestOptions): Promise; + adjustAuthorisation(adjustAuthorisationRequest: ModificationRequest, requestOptions?: RequestOptions): Promise; +} +export default Modification; diff --git a/dist/lib/service/modification.js b/dist/lib/service/modification.js new file mode 100644 index 0000000..6c744d4 --- /dev/null +++ b/dist/lib/service/modification.js @@ -0,0 +1,137 @@ +"use strict"; +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var getJsonResponse_1 = __importDefault(require("../helpers/getJsonResponse")); +var service_1 = __importDefault(require("../service")); +var adjustAuthorisation_1 = __importDefault(require("./resource/modification/adjustAuthorisation")); +var cancel_1 = __importDefault(require("./resource/modification/cancel")); +var cancelOrRefund_1 = __importDefault(require("./resource/modification/cancelOrRefund")); +var capture_1 = __importDefault(require("./resource/modification/capture")); +var refund_1 = __importDefault(require("./resource/modification/refund")); +var technicalCancel_1 = __importDefault(require("./resource/modification/technicalCancel")); +var Modification = /** @class */ (function (_super) { + __extends(Modification, _super); + function Modification(client) { + var _this = _super.call(this, client) || this; + _this._capture = new capture_1.default(_this); + _this._cancelOrRefund = new cancelOrRefund_1.default(_this); + _this._cancel = new cancel_1.default(_this); + _this._refund = new refund_1.default(_this); + _this._adjustAuthorisation = new adjustAuthorisation_1.default(_this); + _this._technicalCancel = new technicalCancel_1.default(_this); + return _this; + } + Modification.prototype.capture = function (captureRequest, requestOptions) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse_1.default(this._capture, captureRequest, requestOptions)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + Modification.prototype.cancelOrRefund = function (cancelOrRefundRequest, requestOptions) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse_1.default(this._cancelOrRefund, cancelOrRefundRequest, requestOptions)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + Modification.prototype.refund = function (refundRequest, requestOptions) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse_1.default(this._refund, refundRequest, requestOptions)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + Modification.prototype.cancel = function (cancelRequest, requestOptions) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse_1.default(this._cancel, cancelRequest, requestOptions)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + Modification.prototype.technicalCancel = function (technicalCancelRequest, requestOptions) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse_1.default(this._technicalCancel, technicalCancelRequest, requestOptions)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + Modification.prototype.adjustAuthorisation = function (adjustAuthorisationRequest, requestOptions) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse_1.default(this._adjustAuthorisation, adjustAuthorisationRequest, requestOptions)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + return Modification; +}(service_1.default)); +exports.default = Modification; +//# sourceMappingURL=modification.js.map \ No newline at end of file diff --git a/dist/lib/service/modification.js.map b/dist/lib/service/modification.js.map new file mode 100644 index 0000000..0188100 --- /dev/null +++ b/dist/lib/service/modification.js.map @@ -0,0 +1 @@ +{"version":3,"file":"modification.js","sourceRoot":"","sources":["../../../src/service/modification.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,+EAAyD;AACzD,uDAAiC;AAGjC,oGAA8E;AAC9E,0EAAoD;AACpD,0FAAoE;AACpE,4EAAsD;AACtD,0EAAoD;AACpD,4FAAsE;AAEtE;IAA2B,gCAAO;IAQ9B,sBAAmB,MAAc;QAAjC,YACI,kBAAM,MAAM,CAAC,SAOhB;QANG,KAAI,CAAC,QAAQ,GAAG,IAAI,iBAAO,CAAC,KAAI,CAAC,CAAC;QAClC,KAAI,CAAC,eAAe,GAAG,IAAI,wBAAc,CAAC,KAAI,CAAC,CAAC;QAChD,KAAI,CAAC,OAAO,GAAG,IAAI,gBAAM,CAAC,KAAI,CAAC,CAAC;QAChC,KAAI,CAAC,OAAO,GAAG,IAAI,gBAAM,CAAC,KAAI,CAAC,CAAC;QAChC,KAAI,CAAC,oBAAoB,GAAG,IAAI,6BAAmB,CAAC,KAAI,CAAC,CAAC;QAC1D,KAAI,CAAC,gBAAgB,GAAG,IAAI,yBAAe,CAAC,KAAI,CAAC,CAAC;;IACtD,CAAC;IAEY,8BAAO,GAApB,UACI,cAAmC,EACnC,cAA+B;;;;4BAExB,qBAAM,yBAAe,CACxB,IAAI,CAAC,QAAQ,EACb,cAAc,EACd,cAAc,CACjB,EAAA;4BAJD,sBAAO,SAIN,EAAC;;;;KACL;IAEY,qCAAc,GAA3B,UACI,qBAA0C,EAC1C,cAA+B;;;;4BAExB,qBAAM,yBAAe,CACxB,IAAI,CAAC,eAAe,EACpB,qBAAqB,EACrB,cAAc,CACjB,EAAA;4BAJD,sBAAO,SAIN,EAAC;;;;KACL;IAEY,6BAAM,GAAnB,UACI,aAAkC,EAClC,cAA+B;;;;4BAExB,qBAAM,yBAAe,CACxB,IAAI,CAAC,OAAO,EACZ,aAAa,EACb,cAAc,CACjB,EAAA;4BAJD,sBAAO,SAIN,EAAC;;;;KACL;IAEY,6BAAM,GAAnB,UACI,aAAkC,EAClC,cAA+B;;;;4BAExB,qBAAM,yBAAe,CACxB,IAAI,CAAC,OAAO,EACZ,aAAa,EACb,cAAc,CACjB,EAAA;4BAJD,sBAAO,SAIN,EAAC;;;;KACL;IAEY,sCAAe,GAA5B,UACI,sBAA2C,EAC3C,cAA+B;;;;4BAExB,qBAAM,yBAAe,CACxB,IAAI,CAAC,gBAAgB,EACrB,sBAAsB,EACtB,cAAc,CACjB,EAAA;4BAJD,sBAAO,SAIN,EAAC;;;;KACL;IAEY,0CAAmB,GAAhC,UACI,0BAA+C,EAC/C,cAA+B;;;;4BAExB,qBAAM,yBAAe,CACxB,IAAI,CAAC,oBAAoB,EACzB,0BAA0B,EAC1B,cAAc,CACjB,EAAA;4BAJD,sBAAO,SAIN,EAAC;;;;KACL;IACL,mBAAC;AAAD,CAAC,AAnFD,CAA2B,iBAAO,GAmFjC;AAED,kBAAe,YAAY,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/payout.d.ts b/dist/lib/service/payout.d.ts new file mode 100644 index 0000000..1feeffa --- /dev/null +++ b/dist/lib/service/payout.d.ts @@ -0,0 +1,17 @@ +import Client from "../client"; +import Service from "../service"; +import { ModifyRequest, ModifyResponse, StoreDetailAndSubmitRequest, StoreDetailAndSubmitResponse, StoreDetailRequest, StoreDetailResponse, SubmitRequest, SubmitResponse } from "../typings/payout"; +declare class Payout extends Service { + private readonly _storeDetailAndSubmitThirdParty; + private readonly _confirmThirdParty; + private readonly _declineThirdParty; + private readonly _storeDetail; + private readonly _submitThirdParty; + constructor(client: Client); + storeDetailAndSubmitThirdParty(request: StoreDetailAndSubmitRequest): Promise; + confirmThirdParty(request: ModifyRequest): Promise; + declineThirdParty(request: ModifyRequest): Promise; + storeDetail(request: StoreDetailRequest): Promise; + submitThirdparty(request: SubmitRequest): Promise; +} +export default Payout; diff --git a/dist/lib/service/payout.js b/dist/lib/service/payout.js new file mode 100644 index 0000000..db78fb0 --- /dev/null +++ b/dist/lib/service/payout.js @@ -0,0 +1,125 @@ +"use strict"; +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var service_1 = __importDefault(require("../service")); +var declineThirdParty_1 = __importDefault(require("./resource/payout/declineThirdParty")); +var storeDetail_1 = __importDefault(require("./resource/payout/storeDetail")); +var submitThirdParty_1 = __importDefault(require("./resource/payout/submitThirdParty")); +var confirmThirdParty_1 = __importDefault(require("./resource/payout/confirmThirdParty")); +var storeDetailAndSubmitThirdParty_1 = __importDefault(require("./resource/payout/storeDetailAndSubmitThirdParty")); +var getJsonResponse_1 = __importDefault(require("../helpers/getJsonResponse")); +var Payout = /** @class */ (function (_super) { + __extends(Payout, _super); + function Payout(client) { + var _this = _super.call(this, client) || this; + _this._storeDetailAndSubmitThirdParty = new storeDetailAndSubmitThirdParty_1.default(_this); + _this._confirmThirdParty = new confirmThirdParty_1.default(_this); + _this._declineThirdParty = new declineThirdParty_1.default(_this); + _this._storeDetail = new storeDetail_1.default(_this); + _this._submitThirdParty = new submitThirdParty_1.default(_this); + return _this; + } + Payout.prototype.storeDetailAndSubmitThirdParty = function (request) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse_1.default(this._storeDetailAndSubmitThirdParty, request)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + Payout.prototype.confirmThirdParty = function (request) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse_1.default(this._confirmThirdParty, request)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + Payout.prototype.declineThirdParty = function (request) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse_1.default(this._declineThirdParty, request)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + Payout.prototype.storeDetail = function (request) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse_1.default(this._storeDetail, request)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + Payout.prototype.submitThirdparty = function (request) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse_1.default(this._submitThirdParty, request)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + return Payout; +}(service_1.default)); +exports.default = Payout; +//# sourceMappingURL=payout.js.map \ No newline at end of file diff --git a/dist/lib/service/payout.js.map b/dist/lib/service/payout.js.map new file mode 100644 index 0000000..7bbb2c3 --- /dev/null +++ b/dist/lib/service/payout.js.map @@ -0,0 +1 @@ +{"version":3,"file":"payout.js","sourceRoot":"","sources":["../../../src/service/payout.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,uDAAiC;AACjC,0FAAoE;AACpE,8EAAwD;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IACL,aAAC;AAAD,CAAC,AAnDD,CAAqB,iBAAO,GAmD3B;AAED,kBAAe,MAAM,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/recurring.d.ts b/dist/lib/service/recurring.d.ts new file mode 100644 index 0000000..329e5e5 --- /dev/null +++ b/dist/lib/service/recurring.d.ts @@ -0,0 +1,11 @@ +import Client from "../client"; +import Service from "../service"; +import { DisableRequest, DisableResult, RecurringDetailsRequest, RecurringDetailsResult } from "../typings/recurring"; +declare class Recurring extends Service { + private readonly _listRecurringDetails; + private readonly _disable; + constructor(client: Client); + listRecurringDetails(request: RecurringDetailsRequest): Promise; + disable(request: DisableRequest): Promise; +} +export default Recurring; diff --git a/dist/lib/service/recurring.js b/dist/lib/service/recurring.js new file mode 100644 index 0000000..e620d61 --- /dev/null +++ b/dist/lib/service/recurring.js @@ -0,0 +1,109 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var getJsonResponse_1 = __importDefault(require("../helpers/getJsonResponse")); +var service_1 = __importDefault(require("../service")); +var disable_1 = __importDefault(require("./resource/recurring/disable")); +var listRecurringDetails_1 = __importDefault(require("./resource/recurring/listRecurringDetails")); +var Recurring = /** @class */ (function (_super) { + __extends(Recurring, _super); + function Recurring(client) { + var _this = _super.call(this, client) || this; + _this._listRecurringDetails = new listRecurringDetails_1.default(_this); + _this._disable = new disable_1.default(_this); + return _this; + } + Recurring.prototype.listRecurringDetails = function (request) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse_1.default(this._listRecurringDetails, request)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + Recurring.prototype.disable = function (request) { + return __awaiter(this, void 0, void 0, function () { + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse_1.default(this._disable, request)]; + case 1: return [2 /*return*/, _a.sent()]; + } + }); + }); + }; + return Recurring; +}(service_1.default)); +exports.default = Recurring; +//# sourceMappingURL=recurring.js.map \ No newline at end of file diff --git a/dist/lib/service/recurring.js.map b/dist/lib/service/recurring.js.map new file mode 100644 index 0000000..5c54e2d --- /dev/null +++ b/dist/lib/service/recurring.js.map @@ -0,0 +1 @@ +{"version":3,"file":"recurring.js","sourceRoot":"","sources":["../../../src/service/recurring.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,+EAAyD;AACzD,uDAAiC;AAEjC,yEAAmD;AACnD,mGAA6E;AAE7E;IAAwB,6BAAO;IAI3B,mBAAmB,MAAc;QAAjC,YACI,kBAAM,MAAM,CAAC,SAGhB;QAFG,KAAI,CAAC,qBAAqB,GAAG,IAAI,8BAAoB,CAAC,KAAI,CAAC,CAAC;QAC5D,KAAI,CAAC,QAAQ,GAAG,IAAI,iBAAO,CAAC,KAAI,CAAC,CAAC;;IACtC,CAAC;IAEY,wCAAoB,GAAjC,UAAkC,OAAgC;;;;4BACvD,qBAAM,yBAAe,CACxB,IAAI,CAAC,qBAAqB,EAC1B,OAAO,CACV,EAAA;4BAHD,sBAAO,SAGN,EAAC;;;;KACL;IAEY,2BAAO,GAApB,UAAqB,OAAuB;;;;4BACjC,qBAAM,yBAAe,CACxB,IAAI,CAAC,QAAQ,EACb,OAAO,CACV,EAAA;4BAHD,sBAAO,SAGN,EAAC;;;;KACL;IACL,gBAAC;AAAD,CAAC,AAvBD,CAAwB,iBAAO,GAuB9B;AAED,kBAAe,SAAS,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/resource.d.ts b/dist/lib/service/resource.d.ts new file mode 100644 index 0000000..97bad88 --- /dev/null +++ b/dist/lib/service/resource.d.ts @@ -0,0 +1,9 @@ +import Service from "../service"; +import { RequestOptions } from "../typings/requestOptions"; +declare class Resource { + protected endpoint: string; + private service; + constructor(service: Service, endpoint: string); + request(json: string, requestOptions?: RequestOptions): Promise; +} +export default Resource; diff --git a/dist/lib/service/resource.js b/dist/lib/service/resource.js new file mode 100644 index 0000000..ed95f8e --- /dev/null +++ b/dist/lib/service/resource.js @@ -0,0 +1,100 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var apiException_1 = __importDefault(require("./exception/apiException")); +var Resource = /** @class */ (function () { + function Resource(service, endpoint) { + this.service = service; + this.endpoint = endpoint; + } + Resource.prototype.request = function (json, requestOptions) { + return __awaiter(this, void 0, void 0, function () { + var clientInterface, config, responseBody, apiException, e_1; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: + clientInterface = this.service.client.httpClient; + config = this.service.client.config; + _a.label = 1; + case 1: + _a.trys.push([1, 3, , 4]); + return [4 /*yield*/, clientInterface.request(this.endpoint, json, config, this.service.apiKeyRequired, requestOptions)]; + case 2: return [2 /*return*/, _a.sent()]; + case 3: + e_1 = _a.sent(); + responseBody = e_1.responseBody; + apiException = new apiException_1.default(e_1.message, e_1.code); + return [3 /*break*/, 4]; + case 4: + try { + apiException.error = responseBody; + } + catch (e) { + throw new apiException_1.default("Invalid response or an invalid X-API-Key key was used", e.statusCode); + } + throw apiException; + } + }); + }); + }; + return Resource; +}()); +exports.default = Resource; +//# sourceMappingURL=resource.js.map \ No newline at end of file diff --git a/dist/lib/service/resource.js.map b/dist/lib/service/resource.js.map new file mode 100644 index 0000000..d33fed3 --- /dev/null +++ b/dist/lib/service/resource.js.map @@ -0,0 +1 @@ +{"version":3,"file":"resource.js","sourceRoot":"","sources":["../../../src/service/resource.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMH,0EAAoD;AAEpD;IAII,kBAAmB,OAAgB,EAAE,QAAgB;QACjD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,CAAC;IAEY,0BAAO,GAApB,UAAqB,IAAY,EAAE,cAA+B;;;;;;wBACxD,eAAe,GAAoB,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,UAAU,CAAC;wBAClE,MAAM,GAAW,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC;;;;wBAKvC,qBAAM,eAAe,CAAC,OAAO,CAChC,IAAI,CAAC,QAAQ,EACb,IAAI,EAAE,MAAM,EACZ,IAAI,CAAC,OAAO,CAAC,cAAc,EAC3B,cAAc,CACjB,EAAA;4BALD,sBAAO,SAKN,EAAC;;;wBAEF,YAAY,GAAG,GAAC,CAAC,YAAY,CAAC;wBAC9B,YAAY,GAAG,IAAI,sBAAY,CAAC,GAAC,CAAC,OAAO,EAAE,GAAC,CAAC,IAAI,CAAC,CAAC;;;wBAGvD,IAAI;4BACA,YAAY,CAAC,KAAK,GAAG,YAAY,CAAC;yBACrC;wBAAC,OAAO,CAAC,EAAE;4BACR,MAAM,IAAI,sBAAY,CAAC,uDAAuD,EAAE,CAAC,CAAC,UAAU,CAAC,CAAC;yBACjG;wBAED,MAAM,YAAY,CAAC;;;;KACtB;IACL,eAAC;AAAD,CAAC,AAnCD,IAmCC;AAED,kBAAe,QAAQ,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/resource/binLookup/get3dsAvailability.d.ts b/dist/lib/service/resource/binLookup/get3dsAvailability.d.ts new file mode 100644 index 0000000..73097ef --- /dev/null +++ b/dist/lib/service/resource/binLookup/get3dsAvailability.d.ts @@ -0,0 +1,6 @@ +import Resource from "../../resource"; +import Service from "../../../service"; +declare class Get3dsAvailability extends Resource { + constructor(service: Service); +} +export default Get3dsAvailability; diff --git a/dist/lib/service/resource/binLookup/get3dsAvailability.js b/dist/lib/service/resource/binLookup/get3dsAvailability.js new file mode 100644 index 0000000..aefe830 --- /dev/null +++ b/dist/lib/service/resource/binLookup/get3dsAvailability.js @@ -0,0 +1,49 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var resource_1 = __importDefault(require("../../resource")); +var client_1 = __importDefault(require("../../../client")); +var Get3dsAvailability = /** @class */ (function (_super) { + __extends(Get3dsAvailability, _super); + function Get3dsAvailability(service) { + return _super.call(this, service, "" + service.client.config.endpoint + client_1.default.BIN_LOOKUP_PAL_SUFFIX + client_1.default.BIN_LOOKUP_API_VERSION + "/get3dsAvailability") || this; + } + return Get3dsAvailability; +}(resource_1.default)); +exports.default = Get3dsAvailability; +//# sourceMappingURL=get3dsAvailability.js.map \ No newline at end of file diff --git a/dist/lib/service/resource/binLookup/get3dsAvailability.js.map b/dist/lib/service/resource/binLookup/get3dsAvailability.js.map new file mode 100644 index 0000000..b519f2f --- /dev/null +++ b/dist/lib/service/resource/binLookup/get3dsAvailability.js.map @@ -0,0 +1 @@ +{"version":3,"file":"get3dsAvailability.js","sourceRoot":"","sources":["../../../../../src/service/resource/binLookup/get3dsAvailability.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;AAEH,4DAAsC;AAEtC,2DAAqC;AAErC;IAAiC,sCAAQ;IACrC,4BAAmB,OAAgB;eAC/B,kBACI,OAAO,EACP,KAAG,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,GAAG,gBAAM,CAAC,qBAAqB,GAAG,gBAAM,CAAC,sBAAsB,wBAAqB,CACxH;IACL,CAAC;IACL,yBAAC;AAAD,CAAC,AAPD,CAAiC,kBAAQ,GAOxC;AAED,kBAAe,kBAAkB,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/resource/binLookup/getCostEstimate.d.ts b/dist/lib/service/resource/binLookup/getCostEstimate.d.ts new file mode 100644 index 0000000..1d3c6e5 --- /dev/null +++ b/dist/lib/service/resource/binLookup/getCostEstimate.d.ts @@ -0,0 +1,6 @@ +import Resource from "../../resource"; +import Service from "../../../service"; +declare class GetCostEstimate extends Resource { + constructor(service: Service); +} +export default GetCostEstimate; diff --git a/dist/lib/service/resource/binLookup/getCostEstimate.js b/dist/lib/service/resource/binLookup/getCostEstimate.js new file mode 100644 index 0000000..7c9a68f --- /dev/null +++ b/dist/lib/service/resource/binLookup/getCostEstimate.js @@ -0,0 +1,49 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var resource_1 = __importDefault(require("../../resource")); +var client_1 = __importDefault(require("../../../client")); +var GetCostEstimate = /** @class */ (function (_super) { + __extends(GetCostEstimate, _super); + function GetCostEstimate(service) { + return _super.call(this, service, "" + service.client.config.endpoint + client_1.default.BIN_LOOKUP_PAL_SUFFIX + client_1.default.BIN_LOOKUP_API_VERSION + "/getCostEstimate") || this; + } + return GetCostEstimate; +}(resource_1.default)); +exports.default = GetCostEstimate; +//# sourceMappingURL=getCostEstimate.js.map \ No newline at end of file diff --git a/dist/lib/service/resource/binLookup/getCostEstimate.js.map b/dist/lib/service/resource/binLookup/getCostEstimate.js.map new file mode 100644 index 0000000..1498462 --- /dev/null +++ b/dist/lib/service/resource/binLookup/getCostEstimate.js.map @@ -0,0 +1 @@ +{"version":3,"file":"getCostEstimate.js","sourceRoot":"","sources":["../../../../../src/service/resource/binLookup/getCostEstimate.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;AAEH,4DAAsC;AAEtC,2DAAqC;AAErC;IAA8B,mCAAQ;IAClC,yBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACP,KAAG,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,GAAG,gBAAM,CAAC,qBAAqB,GAAG,gBAAM,CAAC,sBAAsB,qBAAkB,CACrH;IACL,CAAC;IACL,sBAAC;AAAD,CAAC,AAPD,CAA8B,kBAAQ,GAOrC;AAED,kBAAe,eAAe,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/resource/checkout/paymentMethods.d.ts b/dist/lib/service/resource/checkout/paymentMethods.d.ts new file mode 100644 index 0000000..c0c75e8 --- /dev/null +++ b/dist/lib/service/resource/checkout/paymentMethods.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class PaymentMethods extends Resource { + constructor(service: Service); +} +export default PaymentMethods; diff --git a/dist/lib/service/resource/checkout/paymentMethods.js b/dist/lib/service/resource/checkout/paymentMethods.js new file mode 100644 index 0000000..e7e41b0 --- /dev/null +++ b/dist/lib/service/resource/checkout/paymentMethods.js @@ -0,0 +1,49 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var client_1 = __importDefault(require("../../../client")); +var resource_1 = __importDefault(require("../../resource")); +var PaymentMethods = /** @class */ (function (_super) { + __extends(PaymentMethods, _super); + function PaymentMethods(service) { + return _super.call(this, service, service.client.config.checkoutEndpoint + "/" + client_1.default.CHECKOUT_API_VERSION + "/paymentMethods") || this; + } + return PaymentMethods; +}(resource_1.default)); +exports.default = PaymentMethods; +//# sourceMappingURL=paymentMethods.js.map \ No newline at end of file diff --git a/dist/lib/service/resource/checkout/paymentMethods.js.map b/dist/lib/service/resource/checkout/paymentMethods.js.map new file mode 100644 index 0000000..4d12436 --- /dev/null +++ b/dist/lib/service/resource/checkout/paymentMethods.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentMethods.js","sourceRoot":"","sources":["../../../../../src/service/resource/checkout/paymentMethods.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;AAEH,2DAAqC;AAErC,4DAAsC;AAEtC;IAA6B,kCAAQ;IACjC,wBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,gBAAgB,SAAI,gBAAM,CAAC,oBAAoB,oBAAiB,CAC5F;IACL,CAAC;IACL,qBAAC;AAAD,CAAC,AAPD,CAA6B,kBAAQ,GAOpC;AAED,kBAAe,cAAc,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/resource/checkout/paymentSession.d.ts b/dist/lib/service/resource/checkout/paymentSession.d.ts new file mode 100644 index 0000000..344e40f --- /dev/null +++ b/dist/lib/service/resource/checkout/paymentSession.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class PaymentSession extends Resource { + constructor(service: Service); +} +export default PaymentSession; diff --git a/dist/lib/service/resource/checkout/paymentSession.js b/dist/lib/service/resource/checkout/paymentSession.js new file mode 100644 index 0000000..0571961 --- /dev/null +++ b/dist/lib/service/resource/checkout/paymentSession.js @@ -0,0 +1,49 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var client_1 = __importDefault(require("../../../client")); +var resource_1 = __importDefault(require("../../resource")); +var PaymentSession = /** @class */ (function (_super) { + __extends(PaymentSession, _super); + function PaymentSession(service) { + return _super.call(this, service, service.client.config.checkoutEndpoint + "/" + client_1.default.CHECKOUT_API_VERSION + "/paymentSession") || this; + } + return PaymentSession; +}(resource_1.default)); +exports.default = PaymentSession; +//# sourceMappingURL=paymentSession.js.map \ No newline at end of file diff --git a/dist/lib/service/resource/checkout/paymentSession.js.map b/dist/lib/service/resource/checkout/paymentSession.js.map new file mode 100644 index 0000000..1083ff7 --- /dev/null +++ b/dist/lib/service/resource/checkout/paymentSession.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentSession.js","sourceRoot":"","sources":["../../../../../src/service/resource/checkout/paymentSession.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;AAEH,2DAAqC;AAErC,4DAAsC;AAEtC;IAA6B,kCAAQ;IACjC,wBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,gBAAgB,SAAI,gBAAM,CAAC,oBAAoB,oBAAiB,CAC5F;IACL,CAAC;IACL,qBAAC;AAAD,CAAC,AAPD,CAA6B,kBAAQ,GAOpC;AAED,kBAAe,cAAc,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/resource/checkout/payments.d.ts b/dist/lib/service/resource/checkout/payments.d.ts new file mode 100644 index 0000000..db58d8f --- /dev/null +++ b/dist/lib/service/resource/checkout/payments.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class Payments extends Resource { + constructor(service: Service); +} +export default Payments; diff --git a/dist/lib/service/resource/checkout/payments.js b/dist/lib/service/resource/checkout/payments.js new file mode 100644 index 0000000..7de00f6 --- /dev/null +++ b/dist/lib/service/resource/checkout/payments.js @@ -0,0 +1,49 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var client_1 = __importDefault(require("../../../client")); +var resource_1 = __importDefault(require("../../resource")); +var Payments = /** @class */ (function (_super) { + __extends(Payments, _super); + function Payments(service) { + return _super.call(this, service, service.client.config.checkoutEndpoint + "/" + client_1.default.CHECKOUT_API_VERSION + "/payments") || this; + } + return Payments; +}(resource_1.default)); +exports.default = Payments; +//# sourceMappingURL=payments.js.map \ No newline at end of file diff --git a/dist/lib/service/resource/checkout/payments.js.map b/dist/lib/service/resource/checkout/payments.js.map new file mode 100644 index 0000000..3a41500 --- /dev/null +++ b/dist/lib/service/resource/checkout/payments.js.map @@ -0,0 +1 @@ +{"version":3,"file":"payments.js","sourceRoot":"","sources":["../../../../../src/service/resource/checkout/payments.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;AAEH,2DAAqC;AAErC,4DAAsC;AAEtC;IAAuB,4BAAQ;IAC3B,kBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,gBAAgB,SAAI,gBAAM,CAAC,oBAAoB,cAAW,CACtF;IACL,CAAC;IACL,eAAC;AAAD,CAAC,AAPD,CAAuB,kBAAQ,GAO9B;AAED,kBAAe,QAAQ,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/resource/checkout/paymentsDetails.d.ts b/dist/lib/service/resource/checkout/paymentsDetails.d.ts new file mode 100644 index 0000000..98262e7 --- /dev/null +++ b/dist/lib/service/resource/checkout/paymentsDetails.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class PaymentsDetails extends Resource { + constructor(service: Service); +} +export default PaymentsDetails; diff --git a/dist/lib/service/resource/checkout/paymentsDetails.js b/dist/lib/service/resource/checkout/paymentsDetails.js new file mode 100644 index 0000000..2ecda1f --- /dev/null +++ b/dist/lib/service/resource/checkout/paymentsDetails.js @@ -0,0 +1,49 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var client_1 = __importDefault(require("../../../client")); +var resource_1 = __importDefault(require("../../resource")); +var PaymentsDetails = /** @class */ (function (_super) { + __extends(PaymentsDetails, _super); + function PaymentsDetails(service) { + return _super.call(this, service, service.client.config.checkoutEndpoint + "/" + client_1.default.CHECKOUT_API_VERSION + "/payments/details") || this; + } + return PaymentsDetails; +}(resource_1.default)); +exports.default = PaymentsDetails; +//# sourceMappingURL=paymentsDetails.js.map \ No newline at end of file diff --git a/dist/lib/service/resource/checkout/paymentsDetails.js.map b/dist/lib/service/resource/checkout/paymentsDetails.js.map new file mode 100644 index 0000000..faec33a --- /dev/null +++ b/dist/lib/service/resource/checkout/paymentsDetails.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentsDetails.js","sourceRoot":"","sources":["../../../../../src/service/resource/checkout/paymentsDetails.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;AAEH,2DAAqC;AAErC,4DAAsC;AAEtC;IAA8B,mCAAQ;IAClC,yBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,gBAAgB,SAAI,gBAAM,CAAC,oBAAoB,sBAAmB,CAC9F;IACL,CAAC;IACL,sBAAC;AAAD,CAAC,AAPD,CAA8B,kBAAQ,GAOrC;AAED,kBAAe,eAAe,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/resource/checkout/paymentsResult.d.ts b/dist/lib/service/resource/checkout/paymentsResult.d.ts new file mode 100644 index 0000000..e7b3793 --- /dev/null +++ b/dist/lib/service/resource/checkout/paymentsResult.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class PaymentsResult extends Resource { + constructor(service: Service); +} +export default PaymentsResult; diff --git a/dist/lib/service/resource/checkout/paymentsResult.js b/dist/lib/service/resource/checkout/paymentsResult.js new file mode 100644 index 0000000..152c516 --- /dev/null +++ b/dist/lib/service/resource/checkout/paymentsResult.js @@ -0,0 +1,49 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var client_1 = __importDefault(require("../../../client")); +var resource_1 = __importDefault(require("../../resource")); +var PaymentsResult = /** @class */ (function (_super) { + __extends(PaymentsResult, _super); + function PaymentsResult(service) { + return _super.call(this, service, service.client.config.checkoutEndpoint + "/" + client_1.default.CHECKOUT_API_VERSION + "/payments/result") || this; + } + return PaymentsResult; +}(resource_1.default)); +exports.default = PaymentsResult; +//# sourceMappingURL=paymentsResult.js.map \ No newline at end of file diff --git a/dist/lib/service/resource/checkout/paymentsResult.js.map b/dist/lib/service/resource/checkout/paymentsResult.js.map new file mode 100644 index 0000000..b3e1f13 --- /dev/null +++ b/dist/lib/service/resource/checkout/paymentsResult.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentsResult.js","sourceRoot":"","sources":["../../../../../src/service/resource/checkout/paymentsResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;AAEH,2DAAqC;AAErC,4DAAsC;AAEtC;IAA6B,kCAAQ;IACjC,wBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,gBAAgB,SAAI,gBAAM,CAAC,oBAAoB,qBAAkB,CAC7F;IACL,CAAC;IACL,qBAAC;AAAD,CAAC,AAPD,CAA6B,kBAAQ,GAOpC;AAED,kBAAe,cAAc,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/resource/checkoutUtility/originKeys.d.ts b/dist/lib/service/resource/checkoutUtility/originKeys.d.ts new file mode 100644 index 0000000..8537768 --- /dev/null +++ b/dist/lib/service/resource/checkoutUtility/originKeys.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class OriginKeys extends Resource { + constructor(service: Service); +} +export default OriginKeys; diff --git a/dist/lib/service/resource/checkoutUtility/originKeys.js b/dist/lib/service/resource/checkoutUtility/originKeys.js new file mode 100644 index 0000000..3154ba1 --- /dev/null +++ b/dist/lib/service/resource/checkoutUtility/originKeys.js @@ -0,0 +1,49 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var client_1 = __importDefault(require("../../../client")); +var resource_1 = __importDefault(require("../../resource")); +var OriginKeys = /** @class */ (function (_super) { + __extends(OriginKeys, _super); + function OriginKeys(service) { + return _super.call(this, service, service.client.config.checkoutEndpoint + "/" + client_1.default.CHECKOUT_UTILITY_API_VERSION + "/originKeys") || this; + } + return OriginKeys; +}(resource_1.default)); +exports.default = OriginKeys; +//# sourceMappingURL=originKeys.js.map \ No newline at end of file diff --git a/dist/lib/service/resource/checkoutUtility/originKeys.js.map b/dist/lib/service/resource/checkoutUtility/originKeys.js.map new file mode 100644 index 0000000..9f383e6 --- /dev/null +++ b/dist/lib/service/resource/checkoutUtility/originKeys.js.map @@ -0,0 +1 @@ +{"version":3,"file":"originKeys.js","sourceRoot":"","sources":["../../../../../src/service/resource/checkoutUtility/originKeys.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;AAEH,2DAAqC;AAErC,4DAAsC;AAEtC;IAAyB,8BAAQ;IAC7B,oBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,gBAAgB,SAAI,gBAAM,CAAC,4BAA4B,gBAAa,CAChG;IACL,CAAC;IACL,iBAAC;AAAD,CAAC,AAPD,CAAyB,kBAAQ,GAOhC;AAED,kBAAe,UAAU,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/resource/modification/adjustAuthorisation.d.ts b/dist/lib/service/resource/modification/adjustAuthorisation.d.ts new file mode 100644 index 0000000..4de7039 --- /dev/null +++ b/dist/lib/service/resource/modification/adjustAuthorisation.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class AdjustAuthorisation extends Resource { + constructor(service: Service); +} +export default AdjustAuthorisation; diff --git a/dist/lib/service/resource/modification/adjustAuthorisation.js b/dist/lib/service/resource/modification/adjustAuthorisation.js new file mode 100644 index 0000000..521ea02 --- /dev/null +++ b/dist/lib/service/resource/modification/adjustAuthorisation.js @@ -0,0 +1,49 @@ +"use strict"; +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var client_1 = __importDefault(require("../../../client")); +var resource_1 = __importDefault(require("../../resource")); +var AdjustAuthorisation = /** @class */ (function (_super) { + __extends(AdjustAuthorisation, _super); + function AdjustAuthorisation(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Payment/" + client_1.default.API_VERSION + "/adjustAuthorisation") || this; + } + return AdjustAuthorisation; +}(resource_1.default)); +exports.default = AdjustAuthorisation; +//# sourceMappingURL=adjustAuthorisation.js.map \ No newline at end of file diff --git a/dist/lib/service/resource/modification/adjustAuthorisation.js.map b/dist/lib/service/resource/modification/adjustAuthorisation.js.map new file mode 100644 index 0000000..ef2eda2 --- /dev/null +++ b/dist/lib/service/resource/modification/adjustAuthorisation.js.map @@ -0,0 +1 @@ +{"version":3,"file":"adjustAuthorisation.js","sourceRoot":"","sources":["../../../../../src/service/resource/modification/adjustAuthorisation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,2DAAqC;AAErC,4DAAsC;AAEtC;IAAkC,uCAAQ;IACtC,6BAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,6BAAwB,gBAAM,CAAC,WAAW,yBAAsB,CACpG;IACL,CAAC;IACL,0BAAC;AAAD,CAAC,AAPD,CAAkC,kBAAQ,GAOzC;AAED,kBAAe,mBAAmB,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/resource/modification/cancel.d.ts b/dist/lib/service/resource/modification/cancel.d.ts new file mode 100644 index 0000000..cdff528 --- /dev/null +++ b/dist/lib/service/resource/modification/cancel.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class Cancel extends Resource { + constructor(service: Service); +} +export default Cancel; diff --git a/dist/lib/service/resource/modification/cancel.js b/dist/lib/service/resource/modification/cancel.js new file mode 100644 index 0000000..2700ae1 --- /dev/null +++ b/dist/lib/service/resource/modification/cancel.js @@ -0,0 +1,49 @@ +"use strict"; +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var client_1 = __importDefault(require("../../../client")); +var resource_1 = __importDefault(require("../../resource")); +var Cancel = /** @class */ (function (_super) { + __extends(Cancel, _super); + function Cancel(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Payment/" + client_1.default.API_VERSION + "/cancel") || this; + } + return Cancel; +}(resource_1.default)); +exports.default = Cancel; +//# sourceMappingURL=cancel.js.map \ No newline at end of file diff --git a/dist/lib/service/resource/modification/cancel.js.map b/dist/lib/service/resource/modification/cancel.js.map new file mode 100644 index 0000000..25aabe8 --- /dev/null +++ b/dist/lib/service/resource/modification/cancel.js.map @@ -0,0 +1 @@ +{"version":3,"file":"cancel.js","sourceRoot":"","sources":["../../../../../src/service/resource/modification/cancel.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,2DAAqC;AAErC,4DAAsC;AAEtC;IAAqB,0BAAQ;IACzB,gBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,6BAAwB,gBAAM,CAAC,WAAW,YAAS,CACvF;IACL,CAAC;IACL,aAAC;AAAD,CAAC,AAPD,CAAqB,kBAAQ,GAO5B;AAED,kBAAe,MAAM,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/resource/modification/cancelOrRefund.d.ts b/dist/lib/service/resource/modification/cancelOrRefund.d.ts new file mode 100644 index 0000000..a3c5108 --- /dev/null +++ b/dist/lib/service/resource/modification/cancelOrRefund.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class CancelOrRefund extends Resource { + constructor(service: Service); +} +export default CancelOrRefund; diff --git a/dist/lib/service/resource/modification/cancelOrRefund.js b/dist/lib/service/resource/modification/cancelOrRefund.js new file mode 100644 index 0000000..3ab8810 --- /dev/null +++ b/dist/lib/service/resource/modification/cancelOrRefund.js @@ -0,0 +1,49 @@ +"use strict"; +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var client_1 = __importDefault(require("../../../client")); +var resource_1 = __importDefault(require("../../resource")); +var CancelOrRefund = /** @class */ (function (_super) { + __extends(CancelOrRefund, _super); + function CancelOrRefund(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Payment/" + client_1.default.API_VERSION + "/cancelOrRefund") || this; + } + return CancelOrRefund; +}(resource_1.default)); +exports.default = CancelOrRefund; +//# sourceMappingURL=cancelOrRefund.js.map \ No newline at end of file diff --git a/dist/lib/service/resource/modification/cancelOrRefund.js.map b/dist/lib/service/resource/modification/cancelOrRefund.js.map new file mode 100644 index 0000000..6519ca7 --- /dev/null +++ b/dist/lib/service/resource/modification/cancelOrRefund.js.map @@ -0,0 +1 @@ +{"version":3,"file":"cancelOrRefund.js","sourceRoot":"","sources":["../../../../../src/service/resource/modification/cancelOrRefund.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,2DAAqC;AAErC,4DAAsC;AAEtC;IAA6B,kCAAQ;IACjC,wBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,6BAAwB,gBAAM,CAAC,WAAW,oBAAiB,CAC/F;IACL,CAAC;IACL,qBAAC;AAAD,CAAC,AAPD,CAA6B,kBAAQ,GAOpC;AAED,kBAAe,cAAc,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/resource/modification/capture.d.ts b/dist/lib/service/resource/modification/capture.d.ts new file mode 100644 index 0000000..b074263 --- /dev/null +++ b/dist/lib/service/resource/modification/capture.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class Capture extends Resource { + constructor(service: Service); +} +export default Capture; diff --git a/dist/lib/service/resource/modification/capture.js b/dist/lib/service/resource/modification/capture.js new file mode 100644 index 0000000..fa9ad43 --- /dev/null +++ b/dist/lib/service/resource/modification/capture.js @@ -0,0 +1,49 @@ +"use strict"; +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var client_1 = __importDefault(require("../../../client")); +var resource_1 = __importDefault(require("../../resource")); +var Capture = /** @class */ (function (_super) { + __extends(Capture, _super); + function Capture(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Payment/" + client_1.default.API_VERSION + "/capture") || this; + } + return Capture; +}(resource_1.default)); +exports.default = Capture; +//# sourceMappingURL=capture.js.map \ No newline at end of file diff --git a/dist/lib/service/resource/modification/capture.js.map b/dist/lib/service/resource/modification/capture.js.map new file mode 100644 index 0000000..24c7296 --- /dev/null +++ b/dist/lib/service/resource/modification/capture.js.map @@ -0,0 +1 @@ +{"version":3,"file":"capture.js","sourceRoot":"","sources":["../../../../../src/service/resource/modification/capture.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,2DAAqC;AAErC,4DAAsC;AAEtC;IAAsB,2BAAQ;IAC1B,iBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,6BAAwB,gBAAM,CAAC,WAAW,aAAU,CACxF;IACL,CAAC;IACL,cAAC;AAAD,CAAC,AAPD,CAAsB,kBAAQ,GAO7B;AAED,kBAAe,OAAO,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/resource/modification/refund.d.ts b/dist/lib/service/resource/modification/refund.d.ts new file mode 100644 index 0000000..2e1deee --- /dev/null +++ b/dist/lib/service/resource/modification/refund.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class Refund extends Resource { + constructor(service: Service); +} +export default Refund; diff --git a/dist/lib/service/resource/modification/refund.js b/dist/lib/service/resource/modification/refund.js new file mode 100644 index 0000000..fd8bc0b --- /dev/null +++ b/dist/lib/service/resource/modification/refund.js @@ -0,0 +1,49 @@ +"use strict"; +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var client_1 = __importDefault(require("../../../client")); +var resource_1 = __importDefault(require("../../resource")); +var Refund = /** @class */ (function (_super) { + __extends(Refund, _super); + function Refund(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Payment/" + client_1.default.API_VERSION + "/refund") || this; + } + return Refund; +}(resource_1.default)); +exports.default = Refund; +//# sourceMappingURL=refund.js.map \ No newline at end of file diff --git a/dist/lib/service/resource/modification/refund.js.map b/dist/lib/service/resource/modification/refund.js.map new file mode 100644 index 0000000..0575b07 --- /dev/null +++ b/dist/lib/service/resource/modification/refund.js.map @@ -0,0 +1 @@ +{"version":3,"file":"refund.js","sourceRoot":"","sources":["../../../../../src/service/resource/modification/refund.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,2DAAqC;AAErC,4DAAsC;AAEtC;IAAqB,0BAAQ;IACzB,gBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,6BAAwB,gBAAM,CAAC,WAAW,YAAS,CACvF;IACL,CAAC;IACL,aAAC;AAAD,CAAC,AAPD,CAAqB,kBAAQ,GAO5B;AAED,kBAAe,MAAM,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/resource/modification/technicalCancel.d.ts b/dist/lib/service/resource/modification/technicalCancel.d.ts new file mode 100644 index 0000000..c77f3b4 --- /dev/null +++ b/dist/lib/service/resource/modification/technicalCancel.d.ts @@ -0,0 +1,6 @@ +import Resource from "../../resource"; +import Service from "../../../service"; +declare class TechnicalCancel extends Resource { + constructor(service: Service); +} +export default TechnicalCancel; diff --git a/dist/lib/service/resource/modification/technicalCancel.js b/dist/lib/service/resource/modification/technicalCancel.js new file mode 100644 index 0000000..0e4ef62 --- /dev/null +++ b/dist/lib/service/resource/modification/technicalCancel.js @@ -0,0 +1,49 @@ +"use strict"; +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var resource_1 = __importDefault(require("../../resource")); +var client_1 = __importDefault(require("../../../client")); +var TechnicalCancel = /** @class */ (function (_super) { + __extends(TechnicalCancel, _super); + function TechnicalCancel(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Payment/" + client_1.default.API_VERSION + "/technicalCancel") || this; + } + return TechnicalCancel; +}(resource_1.default)); +exports.default = TechnicalCancel; +//# sourceMappingURL=technicalCancel.js.map \ No newline at end of file diff --git a/dist/lib/service/resource/modification/technicalCancel.js.map b/dist/lib/service/resource/modification/technicalCancel.js.map new file mode 100644 index 0000000..f6eca8e --- /dev/null +++ b/dist/lib/service/resource/modification/technicalCancel.js.map @@ -0,0 +1 @@ +{"version":3,"file":"technicalCancel.js","sourceRoot":"","sources":["../../../../../src/service/resource/modification/technicalCancel.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,4DAAsC;AACtC,2DAAqC;AAGrC;IAA8B,mCAAQ;IAClC,yBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,6BAAwB,gBAAM,CAAC,WAAW,qBAAkB,CAChG;IACL,CAAC;IACL,sBAAC;AAAD,CAAC,AAPD,CAA8B,kBAAQ,GAOrC;AAED,kBAAe,eAAe,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/resource/payout/confirmThirdParty.d.ts b/dist/lib/service/resource/payout/confirmThirdParty.d.ts new file mode 100644 index 0000000..ee55868 --- /dev/null +++ b/dist/lib/service/resource/payout/confirmThirdParty.d.ts @@ -0,0 +1,6 @@ +import Resource from "../../resource"; +import Service from "../../../service"; +declare class ConfirmThirdParty extends Resource { + constructor(service: Service); +} +export default ConfirmThirdParty; diff --git a/dist/lib/service/resource/payout/confirmThirdParty.js b/dist/lib/service/resource/payout/confirmThirdParty.js new file mode 100644 index 0000000..5e0ab87 --- /dev/null +++ b/dist/lib/service/resource/payout/confirmThirdParty.js @@ -0,0 +1,49 @@ +"use strict"; +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var resource_1 = __importDefault(require("../../resource")); +var client_1 = __importDefault(require("../../../client")); +var ConfirmThirdParty = /** @class */ (function (_super) { + __extends(ConfirmThirdParty, _super); + function ConfirmThirdParty(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Payout/" + client_1.default.API_VERSION + "/declineThirdParty") || this; + } + return ConfirmThirdParty; +}(resource_1.default)); +exports.default = ConfirmThirdParty; +//# sourceMappingURL=confirmThirdParty.js.map \ No newline at end of file diff --git a/dist/lib/service/resource/payout/confirmThirdParty.js.map b/dist/lib/service/resource/payout/confirmThirdParty.js.map new file mode 100644 index 0000000..a50221c --- /dev/null +++ b/dist/lib/service/resource/payout/confirmThirdParty.js.map @@ -0,0 +1 @@ +{"version":3,"file":"confirmThirdParty.js","sourceRoot":"","sources":["../../../../../src/service/resource/payout/confirmThirdParty.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,4DAAsC;AAEtC,2DAAqC;AAErC;IAAgC,qCAAQ;IACpC,2BAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,4BAAuB,gBAAM,CAAC,WAAW,uBAAoB,CACjG;IACL,CAAC;IACL,wBAAC;AAAD,CAAC,AAPD,CAAgC,kBAAQ,GAOvC;AAED,kBAAe,iBAAiB,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/resource/payout/declineThirdParty.d.ts b/dist/lib/service/resource/payout/declineThirdParty.d.ts new file mode 100644 index 0000000..bfd6a94 --- /dev/null +++ b/dist/lib/service/resource/payout/declineThirdParty.d.ts @@ -0,0 +1,6 @@ +import Resource from "../../resource"; +import Service from "../../../service"; +declare class DeclineThirdParty extends Resource { + constructor(service: Service); +} +export default DeclineThirdParty; diff --git a/dist/lib/service/resource/payout/declineThirdParty.js b/dist/lib/service/resource/payout/declineThirdParty.js new file mode 100644 index 0000000..99f0628 --- /dev/null +++ b/dist/lib/service/resource/payout/declineThirdParty.js @@ -0,0 +1,49 @@ +"use strict"; +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var resource_1 = __importDefault(require("../../resource")); +var client_1 = __importDefault(require("../../../client")); +var DeclineThirdParty = /** @class */ (function (_super) { + __extends(DeclineThirdParty, _super); + function DeclineThirdParty(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Payout/" + client_1.default.API_VERSION + "/storeDetailAndSubmitThirdParty") || this; + } + return DeclineThirdParty; +}(resource_1.default)); +exports.default = DeclineThirdParty; +//# sourceMappingURL=declineThirdParty.js.map \ No newline at end of file diff --git a/dist/lib/service/resource/payout/declineThirdParty.js.map b/dist/lib/service/resource/payout/declineThirdParty.js.map new file mode 100644 index 0000000..616fb32 --- /dev/null +++ b/dist/lib/service/resource/payout/declineThirdParty.js.map @@ -0,0 +1 @@ +{"version":3,"file":"declineThirdParty.js","sourceRoot":"","sources":["../../../../../src/service/resource/payout/declineThirdParty.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,4DAAsC;AAEtC,2DAAqC;AAErC;IAAgC,qCAAQ;IACpC,2BAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,4BAAuB,gBAAM,CAAC,WAAW,oCAAiC,CAC9G;IACL,CAAC;IACL,wBAAC;AAAD,CAAC,AAPD,CAAgC,kBAAQ,GAOvC;AAED,kBAAe,iBAAiB,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/resource/payout/storeDetail.d.ts b/dist/lib/service/resource/payout/storeDetail.d.ts new file mode 100644 index 0000000..d6d2ef1 --- /dev/null +++ b/dist/lib/service/resource/payout/storeDetail.d.ts @@ -0,0 +1,6 @@ +import Resource from "../../resource"; +import Service from "../../../service"; +declare class StoreDetail extends Resource { + constructor(service: Service); +} +export default StoreDetail; diff --git a/dist/lib/service/resource/payout/storeDetail.js b/dist/lib/service/resource/payout/storeDetail.js new file mode 100644 index 0000000..3144a02 --- /dev/null +++ b/dist/lib/service/resource/payout/storeDetail.js @@ -0,0 +1,49 @@ +"use strict"; +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var resource_1 = __importDefault(require("../../resource")); +var client_1 = __importDefault(require("../../../client")); +var StoreDetail = /** @class */ (function (_super) { + __extends(StoreDetail, _super); + function StoreDetail(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Payout/" + client_1.default.API_VERSION + "/storeDetail") || this; + } + return StoreDetail; +}(resource_1.default)); +exports.default = StoreDetail; +//# sourceMappingURL=storeDetail.js.map \ No newline at end of file diff --git a/dist/lib/service/resource/payout/storeDetail.js.map b/dist/lib/service/resource/payout/storeDetail.js.map new file mode 100644 index 0000000..3031c74 --- /dev/null +++ b/dist/lib/service/resource/payout/storeDetail.js.map @@ -0,0 +1 @@ +{"version":3,"file":"storeDetail.js","sourceRoot":"","sources":["../../../../../src/service/resource/payout/storeDetail.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,4DAAsC;AAEtC,2DAAqC;AAErC;IAA0B,+BAAQ;IAC9B,qBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,4BAAuB,gBAAM,CAAC,WAAW,iBAAc,CAC3F;IACL,CAAC;IACL,kBAAC;AAAD,CAAC,AAPD,CAA0B,kBAAQ,GAOjC;AAED,kBAAe,WAAW,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/resource/payout/storeDetailAndSubmitThirdParty.d.ts b/dist/lib/service/resource/payout/storeDetailAndSubmitThirdParty.d.ts new file mode 100644 index 0000000..d1742bd --- /dev/null +++ b/dist/lib/service/resource/payout/storeDetailAndSubmitThirdParty.d.ts @@ -0,0 +1,6 @@ +import Resource from "../../resource"; +import Service from "../../../service"; +declare class StoreDetailAndSubmitThirdParty extends Resource { + constructor(service: Service); +} +export default StoreDetailAndSubmitThirdParty; diff --git a/dist/lib/service/resource/payout/storeDetailAndSubmitThirdParty.js b/dist/lib/service/resource/payout/storeDetailAndSubmitThirdParty.js new file mode 100644 index 0000000..93b90ee --- /dev/null +++ b/dist/lib/service/resource/payout/storeDetailAndSubmitThirdParty.js @@ -0,0 +1,49 @@ +"use strict"; +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var resource_1 = __importDefault(require("../../resource")); +var client_1 = __importDefault(require("../../../client")); +var StoreDetailAndSubmitThirdParty = /** @class */ (function (_super) { + __extends(StoreDetailAndSubmitThirdParty, _super); + function StoreDetailAndSubmitThirdParty(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Payout/" + client_1.default.API_VERSION + "/storeDetailAndSubmitThirdParty") || this; + } + return StoreDetailAndSubmitThirdParty; +}(resource_1.default)); +exports.default = StoreDetailAndSubmitThirdParty; +//# sourceMappingURL=storeDetailAndSubmitThirdParty.js.map \ No newline at end of file diff --git a/dist/lib/service/resource/payout/storeDetailAndSubmitThirdParty.js.map b/dist/lib/service/resource/payout/storeDetailAndSubmitThirdParty.js.map new file mode 100644 index 0000000..6ac1c35 --- /dev/null +++ b/dist/lib/service/resource/payout/storeDetailAndSubmitThirdParty.js.map @@ -0,0 +1 @@ +{"version":3,"file":"storeDetailAndSubmitThirdParty.js","sourceRoot":"","sources":["../../../../../src/service/resource/payout/storeDetailAndSubmitThirdParty.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,4DAAsC;AAEtC,2DAAqC;AAErC;IAA6C,kDAAQ;IACjD,wCAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,4BAAuB,gBAAM,CAAC,WAAW,oCAAiC,CAC9G;IACL,CAAC;IACL,qCAAC;AAAD,CAAC,AAPD,CAA6C,kBAAQ,GAOpD;AAED,kBAAe,8BAA8B,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/resource/payout/submitThirdParty.d.ts b/dist/lib/service/resource/payout/submitThirdParty.d.ts new file mode 100644 index 0000000..b84fc6e --- /dev/null +++ b/dist/lib/service/resource/payout/submitThirdParty.d.ts @@ -0,0 +1,6 @@ +import Resource from "../../resource"; +import Service from "../../../service"; +declare class SubmitThirdParty extends Resource { + constructor(service: Service); +} +export default SubmitThirdParty; diff --git a/dist/lib/service/resource/payout/submitThirdParty.js b/dist/lib/service/resource/payout/submitThirdParty.js new file mode 100644 index 0000000..1ff1827 --- /dev/null +++ b/dist/lib/service/resource/payout/submitThirdParty.js @@ -0,0 +1,49 @@ +"use strict"; +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var resource_1 = __importDefault(require("../../resource")); +var client_1 = __importDefault(require("../../../client")); +var SubmitThirdParty = /** @class */ (function (_super) { + __extends(SubmitThirdParty, _super); + function SubmitThirdParty(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Payout/" + client_1.default.API_VERSION + "/submitThirdParty") || this; + } + return SubmitThirdParty; +}(resource_1.default)); +exports.default = SubmitThirdParty; +//# sourceMappingURL=submitThirdParty.js.map \ No newline at end of file diff --git a/dist/lib/service/resource/payout/submitThirdParty.js.map b/dist/lib/service/resource/payout/submitThirdParty.js.map new file mode 100644 index 0000000..e8292d8 --- /dev/null +++ b/dist/lib/service/resource/payout/submitThirdParty.js.map @@ -0,0 +1 @@ +{"version":3,"file":"submitThirdParty.js","sourceRoot":"","sources":["../../../../../src/service/resource/payout/submitThirdParty.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,4DAAsC;AAEtC,2DAAqC;AAErC;IAA+B,oCAAQ;IACnC,0BAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,4BAAuB,gBAAM,CAAC,WAAW,sBAAmB,CAChG;IACL,CAAC;IACL,uBAAC;AAAD,CAAC,AAPD,CAA+B,kBAAQ,GAOtC;AAED,kBAAe,gBAAgB,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/resource/recurring/disable.d.ts b/dist/lib/service/resource/recurring/disable.d.ts new file mode 100644 index 0000000..4fa1473 --- /dev/null +++ b/dist/lib/service/resource/recurring/disable.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class Disable extends Resource { + constructor(service: Service); +} +export default Disable; diff --git a/dist/lib/service/resource/recurring/disable.js b/dist/lib/service/resource/recurring/disable.js new file mode 100644 index 0000000..43f0b04 --- /dev/null +++ b/dist/lib/service/resource/recurring/disable.js @@ -0,0 +1,49 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var client_1 = __importDefault(require("../../../client")); +var resource_1 = __importDefault(require("../../resource")); +var Disable = /** @class */ (function (_super) { + __extends(Disable, _super); + function Disable(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Recurring/" + client_1.default.RECURRING_API_VERSION + "/disable") || this; + } + return Disable; +}(resource_1.default)); +exports.default = Disable; +//# sourceMappingURL=disable.js.map \ No newline at end of file diff --git a/dist/lib/service/resource/recurring/disable.js.map b/dist/lib/service/resource/recurring/disable.js.map new file mode 100644 index 0000000..9afaaa5 --- /dev/null +++ b/dist/lib/service/resource/recurring/disable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../../../src/service/resource/recurring/disable.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;AAEH,2DAAqC;AAErC,4DAAsC;AAEtC;IAAsB,2BAAQ;IAC1B,iBAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,+BAA0B,gBAAM,CAAC,qBAAqB,aAAU,CACpG;IACL,CAAC;IACL,cAAC;AAAD,CAAC,AAPD,CAAsB,kBAAQ,GAO7B;AAED,kBAAe,OAAO,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/resource/recurring/listRecurringDetails.d.ts b/dist/lib/service/resource/recurring/listRecurringDetails.d.ts new file mode 100644 index 0000000..453aec6 --- /dev/null +++ b/dist/lib/service/resource/recurring/listRecurringDetails.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../service"; +import Resource from "../../resource"; +declare class ListRecurringDetails extends Resource { + constructor(service: Service); +} +export default ListRecurringDetails; diff --git a/dist/lib/service/resource/recurring/listRecurringDetails.js b/dist/lib/service/resource/recurring/listRecurringDetails.js new file mode 100644 index 0000000..0ff3c7c --- /dev/null +++ b/dist/lib/service/resource/recurring/listRecurringDetails.js @@ -0,0 +1,49 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var client_1 = __importDefault(require("../../../client")); +var resource_1 = __importDefault(require("../../resource")); +var ListRecurringDetails = /** @class */ (function (_super) { + __extends(ListRecurringDetails, _super); + function ListRecurringDetails(service) { + return _super.call(this, service, service.client.config.endpoint + "/pal/servlet/Recurring/" + client_1.default.RECURRING_API_VERSION + "/listRecurringDetails") || this; + } + return ListRecurringDetails; +}(resource_1.default)); +exports.default = ListRecurringDetails; +//# sourceMappingURL=listRecurringDetails.js.map \ No newline at end of file diff --git a/dist/lib/service/resource/recurring/listRecurringDetails.js.map b/dist/lib/service/resource/recurring/listRecurringDetails.js.map new file mode 100644 index 0000000..1118238 --- /dev/null +++ b/dist/lib/service/resource/recurring/listRecurringDetails.js.map @@ -0,0 +1 @@ +{"version":3,"file":"listRecurringDetails.js","sourceRoot":"","sources":["../../../../../src/service/resource/recurring/listRecurringDetails.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;AAEH,2DAAqC;AAErC,4DAAsC;AAEtC;IAAmC,wCAAQ;IACvC,8BAAmB,OAAgB;eAC/B,kBACI,OAAO,EACJ,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,+BAA0B,gBAAM,CAAC,qBAAqB,0BAAuB,CACjH;IACL,CAAC;IACL,2BAAC;AAAD,CAAC,AAPD,CAAmC,kBAAQ,GAO1C;AAED,kBAAe,oBAAoB,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/resource/terminal/cloud/async.d.ts b/dist/lib/service/resource/terminal/cloud/async.d.ts new file mode 100644 index 0000000..af915ed --- /dev/null +++ b/dist/lib/service/resource/terminal/cloud/async.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../../service"; +import Resource from "../../../resource"; +declare class Async extends Resource { + constructor(service: Service); +} +export default Async; diff --git a/dist/lib/service/resource/terminal/cloud/async.js b/dist/lib/service/resource/terminal/cloud/async.js new file mode 100644 index 0000000..55074c0 --- /dev/null +++ b/dist/lib/service/resource/terminal/cloud/async.js @@ -0,0 +1,48 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var resource_1 = __importDefault(require("../../../resource")); +var Async = /** @class */ (function (_super) { + __extends(Async, _super); + function Async(service) { + return _super.call(this, service, service.client.config.terminalApiCloudEndpoint + "/async") || this; + } + return Async; +}(resource_1.default)); +exports.default = Async; +//# sourceMappingURL=async.js.map \ No newline at end of file diff --git a/dist/lib/service/resource/terminal/cloud/async.js.map b/dist/lib/service/resource/terminal/cloud/async.js.map new file mode 100644 index 0000000..1acaed3 --- /dev/null +++ b/dist/lib/service/resource/terminal/cloud/async.js.map @@ -0,0 +1 @@ +{"version":3,"file":"async.js","sourceRoot":"","sources":["../../../../../../src/service/resource/terminal/cloud/async.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;AAGH,+DAAyC;AAEzC;IAAoB,yBAAQ;IACxB,eAAmB,OAAgB;eAC/B,kBAAM,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,wBAAwB,GAAG,QAAQ,CAAC;IAC7E,CAAC;IAEL,YAAC;AAAD,CAAC,AALD,CAAoB,kBAAQ,GAK3B;AAED,kBAAe,KAAK,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/resource/terminal/cloud/sync.d.ts b/dist/lib/service/resource/terminal/cloud/sync.d.ts new file mode 100644 index 0000000..3969163 --- /dev/null +++ b/dist/lib/service/resource/terminal/cloud/sync.d.ts @@ -0,0 +1,6 @@ +import Service from "../../../../service"; +import Resource from "../../../resource"; +declare class Sync extends Resource { + constructor(service: Service); +} +export default Sync; diff --git a/dist/lib/service/resource/terminal/cloud/sync.js b/dist/lib/service/resource/terminal/cloud/sync.js new file mode 100644 index 0000000..4c3f8e5 --- /dev/null +++ b/dist/lib/service/resource/terminal/cloud/sync.js @@ -0,0 +1,48 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var resource_1 = __importDefault(require("../../../resource")); +var Sync = /** @class */ (function (_super) { + __extends(Sync, _super); + function Sync(service) { + return _super.call(this, service, service.client.config.terminalApiCloudEndpoint + "/sync") || this; + } + return Sync; +}(resource_1.default)); +exports.default = Sync; +//# sourceMappingURL=sync.js.map \ No newline at end of file diff --git a/dist/lib/service/resource/terminal/cloud/sync.js.map b/dist/lib/service/resource/terminal/cloud/sync.js.map new file mode 100644 index 0000000..8ab3cdb --- /dev/null +++ b/dist/lib/service/resource/terminal/cloud/sync.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sync.js","sourceRoot":"","sources":["../../../../../../src/service/resource/terminal/cloud/sync.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;AAGH,+DAAyC;AAEzC;IAAmB,wBAAQ;IACvB,cAAmB,OAAgB;eAC/B,kBAAM,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,wBAAwB,GAAG,OAAO,CAAC;IAC5E,CAAC;IAEL,WAAC;AAAD,CAAC,AALD,CAAmB,kBAAQ,GAK1B;AAED,kBAAe,IAAI,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/terminalCloudAPI.d.ts b/dist/lib/service/terminalCloudAPI.d.ts new file mode 100644 index 0000000..4b41e08 --- /dev/null +++ b/dist/lib/service/terminalCloudAPI.d.ts @@ -0,0 +1,11 @@ +import ApiKeyAuthenticatedService from "../apiKeyAuthenticatedService"; +import Client from "../client"; +import { TerminalApiRequest, TerminalApiResponse } from "../typings/terminal"; +declare class TerminalCloudAPI extends ApiKeyAuthenticatedService { + private readonly terminalApiAsync; + private readonly terminalApiSync; + constructor(client: Client); + async(terminalApiRequest: TerminalApiRequest): Promise; + sync(terminalApiRequest: TerminalApiRequest): Promise; +} +export default TerminalCloudAPI; diff --git a/dist/lib/service/terminalCloudAPI.js b/dist/lib/service/terminalCloudAPI.js new file mode 100644 index 0000000..3328a29 --- /dev/null +++ b/dist/lib/service/terminalCloudAPI.js @@ -0,0 +1,106 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var apiKeyAuthenticatedService_1 = __importDefault(require("../apiKeyAuthenticatedService")); +var getJsonResponse_1 = __importDefault(require("../helpers/getJsonResponse")); +var terminal_1 = require("../typings/terminal"); +var async_1 = __importDefault(require("./resource/terminal/cloud/async")); +var sync_1 = __importDefault(require("./resource/terminal/cloud/sync")); +var TerminalCloudAPI = /** @class */ (function (_super) { + __extends(TerminalCloudAPI, _super); + function TerminalCloudAPI(client) { + var _this = _super.call(this, client) || this; + _this.terminalApiAsync = new async_1.default(_this); + _this.terminalApiSync = new sync_1.default(_this); + return _this; + } + TerminalCloudAPI.prototype.async = function (terminalApiRequest) { + return getJsonResponse_1.default(this.terminalApiAsync, terminal_1.Convert.terminalApiRequestToJson(terminalApiRequest)); + }; + TerminalCloudAPI.prototype.sync = function (terminalApiRequest) { + return __awaiter(this, void 0, void 0, function () { + var response; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: return [4 /*yield*/, getJsonResponse_1.default(this.terminalApiSync, terminal_1.Convert.terminalApiRequestToJson(terminalApiRequest))]; + case 1: + response = _a.sent(); + return [2 /*return*/, terminal_1.Convert.toTerminalApiResponse(JSON.stringify(response))]; + } + }); + }); + }; + return TerminalCloudAPI; +}(apiKeyAuthenticatedService_1.default)); +exports.default = TerminalCloudAPI; +//# sourceMappingURL=terminalCloudAPI.js.map \ No newline at end of file diff --git a/dist/lib/service/terminalCloudAPI.js.map b/dist/lib/service/terminalCloudAPI.js.map new file mode 100644 index 0000000..176d819 --- /dev/null +++ b/dist/lib/service/terminalCloudAPI.js.map @@ -0,0 +1 @@ +{"version":3,"file":"terminalCloudAPI.js","sourceRoot":"","sources":["../../../src/service/terminalCloudAPI.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,6FAAuE;AAEvE,+EAAyD;AACzD,gDAAqF;AACrF,0EAAoD;AACpD,wEAAkD;AAElD;IAA+B,oCAA0B;IAIrD,0BAAmB,MAAc;QAAjC,YACI,kBAAM,MAAM,CAAC,SAGhB;QAFG,KAAI,CAAC,gBAAgB,GAAG,IAAI,eAAK,CAAC,KAAI,CAAC,CAAC;QACxC,KAAI,CAAC,eAAe,GAAG,IAAI,cAAI,CAAC,KAAI,CAAC,CAAC;;IAC1C,CAAC;IAEM,gCAAK,GAAZ,UAAa,kBAAsC;QAC/C,OAAO,yBAAe,CAClB,IAAI,CAAC,gBAAgB,EACrB,kBAAO,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,CACvD,CAAC;IACN,CAAC;IAEY,+BAAI,GAAjB,UAAkB,kBAAsC;;;;;4BACnC,qBAAM,yBAAe,CAClC,IAAI,CAAC,eAAe,EACpB,kBAAO,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,CACvD,EAAA;;wBAHK,QAAQ,GAAG,SAGhB;wBAED,sBAAO,kBAAO,CAAC,qBAAqB,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,EAAC;;;;KAClE;IACL,uBAAC;AAAD,CAAC,AAzBD,CAA+B,oCAA0B,GAyBxD;AAED,kBAAe,gBAAgB,CAAC"} \ No newline at end of file diff --git a/dist/lib/service/terminalLocalAPI.d.ts b/dist/lib/service/terminalLocalAPI.d.ts new file mode 100644 index 0000000..1ae86f6 --- /dev/null +++ b/dist/lib/service/terminalLocalAPI.d.ts @@ -0,0 +1,10 @@ +import ApiKeyAuthenticatedService from "../apiKeyAuthenticatedService"; +import Client from "../client"; +import { SecurityKey, TerminalApiRequest, TerminalApiResponse } from "../typings/terminal"; +declare class TerminalLocalAPI extends ApiKeyAuthenticatedService { + private readonly localRequest; + private nexoCrypto; + constructor(client: Client); + request(terminalApiRequest: TerminalApiRequest, securityKey: SecurityKey): Promise; +} +export default TerminalLocalAPI; diff --git a/dist/lib/service/terminalLocalAPI.js b/dist/lib/service/terminalLocalAPI.js new file mode 100644 index 0000000..e4a933a --- /dev/null +++ b/dist/lib/service/terminalLocalAPI.js @@ -0,0 +1,110 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (_) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var apiKeyAuthenticatedService_1 = __importDefault(require("../apiKeyAuthenticatedService")); +var getJsonResponse_1 = __importDefault(require("../helpers/getJsonResponse")); +var nexoCrypto_1 = __importDefault(require("../security/nexoCrypto")); +var terminal_1 = require("../typings/terminal"); +var localRequest_1 = __importDefault(require("./resource/terminal/local/localRequest")); +var TerminalLocalAPI = /** @class */ (function (_super) { + __extends(TerminalLocalAPI, _super); + function TerminalLocalAPI(client) { + var _this = _super.call(this, client) || this; + _this.localRequest = new localRequest_1.default(_this); + _this.nexoCrypto = new nexoCrypto_1.default(); + return _this; + } + TerminalLocalAPI.prototype.request = function (terminalApiRequest, securityKey) { + return __awaiter(this, void 0, void 0, function () { + var saleToPoiSecuredMessage, securedPaymentRequest, jsonResponse, terminalApiSecuredResponse, response; + return __generator(this, function (_a) { + switch (_a.label) { + case 0: + saleToPoiSecuredMessage = nexoCrypto_1.default.encrypt(terminalApiRequest.saleToPoiRequest.messageHeader, terminal_1.Convert.terminalApiRequestToJson(terminalApiRequest), securityKey); + securedPaymentRequest = { + saleToPoiRequest: saleToPoiSecuredMessage, + }; + return [4 /*yield*/, getJsonResponse_1.default(this.localRequest, terminal_1.Convert.terminalApiSecuredRequestToJson(securedPaymentRequest))]; + case 1: + jsonResponse = _a.sent(); + terminalApiSecuredResponse = terminal_1.Convert.toTerminalApiSecuredResponse(JSON.stringify(jsonResponse)); + response = this.nexoCrypto.decrypt(terminalApiSecuredResponse.saleToPoiResponse, securityKey); + return [2 /*return*/, terminal_1.Convert.toTerminalApiResponse(response)]; + } + }); + }); + }; + return TerminalLocalAPI; +}(apiKeyAuthenticatedService_1.default)); +exports.default = TerminalLocalAPI; +//# sourceMappingURL=terminalLocalAPI.js.map \ No newline at end of file diff --git a/dist/lib/service/terminalLocalAPI.js.map b/dist/lib/service/terminalLocalAPI.js.map new file mode 100644 index 0000000..e3cdb48 --- /dev/null +++ b/dist/lib/service/terminalLocalAPI.js.map @@ -0,0 +1 @@ +{"version":3,"file":"terminalLocalAPI.js","sourceRoot":"","sources":["../../../src/service/terminalLocalAPI.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,6FAAuE;AAEvE,+EAAyD;AACzD,sEAAgD;AAChD,gDAM6B;AAC7B,wFAAkE;AAElE;IAA+B,oCAA0B;IAIrD,0BAAmB,MAAc;QAAjC,YACI,kBAAM,MAAM,CAAC,SAGhB;QAFG,KAAI,CAAC,YAAY,GAAG,IAAI,sBAAY,CAAC,KAAI,CAAC,CAAC;QAC3C,KAAI,CAAC,UAAU,GAAG,IAAI,oBAAU,EAAE,CAAC;;IACvC,CAAC;IAEY,kCAAO,GAApB,UACI,kBAAsC,EACtC,WAAwB;;;;;;wBAElB,uBAAuB,GAA4B,oBAAU,CAAC,OAAO,CACvE,kBAAkB,CAAC,gBAAgB,CAAC,aAAa,EACjD,kBAAO,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,EACpD,WAAW,CACd,CAAC;wBAEI,qBAAqB,GAA8B;4BACrD,gBAAgB,EAAE,uBAAuB;yBAC5C,CAAC;wBAEmB,qBAAM,yBAAe,CACtC,IAAI,CAAC,YAAY,EACjB,kBAAO,CAAC,+BAA+B,CAAC,qBAAqB,CAAC,CACjE,EAAA;;wBAHK,YAAY,GAAG,SAGpB;wBAEK,0BAA0B,GAAG,kBAAO,CAAC,4BAA4B,CAAC,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC,CAAC;wBAEhG,QAAQ,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,CACpC,0BAA0B,CAAC,iBAAiB,EAC5C,WAAW,CACd,CAAC;wBAEF,sBAAO,kBAAO,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EAAC;;;;KAClD;IACL,uBAAC;AAAD,CAAC,AAtCD,CAA+B,oCAA0B,GAsCxD;AAED,kBAAe,gBAAgB,CAAC"} \ No newline at end of file diff --git a/dist/lib/typings/amount.d.ts b/dist/lib/typings/amount.d.ts new file mode 100644 index 0000000..b40dda3 --- /dev/null +++ b/dist/lib/typings/amount.d.ts @@ -0,0 +1,4 @@ +export interface Amount { + currency: string; + value: number; +} diff --git a/dist/lib/typings/amount.js b/dist/lib/typings/amount.js new file mode 100644 index 0000000..3f13e03 --- /dev/null +++ b/dist/lib/typings/amount.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=amount.js.map \ No newline at end of file diff --git a/dist/lib/typings/amount.js.map b/dist/lib/typings/amount.js.map new file mode 100644 index 0000000..b0fcd05 --- /dev/null +++ b/dist/lib/typings/amount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"amount.js","sourceRoot":"","sources":["../../../src/typings/amount.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib/typings/apiError.d.ts b/dist/lib/typings/apiError.d.ts new file mode 100644 index 0000000..d6d7b0a --- /dev/null +++ b/dist/lib/typings/apiError.d.ts @@ -0,0 +1,7 @@ +export interface ApiError { + status?: number; + errorCode?: string; + message?: string; + errorType?: string; + pspReference?: string; +} diff --git a/dist/lib/typings/apiError.js b/dist/lib/typings/apiError.js new file mode 100644 index 0000000..5f3f4c0 --- /dev/null +++ b/dist/lib/typings/apiError.js @@ -0,0 +1,4 @@ +"use strict"; +// Generated using typescript-generator version 2.14.505 on 2019-06-04 08:51:10. +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=apiError.js.map \ No newline at end of file diff --git a/dist/lib/typings/apiError.js.map b/dist/lib/typings/apiError.js.map new file mode 100644 index 0000000..a2de4d7 --- /dev/null +++ b/dist/lib/typings/apiError.js.map @@ -0,0 +1 @@ +{"version":3,"file":"apiError.js","sourceRoot":"","sources":["../../../src/typings/apiError.ts"],"names":[],"mappings":";AAAA,gFAAgF"} \ No newline at end of file diff --git a/dist/lib/typings/applicationInfo.d.ts b/dist/lib/typings/applicationInfo.d.ts new file mode 100644 index 0000000..7f08315 --- /dev/null +++ b/dist/lib/typings/applicationInfo.d.ts @@ -0,0 +1,27 @@ +export declare class ApplicationInfo { + adyenLibrary?: CommonField; + adyenPaymentSource?: CommonField; + externalPlatform?: ExternalPlatform; + merchantApplication?: CommonField; + merchantDevice?: MerchantDevice; + paymentDetailsSource?: CommonField; + shopperInteractionDevice?: ShopperInteractionDevice; + constructor(); +} +export interface CommonField { + name?: string; + version?: string; +} +export interface ExternalPlatform extends CommonField { + integrator?: string; +} +export interface MerchantDevice { + os?: string; + osVersion?: string; + reference?: string; +} +export interface ShopperInteractionDevice { + os?: string; + osVersion?: string; + locale?: string; +} diff --git a/dist/lib/typings/applicationInfo.js b/dist/lib/typings/applicationInfo.js new file mode 100644 index 0000000..1966d80 --- /dev/null +++ b/dist/lib/typings/applicationInfo.js @@ -0,0 +1,18 @@ +"use strict"; +// Generated using typescript-generator version 2.14.505 on 2019-06-11 10:28:22. +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var client_1 = __importDefault(require("../client")); +var ApplicationInfo = /** @class */ (function () { + function ApplicationInfo() { + this.adyenLibrary = { + name: client_1.default.LIB_NAME, + version: client_1.default.LIB_VERSION, + }; + } + return ApplicationInfo; +}()); +exports.ApplicationInfo = ApplicationInfo; +//# sourceMappingURL=applicationInfo.js.map \ No newline at end of file diff --git a/dist/lib/typings/applicationInfo.js.map b/dist/lib/typings/applicationInfo.js.map new file mode 100644 index 0000000..cfa9000 --- /dev/null +++ b/dist/lib/typings/applicationInfo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"applicationInfo.js","sourceRoot":"","sources":["../../../src/typings/applicationInfo.ts"],"names":[],"mappings":";AAAA,gFAAgF;;;;;AAEhF,qDAA+B;AAE/B;IASI;QACI,IAAI,CAAC,YAAY,GAAG;YAChB,IAAI,EAAE,gBAAM,CAAC,QAAQ;YACrB,OAAO,EAAE,gBAAM,CAAC,WAAW;SAC9B,CAAA;IACL,CAAC;IACL,sBAAC;AAAD,CAAC,AAfD,IAeC;AAfY,0CAAe"} \ No newline at end of file diff --git a/dist/lib/typings/binLookup/amount.d.ts b/dist/lib/typings/binLookup/amount.d.ts new file mode 100644 index 0000000..2653f00 --- /dev/null +++ b/dist/lib/typings/binLookup/amount.d.ts @@ -0,0 +1,21 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Amount { + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + */ + currency: string; + /** + * The payable amount that can be charged for the transaction. The transaction amount needs to be represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). + */ + value: number; +} diff --git a/dist/lib/typings/binLookup/amount.js b/dist/lib/typings/binLookup/amount.js new file mode 100644 index 0000000..bc15866 --- /dev/null +++ b/dist/lib/typings/binLookup/amount.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=amount.js.map \ No newline at end of file diff --git a/dist/lib/typings/binLookup/amount.js.map b/dist/lib/typings/binLookup/amount.js.map new file mode 100644 index 0000000..6a5ab66 --- /dev/null +++ b/dist/lib/typings/binLookup/amount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"amount.js","sourceRoot":"","sources":["../../../../src/typings/binLookup/amount.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/binLookup/cardBin.d.ts b/dist/lib/typings/binLookup/cardBin.d.ts new file mode 100644 index 0000000..993abd5 --- /dev/null +++ b/dist/lib/typings/binLookup/cardBin.d.ts @@ -0,0 +1,53 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface CardBin { + /** + * The first 6 digit of the card number. Enable this field via merchant account settings. + */ + bin?: string; + /** + * If true, it indicates a commercial card. Enable this field via merchant account settings. + */ + commercial?: boolean; + /** + * The card funding source. Valid values are: * CREDIT * DEBIT * PREPAID * PREPAID_RELOADABLE * DEFERRED_DEBIT * CHARGED > Enable this field via merchant account settings. + */ + fundingSource?: string; + /** + * Indicates availability of funds. Visa: * \"I\" (fast funds are supported) * \"N\" (otherwise) Mastercard: * \"I\" (product type is Prepaid or Debit, or issuing country is in CEE/HGEM list) * \"N\" (otherwise) > Returned when you verify a card BIN or estimate costs, and only if `payoutEligible` is different from \"N\" or \"U\". + */ + fundsAvailability?: string; + /** + * The issuing bank of the card. + */ + issuingBank?: string; + /** + * The country where the card was issued from. + */ + issuingCountry?: string; + /** + * The currency of the card. + */ + issuingCurrency?: string; + /** + * The payment method associated with the card (e.g. visa, mc, or amex). + */ + paymentMethod?: string; + /** + * Indicates whether a payout is eligible or not for this card. Visa: * \"Y\" * \"N\" Mastercard: * \"Y\" (domestic and cross-border) * \"D\" (only domestic) * \"N\" (no MoneySend) * \"U\" (unknown) > Returned when you verify a card BIN or estimate costs, and only if `payoutEligible` is different from \"N\" or \"U\". + */ + payoutEligible?: string; + /** + * The last four digits of the card number. + */ + summary?: string; +} diff --git a/dist/lib/typings/binLookup/cardBin.js b/dist/lib/typings/binLookup/cardBin.js new file mode 100644 index 0000000..d619160 --- /dev/null +++ b/dist/lib/typings/binLookup/cardBin.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=cardBin.js.map \ No newline at end of file diff --git a/dist/lib/typings/binLookup/cardBin.js.map b/dist/lib/typings/binLookup/cardBin.js.map new file mode 100644 index 0000000..0234c91 --- /dev/null +++ b/dist/lib/typings/binLookup/cardBin.js.map @@ -0,0 +1 @@ +{"version":3,"file":"cardBin.js","sourceRoot":"","sources":["../../../../src/typings/binLookup/cardBin.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/binLookup/costEstimateAssumptions.d.ts b/dist/lib/typings/binLookup/costEstimateAssumptions.d.ts new file mode 100644 index 0000000..267a53b --- /dev/null +++ b/dist/lib/typings/binLookup/costEstimateAssumptions.d.ts @@ -0,0 +1,25 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface CostEstimateAssumptions { + /** + * If true, the cardholder is expected to successfully authorise via 3D Secure. + */ + assume3DSecureAuthenticated?: boolean; + /** + * If true, the transaction is expected to have valid Level 3 data. + */ + assumeLevel3Data?: boolean; + /** + * If not zero, the number of installments. + */ + installments?: number; +} diff --git a/dist/lib/typings/binLookup/costEstimateAssumptions.js b/dist/lib/typings/binLookup/costEstimateAssumptions.js new file mode 100644 index 0000000..d21671f --- /dev/null +++ b/dist/lib/typings/binLookup/costEstimateAssumptions.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=costEstimateAssumptions.js.map \ No newline at end of file diff --git a/dist/lib/typings/binLookup/costEstimateAssumptions.js.map b/dist/lib/typings/binLookup/costEstimateAssumptions.js.map new file mode 100644 index 0000000..29256e8 --- /dev/null +++ b/dist/lib/typings/binLookup/costEstimateAssumptions.js.map @@ -0,0 +1 @@ +{"version":3,"file":"costEstimateAssumptions.js","sourceRoot":"","sources":["../../../../src/typings/binLookup/costEstimateAssumptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/binLookup/costEstimateRequest.d.ts b/dist/lib/typings/binLookup/costEstimateRequest.d.ts new file mode 100644 index 0000000..acf938d --- /dev/null +++ b/dist/lib/typings/binLookup/costEstimateRequest.d.ts @@ -0,0 +1,53 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Amount } from './amount'; +import { CostEstimateAssumptions } from './costEstimateAssumptions'; +import { MerchantDetails } from './merchantDetails'; +import { Recurring } from './recurring'; +export interface CostEstimateRequest { + amount: Amount; + assumptions?: CostEstimateAssumptions; + /** + * The card number (4-19 characters) for PCI compliant use cases. Do not use any separators. > Either the `cardNumber` or `encryptedCard` field must be provided in a payment request. + */ + cardNumber?: string; + /** + * Encrypted data that stores card information for non PCI-compliant use cases. The encrypted data must be created with the Client-Side Encryption library and must contain at least the `number` and `generationtime` fields. > Either the `cardNumber` or `encryptedCard` field must be provided in a payment request. + */ + encryptedCard?: string; + /** + * The merchant account identifier you want to process the (transaction) request with. + */ + merchantAccount: string; + merchantDetails?: MerchantDetails; + recurring?: Recurring; + /** + * The `recurringDetailReference` you want to use for this cost estimate. The value `LATEST` can be used to select the most recently stored recurring detail. + */ + selectedRecurringDetailReference?: string; + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the card holder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + */ + shopperInteraction?: CostEstimateRequest.ShopperInteractionEnum; + /** + * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). > This field is required for recurring payments. + */ + shopperReference?: string; +} +export declare namespace CostEstimateRequest { + type ShopperInteractionEnum = 'Ecommerce' | 'ContAuth' | 'Moto' | 'POS'; + const ShopperInteractionEnum: { + Ecommerce: ShopperInteractionEnum; + ContAuth: ShopperInteractionEnum; + Moto: ShopperInteractionEnum; + POS: ShopperInteractionEnum; + }; +} diff --git a/dist/lib/typings/binLookup/costEstimateRequest.js b/dist/lib/typings/binLookup/costEstimateRequest.js new file mode 100644 index 0000000..b879b5a --- /dev/null +++ b/dist/lib/typings/binLookup/costEstimateRequest.js @@ -0,0 +1,12 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var CostEstimateRequest; +(function (CostEstimateRequest) { + CostEstimateRequest.ShopperInteractionEnum = { + Ecommerce: 'Ecommerce', + ContAuth: 'ContAuth', + Moto: 'Moto', + POS: 'POS' + }; +})(CostEstimateRequest = exports.CostEstimateRequest || (exports.CostEstimateRequest = {})); +//# sourceMappingURL=costEstimateRequest.js.map \ No newline at end of file diff --git a/dist/lib/typings/binLookup/costEstimateRequest.js.map b/dist/lib/typings/binLookup/costEstimateRequest.js.map new file mode 100644 index 0000000..b6a2bcd --- /dev/null +++ b/dist/lib/typings/binLookup/costEstimateRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"costEstimateRequest.js","sourceRoot":"","sources":["../../../../src/typings/binLookup/costEstimateRequest.ts"],"names":[],"mappings":";;AA8CA,IAAiB,mBAAmB,CAQnC;AARD,WAAiB,mBAAmB;IAEnB,0CAAsB,GAAG;QAClC,SAAS,EAAE,WAAqC;QAChD,QAAQ,EAAE,UAAoC;QAC9C,IAAI,EAAE,MAAgC;QACtC,GAAG,EAAE,KAA+B;KACvC,CAAC;AACN,CAAC,EARgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAQnC"} \ No newline at end of file diff --git a/dist/lib/typings/binLookup/costEstimateResponse.d.ts b/dist/lib/typings/binLookup/costEstimateResponse.d.ts new file mode 100644 index 0000000..dde8919 --- /dev/null +++ b/dist/lib/typings/binLookup/costEstimateResponse.d.ts @@ -0,0 +1,24 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Amount } from './amount'; +import { CardBin } from './cardBin'; +export interface CostEstimateResponse { + cardBin?: CardBin; + costEstimateAmount?: Amount; + /** + * The result of the cost estimation. + */ + resultCode?: string; + /** + * Indicates the way the charges can be passed on to the cardholder. The following values are possible: * `ZERO` - the charges are not allowed to pass on * `PASSTHROUGH` - the charges can be passed on * `UNLIMITED` - there is no limit on how much surcharge is passed on + */ + surchargeType?: string; +} diff --git a/dist/lib/typings/binLookup/costEstimateResponse.js b/dist/lib/typings/binLookup/costEstimateResponse.js new file mode 100644 index 0000000..5b4487c --- /dev/null +++ b/dist/lib/typings/binLookup/costEstimateResponse.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=costEstimateResponse.js.map \ No newline at end of file diff --git a/dist/lib/typings/binLookup/costEstimateResponse.js.map b/dist/lib/typings/binLookup/costEstimateResponse.js.map new file mode 100644 index 0000000..45c587b --- /dev/null +++ b/dist/lib/typings/binLookup/costEstimateResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"costEstimateResponse.js","sourceRoot":"","sources":["../../../../src/typings/binLookup/costEstimateResponse.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib/typings/binLookup/dSPublicKeyDetail.d.ts b/dist/lib/typings/binLookup/dSPublicKeyDetail.d.ts new file mode 100644 index 0000000..c518978 --- /dev/null +++ b/dist/lib/typings/binLookup/dSPublicKeyDetail.d.ts @@ -0,0 +1,25 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface DSPublicKeyDetail { + /** + * Card brand. + */ + brand?: string; + /** + * Directory Server (DS) identifier. + */ + directoryServerId?: string; + /** + * Public key. The 3D Secure 2 SDK encrypts the device information by using the DS public key. + */ + publicKey?: string; +} diff --git a/dist/lib/typings/binLookup/dSPublicKeyDetail.js b/dist/lib/typings/binLookup/dSPublicKeyDetail.js new file mode 100644 index 0000000..221c683 --- /dev/null +++ b/dist/lib/typings/binLookup/dSPublicKeyDetail.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=dSPublicKeyDetail.js.map \ No newline at end of file diff --git a/dist/lib/typings/binLookup/dSPublicKeyDetail.js.map b/dist/lib/typings/binLookup/dSPublicKeyDetail.js.map new file mode 100644 index 0000000..e938895 --- /dev/null +++ b/dist/lib/typings/binLookup/dSPublicKeyDetail.js.map @@ -0,0 +1 @@ +{"version":3,"file":"dSPublicKeyDetail.js","sourceRoot":"","sources":["../../../../src/typings/binLookup/dSPublicKeyDetail.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/binLookup/index.d.ts b/dist/lib/typings/binLookup/index.d.ts new file mode 100644 index 0000000..2a15be9 --- /dev/null +++ b/dist/lib/typings/binLookup/index.d.ts @@ -0,0 +1,11 @@ +export * from './amount'; +export * from './cardBin'; +export * from './costEstimateAssumptions'; +export * from './costEstimateRequest'; +export * from './costEstimateResponse'; +export * from './dSPublicKeyDetail'; +export * from './merchantDetails'; +export * from './recurring'; +export * from './threeDS2CardRangeDetail'; +export * from './threeDSAvailabilityRequest'; +export * from './threeDSAvailabilityResponse'; diff --git a/dist/lib/typings/binLookup/index.js b/dist/lib/typings/binLookup/index.js new file mode 100644 index 0000000..05fdbd9 --- /dev/null +++ b/dist/lib/typings/binLookup/index.js @@ -0,0 +1,8 @@ +"use strict"; +function __export(m) { + for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; +} +Object.defineProperty(exports, "__esModule", { value: true }); +__export(require("./costEstimateRequest")); +__export(require("./recurring")); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/lib/typings/binLookup/index.js.map b/dist/lib/typings/binLookup/index.js.map new file mode 100644 index 0000000..e391584 --- /dev/null +++ b/dist/lib/typings/binLookup/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/typings/binLookup/index.ts"],"names":[],"mappings":";;;;;AAGA,2CAAsC;AAItC,iCAA4B"} \ No newline at end of file diff --git a/dist/lib/typings/binLookup/merchantDetails.d.ts b/dist/lib/typings/binLookup/merchantDetails.d.ts new file mode 100644 index 0000000..c466ce7 --- /dev/null +++ b/dist/lib/typings/binLookup/merchantDetails.d.ts @@ -0,0 +1,25 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface MerchantDetails { + /** + * 2-letter ISO 3166 country code of the card acceptor location. > This parameter is required for the merchants who don't use Adyen as the payment authorisation gateway. + */ + countryCode?: string; + /** + * If true, indicates that the merchant is enrolled in 3D Secure for the card network. + */ + enrolledIn3DSecure?: boolean; + /** + * The merchant category code (MCC) is a four-digit number which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. The list of MCCs can be found [here](https://en.wikipedia.org/wiki/Merchant_category_code). + */ + mcc?: string; +} diff --git a/dist/lib/typings/binLookup/merchantDetails.js b/dist/lib/typings/binLookup/merchantDetails.js new file mode 100644 index 0000000..6c75f5d --- /dev/null +++ b/dist/lib/typings/binLookup/merchantDetails.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=merchantDetails.js.map \ No newline at end of file diff --git a/dist/lib/typings/binLookup/merchantDetails.js.map b/dist/lib/typings/binLookup/merchantDetails.js.map new file mode 100644 index 0000000..034ff5d --- /dev/null +++ b/dist/lib/typings/binLookup/merchantDetails.js.map @@ -0,0 +1 @@ +{"version":3,"file":"merchantDetails.js","sourceRoot":"","sources":["../../../../src/typings/binLookup/merchantDetails.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/binLookup/recurring.d.ts b/dist/lib/typings/binLookup/recurring.d.ts new file mode 100644 index 0000000..138888b --- /dev/null +++ b/dist/lib/typings/binLookup/recurring.d.ts @@ -0,0 +1,46 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Recurring { + /** + * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payment-glossary#cardsecuritycodecvccvvcid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payment-glossary#cardnotpresentcnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/features/third-party-payouts). + */ + contract?: Recurring.ContractEnum; + /** + * A descriptive name for this detail. + */ + recurringDetailName?: string; + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + */ + recurringExpiry?: Date; + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + */ + recurringFrequency?: string; + /** + * The name of the token service. + */ + tokenService?: Recurring.TokenServiceEnum; +} +export declare namespace Recurring { + type ContractEnum = 'ONECLICK' | 'RECURRING' | 'PAYOUT'; + const ContractEnum: { + ONECLICK: ContractEnum; + RECURRING: ContractEnum; + PAYOUT: ContractEnum; + }; + type TokenServiceEnum = 'VISATOKENSERVICE' | 'MCTOKENSERVICE'; + const TokenServiceEnum: { + VISATOKENSERVICE: TokenServiceEnum; + MCTOKENSERVICE: TokenServiceEnum; + }; +} diff --git a/dist/lib/typings/binLookup/recurring.js b/dist/lib/typings/binLookup/recurring.js new file mode 100644 index 0000000..f120df6 --- /dev/null +++ b/dist/lib/typings/binLookup/recurring.js @@ -0,0 +1,26 @@ +"use strict"; +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var Recurring; +(function (Recurring) { + Recurring.ContractEnum = { + ONECLICK: 'ONECLICK', + RECURRING: 'RECURRING', + PAYOUT: 'PAYOUT' + }; + Recurring.TokenServiceEnum = { + VISATOKENSERVICE: 'VISATOKENSERVICE', + MCTOKENSERVICE: 'MCTOKENSERVICE' + }; +})(Recurring = exports.Recurring || (exports.Recurring = {})); +//# sourceMappingURL=recurring.js.map \ No newline at end of file diff --git a/dist/lib/typings/binLookup/recurring.js.map b/dist/lib/typings/binLookup/recurring.js.map new file mode 100644 index 0000000..066aed2 --- /dev/null +++ b/dist/lib/typings/binLookup/recurring.js.map @@ -0,0 +1 @@ +{"version":3,"file":"recurring.js","sourceRoot":"","sources":["../../../../src/typings/binLookup/recurring.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;AAwBH,IAAiB,SAAS,CAYzB;AAZD,WAAiB,SAAS;IAET,sBAAY,GAAG;QACxB,QAAQ,EAAE,UAA0B;QACpC,SAAS,EAAE,WAA2B;QACtC,MAAM,EAAE,QAAwB;KACnC,CAAC;IAEW,0BAAgB,GAAG;QAC5B,gBAAgB,EAAE,kBAAsC;QACxD,cAAc,EAAE,gBAAoC;KACvD,CAAC;AACN,CAAC,EAZgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAYzB"} \ No newline at end of file diff --git a/dist/lib/typings/binLookup/threeDS2CardRangeDetail.d.ts b/dist/lib/typings/binLookup/threeDS2CardRangeDetail.d.ts new file mode 100644 index 0000000..b1d0f43 --- /dev/null +++ b/dist/lib/typings/binLookup/threeDS2CardRangeDetail.d.ts @@ -0,0 +1,33 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface ThreeDS2CardRangeDetail { + /** + * Card brand. + */ + brandCode?: string; + /** + * BIN end range. + */ + endRange?: string; + /** + * BIN start range. + */ + startRange?: string; + /** + * 3D Secure protocol version. + */ + threeDS2Version?: string; + /** + * In a 3D Secure 2 browser-based flow, this is the URL where you should send the device fingerprint to. + */ + threeDSMethodURL?: string; +} diff --git a/dist/lib/typings/binLookup/threeDS2CardRangeDetail.js b/dist/lib/typings/binLookup/threeDS2CardRangeDetail.js new file mode 100644 index 0000000..1a6cb6f --- /dev/null +++ b/dist/lib/typings/binLookup/threeDS2CardRangeDetail.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=threeDS2CardRangeDetail.js.map \ No newline at end of file diff --git a/dist/lib/typings/binLookup/threeDS2CardRangeDetail.js.map b/dist/lib/typings/binLookup/threeDS2CardRangeDetail.js.map new file mode 100644 index 0000000..d936935 --- /dev/null +++ b/dist/lib/typings/binLookup/threeDS2CardRangeDetail.js.map @@ -0,0 +1 @@ +{"version":3,"file":"threeDS2CardRangeDetail.js","sourceRoot":"","sources":["../../../../src/typings/binLookup/threeDS2CardRangeDetail.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/binLookup/threeDSAvailabilityRequest.d.ts b/dist/lib/typings/binLookup/threeDSAvailabilityRequest.d.ts new file mode 100644 index 0000000..e30e385 --- /dev/null +++ b/dist/lib/typings/binLookup/threeDSAvailabilityRequest.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface ThreeDSAvailabilityRequest { + /** + * This field contains additional data, which may be required for a particular request. The `additionalData` object consists of entries, each of which includes the key and value. For more information on possible key-value pairs, refer to the [additionalData section](https://docs.adyen.com/api-reference/payments-api#paymentrequestadditionaldata). + */ + additionalData?: any; + /** + * List of brands. + */ + brands: Array; + /** + * Card number or BIN. + */ + cardNumber?: string; + /** + * The merchant account identifier. + */ + merchantAccount: string; + /** + * A recurring detail reference corresponding to a card. + */ + recurringDetailReference?: string; + /** + * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). + */ + shopperReference?: string; +} diff --git a/dist/lib/typings/binLookup/threeDSAvailabilityRequest.js b/dist/lib/typings/binLookup/threeDSAvailabilityRequest.js new file mode 100644 index 0000000..fe1b997 --- /dev/null +++ b/dist/lib/typings/binLookup/threeDSAvailabilityRequest.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=threeDSAvailabilityRequest.js.map \ No newline at end of file diff --git a/dist/lib/typings/binLookup/threeDSAvailabilityRequest.js.map b/dist/lib/typings/binLookup/threeDSAvailabilityRequest.js.map new file mode 100644 index 0000000..e4dc276 --- /dev/null +++ b/dist/lib/typings/binLookup/threeDSAvailabilityRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"threeDSAvailabilityRequest.js","sourceRoot":"","sources":["../../../../src/typings/binLookup/threeDSAvailabilityRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/binLookup/threeDSAvailabilityResponse.d.ts b/dist/lib/typings/binLookup/threeDSAvailabilityResponse.d.ts new file mode 100644 index 0000000..90074da --- /dev/null +++ b/dist/lib/typings/binLookup/threeDSAvailabilityResponse.d.ts @@ -0,0 +1,30 @@ +/** + * Adyen BinLookup Service + * The BIN Lookup API provides endpoints for retrieving information, such as [cost estimates](https://docs.adyen.com/features/cost-estimation), and 3D Secure supported version based on a given [BIN](https://docs.adyen.com/payments-basics/payment-glossary#bankidentificationnumberbin). + * + * OpenAPI spec version: 40 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { DSPublicKeyDetail } from './dSPublicKeyDetail'; +import { ThreeDS2CardRangeDetail } from './threeDS2CardRangeDetail'; +export interface ThreeDSAvailabilityResponse { + /** + * List of Directory Server (DS) public keys. + */ + dsPublicKeys?: Array; + /** + * Indicator if 3D Secure 1 is supported. + */ + threeDS1Supported?: boolean; + /** + * List of brand and card range pairs. + */ + threeDS2CardRangeDetails?: Array; + /** + * Indicator if 3D Secure 2 is supported. + */ + threeDS2supported?: boolean; +} diff --git a/dist/lib/typings/binLookup/threeDSAvailabilityResponse.js b/dist/lib/typings/binLookup/threeDSAvailabilityResponse.js new file mode 100644 index 0000000..92f800b --- /dev/null +++ b/dist/lib/typings/binLookup/threeDSAvailabilityResponse.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=threeDSAvailabilityResponse.js.map \ No newline at end of file diff --git a/dist/lib/typings/binLookup/threeDSAvailabilityResponse.js.map b/dist/lib/typings/binLookup/threeDSAvailabilityResponse.js.map new file mode 100644 index 0000000..e7ee9b5 --- /dev/null +++ b/dist/lib/typings/binLookup/threeDSAvailabilityResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"threeDSAvailabilityResponse.js","sourceRoot":"","sources":["../../../../src/typings/binLookup/threeDSAvailabilityResponse.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib/typings/checkout/accountInfo.d.ts b/dist/lib/typings/checkout/accountInfo.d.ts new file mode 100644 index 0000000..70be39f --- /dev/null +++ b/dist/lib/typings/checkout/accountInfo.d.ts @@ -0,0 +1,125 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface AccountInfo { + /** + * Indicator for the length of time since this shopper account was created in the merchant's environment. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + */ + accountAgeIndicator?: AccountInfo.AccountAgeIndicatorEnum; + /** + * Date when the shopper's account was last changed. + */ + accountChangeDate?: Date; + /** + * Indicator for the length of time since the shopper's account was last updated. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + */ + accountChangeIndicator?: AccountInfo.AccountChangeIndicatorEnum; + /** + * Date when the shopper's account was created. + */ + accountCreationDate?: Date; + /** + * Number of attempts the shopper tried to add a card to their account in the last day. + */ + addCardAttemptsDay?: number; + /** + * Date the selected delivery address was last used. + */ + deliveryAddressUsageDate?: Date; + /** + * Indicator for the length of time since this delivery address was last used. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + */ + deliveryAddressUsageIndicator?: AccountInfo.DeliveryAddressUsageIndicatorEnum; + /** + * Shopper's home phone number (including the country code). + */ + homePhone?: string; + /** + * Shopper's mobile phone number (including the country code). + */ + mobilePhone?: string; + /** + * Date when the shopper last changed their password. + */ + passwordChangeDate?: Date; + /** + * Indicator when the shopper has changed their password. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + */ + passwordChangeIndicator?: AccountInfo.PasswordChangeIndicatorEnum; + /** + * Number of all transactions (successful and abandoned) from this shopper in the past 24 hours. + */ + pastTransactionsDay?: number; + /** + * Number of all transactions (successful and abandoned) from this shopper in the past year. + */ + pastTransactionsYear?: number; + /** + * Date this payment method was added to the shopper's account. + */ + paymentAccountAge?: Date; + /** + * Indicator for the length of time since this payment method was added to this shopper's account. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + */ + paymentAccountIndicator?: AccountInfo.PaymentAccountIndicatorEnum; + /** + * Number of successful purchases in the last six months. + */ + purchasesLast6Months?: number; + /** + * Whether suspicious activity was recorded on this account. + */ + suspiciousActivity?: boolean; + /** + * Shopper's work phone number (including the country code). + */ + workPhone?: string; +} +export declare namespace AccountInfo { + type AccountAgeIndicatorEnum = 'notApplicable' | 'thisTransaction' | 'lessThan30Days' | 'from30To60Days' | 'moreThan60Days'; + const AccountAgeIndicatorEnum: { + NotApplicable: AccountAgeIndicatorEnum; + ThisTransaction: AccountAgeIndicatorEnum; + LessThan30Days: AccountAgeIndicatorEnum; + From30To60Days: AccountAgeIndicatorEnum; + MoreThan60Days: AccountAgeIndicatorEnum; + }; + type AccountChangeIndicatorEnum = 'thisTransaction' | 'lessThan30Days' | 'from30To60Days' | 'moreThan60Days'; + const AccountChangeIndicatorEnum: { + ThisTransaction: AccountChangeIndicatorEnum; + LessThan30Days: AccountChangeIndicatorEnum; + From30To60Days: AccountChangeIndicatorEnum; + MoreThan60Days: AccountChangeIndicatorEnum; + }; + type DeliveryAddressUsageIndicatorEnum = 'thisTransaction' | 'lessThan30Days' | 'from30To60Days' | 'moreThan60Days'; + const DeliveryAddressUsageIndicatorEnum: { + ThisTransaction: AccountChangeIndicatorEnum; + LessThan30Days: AccountChangeIndicatorEnum; + From30To60Days: AccountChangeIndicatorEnum; + MoreThan60Days: AccountChangeIndicatorEnum; + }; + type PasswordChangeIndicatorEnum = 'notApplicable' | 'thisTransaction' | 'lessThan30Days' | 'from30To60Days' | 'moreThan60Days'; + const PasswordChangeIndicatorEnum: { + NotApplicable: AccountAgeIndicatorEnum; + ThisTransaction: AccountAgeIndicatorEnum; + LessThan30Days: AccountAgeIndicatorEnum; + From30To60Days: AccountAgeIndicatorEnum; + MoreThan60Days: AccountAgeIndicatorEnum; + }; + type PaymentAccountIndicatorEnum = 'notApplicable' | 'thisTransaction' | 'lessThan30Days' | 'from30To60Days' | 'moreThan60Days'; + const PaymentAccountIndicatorEnum: { + NotApplicable: AccountAgeIndicatorEnum; + ThisTransaction: AccountAgeIndicatorEnum; + LessThan30Days: AccountAgeIndicatorEnum; + From30To60Days: AccountAgeIndicatorEnum; + MoreThan60Days: AccountAgeIndicatorEnum; + }; +} diff --git a/dist/lib/typings/checkout/accountInfo.js b/dist/lib/typings/checkout/accountInfo.js new file mode 100644 index 0000000..ae09ef0 --- /dev/null +++ b/dist/lib/typings/checkout/accountInfo.js @@ -0,0 +1,50 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var AccountInfo; +(function (AccountInfo) { + AccountInfo.AccountAgeIndicatorEnum = { + NotApplicable: 'notApplicable', + ThisTransaction: 'thisTransaction', + LessThan30Days: 'lessThan30Days', + From30To60Days: 'from30To60Days', + MoreThan60Days: 'moreThan60Days' + }; + AccountInfo.AccountChangeIndicatorEnum = { + ThisTransaction: 'thisTransaction', + LessThan30Days: 'lessThan30Days', + From30To60Days: 'from30To60Days', + MoreThan60Days: 'moreThan60Days' + }; + AccountInfo.DeliveryAddressUsageIndicatorEnum = { + ThisTransaction: 'thisTransaction', + LessThan30Days: 'lessThan30Days', + From30To60Days: 'from30To60Days', + MoreThan60Days: 'moreThan60Days' + }; + AccountInfo.PasswordChangeIndicatorEnum = { + NotApplicable: 'notApplicable', + ThisTransaction: 'thisTransaction', + LessThan30Days: 'lessThan30Days', + From30To60Days: 'from30To60Days', + MoreThan60Days: 'moreThan60Days' + }; + AccountInfo.PaymentAccountIndicatorEnum = { + NotApplicable: 'notApplicable', + ThisTransaction: 'thisTransaction', + LessThan30Days: 'lessThan30Days', + From30To60Days: 'from30To60Days', + MoreThan60Days: 'moreThan60Days' + }; +})(AccountInfo = exports.AccountInfo || (exports.AccountInfo = {})); +//# sourceMappingURL=accountInfo.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/accountInfo.js.map b/dist/lib/typings/checkout/accountInfo.js.map new file mode 100644 index 0000000..55bd7a1 --- /dev/null +++ b/dist/lib/typings/checkout/accountInfo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"accountInfo.js","sourceRoot":"","sources":["../../../../src/typings/checkout/accountInfo.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;AA4EH,IAAiB,WAAW,CAuC3B;AAvCD,WAAiB,WAAW;IAEX,mCAAuB,GAAG;QACnC,aAAa,EAAE,eAA0C;QACzD,eAAe,EAAE,iBAA4C;QAC7D,cAAc,EAAE,gBAA2C;QAC3D,cAAc,EAAE,gBAA2C;QAC3D,cAAc,EAAE,gBAA2C;KAC9D,CAAC;IAEW,sCAA0B,GAAG;QACtC,eAAe,EAAE,iBAA+C;QAChE,cAAc,EAAE,gBAA8C;QAC9D,cAAc,EAAE,gBAA8C;QAC9D,cAAc,EAAE,gBAA8C;KACjE,CAAC;IAEW,6CAAiC,GAAG;QAC7C,eAAe,EAAE,iBAAsD;QACvE,cAAc,EAAE,gBAAqD;QACrE,cAAc,EAAE,gBAAqD;QACrE,cAAc,EAAE,gBAAqD;KACxE,CAAC;IAEW,uCAA2B,GAAG;QACvC,aAAa,EAAE,eAA8C;QAC7D,eAAe,EAAE,iBAAgD;QACjE,cAAc,EAAE,gBAA+C;QAC/D,cAAc,EAAE,gBAA+C;QAC/D,cAAc,EAAE,gBAA+C;KAClE,CAAC;IAEW,uCAA2B,GAAG;QACvC,aAAa,EAAE,eAA8C;QAC7D,eAAe,EAAE,iBAAgD;QACjE,cAAc,EAAE,gBAA+C;QAC/D,cAAc,EAAE,gBAA+C;QAC/D,cAAc,EAAE,gBAA+C;KAClE,CAAC;AACN,CAAC,EAvCgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAuC3B"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/address.d.ts b/dist/lib/typings/checkout/address.d.ts new file mode 100644 index 0000000..d4c5750 --- /dev/null +++ b/dist/lib/typings/checkout/address.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Address { + /** + * The name of the city. >Required if either houseNumberOrName, street, postalCode, or stateOrProvince are provided. + */ + city?: string; + /** + * The two-character country code of the address >The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. 'NL'). + */ + country: string; + /** + * The number or name of the house. + */ + houseNumberOrName?: string; + /** + * The postal code. >A maximum of five (5) digits for an address in the USA, or a maximum of ten (10) characters for an address in all other countries. + */ + postalCode?: string; + /** + * The abbreviation of the state or province. >Two (2) characters for an address in the USA or Canada, or a maximum of three (3) characters for an address in all other countries. >Required for an address in the USA or Canada if either houseNumberOrName, street, city, or postalCode are provided. + */ + stateOrProvince?: string; + /** + * The name of the street. >The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. >Required if either houseNumberOrName, city, postalCode, or stateOrProvince are provided. + */ + street?: string; +} diff --git a/dist/lib/typings/checkout/address.js b/dist/lib/typings/checkout/address.js new file mode 100644 index 0000000..aae8afd --- /dev/null +++ b/dist/lib/typings/checkout/address.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=address.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/address.js.map b/dist/lib/typings/checkout/address.js.map new file mode 100644 index 0000000..0f91f8c --- /dev/null +++ b/dist/lib/typings/checkout/address.js.map @@ -0,0 +1 @@ +{"version":3,"file":"address.js","sourceRoot":"","sources":["../../../../src/typings/checkout/address.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/amount.d.ts b/dist/lib/typings/checkout/amount.d.ts new file mode 100644 index 0000000..eab6c1f --- /dev/null +++ b/dist/lib/typings/checkout/amount.d.ts @@ -0,0 +1,21 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Amount { + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + */ + currency: string; + /** + * The payable amount that can be charged for the transaction. The transaction amount needs to be represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). + */ + value: number; +} diff --git a/dist/lib/typings/checkout/amount.js b/dist/lib/typings/checkout/amount.js new file mode 100644 index 0000000..3b43f55 --- /dev/null +++ b/dist/lib/typings/checkout/amount.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=amount.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/amount.js.map b/dist/lib/typings/checkout/amount.js.map new file mode 100644 index 0000000..2834e8a --- /dev/null +++ b/dist/lib/typings/checkout/amount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"amount.js","sourceRoot":"","sources":["../../../../src/typings/checkout/amount.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/avs.d.ts b/dist/lib/typings/checkout/avs.d.ts new file mode 100644 index 0000000..114f1e3 --- /dev/null +++ b/dist/lib/typings/checkout/avs.d.ts @@ -0,0 +1,29 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Avs { + /** + * Indicates whether the shopper is allowed to modify the billing address for the current payment request. + */ + addressEditable?: boolean; + /** + * Specifies whether the shopper should enter their billing address during checkout. Allowed values: * yes — Perform AVS checks for every card payment. * automatic — Perform AVS checks only when required to optimize the conversion rate. * no — Do not perform AVS checks. + */ + enabled?: Avs.EnabledEnum; +} +export declare namespace Avs { + type EnabledEnum = 'yes' | 'no' | 'automatic'; + const EnabledEnum: { + Yes: EnabledEnum; + No: EnabledEnum; + Automatic: EnabledEnum; + }; +} diff --git a/dist/lib/typings/checkout/avs.js b/dist/lib/typings/checkout/avs.js new file mode 100644 index 0000000..f57ab2b --- /dev/null +++ b/dist/lib/typings/checkout/avs.js @@ -0,0 +1,22 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var Avs; +(function (Avs) { + Avs.EnabledEnum = { + Yes: 'yes', + No: 'no', + Automatic: 'automatic' + }; +})(Avs = exports.Avs || (exports.Avs = {})); +//# sourceMappingURL=avs.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/avs.js.map b/dist/lib/typings/checkout/avs.js.map new file mode 100644 index 0000000..86fe18a --- /dev/null +++ b/dist/lib/typings/checkout/avs.js.map @@ -0,0 +1 @@ +{"version":3,"file":"avs.js","sourceRoot":"","sources":["../../../../src/typings/checkout/avs.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;AAYH,IAAiB,GAAG,CAOnB;AAPD,WAAiB,GAAG;IAEH,eAAW,GAAG;QACvB,GAAG,EAAE,KAAoB;QACzB,EAAE,EAAE,IAAmB;QACvB,SAAS,EAAE,WAA0B;KACxC,CAAC;AACN,CAAC,EAPgB,GAAG,GAAH,WAAG,KAAH,WAAG,QAOnB"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/bankAccount.d.ts b/dist/lib/typings/checkout/bankAccount.d.ts new file mode 100644 index 0000000..4df03ed --- /dev/null +++ b/dist/lib/typings/checkout/bankAccount.d.ts @@ -0,0 +1,49 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface BankAccount { + /** + * The bank account number (without separators). + */ + bankAccountNumber?: string; + /** + * The bank city. + */ + bankCity?: string; + /** + * The location id of the bank. The field value is `nil` in most cases. + */ + bankLocationId?: string; + /** + * The name of the bank. + */ + bankName?: string; + /** + * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. + */ + bic?: string; + /** + * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). + */ + countryCode?: string; + /** + * The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN). + */ + iban?: string; + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + */ + ownerName?: string; + /** + * The bank account holder's tax ID. + */ + taxId?: string; +} diff --git a/dist/lib/typings/checkout/bankAccount.js b/dist/lib/typings/checkout/bankAccount.js new file mode 100644 index 0000000..5b96fd4 --- /dev/null +++ b/dist/lib/typings/checkout/bankAccount.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=bankAccount.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/bankAccount.js.map b/dist/lib/typings/checkout/bankAccount.js.map new file mode 100644 index 0000000..57674b2 --- /dev/null +++ b/dist/lib/typings/checkout/bankAccount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bankAccount.js","sourceRoot":"","sources":["../../../../src/typings/checkout/bankAccount.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/browserInfo.d.ts b/dist/lib/typings/checkout/browserInfo.d.ts new file mode 100644 index 0000000..d04a086 --- /dev/null +++ b/dist/lib/typings/checkout/browserInfo.d.ts @@ -0,0 +1,49 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface BrowserInfo { + /** + * The accept header value of the shopper's browser. + */ + acceptHeader: string; + /** + * The color depth of the shopper's browser in bits per pixel. This should be obtained by using the browser's `screen.colorDepth` property. Accepted values: 1, 4, 8, 15, 16, 24, 32 or 48 bit color depth. + */ + colorDepth: number; + /** + * Boolean value indicating if the shopper's browser is able to execute Java. + */ + javaEnabled: boolean; + /** + * Boolean value indicating if the shopper's browser is able to execute JavaScript. A default 'true' value is assumed if the field is not present. + */ + javaScriptEnabled?: boolean; + /** + * The `navigator.language` value of the shopper's browser (as defined in IETF BCP 47). + */ + language: string; + /** + * The total height of the shopper's device screen in pixels. + */ + screenHeight: number; + /** + * The total width of the shopper's device screen in pixels. + */ + screenWidth: number; + /** + * Time difference between UTC time and the shopper's browser local time, in minutes. + */ + timeZoneOffset: number; + /** + * The user agent value of the shopper's browser. + */ + userAgent: string; +} diff --git a/dist/lib/typings/checkout/browserInfo.js b/dist/lib/typings/checkout/browserInfo.js new file mode 100644 index 0000000..edd85bb --- /dev/null +++ b/dist/lib/typings/checkout/browserInfo.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=browserInfo.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/browserInfo.js.map b/dist/lib/typings/checkout/browserInfo.js.map new file mode 100644 index 0000000..9706934 --- /dev/null +++ b/dist/lib/typings/checkout/browserInfo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"browserInfo.js","sourceRoot":"","sources":["../../../../src/typings/checkout/browserInfo.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/card.d.ts b/dist/lib/typings/checkout/card.d.ts new file mode 100644 index 0000000..8e50909 --- /dev/null +++ b/dist/lib/typings/checkout/card.d.ts @@ -0,0 +1,45 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Card { + /** + * The [card verification code](https://docs.adyen.com/payments-essentials/payment-glossary#card_security_code_cvc_cvv_cid_) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. + */ + cvc?: string; + /** + * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November + */ + expiryMonth: string; + /** + * The card expiry year. Format: 4 digits. For example: 2020 + */ + expiryYear: string; + /** + * The name of the cardholder, as printed on the card. + */ + holderName: string; + /** + * The issue number of the card (for some UK debit cards only). + */ + issueNumber?: string; + /** + * The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned. + */ + number: string; + /** + * The month component of the start date (for some UK debit cards only). + */ + startMonth?: string; + /** + * The year component of the start date (for some UK debit cards only). + */ + startYear?: string; +} diff --git a/dist/lib/typings/checkout/card.js b/dist/lib/typings/checkout/card.js new file mode 100644 index 0000000..c19edf2 --- /dev/null +++ b/dist/lib/typings/checkout/card.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=card.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/card.js.map b/dist/lib/typings/checkout/card.js.map new file mode 100644 index 0000000..b6f3596 --- /dev/null +++ b/dist/lib/typings/checkout/card.js.map @@ -0,0 +1 @@ +{"version":3,"file":"card.js","sourceRoot":"","sources":["../../../../src/typings/checkout/card.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/company.d.ts b/dist/lib/typings/checkout/company.d.ts new file mode 100644 index 0000000..824dfc1 --- /dev/null +++ b/dist/lib/typings/checkout/company.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Company { + /** + * The company website's home page. + */ + homepage?: string; + /** + * The company name. + */ + name?: string; + /** + * Registration number of the company. + */ + registrationNumber?: string; + /** + * Registry location of the company. + */ + registryLocation?: string; + /** + * Tax ID of the company. + */ + taxId?: string; + /** + * The company type. + */ + type?: string; +} diff --git a/dist/lib/typings/checkout/company.js b/dist/lib/typings/checkout/company.js new file mode 100644 index 0000000..51d4d44 --- /dev/null +++ b/dist/lib/typings/checkout/company.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=company.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/company.js.map b/dist/lib/typings/checkout/company.js.map new file mode 100644 index 0000000..b2ad472 --- /dev/null +++ b/dist/lib/typings/checkout/company.js.map @@ -0,0 +1 @@ +{"version":3,"file":"company.js","sourceRoot":"","sources":["../../../../src/typings/checkout/company.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/configuration.d.ts b/dist/lib/typings/checkout/configuration.d.ts new file mode 100644 index 0000000..4d8e715 --- /dev/null +++ b/dist/lib/typings/checkout/configuration.d.ts @@ -0,0 +1,30 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Avs } from './avs'; +import { Installments } from './installments'; +import { ShopperInput } from './shopperInput'; +export interface Configuration { + avs?: Avs; + /** + * Determines whether the cardholder name should be provided or not. Permitted values: * NONE * OPTIONAL * REQUIRED + */ + cardHolderName?: Configuration.CardHolderNameEnum; + installments?: Installments; + shopperInput?: ShopperInput; +} +export declare namespace Configuration { + type CardHolderNameEnum = 'NONE' | 'OPTIONAL' | 'REQUIRED'; + const CardHolderNameEnum: { + NONE: CardHolderNameEnum; + OPTIONAL: CardHolderNameEnum; + REQUIRED: CardHolderNameEnum; + }; +} diff --git a/dist/lib/typings/checkout/configuration.js b/dist/lib/typings/checkout/configuration.js new file mode 100644 index 0000000..39a9069 --- /dev/null +++ b/dist/lib/typings/checkout/configuration.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var Configuration; +(function (Configuration) { + Configuration.CardHolderNameEnum = { + NONE: 'NONE', + OPTIONAL: 'OPTIONAL', + REQUIRED: 'REQUIRED' + }; +})(Configuration = exports.Configuration || (exports.Configuration = {})); +//# sourceMappingURL=configuration.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/configuration.js.map b/dist/lib/typings/checkout/configuration.js.map new file mode 100644 index 0000000..6acd42a --- /dev/null +++ b/dist/lib/typings/checkout/configuration.js.map @@ -0,0 +1 @@ +{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../../../src/typings/checkout/configuration.ts"],"names":[],"mappings":";;AAwBA,IAAiB,aAAa,CAO7B;AAPD,WAAiB,aAAa;IAEb,gCAAkB,GAAG;QAC9B,IAAI,EAAE,MAA4B;QAClC,QAAQ,EAAE,UAAgC;QAC1C,QAAQ,EAAE,UAAgC;KAC7C,CAAC;AACN,CAAC,EAPgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAO7B"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/detailsRequest.d.ts b/dist/lib/typings/checkout/detailsRequest.d.ts new file mode 100644 index 0000000..e661062 --- /dev/null +++ b/dist/lib/typings/checkout/detailsRequest.d.ts @@ -0,0 +1,25 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface DetailsRequest { + /** + * Use this collection to submit the details that were returned as a result of the `/payments` call. + */ + details: any; + /** + * The `paymentData` value that you received in the response to the `/payments` call. + */ + paymentData?: string; + /** + * Change the `authenticationOnly` indicator originally set in the `/payments` request. Only needs to be set if you want to modify the value set previously. + */ + threeDSAuthenticationOnly?: boolean; +} diff --git a/dist/lib/typings/checkout/detailsRequest.js b/dist/lib/typings/checkout/detailsRequest.js new file mode 100644 index 0000000..2684d5f --- /dev/null +++ b/dist/lib/typings/checkout/detailsRequest.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=detailsRequest.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/detailsRequest.js.map b/dist/lib/typings/checkout/detailsRequest.js.map new file mode 100644 index 0000000..353916a --- /dev/null +++ b/dist/lib/typings/checkout/detailsRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"detailsRequest.js","sourceRoot":"","sources":["../../../../src/typings/checkout/detailsRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/deviceRenderOptions.d.ts b/dist/lib/typings/checkout/deviceRenderOptions.d.ts new file mode 100644 index 0000000..bb4f119 --- /dev/null +++ b/dist/lib/typings/checkout/deviceRenderOptions.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface DeviceRenderOptions { + /** + * Supported SDK interface types. Allowed values: * Native * Html * both + */ + sdkInterface?: DeviceRenderOptions.SdkInterfaceEnum; + /** + * UI types supported for displaying specific challenges. Allowed values: * text * singleSelect * outOfBand * otherHtml * multiSelect + */ + sdkUiType?: Array; +} +export declare namespace DeviceRenderOptions { + type SdkInterfaceEnum = 'Html' | 'Native' | 'both'; + const SdkInterfaceEnum: { + Html: SdkInterfaceEnum; + Native: SdkInterfaceEnum; + Both: SdkInterfaceEnum; + }; + type SdkUiTypeEnum = 'multiSelect' | 'otherHtml' | 'outOfBand' | 'singleSelect' | 'text'; + const SdkUiTypeEnum: { + MultiSelect: SdkUiTypeEnum; + OtherHtml: SdkUiTypeEnum; + OutOfBand: SdkUiTypeEnum; + SingleSelect: SdkUiTypeEnum; + Text: SdkUiTypeEnum; + }; +} diff --git a/dist/lib/typings/checkout/deviceRenderOptions.js b/dist/lib/typings/checkout/deviceRenderOptions.js new file mode 100644 index 0000000..7957794 --- /dev/null +++ b/dist/lib/typings/checkout/deviceRenderOptions.js @@ -0,0 +1,29 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var DeviceRenderOptions; +(function (DeviceRenderOptions) { + DeviceRenderOptions.SdkInterfaceEnum = { + Html: 'Html', + Native: 'Native', + Both: 'both' + }; + DeviceRenderOptions.SdkUiTypeEnum = { + MultiSelect: 'multiSelect', + OtherHtml: 'otherHtml', + OutOfBand: 'outOfBand', + SingleSelect: 'singleSelect', + Text: 'text' + }; +})(DeviceRenderOptions = exports.DeviceRenderOptions || (exports.DeviceRenderOptions = {})); +//# sourceMappingURL=deviceRenderOptions.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/deviceRenderOptions.js.map b/dist/lib/typings/checkout/deviceRenderOptions.js.map new file mode 100644 index 0000000..2c5c405 --- /dev/null +++ b/dist/lib/typings/checkout/deviceRenderOptions.js.map @@ -0,0 +1 @@ +{"version":3,"file":"deviceRenderOptions.js","sourceRoot":"","sources":["../../../../src/typings/checkout/deviceRenderOptions.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;GAUG;;AAYH,IAAiB,mBAAmB,CAenC;AAfD,WAAiB,mBAAmB;IAEnB,oCAAgB,GAAG;QAC5B,IAAI,EAAE,MAA0B;QAChC,MAAM,EAAE,QAA4B;QACpC,IAAI,EAAE,MAA0B;KACnC,CAAC;IAEW,iCAAa,GAAG;QACzB,WAAW,EAAE,aAA8B;QAC3C,SAAS,EAAE,WAA4B;QACvC,SAAS,EAAE,WAA4B;QACvC,YAAY,EAAE,cAA+B;QAC7C,IAAI,EAAE,MAAuB;KAChC,CAAC;AACN,CAAC,EAfgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAenC"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/forexQuote.d.ts b/dist/lib/typings/checkout/forexQuote.d.ts new file mode 100644 index 0000000..19122ec --- /dev/null +++ b/dist/lib/typings/checkout/forexQuote.d.ts @@ -0,0 +1,49 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Amount } from './amount'; +export interface ForexQuote { + /** + * The account name. + */ + account?: string; + /** + * The account type. + */ + accountType?: string; + baseAmount?: Amount; + /** + * The base points. + */ + basePoints: number; + buy?: Amount; + interbank?: Amount; + /** + * The reference assigned to the forex quote request. + */ + reference?: string; + sell?: Amount; + /** + * The signature to validate the integrity. + */ + signature?: string; + /** + * The source of the forex quote. + */ + source?: string; + /** + * The type of forex. + */ + type?: string; + /** + * The date until which the forex quote is valid. + */ + validTill: Date; +} diff --git a/dist/lib/typings/checkout/forexQuote.js b/dist/lib/typings/checkout/forexQuote.js new file mode 100644 index 0000000..b5470a0 --- /dev/null +++ b/dist/lib/typings/checkout/forexQuote.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=forexQuote.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/forexQuote.js.map b/dist/lib/typings/checkout/forexQuote.js.map new file mode 100644 index 0000000..32974b2 --- /dev/null +++ b/dist/lib/typings/checkout/forexQuote.js.map @@ -0,0 +1 @@ +{"version":3,"file":"forexQuote.js","sourceRoot":"","sources":["../../../../src/typings/checkout/forexQuote.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib/typings/checkout/fraudCheckResult.d.ts b/dist/lib/typings/checkout/fraudCheckResult.d.ts new file mode 100644 index 0000000..974bc09 --- /dev/null +++ b/dist/lib/typings/checkout/fraudCheckResult.d.ts @@ -0,0 +1,25 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface FraudCheckResult { + /** + * The fraud score generated by the risk check. + */ + accountScore: number; + /** + * The ID of the risk check. + */ + checkId: number; + /** + * The name of the risk check. + */ + name: string; +} diff --git a/dist/lib/typings/checkout/fraudCheckResult.js b/dist/lib/typings/checkout/fraudCheckResult.js new file mode 100644 index 0000000..71381cc --- /dev/null +++ b/dist/lib/typings/checkout/fraudCheckResult.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=fraudCheckResult.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/fraudCheckResult.js.map b/dist/lib/typings/checkout/fraudCheckResult.js.map new file mode 100644 index 0000000..7069f20 --- /dev/null +++ b/dist/lib/typings/checkout/fraudCheckResult.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fraudCheckResult.js","sourceRoot":"","sources":["../../../../src/typings/checkout/fraudCheckResult.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/fraudResult.d.ts b/dist/lib/typings/checkout/fraudResult.d.ts new file mode 100644 index 0000000..0875fc7 --- /dev/null +++ b/dist/lib/typings/checkout/fraudResult.d.ts @@ -0,0 +1,21 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { FraudCheckResult } from './fraudCheckResult'; +export interface FraudResult { + /** + * The total fraud score generated by the risk checks. + */ + accountScore: number; + /** + * The result of the individual risk checks. + */ + results?: Array; +} diff --git a/dist/lib/typings/checkout/fraudResult.js b/dist/lib/typings/checkout/fraudResult.js new file mode 100644 index 0000000..a5d7b00 --- /dev/null +++ b/dist/lib/typings/checkout/fraudResult.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=fraudResult.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/fraudResult.js.map b/dist/lib/typings/checkout/fraudResult.js.map new file mode 100644 index 0000000..1991287 --- /dev/null +++ b/dist/lib/typings/checkout/fraudResult.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fraudResult.js","sourceRoot":"","sources":["../../../../src/typings/checkout/fraudResult.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib/typings/checkout/index.d.ts b/dist/lib/typings/checkout/index.d.ts new file mode 100644 index 0000000..478d06e --- /dev/null +++ b/dist/lib/typings/checkout/index.d.ts @@ -0,0 +1,43 @@ +export * from './accountInfo'; +export * from './address'; +export * from './amount'; +export * from './avs'; +export * from './bankAccount'; +export * from './browserInfo'; +export * from './card'; +export * from './company'; +export * from './configuration'; +export * from './detailsRequest'; +export * from './deviceRenderOptions'; +export * from './forexQuote'; +export * from './fraudCheckResult'; +export * from './fraudResult'; +export * from './inputDetail'; +export * from './installments'; +export * from './item'; +export * from './lineItem'; +export * from './merchantRiskIndicator'; +export * from './name'; +export * from './paymentMethod'; +export * from './paymentMethodGroup'; +export * from './paymentMethodsGroup'; +export * from './paymentMethodsRequest'; +export * from './paymentMethodsResponse'; +export * from './paymentRequest'; +export * from './paymentResponse'; +export * from './paymentSetupRequest'; +export * from './paymentSetupResponse'; +export * from './paymentVerificationRequest'; +export * from './paymentVerificationResponse'; +export * from './recurring'; +export * from './recurringDetail'; +export * from './redirect'; +export * from './sDKEphemPubKey'; +export * from './serviceError'; +export * from './shopperInput'; +export * from './split'; +export * from './splitAmount'; +export * from './storedDetails'; +export * from './subInputDetail'; +export * from './threeDS2RequestData'; +export * from './threeDSecureData'; diff --git a/dist/lib/typings/checkout/index.js b/dist/lib/typings/checkout/index.js new file mode 100644 index 0000000..1eed72b --- /dev/null +++ b/dist/lib/typings/checkout/index.js @@ -0,0 +1,24 @@ +"use strict"; +function __export(m) { + for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; +} +Object.defineProperty(exports, "__esModule", { value: true }); +__export(require("./accountInfo")); +__export(require("./avs")); +__export(require("./configuration")); +__export(require("./deviceRenderOptions")); +__export(require("./lineItem")); +__export(require("./merchantRiskIndicator")); +__export(require("./name")); +__export(require("./paymentMethodsRequest")); +__export(require("./paymentRequest")); +__export(require("./paymentResponse")); +__export(require("./paymentSetupRequest")); +__export(require("./paymentVerificationResponse")); +__export(require("./recurring")); +__export(require("./redirect")); +__export(require("./shopperInput")); +__export(require("./split")); +__export(require("./threeDS2RequestData")); +__export(require("./threeDSecureData")); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/index.js.map b/dist/lib/typings/checkout/index.js.map new file mode 100644 index 0000000..c5de9c6 --- /dev/null +++ b/dist/lib/typings/checkout/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/typings/checkout/index.ts"],"names":[],"mappings":";;;;;AAEA,mCAA8B;AAG9B,2BAAsB;AAKtB,qCAAgC;AAEhC,2CAAsC;AAOtC,gCAA2B;AAC3B,6CAAwC;AACxC,4BAAuB;AAIvB,6CAAwC;AAExC,sCAAiC;AACjC,uCAAkC;AAClC,2CAAsC;AAGtC,mDAA8C;AAC9C,iCAA4B;AAE5B,gCAA2B;AAG3B,oCAA+B;AAC/B,6BAAwB;AAIxB,2CAAsC;AACtC,wCAAmC"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/inputDetail.d.ts b/dist/lib/typings/checkout/inputDetail.d.ts new file mode 100644 index 0000000..541e87c --- /dev/null +++ b/dist/lib/typings/checkout/inputDetail.d.ts @@ -0,0 +1,46 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Item } from './item'; +import { SubInputDetail } from './subInputDetail'; +export interface InputDetail { + /** + * Configuration parameters for the required input. + */ + configuration?: any; + /** + * Input details can also be provided recursively. + */ + details?: Array; + /** + * In case of a select, the URL from which to query the items. + */ + itemSearchUrl?: string; + /** + * In case of a select, the items to choose from. + */ + items?: Array; + /** + * The value to provide in the result. + */ + key?: string; + /** + * True if this input value is optional. + */ + optional?: boolean; + /** + * The type of the required input. + */ + type?: string; + /** + * The value can be pre-filled, if available. + */ + value?: string; +} diff --git a/dist/lib/typings/checkout/inputDetail.js b/dist/lib/typings/checkout/inputDetail.js new file mode 100644 index 0000000..a8c36a5 --- /dev/null +++ b/dist/lib/typings/checkout/inputDetail.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=inputDetail.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/inputDetail.js.map b/dist/lib/typings/checkout/inputDetail.js.map new file mode 100644 index 0000000..ba0851d --- /dev/null +++ b/dist/lib/typings/checkout/inputDetail.js.map @@ -0,0 +1 @@ +{"version":3,"file":"inputDetail.js","sourceRoot":"","sources":["../../../../src/typings/checkout/inputDetail.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib/typings/checkout/installments.d.ts b/dist/lib/typings/checkout/installments.d.ts new file mode 100644 index 0000000..62d4045 --- /dev/null +++ b/dist/lib/typings/checkout/installments.d.ts @@ -0,0 +1,17 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Installments { + /** + * Defines the number of installments. Its value needs to be greater than zero. Usually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary. + */ + value: number; +} diff --git a/dist/lib/typings/checkout/installments.js b/dist/lib/typings/checkout/installments.js new file mode 100644 index 0000000..966dcc6 --- /dev/null +++ b/dist/lib/typings/checkout/installments.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=installments.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/installments.js.map b/dist/lib/typings/checkout/installments.js.map new file mode 100644 index 0000000..d164363 --- /dev/null +++ b/dist/lib/typings/checkout/installments.js.map @@ -0,0 +1 @@ +{"version":3,"file":"installments.js","sourceRoot":"","sources":["../../../../src/typings/checkout/installments.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/item.d.ts b/dist/lib/typings/checkout/item.d.ts new file mode 100644 index 0000000..95a9a91 --- /dev/null +++ b/dist/lib/typings/checkout/item.d.ts @@ -0,0 +1,21 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Item { + /** + * The value to provide in the result. + */ + id?: string; + /** + * The display name. + */ + name?: string; +} diff --git a/dist/lib/typings/checkout/item.js b/dist/lib/typings/checkout/item.js new file mode 100644 index 0000000..dff1a83 --- /dev/null +++ b/dist/lib/typings/checkout/item.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=item.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/item.js.map b/dist/lib/typings/checkout/item.js.map new file mode 100644 index 0000000..6283460 --- /dev/null +++ b/dist/lib/typings/checkout/item.js.map @@ -0,0 +1 @@ +{"version":3,"file":"item.js","sourceRoot":"","sources":["../../../../src/typings/checkout/item.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/lineItem.d.ts b/dist/lib/typings/checkout/lineItem.d.ts new file mode 100644 index 0000000..73b5fa6 --- /dev/null +++ b/dist/lib/typings/checkout/lineItem.d.ts @@ -0,0 +1,54 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface LineItem { + /** + * Item amount excluding the tax, in minor units. + */ + amountExcludingTax?: number; + /** + * Item amount including the tax, in minor units. + */ + amountIncludingTax?: number; + /** + * Description of the line item. + */ + description?: string; + /** + * ID of the line item. + */ + id?: string; + /** + * Number of items. + */ + quantity?: number; + /** + * Tax amount, in minor units. + */ + taxAmount?: number; + /** + * Tax category: High, Low, None, Zero + */ + taxCategory?: LineItem.TaxCategoryEnum; + /** + * Tax percentage, in minor units. + */ + taxPercentage?: number; +} +export declare namespace LineItem { + type TaxCategoryEnum = 'High' | 'Low' | 'None' | 'Zero'; + const TaxCategoryEnum: { + High: TaxCategoryEnum; + Low: TaxCategoryEnum; + None: TaxCategoryEnum; + Zero: TaxCategoryEnum; + }; +} diff --git a/dist/lib/typings/checkout/lineItem.js b/dist/lib/typings/checkout/lineItem.js new file mode 100644 index 0000000..8749ece --- /dev/null +++ b/dist/lib/typings/checkout/lineItem.js @@ -0,0 +1,23 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var LineItem; +(function (LineItem) { + LineItem.TaxCategoryEnum = { + High: 'High', + Low: 'Low', + None: 'None', + Zero: 'Zero' + }; +})(LineItem = exports.LineItem || (exports.LineItem = {})); +//# sourceMappingURL=lineItem.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/lineItem.js.map b/dist/lib/typings/checkout/lineItem.js.map new file mode 100644 index 0000000..5388187 --- /dev/null +++ b/dist/lib/typings/checkout/lineItem.js.map @@ -0,0 +1 @@ +{"version":3,"file":"lineItem.js","sourceRoot":"","sources":["../../../../src/typings/checkout/lineItem.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;GAUG;;AAoCH,IAAiB,QAAQ,CAQxB;AARD,WAAiB,QAAQ;IAER,wBAAe,GAAG;QAC3B,IAAI,EAAE,MAAyB;QAC/B,GAAG,EAAE,KAAwB;QAC7B,IAAI,EAAE,MAAyB;QAC/B,IAAI,EAAE,MAAyB;KAClC,CAAC;AACN,CAAC,EARgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAQxB"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/merchantRiskIndicator.d.ts b/dist/lib/typings/checkout/merchantRiskIndicator.d.ts new file mode 100644 index 0000000..a87cd5c --- /dev/null +++ b/dist/lib/typings/checkout/merchantRiskIndicator.d.ts @@ -0,0 +1,65 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Amount } from './amount'; +export interface MerchantRiskIndicator { + /** + * Whether the chosen delivery address is identical to the billing address. + */ + addressMatch?: boolean; + /** + * Indicator regarding the delivery address. Allowed values: * `shipToBillingAddress` * `shipToVerifiedAddress` * `shipToNewAddress` * `shipToStore` * `digitalGoods` * `goodsNotShipped` * `other` + */ + deliveryAddressIndicator?: MerchantRiskIndicator.DeliveryAddressIndicatorEnum; + /** + * The delivery email address (for digital goods). + */ + deliveryEmail?: string; + /** + * The estimated delivery time for the shopper to receive the goods. Allowed values: * `electronicDelivery` * `sameDayShipping` * `overnightShipping` * `twoOrMoreDaysShipping` + */ + deliveryTimeframe?: MerchantRiskIndicator.DeliveryTimeframeEnum; + giftCardAmount?: Amount; + /** + * Number of individual prepaid or gift cards used for this purchase. + */ + giftCardCount?: number; + /** + * For pre-order purchases, the expected date this product will be available to the shopper. + */ + preOrderDate?: Date; + /** + * Indicator for whether this transaction is for pre-ordering a product. + */ + preOrderPurchase?: boolean; + /** + * Indicator for whether the shopper has already purchased the same items in the past. + */ + reorderItems?: boolean; +} +export declare namespace MerchantRiskIndicator { + type DeliveryAddressIndicatorEnum = 'shipToBillingAddress' | 'shipToVerifiedAddress' | 'shipToNewAddress' | 'shipToStore' | 'digitalGoods' | 'goodsNotShipped' | 'other'; + const DeliveryAddressIndicatorEnum: { + ShipToBillingAddress: DeliveryAddressIndicatorEnum; + ShipToVerifiedAddress: DeliveryAddressIndicatorEnum; + ShipToNewAddress: DeliveryAddressIndicatorEnum; + ShipToStore: DeliveryAddressIndicatorEnum; + DigitalGoods: DeliveryAddressIndicatorEnum; + GoodsNotShipped: DeliveryAddressIndicatorEnum; + Other: DeliveryAddressIndicatorEnum; + }; + type DeliveryTimeframeEnum = 'electronicDelivery' | 'sameDayShipping' | 'overnightShipping' | 'twoOrMoreDaysShipping'; + const DeliveryTimeframeEnum: { + ElectronicDelivery: DeliveryTimeframeEnum; + SameDayShipping: DeliveryTimeframeEnum; + OvernightShipping: DeliveryTimeframeEnum; + TwoOrMoreDaysShipping: DeliveryTimeframeEnum; + }; +} diff --git a/dist/lib/typings/checkout/merchantRiskIndicator.js b/dist/lib/typings/checkout/merchantRiskIndicator.js new file mode 100644 index 0000000..07437c5 --- /dev/null +++ b/dist/lib/typings/checkout/merchantRiskIndicator.js @@ -0,0 +1,21 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var MerchantRiskIndicator; +(function (MerchantRiskIndicator) { + MerchantRiskIndicator.DeliveryAddressIndicatorEnum = { + ShipToBillingAddress: 'shipToBillingAddress', + ShipToVerifiedAddress: 'shipToVerifiedAddress', + ShipToNewAddress: 'shipToNewAddress', + ShipToStore: 'shipToStore', + DigitalGoods: 'digitalGoods', + GoodsNotShipped: 'goodsNotShipped', + Other: 'other' + }; + MerchantRiskIndicator.DeliveryTimeframeEnum = { + ElectronicDelivery: 'electronicDelivery', + SameDayShipping: 'sameDayShipping', + OvernightShipping: 'overnightShipping', + TwoOrMoreDaysShipping: 'twoOrMoreDaysShipping' + }; +})(MerchantRiskIndicator = exports.MerchantRiskIndicator || (exports.MerchantRiskIndicator = {})); +//# sourceMappingURL=merchantRiskIndicator.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/merchantRiskIndicator.js.map b/dist/lib/typings/checkout/merchantRiskIndicator.js.map new file mode 100644 index 0000000..b3b0bfa --- /dev/null +++ b/dist/lib/typings/checkout/merchantRiskIndicator.js.map @@ -0,0 +1 @@ +{"version":3,"file":"merchantRiskIndicator.js","sourceRoot":"","sources":["../../../../src/typings/checkout/merchantRiskIndicator.ts"],"names":[],"mappings":";;AAkDA,IAAiB,qBAAqB,CAkBrC;AAlBD,WAAiB,qBAAqB;IAErB,kDAA4B,GAAG;QACxC,oBAAoB,EAAE,sBAAsD;QAC5E,qBAAqB,EAAE,uBAAuD;QAC9E,gBAAgB,EAAE,kBAAkD;QACpE,WAAW,EAAE,aAA6C;QAC1D,YAAY,EAAE,cAA8C;QAC5D,eAAe,EAAE,iBAAiD;QAClE,KAAK,EAAE,OAAuC;KACjD,CAAC;IAEW,2CAAqB,GAAG;QACjC,kBAAkB,EAAE,oBAA6C;QACjE,eAAe,EAAE,iBAA0C;QAC3D,iBAAiB,EAAE,mBAA4C;QAC/D,qBAAqB,EAAE,uBAAgD;KAC1E,CAAC;AACN,CAAC,EAlBgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAkBrC"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/name.d.ts b/dist/lib/typings/checkout/name.d.ts new file mode 100644 index 0000000..aa0e5f5 --- /dev/null +++ b/dist/lib/typings/checkout/name.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Name { + /** + * The first name. + */ + firstName: string; + /** + * The gender. >The following values are permitted: `MALE`, `FEMALE`, `UNKNOWN`. + */ + gender: Name.GenderEnum; + /** + * The name's infix, if applicable. >A maximum length of twenty (20) characters is imposed. + */ + infix?: string; + /** + * The last name. + */ + lastName: string; +} +export declare namespace Name { + type GenderEnum = 'MALE' | 'FEMALE' | 'UNKNOWN'; + const GenderEnum: { + MALE: GenderEnum; + FEMALE: GenderEnum; + UNKNOWN: GenderEnum; + }; +} diff --git a/dist/lib/typings/checkout/name.js b/dist/lib/typings/checkout/name.js new file mode 100644 index 0000000..622b400 --- /dev/null +++ b/dist/lib/typings/checkout/name.js @@ -0,0 +1,22 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var Name; +(function (Name) { + Name.GenderEnum = { + MALE: 'MALE', + FEMALE: 'FEMALE', + UNKNOWN: 'UNKNOWN' + }; +})(Name = exports.Name || (exports.Name = {})); +//# sourceMappingURL=name.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/name.js.map b/dist/lib/typings/checkout/name.js.map new file mode 100644 index 0000000..6396185 --- /dev/null +++ b/dist/lib/typings/checkout/name.js.map @@ -0,0 +1 @@ +{"version":3,"file":"name.js","sourceRoot":"","sources":["../../../../src/typings/checkout/name.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;GAUG;;AAoBH,IAAiB,IAAI,CAOpB;AAPD,WAAiB,IAAI;IAEJ,eAAU,GAAG;QACtB,IAAI,EAAE,MAAoB;QAC1B,MAAM,EAAE,QAAsB;QAC9B,OAAO,EAAE,SAAuB;KACnC,CAAC;AACN,CAAC,EAPgB,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAOpB"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/paymentMethod.d.ts b/dist/lib/typings/checkout/paymentMethod.d.ts new file mode 100644 index 0000000..217cdf5 --- /dev/null +++ b/dist/lib/typings/checkout/paymentMethod.d.ts @@ -0,0 +1,39 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { InputDetail } from './inputDetail'; +import { PaymentMethodGroup } from './paymentMethodGroup'; +export interface PaymentMethod { + /** + * The configuration of the payment method. + */ + configuration?: any; + /** + * All input details to be provided to complete the payment with this payment method. + */ + details?: Array; + group?: PaymentMethodGroup; + /** + * The displayable name of this payment method. + */ + name?: string; + /** + * Echo data required to send in next calls. + */ + paymentMethodData?: string; + /** + * Indicates whether this payment method supports tokenization or not. + */ + supportsRecurring?: boolean; + /** + * The unique payment method code. + */ + type?: string; +} diff --git a/dist/lib/typings/checkout/paymentMethod.js b/dist/lib/typings/checkout/paymentMethod.js new file mode 100644 index 0000000..218f753 --- /dev/null +++ b/dist/lib/typings/checkout/paymentMethod.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=paymentMethod.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/paymentMethod.js.map b/dist/lib/typings/checkout/paymentMethod.js.map new file mode 100644 index 0000000..9c3250e --- /dev/null +++ b/dist/lib/typings/checkout/paymentMethod.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentMethod.js","sourceRoot":"","sources":["../../../../src/typings/checkout/paymentMethod.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib/typings/checkout/paymentMethodGroup.d.ts b/dist/lib/typings/checkout/paymentMethodGroup.d.ts new file mode 100644 index 0000000..2f6ca66 --- /dev/null +++ b/dist/lib/typings/checkout/paymentMethodGroup.d.ts @@ -0,0 +1,25 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface PaymentMethodGroup { + /** + * The name of the group. + */ + name?: string; + /** + * Echo data to be used if the payment method is displayed as part of this group. + */ + paymentMethodData?: string; + /** + * The unique code of the group. + */ + type?: string; +} diff --git a/dist/lib/typings/checkout/paymentMethodGroup.js b/dist/lib/typings/checkout/paymentMethodGroup.js new file mode 100644 index 0000000..e260b84 --- /dev/null +++ b/dist/lib/typings/checkout/paymentMethodGroup.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=paymentMethodGroup.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/paymentMethodGroup.js.map b/dist/lib/typings/checkout/paymentMethodGroup.js.map new file mode 100644 index 0000000..1205e6b --- /dev/null +++ b/dist/lib/typings/checkout/paymentMethodGroup.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentMethodGroup.js","sourceRoot":"","sources":["../../../../src/typings/checkout/paymentMethodGroup.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/paymentMethodsGroup.d.ts b/dist/lib/typings/checkout/paymentMethodsGroup.d.ts new file mode 100644 index 0000000..cdd9023 --- /dev/null +++ b/dist/lib/typings/checkout/paymentMethodsGroup.d.ts @@ -0,0 +1,25 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface PaymentMethodsGroup { + /** + * The type to submit for any payment method in this group. + */ + groupType?: string; + /** + * The human-readable name of this group. + */ + name?: string; + /** + * The types of payment methods that belong in this group. + */ + types?: Array; +} diff --git a/dist/lib/typings/checkout/paymentMethodsGroup.js b/dist/lib/typings/checkout/paymentMethodsGroup.js new file mode 100644 index 0000000..813a5cd --- /dev/null +++ b/dist/lib/typings/checkout/paymentMethodsGroup.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=paymentMethodsGroup.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/paymentMethodsGroup.js.map b/dist/lib/typings/checkout/paymentMethodsGroup.js.map new file mode 100644 index 0000000..6e5ad27 --- /dev/null +++ b/dist/lib/typings/checkout/paymentMethodsGroup.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentMethodsGroup.js","sourceRoot":"","sources":["../../../../src/typings/checkout/paymentMethodsGroup.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/paymentMethodsRequest.d.ts b/dist/lib/typings/checkout/paymentMethodsRequest.d.ts new file mode 100644 index 0000000..44a2316 --- /dev/null +++ b/dist/lib/typings/checkout/paymentMethodsRequest.d.ts @@ -0,0 +1,54 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Amount } from './amount'; +export interface PaymentMethodsRequest { + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. For more information on possible key-value pairs, refer to the [additionalData section](https://docs.adyen.com/api-reference/payments-api#paymentrequestadditionaldata). + */ + additionalData?: any; + /** + * List of payments methods to be presented to the shopper. To refer to payment methods, use their `brandCode` from [Payment methods overview](https://docs.adyen.com/payment-methods/payment-methods-overview). + */ + allowedPaymentMethods?: Array; + amount?: Amount; + /** + * List of payments methods to be hidden from the shopper. To refer to payment methods, use their `brandCode` from [Payment methods overview](https://docs.adyen.com/payment-methods/payment-methods-overview). + */ + blockedPaymentMethods?: Array; + /** + * The platform where a payment transaction takes place. This field can be used for filtering out payment methods that are only available on specific platforms. Possible values: * iOS * Android * Web + */ + channel?: PaymentMethodsRequest.ChannelEnum; + /** + * The shopper's country code. + */ + countryCode?: string; + /** + * The merchant account identifier, with which you want to process the transaction. + */ + merchantAccount: string; + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + */ + shopperLocale?: string; + /** + * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). > This field is required for recurring payments. + */ + shopperReference?: string; +} +export declare namespace PaymentMethodsRequest { + type ChannelEnum = 'iOS' | 'Android' | 'Web'; + const ChannelEnum: { + IOS: ChannelEnum; + Android: ChannelEnum; + Web: ChannelEnum; + }; +} diff --git a/dist/lib/typings/checkout/paymentMethodsRequest.js b/dist/lib/typings/checkout/paymentMethodsRequest.js new file mode 100644 index 0000000..dfd3e93 --- /dev/null +++ b/dist/lib/typings/checkout/paymentMethodsRequest.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var PaymentMethodsRequest; +(function (PaymentMethodsRequest) { + PaymentMethodsRequest.ChannelEnum = { + IOS: 'iOS', + Android: 'Android', + Web: 'Web' + }; +})(PaymentMethodsRequest = exports.PaymentMethodsRequest || (exports.PaymentMethodsRequest = {})); +//# sourceMappingURL=paymentMethodsRequest.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/paymentMethodsRequest.js.map b/dist/lib/typings/checkout/paymentMethodsRequest.js.map new file mode 100644 index 0000000..eb595e7 --- /dev/null +++ b/dist/lib/typings/checkout/paymentMethodsRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentMethodsRequest.js","sourceRoot":"","sources":["../../../../src/typings/checkout/paymentMethodsRequest.ts"],"names":[],"mappings":";;AAkDA,IAAiB,qBAAqB,CAOrC;AAPD,WAAiB,qBAAqB;IAErB,iCAAW,GAAG;QACvB,GAAG,EAAE,KAAoB;QACzB,OAAO,EAAE,SAAwB;QACjC,GAAG,EAAE,KAAoB;KAC5B,CAAC;AACN,CAAC,EAPgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAOrC"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/paymentMethodsResponse.d.ts b/dist/lib/typings/checkout/paymentMethodsResponse.d.ts new file mode 100644 index 0000000..069b988 --- /dev/null +++ b/dist/lib/typings/checkout/paymentMethodsResponse.d.ts @@ -0,0 +1,27 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { PaymentMethod } from './paymentMethod'; +import { PaymentMethodsGroup } from './paymentMethodsGroup'; +import { RecurringDetail } from './recurringDetail'; +export interface PaymentMethodsResponse { + /** + * Groups of payment methods. + */ + groups?: Array; + /** + * Detailed list of one-click payment methods. + */ + oneClickPaymentMethods?: Array; + /** + * Detailed list of payment methods required to generate payment forms. + */ + paymentMethods?: Array; +} diff --git a/dist/lib/typings/checkout/paymentMethodsResponse.js b/dist/lib/typings/checkout/paymentMethodsResponse.js new file mode 100644 index 0000000..02004fc --- /dev/null +++ b/dist/lib/typings/checkout/paymentMethodsResponse.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=paymentMethodsResponse.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/paymentMethodsResponse.js.map b/dist/lib/typings/checkout/paymentMethodsResponse.js.map new file mode 100644 index 0000000..64d2b01 --- /dev/null +++ b/dist/lib/typings/checkout/paymentMethodsResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentMethodsResponse.js","sourceRoot":"","sources":["../../../../src/typings/checkout/paymentMethodsResponse.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib/typings/checkout/paymentRequest.d.ts b/dist/lib/typings/checkout/paymentRequest.d.ts new file mode 100644 index 0000000..2e81215 --- /dev/null +++ b/dist/lib/typings/checkout/paymentRequest.d.ts @@ -0,0 +1,210 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { AccountInfo } from './accountInfo'; +import { Address } from './address'; +import { Amount } from './amount'; +import { BrowserInfo } from './browserInfo'; +import { Company } from './company'; +import { ForexQuote } from './forexQuote'; +import { Installments } from './installments'; +import { LineItem } from './lineItem'; +import { MerchantRiskIndicator } from './merchantRiskIndicator'; +import { Name } from './name'; +import { Split } from './split'; +import { ThreeDS2RequestData } from './threeDS2RequestData'; +import { ThreeDSecureData } from './threeDSecureData'; +import { ApplicationInfo } from "../applicationInfo"; +export declare class PaymentRequest { + applicationInfo?: ApplicationInfo; + accountInfo?: AccountInfo; + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. For more information on possible key-value pairs, refer to the [additionalData section](https://docs.adyen.com/api-reference/payments-api#paymentrequestadditionaldata). + */ + additionalData?: any; + amount: Amount; + billingAddress?: Address; + browserInfo?: BrowserInfo; + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + */ + captureDelayHours?: number; + /** + * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web + */ + channel?: PaymentRequest.ChannelEnum; + company?: Company; + /** + * The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE + */ + countryCode?: string; + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + */ + dateOfBirth?: Date; + dccQuote?: ForexQuote; + deliveryAddress?: Address; + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + */ + deliveryDate?: Date; + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + */ + deviceFingerprint?: string; + /** + * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future one-click payments. + */ + enableOneClick?: boolean; + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. + */ + enablePayOut?: boolean; + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for recurring payments. + */ + enableRecurring?: boolean; + /** + * The type of the entity the payment is processed for. + */ + entityType?: PaymentRequest.EntityTypeEnum; + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + */ + fraudOffset?: number; + installments?: Installments; + /** + * Line items regarding the payment. + */ + lineItems?: Array; + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + */ + mcc?: string; + /** + * The merchant account identifier, with which you want to process the transaction. + */ + merchantAccount: string; + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + */ + merchantOrderReference?: string; + merchantRiskIndicator?: MerchantRiskIndicator; + /** + * Metadata consists of entries, each of which includes a key and a value. Limitations: Error \"177\", \"Metadata size exceeds limit\" + */ + metadata?: any; + mpiData?: ThreeDSecureData; + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + */ + orderReference?: string; + /** + * Required for the 3D Secure 2 `channel` **Web** integration. Set this parameter to the origin URL of the page that you are loading the 3D Secure Component from. + */ + origin?: string; + /** + * The collection that contains the type of the payment method and its specific information (e.g. `idealIssuer`). + */ + paymentMethod: any; + /** + * Defines a recurring payment type. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – Card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – A transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + */ + recurringProcessingModel?: PaymentRequest.RecurringProcessingModelEnum; + /** + * Specifies the redirect method (GET or POST) when redirecting back from the issuer. + */ + redirectFromIssuerMethod?: string; + /** + * Specifies the redirect method (GET or POST) when redirecting to the issuer. + */ + redirectToIssuerMethod?: string; + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + */ + reference: string; + /** + * The URL to return to. + */ + returnUrl: string; + /** + * The maximum validity of the session. + */ + sessionValidity?: string; + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require the `shopperEmail` for both `deviceChannel` **browser** and **app**. + */ + shopperEmail?: string; + /** + * The shopper's IP address. We recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > This field is mandatory for some merchants depending on your business model. For more information, [contact Support](https://support.adyen.com/hc/en-us/requests/new). + */ + shopperIP?: string; + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + */ + shopperInteraction?: PaymentRequest.ShopperInteractionEnum; + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + */ + shopperLocale?: string; + shopperName?: Name; + /** + * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). > This field is required for recurring payments. + */ + shopperReference?: string; + /** + * The text to appear on the shopper's bank statement. + */ + shopperStatement?: string; + /** + * The shopper's social security number. + */ + socialSecurityNumber?: string; + /** + * The details of how the payment should be split when distributing a payment to a MarketPay Marketplace and its Accounts. + */ + splits?: Array; + /** + * The shopper's telephone number. + */ + telephoneNumber?: string; + threeDS2RequestData?: ThreeDS2RequestData; + /** + * Set to true if the payment should be routed to a trusted MID. + */ + trustedShopper?: boolean; + constructor(); +} +export declare namespace PaymentRequest { + type ChannelEnum = 'iOS' | 'Android' | 'Web'; + const ChannelEnum: { + IOS: import("./paymentMethodsRequest").PaymentMethodsRequest.ChannelEnum; + Android: import("./paymentMethodsRequest").PaymentMethodsRequest.ChannelEnum; + Web: import("./paymentMethodsRequest").PaymentMethodsRequest.ChannelEnum; + }; + type EntityTypeEnum = 'NaturalPerson' | 'CompanyName'; + const EntityTypeEnum: { + NaturalPerson: EntityTypeEnum; + CompanyName: EntityTypeEnum; + }; + type RecurringProcessingModelEnum = 'CardOnFile' | 'Subscription' | 'UnscheduledCardOnFile'; + const RecurringProcessingModelEnum: { + CardOnFile: RecurringProcessingModelEnum; + Subscription: RecurringProcessingModelEnum; + UnscheduledCardOnFile: RecurringProcessingModelEnum; + }; + type ShopperInteractionEnum = 'Ecommerce' | 'ContAuth' | 'Moto' | 'POS'; + const ShopperInteractionEnum: { + Ecommerce: import("../binLookup").CostEstimateRequest.ShopperInteractionEnum; + ContAuth: import("../binLookup").CostEstimateRequest.ShopperInteractionEnum; + Moto: import("../binLookup").CostEstimateRequest.ShopperInteractionEnum; + POS: import("../binLookup").CostEstimateRequest.ShopperInteractionEnum; + }; +} diff --git a/dist/lib/typings/checkout/paymentRequest.js b/dist/lib/typings/checkout/paymentRequest.js new file mode 100644 index 0000000..467f15a --- /dev/null +++ b/dist/lib/typings/checkout/paymentRequest.js @@ -0,0 +1,36 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var applicationInfo_1 = require("../applicationInfo"); +var PaymentRequest = /** @class */ (function () { + function PaymentRequest() { + if (!this.applicationInfo) { + this.applicationInfo = new applicationInfo_1.ApplicationInfo(); + } + } + return PaymentRequest; +}()); +exports.PaymentRequest = PaymentRequest; +(function (PaymentRequest) { + PaymentRequest.ChannelEnum = { + IOS: 'iOS', + Android: 'Android', + Web: 'Web' + }; + PaymentRequest.EntityTypeEnum = { + NaturalPerson: 'NaturalPerson', + CompanyName: 'CompanyName' + }; + PaymentRequest.RecurringProcessingModelEnum = { + CardOnFile: 'CardOnFile', + Subscription: 'Subscription', + UnscheduledCardOnFile: 'UnscheduledCardOnFile' + }; + PaymentRequest.ShopperInteractionEnum = { + Ecommerce: 'Ecommerce', + ContAuth: 'ContAuth', + Moto: 'Moto', + POS: 'POS' + }; +})(PaymentRequest = exports.PaymentRequest || (exports.PaymentRequest = {})); +exports.PaymentRequest = PaymentRequest; +//# sourceMappingURL=paymentRequest.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/paymentRequest.js.map b/dist/lib/typings/checkout/paymentRequest.js.map new file mode 100644 index 0000000..9dd0771 --- /dev/null +++ b/dist/lib/typings/checkout/paymentRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentRequest.js","sourceRoot":"","sources":["../../../../src/typings/checkout/paymentRequest.ts"],"names":[],"mappings":";;AAyBA,sDAAqD;AAGrD;IA+JI;QACI,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE;YACvB,IAAI,CAAC,eAAe,GAAG,IAAI,iCAAe,EAAE,CAAC;SAChD;IACL,CAAC;IACL,qBAAC;AAAD,CAAC,AApKD,IAoKC;AApKY,wCAAc;AAqK3B,WAAiB,cAAc;IAEd,0BAAW,GAAG;QACvB,GAAG,EAAE,KAAoB;QACzB,OAAO,EAAE,SAAwB;QACjC,GAAG,EAAE,KAAoB;KAC5B,CAAC;IAEW,6BAAc,GAAG;QAC1B,aAAa,EAAE,eAAiC;QAChD,WAAW,EAAE,aAA+B;KAC/C,CAAC;IAEW,2CAA4B,GAAG;QACxC,UAAU,EAAE,YAA4C;QACxD,YAAY,EAAE,cAA8C;QAC5D,qBAAqB,EAAE,uBAAuD;KACjF,CAAC;IAEW,qCAAsB,GAAG;QAClC,SAAS,EAAE,WAAqC;QAChD,QAAQ,EAAE,UAAoC;QAC9C,IAAI,EAAE,MAAgC;QACtC,GAAG,EAAE,KAA+B;KACvC,CAAC;AACN,CAAC,EAzBgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAyB9B;AA9LY,wCAAc"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/paymentResponse.d.ts b/dist/lib/typings/checkout/paymentResponse.d.ts new file mode 100644 index 0000000..e7ad652 --- /dev/null +++ b/dist/lib/typings/checkout/paymentResponse.d.ts @@ -0,0 +1,64 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { FraudResult } from './fraudResult'; +import { InputDetail } from './inputDetail'; +import { Redirect } from './redirect'; +export interface PaymentResponse { + /** + * This field contains additional data, which may be required to return in a particular payment response. To choose data fields to be returned, go to **Customer Area** > **Account** > **API URLs**. + */ + additionalData?: any; + /** + * When non-empty, contains all the fields that you must submit to the `/payments/details` endpoint. + */ + details?: Array; + fraudResult?: FraudResult; + /** + * Contains the details that will be presented to the shopper. + */ + outputDetails?: any; + /** + * When non-empty, contains a value that you must submit to the `/payments/details` endpoint. + */ + paymentData?: string; + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. > `pspReference` is returned only for non-redirect payment methods. + */ + pspReference?: string; + redirect?: Redirect; + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + */ + refusalReason?: string; + /** + * Code that specifies the refusal reason. For more information, see [Authorisation refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + */ + refusalReasonCode?: string; + /** + * The result of the payment. Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. For more information on handling a pending payment, refer to [Payments with pending status](https://docs.adyen.com/development-resources/payments-with-pending-status). * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. + */ + resultCode?: PaymentResponse.ResultCodeEnum; +} +export declare namespace PaymentResponse { + type ResultCodeEnum = 'AuthenticationFinished' | 'Authorised' | 'Cancelled' | 'ChallengeShopper' | 'Error' | 'IdentifyShopper' | 'Pending' | 'Received' | 'RedirectShopper' | 'Refused'; + const ResultCodeEnum: { + AuthenticationFinished: ResultCodeEnum; + Authorised: ResultCodeEnum; + Cancelled: ResultCodeEnum; + ChallengeShopper: ResultCodeEnum; + Error: ResultCodeEnum; + IdentifyShopper: ResultCodeEnum; + Pending: ResultCodeEnum; + Received: ResultCodeEnum; + RedirectShopper: ResultCodeEnum; + Refused: ResultCodeEnum; + }; +} diff --git a/dist/lib/typings/checkout/paymentResponse.js b/dist/lib/typings/checkout/paymentResponse.js new file mode 100644 index 0000000..ff37979 --- /dev/null +++ b/dist/lib/typings/checkout/paymentResponse.js @@ -0,0 +1,18 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var PaymentResponse; +(function (PaymentResponse) { + PaymentResponse.ResultCodeEnum = { + AuthenticationFinished: 'AuthenticationFinished', + Authorised: 'Authorised', + Cancelled: 'Cancelled', + ChallengeShopper: 'ChallengeShopper', + Error: 'Error', + IdentifyShopper: 'IdentifyShopper', + Pending: 'Pending', + Received: 'Received', + RedirectShopper: 'RedirectShopper', + Refused: 'Refused' + }; +})(PaymentResponse = exports.PaymentResponse || (exports.PaymentResponse = {})); +//# sourceMappingURL=paymentResponse.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/paymentResponse.js.map b/dist/lib/typings/checkout/paymentResponse.js.map new file mode 100644 index 0000000..ecc346f --- /dev/null +++ b/dist/lib/typings/checkout/paymentResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentResponse.js","sourceRoot":"","sources":["../../../../src/typings/checkout/paymentResponse.ts"],"names":[],"mappings":";;AAqDA,IAAiB,eAAe,CAc/B;AAdD,WAAiB,eAAe;IAEf,8BAAc,GAAG;QAC1B,sBAAsB,EAAE,wBAA0C;QAClE,UAAU,EAAE,YAA8B;QAC1C,SAAS,EAAE,WAA6B;QACxC,gBAAgB,EAAE,kBAAoC;QACtD,KAAK,EAAE,OAAyB;QAChC,eAAe,EAAE,iBAAmC;QACpD,OAAO,EAAE,SAA2B;QACpC,QAAQ,EAAE,UAA4B;QACtC,eAAe,EAAE,iBAAmC;QACpD,OAAO,EAAE,SAA2B;KACvC,CAAC;AACN,CAAC,EAdgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAc/B"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/paymentSetupRequest.d.ts b/dist/lib/typings/checkout/paymentSetupRequest.d.ts new file mode 100644 index 0000000..a5a70b7 --- /dev/null +++ b/dist/lib/typings/checkout/paymentSetupRequest.d.ts @@ -0,0 +1,189 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Address } from './address'; +import { Amount } from './amount'; +import { Company } from './company'; +import { Configuration } from './configuration'; +import { ForexQuote } from './forexQuote'; +import { Installments } from './installments'; +import { LineItem } from './lineItem'; +import { Name } from './name'; +import { Split } from './split'; +export interface PaymentSetupRequest { + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. For more information on possible key-value pairs, refer to the [additionalData section](https://docs.adyen.com/api-reference/payments-api#paymentrequestadditionaldata). + */ + additionalData?: any; + /** + * List of payments methods to be presented to the shopper. To refer to payment methods, use their `brandCode` from [Payment methods overview](https://docs.adyen.com/payment-methods/payment-methods-overview). + */ + allowedPaymentMethods?: Array; + amount: Amount; + billingAddress?: Address; + /** + * List of payments methods to be hidden from the shopper. To refer to payment methods, use their `brandCode` from [Payment methods overview](https://docs.adyen.com/payment-methods/payment-methods-overview). + */ + blockedPaymentMethods?: Array; + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + */ + captureDelayHours?: number; + /** + * The platform where a payment transaction takes place. This field is optional for filtering out payment methods that are only available on specific platforms. If this value is not set, then we will try to infer it from the `sdkVersion` or `token`. Possible values: * iOS * Android * Web + */ + channel?: PaymentSetupRequest.ChannelEnum; + company?: Company; + configuration?: Configuration; + /** + * The shopper country. Format: [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Example: NL or DE + */ + countryCode: string; + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + */ + dateOfBirth?: Date; + dccQuote?: ForexQuote; + deliveryAddress?: Address; + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + */ + deliveryDate?: Date; + /** + * When true and `shopperReference` is provided, the shopper will be asked if the payment details should be stored for future one-click payments. + */ + enableOneClick?: boolean; + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for payouts. + */ + enablePayOut?: boolean; + /** + * When true and `shopperReference` is provided, the payment details will be tokenized for recurring payments. + */ + enableRecurring?: boolean; + /** + * The type of the entity the payment is processed for. + */ + entityType?: PaymentSetupRequest.EntityTypeEnum; + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + */ + fraudOffset?: number; + installments?: Installments; + /** + * Line items regarding the payment. + */ + lineItems?: Array; + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + */ + mcc?: string; + /** + * The merchant account identifier, with which you want to process the transaction. + */ + merchantAccount: string; + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + */ + merchantOrderReference?: string; + /** + * Metadata consists of entries, each of which includes a key and a value. Limitations: Error \"177\", \"Metadata size exceeds limit\" + */ + metadata?: any; + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + */ + orderReference?: string; + /** + * Required for the Web integration. Set this parameter to the origin URL of the page that you are loading the SDK from. + */ + origin?: string; + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + */ + reference: string; + /** + * The URL to return to. + */ + returnUrl: string; + /** + * The version of the SDK you are using (for Web SDK integrations only). + */ + sdkVersion?: string; + /** + * The maximum validity of the session. + */ + sessionValidity?: string; + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require the `shopperEmail` for both `deviceChannel` **browser** and **app**. + */ + shopperEmail?: string; + /** + * The shopper's IP address. We recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > This field is mandatory for some merchants depending on your business model. For more information, [contact Support](https://support.adyen.com/hc/en-us/requests/new). + */ + shopperIP?: string; + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + */ + shopperInteraction?: PaymentSetupRequest.ShopperInteractionEnum; + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + */ + shopperLocale?: string; + shopperName?: Name; + /** + * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). > This field is required for recurring payments. + */ + shopperReference?: string; + /** + * The text to appear on the shopper's bank statement. + */ + shopperStatement?: string; + /** + * The shopper's social security number. + */ + socialSecurityNumber?: string; + /** + * The details of how the payment should be split when distributing a payment to a MarketPay Marketplace and its Accounts. + */ + splits?: Array; + /** + * The shopper's telephone number. + */ + telephoneNumber?: string; + /** + * The token obtained when initializing the SDK. > This parameter is required for iOS and Android; not required for Web. + */ + token?: string; + /** + * Set to true if the payment should be routed to a trusted MID. + */ + trustedShopper?: boolean; +} +export declare namespace PaymentSetupRequest { + type ChannelEnum = 'iOS' | 'Android' | 'Web'; + const ChannelEnum: { + IOS: import("./paymentMethodsRequest").PaymentMethodsRequest.ChannelEnum; + Android: import("./paymentMethodsRequest").PaymentMethodsRequest.ChannelEnum; + Web: import("./paymentMethodsRequest").PaymentMethodsRequest.ChannelEnum; + }; + type EntityTypeEnum = 'NaturalPerson' | 'CompanyName'; + const EntityTypeEnum: { + NaturalPerson: import("./paymentRequest").PaymentRequest.EntityTypeEnum; + CompanyName: import("./paymentRequest").PaymentRequest.EntityTypeEnum; + }; + type ShopperInteractionEnum = 'Ecommerce' | 'ContAuth' | 'Moto' | 'POS'; + const ShopperInteractionEnum: { + Ecommerce: import("../binLookup").CostEstimateRequest.ShopperInteractionEnum; + ContAuth: import("../binLookup").CostEstimateRequest.ShopperInteractionEnum; + Moto: import("../binLookup").CostEstimateRequest.ShopperInteractionEnum; + POS: import("../binLookup").CostEstimateRequest.ShopperInteractionEnum; + }; +} diff --git a/dist/lib/typings/checkout/paymentSetupRequest.js b/dist/lib/typings/checkout/paymentSetupRequest.js new file mode 100644 index 0000000..697d316 --- /dev/null +++ b/dist/lib/typings/checkout/paymentSetupRequest.js @@ -0,0 +1,21 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var PaymentSetupRequest; +(function (PaymentSetupRequest) { + PaymentSetupRequest.ChannelEnum = { + IOS: 'iOS', + Android: 'Android', + Web: 'Web' + }; + PaymentSetupRequest.EntityTypeEnum = { + NaturalPerson: 'NaturalPerson', + CompanyName: 'CompanyName' + }; + PaymentSetupRequest.ShopperInteractionEnum = { + Ecommerce: 'Ecommerce', + ContAuth: 'ContAuth', + Moto: 'Moto', + POS: 'POS' + }; +})(PaymentSetupRequest = exports.PaymentSetupRequest || (exports.PaymentSetupRequest = {})); +//# sourceMappingURL=paymentSetupRequest.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/paymentSetupRequest.js.map b/dist/lib/typings/checkout/paymentSetupRequest.js.map new file mode 100644 index 0000000..f916675 --- /dev/null +++ b/dist/lib/typings/checkout/paymentSetupRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentSetupRequest.js","sourceRoot":"","sources":["../../../../src/typings/checkout/paymentSetupRequest.ts"],"names":[],"mappings":";;AA6KA,IAAiB,mBAAmB,CAmBnC;AAnBD,WAAiB,mBAAmB;IAEnB,+BAAW,GAAG;QACvB,GAAG,EAAE,KAAoB;QACzB,OAAO,EAAE,SAAwB;QACjC,GAAG,EAAE,KAAoB;KAC5B,CAAC;IAEW,kCAAc,GAAG;QAC1B,aAAa,EAAE,eAAiC;QAChD,WAAW,EAAE,aAA+B;KAC/C,CAAC;IAEW,0CAAsB,GAAG;QAClC,SAAS,EAAE,WAAqC;QAChD,QAAQ,EAAE,UAAoC;QAC9C,IAAI,EAAE,MAAgC;QACtC,GAAG,EAAE,KAA+B;KACvC,CAAC;AACN,CAAC,EAnBgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAmBnC"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/paymentSetupResponse.d.ts b/dist/lib/typings/checkout/paymentSetupResponse.d.ts new file mode 100644 index 0000000..5704eca --- /dev/null +++ b/dist/lib/typings/checkout/paymentSetupResponse.d.ts @@ -0,0 +1,17 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface PaymentSetupResponse { + /** + * The encoded payment session that you need to pass to the SDK. + */ + paymentSession?: string; +} diff --git a/dist/lib/typings/checkout/paymentSetupResponse.js b/dist/lib/typings/checkout/paymentSetupResponse.js new file mode 100644 index 0000000..2f4028f --- /dev/null +++ b/dist/lib/typings/checkout/paymentSetupResponse.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=paymentSetupResponse.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/paymentSetupResponse.js.map b/dist/lib/typings/checkout/paymentSetupResponse.js.map new file mode 100644 index 0000000..6dcb021 --- /dev/null +++ b/dist/lib/typings/checkout/paymentSetupResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentSetupResponse.js","sourceRoot":"","sources":["../../../../src/typings/checkout/paymentSetupResponse.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/paymentVerificationRequest.d.ts b/dist/lib/typings/checkout/paymentVerificationRequest.d.ts new file mode 100644 index 0000000..9fd829d --- /dev/null +++ b/dist/lib/typings/checkout/paymentVerificationRequest.d.ts @@ -0,0 +1,17 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface PaymentVerificationRequest { + /** + * Encrypted and signed payment result data. You should receive this value from the Checkout SDK after the shopper completes the payment. + */ + payload: string; +} diff --git a/dist/lib/typings/checkout/paymentVerificationRequest.js b/dist/lib/typings/checkout/paymentVerificationRequest.js new file mode 100644 index 0000000..38da494 --- /dev/null +++ b/dist/lib/typings/checkout/paymentVerificationRequest.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=paymentVerificationRequest.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/paymentVerificationRequest.js.map b/dist/lib/typings/checkout/paymentVerificationRequest.js.map new file mode 100644 index 0000000..fc97d41 --- /dev/null +++ b/dist/lib/typings/checkout/paymentVerificationRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentVerificationRequest.js","sourceRoot":"","sources":["../../../../src/typings/checkout/paymentVerificationRequest.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/paymentVerificationResponse.d.ts b/dist/lib/typings/checkout/paymentVerificationResponse.d.ts new file mode 100644 index 0000000..db1bfe0 --- /dev/null +++ b/dist/lib/typings/checkout/paymentVerificationResponse.d.ts @@ -0,0 +1,63 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { FraudResult } from './fraudResult'; +import { ServiceError } from './serviceError'; +export interface PaymentVerificationResponse { + /** + * This field contains additional data, which may be required to return in a particular payment response. To choose data fields to be returned, go to **Customer Area** > **Account** > **API URLs**. + */ + additionalData?: any; + fraudResult?: FraudResult; + /** + * A unique value that you provided in the initial `/paymentSession` request as a `reference` field. + */ + merchantReference: string; + /** + * The payment method used in the transaction. + */ + paymentMethod: string; + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. > `pspReference` is returned only for non-redirect payment methods. + */ + pspReference?: string; + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + */ + refusalReason?: string; + /** + * Code that specifies the refusal reason. For more information, see [Authorisation refusal reasons](https://docs.adyen.com/development-resources/refusal-reasons). + */ + refusalReasonCode?: string; + /** + * The result of the payment. Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. For more information on handling a pending payment, refer to [Payments with pending status](https://docs.adyen.com/development-resources/payments-with-pending-status). * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. + */ + resultCode?: PaymentVerificationResponse.ResultCodeEnum; + serviceError?: ServiceError; + /** + * The shopperLocale value provided in the payment request. + */ + shopperLocale: string; +} +export declare namespace PaymentVerificationResponse { + type ResultCodeEnum = 'AuthenticationFinished' | 'Authorised' | 'Cancelled' | 'ChallengeShopper' | 'Error' | 'IdentifyShopper' | 'Pending' | 'Received' | 'RedirectShopper' | 'Refused'; + const ResultCodeEnum: { + AuthenticationFinished: import("./paymentResponse").PaymentResponse.ResultCodeEnum; + Authorised: import("./paymentResponse").PaymentResponse.ResultCodeEnum; + Cancelled: import("./paymentResponse").PaymentResponse.ResultCodeEnum; + ChallengeShopper: import("./paymentResponse").PaymentResponse.ResultCodeEnum; + Error: import("./paymentResponse").PaymentResponse.ResultCodeEnum; + IdentifyShopper: import("./paymentResponse").PaymentResponse.ResultCodeEnum; + Pending: import("./paymentResponse").PaymentResponse.ResultCodeEnum; + Received: import("./paymentResponse").PaymentResponse.ResultCodeEnum; + RedirectShopper: import("./paymentResponse").PaymentResponse.ResultCodeEnum; + Refused: import("./paymentResponse").PaymentResponse.ResultCodeEnum; + }; +} diff --git a/dist/lib/typings/checkout/paymentVerificationResponse.js b/dist/lib/typings/checkout/paymentVerificationResponse.js new file mode 100644 index 0000000..814c9fd --- /dev/null +++ b/dist/lib/typings/checkout/paymentVerificationResponse.js @@ -0,0 +1,18 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var PaymentVerificationResponse; +(function (PaymentVerificationResponse) { + PaymentVerificationResponse.ResultCodeEnum = { + AuthenticationFinished: 'AuthenticationFinished', + Authorised: 'Authorised', + Cancelled: 'Cancelled', + ChallengeShopper: 'ChallengeShopper', + Error: 'Error', + IdentifyShopper: 'IdentifyShopper', + Pending: 'Pending', + Received: 'Received', + RedirectShopper: 'RedirectShopper', + Refused: 'Refused' + }; +})(PaymentVerificationResponse = exports.PaymentVerificationResponse || (exports.PaymentVerificationResponse = {})); +//# sourceMappingURL=paymentVerificationResponse.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/paymentVerificationResponse.js.map b/dist/lib/typings/checkout/paymentVerificationResponse.js.map new file mode 100644 index 0000000..12505c0 --- /dev/null +++ b/dist/lib/typings/checkout/paymentVerificationResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentVerificationResponse.js","sourceRoot":"","sources":["../../../../src/typings/checkout/paymentVerificationResponse.ts"],"names":[],"mappings":";;AAoDA,IAAiB,2BAA2B,CAc3C;AAdD,WAAiB,2BAA2B;IAE3B,0CAAc,GAAG;QAC1B,sBAAsB,EAAE,wBAA0C;QAClE,UAAU,EAAE,YAA8B;QAC1C,SAAS,EAAE,WAA6B;QACxC,gBAAgB,EAAE,kBAAoC;QACtD,KAAK,EAAE,OAAyB;QAChC,eAAe,EAAE,iBAAmC;QACpD,OAAO,EAAE,SAA2B;QACpC,QAAQ,EAAE,UAA4B;QACtC,eAAe,EAAE,iBAAmC;QACpD,OAAO,EAAE,SAA2B;KACvC,CAAC;AACN,CAAC,EAdgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAc3C"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/recurring.d.ts b/dist/lib/typings/checkout/recurring.d.ts new file mode 100644 index 0000000..69ab6a0 --- /dev/null +++ b/dist/lib/typings/checkout/recurring.d.ts @@ -0,0 +1,46 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Recurring { + /** + * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-essentials/payment-glossary#card_security_code_cvc_cvv_cid_). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payment-glossary#cardnotpresentcnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/features/third-party-payouts). + */ + contract?: Recurring.ContractEnum; + /** + * A descriptive name for this detail. + */ + recurringDetailName?: string; + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + */ + recurringExpiry?: Date; + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + */ + recurringFrequency?: string; + /** + * The name of the token service. + */ + tokenService?: Recurring.TokenServiceEnum; +} +export declare namespace Recurring { + type ContractEnum = 'ONECLICK' | 'RECURRING' | 'PAYOUT'; + const ContractEnum: { + ONECLICK: import("../binLookup").Recurring.ContractEnum; + RECURRING: import("../binLookup").Recurring.ContractEnum; + PAYOUT: import("../binLookup").Recurring.ContractEnum; + }; + type TokenServiceEnum = 'VISATOKENSERVICE' | 'MCTOKENSERVICE'; + const TokenServiceEnum: { + VISATOKENSERVICE: import("../binLookup").Recurring.TokenServiceEnum; + MCTOKENSERVICE: import("../binLookup").Recurring.TokenServiceEnum; + }; +} diff --git a/dist/lib/typings/checkout/recurring.js b/dist/lib/typings/checkout/recurring.js new file mode 100644 index 0000000..7b9545b --- /dev/null +++ b/dist/lib/typings/checkout/recurring.js @@ -0,0 +1,26 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var Recurring; +(function (Recurring) { + Recurring.ContractEnum = { + ONECLICK: 'ONECLICK', + RECURRING: 'RECURRING', + PAYOUT: 'PAYOUT' + }; + Recurring.TokenServiceEnum = { + VISATOKENSERVICE: 'VISATOKENSERVICE', + MCTOKENSERVICE: 'MCTOKENSERVICE' + }; +})(Recurring = exports.Recurring || (exports.Recurring = {})); +//# sourceMappingURL=recurring.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/recurring.js.map b/dist/lib/typings/checkout/recurring.js.map new file mode 100644 index 0000000..4b33e20 --- /dev/null +++ b/dist/lib/typings/checkout/recurring.js.map @@ -0,0 +1 @@ +{"version":3,"file":"recurring.js","sourceRoot":"","sources":["../../../../src/typings/checkout/recurring.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;GAUG;;AAwBH,IAAiB,SAAS,CAYzB;AAZD,WAAiB,SAAS;IAET,sBAAY,GAAG;QACxB,QAAQ,EAAE,UAA0B;QACpC,SAAS,EAAE,WAA2B;QACtC,MAAM,EAAE,QAAwB;KACnC,CAAC;IAEW,0BAAgB,GAAG;QAC5B,gBAAgB,EAAE,kBAAsC;QACxD,cAAc,EAAE,gBAAoC;KACvD,CAAC;AACN,CAAC,EAZgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAYzB"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/recurringDetail.d.ts b/dist/lib/typings/checkout/recurringDetail.d.ts new file mode 100644 index 0000000..03643df --- /dev/null +++ b/dist/lib/typings/checkout/recurringDetail.d.ts @@ -0,0 +1,45 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { InputDetail } from './inputDetail'; +import { PaymentMethodGroup } from './paymentMethodGroup'; +import { StoredDetails } from './storedDetails'; +export interface RecurringDetail { + /** + * The configuration of the payment method. + */ + configuration?: any; + /** + * All input details to be provided to complete the payment with this payment method. + */ + details?: Array; + group?: PaymentMethodGroup; + /** + * The displayable name of this payment method. + */ + name?: string; + /** + * Echo data required to send in next calls. + */ + paymentMethodData?: string; + /** + * The reference that uniquely identifies the recurring detail. + */ + recurringDetailReference?: string; + storedDetails?: StoredDetails; + /** + * Indicates whether this payment method supports tokenization or not. + */ + supportsRecurring?: boolean; + /** + * The unique payment method code. + */ + type?: string; +} diff --git a/dist/lib/typings/checkout/recurringDetail.js b/dist/lib/typings/checkout/recurringDetail.js new file mode 100644 index 0000000..955441d --- /dev/null +++ b/dist/lib/typings/checkout/recurringDetail.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=recurringDetail.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/recurringDetail.js.map b/dist/lib/typings/checkout/recurringDetail.js.map new file mode 100644 index 0000000..6b1471a --- /dev/null +++ b/dist/lib/typings/checkout/recurringDetail.js.map @@ -0,0 +1 @@ +{"version":3,"file":"recurringDetail.js","sourceRoot":"","sources":["../../../../src/typings/checkout/recurringDetail.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib/typings/checkout/redirect.d.ts b/dist/lib/typings/checkout/redirect.d.ts new file mode 100644 index 0000000..76654c4 --- /dev/null +++ b/dist/lib/typings/checkout/redirect.d.ts @@ -0,0 +1,32 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Redirect { + /** + * When the redirect URL must be accessed via POST, use this data to post to the redirect URL. + */ + data?: any; + /** + * The web method that you must use to access the redirect URL. Possible values: GET, POST. + */ + method?: Redirect.MethodEnum; + /** + * The URL, to which you must redirect a shopper to complete a payment. + */ + url?: string; +} +export declare namespace Redirect { + type MethodEnum = 'GET' | 'POST'; + const MethodEnum: { + GET: MethodEnum; + POST: MethodEnum; + }; +} diff --git a/dist/lib/typings/checkout/redirect.js b/dist/lib/typings/checkout/redirect.js new file mode 100644 index 0000000..a033a3b --- /dev/null +++ b/dist/lib/typings/checkout/redirect.js @@ -0,0 +1,21 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var Redirect; +(function (Redirect) { + Redirect.MethodEnum = { + GET: 'GET', + POST: 'POST' + }; +})(Redirect = exports.Redirect || (exports.Redirect = {})); +//# sourceMappingURL=redirect.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/redirect.js.map b/dist/lib/typings/checkout/redirect.js.map new file mode 100644 index 0000000..ae81556 --- /dev/null +++ b/dist/lib/typings/checkout/redirect.js.map @@ -0,0 +1 @@ +{"version":3,"file":"redirect.js","sourceRoot":"","sources":["../../../../src/typings/checkout/redirect.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;GAUG;;AAgBH,IAAiB,QAAQ,CAMxB;AAND,WAAiB,QAAQ;IAER,mBAAU,GAAG;QACtB,GAAG,EAAE,KAAmB;QACxB,IAAI,EAAE,MAAoB;KAC7B,CAAC;AACN,CAAC,EANgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAMxB"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/sDKEphemPubKey.d.ts b/dist/lib/typings/checkout/sDKEphemPubKey.d.ts new file mode 100644 index 0000000..11f04b7 --- /dev/null +++ b/dist/lib/typings/checkout/sDKEphemPubKey.d.ts @@ -0,0 +1,29 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface SDKEphemPubKey { + /** + * The `crv` value as received from the 3D Secure 2 SDK. + */ + crv?: string; + /** + * The `kty` value as received from the 3D Secure 2 SDK. + */ + kty?: string; + /** + * The `x` value as received from the 3D Secure 2 SDK. + */ + x?: string; + /** + * The `y` value as received from the 3D Secure 2 SDK. + */ + y?: string; +} diff --git a/dist/lib/typings/checkout/sDKEphemPubKey.js b/dist/lib/typings/checkout/sDKEphemPubKey.js new file mode 100644 index 0000000..470eb83 --- /dev/null +++ b/dist/lib/typings/checkout/sDKEphemPubKey.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=sDKEphemPubKey.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/sDKEphemPubKey.js.map b/dist/lib/typings/checkout/sDKEphemPubKey.js.map new file mode 100644 index 0000000..aa90f35 --- /dev/null +++ b/dist/lib/typings/checkout/sDKEphemPubKey.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sDKEphemPubKey.js","sourceRoot":"","sources":["../../../../src/typings/checkout/sDKEphemPubKey.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/serviceError.d.ts b/dist/lib/typings/checkout/serviceError.d.ts new file mode 100644 index 0000000..86b8272 --- /dev/null +++ b/dist/lib/typings/checkout/serviceError.d.ts @@ -0,0 +1,16 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface ServiceError { + errorCode?: string; + errorType?: string; + message?: string; +} diff --git a/dist/lib/typings/checkout/serviceError.js b/dist/lib/typings/checkout/serviceError.js new file mode 100644 index 0000000..981840f --- /dev/null +++ b/dist/lib/typings/checkout/serviceError.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=serviceError.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/serviceError.js.map b/dist/lib/typings/checkout/serviceError.js.map new file mode 100644 index 0000000..3791d47 --- /dev/null +++ b/dist/lib/typings/checkout/serviceError.js.map @@ -0,0 +1 @@ +{"version":3,"file":"serviceError.js","sourceRoot":"","sources":["../../../../src/typings/checkout/serviceError.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/shopperInput.d.ts b/dist/lib/typings/checkout/shopperInput.d.ts new file mode 100644 index 0000000..22f4034 --- /dev/null +++ b/dist/lib/typings/checkout/shopperInput.d.ts @@ -0,0 +1,45 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface ShopperInput { + /** + * Specifies visibility of billing address fields. Permitted values: * editable * hidden * readOnly + */ + billingAddress?: ShopperInput.BillingAddressEnum; + /** + * Specifies visibility of delivery address fields. Permitted values: * editable * hidden * readOnly + */ + deliveryAddress?: ShopperInput.DeliveryAddressEnum; + /** + * Specifies visibility of personal details. Permitted values: * editable * hidden * readOnly + */ + personalDetails?: ShopperInput.PersonalDetailsEnum; +} +export declare namespace ShopperInput { + type BillingAddressEnum = 'editable' | 'hidden' | 'readOnly'; + const BillingAddressEnum: { + Editable: BillingAddressEnum; + Hidden: BillingAddressEnum; + ReadOnly: BillingAddressEnum; + }; + type DeliveryAddressEnum = 'editable' | 'hidden' | 'readOnly'; + const DeliveryAddressEnum: { + Editable: BillingAddressEnum; + Hidden: BillingAddressEnum; + ReadOnly: BillingAddressEnum; + }; + type PersonalDetailsEnum = 'editable' | 'hidden' | 'readOnly'; + const PersonalDetailsEnum: { + Editable: BillingAddressEnum; + Hidden: BillingAddressEnum; + ReadOnly: BillingAddressEnum; + }; +} diff --git a/dist/lib/typings/checkout/shopperInput.js b/dist/lib/typings/checkout/shopperInput.js new file mode 100644 index 0000000..89fe0fe --- /dev/null +++ b/dist/lib/typings/checkout/shopperInput.js @@ -0,0 +1,32 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var ShopperInput; +(function (ShopperInput) { + ShopperInput.BillingAddressEnum = { + Editable: 'editable', + Hidden: 'hidden', + ReadOnly: 'readOnly' + }; + ShopperInput.DeliveryAddressEnum = { + Editable: 'editable', + Hidden: 'hidden', + ReadOnly: 'readOnly' + }; + ShopperInput.PersonalDetailsEnum = { + Editable: 'editable', + Hidden: 'hidden', + ReadOnly: 'readOnly' + }; +})(ShopperInput = exports.ShopperInput || (exports.ShopperInput = {})); +//# sourceMappingURL=shopperInput.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/shopperInput.js.map b/dist/lib/typings/checkout/shopperInput.js.map new file mode 100644 index 0000000..71b26ca --- /dev/null +++ b/dist/lib/typings/checkout/shopperInput.js.map @@ -0,0 +1 @@ +{"version":3,"file":"shopperInput.js","sourceRoot":"","sources":["../../../../src/typings/checkout/shopperInput.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;GAUG;;AAgBH,IAAiB,YAAY,CAmB5B;AAnBD,WAAiB,YAAY;IAEZ,+BAAkB,GAAG;QAC9B,QAAQ,EAAE,UAAgC;QAC1C,MAAM,EAAE,QAA8B;QACtC,QAAQ,EAAE,UAAgC;KAC7C,CAAC;IAEW,gCAAmB,GAAG;QAC/B,QAAQ,EAAE,UAAiC;QAC3C,MAAM,EAAE,QAA+B;QACvC,QAAQ,EAAE,UAAiC;KAC9C,CAAC;IAEW,gCAAmB,GAAG;QAC/B,QAAQ,EAAE,UAAiC;QAC3C,MAAM,EAAE,QAA+B;QACvC,QAAQ,EAAE,UAAiC;KAC9C,CAAC;AACN,CAAC,EAnBgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAmB5B"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/split.d.ts b/dist/lib/typings/checkout/split.d.ts new file mode 100644 index 0000000..4670cc5 --- /dev/null +++ b/dist/lib/typings/checkout/split.d.ts @@ -0,0 +1,41 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { SplitAmount } from './splitAmount'; +export interface Split { + /** + * The account to which this split applies. >Required if the type is `MarketPlace`. + */ + account?: string; + amount: SplitAmount; + /** + * A description of this split. + */ + description?: string; + /** + * The reference of this split. Used to link other operations (e.g. captures and refunds) to this split. >Required if the type is `MarketPlace`. + */ + reference?: string; + /** + * The type of this split. >Permitted values: `Default`, `PaymentFee`, `VAT`, `Commission`, `MarketPlace`, `Verification`. + */ + type: Split.TypeEnum; +} +export declare namespace Split { + type TypeEnum = 'Commission' | 'Default' | 'MarketPlace' | 'PaymentFee' | 'VAT' | 'Verification'; + const TypeEnum: { + Commission: TypeEnum; + Default: TypeEnum; + MarketPlace: TypeEnum; + PaymentFee: TypeEnum; + VAT: TypeEnum; + Verification: TypeEnum; + }; +} diff --git a/dist/lib/typings/checkout/split.js b/dist/lib/typings/checkout/split.js new file mode 100644 index 0000000..89f2660 --- /dev/null +++ b/dist/lib/typings/checkout/split.js @@ -0,0 +1,14 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var Split; +(function (Split) { + Split.TypeEnum = { + Commission: 'Commission', + Default: 'Default', + MarketPlace: 'MarketPlace', + PaymentFee: 'PaymentFee', + VAT: 'VAT', + Verification: 'Verification' + }; +})(Split = exports.Split || (exports.Split = {})); +//# sourceMappingURL=split.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/split.js.map b/dist/lib/typings/checkout/split.js.map new file mode 100644 index 0000000..a125722 --- /dev/null +++ b/dist/lib/typings/checkout/split.js.map @@ -0,0 +1 @@ +{"version":3,"file":"split.js","sourceRoot":"","sources":["../../../../src/typings/checkout/split.ts"],"names":[],"mappings":";;AAkCA,IAAiB,KAAK,CAUrB;AAVD,WAAiB,KAAK;IAEL,cAAQ,GAAG;QACpB,UAAU,EAAE,YAAwB;QACpC,OAAO,EAAE,SAAqB;QAC9B,WAAW,EAAE,aAAyB;QACtC,UAAU,EAAE,YAAwB;QACpC,GAAG,EAAE,KAAiB;QACtB,YAAY,EAAE,cAA0B;KAC3C,CAAC;AACN,CAAC,EAVgB,KAAK,GAAL,aAAK,KAAL,aAAK,QAUrB"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/splitAmount.d.ts b/dist/lib/typings/checkout/splitAmount.d.ts new file mode 100644 index 0000000..88a148d --- /dev/null +++ b/dist/lib/typings/checkout/splitAmount.d.ts @@ -0,0 +1,21 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface SplitAmount { + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). If this value is not provided, the currency in which the payment is made will be used. + */ + currency?: string; + /** + * The payable amount that can be charged for the transaction. The transaction amount needs to be represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). + */ + value: number; +} diff --git a/dist/lib/typings/checkout/splitAmount.js b/dist/lib/typings/checkout/splitAmount.js new file mode 100644 index 0000000..1de2955 --- /dev/null +++ b/dist/lib/typings/checkout/splitAmount.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=splitAmount.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/splitAmount.js.map b/dist/lib/typings/checkout/splitAmount.js.map new file mode 100644 index 0000000..07eaf16 --- /dev/null +++ b/dist/lib/typings/checkout/splitAmount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"splitAmount.js","sourceRoot":"","sources":["../../../../src/typings/checkout/splitAmount.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/storedDetails.d.ts b/dist/lib/typings/checkout/storedDetails.d.ts new file mode 100644 index 0000000..07faf82 --- /dev/null +++ b/dist/lib/typings/checkout/storedDetails.d.ts @@ -0,0 +1,20 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { BankAccount } from './bankAccount'; +import { Card } from './card'; +export interface StoredDetails { + bank?: BankAccount; + card?: Card; + /** + * The email associated with stored payment details. + */ + emailAddress?: string; +} diff --git a/dist/lib/typings/checkout/storedDetails.js b/dist/lib/typings/checkout/storedDetails.js new file mode 100644 index 0000000..0d970b7 --- /dev/null +++ b/dist/lib/typings/checkout/storedDetails.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=storedDetails.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/storedDetails.js.map b/dist/lib/typings/checkout/storedDetails.js.map new file mode 100644 index 0000000..a560091 --- /dev/null +++ b/dist/lib/typings/checkout/storedDetails.js.map @@ -0,0 +1 @@ +{"version":3,"file":"storedDetails.js","sourceRoot":"","sources":["../../../../src/typings/checkout/storedDetails.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib/typings/checkout/subInputDetail.d.ts b/dist/lib/typings/checkout/subInputDetail.d.ts new file mode 100644 index 0000000..bcc048a --- /dev/null +++ b/dist/lib/typings/checkout/subInputDetail.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Item } from './item'; +export interface SubInputDetail { + /** + * Configuration parameters for the required input. + */ + configuration?: any; + /** + * In case of a select, the items to choose from. + */ + items?: Array; + /** + * The value to provide in the result. + */ + key?: string; + /** + * True if this input is optional to provide. + */ + optional?: boolean; + /** + * The type of the required input. + */ + type?: string; + /** + * The value can be pre-filled, if available. + */ + value?: string; +} diff --git a/dist/lib/typings/checkout/subInputDetail.js b/dist/lib/typings/checkout/subInputDetail.js new file mode 100644 index 0000000..0c45a73 --- /dev/null +++ b/dist/lib/typings/checkout/subInputDetail.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=subInputDetail.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/subInputDetail.js.map b/dist/lib/typings/checkout/subInputDetail.js.map new file mode 100644 index 0000000..8facd4b --- /dev/null +++ b/dist/lib/typings/checkout/subInputDetail.js.map @@ -0,0 +1 @@ +{"version":3,"file":"subInputDetail.js","sourceRoot":"","sources":["../../../../src/typings/checkout/subInputDetail.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib/typings/checkout/threeDS2RequestData.d.ts b/dist/lib/typings/checkout/threeDS2RequestData.d.ts new file mode 100644 index 0000000..3efb25b --- /dev/null +++ b/dist/lib/typings/checkout/threeDS2RequestData.d.ts @@ -0,0 +1,80 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { DeviceRenderOptions } from './deviceRenderOptions'; +import { SDKEphemPubKey } from './sDKEphemPubKey'; +export interface ThreeDS2RequestData { + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/checkout/3d-secure-2/3ds2-checkout-authentication-only-integration), and not the payment authorisation. + */ + authenticationOnly?: boolean; + /** + * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` + */ + challengeIndicator?: ThreeDS2RequestData.ChallengeIndicatorEnum; + /** + * The environment of the shopper. Allowed values: * `app` * `browser` + */ + deviceChannel: string; + deviceRenderOptions?: DeviceRenderOptions; + /** + * The `messageVersion` value indicating the 3D Secure 2 protocol version. + */ + messageVersion?: string; + /** + * URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**. + */ + notificationURL?: string; + /** + * The `sdkAppID` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. + */ + sdkAppID?: string; + /** + * The `sdkEncData` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. + */ + sdkEncData?: string; + sdkEphemPubKey?: SDKEphemPubKey; + /** + * The maximum amount of time in minutes for the 3D Secure 2 authentication process. Only for `deviceChannel` set to **app**. + */ + sdkMaxTimeout?: number; + /** + * The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. + */ + sdkReferenceNumber?: string; + /** + * The `sdkTransID` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. + */ + sdkTransID?: string; + /** + * Completion indicator for the device fingerprinting. + */ + threeDSCompInd?: string; + /** + * Required for [authentication-only integration](https://docs.adyen.com/checkout/3d-secure-2/3ds2-checkout-authentication-only-integration) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2. + */ + threeDSRequestorID?: string; + /** + * Required for [authentication-only integration](https://docs.adyen.com/checkout/3d-secure-2/3ds2-checkout-authentication-only-integration) for Visa. Unique 3D Secure requestor name assigned by the Directory Server when you enrol for 3D Secure 2. + */ + threeDSRequestorName?: string; + /** + * URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process. + */ + threeDSRequestorURL?: string; +} +export declare namespace ThreeDS2RequestData { + type ChallengeIndicatorEnum = 'noPreference' | 'requestNoChallenge' | 'requestChallenge'; + const ChallengeIndicatorEnum: { + NoPreference: ChallengeIndicatorEnum; + RequestNoChallenge: ChallengeIndicatorEnum; + RequestChallenge: ChallengeIndicatorEnum; + }; +} diff --git a/dist/lib/typings/checkout/threeDS2RequestData.js b/dist/lib/typings/checkout/threeDS2RequestData.js new file mode 100644 index 0000000..73b86d5 --- /dev/null +++ b/dist/lib/typings/checkout/threeDS2RequestData.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var ThreeDS2RequestData; +(function (ThreeDS2RequestData) { + ThreeDS2RequestData.ChallengeIndicatorEnum = { + NoPreference: 'noPreference', + RequestNoChallenge: 'requestNoChallenge', + RequestChallenge: 'requestChallenge' + }; +})(ThreeDS2RequestData = exports.ThreeDS2RequestData || (exports.ThreeDS2RequestData = {})); +//# sourceMappingURL=threeDS2RequestData.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/threeDS2RequestData.js.map b/dist/lib/typings/checkout/threeDS2RequestData.js.map new file mode 100644 index 0000000..7af4328 --- /dev/null +++ b/dist/lib/typings/checkout/threeDS2RequestData.js.map @@ -0,0 +1 @@ +{"version":3,"file":"threeDS2RequestData.js","sourceRoot":"","sources":["../../../../src/typings/checkout/threeDS2RequestData.ts"],"names":[],"mappings":";;AA4EA,IAAiB,mBAAmB,CAOnC;AAPD,WAAiB,mBAAmB;IAEnB,0CAAsB,GAAG;QAClC,YAAY,EAAE,cAAwC;QACtD,kBAAkB,EAAE,oBAA8C;QAClE,gBAAgB,EAAE,kBAA4C;KACjE,CAAC;AACN,CAAC,EAPgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAOnC"} \ No newline at end of file diff --git a/dist/lib/typings/checkout/threeDSecureData.d.ts b/dist/lib/typings/checkout/threeDSecureData.d.ts new file mode 100644 index 0000000..caeb59d --- /dev/null +++ b/dist/lib/typings/checkout/threeDSecureData.d.ts @@ -0,0 +1,62 @@ +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface ThreeDSecureData { + /** + * In 3D Secure 1, the authentication response if the shopper was redirected. In 3D Secure 2, this is the `transStatus` from challenge flow. If the transaction was frictionless, set this value to **Y**. + */ + authenticationResponse?: ThreeDSecureData.AuthenticationResponseEnum; + /** + * The cardholder authentication value (base64 encoded, 20 bytes in a decoded form). + */ + cavv?: string; + /** + * The CAVV algorithm used. Include this only for 3D Secure 1. + */ + cavvAlgorithm?: string; + /** + * In 3D Secure 1, this is the enrollment response from the 3D directory server. In 3D Secure 2, this is the `transStatus` from 3D Secure device fingerprinting result. + */ + directoryResponse?: ThreeDSecureData.DirectoryResponseEnum; + /** + * Supported for 3D Secure 2. The unique transaction identifier assigned by the Directory Server (DS) to identify a single transaction. + */ + dsTransID?: string; + /** + * The electronic commerce indicator. + */ + eci?: string; + /** + * The version of the 3D Secure protocol. + */ + threeDSVersion?: string; + /** + * Supported for 3D Secure 1. The transaction identifier (Base64-encoded, 20 bytes in a decoded form). + */ + xid?: string; +} +export declare namespace ThreeDSecureData { + type AuthenticationResponseEnum = 'Y' | 'N' | 'U' | 'A'; + const AuthenticationResponseEnum: { + Y: AuthenticationResponseEnum; + N: AuthenticationResponseEnum; + U: AuthenticationResponseEnum; + A: AuthenticationResponseEnum; + }; + type DirectoryResponseEnum = 'Y' | 'N' | 'U' | 'E' | 'C'; + const DirectoryResponseEnum: { + Y: DirectoryResponseEnum; + N: DirectoryResponseEnum; + U: DirectoryResponseEnum; + E: DirectoryResponseEnum; + C: DirectoryResponseEnum; + }; +} diff --git a/dist/lib/typings/checkout/threeDSecureData.js b/dist/lib/typings/checkout/threeDSecureData.js new file mode 100644 index 0000000..b490b78 --- /dev/null +++ b/dist/lib/typings/checkout/threeDSecureData.js @@ -0,0 +1,30 @@ +"use strict"; +/** + * Adyen Checkout Service + * Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v46/payments ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var ThreeDSecureData; +(function (ThreeDSecureData) { + ThreeDSecureData.AuthenticationResponseEnum = { + Y: 'Y', + N: 'N', + U: 'U', + A: 'A' + }; + ThreeDSecureData.DirectoryResponseEnum = { + Y: 'Y', + N: 'N', + U: 'U', + E: 'E', + C: 'C' + }; +})(ThreeDSecureData = exports.ThreeDSecureData || (exports.ThreeDSecureData = {})); +//# sourceMappingURL=threeDSecureData.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkout/threeDSecureData.js.map b/dist/lib/typings/checkout/threeDSecureData.js.map new file mode 100644 index 0000000..a91bdfc --- /dev/null +++ b/dist/lib/typings/checkout/threeDSecureData.js.map @@ -0,0 +1 @@ +{"version":3,"file":"threeDSecureData.js","sourceRoot":"","sources":["../../../../src/typings/checkout/threeDSecureData.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;GAUG;;AAoCH,IAAiB,gBAAgB,CAgBhC;AAhBD,WAAiB,gBAAgB;IAEhB,2CAA0B,GAAG;QACtC,CAAC,EAAE,GAAiC;QACpC,CAAC,EAAE,GAAiC;QACpC,CAAC,EAAE,GAAiC;QACpC,CAAC,EAAE,GAAiC;KACvC,CAAC;IAEW,sCAAqB,GAAG;QACjC,CAAC,EAAE,GAA4B;QAC/B,CAAC,EAAE,GAA4B;QAC/B,CAAC,EAAE,GAA4B;QAC/B,CAAC,EAAE,GAA4B;QAC/B,CAAC,EAAE,GAA4B;KAClC,CAAC;AACN,CAAC,EAhBgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAgBhC"} \ No newline at end of file diff --git a/dist/lib/typings/checkoutUtility/checkoutUtilityRequest.d.ts b/dist/lib/typings/checkoutUtility/checkoutUtilityRequest.d.ts new file mode 100644 index 0000000..8c1695e --- /dev/null +++ b/dist/lib/typings/checkoutUtility/checkoutUtilityRequest.d.ts @@ -0,0 +1,17 @@ +/** + * Adyen Checkout Utility Service + * A web service containing utility functions available for merchants integrating with Checkout APIs. ## Authentication Each request to the Checkout Utility API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v1/originKeys ``` + * + * OpenAPI spec version: 1 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface CheckoutUtilityRequest { + /** + * The list of origin domains, for which origin keys are requested. + */ + originDomains: Array; +} diff --git a/dist/lib/typings/checkoutUtility/checkoutUtilityRequest.js b/dist/lib/typings/checkoutUtility/checkoutUtilityRequest.js new file mode 100644 index 0000000..59f8427 --- /dev/null +++ b/dist/lib/typings/checkoutUtility/checkoutUtilityRequest.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Checkout Utility Service + * A web service containing utility functions available for merchants integrating with Checkout APIs. ## Authentication Each request to the Checkout Utility API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v1/originKeys ``` + * + * OpenAPI spec version: 1 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=checkoutUtilityRequest.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkoutUtility/checkoutUtilityRequest.js.map b/dist/lib/typings/checkoutUtility/checkoutUtilityRequest.js.map new file mode 100644 index 0000000..c5e1147 --- /dev/null +++ b/dist/lib/typings/checkoutUtility/checkoutUtilityRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"checkoutUtilityRequest.js","sourceRoot":"","sources":["../../../../src/typings/checkoutUtility/checkoutUtilityRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/checkoutUtility/checkoutUtilityResponse.d.ts b/dist/lib/typings/checkoutUtility/checkoutUtilityResponse.d.ts new file mode 100644 index 0000000..c8500d8 --- /dev/null +++ b/dist/lib/typings/checkoutUtility/checkoutUtilityResponse.d.ts @@ -0,0 +1,17 @@ +/** + * Adyen Checkout Utility Service + * A web service containing utility functions available for merchants integrating with Checkout APIs. ## Authentication Each request to the Checkout Utility API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v1/originKeys ``` + * + * OpenAPI spec version: 1 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface CheckoutUtilityResponse { + /** + * The list of origin keys for all requested domains. For each list item, the key is the domain and the value is the origin key. + */ + originKeys?: any; +} diff --git a/dist/lib/typings/checkoutUtility/checkoutUtilityResponse.js b/dist/lib/typings/checkoutUtility/checkoutUtilityResponse.js new file mode 100644 index 0000000..4ab2ec2 --- /dev/null +++ b/dist/lib/typings/checkoutUtility/checkoutUtilityResponse.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Checkout Utility Service + * A web service containing utility functions available for merchants integrating with Checkout APIs. ## Authentication Each request to the Checkout Utility API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v1/originKeys ``` + * + * OpenAPI spec version: 1 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=checkoutUtilityResponse.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkoutUtility/checkoutUtilityResponse.js.map b/dist/lib/typings/checkoutUtility/checkoutUtilityResponse.js.map new file mode 100644 index 0000000..f24ca6d --- /dev/null +++ b/dist/lib/typings/checkoutUtility/checkoutUtilityResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"checkoutUtilityResponse.js","sourceRoot":"","sources":["../../../../src/typings/checkoutUtility/checkoutUtilityResponse.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/checkoutUtility/index.d.ts b/dist/lib/typings/checkoutUtility/index.d.ts new file mode 100644 index 0000000..afb03fa --- /dev/null +++ b/dist/lib/typings/checkoutUtility/index.d.ts @@ -0,0 +1,2 @@ +export * from './checkoutUtilityRequest'; +export * from './checkoutUtilityResponse'; diff --git a/dist/lib/typings/checkoutUtility/index.js b/dist/lib/typings/checkoutUtility/index.js new file mode 100644 index 0000000..aa219d8 --- /dev/null +++ b/dist/lib/typings/checkoutUtility/index.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/lib/typings/checkoutUtility/index.js.map b/dist/lib/typings/checkoutUtility/index.js.map new file mode 100644 index 0000000..69021ec --- /dev/null +++ b/dist/lib/typings/checkoutUtility/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/typings/checkoutUtility/index.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib/typings/constants/apiConstants.d.ts b/dist/lib/typings/constants/apiConstants.d.ts new file mode 100644 index 0000000..4d4e3f3 --- /dev/null +++ b/dist/lib/typings/constants/apiConstants.d.ts @@ -0,0 +1,52 @@ +export declare const TRANSACTION_NOT_PERMITTED = "Transaction Not Permitted"; +export declare const CVC_DECLINED = "CVC Declined"; +export declare const RESTRICTED_CARD = "Restricted Card"; +export declare const PAYMENT_DETAIL_NOT_FOUND = "803 PaymentDetail not found"; +export declare const REFUSED = "Refused"; +export declare const REFUSAL_REASON_RAW = "refusalReasonRaw"; +export declare const PAYMENT_METHOD = "paymentMethod"; +export declare const EXPIRY_DATE = "expiryDate"; +export declare const CARD_BIN = "cardBin"; +export declare const CARD_HOLDER_NAME = "cardHolderName"; +export declare const CARD_SUMMARY = "cardSummary"; +export declare const THREE_D_OFFERERED = "threeDOffered"; +export declare const THREE_D_AUTHENTICATED = "threeDAuthenticated"; +export declare const AVS_RESULT = "avsResult"; +export declare const PAYMENT_TOKEN = "payment.token"; +export declare const FRAUD_RESULT_TYPE = "fraudResultType"; +export declare const FRAUD_MANUAL_REVIEW = "fraudManualReview"; +export declare const AUTH_CODE = "authCode"; +export declare const BOLETO_BARCODE_REFERENCE = "boletobancario.barCodeReference"; +export declare const BOLETO_DATA = "boletobancario.data"; +export declare const BOLETO_DUE_DATE = "boletobancario.dueDate"; +export declare const BOLETO_URL = "boletobancario.url"; +export declare const BOLETO_EXPIRATION_DATE = "boletobancario.expirationDate"; +export declare const MULTIBANCO_ENTITY = "comprafacil.entity"; +export declare const MULTIBANCO_AMOUNT = "comprafacil.amount"; +export declare const MULTIBANCO_DEADLINE = "comprafacil.deadline"; +export declare const MULTIBANCO_REFERENCE = "comprafacil.reference"; +export declare const HMAC_SIGNATURE = "hmacSignature"; +export declare const JSON = "card.encrypted.json"; +export declare const BOLETO_SANTANDER = "boletobancario_santander"; +export declare const NUMBER = "number"; +export declare const EXPIRY_MONTH = "expiryMonth"; +export declare const EXPIRY_YEAR = "expiryYear"; +export declare const CVC = "cvc"; +export declare const ENCRYPTED_CARD_NUMBER = "encryptedCardNumber"; +export declare const ENCRYPTED_EXPIRY_MONTH = "encryptedExpiryMonth"; +export declare const ENCRYPTED_EXPIRY_YEAR = "encryptedExpiryYear"; +export declare const ENCRYPTED_SECURITY_CODE = "encryptedSecurityCode"; +export declare const METHOD_TYPE = "type"; +export declare const HOLDER_NAME = "holderName"; +export declare const RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; +export declare const STORE_DETAILS = "storeDetails"; +export declare const MD = "MD"; +export declare const PAREQ = "PaReq"; +export declare const TYPE_SCHEME = "scheme"; +export declare const IDEMPOTENCY_KEY = "Idempotency-Key"; +export declare const ACCEPT_CHARSET = "Accept-Charset"; +export declare const USER_AGENT = "User-Agent"; +export declare const METHOD_POST = "POST"; +export declare const CONTENT_TYPE = "Content-Type"; +export declare const API_KEY = "X-API-Key"; +export declare const APPLICATION_JSON_TYPE = "application/json"; diff --git a/dist/lib/typings/constants/apiConstants.js b/dist/lib/typings/constants/apiConstants.js new file mode 100644 index 0000000..05b9a16 --- /dev/null +++ b/dist/lib/typings/constants/apiConstants.js @@ -0,0 +1,75 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TRANSACTION_NOT_PERMITTED = "Transaction Not Permitted"; +exports.CVC_DECLINED = "CVC Declined"; +exports.RESTRICTED_CARD = "Restricted Card"; +exports.PAYMENT_DETAIL_NOT_FOUND = "803 PaymentDetail not found"; +exports.REFUSED = "Refused"; +exports.REFUSAL_REASON_RAW = "refusalReasonRaw"; +exports.PAYMENT_METHOD = "paymentMethod"; +exports.EXPIRY_DATE = "expiryDate"; +exports.CARD_BIN = "cardBin"; +exports.CARD_HOLDER_NAME = "cardHolderName"; +exports.CARD_SUMMARY = "cardSummary"; +exports.THREE_D_OFFERERED = "threeDOffered"; +exports.THREE_D_AUTHENTICATED = "threeDAuthenticated"; +exports.AVS_RESULT = "avsResult"; +exports.PAYMENT_TOKEN = "payment.token"; +exports.FRAUD_RESULT_TYPE = "fraudResultType"; +exports.FRAUD_MANUAL_REVIEW = "fraudManualReview"; +exports.AUTH_CODE = "authCode"; +exports.BOLETO_BARCODE_REFERENCE = "boletobancario.barCodeReference"; +exports.BOLETO_DATA = "boletobancario.data"; +exports.BOLETO_DUE_DATE = "boletobancario.dueDate"; +exports.BOLETO_URL = "boletobancario.url"; +exports.BOLETO_EXPIRATION_DATE = "boletobancario.expirationDate"; +exports.MULTIBANCO_ENTITY = "comprafacil.entity"; +exports.MULTIBANCO_AMOUNT = "comprafacil.amount"; +exports.MULTIBANCO_DEADLINE = "comprafacil.deadline"; +exports.MULTIBANCO_REFERENCE = "comprafacil.reference"; +exports.HMAC_SIGNATURE = "hmacSignature"; +exports.JSON = "card.encrypted.json"; +exports.BOLETO_SANTANDER = "boletobancario_santander"; +exports.NUMBER = "number"; +exports.EXPIRY_MONTH = "expiryMonth"; +exports.EXPIRY_YEAR = "expiryYear"; +exports.CVC = "cvc"; +exports.ENCRYPTED_CARD_NUMBER = "encryptedCardNumber"; +exports.ENCRYPTED_EXPIRY_MONTH = "encryptedExpiryMonth"; +exports.ENCRYPTED_EXPIRY_YEAR = "encryptedExpiryYear"; +exports.ENCRYPTED_SECURITY_CODE = "encryptedSecurityCode"; +exports.METHOD_TYPE = "type"; +exports.HOLDER_NAME = "holderName"; +exports.RECURRING_DETAIL_REFERENCE = "recurringDetailReference"; +exports.STORE_DETAILS = "storeDetails"; +exports.MD = "MD"; +exports.PAREQ = "PaReq"; +exports.TYPE_SCHEME = "scheme"; +exports.IDEMPOTENCY_KEY = "Idempotency-Key"; +exports.ACCEPT_CHARSET = "Accept-Charset"; +exports.USER_AGENT = "User-Agent"; +exports.METHOD_POST = "POST"; +exports.CONTENT_TYPE = "Content-Type"; +exports.API_KEY = "X-API-Key"; +exports.APPLICATION_JSON_TYPE = "application/json"; +//# sourceMappingURL=apiConstants.js.map \ No newline at end of file diff --git a/dist/lib/typings/constants/apiConstants.js.map b/dist/lib/typings/constants/apiConstants.js.map new file mode 100644 index 0000000..03acfa2 --- /dev/null +++ b/dist/lib/typings/constants/apiConstants.js.map @@ -0,0 +1 @@ +{"version":3,"file":"apiConstants.js","sourceRoot":"","sources":["../../../../src/typings/constants/apiConstants.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;AAEU,QAAA,yBAAyB,GAAG,2BAA2B,CAAC;AACxD,QAAA,YAAY,GAAG,cAAc,CAAC;AAC9B,QAAA,eAAe,GAAG,iBAAiB,CAAC;AACpC,QAAA,wBAAwB,GAAG,6BAA6B,CAAC;AACzD,QAAA,OAAO,GAAG,SAAS,CAAC;AAEpB,QAAA,kBAAkB,GAAG,kBAAkB,CAAC;AACxC,QAAA,cAAc,GAAG,eAAe,CAAC;AACjC,QAAA,WAAW,GAAG,YAAY,CAAC;AAC3B,QAAA,QAAQ,GAAG,SAAS,CAAC;AACrB,QAAA,gBAAgB,GAAG,gBAAgB,CAAC;AACpC,QAAA,YAAY,GAAG,aAAa,CAAC;AAC7B,QAAA,iBAAiB,GAAG,eAAe,CAAC;AACpC,QAAA,qBAAqB,GAAG,qBAAqB,CAAC;AAC9C,QAAA,UAAU,GAAG,WA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B,QAAA,eAAe,GAAG,iBAAiB,CAAC;AACpC,QAAA,cAAc,GAAG,gBAAgB,CAAC;AAClC,QAAA,UAAU,GAAG,YAAY,CAAC;AAC1B,QAAA,WAAW,GAAG,MAAM,CAAC;AACrB,QAAA,YAAY,GAAG,cAAc,CAAC;AAC9B,QAAA,OAAO,GAAG,WAAW,CAAC;AACtB,QAAA,qBAAqB,GAAG,kBAAkB,CAAC"} \ No newline at end of file diff --git a/dist/lib/typings/constants/nexoConstants.d.ts b/dist/lib/typings/constants/nexoConstants.d.ts new file mode 100644 index 0000000..a3cef58 --- /dev/null +++ b/dist/lib/typings/constants/nexoConstants.d.ts @@ -0,0 +1,3 @@ +export declare const NEXO_HMAC_KEY_LENGTH = 32; +export declare const NEXO_CIPHER_KEY_LENGTH = 32; +export declare const NEXO_IV_LENGTH = 16; diff --git a/dist/lib/typings/constants/nexoConstants.js b/dist/lib/typings/constants/nexoConstants.js new file mode 100644 index 0000000..82f53f7 --- /dev/null +++ b/dist/lib/typings/constants/nexoConstants.js @@ -0,0 +1,26 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +exports.NEXO_HMAC_KEY_LENGTH = 32; +exports.NEXO_CIPHER_KEY_LENGTH = 32; +exports.NEXO_IV_LENGTH = 16; +//# sourceMappingURL=nexoConstants.js.map \ No newline at end of file diff --git a/dist/lib/typings/constants/nexoConstants.js.map b/dist/lib/typings/constants/nexoConstants.js.map new file mode 100644 index 0000000..1439465 --- /dev/null +++ b/dist/lib/typings/constants/nexoConstants.js.map @@ -0,0 +1 @@ +{"version":3,"file":"nexoConstants.js","sourceRoot":"","sources":["../../../../src/typings/constants/nexoConstants.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;AAEU,QAAA,oBAAoB,GAAG,EAAE,CAAC;AAC1B,QAAA,sBAAsB,GAAG,EAAE,CAAC;AAC5B,QAAA,cAAc,GAAG,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/lib/typings/enums/environment.d.ts b/dist/lib/typings/enums/environment.d.ts new file mode 100644 index 0000000..41d992a --- /dev/null +++ b/dist/lib/typings/enums/environment.d.ts @@ -0,0 +1 @@ +export declare type Environment = "LIVE" | "TEST"; diff --git a/dist/lib/typings/enums/environment.js b/dist/lib/typings/enums/environment.js new file mode 100644 index 0000000..42b8178 --- /dev/null +++ b/dist/lib/typings/enums/environment.js @@ -0,0 +1,23 @@ +"use strict"; +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=environment.js.map \ No newline at end of file diff --git a/dist/lib/typings/enums/environment.js.map b/dist/lib/typings/enums/environment.js.map new file mode 100644 index 0000000..ac0f9a8 --- /dev/null +++ b/dist/lib/typings/enums/environment.js.map @@ -0,0 +1 @@ +{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../../../src/typings/enums/environment.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG"} \ No newline at end of file diff --git a/dist/lib/typings/enums/vatCategory.d.ts b/dist/lib/typings/enums/vatCategory.d.ts new file mode 100644 index 0000000..02e0b96 --- /dev/null +++ b/dist/lib/typings/enums/vatCategory.d.ts @@ -0,0 +1,6 @@ +declare enum VatCategory { + HIGH = "High", + LOW = "Low", + NONE = "None" +} +export default VatCategory; diff --git a/dist/lib/typings/enums/vatCategory.js b/dist/lib/typings/enums/vatCategory.js new file mode 100644 index 0000000..302b1db --- /dev/null +++ b/dist/lib/typings/enums/vatCategory.js @@ -0,0 +1,30 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +/* + * ###### + * ###### + * ############ ####( ###### #####. ###### ############ ############ + * ############# #####( ###### #####. ###### ############# ############# + * ###### #####( ###### #####. ###### ##### ###### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### + * ###### ###### #####( ###### #####. ###### ##### ##### ###### + * ############# ############# ############# ############# ##### ###### + * ############ ############ ############# ############ ##### ###### + * ###### + * ############# + * ############ + * + * Adyen NodeJS API Library + * + * Copyright (c) 2019 Adyen B.V. + * This file is open source and available under the MIT license. + * See the LICENSE file for more info. + */ +var VatCategory; +(function (VatCategory) { + VatCategory["HIGH"] = "High"; + VatCategory["LOW"] = "Low"; + VatCategory["NONE"] = "None"; +})(VatCategory || (VatCategory = {})); +exports.default = VatCategory; +//# sourceMappingURL=vatCategory.js.map \ No newline at end of file diff --git a/dist/lib/typings/enums/vatCategory.js.map b/dist/lib/typings/enums/vatCategory.js.map new file mode 100644 index 0000000..f58f2c0 --- /dev/null +++ b/dist/lib/typings/enums/vatCategory.js.map @@ -0,0 +1 @@ +{"version":3,"file":"vatCategory.js","sourceRoot":"","sources":["../../../../src/typings/enums/vatCategory.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,IAAK,WAIJ;AAJD,WAAK,WAAW;IACZ,4BAAa,CAAA;IACb,0BAAW,CAAA;IACX,4BAAa,CAAA;AACjB,CAAC,EAJI,WAAW,KAAX,WAAW,QAIf;AAED,kBAAe,WAAW,CAAC"} \ No newline at end of file diff --git a/dist/lib/typings/nexo.d.ts b/dist/lib/typings/nexo.d.ts new file mode 100644 index 0000000..fabf69e --- /dev/null +++ b/dist/lib/typings/nexo.d.ts @@ -0,0 +1,1123 @@ +export interface AbortRequest { + MessageReference: MessageReference; + AbortReason: string; + DisplayOutput?: DisplayOutput; +} +export interface AdminRequest { + ServiceIdentification?: string; +} +export interface AdminResponse { + Response: Response; +} +export interface AlgorithmIdentifier { + Parameter?: Parameter; + Algorithm: AlgorithmType; +} +export interface AllowedProduct { + ProductLabel?: string; + AdditionalProductInfo?: string; + ProductCode: string; + EanUpc?: string; +} +export interface Amount { + value?: number; + Currency?: string; +} +export interface AmountsReq { + Currency: string; + RequestedAmount?: number; + CashBackAmount?: number; + TipAmount?: number; + PaidAmount?: number; + MinimumAmountToDeliver?: number; + MaximumCashBackAmount?: number; + MinimumSplitAmount?: number; +} +export interface AmountsResp { + Currency?: string; + AuthorizedAmount: number; + TotalRebatesAmount?: number; + TotalFeesAmount?: number; + CashBackAmount?: number; + TipAmount?: number; +} +export interface AreaSize { + X: string; + Y: string; +} +export interface AuthenticatedData { + keyTransportOrKEK?: any[]; + MACAlgorithm: AlgorithmIdentifier; + EncapsulatedContent: EncapsulatedContent; + Version?: VersionType; + MAC: any; +} +export interface BalanceInquiryRequest { + PaymentAccountReq?: PaymentAccountReq; + LoyaltyAccountReq?: LoyaltyAccountReq; +} +export interface BalanceInquiryResponse { + Response: Response; + PaymentAccountStatus?: PaymentAccountStatus; + LoyaltyAccountStatus?: LoyaltyAccountStatus; +} +export interface BatchRequest { + TransactionToPerform?: TransactionToPerform[]; + RemoveAllFlag?: boolean; +} +export interface BatchResponse { + Response: Response; + PerformedTransaction?: PerformedTransaction[]; +} +export interface CapturedSignature { + AreaSize?: AreaSize; + SignaturePoint: SignaturePoint[]; +} +export interface CardAcquisitionRequest { + SaleData: SaleData; + CardAcquisitionTransaction: CardAcquisitionTransaction; +} +export interface CardAcquisitionResponse { + Response: Response; + SaleData: SaleData; + POIData: POIData; + PaymentBrand?: string[]; + PaymentInstrumentData?: PaymentInstrumentData; + LoyaltyAccount?: LoyaltyAccount[]; + CustomerOrder?: CustomerOrder[]; +} +export interface CardAcquisitionTransaction { + AllowedPaymentBrand?: string[]; + AllowedLoyaltyBrand?: string[]; + ForceEntryMode?: ForceEntryModeType[][]; + LoyaltyHandling?: LoyaltyHandlingType; + CustomerLanguage?: string; + ForceCustomerSelectionFlag?: boolean; + TotalAmount?: number; + PaymentType?: PaymentType; + CashBackFlag?: boolean; +} +export interface CardData { + ProtectedCardData?: ContentInformation; + SensitiveCardData?: SensitiveCardData; + AllowedProductCode?: string[]; + AllowedProduct?: AllowedProduct[]; + PaymentToken?: PaymentToken; + CustomerOrder?: CustomerOrder[]; + PaymentBrand?: string; + MaskedPan?: string; + PaymentAccountRef?: string; + EntryMode?: EntryModeType[]; + CardCountryCode?: string; +} +export interface CardReaderAPDURequest { + APDUData?: any; + APDUClass: any; + APDUInstruction: any; + APDUPar1: any; + APDUPar2: any; + APDUExpectedLength?: any; +} +export interface CardReaderAPDUResponse { + Response: Response; + APDUData?: any; + CardStatusWords: any; +} +export interface CardReaderInitRequest { + ForceEntryMode?: ForceEntryModeType[][]; + DisplayOutput?: DisplayOutput; + WarmResetFlag?: boolean; + LeaveCardFlag?: boolean; + MaxWaitingTime?: number; +} +export interface CardReaderInitResponse { + Response: Response; + TrackData?: TrackData[]; + ICCResetData?: ICCResetData; + EntryMode?: EntryModeType[]; +} +export interface CardReaderPowerOffRequest { + DisplayOutput?: DisplayOutput; + MaxWaitingTime?: number; +} +export interface CardReaderPowerOffResponse { + Response: Response; +} +export interface CardholderPIN { + EncrPINBlock: ContentInformation; + PINFormat: PINFormatType; + AdditionalInput?: string; +} +export interface CashHandlingDevice { + CoinsOrBills: CoinsOrBills[]; + CashHandlingOKFlag: boolean; + Currency: string; +} +export interface CheckData { + BankID?: string; + AccountNumber?: string; + CheckNumber?: string; + TrackData?: TrackData; + CheckCardNumber?: string; + Type?: CheckTypeCodeType; + Country?: string; +} +export interface CoinsOrBills { + UnitValue: number; + Number: number; +} +export interface ContentInformation { + EnvelopedData?: EnvelopedData; + AuthenticatedData?: AuthenticatedData; + SignedData?: SignedData; + DigestedData?: DigestedData; + NamedKeyEncryptedData?: NamedKeyEncryptedData; + ContentType: ContentType; +} +export interface CurrencyConversion { + ConvertedAmount: Amount; + Commission?: number; + Declaration?: string; + CustomerApprovedFlag?: boolean; + Rate?: number; + Markup?: number; +} +export interface CustomerOrder { + AdditionalInformation?: string; + CustomerOrderID: string; + OpenOrderState?: boolean; + StartDate: XMLGregorianCalendar; + EndDate?: XMLGregorianCalendar; + ForecastedAmount: number; + CurrentAmount: number; + Currency?: string; + AccessedBy?: string; +} +export interface DiagnosisRequest { + AcquirerID?: string[]; + POIID?: string; + HostDiagnosisFlag?: boolean; +} +export interface DiagnosisResponse { + Response: Response; + LoggedSaleID?: string[]; + POIStatus?: POIStatus; + HostStatus?: HostStatus[]; +} +export interface DigestedData { + DigestAlgorithm: AlgorithmIdentifier; + EncapsulatedContent: EncapsulatedContent; + Digest: any; + Version?: VersionType; +} +export interface DisplayOutput { + OutputContent: OutputContent; + MenuEntry?: MenuEntry[]; + OutputSignature?: any; + ResponseRequiredFlag?: boolean; + MinimumDisplayTime?: number; + Device: DeviceType; + InfoQualify: InfoQualifyType; +} +export interface DisplayRequest { + DisplayOutput: DisplayOutput[]; +} +export interface DisplayResponse { + OutputResult: OutputResult[]; +} +export interface EnableServiceRequest { + ServicesEnabled?: ServicesEnabledType[]; + DisplayOutput?: DisplayOutput; + TransactionAction: TransactionActionType; +} +export interface EnableServiceResponse { + Response: Response; +} +export interface EncapsulatedContent { + Content?: any; + ContentType: ContentType; +} +export interface EncryptedContent { + ContentEncryptionAlgorithm: AlgorithmIdentifier; + EncryptedData: any; + ContentType: ContentType; +} +export interface EnvelopedData { + keyTransportOrKEK?: any[]; + EncryptedContent: EncryptedContent; + Version?: VersionType; +} +export interface EventNotification { + EventDetails?: string; + RejectedMessage?: any; + DisplayOutput?: DisplayOutput; + TimeStamp: XMLGregorianCalendar; + EventToNotify: EventToNotifyType; + MaintenanceRequiredFlag?: boolean; + CustomerLanguage?: string; +} +export interface GeographicCoordinates { + Latitude: string; + Longitude: string; +} +export interface Geolocation { + GeographicCoordinates?: GeographicCoordinates; + UTMCoordinates?: UTMCoordinates; +} +export interface GetTotalsRequest { + TotalDetails?: TotalDetailsType[]; + TotalFilter?: TotalFilter; +} +export interface GetTotalsResponse { + Response: Response; + TransactionTotals?: TransactionTotals[]; + POIReconciliationID: string; +} +export interface HostStatus { + AcquirerID: string; + IsReachableFlag?: boolean; +} +export interface ICCResetData { + ATRValue?: any; + CardStatusWords?: any; +} +export interface Input { + ConfirmedFlag?: boolean; + FunctionKey?: string; + TextInput?: string; + DigitInput?: string; + Password?: ContentInformation; + MenuEntryNumber?: number; + InputCommand: InputCommandType; +} +export interface InputData { + DefaultInputString?: string; + StringMask?: string; + Device: DeviceType; + InfoQualify: InfoQualifyType; + InputCommand: InputCommandType; + NotifyCardInputFlag?: boolean; + MaxInputTime?: number; + ImmediateResponseFlag?: boolean; + MinLength?: number; + MaxLength?: number; + MaxDecimalLength?: number; + WaitUserValidationFlag?: boolean; + FromRightToLeftFlag?: boolean; + MaskCharactersFlag?: boolean; + BeepKeyFlag?: boolean; + GlobalCorrectionFlag?: boolean; + DisableCancelFlag?: boolean; + DisableCorrectFlag?: boolean; + DisableValidFlag?: boolean; + MenuBackFlag?: boolean; +} +export interface InputRequest { + DisplayOutput?: DisplayOutput; + InputData: InputData; +} +export interface InputResponse { + OutputResult?: OutputResult; + InputResult: InputResult; +} +export interface InputResult { + Response: Response; + Input?: Input; + Device: DeviceType; + InfoQualify: InfoQualifyType; +} +export interface InputUpdate { + MessageReference: MessageReference; + OutputContent: OutputContent; + MenuEntry?: MenuEntry[]; + OutputSignature?: any; + MinLength?: number; + MaxLength?: number; + MaxDecimalLength?: number; +} +export interface Instalment { + Instalment?: InstalmentType[]; + SequenceNumber?: number; + PlanID?: string; + Period?: number; + PeriodUnit?: PeriodUnitType; + FirstPaymentDate?: string; + TotalNbOfPayments?: number; + CumulativeAmount?: number; + FirstAmount?: number; + Charges?: number; +} +export interface Issuer { + RelativeDistinguishedName: RelativeDistinguishedName[]; +} +export interface IssuerAndSerialNumber { + Issuer: Issuer; + SerialNumber: number; +} +export interface KEK { + KEKIdentifier: KEKIdentifier; + KeyEncryptionAlgorithm: AlgorithmIdentifier; + Version?: VersionType; + EncryptedKey: any; +} +export interface KEKIdentifier { + KeyIdentifier: string; + KeyVersion: string; + DerivationIdentifier?: any; +} +export interface KeyTransport { + RecipientIdentifier: RecipientIdentifier; + KeyEncryptionAlgorithm: AlgorithmIdentifier; + Version?: VersionType; + EncryptedKey: any; +} +export interface LoginRequest { + DateTime: XMLGregorianCalendar; + SaleSoftware: SaleSoftware; + SaleTerminalData?: SaleTerminalData; + TrainingModeFlag?: boolean; + OperatorLanguage: string; + OperatorID?: string; + ShiftNumber?: string; + TokenRequestedType?: TokenRequestedType; + CustomerOrderReq?: CustomerOrderReqType[]; + POISerialNumber?: string; +} +export interface LoginResponse { + Response: Response; + POISystemData?: POISystemData; +} +export interface LogoutRequest { + MaintenanceAllowed?: boolean; +} +export interface LogoutResponse { + Response: Response; +} +export interface LoyaltyAccount { + LoyaltyAccountID: LoyaltyAccountID; + LoyaltyBrand?: string; +} +export interface LoyaltyAccountID { + value?: string; + EntryMode: EntryModeType[]; + IdentificationType: IdentificationType; + IdentificationSupport?: IdentificationSupportType; +} +export interface LoyaltyAccountReq { + CardAcquisitionReference?: TransactionIdentification; + LoyaltyAccountID?: LoyaltyAccountID; +} +export interface LoyaltyAccountStatus { + LoyaltyAccount: LoyaltyAccount; + CurrentBalance?: number; + LoyaltyUnit?: LoyaltyUnitType; + Currency?: string; +} +export interface LoyaltyAcquirerData { + ApprovalCode?: string; + LoyaltyTransactionID?: TransactionIdentification; + LoyaltyAcquirerID?: string; + HostReconciliationID?: string; +} +export interface LoyaltyAmount { + value?: number; + LoyaltyUnit?: LoyaltyUnitType; + Currency?: string; +} +export interface LoyaltyData { + CardAcquisitionReference?: TransactionIdentification; + LoyaltyAccountID?: LoyaltyAccountID; + LoyaltyAmount?: LoyaltyAmount; +} +export interface LoyaltyRequest { + SaleData: SaleData; + LoyaltyTransaction: LoyaltyTransaction; + LoyaltyData?: LoyaltyData[]; +} +export interface LoyaltyResponse { + Response: Response; + SaleData: SaleData; + POIData: POIData; + LoyaltyResult?: LoyaltyResult[]; + PaymentReceipt?: PaymentReceipt[]; +} +export interface LoyaltyResult { + LoyaltyAccount: LoyaltyAccount; + LoyaltyAmount?: LoyaltyAmount; + LoyaltyAcquirerData?: LoyaltyAcquirerData; + Rebates?: Rebates; + CurrentBalance?: number; +} +export interface LoyaltyTotals { + TransactionType: TransactionType; + TransactionCount: number; + TransactionAmount: number; +} +export interface LoyaltyTransaction { + OriginalPOITransaction?: OriginalPOITransaction; + TransactionConditions?: TransactionConditions; + SaleItem?: SaleItem[]; + LoyaltyTransactionType: LoyaltyTransactionType; + Currency?: string; + TotalAmount?: number; +} +export interface MenuEntry { + PredefinedContent?: PredefinedContent; + OutputText?: OutputText[]; + OutputXHTML?: any; + MenuEntryTag?: MenuEntryTagType; + OutputFormat: OutputFormatType; + DefaultSelectedFlag?: boolean; +} +export interface MessageHeader { + ProtocolVersion?: string; + MessageClass: MessageClassType; + MessageCategory: MessageCategoryType; + MessageType: MessageType; + ServiceID?: string; + DeviceID?: string; + SaleID: string; + POIID: string; +} +export interface MessageReference { + MessageCategory?: MessageCategoryType; + ServiceID?: string; + DeviceID?: string; + SaleID?: string; + POIID?: string; +} +export interface MobileData { + MobileCountryCode?: string; + Geolocation?: Geolocation; + ProtectedMobileData?: ContentInformation; + SensitiveMobileData?: SensitiveMobileData; + MobileNetworkCode?: string; + MaskedMSISDN?: string; +} +export interface NamedKeyEncryptedData { + KeyName?: string; + EncryptedContent: EncryptedContent; + Version?: VersionType; +} +export interface ObjectFactory { +} +export interface OriginalPOITransaction { + POITransactionID?: TransactionIdentification; + ApprovalCode?: string; + HostTransactionID?: TransactionIdentification; + SaleID?: string; + POIID?: string; + ReuseCardDataFlag?: boolean; + CustomerLanguage?: string; + AcquirerID?: string; +} +export interface OutputBarcode { + value?: string; + BarcodeType?: BarcodeType; +} +export interface OutputContent { + PredefinedContent?: PredefinedContent; + OutputText?: OutputText[]; + OutputXHTML?: any; + OutputBarcode?: OutputBarcode; + OutputFormat: OutputFormatType; +} +export interface OutputResult { + Response: Response; + Device: DeviceType; + InfoQualify: InfoQualifyType; +} +export interface OutputText { + Text?: string; + CharacterSet?: number; + Font?: string; + StartRow?: number; + StartColumn?: number; + Color?: ColorType; + CharacterWidth?: CharacterWidthType; + CharacterHeight?: CharacterHeightType; + CharacterStyle?: CharacterStyleType; + Alignment?: AlignmentType; + EndOfLineFlag?: boolean; +} +export interface PINRequest { + CardholderPIN?: CardholderPIN; + PINRequestType: PINRequestType; + PINVerifMethod?: string; + AdditionalInput?: string; + PINEncAlgorithm?: string; + PINFormat?: PINFormatType; + KeyReference?: string; + MaxWaitingTime?: number; +} +export interface PINResponse { + Response: Response; + CardholderPIN?: CardholderPIN; +} +export interface POIData { + POITransactionID: TransactionIdentification; + POIReconciliationID?: string; +} +export interface POIProfile { + ServiceProfiles?: ServiceProfilesType[]; + GenericProfile?: GenericProfileType; +} +export interface POISoftware { + ManufacturerID: string; + ApplicationName: string; + SoftwareVersion: string; + CertificationCode: string; +} +export interface POIStatus { + CashHandlingDevice?: CashHandlingDevice[]; + GlobalStatus: GlobalStatusType; + SecurityOKFlag?: boolean; + PEDOKFlag?: boolean; + CardReaderOKFlag?: boolean; + PrinterStatus?: PrinterStatusType; + CommunicationOKFlag?: boolean; + FraudPreventionFlag?: boolean; +} +export interface POISystemData { + DateTime: XMLGregorianCalendar; + POISoftware: POISoftware; + POITerminalData?: POITerminalData; + POIStatus?: POIStatus; +} +export interface POITerminalData { + POICapabilities: POICapabilitiesType[]; + POIProfile?: POIProfile; + TerminalEnvironment: TerminalEnvironmentType; + POISerialNumber: string; +} +export interface Parameter { + InitialisationVector?: any; +} +export interface PaymentAccountReq { + CardAcquisitionReference?: TransactionIdentification; + PaymentInstrumentData?: PaymentInstrumentData; + AccountType?: AccountType; +} +export interface PaymentAccountStatus { + PaymentInstrumentData?: PaymentInstrumentData; + PaymentAcquirerData?: PaymentAcquirerData; + LoyaltyAccountStatus?: LoyaltyAccountStatus; + Currency?: string; + CurrentBalance?: number; +} +export interface PaymentAcquirerData { + AcquirerTransactionID?: TransactionIdentification; + ApprovalCode?: string; + AcquirerID?: string; + MerchantID: string; + AcquirerPOIID: string; +} +export interface PaymentData { + CardAcquisitionReference?: TransactionIdentification; + RequestedValidityDate?: string; + Instalment?: Instalment; + CustomerOrder?: CustomerOrder; + PaymentInstrumentData?: PaymentInstrumentData; + PaymentType?: PaymentType; + SplitPaymentFlag?: boolean; +} +export interface PaymentInstrumentData { + CardData?: CardData; + CheckData?: CheckData; + MobileData?: MobileData; + PaymentInstrumentType: PaymentInstrumentType; + StoredValueAccountID: StoredValueAccountID; + ProtectedCardData: ContentInformation; +} +export interface PaymentReceipt { + OutputContent: OutputContent; + DocumentQualifier: DocumentQualifierType; + IntegratedPrintFlag?: boolean; + RequiredSignatureFlag?: boolean; +} +export interface PaymentRequest { + SaleData: SaleData; + PaymentTransaction: PaymentTransaction; + PaymentData?: PaymentData; + LoyaltyData?: LoyaltyData[]; +} +export interface PaymentResponse { + Response: Response; + SaleData: SaleData; + POIData: POIData; + PaymentResult?: PaymentResult; + LoyaltyResult?: LoyaltyResult[]; + PaymentReceipt?: PaymentReceipt[]; + CustomerOrder?: CustomerOrder[]; +} +export interface PaymentResult { + PaymentInstrumentData?: PaymentInstrumentData; + AmountsResp?: AmountsResp; + Instalment?: Instalment; + CurrencyConversion?: CurrencyConversion[]; + CapturedSignature?: CapturedSignature; + ProtectedSignature?: ContentInformation; + PaymentAcquirerData?: PaymentAcquirerData; + PaymentType?: PaymentType; + MerchantOverrideFlag?: boolean; + CustomerLanguage?: string; + OnlineFlag?: boolean; + AuthenticationMethod?: AuthenticationMethodType[]; + ValidityDate?: string; +} +export interface PaymentToken { + TokenRequestedType: TokenRequestedType; + TokenValue: string; + ExpiryDateTime?: XMLGregorianCalendar; +} +export interface PaymentTotals { + TransactionType: TransactionType; + TransactionCount: number; + TransactionAmount: number; +} +export interface PaymentTransaction { + AmountsReq: AmountsReq; + OriginalPOITransaction?: OriginalPOITransaction; + TransactionConditions?: TransactionConditions; + SaleItem?: SaleItem[]; +} +export interface PerformedTransaction { + Response: Response; + SaleData?: SaleData; + POIData: POIData; + PaymentResult?: PaymentResult; + LoyaltyResult?: LoyaltyResult[]; + ReversedAmount?: number; +} +export interface PredefinedContent { + ReferenceID: string; + Language?: string; +} +export interface PrintOutput { + OutputContent: OutputContent; + OutputSignature?: any; + DocumentQualifier: DocumentQualifierType; + ResponseMode: ResponseModeType; + IntegratedPrintFlag?: boolean; + RequiredSignatureFlag?: boolean; +} +export interface PrintRequest { + PrintOutput: PrintOutput; +} +export interface PrintResponse { + Response: Response; + DocumentQualifier: DocumentQualifierType; +} +export interface Rebates { + TotalRebate?: number; + RebateLabel?: string; + SaleItemRebate?: SaleItemRebate[]; +} +export interface RecipientIdentifier { + IssuerAndSerialNumber: IssuerAndSerialNumber; +} +export interface ReconciliationRequest { + AcquirerID?: string[]; + ReconciliationType: ReconciliationType; + POIReconciliationID?: string; +} +export interface ReconciliationResponse { + Response: Response; + TransactionTotals?: TransactionTotals[]; + ReconciliationType: ReconciliationType; + POIReconciliationID?: string; +} +export interface RelativeDistinguishedName { + Attribute: string; + AttributeValue: string; +} +export interface RepeatedMessageResponse { + RepeatedResponseMessageBody: RepeatedResponseMessageBody; + MessageHeader: MessageHeader; +} +export interface RepeatedMessageResponseBody { + LoyaltyResponse?: LoyaltyResponse; + PaymentResponse?: PaymentResponse; + ReversalResponse?: ReversalResponse; + StoredValueResponse?: StoredValueResponse; + CardAcquisitionResponse?: CardAcquisitionResponse; + CardReaderAPDUResponse?: CardReaderAPDUResponse; +} +export interface RepeatedResponseMessageBody { + LoyaltyResponse?: LoyaltyResponse; + PaymentResponse?: PaymentResponse; + ReversalResponse?: ReversalResponse; + StoredValueResponse?: StoredValueResponse; + CardAcquisitionResponse?: CardAcquisitionResponse; + CardReaderAPDUResponse?: CardReaderAPDUResponse; +} +export interface Response { + AdditionalResponse?: string; + Result: ResultType; + ErrorCondition?: ErrorConditionType; +} +export interface ReversalRequest { + OriginalPOITransaction: OriginalPOITransaction; + CustomerOrderID?: CustomerOrder; + SaleReferenceID?: string; + ReversalReason: ReversalReasonType; + ReversedAmount?: number; +} +export interface ReversalResponse { + Response: Response; + POIData?: POIData; + OriginalPOITransaction?: OriginalPOITransaction; + PaymentReceipt?: PaymentReceipt[]; + ReversedAmount?: number; + CustomerOrderID?: string; +} +export interface SaleData { + SaleTransactionID: TransactionIdentification; + SaleTerminalData?: SaleTerminalData; + SponsoredMerchant?: SponsoredMerchant[]; + SaleToPOIData?: string; + SaleToAcquirerData?: string; + SaleToIssuerData?: SaleToIssuerData; + OperatorID?: string; + OperatorLanguage?: string; + ShiftNumber?: string; + SaleReferenceID?: string; + TokenRequestedType?: TokenRequestedType; + CustomerOrderID?: string; + CustomerOrderReq?: CustomerOrderReqType[]; +} +export interface SaleItem { + UnitOfMeasure?: UnitOfMeasureType; + Quantity?: number; + UnitPrice?: number; + TaxCode?: string; + SaleChannel?: string; + ProductLabel?: string; + AdditionalProductInfo?: string; + ItemID: number; + ProductCode: string; + EanUpc?: string; + ItemAmount: number; +} +export interface SaleItemRebate { + UnitOfMeasure?: UnitOfMeasureType; + Quantity?: number; + RebateLabel?: string; + ItemID: number; + ProductCode: string; + EanUpc?: string; + ItemAmount?: number; +} +export interface SaleProfile { + ServiceProfiles?: ServiceProfilesType[]; + GenericProfile?: GenericProfileType; +} +export interface SaleSoftware { + ManufacturerID: string; + ApplicationName: string; + SoftwareVersion: string; + CertificationCode: string; +} +export interface SaleTerminalData { + SaleCapabilities?: SaleCapabilitiesType[]; + SaleProfile?: SaleProfile; + TerminalEnvironment?: TerminalEnvironmentType; + TotalsGroupID?: string; +} +export interface SaleToIssuerData { + StatementReference?: string; +} +export interface SaleToPOIRequest { + MessageHeader: MessageHeader; + AbortRequest?: AbortRequest; + BalanceInquiryRequest?: BalanceInquiryRequest; + BatchRequest?: BatchRequest; + CardAcquisitionRequest?: CardAcquisitionRequest; + AdminRequest?: AdminRequest; + DiagnosisRequest?: DiagnosisRequest; + DisplayRequest?: DisplayRequest; + EnableServiceRequest?: EnableServiceRequest; + EventNotification?: EventNotification; + GetTotalsRequest?: GetTotalsRequest; + InputRequest?: InputRequest; + InputUpdate?: InputUpdate; + LoginRequest?: LoginRequest; + LogoutRequest?: LogoutRequest; + LoyaltyRequest?: LoyaltyRequest; + PaymentRequest?: PaymentRequest; + PINRequest?: PINRequest; + PrintRequest?: PrintRequest; + CardReaderInitRequest?: CardReaderInitRequest; + CardReaderAPDURequest?: CardReaderAPDURequest; + CardReaderPowerOffRequest?: CardReaderPowerOffRequest; + ReconciliationRequest?: ReconciliationRequest; + ReversalRequest?: ReversalRequest; + SoundRequest?: SoundRequest; + StoredValueRequest?: StoredValueRequest; + TransactionStatusRequest?: TransactionStatusRequest; + TransmitRequest?: TransmitRequest; + SecurityTrailer?: ContentInformation; +} +export interface SaleToPOIResponse { + MessageHeader: MessageHeader; + BalanceInquiryResponse?: BalanceInquiryResponse; + BatchResponse?: BatchResponse; + CardAcquisitionResponse?: CardAcquisitionResponse; + AdminResponse?: AdminResponse; + DiagnosisResponse?: DiagnosisResponse; + DisplayResponse?: DisplayResponse; + EnableServiceResponse?: EnableServiceResponse; + GetTotalsResponse?: GetTotalsResponse; + InputResponse?: InputResponse; + LoginResponse?: LoginResponse; + LogoutResponse?: LogoutResponse; + LoyaltyResponse?: LoyaltyResponse; + PaymentResponse?: PaymentResponse; + PINResponse?: PINResponse; + PrintResponse?: PrintResponse; + CardReaderInitResponse?: CardReaderInitResponse; + CardReaderAPDUResponse?: CardReaderAPDUResponse; + CardReaderPowerOffResponse?: CardReaderPowerOffResponse; + ReconciliationResponse?: ReconciliationResponse; + ReversalResponse?: ReversalResponse; + SoundResponse?: SoundResponse; + StoredValueResponse?: StoredValueResponse; + TransactionStatusResponse?: TransactionStatusResponse; + TransmitResponse?: TransmitResponse; + SecurityTrailer?: ContentInformation; +} +export interface SensitiveCardData { + TrackData?: TrackData[]; + PAN?: string; + CardSeqNumb?: string; + ExpiryDate?: string; +} +export interface SensitiveMobileData { + MSISDN: string; + IMSI?: string; + IMEI?: string; +} +export interface SignaturePoint { + X: string; + Y: string; +} +export interface SignedData { + DigestAlgorithm: AlgorithmIdentifier[]; + EncapsulatedContent: EncapsulatedContent; + Certificate?: any[]; + Signer: Signer[]; + Version?: VersionType; +} +export interface Signer { + SignerIdentifier: SignerIdentifier; + DigestAlgorithm: AlgorithmIdentifier; + SignatureAlgorithm: AlgorithmIdentifier; + Signature: any; + Version?: VersionType; +} +export interface SignerIdentifier { + IssuerAndSerialNumber: IssuerAndSerialNumber; +} +export interface SoundContent { + value?: string; + SoundFormat?: SoundFormatType; + Language?: string; + ReferenceID?: string; +} +export interface SoundRequest { + SoundContent: SoundContent; + ResponseMode?: ResponseModeType; + SoundAction: SoundActionType; + SoundVolume?: number; +} +export interface SoundResponse { + Response: Response; +} +export interface SponsoredMerchant { + MerchantName: string; + MerchantAddress?: string; + MerchantCountry: string; + MerchantCategoryCode: string; + RegistrationID: string; +} +export interface StoredValueAccountID { + value?: string; + StoredValueAccountType: StoredValueAccountType; + StoredValueProvider?: string; + OwnerName?: string; + ExpiryDate?: string; + EntryMode: EntryModeType[]; + IdentificationType: IdentificationType; +} +export interface StoredValueAccountStatus { + StoredValueAccountID: StoredValueAccountID; + CurrentBalance?: number; +} +export interface StoredValueData { + StoredValueAccountID?: StoredValueAccountID; + OriginalPOITransaction?: OriginalPOITransaction; + StoredValueProvider?: string; + StoredValueTransactionType: StoredValueTransactionType; + ProductCode?: string; + EanUpc?: string; + ItemAmount: number; + Currency: string; +} +export interface StoredValueRequest { + SaleData: SaleData; + StoredValueData: StoredValueData[]; + CustomerLanguage?: string; +} +export interface StoredValueResponse { + Response: Response; + SaleData: SaleData; + POIData: POIData; + StoredValueResult?: StoredValueResult[]; +} +export interface StoredValueResult { + StoredValueAccountStatus: StoredValueAccountStatus; + HostTransactionID?: TransactionIdentification; + StoredValueTransactionType: StoredValueTransactionType; + ProductCode: string; + EanUpc?: string; + ItemAmount: number; + Currency: string; +} +export interface TotalFilter { + POIID?: string; + SaleID?: string; + OperatorID?: string; + ShiftNumber?: string; + TotalsGroupID?: string; +} +export interface TrackData { + value?: string; + TrackNumb?: number; + TrackFormat?: TrackFormatType; +} +export interface TransactionConditions { + AllowedPaymentBrand?: string[]; + AcquirerID?: string[]; + AllowedLoyaltyBrand?: string[]; + ForceEntryMode?: ForceEntryModeType[][]; + DebitPreferredFlag?: boolean; + LoyaltyHandling?: LoyaltyHandlingType; + CustomerLanguage?: string; + ForceOnlineFlag?: boolean; + MerchantCategoryCode?: string; +} +export interface TransactionIdentification { + TransactionID: string; + TimeStamp: XMLGregorianCalendar; +} +export interface TransactionStatusRequest { + MessageReference?: MessageReference; + DocumentQualifier?: DocumentQualifierType[]; + ReceiptReprintFlag?: boolean; +} +export interface TransactionStatusResponse { + Response: Response; + MessageReference?: MessageReference; + RepeatedMessageResponse?: RepeatedMessageResponse; +} +export interface TransactionToPerform { + PaymentRequest?: PaymentRequest; + LoyaltyRequest?: LoyaltyRequest; + ReversalRequest?: ReversalRequest; +} +export interface TransactionTotals { + PaymentTotals?: PaymentTotals[]; + LoyaltyTotals?: LoyaltyTotals[]; + PaymentInstrumentType: PaymentInstrumentType; + AcquirerID?: string; + ErrorCondition?: ErrorConditionType; + HostReconciliationID?: string; + CardBrand?: string; + POIID?: string; + SaleID?: string; + OperatorID?: string; + ShiftNumber?: string; + TotalsGroupID?: string; + PaymentCurrency?: string; + LoyaltyUnit?: LoyaltyUnitType; + LoyaltyCurrency?: string; +} +export interface TransmitRequest { + Message: any; + WaitResponseFlag?: boolean; + MaximumTransmitTime: number; + DestinationAddress: string; +} +export interface TransmitResponse { + Response: Response; + Message?: any; +} +export interface UTMCoordinates { + UTMZone: string; + UTMEastward: string; + UTMNorthward: string; +} +export interface XMLGregorianCalendar extends Cloneable { +} +export interface Cloneable { +} +export declare type AccountType = "Default" | "Savings" | "Checking" | "CreditCard" | "Universal" | "Investment" | "CardTotals" | "EpurseCard"; +export declare type AlgorithmType = "id-retail-cbc-mac" | "id-retail-cbc-mac-sha-256" | "id-ukpt-wrap " | "id-dukpt-wrap" | "des-ede3-ecb" | "des-ede3-cbc" | "id-sha256" | "sha256WithRSAEncryption" | "rsaEncryption"; +export declare type AlignmentType = "Left" | "Right" | "Centred" | "Justified"; +export declare type AttributeType = "id-at-commonName" | "id-at-localityName" | "id-at-organizationName" | "id-at-organizationalUnitName" | "id-at-countryName"; +export declare type AuthenticationMethodType = "Bypass" | "ManualVerification" | "MerchantAuthentication" | "OfflinePIN" | "OnLinePIN" | "PaperSignature" | "SecuredChannel" | "SecureCertificate" | "SecureNoCertificate" | "SignatureCapture" | "UnknownMethod"; +export declare type BarcodeType = "EAN8" | "EAN13" | "UPCA" | "Code25" | "Code128" | "PDF417" | "QRCODE"; +export declare type CharacterHeightType = "SingleHeight" | "DoubleHeight" | "HalfHeight"; +export declare type CharacterStyleType = "Normal" | "Bold" | "Italic" | "Underlined"; +export declare type CharacterWidthType = "SingleWidth" | "DoubleWidth"; +export declare type CheckTypeCodeType = "Personal" | "Company"; +export declare type ColorType = "White" | "Black" | "Red" | "Green" | "Blue" | "Yellow" | "Magenta" | "Cyan"; +export declare type ContentType = "id-data" | "id-signedData" | "id-envelopedData" | "id-digestedData" | "id-encryptedData" | "id-ct-authData"; +export declare type CustomerOrderReqType = "Open" | "Closed" | "Both"; +export declare type DeviceType = "CashierDisplay" | "CustomerDisplay" | "CashierInput" | "CustomerInput"; +export declare type DocumentQualifierType = "SaleReceipt" | "CashierReceipt" | "CustomerReceipt" | "Document" | "Voucher" | "Journal"; +export declare type EntryModeType = "RFID" | "Keyed" | "Manual" | "File" | "Scanned" | "MagStripe" | "ICC" | "SynchronousICC" | "Tapped" | "Contactless" | "Mobile"; +export declare type ErrorConditionType = "Aborted" | "Busy" | "Cancel" | "DeviceOut" | "InsertedCard" | "InProgress" | "LoggedOut" | "MessageFormat" | "NotAllowed" | "NotFound" | "PaymentRestriction" | "Refusal" | "UnavailableDevice" | "UnavailableService" | "InvalidCard" | "UnreachableHost" | "WrongPIN"; +export declare type EventToNotifyType = "BeginMaintenance" | "EndMaintenance" | "Shutdown" | "Initialised" | "OutOfOrder" | "Completed" | "Abort" | "SaleWakeUp" | "SaleAdmin" | "CustomerLanguage" | "KeyPressed" | "SecurityAlarm" | "StopAssistance" | "CardInserted" | "CardRemoved" | "Reject"; +export declare type ForceEntryModeType = "RFID" | "Keyed" | "Manual" | "File" | "Scanned" | "MagStripe" | "ICC" | "SynchronousICC" | "Tapped" | "Contactless" | "CheckReader"; +export declare type GenericProfileType = "Basic" | "Standard" | "Extended"; +export declare type GlobalStatusType = "OK" | "Busy" | "Maintenance" | "Unreachable"; +export declare type IdentificationSupportType = "NoCard" | "LoyaltyCard" | "HybridCard" | "LinkedCard"; +export declare type IdentificationType = "PAN" | "ISOTrack2" | "BarCode" | "AccountNumber" | "PhoneNumber"; +export declare type InfoQualifyType = "Status" | "Error" | "Display" | "Sound" | "Input" | "POIReplication" | "CustomerAssistance" | "Receipt" | "Document" | "Voucher"; +export declare type InputCommandType = "GetAnyKey" | "GetConfirmation" | "SiteManager" | "TextString" | "DigitString" | "DecimalString" | "GetFunctionKey" | "GetMenuEntry" | "Password"; +export declare type InstalmentType = "DeferredInstalments" | "EqualInstalments" | "InequalInstalments"; +export declare type LoyaltyHandlingType = "Forbidden" | "Processed" | "Allowed" | "Proposed" | "Required"; +export declare type LoyaltyTransactionType = "Award" | "Rebate" | "Redemption" | "AwardRefund" | "RebateRefund" | "RedemptionRefund"; +export declare type LoyaltyUnitType = "Point" | "Monetary"; +export declare type MenuEntryTagType = "Selectable" | "NonSelectable" | "SubMenu" | "NonSelectableSubMenu"; +export declare type MessageCategoryType = "Abort" | "Admin" | "BalanceInquiry" | "Batch" | "CardAcquisition" | "CardReaderAPDU" | "CardReaderInit" | "CardReaderPowerOff" | "Diagnosis" | "Display" | "EnableService" | "Event" | "GetTotals" | "Input" | "InputUpdate" | "Login" | "Logout" | "Loyalty" | "Payment" | "PIN" | "Print" | "Reconciliation" | "Reversal" | "Sound" | "StoredValue" | "TransactionStatus" | "Transmit"; +export declare type MessageClassType = "Service" | "Device" | "Event"; +export declare type MessageType = "Request" | "Response" | "Notification"; +export declare type OutputFormatType = "MessageRef" | "Text" | "XHTML" | "BarCode"; +export declare type PINFormatType = "ISO0" | "ISO1" | "ISO2" | "ISO3"; +export declare type PINRequestType = "PINVerify" | "PINVerifyOnly" | "PINEnter"; +export declare type POICapabilitiesType = "CashierDisplay" | "CashierError" | "CashierInput" | "CustomerDisplay" | "CustomerError" | "CustomerInput" | "PrinterReceipt" | "PrinterDocument" | "PrinterVoucher" | "MagStripe" | "ICC" | "EMVContactless" | "CashHandling"; +export declare type PaymentInstrumentType = "Card" | "Check" | "Mobile" | "StoredValue" | "Cash"; +export declare type PaymentType = "Normal" | "Refund" | "OneTimeReservation" | "FirstReservation" | "UpdateReservation" | "Completion" | "CashAdvance" | "CashDeposit" | "Recurring" | "Instalment" | "IssuerInstalment" | "PaidOut"; +export declare type PeriodUnitType = "Daily" | "Weekly" | "Monthly" | "Annual"; +export declare type PrinterStatusType = "OK" | "PaperLow" | "NoPaper" | "PaperJam" | "OutOfOrder"; +export declare type ReconciliationType = "SaleReconciliation" | "AcquirerSynchronisation" | "AcquirerReconciliation" | "PreviousReconciliation"; +export declare type ResponseModeType = "NotRequired" | "Immediate" | "PrintEnd" | "SoundEnd"; +export declare type ResultType = "Success" | "Failure" | "Partial"; +export declare type ReversalReasonType = "CustCancel" | "MerchantCancel" | "Malfunction" | "Unable2Compl"; +export declare type SaleCapabilitiesType = "CashierStatus" | "CashierError" | "CashierDisplay" | "POIReplication" | "CashierInput" | "CustomerAssistance" | "CustomerDisplay" | "CustomerError" | "CustomerInput" | "PrinterReceipt" | "PrinterDocument" | "PrinterVoucher" | "MagStripe" | "ICC" | "EMVContactless"; +export declare type ServiceProfilesType = "Synchro" | "Batch" | "OneTimeRes" | "Reservation" | "Loyalty" | "StoredValue" | "PIN" | "CardReader" | "Sound" | "Communication"; +export declare type ServicesEnabledType = "CardAcquisition" | "Payment" | "Loyalty"; +export declare type SoundActionType = "StartSound" | "StopSound" | "SetDefaultVolume"; +export declare type SoundFormatType = "SoundRef" | "MessageRef" | "Text"; +export declare type StoredValueAccountType = "GiftCard" | "PhoneCard" | "Other"; +export declare type StoredValueTransactionType = "Reserve" | "Activate" | "Load" | "Unload" | "Reverse" | "Duplicate"; +export declare type TerminalEnvironmentType = "Attended" | "SemiAttended" | "Unattended"; +export declare type TokenRequestedType = "Transaction" | "Customer"; +export declare type TotalDetailsType = "POIID" | "SaleID" | "OperatorID" | "ShiftNumber" | "TotalsGroupID"; +export declare type TrackFormatType = "ISO" | "JIS-I" | "JIS-II" | "AAMVA" | "CMC-7" | "E-13B"; +export declare type TransactionActionType = "StartTransaction" | "AbortTransaction"; +export declare type TransactionType = "Debit" | "Credit" | "ReverseDebit" | "ReverseCredit" | "OneTimeReservation" | "CompletedDeffered" | "FirstReservation" | "UpdateReservation" | "CompletedReservation" | "CashAdvance" | "IssuerInstalment" | "Declined" | "Failed" | "Award" | "ReverseAward" | "Redemption" | "ReverseRedemption" | "Rebate" | "ReverseRebate"; +export declare type UnitOfMeasureType = "Case" | "Foot" | "UKGallon" | "USGallon" | "Gram" | "Inch" | "Kilogram" | "Pound" | "Meter" | "Centimetre" | "Litre" | "Centilitre" | "Ounce" | "Quart" | "Pint" | "Mile" | "Kilometre" | "Yard" | "Other"; +export declare type VersionType = "v0" | "v1" | "v2" | "v3" | "v4" | "v5"; diff --git a/dist/lib/typings/nexo.js b/dist/lib/typings/nexo.js new file mode 100644 index 0000000..468a776 --- /dev/null +++ b/dist/lib/typings/nexo.js @@ -0,0 +1,4 @@ +"use strict"; +// Generated using typescript-generator version 2.14.505 on 2019-06-06 08:35:05. +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=nexo.js.map \ No newline at end of file diff --git a/dist/lib/typings/nexo.js.map b/dist/lib/typings/nexo.js.map new file mode 100644 index 0000000..516dd3d --- /dev/null +++ b/dist/lib/typings/nexo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"nexo.js","sourceRoot":"","sources":["../../../src/typings/nexo.ts"],"names":[],"mappings":";AAAA,gFAAgF"} \ No newline at end of file diff --git a/dist/lib/typings/notification.d.ts b/dist/lib/typings/notification.d.ts new file mode 100644 index 0000000..0986c09 --- /dev/null +++ b/dist/lib/typings/notification.d.ts @@ -0,0 +1,45 @@ +export interface Notification { + live: string; + notificationItems: NotificationItem[]; +} +export interface NotificationItem { + notificationRequestItem: NotificationRequestItem; +} +export interface NotificationRequestItem { + additionalData: AdditionalData; + amount: Amount; + eventCode: string; + eventDate: Date; + merchantAccountCode: string; + merchantReference: string; + operations?: string[]; + originalReference?: string; + paymentMethod: string; + pspReference: string; + reason: string; + success: string; +} +export interface AdditionalData { + [key: string]: string; +} +export interface Amount { + currency: string; + value: number; +} +export declare enum NotificationEnum { + EVENT_CODE_AUTHORISATION = "AUTHORISATION", + EVENT_CODE_CANCELLATION = "CANCELLATION", + EVENT_CODE_REFUND = "REFUND", + EVENT_CODE_CANCEL_OR_REFUND = "CANCEL_OR_REFUND", + EVENT_CODE_CAPTURE = "CAPTURE", + EVENT_CODE_CAPTURE_FAILED = "CAPTURE_FAILED", + EVENT_CODE_REFUND_FAILED = "REFUND_FAILED", + EVENT_CODE_REFUNDED_REVERSED = "REFUNDED_REVERSED", + EVENT_CODE_PAIDOUT_REVERSED = "PAIDOUT_REVERSED", + ADDITIONAL_DATA_TOTAL_FRAUD_SCORE = "totalFraudScore", + ADDITIONAL_DATA_FRAUD_CHECK_PATTERN = "fraudCheck-(\\d+)-([A-Za-z0-9]+)" +} +export declare class Convert { + static toNotification(json: string): Notification; + static notificationToJson(value: Notification): string; +} diff --git a/dist/lib/typings/notification.js b/dist/lib/typings/notification.js new file mode 100644 index 0000000..7478524 --- /dev/null +++ b/dist/lib/typings/notification.js @@ -0,0 +1,194 @@ +"use strict"; +// To parse this data: +// +// import { Convert, Notification } from "./file"; +// +// const notification = Convert.toNotification(json); +// +// These functions will throw an error if the JSON doesn't +// match the expected interface, even if the JSON is valid. +Object.defineProperty(exports, "__esModule", { value: true }); +var NotificationEnum; +(function (NotificationEnum) { + NotificationEnum["EVENT_CODE_AUTHORISATION"] = "AUTHORISATION"; + //Event codes + NotificationEnum["EVENT_CODE_CANCELLATION"] = "CANCELLATION"; + NotificationEnum["EVENT_CODE_REFUND"] = "REFUND"; + NotificationEnum["EVENT_CODE_CANCEL_OR_REFUND"] = "CANCEL_OR_REFUND"; + NotificationEnum["EVENT_CODE_CAPTURE"] = "CAPTURE"; + NotificationEnum["EVENT_CODE_CAPTURE_FAILED"] = "CAPTURE_FAILED"; + NotificationEnum["EVENT_CODE_REFUND_FAILED"] = "REFUND_FAILED"; + NotificationEnum["EVENT_CODE_REFUNDED_REVERSED"] = "REFUNDED_REVERSED"; + NotificationEnum["EVENT_CODE_PAIDOUT_REVERSED"] = "PAIDOUT_REVERSED"; + //Additional Data + NotificationEnum["ADDITIONAL_DATA_TOTAL_FRAUD_SCORE"] = "totalFraudScore"; + NotificationEnum["ADDITIONAL_DATA_FRAUD_CHECK_PATTERN"] = "fraudCheck-(\\d+)-([A-Za-z0-9]+)"; +})(NotificationEnum = exports.NotificationEnum || (exports.NotificationEnum = {})); +// Converts JSON strings to/from your types +// and asserts the results of JSON.parse at runtime +var Convert = /** @class */ (function () { + function Convert() { + } + Convert.toNotification = function (json) { + return cast(JSON.parse(json), r("Notification")); + }; + Convert.notificationToJson = function (value) { + return JSON.stringify(uncast(value, r("Notification")), null, 2); + }; + return Convert; +}()); +exports.Convert = Convert; +function invalidValue(typ, val) { + throw Error("Invalid value " + JSON.stringify(val) + " for type " + JSON.stringify(typ)); +} +function jsonToJSProps(typ) { + if (typ.jsonToJS === undefined) { + var map = {}; + typ.props.forEach(function (p) { return map[p.json] = { key: p.js, typ: p.typ }; }); + typ.jsonToJS = map; + } + return typ.jsonToJS; +} +function jsToJSONProps(typ) { + if (typ.jsToJSON === undefined) { + var map = {}; + typ.props.forEach(function (p) { return map[p.js] = { key: p.json, typ: p.typ }; }); + typ.jsToJSON = map; + } + return typ.jsToJSON; +} +function transform(val, typ, getProps) { + function transformPrimitive(typ, val) { + if (typeof typ === typeof val) + return val; + return invalidValue(typ, val); + } + function transformUnion(typs, val) { + // val must validate against one typ in typs + var l = typs.length; + for (var i = 0; i < l; i++) { + var typ = typs[i]; + try { + return transform(val, typ, getProps); + } + catch (_) { } + } + return invalidValue(typs, val); + } + function transformEnum(cases, val) { + if (cases.indexOf(val) !== -1) + return val; + return invalidValue(cases, val); + } + function transformArray(typ, val) { + // val must be an array with no invalid elements + if (!Array.isArray(val)) + return invalidValue("array", val); + return val.map(function (el) { return transform(el, typ, getProps); }); + } + function transformDate(typ, val) { + if (val === null) { + return null; + } + var d = new Date(val); + if (isNaN(d.valueOf())) { + return invalidValue("Date", val); + } + return d; + } + function transformObject(props, additional, val) { + if (val === null || typeof val !== "object" || Array.isArray(val)) { + return invalidValue("object", val); + } + var result = {}; + Object.getOwnPropertyNames(props).forEach(function (key) { + var prop = props[key]; + var v = Object.prototype.hasOwnProperty.call(val, key) ? val[key] : undefined; + result[prop.key] = transform(v, prop.typ, getProps); + }); + Object.getOwnPropertyNames(val).forEach(function (key) { + if (!Object.prototype.hasOwnProperty.call(props, key)) { + result[key] = transform(val[key], additional, getProps); + } + }); + return result; + } + if (typ === "any") + return val; + if (typ === null) { + if (val === null) + return val; + return invalidValue(typ, val); + } + if (typ === false) + return invalidValue(typ, val); + while (typeof typ === "object" && typ.ref !== undefined) { + typ = typeMap[typ.ref]; + } + if (Array.isArray(typ)) + return transformEnum(typ, val); + if (typeof typ === "object") { + return typ.hasOwnProperty("unionMembers") ? transformUnion(typ.unionMembers, val) + : typ.hasOwnProperty("arrayItems") ? transformArray(typ.arrayItems, val) + : typ.hasOwnProperty("props") ? transformObject(getProps(typ), typ.additional, val) + : invalidValue(typ, val); + } + // Numbers can be parsed by Date but shouldn't be. + if (typ === Date && typeof val !== "number") + return transformDate(typ, val); + return transformPrimitive(typ, val); +} +function cast(val, typ) { + return transform(val, typ, jsonToJSProps); +} +function uncast(val, typ) { + return transform(val, typ, jsToJSONProps); +} +function a(typ) { + return { arrayItems: typ }; +} +function u() { + var typs = []; + for (var _i = 0; _i < arguments.length; _i++) { + typs[_i] = arguments[_i]; + } + return { unionMembers: typs }; +} +function o(props, additional) { + return { props: props, additional: additional }; +} +function m(additional) { + // @ts-ignore + return { props: [], additional: additional }; +} +function r(name) { + return { ref: name }; +} +var typeMap = { + "Notification": o([ + { json: "live", js: "live", typ: "" }, + { json: "notificationItems", js: "notificationItems", typ: a(r("NotificationItem")) }, + ], false), + "NotificationItem": o([ + { json: "NotificationRequestItem", js: "notificationRequestItem", typ: r("NotificationRequestItem") }, + ], false), + "NotificationRequestItem": o([ + { json: "additionalData", js: "additionalData", typ: u(undefined, m("any")) }, + { json: "amount", js: "amount", typ: r("Amount") }, + { json: "eventCode", js: "eventCode", typ: "" }, + { json: "eventDate", js: "eventDate", typ: Date }, + { json: "merchantAccountCode", js: "merchantAccountCode", typ: "" }, + { json: "merchantReference", js: "merchantReference", typ: "" }, + { json: "operations", js: "operations", typ: u(undefined, a("")) }, + { json: "originalReference", js: "originalReference", typ: u(undefined, "") }, + { json: "paymentMethod", js: "paymentMethod", typ: "" }, + { json: "pspReference", js: "pspReference", typ: "" }, + { json: "reason", js: "reason", typ: "" }, + { json: "success", js: "success", typ: "" }, + ], false), + "Amount": o([ + { json: "currency", js: "currency", typ: "" }, + { json: "value", js: "value", typ: 0 }, + ], false), +}; +//# sourceMappingURL=notification.js.map \ No newline at end of file diff --git a/dist/lib/typings/notification.js.map b/dist/lib/typings/notification.js.map new file mode 100644 index 0000000..1e38ae8 --- /dev/null +++ b/dist/lib/typings/notification.js.map @@ -0,0 +1 @@ +{"version":3,"file":"notification.js","sourceRoot":"","sources":["../../../src/typings/notification.ts"],"names":[],"mappings":";AAAA,sBAAsB;AACtB,EAAE;AACF,oDAAoD;AACpD,EAAE;AACF,uDAAuD;AACvD,EAAE;AACF,0DAA0D;AAC1D,2DAA2D;;AAmC3D,IAAY,gBAgBX;AAhBD,WAAY,gBAAgB;IACxB,8DAA0C,CAAA;IAE1C,aAAa;IACb,4DAAwC,CAAA;IACxC,gDAA4B,CAAA;IAC5B,oEAAgD,CAAA;IAChD,kDAA8B,CAAA;IAC9B,gEAA4C,CAAA;IAC5C,8DAA0C,CAAA;IAC1C,sEAAkD,CAAA;IAClD,oEAAgD,CAAA;IAEhD,iBAAiB;IACjB,yEAAqD,CAAA;IACrD,4FAAwE,CAAA;AAC5E,CAAC,EAhBW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAgB3B;AAED,2CAA2C;AAC3C,mDAAmD;AACnD;IAAA;IAQA,CAAC;IAPiB,sBAAc,GAA5B,UAA6B,IAAY;QACrC,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC;IACrD,CAAC;IAEa,0BAAkB,GAAhC,UAAiC,KAAmB;QAChD,OAAO,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IACrE,CAAC;IACL,cAAC;AAAD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,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,EAAE,EAAE,EAAE;QAC7C,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,EAAE;KACzC,EAAE,KAAK,CAAC;CACZ,CAAC"} \ No newline at end of file diff --git a/dist/lib/typings/payments/accountInfo.d.ts b/dist/lib/typings/payments/accountInfo.d.ts new file mode 100644 index 0000000..c3b6d87 --- /dev/null +++ b/dist/lib/typings/payments/accountInfo.d.ts @@ -0,0 +1,125 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface AccountInfo { + /** + * Indicator for the length of time since this shopper account was created in the merchant's environment. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + */ + accountAgeIndicator?: AccountInfo.AccountAgeIndicatorEnum; + /** + * Date when the shopper's account was last changed. + */ + accountChangeDate?: Date; + /** + * Indicator for the length of time since the shopper's account was last updated. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + */ + accountChangeIndicator?: AccountInfo.AccountChangeIndicatorEnum; + /** + * Date when the shopper's account was created. + */ + accountCreationDate?: Date; + /** + * Number of attempts the shopper tried to add a card to their account in the last day. + */ + addCardAttemptsDay?: number; + /** + * Date the selected delivery address was last used. + */ + deliveryAddressUsageDate?: Date; + /** + * Indicator for the length of time since this delivery address was last used. Allowed values: * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + */ + deliveryAddressUsageIndicator?: AccountInfo.DeliveryAddressUsageIndicatorEnum; + /** + * Shopper's home phone number (including the country code). + */ + homePhone?: string; + /** + * Shopper's mobile phone number (including the country code). + */ + mobilePhone?: string; + /** + * Date when the shopper last changed their password. + */ + passwordChangeDate?: Date; + /** + * Indicator when the shopper has changed their password. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + */ + passwordChangeIndicator?: AccountInfo.PasswordChangeIndicatorEnum; + /** + * Number of all transactions (successful and abandoned) from this shopper in the past 24 hours. + */ + pastTransactionsDay?: number; + /** + * Number of all transactions (successful and abandoned) from this shopper in the past year. + */ + pastTransactionsYear?: number; + /** + * Date this payment method was added to the shopper's account. + */ + paymentAccountAge?: Date; + /** + * Indicator for the length of time since this payment method was added to this shopper's account. Allowed values: * notApplicable * thisTransaction * lessThan30Days * from30To60Days * moreThan60Days + */ + paymentAccountIndicator?: AccountInfo.PaymentAccountIndicatorEnum; + /** + * Number of successful purchases in the last six months. + */ + purchasesLast6Months?: number; + /** + * Whether suspicious activity was recorded on this account. + */ + suspiciousActivity?: boolean; + /** + * Shopper's work phone number (including the country code). + */ + workPhone?: string; +} +export declare namespace AccountInfo { + type AccountAgeIndicatorEnum = 'notApplicable' | 'thisTransaction' | 'lessThan30Days' | 'from30To60Days' | 'moreThan60Days'; + const AccountAgeIndicatorEnum: { + NotApplicable: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + ThisTransaction: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + LessThan30Days: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + From30To60Days: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + MoreThan60Days: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + }; + type AccountChangeIndicatorEnum = 'thisTransaction' | 'lessThan30Days' | 'from30To60Days' | 'moreThan60Days'; + const AccountChangeIndicatorEnum: { + ThisTransaction: import("../checkout").AccountInfo.AccountChangeIndicatorEnum; + LessThan30Days: import("../checkout").AccountInfo.AccountChangeIndicatorEnum; + From30To60Days: import("../checkout").AccountInfo.AccountChangeIndicatorEnum; + MoreThan60Days: import("../checkout").AccountInfo.AccountChangeIndicatorEnum; + }; + type DeliveryAddressUsageIndicatorEnum = 'thisTransaction' | 'lessThan30Days' | 'from30To60Days' | 'moreThan60Days'; + const DeliveryAddressUsageIndicatorEnum: { + ThisTransaction: import("../checkout").AccountInfo.AccountChangeIndicatorEnum; + LessThan30Days: import("../checkout").AccountInfo.AccountChangeIndicatorEnum; + From30To60Days: import("../checkout").AccountInfo.AccountChangeIndicatorEnum; + MoreThan60Days: import("../checkout").AccountInfo.AccountChangeIndicatorEnum; + }; + type PasswordChangeIndicatorEnum = 'notApplicable' | 'thisTransaction' | 'lessThan30Days' | 'from30To60Days' | 'moreThan60Days'; + const PasswordChangeIndicatorEnum: { + NotApplicable: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + ThisTransaction: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + LessThan30Days: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + From30To60Days: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + MoreThan60Days: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + }; + type PaymentAccountIndicatorEnum = 'notApplicable' | 'thisTransaction' | 'lessThan30Days' | 'from30To60Days' | 'moreThan60Days'; + const PaymentAccountIndicatorEnum: { + NotApplicable: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + ThisTransaction: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + LessThan30Days: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + From30To60Days: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + MoreThan60Days: import("../checkout").AccountInfo.AccountAgeIndicatorEnum; + }; +} diff --git a/dist/lib/typings/payments/accountInfo.js b/dist/lib/typings/payments/accountInfo.js new file mode 100644 index 0000000..93297a1 --- /dev/null +++ b/dist/lib/typings/payments/accountInfo.js @@ -0,0 +1,50 @@ +"use strict"; +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var AccountInfo; +(function (AccountInfo) { + AccountInfo.AccountAgeIndicatorEnum = { + NotApplicable: 'notApplicable', + ThisTransaction: 'thisTransaction', + LessThan30Days: 'lessThan30Days', + From30To60Days: 'from30To60Days', + MoreThan60Days: 'moreThan60Days' + }; + AccountInfo.AccountChangeIndicatorEnum = { + ThisTransaction: 'thisTransaction', + LessThan30Days: 'lessThan30Days', + From30To60Days: 'from30To60Days', + MoreThan60Days: 'moreThan60Days' + }; + AccountInfo.DeliveryAddressUsageIndicatorEnum = { + ThisTransaction: 'thisTransaction', + LessThan30Days: 'lessThan30Days', + From30To60Days: 'from30To60Days', + MoreThan60Days: 'moreThan60Days' + }; + AccountInfo.PasswordChangeIndicatorEnum = { + NotApplicable: 'notApplicable', + ThisTransaction: 'thisTransaction', + LessThan30Days: 'lessThan30Days', + From30To60Days: 'from30To60Days', + MoreThan60Days: 'moreThan60Days' + }; + AccountInfo.PaymentAccountIndicatorEnum = { + NotApplicable: 'notApplicable', + ThisTransaction: 'thisTransaction', + LessThan30Days: 'lessThan30Days', + From30To60Days: 'from30To60Days', + MoreThan60Days: 'moreThan60Days' + }; +})(AccountInfo = exports.AccountInfo || (exports.AccountInfo = {})); +//# sourceMappingURL=accountInfo.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/accountInfo.js.map b/dist/lib/typings/payments/accountInfo.js.map new file mode 100644 index 0000000..b62cffa --- /dev/null +++ b/dist/lib/typings/payments/accountInfo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"accountInfo.js","sourceRoot":"","sources":["../../../../src/typings/payments/accountInfo.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;AA4EH,IAAiB,WAAW,CAuC3B;AAvCD,WAAiB,WAAW;IAEX,mCAAuB,GAAG;QACnC,aAAa,EAAE,eAA0C;QACzD,eAAe,EAAE,iBAA4C;QAC7D,cAAc,EAAE,gBAA2C;QAC3D,cAAc,EAAE,gBAA2C;QAC3D,cAAc,EAAE,gBAA2C;KAC9D,CAAC;IAEW,sCAA0B,GAAG;QACtC,eAAe,EAAE,iBAA+C;QAChE,cAAc,EAAE,gBAA8C;QAC9D,cAAc,EAAE,gBAA8C;QAC9D,cAAc,EAAE,gBAA8C;KACjE,CAAC;IAEW,6CAAiC,GAAG;QAC7C,eAAe,EAAE,iBAAsD;QACvE,cAAc,EAAE,gBAAqD;QACrE,cAAc,EAAE,gBAAqD;QACrE,cAAc,EAAE,gBAAqD;KACxE,CAAC;IAEW,uCAA2B,GAAG;QACvC,aAAa,EAAE,eAA8C;QAC7D,eAAe,EAAE,iBAAgD;QACjE,cAAc,EAAE,gBAA+C;QAC/D,cAAc,EAAE,gBAA+C;QAC/D,cAAc,EAAE,gBAA+C;KAClE,CAAC;IAEW,uCAA2B,GAAG;QACvC,aAAa,EAAE,eAA8C;QAC7D,eAAe,EAAE,iBAAgD;QACjE,cAAc,EAAE,gBAA+C;QAC/D,cAAc,EAAE,gBAA+C;QAC/D,cAAc,EAAE,gBAA+C;KAClE,CAAC;AACN,CAAC,EAvCgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAuC3B"} \ No newline at end of file diff --git a/dist/lib/typings/payments/address.d.ts b/dist/lib/typings/payments/address.d.ts new file mode 100644 index 0000000..ef65b68 --- /dev/null +++ b/dist/lib/typings/payments/address.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Address { + /** + * The name of the city. >Required if either houseNumberOrName, street, postalCode, or stateOrProvince are provided. + */ + city?: string; + /** + * The two-character country code of the address. The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. 'NL'). > If you don't know the country or are not collecting the country from the shopper, provide `countryCode` as `ZZ`. + */ + country: string; + /** + * The number or name of the house. + */ + houseNumberOrName?: string; + /** + * The postal code. >A maximum of five (5) digits for an address in the USA, or a maximum of ten (10) characters for an address in all other countries. + */ + postalCode?: string; + /** + * The abbreviation of the state or province. >Two (2) characters for an address in the USA or Canada, or a maximum of three (3) characters for an address in all other countries. >Required for an address in the USA or Canada if either houseNumberOrName, street, city, or postalCode are provided. + */ + stateOrProvince?: string; + /** + * The name of the street. >The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. >Required if either houseNumberOrName, city, postalCode, or stateOrProvince are provided. + */ + street?: string; +} diff --git a/dist/lib/typings/payments/address.js b/dist/lib/typings/payments/address.js new file mode 100644 index 0000000..7eb142f --- /dev/null +++ b/dist/lib/typings/payments/address.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=address.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/address.js.map b/dist/lib/typings/payments/address.js.map new file mode 100644 index 0000000..60d8617 --- /dev/null +++ b/dist/lib/typings/payments/address.js.map @@ -0,0 +1 @@ +{"version":3,"file":"address.js","sourceRoot":"","sources":["../../../../src/typings/payments/address.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/payments/amount.d.ts b/dist/lib/typings/payments/amount.d.ts new file mode 100644 index 0000000..2fa0f80 --- /dev/null +++ b/dist/lib/typings/payments/amount.d.ts @@ -0,0 +1,21 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Amount { + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + */ + currency: string; + /** + * The payable amount that can be charged for the transaction. The transaction amount needs to be represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). + */ + value: number; +} diff --git a/dist/lib/typings/payments/amount.js b/dist/lib/typings/payments/amount.js new file mode 100644 index 0000000..efdcaae --- /dev/null +++ b/dist/lib/typings/payments/amount.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=amount.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/amount.js.map b/dist/lib/typings/payments/amount.js.map new file mode 100644 index 0000000..f139553 --- /dev/null +++ b/dist/lib/typings/payments/amount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"amount.js","sourceRoot":"","sources":["../../../../src/typings/payments/amount.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/payments/bankAccount.d.ts b/dist/lib/typings/payments/bankAccount.d.ts new file mode 100644 index 0000000..01c78ea --- /dev/null +++ b/dist/lib/typings/payments/bankAccount.d.ts @@ -0,0 +1,49 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface BankAccount { + /** + * The bank account number (without separators). + */ + bankAccountNumber?: string; + /** + * The bank city. + */ + bankCity?: string; + /** + * The location id of the bank. The field value is `nil` in most cases. + */ + bankLocationId?: string; + /** + * The name of the bank. + */ + bankName?: string; + /** + * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. + */ + bic?: string; + /** + * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). + */ + countryCode?: string; + /** + * The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN). + */ + iban?: string; + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + */ + ownerName?: string; + /** + * The bank account holder's tax ID. + */ + taxId?: string; +} diff --git a/dist/lib/typings/payments/bankAccount.js b/dist/lib/typings/payments/bankAccount.js new file mode 100644 index 0000000..4d55dfc --- /dev/null +++ b/dist/lib/typings/payments/bankAccount.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=bankAccount.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/bankAccount.js.map b/dist/lib/typings/payments/bankAccount.js.map new file mode 100644 index 0000000..c6c6896 --- /dev/null +++ b/dist/lib/typings/payments/bankAccount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bankAccount.js","sourceRoot":"","sources":["../../../../src/typings/payments/bankAccount.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/payments/browserInfo.d.ts b/dist/lib/typings/payments/browserInfo.d.ts new file mode 100644 index 0000000..33231be --- /dev/null +++ b/dist/lib/typings/payments/browserInfo.d.ts @@ -0,0 +1,49 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface BrowserInfo { + /** + * The accept header value of the shopper's browser. + */ + acceptHeader: string; + /** + * The color depth of the shopper's browser in bits per pixel. This should be obtained by using the browser's `screen.colorDepth` property. Accepted values: 1, 4, 8, 15, 16, 24, 32 or 48 bit color depth. + */ + colorDepth: number; + /** + * Boolean value indicating if the shopper's browser is able to execute Java. + */ + javaEnabled: boolean; + /** + * Boolean value indicating if the shopper's browser is able to execute JavaScript. A default 'true' value is assumed if the field is not present. + */ + javaScriptEnabled?: boolean; + /** + * The `navigator.language` value of the shopper's browser (as defined in IETF BCP 47). + */ + language: string; + /** + * The total height of the shopper's device screen in pixels. + */ + screenHeight: number; + /** + * The total width of the shopper's device screen in pixels. + */ + screenWidth: number; + /** + * Time difference between UTC time and the shopper's browser local time, in minutes. + */ + timeZoneOffset: number; + /** + * The user agent value of the shopper's browser. + */ + userAgent: string; +} diff --git a/dist/lib/typings/payments/browserInfo.js b/dist/lib/typings/payments/browserInfo.js new file mode 100644 index 0000000..6c60b69 --- /dev/null +++ b/dist/lib/typings/payments/browserInfo.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=browserInfo.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/browserInfo.js.map b/dist/lib/typings/payments/browserInfo.js.map new file mode 100644 index 0000000..255e087 --- /dev/null +++ b/dist/lib/typings/payments/browserInfo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"browserInfo.js","sourceRoot":"","sources":["../../../../src/typings/payments/browserInfo.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/payments/card.d.ts b/dist/lib/typings/payments/card.d.ts new file mode 100644 index 0000000..3c8cd1b --- /dev/null +++ b/dist/lib/typings/payments/card.d.ts @@ -0,0 +1,45 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Card { + /** + * The [card verification code](https://docs.adyen.com/payments-essentials/payment-glossary#card_security_code_cvc_cvv_cid_) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. + */ + cvc?: string; + /** + * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November + */ + expiryMonth: string; + /** + * The card expiry year. Format: 4 digits. For example: 2020 + */ + expiryYear: string; + /** + * The name of the cardholder, as printed on the card. + */ + holderName: string; + /** + * The issue number of the card (for some UK debit cards only). + */ + issueNumber?: string; + /** + * The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned. + */ + number: string; + /** + * The month component of the start date (for some UK debit cards only). + */ + startMonth?: string; + /** + * The year component of the start date (for some UK debit cards only). + */ + startYear?: string; +} diff --git a/dist/lib/typings/payments/card.js b/dist/lib/typings/payments/card.js new file mode 100644 index 0000000..8a59454 --- /dev/null +++ b/dist/lib/typings/payments/card.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=card.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/card.js.map b/dist/lib/typings/payments/card.js.map new file mode 100644 index 0000000..c993408 --- /dev/null +++ b/dist/lib/typings/payments/card.js.map @@ -0,0 +1 @@ +{"version":3,"file":"card.js","sourceRoot":"","sources":["../../../../src/typings/payments/card.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/payments/deviceRenderOptions.d.ts b/dist/lib/typings/payments/deviceRenderOptions.d.ts new file mode 100644 index 0000000..aa9e4bc --- /dev/null +++ b/dist/lib/typings/payments/deviceRenderOptions.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface DeviceRenderOptions { + /** + * Supported SDK interface types. Allowed values: * Native * Html * both + */ + sdkInterface?: DeviceRenderOptions.SdkInterfaceEnum; + /** + * UI types supported for displaying specific challenges. Allowed values: * text * singleSelect * outOfBand * otherHtml * multiSelect + */ + sdkUiType?: DeviceRenderOptions.SdkUiTypeEnum[]; +} +export declare namespace DeviceRenderOptions { + type SdkInterfaceEnum = 'Html' | 'Native' | 'both'; + const SdkInterfaceEnum: { + Html: import("../checkout").DeviceRenderOptions.SdkInterfaceEnum; + Native: import("../checkout").DeviceRenderOptions.SdkInterfaceEnum; + Both: import("../checkout").DeviceRenderOptions.SdkInterfaceEnum; + }; + type SdkUiTypeEnum = 'multiSelect' | 'otherHtml' | 'outOfBand' | 'singleSelect' | 'text'; + const SdkUiTypeEnum: { + MultiSelect: import("../checkout").DeviceRenderOptions.SdkUiTypeEnum; + OtherHtml: import("../checkout").DeviceRenderOptions.SdkUiTypeEnum; + OutOfBand: import("../checkout").DeviceRenderOptions.SdkUiTypeEnum; + SingleSelect: import("../checkout").DeviceRenderOptions.SdkUiTypeEnum; + Text: import("../checkout").DeviceRenderOptions.SdkUiTypeEnum; + }; +} diff --git a/dist/lib/typings/payments/deviceRenderOptions.js b/dist/lib/typings/payments/deviceRenderOptions.js new file mode 100644 index 0000000..445c09a --- /dev/null +++ b/dist/lib/typings/payments/deviceRenderOptions.js @@ -0,0 +1,29 @@ +"use strict"; +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var DeviceRenderOptions; +(function (DeviceRenderOptions) { + DeviceRenderOptions.SdkInterfaceEnum = { + Html: 'Html', + Native: 'Native', + Both: 'both' + }; + DeviceRenderOptions.SdkUiTypeEnum = { + MultiSelect: 'multiSelect', + OtherHtml: 'otherHtml', + OutOfBand: 'outOfBand', + SingleSelect: 'singleSelect', + Text: 'text' + }; +})(DeviceRenderOptions = exports.DeviceRenderOptions || (exports.DeviceRenderOptions = {})); +//# sourceMappingURL=deviceRenderOptions.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/deviceRenderOptions.js.map b/dist/lib/typings/payments/deviceRenderOptions.js.map new file mode 100644 index 0000000..34fd337 --- /dev/null +++ b/dist/lib/typings/payments/deviceRenderOptions.js.map @@ -0,0 +1 @@ +{"version":3,"file":"deviceRenderOptions.js","sourceRoot":"","sources":["../../../../src/typings/payments/deviceRenderOptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;AAYH,IAAiB,mBAAmB,CAenC;AAfD,WAAiB,mBAAmB;IAEnB,oCAAgB,GAAG;QAC5B,IAAI,EAAE,MAA0B;QAChC,MAAM,EAAE,QAA4B;QACpC,IAAI,EAAE,MAA0B;KACnC,CAAC;IAEW,iCAAa,GAAG;QACzB,WAAW,EAAE,aAA8B;QAC3C,SAAS,EAAE,WAA4B;QACvC,SAAS,EAAE,WAA4B;QACvC,YAAY,EAAE,cAA+B;QAC7C,IAAI,EAAE,MAAuB;KAChC,CAAC;AACN,CAAC,EAfgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAenC"} \ No newline at end of file diff --git a/dist/lib/typings/payments/forexQuote.d.ts b/dist/lib/typings/payments/forexQuote.d.ts new file mode 100644 index 0000000..eeea38a --- /dev/null +++ b/dist/lib/typings/payments/forexQuote.d.ts @@ -0,0 +1,49 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Amount } from './amount'; +export interface ForexQuote { + /** + * The account name. + */ + account?: string; + /** + * The account type. + */ + accountType?: string; + baseAmount?: Amount; + /** + * The base points. + */ + basePoints: number; + buy?: Amount; + interbank?: Amount; + /** + * The reference assigned to the forex quote request. + */ + reference?: string; + sell?: Amount; + /** + * The signature to validate the integrity. + */ + signature?: string; + /** + * The source of the forex quote. + */ + source?: string; + /** + * The type of forex. + */ + type?: string; + /** + * The date until which the forex quote is valid. + */ + validTill: Date; +} diff --git a/dist/lib/typings/payments/forexQuote.js b/dist/lib/typings/payments/forexQuote.js new file mode 100644 index 0000000..b5470a0 --- /dev/null +++ b/dist/lib/typings/payments/forexQuote.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=forexQuote.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/forexQuote.js.map b/dist/lib/typings/payments/forexQuote.js.map new file mode 100644 index 0000000..7c329f4 --- /dev/null +++ b/dist/lib/typings/payments/forexQuote.js.map @@ -0,0 +1 @@ +{"version":3,"file":"forexQuote.js","sourceRoot":"","sources":["../../../../src/typings/payments/forexQuote.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib/typings/payments/fraudCheckResult.d.ts b/dist/lib/typings/payments/fraudCheckResult.d.ts new file mode 100644 index 0000000..5af682e --- /dev/null +++ b/dist/lib/typings/payments/fraudCheckResult.d.ts @@ -0,0 +1,25 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface FraudCheckResult { + /** + * The fraud score generated by the risk check. + */ + accountScore: number; + /** + * The ID of the risk check. + */ + checkId: number; + /** + * The name of the risk check. + */ + name: string; +} diff --git a/dist/lib/typings/payments/fraudCheckResult.js b/dist/lib/typings/payments/fraudCheckResult.js new file mode 100644 index 0000000..e71bd26 --- /dev/null +++ b/dist/lib/typings/payments/fraudCheckResult.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=fraudCheckResult.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/fraudCheckResult.js.map b/dist/lib/typings/payments/fraudCheckResult.js.map new file mode 100644 index 0000000..dbd0cd8 --- /dev/null +++ b/dist/lib/typings/payments/fraudCheckResult.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fraudCheckResult.js","sourceRoot":"","sources":["../../../../src/typings/payments/fraudCheckResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/payments/fraudResult.d.ts b/dist/lib/typings/payments/fraudResult.d.ts new file mode 100644 index 0000000..348d8f6 --- /dev/null +++ b/dist/lib/typings/payments/fraudResult.d.ts @@ -0,0 +1,21 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { FraudCheckResult } from './fraudCheckResult'; +export interface FraudResult { + /** + * The total fraud score generated by the risk checks. + */ + accountScore: number; + /** + * The result of the individual risk checks. + */ + results?: FraudCheckResult[]; +} diff --git a/dist/lib/typings/payments/fraudResult.js b/dist/lib/typings/payments/fraudResult.js new file mode 100644 index 0000000..a5d7b00 --- /dev/null +++ b/dist/lib/typings/payments/fraudResult.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=fraudResult.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/fraudResult.js.map b/dist/lib/typings/payments/fraudResult.js.map new file mode 100644 index 0000000..8a2e89a --- /dev/null +++ b/dist/lib/typings/payments/fraudResult.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fraudResult.js","sourceRoot":"","sources":["../../../../src/typings/payments/fraudResult.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib/typings/payments/index.d.ts b/dist/lib/typings/payments/index.d.ts new file mode 100644 index 0000000..c5fb220 --- /dev/null +++ b/dist/lib/typings/payments/index.d.ts @@ -0,0 +1,28 @@ +export * from './accountInfo'; +export * from './address'; +export * from './amount'; +export * from './bankAccount'; +export * from './browserInfo'; +export * from './card'; +export * from './deviceRenderOptions'; +export * from './forexQuote'; +export * from './fraudCheckResult'; +export * from './fraudResult'; +export * from './installments'; +export * from './merchantRiskIndicator'; +export * from './modificationRequest'; +export * from './modificationResult'; +export * from './name'; +export * from './paymentRequest'; +export * from './paymentRequest3d'; +export * from './paymentRequest3ds2'; +export * from './paymentResult'; +export * from './recurring'; +export * from './sDKEphemPubKey'; +export * from './split'; +export * from './splitAmount'; +export * from './threeDS2RequestData'; +export * from './threeDS2Result'; +export * from './threeDS2ResultRequest'; +export * from './threeDS2ResultResponse'; +export * from './threeDSecureData'; diff --git a/dist/lib/typings/payments/index.js b/dist/lib/typings/payments/index.js new file mode 100644 index 0000000..3dc76e2 --- /dev/null +++ b/dist/lib/typings/payments/index.js @@ -0,0 +1,19 @@ +"use strict"; +function __export(m) { + for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; +} +Object.defineProperty(exports, "__esModule", { value: true }); +__export(require("./accountInfo")); +__export(require("./deviceRenderOptions")); +__export(require("./merchantRiskIndicator")); +__export(require("./modificationResult")); +__export(require("./name")); +__export(require("./paymentRequest")); +__export(require("./paymentRequest3d")); +__export(require("./paymentRequest3ds2")); +__export(require("./paymentResult")); +__export(require("./recurring")); +__export(require("./split")); +__export(require("./threeDS2RequestData")); +__export(require("./threeDSecureData")); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/index.js.map b/dist/lib/typings/payments/index.js.map new file mode 100644 index 0000000..ffa14a5 --- /dev/null +++ b/dist/lib/typings/payments/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/typings/payments/index.ts"],"names":[],"mappings":";;;;;AAAA,mCAA8B;AAM9B,2CAAsC;AAKtC,6CAAwC;AAExC,0CAAqC;AACrC,4BAAuB;AACvB,sCAAiC;AACjC,wCAAmC;AACnC,0CAAqC;AACrC,qCAAgC;AAChC,iCAA4B;AAE5B,6BAAwB;AAExB,2CAAsC;AAItC,wCAAmC"} \ No newline at end of file diff --git a/dist/lib/typings/payments/installments.d.ts b/dist/lib/typings/payments/installments.d.ts new file mode 100644 index 0000000..1d4b21d --- /dev/null +++ b/dist/lib/typings/payments/installments.d.ts @@ -0,0 +1,17 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Installments { + /** + * Defines the number of installments. Its value needs to be greater than zero. Usually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary. + */ + value: number; +} diff --git a/dist/lib/typings/payments/installments.js b/dist/lib/typings/payments/installments.js new file mode 100644 index 0000000..f3f5313 --- /dev/null +++ b/dist/lib/typings/payments/installments.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=installments.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/installments.js.map b/dist/lib/typings/payments/installments.js.map new file mode 100644 index 0000000..af1890b --- /dev/null +++ b/dist/lib/typings/payments/installments.js.map @@ -0,0 +1 @@ +{"version":3,"file":"installments.js","sourceRoot":"","sources":["../../../../src/typings/payments/installments.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/payments/merchantRiskIndicator.d.ts b/dist/lib/typings/payments/merchantRiskIndicator.d.ts new file mode 100644 index 0000000..9ae29b7 --- /dev/null +++ b/dist/lib/typings/payments/merchantRiskIndicator.d.ts @@ -0,0 +1,65 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Amount } from './amount'; +export interface MerchantRiskIndicator { + /** + * Whether the chosen delivery address is identical to the billing address. + */ + addressMatch?: boolean; + /** + * Indicator regarding the delivery address. Allowed values: * `shipToBillingAddress` * `shipToVerifiedAddress` * `shipToNewAddress` * `shipToStore` * `digitalGoods` * `goodsNotShipped` * `other` + */ + deliveryAddressIndicator?: MerchantRiskIndicator.DeliveryAddressIndicatorEnum; + /** + * The delivery email address (for digital goods). + */ + deliveryEmail?: string; + /** + * The estimated delivery time for the shopper to receive the goods. Allowed values: * `electronicDelivery` * `sameDayShipping` * `overnightShipping` * `twoOrMoreDaysShipping` + */ + deliveryTimeframe?: MerchantRiskIndicator.DeliveryTimeframeEnum; + giftCardAmount?: Amount; + /** + * Number of individual prepaid or gift cards used for this purchase. + */ + giftCardCount?: number; + /** + * For pre-order purchases, the expected date this product will be available to the shopper. + */ + preOrderDate?: Date; + /** + * Indicator for whether this transaction is for pre-ordering a product. + */ + preOrderPurchase?: boolean; + /** + * Indicator for whether the shopper has already purchased the same items in the past. + */ + reorderItems?: boolean; +} +export declare namespace MerchantRiskIndicator { + type DeliveryAddressIndicatorEnum = 'shipToBillingAddress' | 'shipToVerifiedAddress' | 'shipToNewAddress' | 'shipToStore' | 'digitalGoods' | 'goodsNotShipped' | 'other'; + const DeliveryAddressIndicatorEnum: { + ShipToBillingAddress: import("../checkout").MerchantRiskIndicator.DeliveryAddressIndicatorEnum; + ShipToVerifiedAddress: import("../checkout").MerchantRiskIndicator.DeliveryAddressIndicatorEnum; + ShipToNewAddress: import("../checkout").MerchantRiskIndicator.DeliveryAddressIndicatorEnum; + ShipToStore: import("../checkout").MerchantRiskIndicator.DeliveryAddressIndicatorEnum; + DigitalGoods: import("../checkout").MerchantRiskIndicator.DeliveryAddressIndicatorEnum; + GoodsNotShipped: import("../checkout").MerchantRiskIndicator.DeliveryAddressIndicatorEnum; + Other: import("../checkout").MerchantRiskIndicator.DeliveryAddressIndicatorEnum; + }; + type DeliveryTimeframeEnum = 'electronicDelivery' | 'sameDayShipping' | 'overnightShipping' | 'twoOrMoreDaysShipping'; + const DeliveryTimeframeEnum: { + ElectronicDelivery: import("../checkout").MerchantRiskIndicator.DeliveryTimeframeEnum; + SameDayShipping: import("../checkout").MerchantRiskIndicator.DeliveryTimeframeEnum; + OvernightShipping: import("../checkout").MerchantRiskIndicator.DeliveryTimeframeEnum; + TwoOrMoreDaysShipping: import("../checkout").MerchantRiskIndicator.DeliveryTimeframeEnum; + }; +} diff --git a/dist/lib/typings/payments/merchantRiskIndicator.js b/dist/lib/typings/payments/merchantRiskIndicator.js new file mode 100644 index 0000000..07437c5 --- /dev/null +++ b/dist/lib/typings/payments/merchantRiskIndicator.js @@ -0,0 +1,21 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var MerchantRiskIndicator; +(function (MerchantRiskIndicator) { + MerchantRiskIndicator.DeliveryAddressIndicatorEnum = { + ShipToBillingAddress: 'shipToBillingAddress', + ShipToVerifiedAddress: 'shipToVerifiedAddress', + ShipToNewAddress: 'shipToNewAddress', + ShipToStore: 'shipToStore', + DigitalGoods: 'digitalGoods', + GoodsNotShipped: 'goodsNotShipped', + Other: 'other' + }; + MerchantRiskIndicator.DeliveryTimeframeEnum = { + ElectronicDelivery: 'electronicDelivery', + SameDayShipping: 'sameDayShipping', + OvernightShipping: 'overnightShipping', + TwoOrMoreDaysShipping: 'twoOrMoreDaysShipping' + }; +})(MerchantRiskIndicator = exports.MerchantRiskIndicator || (exports.MerchantRiskIndicator = {})); +//# sourceMappingURL=merchantRiskIndicator.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/merchantRiskIndicator.js.map b/dist/lib/typings/payments/merchantRiskIndicator.js.map new file mode 100644 index 0000000..fe0133f --- /dev/null +++ b/dist/lib/typings/payments/merchantRiskIndicator.js.map @@ -0,0 +1 @@ +{"version":3,"file":"merchantRiskIndicator.js","sourceRoot":"","sources":["../../../../src/typings/payments/merchantRiskIndicator.ts"],"names":[],"mappings":";;AAgDA,IAAiB,qBAAqB,CAkBrC;AAlBD,WAAiB,qBAAqB;IAErB,kDAA4B,GAAG;QACxC,oBAAoB,EAAE,sBAAsD;QAC5E,qBAAqB,EAAE,uBAAuD;QAC9E,gBAAgB,EAAE,kBAAkD;QACpE,WAAW,EAAE,aAA6C;QAC1D,YAAY,EAAE,cAA8C;QAC5D,eAAe,EAAE,iBAAiD;QAClE,KAAK,EAAE,OAAuC;KACjD,CAAC;IAEW,2CAAqB,GAAG;QACjC,kBAAkB,EAAE,oBAA6C;QACjE,eAAe,EAAE,iBAA0C;QAC3D,iBAAiB,EAAE,mBAA4C;QAC/D,qBAAqB,EAAE,uBAAgD;KAC1E,CAAC;AACN,CAAC,EAlBgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAkBrC"} \ No newline at end of file diff --git a/dist/lib/typings/payments/modificationRequest.d.ts b/dist/lib/typings/payments/modificationRequest.d.ts new file mode 100644 index 0000000..4cd2bb2 --- /dev/null +++ b/dist/lib/typings/payments/modificationRequest.d.ts @@ -0,0 +1,49 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Amount } from './amount'; +import { Split } from './split'; +import { ThreeDSecureData } from './threeDSecureData'; +export interface ModificationRequest { + /** + * This field contains additional data, which may be required for a particular modification request. The additionalData object consists of entries, each of which includes the key and value. For more information on possible key-value pairs, refer to the [ModificationRequest.additionalData](https://docs.adyen.com/api-reference/payments-api/modificationrequest/modificationrequest-additionaldata) section. + */ + additionalData?: any; + /** + * The merchant account that is used to process the payment. + */ + merchantAccount: string; + modificationAmount?: Amount; + mpiData?: ThreeDSecureData; + /** + * The original merchant reference to cancel. + */ + originalMerchantReference?: string; + /** + * The original pspReference of the payment to modify. This reference is returned in: * authorisation response * authorisation notification + */ + originalReference: string; + /** + * Optionally, you can specify your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters. + */ + reference?: string; + /** + * The details of how the payment should be split when distributing a payment to a Marketpay Marketplace and its Accounts. + */ + splits?: Split[]; + /** + * The transaction reference provided by the PED. For point-of-sale integrations only. + */ + tenderReference?: string; + /** + * Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only. + */ + uniqueTerminalId?: string; +} diff --git a/dist/lib/typings/payments/modificationRequest.js b/dist/lib/typings/payments/modificationRequest.js new file mode 100644 index 0000000..5ffc4f0 --- /dev/null +++ b/dist/lib/typings/payments/modificationRequest.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=modificationRequest.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/modificationRequest.js.map b/dist/lib/typings/payments/modificationRequest.js.map new file mode 100644 index 0000000..63dcae2 --- /dev/null +++ b/dist/lib/typings/payments/modificationRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"modificationRequest.js","sourceRoot":"","sources":["../../../../src/typings/payments/modificationRequest.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib/typings/payments/modificationResult.d.ts b/dist/lib/typings/payments/modificationResult.d.ts new file mode 100644 index 0000000..8426dc5 --- /dev/null +++ b/dist/lib/typings/payments/modificationResult.d.ts @@ -0,0 +1,34 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface ModificationResult { + /** + * This field contains additional data, which may be returned in a particular modification response. + */ + additionalData?: any; + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. + */ + pspReference?: string; + /** + * Indicates if the modification request has been received for processing. + */ + response?: ModificationResult.ResponseEnum; +} +export declare namespace ModificationResult { + type ResponseEnum = '[capture-received]' | '[cancel-received]' | '[refund-received]' | '[cancelOrRefund-received]'; + const ResponseEnum: { + CaptureReceived: ResponseEnum; + CancelReceived: ResponseEnum; + RefundReceived: ResponseEnum; + CancelOrRefundReceived: ResponseEnum; + }; +} diff --git a/dist/lib/typings/payments/modificationResult.js b/dist/lib/typings/payments/modificationResult.js new file mode 100644 index 0000000..2bf718c --- /dev/null +++ b/dist/lib/typings/payments/modificationResult.js @@ -0,0 +1,23 @@ +"use strict"; +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var ModificationResult; +(function (ModificationResult) { + ModificationResult.ResponseEnum = { + CaptureReceived: '[capture-received]', + CancelReceived: '[cancel-received]', + RefundReceived: '[refund-received]', + CancelOrRefundReceived: '[cancelOrRefund-received]' + }; +})(ModificationResult = exports.ModificationResult || (exports.ModificationResult = {})); +//# sourceMappingURL=modificationResult.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/modificationResult.js.map b/dist/lib/typings/payments/modificationResult.js.map new file mode 100644 index 0000000..870c46a --- /dev/null +++ b/dist/lib/typings/payments/modificationResult.js.map @@ -0,0 +1 @@ +{"version":3,"file":"modificationResult.js","sourceRoot":"","sources":["../../../../src/typings/payments/modificationResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;AAgBH,IAAiB,kBAAkB,CAQlC;AARD,WAAiB,kBAAkB;IAElB,+BAAY,GAAG;QACxB,eAAe,EAAE,oBAAoC;QACrD,cAAc,EAAE,mBAAmC;QACnD,cAAc,EAAE,mBAAmC;QACnD,sBAAsB,EAAE,2BAA2C;KACtE,CAAC;AACN,CAAC,EARgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAQlC"} \ No newline at end of file diff --git a/dist/lib/typings/payments/name.d.ts b/dist/lib/typings/payments/name.d.ts new file mode 100644 index 0000000..d061020 --- /dev/null +++ b/dist/lib/typings/payments/name.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Name { + /** + * The first name. + */ + firstName: string; + /** + * The gender. >The following values are permitted: `MALE`, `FEMALE`, `UNKNOWN`. + */ + gender: Name.GenderEnum; + /** + * The name's infix, if applicable. >A maximum length of twenty (20) characters is imposed. + */ + infix?: string; + /** + * The last name. + */ + lastName: string; +} +export declare namespace Name { + type GenderEnum = 'MALE' | 'FEMALE' | 'UNKNOWN'; + const GenderEnum: { + MALE: import("../checkout").Name.GenderEnum; + FEMALE: import("../checkout").Name.GenderEnum; + UNKNOWN: import("../checkout").Name.GenderEnum; + }; +} diff --git a/dist/lib/typings/payments/name.js b/dist/lib/typings/payments/name.js new file mode 100644 index 0000000..e8a626e --- /dev/null +++ b/dist/lib/typings/payments/name.js @@ -0,0 +1,22 @@ +"use strict"; +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var Name; +(function (Name) { + Name.GenderEnum = { + MALE: 'MALE', + FEMALE: 'FEMALE', + UNKNOWN: 'UNKNOWN' + }; +})(Name = exports.Name || (exports.Name = {})); +//# sourceMappingURL=name.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/name.js.map b/dist/lib/typings/payments/name.js.map new file mode 100644 index 0000000..947a09d --- /dev/null +++ b/dist/lib/typings/payments/name.js.map @@ -0,0 +1 @@ +{"version":3,"file":"name.js","sourceRoot":"","sources":["../../../../src/typings/payments/name.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;AAoBH,IAAiB,IAAI,CAOpB;AAPD,WAAiB,IAAI;IAEJ,eAAU,GAAG;QACtB,IAAI,EAAE,MAAoB;QAC1B,MAAM,EAAE,QAAsB;QAC9B,OAAO,EAAE,SAAuB;KACnC,CAAC;AACN,CAAC,EAPgB,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAOpB"} \ No newline at end of file diff --git a/dist/lib/typings/payments/paymentRequest.d.ts b/dist/lib/typings/payments/paymentRequest.d.ts new file mode 100644 index 0000000..8cb6ee3 --- /dev/null +++ b/dist/lib/typings/payments/paymentRequest.d.ts @@ -0,0 +1,181 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { AccountInfo } from './accountInfo'; +import { Address } from './address'; +import { Amount } from './amount'; +import { BankAccount } from './bankAccount'; +import { BrowserInfo } from './browserInfo'; +import { Card } from './card'; +import { ForexQuote } from './forexQuote'; +import { Installments } from './installments'; +import { MerchantRiskIndicator } from './merchantRiskIndicator'; +import { Name } from './name'; +import { Recurring } from './recurring'; +import { Split } from './split'; +import { ThreeDS2RequestData } from './threeDS2RequestData'; +import { ThreeDSecureData } from './threeDSecureData'; +export interface PaymentRequest { + accountInfo?: AccountInfo; + additionalAmount?: Amount; + /** + * This field contains additional data, which may be required for a particular payment request. + */ + additionalData?: any; + amount: Amount; + bankAccount?: BankAccount; + billingAddress?: Address; + browserInfo?: BrowserInfo; + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + */ + captureDelayHours?: number; + card?: Card; + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + */ + dateOfBirth?: Date; + dccQuote?: ForexQuote; + deliveryAddress?: Address; + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + */ + deliveryDate?: Date; + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + */ + deviceFingerprint?: string; + /** + * The type of the entity the payment is processed for. + */ + entityType?: PaymentRequest.EntityTypeEnum; + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + */ + fraudOffset?: number; + installments?: Installments; + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + */ + mcc?: string; + /** + * The merchant account identifier, with which you want to process the transaction. + */ + merchantAccount: string; + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + */ + merchantOrderReference?: string; + merchantRiskIndicator?: MerchantRiskIndicator; + /** + * Metadata consists of entries, each of which includes a key and a value. Limitations: Error \"177\", \"Metadata size exceeds limit\" + */ + metadata?: any; + mpiData?: ThreeDSecureData; + /** + * The two-character country code of the shopper's nationality. + */ + nationality?: string; + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + */ + orderReference?: string; + recurring?: Recurring; + /** + * Defines a recurring payment type. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – Card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – A transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + */ + recurringProcessingModel?: PaymentRequest.RecurringProcessingModelEnum; + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + */ + reference: string; + /** + * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. + */ + selectedBrand?: string; + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + */ + selectedRecurringDetailReference?: string; + /** + * A session ID used to identify a payment session. + */ + sessionId?: string; + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require the `shopperEmail` for both `deviceChannel` **browser** and **app**. + */ + shopperEmail?: string; + /** + * The shopper's IP address. We recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > This field is mandatory for some merchants depending on your business model. For more information, [contact Support](https://support.adyen.com/hc/en-us/requests/new). + */ + shopperIP?: string; + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + */ + shopperInteraction?: PaymentRequest.ShopperInteractionEnum; + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + */ + shopperLocale?: string; + shopperName?: Name; + /** + * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). > This field is required for recurring payments. + */ + shopperReference?: string; + /** + * The text to appear on the shopper's bank statement. + */ + shopperStatement?: string; + /** + * The shopper's social security number. + */ + socialSecurityNumber?: string; + /** + * The details of how the payment should be split when distributing a payment to a MarketPay Marketplace and its Accounts. + */ + splits?: Split[]; + /** + * The physical store, for which this payment is processed. + */ + store?: string; + /** + * The shopper's telephone number. + */ + telephoneNumber?: string; + threeDS2RequestData?: ThreeDS2RequestData; + /** + * The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available). + */ + totalsGroup?: string; + /** + * Set to true if the payment should be routed to a trusted MID. + */ + trustedShopper?: boolean; +} +export declare namespace PaymentRequest { + type EntityTypeEnum = 'NaturalPerson' | 'CompanyName'; + const EntityTypeEnum: { + NaturalPerson: import("../checkout").PaymentRequest.EntityTypeEnum; + CompanyName: import("../checkout").PaymentRequest.EntityTypeEnum; + }; + type RecurringProcessingModelEnum = 'CardOnFile' | 'Subscription' | 'UnscheduledCardOnFile'; + const RecurringProcessingModelEnum: { + CardOnFile: import("../checkout").PaymentRequest.RecurringProcessingModelEnum; + Subscription: import("../checkout").PaymentRequest.RecurringProcessingModelEnum; + UnscheduledCardOnFile: import("../checkout").PaymentRequest.RecurringProcessingModelEnum; + }; + type ShopperInteractionEnum = 'Ecommerce' | 'ContAuth' | 'Moto' | 'POS'; + const ShopperInteractionEnum: { + Ecommerce: import("../binLookup").CostEstimateRequest.ShopperInteractionEnum; + ContAuth: import("../binLookup").CostEstimateRequest.ShopperInteractionEnum; + Moto: import("../binLookup").CostEstimateRequest.ShopperInteractionEnum; + POS: import("../binLookup").CostEstimateRequest.ShopperInteractionEnum; + }; +} diff --git a/dist/lib/typings/payments/paymentRequest.js b/dist/lib/typings/payments/paymentRequest.js new file mode 100644 index 0000000..5162614 --- /dev/null +++ b/dist/lib/typings/payments/paymentRequest.js @@ -0,0 +1,21 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var PaymentRequest; +(function (PaymentRequest) { + PaymentRequest.EntityTypeEnum = { + NaturalPerson: 'NaturalPerson', + CompanyName: 'CompanyName' + }; + PaymentRequest.RecurringProcessingModelEnum = { + CardOnFile: 'CardOnFile', + Subscription: 'Subscription', + UnscheduledCardOnFile: 'UnscheduledCardOnFile' + }; + PaymentRequest.ShopperInteractionEnum = { + Ecommerce: 'Ecommerce', + ContAuth: 'ContAuth', + Moto: 'Moto', + POS: 'POS' + }; +})(PaymentRequest = exports.PaymentRequest || (exports.PaymentRequest = {})); +//# sourceMappingURL=paymentRequest.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/paymentRequest.js.map b/dist/lib/typings/payments/paymentRequest.js.map new file mode 100644 index 0000000..8ee804a --- /dev/null +++ b/dist/lib/typings/payments/paymentRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentRequest.js","sourceRoot":"","sources":["../../../../src/typings/payments/paymentRequest.ts"],"names":[],"mappings":";;AAmKA,IAAiB,cAAc,CAmB9B;AAnBD,WAAiB,cAAc;IAEd,6BAAc,GAAG;QAC1B,aAAa,EAAE,eAAiC;QAChD,WAAW,EAAE,aAA+B;KAC/C,CAAC;IAEW,2CAA4B,GAAG;QACxC,UAAU,EAAE,YAA4C;QACxD,YAAY,EAAE,cAA8C;QAC5D,qBAAqB,EAAE,uBAAuD;KACjF,CAAC;IAEW,qCAAsB,GAAG;QAClC,SAAS,EAAE,WAAqC;QAChD,QAAQ,EAAE,UAAoC;QAC9C,IAAI,EAAE,MAAgC;QACtC,GAAG,EAAE,KAA+B;KACvC,CAAC;AACN,CAAC,EAnBgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAmB9B"} \ No newline at end of file diff --git a/dist/lib/typings/payments/paymentRequest3d.d.ts b/dist/lib/typings/payments/paymentRequest3d.d.ts new file mode 100644 index 0000000..089416c --- /dev/null +++ b/dist/lib/typings/payments/paymentRequest3d.d.ts @@ -0,0 +1,170 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { AccountInfo } from './accountInfo'; +import { Address } from './address'; +import { Amount } from './amount'; +import { BrowserInfo } from './browserInfo'; +import { ForexQuote } from './forexQuote'; +import { Installments } from './installments'; +import { MerchantRiskIndicator } from './merchantRiskIndicator'; +import { Name } from './name'; +import { Recurring } from './recurring'; +import { Split } from './split'; +import { ThreeDS2RequestData } from './threeDS2RequestData'; +export interface PaymentRequest3d { + accountInfo?: AccountInfo; + additionalAmount?: Amount; + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. For more information on possible key-value pairs, refer to the [additionalData section](https://docs.adyen.com/api-reference/payments-api#paymentrequestadditionaldata). + */ + additionalData?: any; + amount?: Amount; + billingAddress?: Address; + browserInfo?: BrowserInfo; + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + */ + captureDelayHours?: number; + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + */ + dateOfBirth?: Date; + dccQuote?: ForexQuote; + deliveryAddress?: Address; + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + */ + deliveryDate?: Date; + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + */ + deviceFingerprint?: string; + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + */ + fraudOffset?: number; + installments?: Installments; + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + */ + mcc?: string; + /** + * The payment session identifier returned by the card issuer. + */ + md: string; + /** + * The merchant account identifier, with which you want to process the transaction. + */ + merchantAccount: string; + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + */ + merchantOrderReference?: string; + merchantRiskIndicator?: MerchantRiskIndicator; + /** + * Metadata consists of entries, each of which includes a key and a value. Limitations: Error \"177\", \"Metadata size exceeds limit\" + */ + metadata?: any; + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + */ + orderReference?: string; + /** + * Payment authorisation response returned by the card issuer. The `paResponse` field holds the PaRes value received from the card issuer. + */ + paResponse: string; + recurring?: Recurring; + /** + * Defines a recurring payment type. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – Card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – A transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + */ + recurringProcessingModel?: PaymentRequest3d.RecurringProcessingModelEnum; + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + */ + reference?: string; + /** + * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. + */ + selectedBrand?: string; + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + */ + selectedRecurringDetailReference?: string; + /** + * A session ID used to identify a payment session. + */ + sessionId?: string; + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require the `shopperEmail` for both `deviceChannel` **browser** and **app**. + */ + shopperEmail?: string; + /** + * The shopper's IP address. We recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > This field is mandatory for some merchants depending on your business model. For more information, [contact Support](https://support.adyen.com/hc/en-us/requests/new). + */ + shopperIP?: string; + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + */ + shopperInteraction?: PaymentRequest3d.ShopperInteractionEnum; + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + */ + shopperLocale?: string; + shopperName?: Name; + /** + * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). > This field is required for recurring payments. + */ + shopperReference?: string; + /** + * The text to appear on the shopper's bank statement. + */ + shopperStatement?: string; + /** + * The shopper's social security number. + */ + socialSecurityNumber?: string; + /** + * The details of how the payment should be split when distributing a payment to a MarketPay Marketplace and its Accounts. + */ + splits?: Split[]; + /** + * The physical store, for which this payment is processed. + */ + store?: string; + /** + * The shopper's telephone number. + */ + telephoneNumber?: string; + threeDS2RequestData?: ThreeDS2RequestData; + /** + * The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available). + */ + totalsGroup?: string; + /** + * Set to true if the payment should be routed to a trusted MID. + */ + trustedShopper?: boolean; +} +export declare namespace PaymentRequest3d { + type RecurringProcessingModelEnum = 'CardOnFile' | 'Subscription' | 'UnscheduledCardOnFile'; + const RecurringProcessingModelEnum: { + CardOnFile: import("../checkout").PaymentRequest.RecurringProcessingModelEnum; + Subscription: import("../checkout").PaymentRequest.RecurringProcessingModelEnum; + UnscheduledCardOnFile: import("../checkout").PaymentRequest.RecurringProcessingModelEnum; + }; + type ShopperInteractionEnum = 'Ecommerce' | 'ContAuth' | 'Moto' | 'POS'; + const ShopperInteractionEnum: { + Ecommerce: import("../binLookup").CostEstimateRequest.ShopperInteractionEnum; + ContAuth: import("../binLookup").CostEstimateRequest.ShopperInteractionEnum; + Moto: import("../binLookup").CostEstimateRequest.ShopperInteractionEnum; + POS: import("../binLookup").CostEstimateRequest.ShopperInteractionEnum; + }; +} diff --git a/dist/lib/typings/payments/paymentRequest3d.js b/dist/lib/typings/payments/paymentRequest3d.js new file mode 100644 index 0000000..db583fc --- /dev/null +++ b/dist/lib/typings/payments/paymentRequest3d.js @@ -0,0 +1,17 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var PaymentRequest3d; +(function (PaymentRequest3d) { + PaymentRequest3d.RecurringProcessingModelEnum = { + CardOnFile: 'CardOnFile', + Subscription: 'Subscription', + UnscheduledCardOnFile: 'UnscheduledCardOnFile' + }; + PaymentRequest3d.ShopperInteractionEnum = { + Ecommerce: 'Ecommerce', + ContAuth: 'ContAuth', + Moto: 'Moto', + POS: 'POS' + }; +})(PaymentRequest3d = exports.PaymentRequest3d || (exports.PaymentRequest3d = {})); +//# sourceMappingURL=paymentRequest3d.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/paymentRequest3d.js.map b/dist/lib/typings/payments/paymentRequest3d.js.map new file mode 100644 index 0000000..95c06de --- /dev/null +++ b/dist/lib/typings/payments/paymentRequest3d.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentRequest3d.js","sourceRoot":"","sources":["../../../../src/typings/payments/paymentRequest3d.ts"],"names":[],"mappings":";;AA6JA,IAAiB,gBAAgB,CAchC;AAdD,WAAiB,gBAAgB;IAEhB,6CAA4B,GAAG;QACxC,UAAU,EAAE,YAA4C;QACxD,YAAY,EAAE,cAA8C;QAC5D,qBAAqB,EAAE,uBAAuD;KACjF,CAAC;IAEW,uCAAsB,GAAG;QAClC,SAAS,EAAE,WAAqC;QAChD,QAAQ,EAAE,UAAoC;QAC9C,IAAI,EAAE,MAAgC;QACtC,GAAG,EAAE,KAA+B;KACvC,CAAC;AACN,CAAC,EAdgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAchC"} \ No newline at end of file diff --git a/dist/lib/typings/payments/paymentRequest3ds2.d.ts b/dist/lib/typings/payments/paymentRequest3ds2.d.ts new file mode 100644 index 0000000..a5ba436 --- /dev/null +++ b/dist/lib/typings/payments/paymentRequest3ds2.d.ts @@ -0,0 +1,168 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { AccountInfo } from './accountInfo'; +import { Address } from './address'; +import { Amount } from './amount'; +import { BrowserInfo } from './browserInfo'; +import { ForexQuote } from './forexQuote'; +import { Installments } from './installments'; +import { MerchantRiskIndicator } from './merchantRiskIndicator'; +import { Name } from './name'; +import { Recurring } from './recurring'; +import { Split } from './split'; +import { ThreeDS2RequestData } from './threeDS2RequestData'; +import { ThreeDS2Result } from './threeDS2Result'; +export interface PaymentRequest3ds2 { + accountInfo?: AccountInfo; + additionalAmount?: Amount; + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. For more information on possible key-value pairs, refer to the [additionalData section](https://docs.adyen.com/api-reference/payments-api#paymentrequestadditionaldata). + */ + additionalData?: any; + amount: Amount; + billingAddress?: Address; + browserInfo?: BrowserInfo; + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + */ + captureDelayHours?: number; + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + */ + dateOfBirth?: Date; + dccQuote?: ForexQuote; + deliveryAddress?: Address; + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + */ + deliveryDate?: Date; + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + */ + deviceFingerprint?: string; + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + */ + fraudOffset?: number; + installments?: Installments; + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + */ + mcc?: string; + /** + * The merchant account identifier, with which you want to process the transaction. + */ + merchantAccount: string; + /** + * This reference allows linking multiple transactions to each other for reporting purposes (i.e. order auth-rate). The reference should be unique per billing cycle. The same merchant order reference should never be reused after the first authorised attempt. If used, this field should be supplied for all incoming authorisations. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + */ + merchantOrderReference?: string; + merchantRiskIndicator?: MerchantRiskIndicator; + /** + * Metadata consists of entries, each of which includes a key and a value. Limitations: Error \"177\", \"Metadata size exceeds limit\" + */ + metadata?: any; + /** + * When you are doing multiple partial (gift card) payments, this is the `pspReference` of the first payment. We use this to link the multiple payments to each other. As your own reference for linking multiple payments, use the `merchantOrderReference`instead. + */ + orderReference?: string; + recurring?: Recurring; + /** + * Defines a recurring payment type. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – Card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. * `UnscheduledCardOnFile` – A transaction that occurs on a non-fixed schedule and/or have variable amounts. For example, automatic top-ups when a cardholder's balance drops below a certain amount. + */ + recurringProcessingModel?: PaymentRequest3ds2.RecurringProcessingModelEnum; + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + */ + reference: string; + /** + * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. + */ + selectedBrand?: string; + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + */ + selectedRecurringDetailReference?: string; + /** + * A session ID used to identify a payment session. + */ + sessionId?: string; + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. > For 3D Secure 2 transactions, schemes require the `shopperEmail` for both `deviceChannel` **browser** and **app**. + */ + shopperEmail?: string; + /** + * The shopper's IP address. We recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > This field is mandatory for some merchants depending on your business model. For more information, [contact Support](https://support.adyen.com/hc/en-us/requests/new). + */ + shopperIP?: string; + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + */ + shopperInteraction?: PaymentRequest3ds2.ShopperInteractionEnum; + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + */ + shopperLocale?: string; + shopperName?: Name; + /** + * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). > This field is required for recurring payments. + */ + shopperReference?: string; + /** + * The text to appear on the shopper's bank statement. + */ + shopperStatement?: string; + /** + * The shopper's social security number. + */ + socialSecurityNumber?: string; + /** + * The details of how the payment should be split when distributing a payment to a MarketPay Marketplace and its Accounts. + */ + splits?: Split[]; + /** + * The physical store, for which this payment is processed. + */ + store?: string; + /** + * The shopper's telephone number. + */ + telephoneNumber?: string; + threeDS2RequestData?: ThreeDS2RequestData; + threeDS2Result?: ThreeDS2Result; + /** + * The ThreeDS2Token that was returned in the /authorise call. + */ + threeDS2Token?: string; + /** + * The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available). + */ + totalsGroup?: string; + /** + * Set to true if the payment should be routed to a trusted MID. + */ + trustedShopper?: boolean; +} +export declare namespace PaymentRequest3ds2 { + type RecurringProcessingModelEnum = 'CardOnFile' | 'Subscription' | 'UnscheduledCardOnFile'; + const RecurringProcessingModelEnum: { + CardOnFile: import("../checkout").PaymentRequest.RecurringProcessingModelEnum; + Subscription: import("../checkout").PaymentRequest.RecurringProcessingModelEnum; + UnscheduledCardOnFile: import("../checkout").PaymentRequest.RecurringProcessingModelEnum; + }; + type ShopperInteractionEnum = 'Ecommerce' | 'ContAuth' | 'Moto' | 'POS'; + const ShopperInteractionEnum: { + Ecommerce: import("../binLookup").CostEstimateRequest.ShopperInteractionEnum; + ContAuth: import("../binLookup").CostEstimateRequest.ShopperInteractionEnum; + Moto: import("../binLookup").CostEstimateRequest.ShopperInteractionEnum; + POS: import("../binLookup").CostEstimateRequest.ShopperInteractionEnum; + }; +} diff --git a/dist/lib/typings/payments/paymentRequest3ds2.js b/dist/lib/typings/payments/paymentRequest3ds2.js new file mode 100644 index 0000000..9bc2cf6 --- /dev/null +++ b/dist/lib/typings/payments/paymentRequest3ds2.js @@ -0,0 +1,17 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var PaymentRequest3ds2; +(function (PaymentRequest3ds2) { + PaymentRequest3ds2.RecurringProcessingModelEnum = { + CardOnFile: 'CardOnFile', + Subscription: 'Subscription', + UnscheduledCardOnFile: 'UnscheduledCardOnFile' + }; + PaymentRequest3ds2.ShopperInteractionEnum = { + Ecommerce: 'Ecommerce', + ContAuth: 'ContAuth', + Moto: 'Moto', + POS: 'POS' + }; +})(PaymentRequest3ds2 = exports.PaymentRequest3ds2 || (exports.PaymentRequest3ds2 = {})); +//# sourceMappingURL=paymentRequest3ds2.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/paymentRequest3ds2.js.map b/dist/lib/typings/payments/paymentRequest3ds2.js.map new file mode 100644 index 0000000..b140d0f --- /dev/null +++ b/dist/lib/typings/payments/paymentRequest3ds2.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentRequest3ds2.js","sourceRoot":"","sources":["../../../../src/typings/payments/paymentRequest3ds2.ts"],"names":[],"mappings":";;AA2JA,IAAiB,kBAAkB,CAclC;AAdD,WAAiB,kBAAkB;IAElB,+CAA4B,GAAG;QACxC,UAAU,EAAE,YAA4C;QACxD,YAAY,EAAE,cAA8C;QAC5D,qBAAqB,EAAE,uBAAuD;KACjF,CAAC;IAEW,yCAAsB,GAAG;QAClC,SAAS,EAAE,WAAqC;QAChD,QAAQ,EAAE,UAAoC;QAC9C,IAAI,EAAE,MAAgC;QACtC,GAAG,EAAE,KAA+B;KACvC,CAAC;AACN,CAAC,EAdgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAclC"} \ No newline at end of file diff --git a/dist/lib/typings/payments/paymentResult.d.ts b/dist/lib/typings/payments/paymentResult.d.ts new file mode 100644 index 0000000..84c56d2 --- /dev/null +++ b/dist/lib/typings/payments/paymentResult.d.ts @@ -0,0 +1,67 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Amount } from './amount'; +import { FraudResult } from './fraudResult'; +export interface PaymentResult { + /** + * This field contains additional data, which may be required to return in a particular payment response. To choose data fields to be returned, go to **Customer Area** > **Account** > **API URLs**. + */ + additionalData?: any; + /** + * Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. + */ + authCode?: string; + dccAmount?: Amount; + /** + * Cryptographic signature used to verify `dccQuote`. > This value only applies if you have implemented Dynamic Currency Conversion. For more information, [contact Support](https://support.adyen.com/hc/en-us/requests/new). + */ + dccSignature?: string; + fraudResult?: FraudResult; + /** + * The URL to direct the shopper to. > In case of SecurePlus, do not redirect a shopper to this URL. + */ + issuerUrl?: string; + /** + * The payment session. + */ + md?: string; + /** + * The 3D request data for the issuer. If the value is **CUPSecurePlus-CollectSMSVerificationCode**, collect an SMS code from the shopper and pass it in the `/authorise3D` request. For more information, see [3D Secure](https://docs.adyen.com/classic-integration/3d-secure). + */ + paRequest?: string; + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. > `pspReference` is returned only for non-redirect payment methods. + */ + pspReference?: string; + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + */ + refusalReason?: string; + /** + * The result of the payment. Possible values: * **AuthenticationFinished** – The payment has been successfully authenticated with 3D Secure 2. Returned for 3D Secure 2 authentication-only transactions. * **Authorised** – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **ChallengeShopper** – The issuer requires further shopper interaction before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Error** – There was an error when the payment was being processed. The reason is given in the `refusalReason` field. This is a final state. * **IdentifyShopper** – The issuer requires the shopper's device fingerprint before the payment can be authenticated. Returned for 3D Secure 2 transactions. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. For more information on handling a pending payment, refer to [Payments with pending status](https://docs.adyen.com/development-resources/payments-with-pending-status). * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. + */ + resultCode?: PaymentResult.ResultCodeEnum; +} +export declare namespace PaymentResult { + type ResultCodeEnum = 'AuthenticationFinished' | 'Authorised' | 'Cancelled' | 'ChallengeShopper' | 'Error' | 'IdentifyShopper' | 'Pending' | 'Received' | 'RedirectShopper' | 'Refused'; + const ResultCodeEnum: { + AuthenticationFinished: import("../checkout").PaymentResponse.ResultCodeEnum; + Authorised: import("../checkout").PaymentResponse.ResultCodeEnum; + Cancelled: import("../checkout").PaymentResponse.ResultCodeEnum; + ChallengeShopper: import("../checkout").PaymentResponse.ResultCodeEnum; + Error: import("../checkout").PaymentResponse.ResultCodeEnum; + IdentifyShopper: import("../checkout").PaymentResponse.ResultCodeEnum; + Pending: import("../checkout").PaymentResponse.ResultCodeEnum; + Received: import("../checkout").PaymentResponse.ResultCodeEnum; + RedirectShopper: import("../checkout").PaymentResponse.ResultCodeEnum; + Refused: import("../checkout").PaymentResponse.ResultCodeEnum; + }; +} diff --git a/dist/lib/typings/payments/paymentResult.js b/dist/lib/typings/payments/paymentResult.js new file mode 100644 index 0000000..48a66e6 --- /dev/null +++ b/dist/lib/typings/payments/paymentResult.js @@ -0,0 +1,18 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var PaymentResult; +(function (PaymentResult) { + PaymentResult.ResultCodeEnum = { + AuthenticationFinished: 'AuthenticationFinished', + Authorised: 'Authorised', + Cancelled: 'Cancelled', + ChallengeShopper: 'ChallengeShopper', + Error: 'Error', + IdentifyShopper: 'IdentifyShopper', + Pending: 'Pending', + Received: 'Received', + RedirectShopper: 'RedirectShopper', + Refused: 'Refused' + }; +})(PaymentResult = exports.PaymentResult || (exports.PaymentResult = {})); +//# sourceMappingURL=paymentResult.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/paymentResult.js.map b/dist/lib/typings/payments/paymentResult.js.map new file mode 100644 index 0000000..3156381 --- /dev/null +++ b/dist/lib/typings/payments/paymentResult.js.map @@ -0,0 +1 @@ +{"version":3,"file":"paymentResult.js","sourceRoot":"","sources":["../../../../src/typings/payments/paymentResult.ts"],"names":[],"mappings":";;AAsDA,IAAiB,aAAa,CAc7B;AAdD,WAAiB,aAAa;IAEb,4BAAc,GAAG;QAC1B,sBAAsB,EAAE,wBAA0C;QAClE,UAAU,EAAE,YAA8B;QAC1C,SAAS,EAAE,WAA6B;QACxC,gBAAgB,EAAE,kBAAoC;QACtD,KAAK,EAAE,OAAyB;QAChC,eAAe,EAAE,iBAAmC;QACpD,OAAO,EAAE,SAA2B;QACpC,QAAQ,EAAE,UAA4B;QACtC,eAAe,EAAE,iBAAmC;QACpD,OAAO,EAAE,SAA2B;KACvC,CAAC;AACN,CAAC,EAdgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAc7B"} \ No newline at end of file diff --git a/dist/lib/typings/payments/recurring.d.ts b/dist/lib/typings/payments/recurring.d.ts new file mode 100644 index 0000000..50f15bc --- /dev/null +++ b/dist/lib/typings/payments/recurring.d.ts @@ -0,0 +1,46 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Recurring { + /** + * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-essentials/payment-glossary#card_security_code_cvc_cvv_cid_). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payment-glossary#cardnotpresentcnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/features/third-party-payouts). + */ + contract?: Recurring.ContractEnum; + /** + * A descriptive name for this detail. + */ + recurringDetailName?: string; + /** + * Date after which no further authorisations shall be performed. Only for 3D Secure 2. + */ + recurringExpiry?: Date; + /** + * Minimum number of days between authorisations. Only for 3D Secure 2. + */ + recurringFrequency?: string; + /** + * The name of the token service. + */ + tokenService?: Recurring.TokenServiceEnum; +} +export declare namespace Recurring { + type ContractEnum = 'ONECLICK' | 'RECURRING' | 'PAYOUT'; + const ContractEnum: { + ONECLICK: import("../binLookup").Recurring.ContractEnum; + RECURRING: import("../binLookup").Recurring.ContractEnum; + PAYOUT: import("../binLookup").Recurring.ContractEnum; + }; + type TokenServiceEnum = 'VISATOKENSERVICE' | 'MCTOKENSERVICE'; + const TokenServiceEnum: { + VISATOKENSERVICE: import("../binLookup").Recurring.TokenServiceEnum; + MCTOKENSERVICE: import("../binLookup").Recurring.TokenServiceEnum; + }; +} diff --git a/dist/lib/typings/payments/recurring.js b/dist/lib/typings/payments/recurring.js new file mode 100644 index 0000000..ef959b5 --- /dev/null +++ b/dist/lib/typings/payments/recurring.js @@ -0,0 +1,26 @@ +"use strict"; +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var Recurring; +(function (Recurring) { + Recurring.ContractEnum = { + ONECLICK: 'ONECLICK', + RECURRING: 'RECURRING', + PAYOUT: 'PAYOUT' + }; + Recurring.TokenServiceEnum = { + VISATOKENSERVICE: 'VISATOKENSERVICE', + MCTOKENSERVICE: 'MCTOKENSERVICE' + }; +})(Recurring = exports.Recurring || (exports.Recurring = {})); +//# sourceMappingURL=recurring.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/recurring.js.map b/dist/lib/typings/payments/recurring.js.map new file mode 100644 index 0000000..55791e9 --- /dev/null +++ b/dist/lib/typings/payments/recurring.js.map @@ -0,0 +1 @@ +{"version":3,"file":"recurring.js","sourceRoot":"","sources":["../../../../src/typings/payments/recurring.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;AAwBH,IAAiB,SAAS,CAYzB;AAZD,WAAiB,SAAS;IAET,sBAAY,GAAG;QACxB,QAAQ,EAAE,UAA0B;QACpC,SAAS,EAAE,WAA2B;QACtC,MAAM,EAAE,QAAwB;KACnC,CAAC;IAEW,0BAAgB,GAAG;QAC5B,gBAAgB,EAAE,kBAAsC;QACxD,cAAc,EAAE,gBAAoC;KACvD,CAAC;AACN,CAAC,EAZgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAYzB"} \ No newline at end of file diff --git a/dist/lib/typings/payments/sDKEphemPubKey.d.ts b/dist/lib/typings/payments/sDKEphemPubKey.d.ts new file mode 100644 index 0000000..8092e6d --- /dev/null +++ b/dist/lib/typings/payments/sDKEphemPubKey.d.ts @@ -0,0 +1,29 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface SDKEphemPubKey { + /** + * The `crv` value as received from the 3D Secure 2 SDK. + */ + crv?: string; + /** + * The `kty` value as received from the 3D Secure 2 SDK. + */ + kty?: string; + /** + * The `x` value as received from the 3D Secure 2 SDK. + */ + x?: string; + /** + * The `y` value as received from the 3D Secure 2 SDK. + */ + y?: string; +} diff --git a/dist/lib/typings/payments/sDKEphemPubKey.js b/dist/lib/typings/payments/sDKEphemPubKey.js new file mode 100644 index 0000000..ccdc3ac --- /dev/null +++ b/dist/lib/typings/payments/sDKEphemPubKey.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=sDKEphemPubKey.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/sDKEphemPubKey.js.map b/dist/lib/typings/payments/sDKEphemPubKey.js.map new file mode 100644 index 0000000..c07d3bc --- /dev/null +++ b/dist/lib/typings/payments/sDKEphemPubKey.js.map @@ -0,0 +1 @@ +{"version":3,"file":"sDKEphemPubKey.js","sourceRoot":"","sources":["../../../../src/typings/payments/sDKEphemPubKey.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/payments/split.d.ts b/dist/lib/typings/payments/split.d.ts new file mode 100644 index 0000000..2e1a7c6 --- /dev/null +++ b/dist/lib/typings/payments/split.d.ts @@ -0,0 +1,41 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { SplitAmount } from './splitAmount'; +export interface Split { + /** + * The account to which this split applies. >Required if the type is `MarketPlace`. + */ + account?: string; + amount: SplitAmount; + /** + * A description of this split. + */ + description?: string; + /** + * The reference of this split. Used to link other operations (e.g. captures and refunds) to this split. >Required if the type is `MarketPlace`. + */ + reference?: string; + /** + * The type of this split. >Permitted values: `Default`, `PaymentFee`, `VAT`, `Commission`, `MarketPlace`, `Verification`. + */ + type: Split.TypeEnum; +} +export declare namespace Split { + type TypeEnum = 'Commission' | 'Default' | 'MarketPlace' | 'PaymentFee' | 'VAT' | 'Verification'; + const TypeEnum: { + Commission: import("../checkout").Split.TypeEnum; + Default: import("../checkout").Split.TypeEnum; + MarketPlace: import("../checkout").Split.TypeEnum; + PaymentFee: import("../checkout").Split.TypeEnum; + VAT: import("../checkout").Split.TypeEnum; + Verification: import("../checkout").Split.TypeEnum; + }; +} diff --git a/dist/lib/typings/payments/split.js b/dist/lib/typings/payments/split.js new file mode 100644 index 0000000..89f2660 --- /dev/null +++ b/dist/lib/typings/payments/split.js @@ -0,0 +1,14 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var Split; +(function (Split) { + Split.TypeEnum = { + Commission: 'Commission', + Default: 'Default', + MarketPlace: 'MarketPlace', + PaymentFee: 'PaymentFee', + VAT: 'VAT', + Verification: 'Verification' + }; +})(Split = exports.Split || (exports.Split = {})); +//# sourceMappingURL=split.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/split.js.map b/dist/lib/typings/payments/split.js.map new file mode 100644 index 0000000..726da98 --- /dev/null +++ b/dist/lib/typings/payments/split.js.map @@ -0,0 +1 @@ +{"version":3,"file":"split.js","sourceRoot":"","sources":["../../../../src/typings/payments/split.ts"],"names":[],"mappings":";;AAgCA,IAAiB,KAAK,CAUrB;AAVD,WAAiB,KAAK;IAEL,cAAQ,GAAG;QACpB,UAAU,EAAE,YAAwB;QACpC,OAAO,EAAE,SAAqB;QAC9B,WAAW,EAAE,aAAyB;QACtC,UAAU,EAAE,YAAwB;QACpC,GAAG,EAAE,KAAiB;QACtB,YAAY,EAAE,cAA0B;KAC3C,CAAC;AACN,CAAC,EAVgB,KAAK,GAAL,aAAK,KAAL,aAAK,QAUrB"} \ No newline at end of file diff --git a/dist/lib/typings/payments/splitAmount.d.ts b/dist/lib/typings/payments/splitAmount.d.ts new file mode 100644 index 0000000..3f6634d --- /dev/null +++ b/dist/lib/typings/payments/splitAmount.d.ts @@ -0,0 +1,21 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface SplitAmount { + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). If this value is not provided, the currency in which the payment is made will be used. + */ + currency?: string; + /** + * The payable amount that can be charged for the transaction. The transaction amount needs to be represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). + */ + value: number; +} diff --git a/dist/lib/typings/payments/splitAmount.js b/dist/lib/typings/payments/splitAmount.js new file mode 100644 index 0000000..ebcf56c --- /dev/null +++ b/dist/lib/typings/payments/splitAmount.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=splitAmount.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/splitAmount.js.map b/dist/lib/typings/payments/splitAmount.js.map new file mode 100644 index 0000000..37d694d --- /dev/null +++ b/dist/lib/typings/payments/splitAmount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"splitAmount.js","sourceRoot":"","sources":["../../../../src/typings/payments/splitAmount.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/payments/threeDS2RequestData.d.ts b/dist/lib/typings/payments/threeDS2RequestData.d.ts new file mode 100644 index 0000000..f49ce7c --- /dev/null +++ b/dist/lib/typings/payments/threeDS2RequestData.d.ts @@ -0,0 +1,80 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { DeviceRenderOptions } from './deviceRenderOptions'; +import { SDKEphemPubKey } from './sDKEphemPubKey'; +export interface ThreeDS2RequestData { + /** + * If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/checkout/3d-secure-2/3ds2-checkout-authentication-only-integration), and not the payment authorisation. + */ + authenticationOnly?: boolean; + /** + * Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` + */ + challengeIndicator?: ThreeDS2RequestData.ChallengeIndicatorEnum; + /** + * The environment of the shopper. Allowed values: * `app` * `browser` + */ + deviceChannel: string; + deviceRenderOptions?: DeviceRenderOptions; + /** + * The `messageVersion` value indicating the 3D Secure 2 protocol version. + */ + messageVersion?: string; + /** + * URL to where the issuer should send the `CRes`. Required if you are not using components for `channel` **Web** or if you are using classic integration `deviceChannel` **browser**. + */ + notificationURL?: string; + /** + * The `sdkAppID` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. + */ + sdkAppID?: string; + /** + * The `sdkEncData` value as received from the 3D Secure 2 SDK. Required for `deviceChannel` set to **app**. + */ + sdkEncData?: string; + sdkEphemPubKey?: SDKEphemPubKey; + /** + * The maximum amount of time in minutes for the 3D Secure 2 authentication process. Only for `deviceChannel` set to **app**. + */ + sdkMaxTimeout?: number; + /** + * The `sdkReferenceNumber` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. + */ + sdkReferenceNumber?: string; + /** + * The `sdkTransID` value as received from the 3D Secure 2 SDK. Only for `deviceChannel` set to **app**. + */ + sdkTransID?: string; + /** + * Completion indicator for the device fingerprinting. + */ + threeDSCompInd?: string; + /** + * Required for [authentication-only integration](https://docs.adyen.com/checkout/3d-secure-2/3ds2-checkout-authentication-only-integration) for Visa. Unique 3D Secure requestor identifier assigned by the Directory Server when you enrol for 3D Secure 2. + */ + threeDSRequestorID?: string; + /** + * Required for [authentication-only integration](https://docs.adyen.com/checkout/3d-secure-2/3ds2-checkout-authentication-only-integration) for Visa. Unique 3D Secure requestor name assigned by the Directory Server when you enrol for 3D Secure 2. + */ + threeDSRequestorName?: string; + /** + * URL of the (customer service) website that will be shown to the shopper in case of technical errors during the 3D Secure 2 process. + */ + threeDSRequestorURL?: string; +} +export declare namespace ThreeDS2RequestData { + type ChallengeIndicatorEnum = 'noPreference' | 'requestNoChallenge' | 'requestChallenge'; + const ChallengeIndicatorEnum: { + NoPreference: import("../checkout").ThreeDS2RequestData.ChallengeIndicatorEnum; + RequestNoChallenge: import("../checkout").ThreeDS2RequestData.ChallengeIndicatorEnum; + RequestChallenge: import("../checkout").ThreeDS2RequestData.ChallengeIndicatorEnum; + }; +} diff --git a/dist/lib/typings/payments/threeDS2RequestData.js b/dist/lib/typings/payments/threeDS2RequestData.js new file mode 100644 index 0000000..73b86d5 --- /dev/null +++ b/dist/lib/typings/payments/threeDS2RequestData.js @@ -0,0 +1,11 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var ThreeDS2RequestData; +(function (ThreeDS2RequestData) { + ThreeDS2RequestData.ChallengeIndicatorEnum = { + NoPreference: 'noPreference', + RequestNoChallenge: 'requestNoChallenge', + RequestChallenge: 'requestChallenge' + }; +})(ThreeDS2RequestData = exports.ThreeDS2RequestData || (exports.ThreeDS2RequestData = {})); +//# sourceMappingURL=threeDS2RequestData.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/threeDS2RequestData.js.map b/dist/lib/typings/payments/threeDS2RequestData.js.map new file mode 100644 index 0000000..0ccd082 --- /dev/null +++ b/dist/lib/typings/payments/threeDS2RequestData.js.map @@ -0,0 +1 @@ +{"version":3,"file":"threeDS2RequestData.js","sourceRoot":"","sources":["../../../../src/typings/payments/threeDS2RequestData.ts"],"names":[],"mappings":";;AA0EA,IAAiB,mBAAmB,CAOnC;AAPD,WAAiB,mBAAmB;IAEnB,0CAAsB,GAAG;QAClC,YAAY,EAAE,cAAwC;QACtD,kBAAkB,EAAE,oBAA8C;QAClE,gBAAgB,EAAE,kBAA4C;KACjE,CAAC;AACN,CAAC,EAPgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAOnC"} \ No newline at end of file diff --git a/dist/lib/typings/payments/threeDS2Result.d.ts b/dist/lib/typings/payments/threeDS2Result.d.ts new file mode 100644 index 0000000..28ecde4 --- /dev/null +++ b/dist/lib/typings/payments/threeDS2Result.d.ts @@ -0,0 +1,41 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface ThreeDS2Result { + /** + * The `authenticationValue` value as defined in the 3D Secure 2 specification. + */ + authenticationValue?: string; + /** + * The `dsTransID` value as defined in the 3D Secure 2 specification. + */ + dsTransID?: string; + /** + * The `eci` value as defined in the 3D Secure 2 specification. + */ + eci?: string; + /** + * The `threeDSServerTransID` value as defined in the 3D Secure 2 specification. + */ + threeDSServerTransID?: string; + /** + * The `timestamp` value of the 3D Secure 2 authentication. + */ + timestamp?: string; + /** + * The `transStatus` value as defined in the 3D Secure 2 specification. + */ + transStatus?: string; + /** + * The `transStatusReason` value as defined in the 3D Secure 2 specification. + */ + transStatusReason?: string; +} diff --git a/dist/lib/typings/payments/threeDS2Result.js b/dist/lib/typings/payments/threeDS2Result.js new file mode 100644 index 0000000..91acd32 --- /dev/null +++ b/dist/lib/typings/payments/threeDS2Result.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=threeDS2Result.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/threeDS2Result.js.map b/dist/lib/typings/payments/threeDS2Result.js.map new file mode 100644 index 0000000..41a9861 --- /dev/null +++ b/dist/lib/typings/payments/threeDS2Result.js.map @@ -0,0 +1 @@ +{"version":3,"file":"threeDS2Result.js","sourceRoot":"","sources":["../../../../src/typings/payments/threeDS2Result.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/payments/threeDS2ResultRequest.d.ts b/dist/lib/typings/payments/threeDS2ResultRequest.d.ts new file mode 100644 index 0000000..289af38 --- /dev/null +++ b/dist/lib/typings/payments/threeDS2ResultRequest.d.ts @@ -0,0 +1,21 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface ThreeDS2ResultRequest { + /** + * The merchant account identifier, with which you want to process the transaction. + */ + merchantAccount: string; + /** + * The pspReference returned in the /authorise call. + */ + pspReference: string; +} diff --git a/dist/lib/typings/payments/threeDS2ResultRequest.js b/dist/lib/typings/payments/threeDS2ResultRequest.js new file mode 100644 index 0000000..ca715c1 --- /dev/null +++ b/dist/lib/typings/payments/threeDS2ResultRequest.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=threeDS2ResultRequest.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/threeDS2ResultRequest.js.map b/dist/lib/typings/payments/threeDS2ResultRequest.js.map new file mode 100644 index 0000000..ce28c50 --- /dev/null +++ b/dist/lib/typings/payments/threeDS2ResultRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"threeDS2ResultRequest.js","sourceRoot":"","sources":["../../../../src/typings/payments/threeDS2ResultRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/payments/threeDS2ResultResponse.d.ts b/dist/lib/typings/payments/threeDS2ResultResponse.d.ts new file mode 100644 index 0000000..116ac92 --- /dev/null +++ b/dist/lib/typings/payments/threeDS2ResultResponse.d.ts @@ -0,0 +1,14 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { ThreeDS2Result } from './threeDS2Result'; +export interface ThreeDS2ResultResponse { + threeDS2Result?: ThreeDS2Result; +} diff --git a/dist/lib/typings/payments/threeDS2ResultResponse.js b/dist/lib/typings/payments/threeDS2ResultResponse.js new file mode 100644 index 0000000..e0d7a15 --- /dev/null +++ b/dist/lib/typings/payments/threeDS2ResultResponse.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=threeDS2ResultResponse.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/threeDS2ResultResponse.js.map b/dist/lib/typings/payments/threeDS2ResultResponse.js.map new file mode 100644 index 0000000..d1e69fd --- /dev/null +++ b/dist/lib/typings/payments/threeDS2ResultResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"threeDS2ResultResponse.js","sourceRoot":"","sources":["../../../../src/typings/payments/threeDS2ResultResponse.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib/typings/payments/threeDSecureData.d.ts b/dist/lib/typings/payments/threeDSecureData.d.ts new file mode 100644 index 0000000..e7501d1 --- /dev/null +++ b/dist/lib/typings/payments/threeDSecureData.d.ts @@ -0,0 +1,62 @@ +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface ThreeDSecureData { + /** + * In 3D Secure 1, the authentication response if the shopper was redirected. In 3D Secure 2, this is the `transStatus` from challenge flow. If the transaction was frictionless, set this value to **Y**. + */ + authenticationResponse?: ThreeDSecureData.AuthenticationResponseEnum; + /** + * The cardholder authentication value (base64 encoded, 20 bytes in a decoded form). + */ + cavv?: string; + /** + * The CAVV algorithm used. Include this only for 3D Secure 1. + */ + cavvAlgorithm?: string; + /** + * In 3D Secure 1, this is the enrollment response from the 3D directory server. In 3D Secure 2, this is the `transStatus` from 3D Secure device fingerprinting result. + */ + directoryResponse?: ThreeDSecureData.DirectoryResponseEnum; + /** + * Supported for 3D Secure 2. The unique transaction identifier assigned by the Directory Server (DS) to identify a single transaction. + */ + dsTransID?: string; + /** + * The electronic commerce indicator. + */ + eci?: string; + /** + * The version of the 3D Secure protocol. + */ + threeDSVersion?: string; + /** + * Supported for 3D Secure 1. The transaction identifier (Base64-encoded, 20 bytes in a decoded form). + */ + xid?: string; +} +export declare namespace ThreeDSecureData { + type AuthenticationResponseEnum = 'Y' | 'N' | 'U' | 'A'; + const AuthenticationResponseEnum: { + Y: import("../checkout").ThreeDSecureData.AuthenticationResponseEnum; + N: import("../checkout").ThreeDSecureData.AuthenticationResponseEnum; + U: import("../checkout").ThreeDSecureData.AuthenticationResponseEnum; + A: import("../checkout").ThreeDSecureData.AuthenticationResponseEnum; + }; + type DirectoryResponseEnum = 'Y' | 'N' | 'U' | 'E' | 'C'; + const DirectoryResponseEnum: { + Y: import("../checkout").ThreeDSecureData.DirectoryResponseEnum; + N: import("../checkout").ThreeDSecureData.DirectoryResponseEnum; + U: import("../checkout").ThreeDSecureData.DirectoryResponseEnum; + E: import("../checkout").ThreeDSecureData.DirectoryResponseEnum; + C: import("../checkout").ThreeDSecureData.DirectoryResponseEnum; + }; +} diff --git a/dist/lib/typings/payments/threeDSecureData.js b/dist/lib/typings/payments/threeDSecureData.js new file mode 100644 index 0000000..1899799 --- /dev/null +++ b/dist/lib/typings/payments/threeDSecureData.js @@ -0,0 +1,30 @@ +"use strict"; +/** + * Adyen Payment Service + * A set of API endpoints that allow you to initiate, settle, and modify payments on the Adyen payments platform. You can use the API to accept card payments (including One-Click and 3D Secure), bank transfers, ewallets, and many other payment methods. To learn more about the API, visit [Classic integration](https://docs.adyen.com/classic-integration). ## Authentication To connect to the Payments API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Payments API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Payment/v46/authorise ``` + * + * OpenAPI spec version: 46 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var ThreeDSecureData; +(function (ThreeDSecureData) { + ThreeDSecureData.AuthenticationResponseEnum = { + Y: 'Y', + N: 'N', + U: 'U', + A: 'A' + }; + ThreeDSecureData.DirectoryResponseEnum = { + Y: 'Y', + N: 'N', + U: 'U', + E: 'E', + C: 'C' + }; +})(ThreeDSecureData = exports.ThreeDSecureData || (exports.ThreeDSecureData = {})); +//# sourceMappingURL=threeDSecureData.js.map \ No newline at end of file diff --git a/dist/lib/typings/payments/threeDSecureData.js.map b/dist/lib/typings/payments/threeDSecureData.js.map new file mode 100644 index 0000000..ea5f387 --- /dev/null +++ b/dist/lib/typings/payments/threeDSecureData.js.map @@ -0,0 +1 @@ +{"version":3,"file":"threeDSecureData.js","sourceRoot":"","sources":["../../../../src/typings/payments/threeDSecureData.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;AAoCH,IAAiB,gBAAgB,CAgBhC;AAhBD,WAAiB,gBAAgB;IAEhB,2CAA0B,GAAG;QACtC,CAAC,EAAE,GAAiC;QACpC,CAAC,EAAE,GAAiC;QACpC,CAAC,EAAE,GAAiC;QACpC,CAAC,EAAE,GAAiC;KACvC,CAAC;IAEW,sCAAqB,GAAG;QACjC,CAAC,EAAE,GAA4B;QAC/B,CAAC,EAAE,GAA4B;QAC/B,CAAC,EAAE,GAA4B;QAC/B,CAAC,EAAE,GAA4B;QAC/B,CAAC,EAAE,GAA4B;KAClC,CAAC;AACN,CAAC,EAhBgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAgBhC"} \ No newline at end of file diff --git a/dist/lib/typings/payout/address.d.ts b/dist/lib/typings/payout/address.d.ts new file mode 100644 index 0000000..323b5a3 --- /dev/null +++ b/dist/lib/typings/payout/address.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Address { + /** + * The name of the city. >Required if either houseNumberOrName, street, postalCode, or stateOrProvince are provided. + */ + city?: string; + /** + * The two-character country code of the address >The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. 'NL'). + */ + country: string; + /** + * The number or name of the house. + */ + houseNumberOrName?: string; + /** + * The postal code. >A maximum of five (5) digits for an address in the USA, or a maximum of ten (10) characters for an address in all other countries. >Required if either houseNumberOrName, street, city, or stateOrProvince are provided. + */ + postalCode?: string; + /** + * The abbreviation of the state or province. >Two (2) characters for an address in the USA or Canada, or a maximum of three (3) characters for an address in all other countries. >Required for an address in the USA or Canada if either houseNumberOrName, street, city, or postalCode are provided. + */ + stateOrProvince?: string; + /** + * The name of the street. >The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. >Required if either houseNumberOrName, city, postalCode, or stateOrProvince are provided. + */ + street?: string; +} diff --git a/dist/lib/typings/payout/address.js b/dist/lib/typings/payout/address.js new file mode 100644 index 0000000..f599a2d --- /dev/null +++ b/dist/lib/typings/payout/address.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=address.js.map \ No newline at end of file diff --git a/dist/lib/typings/payout/address.js.map b/dist/lib/typings/payout/address.js.map new file mode 100644 index 0000000..19b2db0 --- /dev/null +++ b/dist/lib/typings/payout/address.js.map @@ -0,0 +1 @@ +{"version":3,"file":"address.js","sourceRoot":"","sources":["../../../../src/typings/payout/address.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/payout/amount.d.ts b/dist/lib/typings/payout/amount.d.ts new file mode 100644 index 0000000..470abae --- /dev/null +++ b/dist/lib/typings/payout/amount.d.ts @@ -0,0 +1,21 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Amount { + /** + * The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes). + */ + currency: string; + /** + * The payable amount that can be charged for the transaction. The transaction amount needs to be represented in minor units according to the [following table](https://docs.adyen.com/development-resources/currency-codes). + */ + value: number; +} diff --git a/dist/lib/typings/payout/amount.js b/dist/lib/typings/payout/amount.js new file mode 100644 index 0000000..9572286 --- /dev/null +++ b/dist/lib/typings/payout/amount.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=amount.js.map \ No newline at end of file diff --git a/dist/lib/typings/payout/amount.js.map b/dist/lib/typings/payout/amount.js.map new file mode 100644 index 0000000..de9f102 --- /dev/null +++ b/dist/lib/typings/payout/amount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"amount.js","sourceRoot":"","sources":["../../../../src/typings/payout/amount.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/payout/bankAccount.d.ts b/dist/lib/typings/payout/bankAccount.d.ts new file mode 100644 index 0000000..a02db49 --- /dev/null +++ b/dist/lib/typings/payout/bankAccount.d.ts @@ -0,0 +1,49 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface BankAccount { + /** + * The bank account number (without separators). + */ + bankAccountNumber?: string; + /** + * The bank city. + */ + bankCity?: string; + /** + * The location id of the bank. The field value is `nil` in most cases. + */ + bankLocationId?: string; + /** + * The name of the bank. + */ + bankName?: string; + /** + * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. + */ + bic?: string; + /** + * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). + */ + countryCode?: string; + /** + * The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN). + */ + iban?: string; + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + */ + ownerName?: string; + /** + * The bank account holder's tax ID. + */ + taxId?: string; +} diff --git a/dist/lib/typings/payout/bankAccount.js b/dist/lib/typings/payout/bankAccount.js new file mode 100644 index 0000000..eb41cec --- /dev/null +++ b/dist/lib/typings/payout/bankAccount.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=bankAccount.js.map \ No newline at end of file diff --git a/dist/lib/typings/payout/bankAccount.js.map b/dist/lib/typings/payout/bankAccount.js.map new file mode 100644 index 0000000..ce2aed5 --- /dev/null +++ b/dist/lib/typings/payout/bankAccount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bankAccount.js","sourceRoot":"","sources":["../../../../src/typings/payout/bankAccount.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/payout/browserInfo.d.ts b/dist/lib/typings/payout/browserInfo.d.ts new file mode 100644 index 0000000..69de777 --- /dev/null +++ b/dist/lib/typings/payout/browserInfo.d.ts @@ -0,0 +1,21 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface BrowserInfo { + /** + * The accept header value of the shopper's browser. + */ + acceptHeader: string; + /** + * The user agent value of the shopper's browser. + */ + userAgent: string; +} diff --git a/dist/lib/typings/payout/browserInfo.js b/dist/lib/typings/payout/browserInfo.js new file mode 100644 index 0000000..1c4e044 --- /dev/null +++ b/dist/lib/typings/payout/browserInfo.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=browserInfo.js.map \ No newline at end of file diff --git a/dist/lib/typings/payout/browserInfo.js.map b/dist/lib/typings/payout/browserInfo.js.map new file mode 100644 index 0000000..d2347d8 --- /dev/null +++ b/dist/lib/typings/payout/browserInfo.js.map @@ -0,0 +1 @@ +{"version":3,"file":"browserInfo.js","sourceRoot":"","sources":["../../../../src/typings/payout/browserInfo.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/payout/card.d.ts b/dist/lib/typings/payout/card.d.ts new file mode 100644 index 0000000..75ad2cf --- /dev/null +++ b/dist/lib/typings/payout/card.d.ts @@ -0,0 +1,45 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Card { + /** + * The [card verification code](https://docs.adyen.com/payment-glossary#cardsecuritycodecvccvvcid) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/features/client-side-encryption), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. + */ + cvc?: string; + /** + * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November + */ + expiryMonth: string; + /** + * The card expiry year. Format: 4 digits. For example: 2020 + */ + expiryYear: string; + /** + * The name of the cardholder, as printed on the card. + */ + holderName: string; + /** + * The issue number of the card (for some UK debit cards only). + */ + issueNumber?: string; + /** + * The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned. + */ + number: string; + /** + * The month component of the start date (for some UK debit cards only). + */ + startMonth?: string; + /** + * The year component of the start date (for some UK debit cards only). + */ + startYear?: string; +} diff --git a/dist/lib/typings/payout/card.js b/dist/lib/typings/payout/card.js new file mode 100644 index 0000000..469f6d5 --- /dev/null +++ b/dist/lib/typings/payout/card.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=card.js.map \ No newline at end of file diff --git a/dist/lib/typings/payout/card.js.map b/dist/lib/typings/payout/card.js.map new file mode 100644 index 0000000..634f57b --- /dev/null +++ b/dist/lib/typings/payout/card.js.map @@ -0,0 +1 @@ +{"version":3,"file":"card.js","sourceRoot":"","sources":["../../../../src/typings/payout/card.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/payout/forexQuote.d.ts b/dist/lib/typings/payout/forexQuote.d.ts new file mode 100644 index 0000000..04b691c --- /dev/null +++ b/dist/lib/typings/payout/forexQuote.d.ts @@ -0,0 +1,49 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Amount } from './amount'; +export interface ForexQuote { + /** + * The account name. + */ + account?: string; + /** + * The account type. + */ + accountType?: string; + baseAmount?: Amount; + /** + * The base points. + */ + basePoints: number; + buy?: Amount; + interbank?: Amount; + /** + * The reference assigned to the forex quote request. + */ + reference?: string; + sell?: Amount; + /** + * The signature to validate the integrity. + */ + signature?: string; + /** + * The source of the forex quote. + */ + source?: string; + /** + * The type of forex. + */ + type?: string; + /** + * The date until which the forex quote is valid. + */ + validTill: Date; +} diff --git a/dist/lib/typings/payout/forexQuote.js b/dist/lib/typings/payout/forexQuote.js new file mode 100644 index 0000000..b5470a0 --- /dev/null +++ b/dist/lib/typings/payout/forexQuote.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=forexQuote.js.map \ No newline at end of file diff --git a/dist/lib/typings/payout/forexQuote.js.map b/dist/lib/typings/payout/forexQuote.js.map new file mode 100644 index 0000000..6183d13 --- /dev/null +++ b/dist/lib/typings/payout/forexQuote.js.map @@ -0,0 +1 @@ +{"version":3,"file":"forexQuote.js","sourceRoot":"","sources":["../../../../src/typings/payout/forexQuote.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib/typings/payout/fraudCheckResult.d.ts b/dist/lib/typings/payout/fraudCheckResult.d.ts new file mode 100644 index 0000000..e79b860 --- /dev/null +++ b/dist/lib/typings/payout/fraudCheckResult.d.ts @@ -0,0 +1,25 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface FraudCheckResult { + /** + * The fraud score generated by the risk check. + */ + accountScore: number; + /** + * The ID of the risk check. + */ + checkId: number; + /** + * The name of the risk check. + */ + name: string; +} diff --git a/dist/lib/typings/payout/fraudCheckResult.js b/dist/lib/typings/payout/fraudCheckResult.js new file mode 100644 index 0000000..4590f8f --- /dev/null +++ b/dist/lib/typings/payout/fraudCheckResult.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=fraudCheckResult.js.map \ No newline at end of file diff --git a/dist/lib/typings/payout/fraudCheckResult.js.map b/dist/lib/typings/payout/fraudCheckResult.js.map new file mode 100644 index 0000000..b33d810 --- /dev/null +++ b/dist/lib/typings/payout/fraudCheckResult.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fraudCheckResult.js","sourceRoot":"","sources":["../../../../src/typings/payout/fraudCheckResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/payout/fraudResult.d.ts b/dist/lib/typings/payout/fraudResult.d.ts new file mode 100644 index 0000000..71dc71d --- /dev/null +++ b/dist/lib/typings/payout/fraudResult.d.ts @@ -0,0 +1,21 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { FraudCheckResult } from './fraudCheckResult'; +export interface FraudResult { + /** + * The total fraud score generated by the risk checks. + */ + accountScore: number; + /** + * The result of the individual risk checks. + */ + results?: Array; +} diff --git a/dist/lib/typings/payout/fraudResult.js b/dist/lib/typings/payout/fraudResult.js new file mode 100644 index 0000000..a5d7b00 --- /dev/null +++ b/dist/lib/typings/payout/fraudResult.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=fraudResult.js.map \ No newline at end of file diff --git a/dist/lib/typings/payout/fraudResult.js.map b/dist/lib/typings/payout/fraudResult.js.map new file mode 100644 index 0000000..d30bcf5 --- /dev/null +++ b/dist/lib/typings/payout/fraudResult.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fraudResult.js","sourceRoot":"","sources":["../../../../src/typings/payout/fraudResult.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib/typings/payout/fundSource.d.ts b/dist/lib/typings/payout/fundSource.d.ts new file mode 100644 index 0000000..f97a185 --- /dev/null +++ b/dist/lib/typings/payout/fundSource.d.ts @@ -0,0 +1,30 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Address } from './address'; +import { Card } from './card'; +import { Name } from './name'; +export interface FundSource { + /** + * a map of name/value pairs for passing in additional/industry-specific data + */ + additionalData?: any; + billingAddress?: Address; + card?: Card; + /** + * the email address of the person + */ + shopperEmail?: string; + shopperName?: Name; + /** + * the telephone number of the person + */ + telephoneNumber?: string; +} diff --git a/dist/lib/typings/payout/fundSource.js b/dist/lib/typings/payout/fundSource.js new file mode 100644 index 0000000..d3c1516 --- /dev/null +++ b/dist/lib/typings/payout/fundSource.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=fundSource.js.map \ No newline at end of file diff --git a/dist/lib/typings/payout/fundSource.js.map b/dist/lib/typings/payout/fundSource.js.map new file mode 100644 index 0000000..14b8240 --- /dev/null +++ b/dist/lib/typings/payout/fundSource.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fundSource.js","sourceRoot":"","sources":["../../../../src/typings/payout/fundSource.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib/typings/payout/index.d.ts b/dist/lib/typings/payout/index.d.ts new file mode 100644 index 0000000..b76c54b --- /dev/null +++ b/dist/lib/typings/payout/index.d.ts @@ -0,0 +1,23 @@ +export * from './address'; +export * from './amount'; +export * from './bankAccount'; +export * from './browserInfo'; +export * from './card'; +export * from './forexQuote'; +export * from './fraudCheckResult'; +export * from './fraudResult'; +export * from './fundSource'; +export * from './installments'; +export * from './modifyRequest'; +export * from './modifyResponse'; +export * from './name'; +export * from './payoutRequest'; +export * from './payoutResponse'; +export * from './recurring'; +export * from './storeDetailAndSubmitRequest'; +export * from './storeDetailAndSubmitResponse'; +export * from './storeDetailRequest'; +export * from './storeDetailResponse'; +export * from './submitRequest'; +export * from './submitResponse'; +export * from './threeDSecureData'; diff --git a/dist/lib/typings/payout/index.js b/dist/lib/typings/payout/index.js new file mode 100644 index 0000000..e2ed302 --- /dev/null +++ b/dist/lib/typings/payout/index.js @@ -0,0 +1,14 @@ +"use strict"; +function __export(m) { + for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; +} +Object.defineProperty(exports, "__esModule", { value: true }); +__export(require("./name")); +__export(require("./payoutRequest")); +__export(require("./payoutResponse")); +__export(require("./recurring")); +__export(require("./storeDetailAndSubmitRequest")); +__export(require("./storeDetailRequest")); +__export(require("./submitRequest")); +__export(require("./threeDSecureData")); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/lib/typings/payout/index.js.map b/dist/lib/typings/payout/index.js.map new file mode 100644 index 0000000..20bac4e --- /dev/null +++ b/dist/lib/typings/payout/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/typings/payout/index.ts"],"names":[],"mappings":";;;;;AAYA,4BAAuB;AACvB,qCAAgC;AAChC,sCAAiC;AACjC,iCAA4B;AAC5B,mDAA8C;AAE9C,0CAAqC;AAErC,qCAAgC;AAEhC,wCAAmC"} \ No newline at end of file diff --git a/dist/lib/typings/payout/installments.d.ts b/dist/lib/typings/payout/installments.d.ts new file mode 100644 index 0000000..7fa4d73 --- /dev/null +++ b/dist/lib/typings/payout/installments.d.ts @@ -0,0 +1,17 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Installments { + /** + * Defines the number of installments. Its value needs to be greater than zero. Usually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary. + */ + value: number; +} diff --git a/dist/lib/typings/payout/installments.js b/dist/lib/typings/payout/installments.js new file mode 100644 index 0000000..9e050dd --- /dev/null +++ b/dist/lib/typings/payout/installments.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=installments.js.map \ No newline at end of file diff --git a/dist/lib/typings/payout/installments.js.map b/dist/lib/typings/payout/installments.js.map new file mode 100644 index 0000000..ec8c538 --- /dev/null +++ b/dist/lib/typings/payout/installments.js.map @@ -0,0 +1 @@ +{"version":3,"file":"installments.js","sourceRoot":"","sources":["../../../../src/typings/payout/installments.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/payout/modifyRequest.d.ts b/dist/lib/typings/payout/modifyRequest.d.ts new file mode 100644 index 0000000..60ca49e --- /dev/null +++ b/dist/lib/typings/payout/modifyRequest.d.ts @@ -0,0 +1,25 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface ModifyRequest { + /** + * This field contains additional data, which may be required for a particular payout request. + */ + additionalData?: any; + /** + * The merchant account identifier, with which you want to process the transaction. + */ + merchantAccount: string; + /** + * The PSP reference received in the `/submitThirdParty` response. + */ + originalReference: string; +} diff --git a/dist/lib/typings/payout/modifyRequest.js b/dist/lib/typings/payout/modifyRequest.js new file mode 100644 index 0000000..c9228bf --- /dev/null +++ b/dist/lib/typings/payout/modifyRequest.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=modifyRequest.js.map \ No newline at end of file diff --git a/dist/lib/typings/payout/modifyRequest.js.map b/dist/lib/typings/payout/modifyRequest.js.map new file mode 100644 index 0000000..7ccd951 --- /dev/null +++ b/dist/lib/typings/payout/modifyRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"modifyRequest.js","sourceRoot":"","sources":["../../../../src/typings/payout/modifyRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/payout/modifyResponse.d.ts b/dist/lib/typings/payout/modifyResponse.d.ts new file mode 100644 index 0000000..d97d0ea --- /dev/null +++ b/dist/lib/typings/payout/modifyResponse.d.ts @@ -0,0 +1,25 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface ModifyResponse { + /** + * This field contains additional data, which may be returned in a particular response. + */ + additionalData?: any; + /** + * Adyen's 16-character string reference associated with the transaction. This value is globally unique; quote it when communicating with us about this response. + */ + pspReference: string; + /** + * The response: * In case of success, it is either `payout-confirm-received` or `payout-decline-received`. * In case of an error, an informational message is returned. + */ + response: string; +} diff --git a/dist/lib/typings/payout/modifyResponse.js b/dist/lib/typings/payout/modifyResponse.js new file mode 100644 index 0000000..7240e41 --- /dev/null +++ b/dist/lib/typings/payout/modifyResponse.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=modifyResponse.js.map \ No newline at end of file diff --git a/dist/lib/typings/payout/modifyResponse.js.map b/dist/lib/typings/payout/modifyResponse.js.map new file mode 100644 index 0000000..5fc23e1 --- /dev/null +++ b/dist/lib/typings/payout/modifyResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"modifyResponse.js","sourceRoot":"","sources":["../../../../src/typings/payout/modifyResponse.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/payout/name.d.ts b/dist/lib/typings/payout/name.d.ts new file mode 100644 index 0000000..25bc14f --- /dev/null +++ b/dist/lib/typings/payout/name.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Name { + /** + * The first name. + */ + firstName: string; + /** + * The gender. >The following values are permitted: `MALE`, `FEMALE`, `UNKNOWN`. + */ + gender: Name.GenderEnum; + /** + * The name's infix, if applicable. >A maximum length of twenty (20) characters is imposed. + */ + infix?: string; + /** + * The last name. + */ + lastName: string; +} +export declare namespace Name { + type GenderEnum = 'MALE' | 'FEMALE' | 'UNKNOWN'; + const GenderEnum: { + MALE: import("../checkout").Name.GenderEnum; + FEMALE: import("../checkout").Name.GenderEnum; + UNKNOWN: import("../checkout").Name.GenderEnum; + }; +} diff --git a/dist/lib/typings/payout/name.js b/dist/lib/typings/payout/name.js new file mode 100644 index 0000000..2d914dc --- /dev/null +++ b/dist/lib/typings/payout/name.js @@ -0,0 +1,22 @@ +"use strict"; +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var Name; +(function (Name) { + Name.GenderEnum = { + MALE: 'MALE', + FEMALE: 'FEMALE', + UNKNOWN: 'UNKNOWN' + }; +})(Name = exports.Name || (exports.Name = {})); +//# sourceMappingURL=name.js.map \ No newline at end of file diff --git a/dist/lib/typings/payout/name.js.map b/dist/lib/typings/payout/name.js.map new file mode 100644 index 0000000..2f9073b --- /dev/null +++ b/dist/lib/typings/payout/name.js.map @@ -0,0 +1 @@ +{"version":3,"file":"name.js","sourceRoot":"","sources":["../../../../src/typings/payout/name.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;AAoBH,IAAiB,IAAI,CAOpB;AAPD,WAAiB,IAAI;IAEJ,eAAU,GAAG;QACtB,IAAI,EAAE,MAAoB;QAC1B,MAAM,EAAE,QAAsB;QAC9B,OAAO,EAAE,SAAuB;KACnC,CAAC;AACN,CAAC,EAPgB,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAOpB"} \ No newline at end of file diff --git a/dist/lib/typings/payout/payoutRequest.d.ts b/dist/lib/typings/payout/payoutRequest.d.ts new file mode 100644 index 0000000..dfe7572 --- /dev/null +++ b/dist/lib/typings/payout/payoutRequest.d.ts @@ -0,0 +1,167 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Address } from './address'; +import { Amount } from './amount'; +import { BankAccount } from './bankAccount'; +import { BrowserInfo } from './browserInfo'; +import { Card } from './card'; +import { ForexQuote } from './forexQuote'; +import { FundSource } from './fundSource'; +import { Installments } from './installments'; +import { Name } from './name'; +import { Recurring } from './recurring'; +import { ThreeDSecureData } from './threeDSecureData'; +export interface PayoutRequest { + additionalAmount?: Amount; + /** + * This field contains additional data, which may be required for a particular payment request. The `additionalData` object consists of entries, each of which includes the key and value. For more information on possible key-value pairs, refer to the [additionalData section](https://docs.adyen.com/api-reference/payments-api#paymentrequestadditionaldata). + */ + additionalData?: any; + amount: Amount; + bankAccount?: BankAccount; + billingAddress?: Address; + browserInfo?: BrowserInfo; + /** + * The delay between the authorisation and scheduled auto-capture, specified in hours. + */ + captureDelayHours?: number; + card?: Card; + /** + * The shopper's date of birth. Format [ISO-8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DD + */ + dateOfBirth?: Date; + dccQuote?: ForexQuote; + deliveryAddress?: Address; + /** + * The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 + */ + deliveryDate?: Date; + /** + * A string containing the shopper's device fingerprint. For more information, refer to [Device fingerprinting](https://docs.adyen.com/risk-management/device-fingerprinting). + */ + deviceFingerprint?: string; + /** + * The type of the entity the payment is processed for. + */ + entityType?: PayoutRequest.EntityTypeEnum; + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + */ + fraudOffset?: number; + fundSource?: FundSource; + installments?: Installments; + /** + * The [merchant category code](https://en.wikipedia.org/wiki/Merchant_category_code) (MCC) is a four-digit number, which relates to a particular market segment. This code reflects the predominant activity that is conducted by the merchant. + */ + mcc?: string; + /** + * The merchant account identifier, with which you want to process the transaction. + */ + merchantAccount: string; + /** + * This reference allows linking multiple transactions to each other. > We strongly recommend you send the `merchantOrderReference` value to benefit from linking payment requests when authorisation retries take place. In addition, we recommend you provide `retry.orderAttemptNumber`, `retry.chainAttemptNumber`, and `retry.skipRetry` values in `PaymentRequest.additionalData`. + */ + merchantOrderReference?: string; + /** + * Metadata consists of entries, each of which includes a key and a value. Limitations: Error \"177\", \"Metadata size exceeds limit\" + */ + metadata?: any; + mpiData?: ThreeDSecureData; + /** + * The two-character country code of the shopper's nationality. + */ + nationality?: string; + /** + * The order reference to link multiple partial payments. + */ + orderReference?: string; + recurring?: Recurring; + /** + * Defines a recurring payment type. Allowed values: * `Subscription` – A transaction for a fixed or variable amount, which follows a fixed schedule. * `CardOnFile` – Card details are stored to enable one-click or omnichannel journeys, or simply to streamline the checkout process. Any subscription not following a fixed schedule is also considered a card-on-file transaction. + */ + recurringProcessingModel?: PayoutRequest.RecurringProcessingModelEnum; + /** + * The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters. + */ + reference: string; + /** + * Some payment methods require defining a value for this field to specify how to process the transaction. For the Bancontact payment method, it can be set to: * `maestro` (default), to be processed like a Maestro card, or * `bcmc`, to be processed like a Bancontact card. + */ + selectedBrand?: string; + /** + * The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail. + */ + selectedRecurringDetailReference?: string; + /** + * A session ID used to identify a payment session. + */ + sessionId?: string; + /** + * The shopper's email address. We recommend that you provide this data, as it is used in velocity fraud checks. + */ + shopperEmail?: string; + /** + * The shopper's IP address. We recommend that you provide this data, as it is used in a number of risk checks (for instance, number of payment attempts or location-based checks). > This field is mandatory for some merchants depending on your business model. For more information, [contact Support](https://support.adyen.com/hc/en-us/requests/new). + */ + shopperIP?: string; + /** + * Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal. + */ + shopperInteraction?: PayoutRequest.ShopperInteractionEnum; + /** + * The combination of a language code and a country code to specify the language to be used in the payment. + */ + shopperLocale?: string; + shopperName?: Name; + /** + * The shopper's reference to uniquely identify this shopper (e.g. user ID or account ID). > This field is required for recurring payments. + */ + shopperReference?: string; + /** + * The text to appear on the shopper's bank statement. + */ + shopperStatement?: string; + /** + * The shopper's social security number. + */ + socialSecurityNumber?: string; + /** + * The physical store, for which this payment is processed. + */ + store?: string; + /** + * The shopper's telephone number. + */ + telephoneNumber?: string; + /** + * The reference value to aggregate sales totals in reporting. When not specified, the store field is used (if available). + */ + totalsGroup?: string; +} +export declare namespace PayoutRequest { + type EntityTypeEnum = 'NaturalPerson' | 'CompanyName'; + const EntityTypeEnum: { + NaturalPerson: import("../checkout").PaymentRequest.EntityTypeEnum; + CompanyName: import("../checkout").PaymentRequest.EntityTypeEnum; + }; + type RecurringProcessingModelEnum = 'CardOnFile' | 'Subscription'; + const RecurringProcessingModelEnum: { + CardOnFile: RecurringProcessingModelEnum; + Subscription: RecurringProcessingModelEnum; + }; + type ShopperInteractionEnum = 'Ecommerce' | 'ContAuth' | 'Moto' | 'POS'; + const ShopperInteractionEnum: { + Ecommerce: import("../binLookup").CostEstimateRequest.ShopperInteractionEnum; + ContAuth: import("../binLookup").CostEstimateRequest.ShopperInteractionEnum; + Moto: import("../binLookup").CostEstimateRequest.ShopperInteractionEnum; + POS: import("../binLookup").CostEstimateRequest.ShopperInteractionEnum; + }; +} diff --git a/dist/lib/typings/payout/payoutRequest.js b/dist/lib/typings/payout/payoutRequest.js new file mode 100644 index 0000000..b47e5a3 --- /dev/null +++ b/dist/lib/typings/payout/payoutRequest.js @@ -0,0 +1,20 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var PayoutRequest; +(function (PayoutRequest) { + PayoutRequest.EntityTypeEnum = { + NaturalPerson: 'NaturalPerson', + CompanyName: 'CompanyName' + }; + PayoutRequest.RecurringProcessingModelEnum = { + CardOnFile: 'CardOnFile', + Subscription: 'Subscription' + }; + PayoutRequest.ShopperInteractionEnum = { + Ecommerce: 'Ecommerce', + ContAuth: 'ContAuth', + Moto: 'Moto', + POS: 'POS' + }; +})(PayoutRequest = exports.PayoutRequest || (exports.PayoutRequest = {})); +//# sourceMappingURL=payoutRequest.js.map \ No newline at end of file diff --git a/dist/lib/typings/payout/payoutRequest.js.map b/dist/lib/typings/payout/payoutRequest.js.map new file mode 100644 index 0000000..2670c4f --- /dev/null +++ b/dist/lib/typings/payout/payoutRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"payoutRequest.js","sourceRoot":"","sources":["../../../../src/typings/payout/payoutRequest.ts"],"names":[],"mappings":";;AAsJA,IAAiB,aAAa,CAkB7B;AAlBD,WAAiB,aAAa;IAEb,4BAAc,GAAG;QAC1B,aAAa,EAAE,eAAiC;QAChD,WAAW,EAAE,aAA+B;KAC/C,CAAC;IAEW,0CAA4B,GAAG;QACxC,UAAU,EAAE,YAA4C;QACxD,YAAY,EAAE,cAA8C;KAC/D,CAAC;IAEW,oCAAsB,GAAG;QAClC,SAAS,EAAE,WAAqC;QAChD,QAAQ,EAAE,UAAoC;QAC9C,IAAI,EAAE,MAAgC;QACtC,GAAG,EAAE,KAA+B;KACvC,CAAC;AACN,CAAC,EAlBgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAkB7B"} \ No newline at end of file diff --git a/dist/lib/typings/payout/payoutResponse.d.ts b/dist/lib/typings/payout/payoutResponse.d.ts new file mode 100644 index 0000000..06bcd25 --- /dev/null +++ b/dist/lib/typings/payout/payoutResponse.d.ts @@ -0,0 +1,64 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Amount } from './amount'; +import { FraudResult } from './fraudResult'; +export interface PayoutResponse { + /** + * This field contains additional data, which may be required to return in a particular payment response. To choose data fields to be returned, go to **Customer Area** > **Account** > **API URLs**. + */ + additionalData?: any; + /** + * Authorisation code: * When the payment is authorised successfully, this field holds the authorisation code for the payment. * When the payment is not authorised, this field is empty. + */ + authCode?: string; + dccAmount?: Amount; + /** + * Cryptographic signature used to verify `dccQuote`. > This value only applies if you have implemented Dynamic Currency Conversion. For more information, [contact Support](https://support.adyen.com/hc/en-us/requests/new). + */ + dccSignature?: string; + fraudResult?: FraudResult; + /** + * The URL to direct the shopper to. > In case of SecurePlus, do not redirect a shopper to this URL. + */ + issuerUrl?: string; + /** + * The payment session. + */ + md?: string; + /** + * The 3D request data for the issuer. If the value is **CUPSecurePlus-CollectSMSVerificationCode**, collect an SMS code from the shopper and pass it in the `/authorise3D` request. For more information, see [3D Secure](https://docs.adyen.com/risk-management/3d-secure). + */ + paRequest?: string; + /** + * Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request. > `pspReference` is returned only for non-redirect payment methods. + */ + pspReference?: string; + /** + * If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes `resultCode` and `refusalReason` values. + */ + refusalReason?: string; + /** + * The result of the payment. Possible values: * **Authorised** – Indicates the payment authorisation was successfully completed. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state. * **Refused** – Indicates the payment was refused. The reason is given in the `refusalReason` field. This is a final state. * **RedirectShopper** – Indicates the shopper should be redirected to an external web page or app to complete the authorisation. * **Received** – Indicates the payment has successfully been received by Adyen, and will be processed. This is the initial state for all payments. * **Cancelled** – Indicates the payment has been cancelled (either by the shopper or the merchant) before processing was completed. This is a final state. * **Pending** – Indicates that it is not possible to obtain the final status of the payment. This can happen if the systems providing final status information for the payment are unavailable, or if the shopper needs to take further action to complete the payment. For more information on handling a pending payment, refer to [Payments with pending status](https://docs.adyen.com/development-resources/payments-with-pending-status). * **Error** – Indicates an error occurred during processing of the payment. The reason is given in the `refusalReason` field. This is a final state. + */ + resultCode?: PayoutResponse.ResultCodeEnum; +} +export declare namespace PayoutResponse { + type ResultCodeEnum = 'Authorised' | 'PartiallyAuthorised' | 'Refused' | 'Error' | 'Cancelled' | 'Received' | 'RedirectShopper'; + const ResultCodeEnum: { + Authorised: ResultCodeEnum; + PartiallyAuthorised: ResultCodeEnum; + Refused: ResultCodeEnum; + Error: ResultCodeEnum; + Cancelled: ResultCodeEnum; + Received: ResultCodeEnum; + RedirectShopper: ResultCodeEnum; + }; +} diff --git a/dist/lib/typings/payout/payoutResponse.js b/dist/lib/typings/payout/payoutResponse.js new file mode 100644 index 0000000..4dd240f --- /dev/null +++ b/dist/lib/typings/payout/payoutResponse.js @@ -0,0 +1,15 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var PayoutResponse; +(function (PayoutResponse) { + PayoutResponse.ResultCodeEnum = { + Authorised: 'Authorised', + PartiallyAuthorised: 'PartiallyAuthorised', + Refused: 'Refused', + Error: 'Error', + Cancelled: 'Cancelled', + Received: 'Received', + RedirectShopper: 'RedirectShopper' + }; +})(PayoutResponse = exports.PayoutResponse || (exports.PayoutResponse = {})); +//# sourceMappingURL=payoutResponse.js.map \ No newline at end of file diff --git a/dist/lib/typings/payout/payoutResponse.js.map b/dist/lib/typings/payout/payoutResponse.js.map new file mode 100644 index 0000000..b5adacf --- /dev/null +++ b/dist/lib/typings/payout/payoutResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"payoutResponse.js","sourceRoot":"","sources":["../../../../src/typings/payout/payoutResponse.ts"],"names":[],"mappings":";;AAsDA,IAAiB,cAAc,CAW9B;AAXD,WAAiB,cAAc;IAEd,6BAAc,GAAG;QAC1B,UAAU,EAAE,YAA8B;QAC1C,mBAAmB,EAAE,qBAAuC;QAC5D,OAAO,EAAE,SAA2B;QACpC,KAAK,EAAE,OAAyB;QAChC,SAAS,EAAE,WAA6B;QACxC,QAAQ,EAAE,UAA4B;QACtC,eAAe,EAAE,iBAAmC;KACvD,CAAC;AACN,CAAC,EAXgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAW9B"} \ No newline at end of file diff --git a/dist/lib/typings/payout/recurring.d.ts b/dist/lib/typings/payout/recurring.d.ts new file mode 100644 index 0000000..fe4ea4d --- /dev/null +++ b/dist/lib/typings/payout/recurring.d.ts @@ -0,0 +1,38 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Recurring { + /** + * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payment-glossary#cardsecuritycodecvccvvcid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payment-glossary#cardnotpresentcnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/features/third-party-payouts). + */ + contract?: Recurring.ContractEnum; + /** + * A descriptive name for this detail. + */ + recurringDetailName?: string; + /** + * The name of the token service. + */ + tokenService?: Recurring.TokenServiceEnum; +} +export declare namespace Recurring { + type ContractEnum = 'ONECLICK' | 'RECURRING' | 'PAYOUT'; + const ContractEnum: { + ONECLICK: import("../binLookup").Recurring.ContractEnum; + RECURRING: import("../binLookup").Recurring.ContractEnum; + PAYOUT: import("../binLookup").Recurring.ContractEnum; + }; + type TokenServiceEnum = 'VISATOKENSERVICE' | 'MCTOKENSERVICE'; + const TokenServiceEnum: { + VISATOKENSERVICE: import("../binLookup").Recurring.TokenServiceEnum; + MCTOKENSERVICE: import("../binLookup").Recurring.TokenServiceEnum; + }; +} diff --git a/dist/lib/typings/payout/recurring.js b/dist/lib/typings/payout/recurring.js new file mode 100644 index 0000000..6b22b13 --- /dev/null +++ b/dist/lib/typings/payout/recurring.js @@ -0,0 +1,26 @@ +"use strict"; +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var Recurring; +(function (Recurring) { + Recurring.ContractEnum = { + ONECLICK: 'ONECLICK', + RECURRING: 'RECURRING', + PAYOUT: 'PAYOUT' + }; + Recurring.TokenServiceEnum = { + VISATOKENSERVICE: 'VISATOKENSERVICE', + MCTOKENSERVICE: 'MCTOKENSERVICE' + }; +})(Recurring = exports.Recurring || (exports.Recurring = {})); +//# sourceMappingURL=recurring.js.map \ No newline at end of file diff --git a/dist/lib/typings/payout/recurring.js.map b/dist/lib/typings/payout/recurring.js.map new file mode 100644 index 0000000..8a5518c --- /dev/null +++ b/dist/lib/typings/payout/recurring.js.map @@ -0,0 +1 @@ +{"version":3,"file":"recurring.js","sourceRoot":"","sources":["../../../../src/typings/payout/recurring.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;AAgBH,IAAiB,SAAS,CAYzB;AAZD,WAAiB,SAAS;IAET,sBAAY,GAAG;QACxB,QAAQ,EAAE,UAA0B;QACpC,SAAS,EAAE,WAA2B;QACtC,MAAM,EAAE,QAAwB;KACnC,CAAC;IAEW,0BAAgB,GAAG;QAC5B,gBAAgB,EAAE,kBAAsC;QACxD,cAAc,EAAE,gBAAoC;KACvD,CAAC;AACN,CAAC,EAZgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAYzB"} \ No newline at end of file diff --git a/dist/lib/typings/payout/storeDetailAndSubmitRequest.d.ts b/dist/lib/typings/payout/storeDetailAndSubmitRequest.d.ts new file mode 100644 index 0000000..f0b9417 --- /dev/null +++ b/dist/lib/typings/payout/storeDetailAndSubmitRequest.d.ts @@ -0,0 +1,79 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Address } from './address'; +import { Amount } from './amount'; +import { BankAccount } from './bankAccount'; +import { Card } from './card'; +import { Name } from './name'; +import { Recurring } from './recurring'; +export interface StoreDetailAndSubmitRequest { + /** + * This field contains additional data, which may be required for a particular request. + */ + additionalData?: any; + amount: Amount; + bank?: BankAccount; + billingAddress?: Address; + card?: Card; + /** + * The date of birth. Format: [ISO-8601](https://www.w3.org/TR/NOTE-datetime); example: YYYY-MM-DD For Paysafecard it must be the same as used when registering the Paysafecard account. > This field is mandatory for natural persons. + */ + dateOfBirth: Date; + /** + * The type of the entity the payout is processed for. + */ + entityType: StoreDetailAndSubmitRequest.EntityTypeEnum; + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + */ + fraudOffset?: number; + /** + * The merchant account identifier, with which you want to process the transaction. + */ + merchantAccount: string; + /** + * The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL'). + */ + nationality: string; + recurring: Recurring; + /** + * The merchant reference for this payment. This reference will be used in all communication to the merchant about the status of the payout. Although it is a good idea to make sure it is unique, this is not a requirement. + */ + reference: string; + /** + * The name of the brand to make a payout to. For Paysafecard it must be set to `paysafecard`. + */ + selectedBrand?: string; + /** + * The shopper's email address. + */ + shopperEmail: string; + shopperName?: Name; + /** + * The shopper's reference for the payment transaction. + */ + shopperReference: string; + /** + * The description of this payout. This description is shown on the bank statement of the shopper (if this is supported by the chosen payment method). + */ + shopperStatement?: string; + /** + * The shopper's social security number. + */ + socialSecurityNumber?: string; +} +export declare namespace StoreDetailAndSubmitRequest { + type EntityTypeEnum = 'NaturalPerson' | 'Company'; + const EntityTypeEnum: { + NaturalPerson: EntityTypeEnum; + Company: EntityTypeEnum; + }; +} diff --git a/dist/lib/typings/payout/storeDetailAndSubmitRequest.js b/dist/lib/typings/payout/storeDetailAndSubmitRequest.js new file mode 100644 index 0000000..4239629 --- /dev/null +++ b/dist/lib/typings/payout/storeDetailAndSubmitRequest.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var StoreDetailAndSubmitRequest; +(function (StoreDetailAndSubmitRequest) { + StoreDetailAndSubmitRequest.EntityTypeEnum = { + NaturalPerson: 'NaturalPerson', + Company: 'Company' + }; +})(StoreDetailAndSubmitRequest = exports.StoreDetailAndSubmitRequest || (exports.StoreDetailAndSubmitRequest = {})); +//# sourceMappingURL=storeDetailAndSubmitRequest.js.map \ No newline at end of file diff --git a/dist/lib/typings/payout/storeDetailAndSubmitRequest.js.map b/dist/lib/typings/payout/storeDetailAndSubmitRequest.js.map new file mode 100644 index 0000000..26aa63c --- /dev/null +++ b/dist/lib/typings/payout/storeDetailAndSubmitRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"storeDetailAndSubmitRequest.js","sourceRoot":"","sources":["../../../../src/typings/payout/storeDetailAndSubmitRequest.ts"],"names":[],"mappings":";;AA0EA,IAAiB,2BAA2B,CAM3C;AAND,WAAiB,2BAA2B;IAE3B,0CAAc,GAAG;QAC1B,aAAa,EAAE,eAAiC;QAChD,OAAO,EAAE,SAA2B;KACvC,CAAC;AACN,CAAC,EANgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAM3C"} \ No newline at end of file diff --git a/dist/lib/typings/payout/storeDetailAndSubmitResponse.d.ts b/dist/lib/typings/payout/storeDetailAndSubmitResponse.d.ts new file mode 100644 index 0000000..a1fc975 --- /dev/null +++ b/dist/lib/typings/payout/storeDetailAndSubmitResponse.d.ts @@ -0,0 +1,29 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface StoreDetailAndSubmitResponse { + /** + * This field contains additional data, which may be returned in a particular response. + */ + additionalData?: any; + /** + * A new reference to uniquely identify this request. + */ + pspReference: string; + /** + * In case of refusal, an informational message for the reason. + */ + refusalReason?: string; + /** + * The response: * In case of success is payout-submit-received. * In case of an error, an informational message is returned. + */ + resultCode: string; +} diff --git a/dist/lib/typings/payout/storeDetailAndSubmitResponse.js b/dist/lib/typings/payout/storeDetailAndSubmitResponse.js new file mode 100644 index 0000000..5982d52 --- /dev/null +++ b/dist/lib/typings/payout/storeDetailAndSubmitResponse.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=storeDetailAndSubmitResponse.js.map \ No newline at end of file diff --git a/dist/lib/typings/payout/storeDetailAndSubmitResponse.js.map b/dist/lib/typings/payout/storeDetailAndSubmitResponse.js.map new file mode 100644 index 0000000..d772415 --- /dev/null +++ b/dist/lib/typings/payout/storeDetailAndSubmitResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"storeDetailAndSubmitResponse.js","sourceRoot":"","sources":["../../../../src/typings/payout/storeDetailAndSubmitResponse.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/payout/storeDetailRequest.d.ts b/dist/lib/typings/payout/storeDetailRequest.d.ts new file mode 100644 index 0000000..ae50508 --- /dev/null +++ b/dist/lib/typings/payout/storeDetailRequest.d.ts @@ -0,0 +1,69 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Address } from './address'; +import { BankAccount } from './bankAccount'; +import { Card } from './card'; +import { Name } from './name'; +import { Recurring } from './recurring'; +export interface StoreDetailRequest { + /** + * This field contains additional data, which may be required for a particular request. + */ + additionalData?: any; + bank?: BankAccount; + billingAddress?: Address; + card?: Card; + /** + * The date of birth. Format: [ISO-8601](https://www.w3.org/TR/NOTE-datetime); example: YYYY-MM-DD For Paysafecard it must be the same as used when registering the Paysafecard account. > This field is mandatory for natural persons. + */ + dateOfBirth: Date; + /** + * The type of the entity the payout is processed for. + */ + entityType: StoreDetailRequest.EntityTypeEnum; + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + */ + fraudOffset?: number; + /** + * The merchant account identifier, with which you want to process the transaction. + */ + merchantAccount: string; + /** + * The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL'). + */ + nationality: string; + recurring: Recurring; + /** + * The name of the brand to make a payout to. For Paysafecard it must be set to `paysafecard`. + */ + selectedBrand?: string; + /** + * The shopper's email address. + */ + shopperEmail: string; + shopperName?: Name; + /** + * The shopper's reference for the payment transaction. + */ + shopperReference: string; + /** + * The shopper's social security number. + */ + socialSecurityNumber?: string; +} +export declare namespace StoreDetailRequest { + type EntityTypeEnum = 'NaturalPerson' | 'Company'; + const EntityTypeEnum: { + NaturalPerson: import("./storeDetailAndSubmitRequest").StoreDetailAndSubmitRequest.EntityTypeEnum; + Company: import("./storeDetailAndSubmitRequest").StoreDetailAndSubmitRequest.EntityTypeEnum; + }; +} diff --git a/dist/lib/typings/payout/storeDetailRequest.js b/dist/lib/typings/payout/storeDetailRequest.js new file mode 100644 index 0000000..04ed3dd --- /dev/null +++ b/dist/lib/typings/payout/storeDetailRequest.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var StoreDetailRequest; +(function (StoreDetailRequest) { + StoreDetailRequest.EntityTypeEnum = { + NaturalPerson: 'NaturalPerson', + Company: 'Company' + }; +})(StoreDetailRequest = exports.StoreDetailRequest || (exports.StoreDetailRequest = {})); +//# sourceMappingURL=storeDetailRequest.js.map \ No newline at end of file diff --git a/dist/lib/typings/payout/storeDetailRequest.js.map b/dist/lib/typings/payout/storeDetailRequest.js.map new file mode 100644 index 0000000..a1f0d2e --- /dev/null +++ b/dist/lib/typings/payout/storeDetailRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"storeDetailRequest.js","sourceRoot":"","sources":["../../../../src/typings/payout/storeDetailRequest.ts"],"names":[],"mappings":";;AAgEA,IAAiB,kBAAkB,CAMlC;AAND,WAAiB,kBAAkB;IAElB,iCAAc,GAAG;QAC1B,aAAa,EAAE,eAAiC;QAChD,OAAO,EAAE,SAA2B;KACvC,CAAC;AACN,CAAC,EANgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAMlC"} \ No newline at end of file diff --git a/dist/lib/typings/payout/storeDetailResponse.d.ts b/dist/lib/typings/payout/storeDetailResponse.d.ts new file mode 100644 index 0000000..a2b3635 --- /dev/null +++ b/dist/lib/typings/payout/storeDetailResponse.d.ts @@ -0,0 +1,29 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface StoreDetailResponse { + /** + * This field contains additional data, which may be returned in a particular response. + */ + additionalData?: any; + /** + * A new reference to uniquely identify this request. + */ + pspReference: string; + /** + * The token which you can use later on for submitting the payout. + */ + recurringDetailReference: string; + /** + * The result code of the transaction. `Success` indicates that the details were stored successfully. + */ + resultCode: string; +} diff --git a/dist/lib/typings/payout/storeDetailResponse.js b/dist/lib/typings/payout/storeDetailResponse.js new file mode 100644 index 0000000..23d50ae --- /dev/null +++ b/dist/lib/typings/payout/storeDetailResponse.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=storeDetailResponse.js.map \ No newline at end of file diff --git a/dist/lib/typings/payout/storeDetailResponse.js.map b/dist/lib/typings/payout/storeDetailResponse.js.map new file mode 100644 index 0000000..2254e24 --- /dev/null +++ b/dist/lib/typings/payout/storeDetailResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"storeDetailResponse.js","sourceRoot":"","sources":["../../../../src/typings/payout/storeDetailResponse.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/payout/submitRequest.d.ts b/dist/lib/typings/payout/submitRequest.d.ts new file mode 100644 index 0000000..2836029 --- /dev/null +++ b/dist/lib/typings/payout/submitRequest.d.ts @@ -0,0 +1,73 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Amount } from './amount'; +import { Name } from './name'; +import { Recurring } from './recurring'; +export interface SubmitRequest { + /** + * This field contains additional data, which may be required for a particular request. + */ + additionalData?: any; + amount: Amount; + /** + * The date of birth. Format: ISO-8601; example: YYYY-MM-DD For Paysafecard it must be the same as used when registering the Paysafecard account. > This field is mandatory for natural persons. > This field is required to update the existing `dateOfBirth` that is associated with this recurring contract. + */ + dateOfBirth?: Date; + /** + * The type of the entity the payout is processed for. Allowed values: * NaturalPerson * Company > This field is required to update the existing `entityType` that is associated with this recurring contract. + */ + entityType?: SubmitRequest.EntityTypeEnum; + /** + * An integer value that is added to the normal fraud score. The value can be either positive or negative. + */ + fraudOffset?: number; + /** + * The merchant account identifier you want to process the transaction request with. + */ + merchantAccount: string; + /** + * The shopper's nationality. A valid value is an ISO 2-character country code (e.g. 'NL'). > This field is required to update the existing nationality that is associated with this recurring contract. + */ + nationality?: string; + recurring: Recurring; + /** + * The merchant reference for this payout. This reference will be used in all communication to the merchant about the status of the payout. Although it is a good idea to make sure it is unique, this is not a requirement. + */ + reference: string; + /** + * This is the `recurringDetailReference` you want to use for this payout. You can use the value LATEST to select the most recently used recurring detail. + */ + selectedRecurringDetailReference: string; + /** + * The shopper's email address. + */ + shopperEmail: string; + shopperName?: Name; + /** + * The shopper's reference for the payout transaction. + */ + shopperReference: string; + /** + * The description of this payout. This description is shown on the bank statement of the shopper (if this is supported by the chosen payment method). + */ + shopperStatement?: string; + /** + * The shopper's social security number. + */ + socialSecurityNumber?: string; +} +export declare namespace SubmitRequest { + type EntityTypeEnum = 'NaturalPerson' | 'Company'; + const EntityTypeEnum: { + NaturalPerson: import("./storeDetailAndSubmitRequest").StoreDetailAndSubmitRequest.EntityTypeEnum; + Company: import("./storeDetailAndSubmitRequest").StoreDetailAndSubmitRequest.EntityTypeEnum; + }; +} diff --git a/dist/lib/typings/payout/submitRequest.js b/dist/lib/typings/payout/submitRequest.js new file mode 100644 index 0000000..292a0c4 --- /dev/null +++ b/dist/lib/typings/payout/submitRequest.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var SubmitRequest; +(function (SubmitRequest) { + SubmitRequest.EntityTypeEnum = { + NaturalPerson: 'NaturalPerson', + Company: 'Company' + }; +})(SubmitRequest = exports.SubmitRequest || (exports.SubmitRequest = {})); +//# sourceMappingURL=submitRequest.js.map \ No newline at end of file diff --git a/dist/lib/typings/payout/submitRequest.js.map b/dist/lib/typings/payout/submitRequest.js.map new file mode 100644 index 0000000..8b73904 --- /dev/null +++ b/dist/lib/typings/payout/submitRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"submitRequest.js","sourceRoot":"","sources":["../../../../src/typings/payout/submitRequest.ts"],"names":[],"mappings":";;AAoEA,IAAiB,aAAa,CAM7B;AAND,WAAiB,aAAa;IAEb,4BAAc,GAAG;QAC1B,aAAa,EAAE,eAAiC;QAChD,OAAO,EAAE,SAA2B;KACvC,CAAC;AACN,CAAC,EANgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAM7B"} \ No newline at end of file diff --git a/dist/lib/typings/payout/submitResponse.d.ts b/dist/lib/typings/payout/submitResponse.d.ts new file mode 100644 index 0000000..8ff3d41 --- /dev/null +++ b/dist/lib/typings/payout/submitResponse.d.ts @@ -0,0 +1,29 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface SubmitResponse { + /** + * This field contains additional data, which may be returned in a particular response. + */ + additionalData?: any; + /** + * A new reference to uniquely identify this request. + */ + pspReference: string; + /** + * In case of refusal, an informational message for the reason. + */ + refusalReason?: string; + /** + * The response: * In case of success, it is `payout-submit-received`. * In case of an error, an informational message is returned. + */ + resultCode: string; +} diff --git a/dist/lib/typings/payout/submitResponse.js b/dist/lib/typings/payout/submitResponse.js new file mode 100644 index 0000000..25e0606 --- /dev/null +++ b/dist/lib/typings/payout/submitResponse.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=submitResponse.js.map \ No newline at end of file diff --git a/dist/lib/typings/payout/submitResponse.js.map b/dist/lib/typings/payout/submitResponse.js.map new file mode 100644 index 0000000..b4525fa --- /dev/null +++ b/dist/lib/typings/payout/submitResponse.js.map @@ -0,0 +1 @@ +{"version":3,"file":"submitResponse.js","sourceRoot":"","sources":["../../../../src/typings/payout/submitResponse.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/payout/threeDSecureData.d.ts b/dist/lib/typings/payout/threeDSecureData.d.ts new file mode 100644 index 0000000..66b590a --- /dev/null +++ b/dist/lib/typings/payout/threeDSecureData.d.ts @@ -0,0 +1,53 @@ +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface ThreeDSecureData { + /** + * The authentication response if the shopper was redirected. + */ + authenticationResponse?: ThreeDSecureData.AuthenticationResponseEnum; + /** + * The cardholder authentication value (base64 encoded, 20 bytes in a decoded form). + */ + cavv?: string; + /** + * The CAVV algorithm used. + */ + cavvAlgorithm?: string; + /** + * The enrollment response from the 3D directory server. + */ + directoryResponse?: ThreeDSecureData.DirectoryResponseEnum; + /** + * The electronic commerce indicator. + */ + eci?: string; + /** + * The transaction identifier (base64 encoded, 20 bytes in a decoded form). + */ + xid?: string; +} +export declare namespace ThreeDSecureData { + type AuthenticationResponseEnum = 'Y' | 'N' | 'U' | 'A'; + const AuthenticationResponseEnum: { + Y: import("../checkout").ThreeDSecureData.AuthenticationResponseEnum; + N: import("../checkout").ThreeDSecureData.AuthenticationResponseEnum; + U: import("../checkout").ThreeDSecureData.AuthenticationResponseEnum; + A: import("../checkout").ThreeDSecureData.AuthenticationResponseEnum; + }; + type DirectoryResponseEnum = 'Y' | 'N' | 'U' | 'E'; + const DirectoryResponseEnum: { + Y: DirectoryResponseEnum; + N: DirectoryResponseEnum; + U: DirectoryResponseEnum; + E: DirectoryResponseEnum; + }; +} diff --git a/dist/lib/typings/payout/threeDSecureData.js b/dist/lib/typings/payout/threeDSecureData.js new file mode 100644 index 0000000..a8d669a --- /dev/null +++ b/dist/lib/typings/payout/threeDSecureData.js @@ -0,0 +1,29 @@ +"use strict"; +/** + * Adyen Payout Service + * A set of API endpoints that allow you to store payout details, confirm, or decline a payout. For more information, refer to [Third-party payouts](https://docs.adyen.com/features/third-party-payouts). + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var ThreeDSecureData; +(function (ThreeDSecureData) { + ThreeDSecureData.AuthenticationResponseEnum = { + Y: 'Y', + N: 'N', + U: 'U', + A: 'A' + }; + ThreeDSecureData.DirectoryResponseEnum = { + Y: 'Y', + N: 'N', + U: 'U', + E: 'E' + }; +})(ThreeDSecureData = exports.ThreeDSecureData || (exports.ThreeDSecureData = {})); +//# sourceMappingURL=threeDSecureData.js.map \ No newline at end of file diff --git a/dist/lib/typings/payout/threeDSecureData.js.map b/dist/lib/typings/payout/threeDSecureData.js.map new file mode 100644 index 0000000..aa9626f --- /dev/null +++ b/dist/lib/typings/payout/threeDSecureData.js.map @@ -0,0 +1 @@ +{"version":3,"file":"threeDSecureData.js","sourceRoot":"","sources":["../../../../src/typings/payout/threeDSecureData.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;AA4BH,IAAiB,gBAAgB,CAehC;AAfD,WAAiB,gBAAgB;IAEhB,2CAA0B,GAAG;QACtC,CAAC,EAAE,GAAiC;QACpC,CAAC,EAAE,GAAiC;QACpC,CAAC,EAAE,GAAiC;QACpC,CAAC,EAAE,GAAiC;KACvC,CAAC;IAEW,sCAAqB,GAAG;QACjC,CAAC,EAAE,GAA4B;QAC/B,CAAC,EAAE,GAA4B;QAC/B,CAAC,EAAE,GAA4B;QAC/B,CAAC,EAAE,GAA4B;KAClC,CAAC;AACN,CAAC,EAfgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAehC"} \ No newline at end of file diff --git a/dist/lib/typings/recurring/address.d.ts b/dist/lib/typings/recurring/address.d.ts new file mode 100644 index 0000000..ab116ef --- /dev/null +++ b/dist/lib/typings/recurring/address.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Address { + /** + * The name of the city. >Required if either houseNumberOrName, street, postalCode, or stateOrProvince are provided. + */ + city?: string; + /** + * The two-character country code of the address. The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. 'NL'). > If you don't know the country or are not collecting the country from the shopper, provide `countryCode` as `ZZ`. + */ + country: string; + /** + * The number or name of the house. + */ + houseNumberOrName?: string; + /** + * The postal code. >A maximum of five (5) digits for an address in the USA, or a maximum of ten (10) characters for an address in all other countries. + */ + postalCode?: string; + /** + * The abbreviation of the state or province. >Two (2) characters for an address in the USA or Canada, or a maximum of three (3) characters for an address in all other countries. >Required for an address in the USA or Canada if either houseNumberOrName, street, city, or postalCode are provided. + */ + stateOrProvince?: string; + /** + * The name of the street. >The house number should not be included in this field; it should be separately provided via `houseNumberOrName`. >Required if either houseNumberOrName, city, postalCode, or stateOrProvince are provided. + */ + street?: string; +} diff --git a/dist/lib/typings/recurring/address.js b/dist/lib/typings/recurring/address.js new file mode 100644 index 0000000..3681d5c --- /dev/null +++ b/dist/lib/typings/recurring/address.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=address.js.map \ No newline at end of file diff --git a/dist/lib/typings/recurring/address.js.map b/dist/lib/typings/recurring/address.js.map new file mode 100644 index 0000000..0df637b --- /dev/null +++ b/dist/lib/typings/recurring/address.js.map @@ -0,0 +1 @@ +{"version":3,"file":"address.js","sourceRoot":"","sources":["../../../../src/typings/recurring/address.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/recurring/bankAccount.d.ts b/dist/lib/typings/recurring/bankAccount.d.ts new file mode 100644 index 0000000..716602d --- /dev/null +++ b/dist/lib/typings/recurring/bankAccount.d.ts @@ -0,0 +1,49 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface BankAccount { + /** + * The bank account number (without separators). + */ + bankAccountNumber?: string; + /** + * The bank city. + */ + bankCity?: string; + /** + * The location id of the bank. The field value is `nil` in most cases. + */ + bankLocationId?: string; + /** + * The name of the bank. + */ + bankName?: string; + /** + * The [Business Identifier Code](https://en.wikipedia.org/wiki/ISO_9362) (BIC) is the SWIFT address assigned to a bank. The field value is `nil` in most cases. + */ + bic?: string; + /** + * Country code where the bank is located. A valid value is an ISO two-character country code (e.g. 'NL'). + */ + countryCode?: string; + /** + * The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN). + */ + iban?: string; + /** + * The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don't accept 'ø'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don't match the required format, the response returns the error message: 203 'Invalid bank account holder name'. + */ + ownerName?: string; + /** + * The bank account holder's tax ID. + */ + taxId?: string; +} diff --git a/dist/lib/typings/recurring/bankAccount.js b/dist/lib/typings/recurring/bankAccount.js new file mode 100644 index 0000000..261100e --- /dev/null +++ b/dist/lib/typings/recurring/bankAccount.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=bankAccount.js.map \ No newline at end of file diff --git a/dist/lib/typings/recurring/bankAccount.js.map b/dist/lib/typings/recurring/bankAccount.js.map new file mode 100644 index 0000000..a8b5417 --- /dev/null +++ b/dist/lib/typings/recurring/bankAccount.js.map @@ -0,0 +1 @@ +{"version":3,"file":"bankAccount.js","sourceRoot":"","sources":["../../../../src/typings/recurring/bankAccount.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/recurring/card.d.ts b/dist/lib/typings/recurring/card.d.ts new file mode 100644 index 0000000..c93acc5 --- /dev/null +++ b/dist/lib/typings/recurring/card.d.ts @@ -0,0 +1,45 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Card { + /** + * The [card verification code](https://docs.adyen.com/payments-essentials/payment-glossary#card_security_code_cvc_cvv_cid_) (1-20 characters). Depending on the card brand, it is known also as: * CVV2/CVC2 – length: 3 digits * CID – length: 4 digits > If you are using [Client-Side Encryption](https://docs.adyen.com/classic-integration/cse-integration-ecommerce), the CVC code is present in the encrypted data. You must never post the card details to the server. > This field must be always present in a [one-click payment request](https://docs.adyen.com/classic-integration/recurring-payments). > When this value is returned in a response, it is always empty because it is not stored. + */ + cvc?: string; + /** + * The card expiry month. Format: 2 digits, zero-padded for single digits. For example: * 03 = March * 11 = November + */ + expiryMonth: string; + /** + * The card expiry year. Format: 4 digits. For example: 2020 + */ + expiryYear: string; + /** + * The name of the cardholder, as printed on the card. + */ + holderName: string; + /** + * The issue number of the card (for some UK debit cards only). + */ + issueNumber?: string; + /** + * The card number (4-19 characters). Do not use any separators. When this value is returned in a response, only the last 4 digits of the card number are returned. + */ + number: string; + /** + * The month component of the start date (for some UK debit cards only). + */ + startMonth?: string; + /** + * The year component of the start date (for some UK debit cards only). + */ + startYear?: string; +} diff --git a/dist/lib/typings/recurring/card.js b/dist/lib/typings/recurring/card.js new file mode 100644 index 0000000..97d230c --- /dev/null +++ b/dist/lib/typings/recurring/card.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=card.js.map \ No newline at end of file diff --git a/dist/lib/typings/recurring/card.js.map b/dist/lib/typings/recurring/card.js.map new file mode 100644 index 0000000..c8bd28e --- /dev/null +++ b/dist/lib/typings/recurring/card.js.map @@ -0,0 +1 @@ +{"version":3,"file":"card.js","sourceRoot":"","sources":["../../../../src/typings/recurring/card.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/recurring/disableRequest.d.ts b/dist/lib/typings/recurring/disableRequest.d.ts new file mode 100644 index 0000000..d7cb811 --- /dev/null +++ b/dist/lib/typings/recurring/disableRequest.d.ts @@ -0,0 +1,29 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface DisableRequest { + /** + * Specify the contract if you only want to disable a specific use. This field can be set to one of the following values, or to their combination (comma-separated): * ONECLICK * RECURRING * PAYOUT + */ + contract?: string; + /** + * The merchant account identifier with which you want to process the transaction. + */ + merchantAccount: string; + /** + * The ID that uniquely identifies the recurring detail reference. If it is not provided, the whole recurring contract of the `shopperReference` will be disabled, which includes all recurring details. + */ + recurringDetailReference?: string; + /** + * The ID that uniquely identifies the shopper. This `shopperReference` must be the same as the `shopperReference` used in the initial payment. + */ + shopperReference: string; +} diff --git a/dist/lib/typings/recurring/disableRequest.js b/dist/lib/typings/recurring/disableRequest.js new file mode 100644 index 0000000..220d4f0 --- /dev/null +++ b/dist/lib/typings/recurring/disableRequest.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=disableRequest.js.map \ No newline at end of file diff --git a/dist/lib/typings/recurring/disableRequest.js.map b/dist/lib/typings/recurring/disableRequest.js.map new file mode 100644 index 0000000..9682b51 --- /dev/null +++ b/dist/lib/typings/recurring/disableRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"disableRequest.js","sourceRoot":"","sources":["../../../../src/typings/recurring/disableRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/recurring/disableResult.d.ts b/dist/lib/typings/recurring/disableResult.d.ts new file mode 100644 index 0000000..a80ff5c --- /dev/null +++ b/dist/lib/typings/recurring/disableResult.d.ts @@ -0,0 +1,17 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface DisableResult { + /** + * Depending on whether a specific recurring detail was in the request, result is either [detail-successfully-disabled] or [all-details-successfully-disabled]. + */ + response?: string; +} diff --git a/dist/lib/typings/recurring/disableResult.js b/dist/lib/typings/recurring/disableResult.js new file mode 100644 index 0000000..7fcebd7 --- /dev/null +++ b/dist/lib/typings/recurring/disableResult.js @@ -0,0 +1,14 @@ +"use strict"; +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=disableResult.js.map \ No newline at end of file diff --git a/dist/lib/typings/recurring/disableResult.js.map b/dist/lib/typings/recurring/disableResult.js.map new file mode 100644 index 0000000..deb76bc --- /dev/null +++ b/dist/lib/typings/recurring/disableResult.js.map @@ -0,0 +1 @@ +{"version":3,"file":"disableResult.js","sourceRoot":"","sources":["../../../../src/typings/recurring/disableResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG"} \ No newline at end of file diff --git a/dist/lib/typings/recurring/index.d.ts b/dist/lib/typings/recurring/index.d.ts new file mode 100644 index 0000000..452cdd4 --- /dev/null +++ b/dist/lib/typings/recurring/index.d.ts @@ -0,0 +1,10 @@ +export * from './address'; +export * from './bankAccount'; +export * from './card'; +export * from './disableRequest'; +export * from './disableResult'; +export * from './name'; +export * from './recurring'; +export * from './recurringDetail'; +export * from './recurringDetailsRequest'; +export * from './recurringDetailsResult'; diff --git a/dist/lib/typings/recurring/index.js b/dist/lib/typings/recurring/index.js new file mode 100644 index 0000000..b109071 --- /dev/null +++ b/dist/lib/typings/recurring/index.js @@ -0,0 +1,8 @@ +"use strict"; +function __export(m) { + for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; +} +Object.defineProperty(exports, "__esModule", { value: true }); +__export(require("./name")); +__export(require("./recurring")); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/lib/typings/recurring/index.js.map b/dist/lib/typings/recurring/index.js.map new file mode 100644 index 0000000..b392a0e --- /dev/null +++ b/dist/lib/typings/recurring/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/typings/recurring/index.ts"],"names":[],"mappings":";;;;;AAKA,4BAAuB;AACvB,iCAA4B"} \ No newline at end of file diff --git a/dist/lib/typings/recurring/name.d.ts b/dist/lib/typings/recurring/name.d.ts new file mode 100644 index 0000000..de3e36c --- /dev/null +++ b/dist/lib/typings/recurring/name.d.ts @@ -0,0 +1,37 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Name { + /** + * The first name. + */ + firstName: string; + /** + * The gender. >The following values are permitted: `MALE`, `FEMALE`, `UNKNOWN`. + */ + gender: Name.GenderEnum; + /** + * The name's infix, if applicable. >A maximum length of twenty (20) characters is imposed. + */ + infix?: string; + /** + * The last name. + */ + lastName: string; +} +export declare namespace Name { + type GenderEnum = 'MALE' | 'FEMALE' | 'UNKNOWN'; + const GenderEnum: { + MALE: import("../checkout").Name.GenderEnum; + FEMALE: import("../checkout").Name.GenderEnum; + UNKNOWN: import("../checkout").Name.GenderEnum; + }; +} diff --git a/dist/lib/typings/recurring/name.js b/dist/lib/typings/recurring/name.js new file mode 100644 index 0000000..c8be804 --- /dev/null +++ b/dist/lib/typings/recurring/name.js @@ -0,0 +1,22 @@ +"use strict"; +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var Name; +(function (Name) { + Name.GenderEnum = { + MALE: 'MALE', + FEMALE: 'FEMALE', + UNKNOWN: 'UNKNOWN' + }; +})(Name = exports.Name || (exports.Name = {})); +//# sourceMappingURL=name.js.map \ No newline at end of file diff --git a/dist/lib/typings/recurring/name.js.map b/dist/lib/typings/recurring/name.js.map new file mode 100644 index 0000000..e29c2f2 --- /dev/null +++ b/dist/lib/typings/recurring/name.js.map @@ -0,0 +1 @@ +{"version":3,"file":"name.js","sourceRoot":"","sources":["../../../../src/typings/recurring/name.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;AAoBH,IAAiB,IAAI,CAOpB;AAPD,WAAiB,IAAI;IAEJ,eAAU,GAAG;QACtB,IAAI,EAAE,MAAoB;QAC1B,MAAM,EAAE,QAAsB;QAC9B,OAAO,EAAE,SAAuB;KACnC,CAAC;AACN,CAAC,EAPgB,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAOpB"} \ No newline at end of file diff --git a/dist/lib/typings/recurring/recurring.d.ts b/dist/lib/typings/recurring/recurring.d.ts new file mode 100644 index 0000000..991f438 --- /dev/null +++ b/dist/lib/typings/recurring/recurring.d.ts @@ -0,0 +1,38 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +export interface Recurring { + /** + * The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-essentials/payment-glossary#card_security_code_cvc_cvv_cid_). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-essentials/payment-glossary#card_not_present_cnp_). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/features/third-party-payouts). + */ + contract?: Recurring.ContractEnum; + /** + * A descriptive name for this detail. + */ + recurringDetailName?: string; + /** + * The name of the token service. + */ + tokenService?: Recurring.TokenServiceEnum; +} +export declare namespace Recurring { + type ContractEnum = 'ONECLICK' | 'RECURRING' | 'PAYOUT'; + const ContractEnum: { + ONECLICK: import("../binLookup").Recurring.ContractEnum; + RECURRING: import("../binLookup").Recurring.ContractEnum; + PAYOUT: import("../binLookup").Recurring.ContractEnum; + }; + type TokenServiceEnum = 'VISATOKENSERVICE' | 'MCTOKENSERVICE'; + const TokenServiceEnum: { + VISATOKENSERVICE: import("../binLookup").Recurring.TokenServiceEnum; + MCTOKENSERVICE: import("../binLookup").Recurring.TokenServiceEnum; + }; +} diff --git a/dist/lib/typings/recurring/recurring.js b/dist/lib/typings/recurring/recurring.js new file mode 100644 index 0000000..684b103 --- /dev/null +++ b/dist/lib/typings/recurring/recurring.js @@ -0,0 +1,26 @@ +"use strict"; +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ +Object.defineProperty(exports, "__esModule", { value: true }); +var Recurring; +(function (Recurring) { + Recurring.ContractEnum = { + ONECLICK: 'ONECLICK', + RECURRING: 'RECURRING', + PAYOUT: 'PAYOUT' + }; + Recurring.TokenServiceEnum = { + VISATOKENSERVICE: 'VISATOKENSERVICE', + MCTOKENSERVICE: 'MCTOKENSERVICE' + }; +})(Recurring = exports.Recurring || (exports.Recurring = {})); +//# sourceMappingURL=recurring.js.map \ No newline at end of file diff --git a/dist/lib/typings/recurring/recurring.js.map b/dist/lib/typings/recurring/recurring.js.map new file mode 100644 index 0000000..f696c6c --- /dev/null +++ b/dist/lib/typings/recurring/recurring.js.map @@ -0,0 +1 @@ +{"version":3,"file":"recurring.js","sourceRoot":"","sources":["../../../../src/typings/recurring/recurring.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;AAgBH,IAAiB,SAAS,CAYzB;AAZD,WAAiB,SAAS;IAET,sBAAY,GAAG;QACxB,QAAQ,EAAE,UAA0B;QACpC,SAAS,EAAE,WAA2B;QACtC,MAAM,EAAE,QAAwB;KACnC,CAAC;IAEW,0BAAgB,GAAG;QAC5B,gBAAgB,EAAE,kBAAsC;QACxD,cAAc,EAAE,gBAAoC;KACvD,CAAC;AACN,CAAC,EAZgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAYzB"} \ No newline at end of file diff --git a/dist/lib/typings/recurring/recurringDetail.d.ts b/dist/lib/typings/recurring/recurringDetail.d.ts new file mode 100644 index 0000000..573e40e --- /dev/null +++ b/dist/lib/typings/recurring/recurringDetail.d.ts @@ -0,0 +1,64 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Address } from './address'; +import { BankAccount } from './bankAccount'; +import { Card } from './card'; +import { Name } from './name'; +export interface RecurringDetail { + /** + * This field contains additional data, which may be returned in a particular response. The additionalData object consists of entries, each of which includes the key and value. For more information on possible key-value pairs, refer to [RecurringDetail.additionalData](https://docs.adyen.com/api-reference/recurring-api#recurringdetailadditionaldata). + */ + additionalData?: any; + /** + * The alias of the credit card number. Applies only to recurring contracts storing credit card details + */ + alias?: string; + /** + * The alias type of the credit card number. Applies only to recurring contracts storing credit card details. + */ + aliasType?: string; + bank?: BankAccount; + billingAddress?: Address; + card?: Card; + /** + * Types of recurring contracts. + */ + contractTypes?: string[]; + /** + * The date when the recurring details were created. + */ + creationDate?: Date; + /** + * The `pspReference` of the first recurring payment that created the recurring detail. + */ + firstPspReference?: string; + /** + * An optional descriptive name for this recurring detail. + */ + name?: string; + /** + * The type or sub-brand of a payment method used, e.g. Visa Debit, Visa Corporate, etc. For more information, refer to [PaymentMethodVariant](https://docs.adyen.com/api-reference/common-api/paymentmethodvariant). + */ + paymentMethodVariant?: string; + /** + * The reference that uniquely identifies the recurring detail. + */ + recurringDetailReference: string; + shopperName?: Name; + /** + * A shopper's social security number (only in countries where it is legal to collect). + */ + socialSecurityNumber?: string; + /** + * The payment method, such as “mc\", \"visa\", \"ideal\", \"paypal\". + */ + variant: string; +} diff --git a/dist/lib/typings/recurring/recurringDetail.js b/dist/lib/typings/recurring/recurringDetail.js new file mode 100644 index 0000000..955441d --- /dev/null +++ b/dist/lib/typings/recurring/recurringDetail.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=recurringDetail.js.map \ No newline at end of file diff --git a/dist/lib/typings/recurring/recurringDetail.js.map b/dist/lib/typings/recurring/recurringDetail.js.map new file mode 100644 index 0000000..f2e8871 --- /dev/null +++ b/dist/lib/typings/recurring/recurringDetail.js.map @@ -0,0 +1 @@ +{"version":3,"file":"recurringDetail.js","sourceRoot":"","sources":["../../../../src/typings/recurring/recurringDetail.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib/typings/recurring/recurringDetailsRequest.d.ts b/dist/lib/typings/recurring/recurringDetailsRequest.d.ts new file mode 100644 index 0000000..9169c69 --- /dev/null +++ b/dist/lib/typings/recurring/recurringDetailsRequest.d.ts @@ -0,0 +1,22 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { Recurring } from './recurring'; +export interface RecurringDetailsRequest { + /** + * The merchant account identifier you want to process the (transaction) request with. + */ + merchantAccount: string; + recurring?: Recurring; + /** + * The reference you use to uniquely identify the shopper (e.g. user ID or account ID). + */ + shopperReference: string; +} diff --git a/dist/lib/typings/recurring/recurringDetailsRequest.js b/dist/lib/typings/recurring/recurringDetailsRequest.js new file mode 100644 index 0000000..c4dd9b9 --- /dev/null +++ b/dist/lib/typings/recurring/recurringDetailsRequest.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=recurringDetailsRequest.js.map \ No newline at end of file diff --git a/dist/lib/typings/recurring/recurringDetailsRequest.js.map b/dist/lib/typings/recurring/recurringDetailsRequest.js.map new file mode 100644 index 0000000..dfb9a18 --- /dev/null +++ b/dist/lib/typings/recurring/recurringDetailsRequest.js.map @@ -0,0 +1 @@ +{"version":3,"file":"recurringDetailsRequest.js","sourceRoot":"","sources":["../../../../src/typings/recurring/recurringDetailsRequest.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib/typings/recurring/recurringDetailsResult.d.ts b/dist/lib/typings/recurring/recurringDetailsResult.d.ts new file mode 100644 index 0000000..218b97f --- /dev/null +++ b/dist/lib/typings/recurring/recurringDetailsResult.d.ts @@ -0,0 +1,29 @@ +/** + * Adyen Recurring Service + * The Recurring APIs allow you to manage and remove your tokens or saved payment details. Tokens should be created with validation during a payment request. For more information, refer to our [Tokenization documentation](https://docs.adyen.com/features/tokenization). ## Authentication To connect to the Recurring API, you must use your basic authentication credentials. For this, create your web service user, as described in [How to get the WS user password](https://docs.adyen.com/user-management/how-to-get-the-web-service-ws-user-password). Then use its credentials to authenticate your request, for example: ``` curl -U \"ws@Company.YourCompany\":\"YourWsPassword\" \\ -H \"Content-Type: application/json\" \\ ... ``` Note that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Recurring API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://pal-test.adyen.com/pal/servlet/Recurring/v30/disable ``` + * + * OpenAPI spec version: 30 + * Contact: support@adyen.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ import { RecurringDetail } from './recurringDetail'; +export interface RecurringDetailsResult { + /** + * The date when the recurring details were created. + */ + creationDate?: Date; + /** + * Payment details stored for recurring payments. + */ + details?: RecurringDetail[]; + /** + * The most recent email for this shopper (if available). + */ + lastKnownShopperEmail?: string; + /** + * The reference you use to uniquely identify the shopper (e.g. user ID or account ID). + */ + shopperReference?: string; +} diff --git a/dist/lib/typings/recurring/recurringDetailsResult.js b/dist/lib/typings/recurring/recurringDetailsResult.js new file mode 100644 index 0000000..4a3acdf --- /dev/null +++ b/dist/lib/typings/recurring/recurringDetailsResult.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=recurringDetailsResult.js.map \ No newline at end of file diff --git a/dist/lib/typings/recurring/recurringDetailsResult.js.map b/dist/lib/typings/recurring/recurringDetailsResult.js.map new file mode 100644 index 0000000..296136c --- /dev/null +++ b/dist/lib/typings/recurring/recurringDetailsResult.js.map @@ -0,0 +1 @@ +{"version":3,"file":"recurringDetailsResult.js","sourceRoot":"","sources":["../../../../src/typings/recurring/recurringDetailsResult.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/lib/typings/requestOptions.d.ts b/dist/lib/typings/requestOptions.d.ts new file mode 100644 index 0000000..2fbc58f --- /dev/null +++ b/dist/lib/typings/requestOptions.d.ts @@ -0,0 +1,5 @@ +/// +import { RequestOptions as HttpsRequestOptions } from "https"; +export declare type RequestOptions = HttpsRequestOptions & { + idempotencyKey?: string; +}; diff --git a/dist/lib/typings/requestOptions.js b/dist/lib/typings/requestOptions.js new file mode 100644 index 0000000..458bb52 --- /dev/null +++ b/dist/lib/typings/requestOptions.js @@ -0,0 +1,4 @@ +"use strict"; +// Generated using typescript-generator version 2.14.505 on 2019-06-03 16:13:35. +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=requestOptions.js.map \ No newline at end of file diff --git a/dist/lib/typings/requestOptions.js.map b/dist/lib/typings/requestOptions.js.map new file mode 100644 index 0000000..487c0fa --- /dev/null +++ b/dist/lib/typings/requestOptions.js.map @@ -0,0 +1 @@ +{"version":3,"file":"requestOptions.js","sourceRoot":"","sources":["../../../src/typings/requestOptions.ts"],"names":[],"mappings":";AAAA,gFAAgF"} \ No newline at end of file diff --git a/dist/lib/typings/terminal.d.ts b/dist/lib/typings/terminal.d.ts new file mode 100644 index 0000000..f9e4b2f --- /dev/null +++ b/dist/lib/typings/terminal.d.ts @@ -0,0 +1,2040 @@ +export interface TerminalApiRequest { + saleToPoiRequest?: SaleToPoiRequest; +} +export interface SaleToPoiRequest { + abortRequest?: AbortRequest; + adminRequest?: AdminRequest; + balanceInquiryRequest?: BalanceInquiryRequest; + batchRequest?: BatchRequest; + cardAcquisitionRequest?: CardAcquisitionRequest; + cardReaderApduRequest?: CardReaderApduRequest; + cardReaderInitRequest?: CardReaderInitRequest; + cardReaderPowerOffRequest?: CardReaderPowerOffRequest; + diagnosisRequest?: DiagnosisRequest; + displayRequest?: DisplayRequest; + enableServiceRequest?: EnableServiceRequest; + eventNotification?: EventNotification; + getTotalsRequest?: GetTotalsRequest; + inputRequest?: InputRequest; + inputUpdate?: InputUpdate; + loginRequest?: LoginRequest; + logoutRequest?: LogoutRequest; + loyaltyRequest?: LoyaltyRequest; + messageHeader: MessageHeader; + paymentRequest?: PaymentRequest; + pinRequest?: PinRequest; + printRequest?: PrintRequest; + reconciliationRequest?: ReconciliationRequest; + reversalRequest?: ReversalRequest; + securityTrailer?: ContentInformation; + soundRequest?: SoundRequest; + storedValueRequest?: StoredValueRequest; + transactionStatusRequest?: TransactionStatusRequest; + transmitRequest?: TransmitRequest; +} +export interface AbortRequest { + abortReason: string; + displayOutput?: DisplayOutput; + messageReference: MessageReference; +} +export interface DisplayOutput { + device: DeviceType; + infoQualify: InfoQualifyType; + menuEntry?: MenuEntry[]; + minimumDisplayTime?: number; + outputContent: OutputContent; + outputSignature?: any; + responseRequiredFlag?: boolean; +} +export declare enum DeviceType { + CashierDisplay = "CashierDisplay", + CashierInput = "CashierInput", + CustomerDisplay = "CustomerDisplay", + CustomerInput = "CustomerInput" +} +export declare enum InfoQualifyType { + CustomerAssistance = "CustomerAssistance", + Display = "Display", + Document = "Document", + Error = "Error", + Input = "Input", + PoiReplication = "POIReplication", + Receipt = "Receipt", + Sound = "Sound", + Status = "Status", + Voucher = "Voucher" +} +export interface MenuEntry { + defaultSelectedFlag?: boolean; + menuEntryTag?: MenuEntryTagType; + outputFormat: OutputFormatType; + outputText?: OutputText[]; + outputXhtml?: any; + predefinedContent?: PredefinedContent; +} +export declare enum MenuEntryTagType { + NonSelectable = "NonSelectable", + NonSelectableSubMenu = "NonSelectableSubMenu", + Selectable = "Selectable", + SubMenu = "SubMenu" +} +export declare enum OutputFormatType { + BarCode = "BarCode", + MessageRef = "MessageRef", + Text = "Text", + Xhtml = "XHTML" +} +export interface OutputText { + alignment?: AlignmentType; + characterHeight?: CharacterHeightType; + characterSet?: number; + characterStyle?: CharacterStyleType; + characterWidth?: CharacterWidthType; + color?: ColorType; + endOfLineFlag?: boolean; + font?: string; + startColumn?: number; + startRow?: number; + text?: string; +} +export declare enum AlignmentType { + Centred = "Centred", + Justified = "Justified", + Left = "Left", + Right = "Right" +} +export declare enum CharacterHeightType { + DoubleHeight = "DoubleHeight", + HalfHeight = "HalfHeight", + SingleHeight = "SingleHeight" +} +export declare enum CharacterStyleType { + Bold = "Bold", + Italic = "Italic", + Normal = "Normal", + Underlined = "Underlined" +} +export declare enum CharacterWidthType { + DoubleWidth = "DoubleWidth", + SingleWidth = "SingleWidth" +} +export declare enum ColorType { + Black = "Black", + Blue = "Blue", + Cyan = "Cyan", + Green = "Green", + Magenta = "Magenta", + Red = "Red", + White = "White", + Yellow = "Yellow" +} +export interface PredefinedContent { + language?: string; + referenceId: string; +} +export interface OutputContent { + outputBarcode?: OutputBarcode; + outputFormat: OutputFormatType; + outputText?: OutputText[]; + outputXhtml?: any; + predefinedContent?: PredefinedContent; +} +export interface OutputBarcode { + barcodeType?: BarcodeType; + value?: string; +} +export declare enum BarcodeType { + Code128 = "Code128", + Code25 = "Code25", + Ean13 = "EAN13", + Ean8 = "EAN8", + Pdf417 = "PDF417", + Qrcode = "QRCODE", + Upca = "UPCA" +} +export interface MessageReference { + deviceId?: string; + messageCategory?: MessageCategoryType; + poiid?: string; + saleId?: string; + serviceId?: string; +} +export declare enum MessageCategoryType { + Abort = "Abort", + Admin = "Admin", + BalanceInquiry = "BalanceInquiry", + Batch = "Batch", + CardAcquisition = "CardAcquisition", + CardReaderApdu = "CardReaderAPDU", + CardReaderInit = "CardReaderInit", + CardReaderPowerOff = "CardReaderPowerOff", + Diagnosis = "Diagnosis", + Display = "Display", + EnableService = "EnableService", + Event = "Event", + GetTotals = "GetTotals", + Input = "Input", + InputUpdate = "InputUpdate", + Login = "Login", + Logout = "Logout", + Loyalty = "Loyalty", + Payment = "Payment", + Pin = "PIN", + Print = "Print", + Reconciliation = "Reconciliation", + Reversal = "Reversal", + Sound = "Sound", + StoredValue = "StoredValue", + TransactionStatus = "TransactionStatus", + Transmit = "Transmit" +} +export interface AdminRequest { + serviceIdentification?: string; +} +export interface BalanceInquiryRequest { + loyaltyAccountReq?: LoyaltyAccountReq; + paymentAccountReq?: PaymentAccountReq; +} +export interface LoyaltyAccountReq { + cardAcquisitionReference?: TransactionIdentification; + loyaltyAccountId?: LoyaltyAccountId; +} +export interface TransactionIdentification { + timeStamp: string; + transactionId: string; +} +export interface LoyaltyAccountId { + entryMode: EntryModeType[]; + identificationSupport?: IdentificationSupportType; + identificationType: IdentificationType; + value?: string; +} +export declare enum EntryModeType { + Contactless = "Contactless", + File = "File", + Icc = "ICC", + Keyed = "Keyed", + MagStripe = "MagStripe", + Manual = "Manual", + Mobile = "Mobile", + Rfid = "RFID", + Scanned = "Scanned", + SynchronousIcc = "SynchronousICC", + Tapped = "Tapped" +} +export declare enum IdentificationSupportType { + HybridCard = "HybridCard", + LinkedCard = "LinkedCard", + LoyaltyCard = "LoyaltyCard", + NoCard = "NoCard" +} +export declare enum IdentificationType { + AccountNumber = "AccountNumber", + BarCode = "BarCode", + IsoTrack2 = "ISOTrack2", + Pan = "PAN", + PhoneNumber = "PhoneNumber" +} +export interface PaymentAccountReq { + accountType?: AccountType; + cardAcquisitionReference?: TransactionIdentification; + paymentInstrumentData?: PaymentInstrumentData; +} +export declare enum AccountType { + CardTotals = "CardTotals", + Checking = "Checking", + CreditCard = "CreditCard", + Default = "Default", + EpurseCard = "EpurseCard", + Investment = "Investment", + Savings = "Savings", + Universal = "Universal" +} +export interface PaymentInstrumentData { + cardData?: CardData; + checkData?: CheckData; + mobileData?: MobileData; + paymentInstrumentType: PaymentInstrumentType; +} +export interface CardData { + allowedProduct?: AllowedProduct[]; + allowedProductCode?: string[]; + cardCountryCode?: string; + customerOrder?: CustomerOrder[]; + entryMode?: EntryModeType[]; + maskedPan?: string; + paymentAccountRef?: string; + paymentBrand?: string; + paymentToken?: PaymentToken; + protectedCardData?: ContentInformation; + sensitiveCardData?: SensitiveCardData; +} +export interface AllowedProduct { + additionalProductInfo?: string; + eanUpc?: string; + productCode: string; + productLabel?: string; +} +export interface CustomerOrder { + accessedBy?: string; + additionalInformation?: string; + currency?: string; + currentAmount: number; + customerOrderId: string; + endDate?: { + [key: string]: any; + }; + forecastedAmount: number; + openOrderState?: boolean; + startDate: { + [key: string]: any; + }; +} +export interface PaymentToken { + expiryDateTime?: { + [key: string]: any; + }; + tokenRequestedType: TokenRequestedType; + tokenValue: string; +} +export declare enum TokenRequestedType { + Customer = "Customer", + Transaction = "Transaction" +} +export interface ContentInformation { + authenticatedData?: AuthenticatedData; + contentType: ContentType; + digestedData?: DigestedData; + envelopedData?: EnvelopedData; + namedKeyEncryptedData?: NamedKeyEncryptedData; + signedData?: SignedData; +} +export interface AuthenticatedData { + encapsulatedContent: EncapsulatedContent; + keyTransportOrKek?: any[]; + mac: any; + macAlgorithm: AlgorithmIdentifier; + version?: VersionType; +} +export interface EncapsulatedContent { + content?: any; + contentType: ContentType; +} +export declare enum ContentType { + IdCtAuthData = "id-ct-authData", + IdData = "id-data", + IdDigestedData = "id-digestedData", + IdEncryptedData = "id-encryptedData", + IdEnvelopedData = "id-envelopedData", + IdSignedData = "id-signedData" +} +export interface AlgorithmIdentifier { + algorithm: AlgorithmType; + parameter?: Parameter; +} +export declare enum AlgorithmType { + DesEde3Cbc = "des-ede3-cbc", + DesEde3Ecb = "des-ede3-ecb", + IdDukptWrap = "id-dukpt-wrap", + IdRetailCbcMac = "id-retail-cbc-mac", + IdRetailCbcMacSha256 = "id-retail-cbc-mac-sha-256", + IdSha256 = "id-sha256", + IdUkptWrap = "id-ukpt-wrap ", + RsaEncryption = "rsaEncryption", + Sha256WithRsaEncryption = "sha256WithRSAEncryption" +} +export interface Parameter { + initialisationVector?: any; +} +export declare enum VersionType { + V0 = "v0", + V1 = "v1", + V2 = "v2", + V3 = "v3", + V4 = "v4", + V5 = "v5" +} +export interface DigestedData { + digest: any; + digestAlgorithm: AlgorithmIdentifier; + encapsulatedContent: EncapsulatedContent; + version?: VersionType; +} +export interface EnvelopedData { + encryptedContent: EncryptedContent; + keyTransportOrKek?: any[]; + version?: VersionType; +} +export interface EncryptedContent { + contentEncryptionAlgorithm: AlgorithmIdentifier; + contentType: ContentType; + encryptedData: any; +} +export interface NamedKeyEncryptedData { + encryptedContent: EncryptedContent; + keyName?: string; + version?: VersionType; +} +export interface SignedData { + certificate?: any[]; + digestAlgorithm: AlgorithmIdentifier[]; + encapsulatedContent: EncapsulatedContent; + signer: Signer[]; + version?: VersionType; +} +export interface Signer { + digestAlgorithm: AlgorithmIdentifier; + signature: any; + signatureAlgorithm: AlgorithmIdentifier; + signerIdentifier: SignerIdentifier; + version?: VersionType; +} +export interface SignerIdentifier { + issuerAndSerialNumber: IssuerAndSerialNumber; +} +export interface IssuerAndSerialNumber { + issuer: Issuer; + serialNumber: number; +} +export interface Issuer { + relativeDistinguishedName: RelativeDistinguishedName[]; +} +export interface RelativeDistinguishedName { + attribute: string; + attributeValue: string; +} +export interface SensitiveCardData { + cardSeqNumb?: string; + expiryDate?: string; + pan?: string; + trackData?: TrackData[]; +} +export interface TrackData { + trackFormat?: TrackFormatType; + trackNumb?: number; + value?: string; +} +export declare enum TrackFormatType { + Aamva = "AAMVA", + Cmc7 = "CMC-7", + E13B = "E-13B", + Iso = "ISO", + JisI = "JIS-I", + JisIi = "JIS-II" +} +export interface CheckData { + accountNumber?: string; + bankId?: string; + checkCardNumber?: string; + checkNumber?: string; + country?: string; + trackData?: TrackData; + type?: CheckTypeCodeType; +} +export declare enum CheckTypeCodeType { + Company = "Company", + Personal = "Personal" +} +export interface MobileData { + geolocation?: Geolocation; + maskedMsisdn?: string; + mobileCountryCode?: string; + mobileNetworkCode?: string; + protectedMobileData?: ContentInformation; + sensitiveMobileData?: SensitiveMobileData; +} +export interface Geolocation { + geographicCoordinates?: GeographicCoordinates; + utmCoordinates?: UtmCoordinates; +} +export interface GeographicCoordinates { + latitude: string; + longitude: string; +} +export interface UtmCoordinates { + utmEastward: string; + utmNorthward: string; + utmZone: string; +} +export interface SensitiveMobileData { + imei?: string; + imsi?: string; + msisdn: string; +} +export declare enum PaymentInstrumentType { + Card = "Card", + Cash = "Cash", + Check = "Check", + Mobile = "Mobile", + StoredValue = "StoredValue" +} +export interface BatchRequest { + removeAllFlag?: boolean; + transactionToPerform?: TransactionToPerform[]; +} +export interface TransactionToPerform { + loyaltyRequest?: LoyaltyRequest; + paymentRequest?: PaymentRequest; + reversalRequest?: ReversalRequest; +} +export interface LoyaltyRequest { + loyaltyData?: LoyaltyData[]; + loyaltyTransaction: LoyaltyTransaction; + saleData: SaleData; +} +export interface LoyaltyData { + cardAcquisitionReference?: TransactionIdentification; + loyaltyAccountId?: LoyaltyAccountId; + loyaltyAmount?: LoyaltyAmount; +} +export interface LoyaltyAmount { + currency?: string; + loyaltyUnit?: LoyaltyUnitType; + value?: number; +} +export declare enum LoyaltyUnitType { + Monetary = "Monetary", + Point = "Point" +} +export interface LoyaltyTransaction { + currency?: string; + loyaltyTransactionType: LoyaltyTransactionType; + originalPoiTransaction?: OriginalPoiTransaction; + saleItem?: SaleItem[]; + totalAmount?: number; + transactionConditions?: TransactionConditions; +} +export declare enum LoyaltyTransactionType { + Award = "Award", + AwardRefund = "AwardRefund", + Rebate = "Rebate", + RebateRefund = "RebateRefund", + Redemption = "Redemption", + RedemptionRefund = "RedemptionRefund" +} +export interface OriginalPoiTransaction { + acquirerId?: string; + approvalCode?: string; + customerLanguage?: string; + hostTransactionId?: TransactionIdentification; + poiid?: string; + poiTransactionId?: TransactionIdentification; + reuseCardDataFlag?: boolean; + saleId?: string; +} +export interface SaleItem { + additionalProductInfo?: string; + eanUpc?: string; + itemAmount: number; + itemId: number; + productCode: string; + productLabel?: string; + quantity?: number; + saleChannel?: string; + taxCode?: string; + unitOfMeasure?: UnitOfMeasureType; + unitPrice?: number; +} +export declare enum UnitOfMeasureType { + Case = "Case", + Centilitre = "Centilitre", + Centimetre = "Centimetre", + Foot = "Foot", + Gram = "Gram", + Inch = "Inch", + Kilogram = "Kilogram", + Kilometre = "Kilometre", + Litre = "Litre", + Meter = "Meter", + Mile = "Mile", + Other = "Other", + Ounce = "Ounce", + Pint = "Pint", + Pound = "Pound", + Quart = "Quart", + UkGallon = "UKGallon", + UsGallon = "USGallon", + Yard = "Yard" +} +export interface TransactionConditions { + acquirerId?: string[]; + allowedLoyaltyBrand?: string[]; + allowedPaymentBrand?: string[]; + customerLanguage?: string; + debitPreferredFlag?: boolean; + forceEntryMode?: Array; + forceOnlineFlag?: boolean; + loyaltyHandling?: LoyaltyHandlingType; + merchantCategoryCode?: string; +} +export declare enum ForceEntryModeType { + CheckReader = "CheckReader", + Contactless = "Contactless", + File = "File", + Icc = "ICC", + Keyed = "Keyed", + MagStripe = "MagStripe", + Manual = "Manual", + Rfid = "RFID", + Scanned = "Scanned", + SynchronousIcc = "SynchronousICC", + Tapped = "Tapped" +} +export declare enum LoyaltyHandlingType { + Allowed = "Allowed", + Forbidden = "Forbidden", + Processed = "Processed", + Proposed = "Proposed", + Required = "Required" +} +export interface SaleData { + customerOrderId?: string; + customerOrderReq?: CustomerOrderReqType[]; + operatorId?: string; + operatorLanguage?: string; + saleReferenceId?: string; + saleTerminalData?: SaleTerminalData; + saleToAcquirerData?: string; + saleToIssuerData?: SaleToIssuerData; + saleToPoiData?: string; + saleTransactionId: TransactionIdentification; + shiftNumber?: string; + sponsoredMerchant?: SponsoredMerchant[]; + tokenRequestedType?: TokenRequestedType; +} +export declare enum CustomerOrderReqType { + Both = "Both", + Closed = "Closed", + Open = "Open" +} +export interface SaleTerminalData { + saleCapabilities?: SaleCapabilitiesType[]; + saleProfile?: SaleProfile; + terminalEnvironment?: TerminalEnvironmentType; + totalsGroupId?: string; +} +export declare enum SaleCapabilitiesType { + CashierDisplay = "CashierDisplay", + CashierError = "CashierError", + CashierInput = "CashierInput", + CashierStatus = "CashierStatus", + CustomerAssistance = "CustomerAssistance", + CustomerDisplay = "CustomerDisplay", + CustomerError = "CustomerError", + CustomerInput = "CustomerInput", + EmvContactless = "EMVContactless", + Icc = "ICC", + MagStripe = "MagStripe", + PoiReplication = "POIReplication", + PrinterDocument = "PrinterDocument", + PrinterReceipt = "PrinterReceipt", + PrinterVoucher = "PrinterVoucher" +} +export interface SaleProfile { + genericProfile?: GenericProfileType; + serviceProfiles?: ServiceProfilesType[]; +} +export declare enum GenericProfileType { + Basic = "Basic", + Extended = "Extended", + Standard = "Standard" +} +export declare enum ServiceProfilesType { + Batch = "Batch", + CardReader = "CardReader", + Communication = "Communication", + Loyalty = "Loyalty", + OneTimeRes = "OneTimeRes", + Pin = "PIN", + Reservation = "Reservation", + Sound = "Sound", + StoredValue = "StoredValue", + Synchro = "Synchro" +} +export declare enum TerminalEnvironmentType { + Attended = "Attended", + SemiAttended = "SemiAttended", + Unattended = "Unattended" +} +export interface SaleToIssuerData { + statementReference?: string; +} +export interface SponsoredMerchant { + merchantAddress?: string; + merchantCategoryCode: string; + merchantCountry: string; + merchantName: string; + registrationId: string; +} +export interface PaymentRequest { + loyaltyData?: LoyaltyData[]; + paymentData?: PaymentData; + paymentTransaction: PaymentTransaction; + saleData: SaleData; +} +export interface PaymentData { + cardAcquisitionReference?: TransactionIdentification; + customerOrder?: CustomerOrder; + instalment?: Instalment; + paymentInstrumentData?: PaymentInstrumentData; + paymentType?: PaymentType; + requestedValidityDate?: string; + splitPaymentFlag?: boolean; +} +export interface Instalment { + charges?: number; + cumulativeAmount?: number; + firstAmount?: number; + firstPaymentDate?: string; + instalment?: InstalmentType[]; + period?: number; + periodUnit?: PeriodUnitType; + planId?: string; + sequenceNumber?: number; + totalNbOfPayments?: number; +} +export declare enum InstalmentType { + DeferredInstalments = "DeferredInstalments", + EqualInstalments = "EqualInstalments", + InequalInstalments = "InequalInstalments" +} +export declare enum PeriodUnitType { + Annual = "Annual", + Daily = "Daily", + Monthly = "Monthly", + Weekly = "Weekly" +} +export declare enum PaymentType { + CashAdvance = "CashAdvance", + CashDeposit = "CashDeposit", + Completion = "Completion", + FirstReservation = "FirstReservation", + Instalment = "Instalment", + IssuerInstalment = "IssuerInstalment", + Normal = "Normal", + OneTimeReservation = "OneTimeReservation", + PaidOut = "PaidOut", + Recurring = "Recurring", + Refund = "Refund", + UpdateReservation = "UpdateReservation" +} +export interface PaymentTransaction { + amountsReq: AmountsReq; + originalPoiTransaction?: OriginalPoiTransaction; + saleItem?: SaleItem[]; + transactionConditions?: TransactionConditions; +} +export interface AmountsReq { + cashBackAmount?: number; + currency: string; + maximumCashBackAmount?: number; + minimumAmountToDeliver?: number; + minimumSplitAmount?: number; + paidAmount?: number; + requestedAmount?: number; + tipAmount?: number; +} +export interface ReversalRequest { + customerOrderId?: CustomerOrder; + originalPoiTransaction: OriginalPoiTransaction; + reversalReason: ReversalReasonType; + reversedAmount?: number; + saleReferenceId?: string; +} +export declare enum ReversalReasonType { + CustCancel = "CustCancel", + Malfunction = "Malfunction", + MerchantCancel = "MerchantCancel", + Unable2Compl = "Unable2Compl" +} +export interface CardAcquisitionRequest { + cardAcquisitionTransaction: CardAcquisitionTransaction; + saleData: SaleData; +} +export interface CardAcquisitionTransaction { + allowedLoyaltyBrand?: string[]; + allowedPaymentBrand?: string[]; + cashBackFlag?: boolean; + customerLanguage?: string; + forceCustomerSelectionFlag?: boolean; + forceEntryMode?: Array; + loyaltyHandling?: LoyaltyHandlingType; + paymentType?: PaymentType; + totalAmount?: number; +} +export interface CardReaderApduRequest { + apduClass: any; + apduData?: any; + apduExpectedLength?: any; + apduInstruction: any; + apduPar1: any; + apduPar2: any; +} +export interface CardReaderInitRequest { + displayOutput?: DisplayOutput; + forceEntryMode?: Array; + leaveCardFlag?: boolean; + maxWaitingTime?: number; + warmResetFlag?: boolean; +} +export interface CardReaderPowerOffRequest { + displayOutput?: DisplayOutput; + maxWaitingTime?: number; +} +export interface DiagnosisRequest { + acquirerId?: string[]; + hostDiagnosisFlag?: boolean; + poiid?: string; +} +export interface DisplayRequest { + displayOutput: DisplayOutput[]; +} +export interface EnableServiceRequest { + displayOutput?: DisplayOutput; + servicesEnabled?: ServicesEnabledType[]; + transactionAction: TransactionActionType; +} +export declare enum ServicesEnabledType { + CardAcquisition = "CardAcquisition", + Loyalty = "Loyalty", + Payment = "Payment" +} +export declare enum TransactionActionType { + AbortTransaction = "AbortTransaction", + StartTransaction = "StartTransaction" +} +export interface EventNotification { + customerLanguage?: string; + displayOutput?: DisplayOutput; + eventDetails?: string; + eventToNotify: EventToNotifyType; + maintenanceRequiredFlag?: boolean; + rejectedMessage?: any; + timeStamp: string; +} +export declare enum EventToNotifyType { + Abort = "Abort", + BeginMaintenance = "BeginMaintenance", + CardInserted = "CardInserted", + CardRemoved = "CardRemoved", + Completed = "Completed", + CustomerLanguage = "CustomerLanguage", + EndMaintenance = "EndMaintenance", + Initialised = "Initialised", + KeyPressed = "KeyPressed", + OutOfOrder = "OutOfOrder", + Reject = "Reject", + SaleAdmin = "SaleAdmin", + SaleWakeUp = "SaleWakeUp", + SecurityAlarm = "SecurityAlarm", + Shutdown = "Shutdown", + StopAssistance = "StopAssistance" +} +export interface GetTotalsRequest { + totalDetails?: TotalDetailsType[]; + totalFilter?: TotalFilter; +} +export declare enum TotalDetailsType { + OperatorId = "OperatorID", + Poiid = "POIID", + SaleId = "SaleID", + ShiftNumber = "ShiftNumber", + TotalsGroupId = "TotalsGroupID" +} +export interface TotalFilter { + operatorId?: string; + poiid?: string; + saleId?: string; + shiftNumber?: string; + totalsGroupId?: string; +} +export interface InputRequest { + displayOutput?: DisplayOutput; + inputData: InputData; +} +export interface InputData { + beepKeyFlag?: boolean; + defaultInputString?: string; + device: DeviceType; + disableCancelFlag?: boolean; + disableCorrectFlag?: boolean; + disableValidFlag?: boolean; + fromRightToLeftFlag?: boolean; + globalCorrectionFlag?: boolean; + immediateResponseFlag?: boolean; + infoQualify: InfoQualifyType; + inputCommand: InputCommandType; + maskCharactersFlag?: boolean; + maxDecimalLength?: number; + maxInputTime?: number; + maxLength?: number; + menuBackFlag?: boolean; + minLength?: number; + notifyCardInputFlag?: boolean; + stringMask?: string; + waitUserValidationFlag?: boolean; +} +export declare enum InputCommandType { + DecimalString = "DecimalString", + DigitString = "DigitString", + GetAnyKey = "GetAnyKey", + GetConfirmation = "GetConfirmation", + GetFunctionKey = "GetFunctionKey", + GetMenuEntry = "GetMenuEntry", + Password = "Password", + SiteManager = "SiteManager", + TextString = "TextString" +} +export interface InputUpdate { + maxDecimalLength?: number; + maxLength?: number; + menuEntry?: MenuEntry[]; + messageReference: MessageReference; + minLength?: number; + outputContent: OutputContent; + outputSignature?: any; +} +export interface LoginRequest { + customerOrderReq?: CustomerOrderReqType[]; + dateTime: { + [key: string]: any; + }; + operatorId?: string; + operatorLanguage: string; + poiSerialNumber?: string; + saleSoftware: SaleSoftware; + saleTerminalData?: SaleTerminalData; + shiftNumber?: string; + tokenRequestedType?: TokenRequestedType; + trainingModeFlag?: boolean; +} +export interface SaleSoftware { + applicationName: string; + certificationCode: string; + manufacturerId: string; + softwareVersion: string; +} +export interface LogoutRequest { + maintenanceAllowed?: boolean; +} +export interface MessageHeader { + deviceId?: string; + messageCategory: MessageCategoryType; + messageClass: MessageClassType; + messageType: MessageType; + poiid: string; + protocolVersion?: string; + saleId: string; + serviceId?: string; +} +export declare enum MessageClassType { + Device = "Device", + Event = "Event", + Service = "Service" +} +export declare enum MessageType { + Notification = "Notification", + Request = "Request", + Response = "Response" +} +export interface PinRequest { + additionalInput?: string; + cardholderPin?: CardholderPin; + keyReference?: string; + maxWaitingTime?: number; + pinEncAlgorithm?: string; + pinFormat?: PinFormatType; + pinRequestType: PinRequestType; + pinVerifMethod?: string; +} +export interface CardholderPin { + additionalInput?: string; + encrPinBlock: ContentInformation; + pinFormat: PinFormatType; +} +export declare enum PinFormatType { + Iso0 = "ISO0", + Iso1 = "ISO1", + Iso2 = "ISO2", + Iso3 = "ISO3" +} +export declare enum PinRequestType { + PinEnter = "PINEnter", + PinVerify = "PINVerify", + PinVerifyOnly = "PINVerifyOnly" +} +export interface PrintRequest { + printOutput: PrintOutput; +} +export interface PrintOutput { + documentQualifier: DocumentQualifierType; + integratedPrintFlag?: boolean; + outputContent: OutputContent; + outputSignature?: any; + requiredSignatureFlag?: boolean; + responseMode: ResponseModeType; +} +export declare enum DocumentQualifierType { + CashierReceipt = "CashierReceipt", + CustomerReceipt = "CustomerReceipt", + Document = "Document", + Journal = "Journal", + SaleReceipt = "SaleReceipt", + Voucher = "Voucher" +} +export declare enum ResponseModeType { + Immediate = "Immediate", + NotRequired = "NotRequired", + PrintEnd = "PrintEnd", + SoundEnd = "SoundEnd" +} +export interface ReconciliationRequest { + acquirerId?: string[]; + poiReconciliationId?: string; + reconciliationType: ReconciliationType; +} +export declare enum ReconciliationType { + AcquirerReconciliation = "AcquirerReconciliation", + AcquirerSynchronisation = "AcquirerSynchronisation", + PreviousReconciliation = "PreviousReconciliation", + SaleReconciliation = "SaleReconciliation" +} +export interface SoundRequest { + responseMode?: ResponseModeType; + soundAction: SoundActionType; + soundContent: SoundContent; + soundVolume?: number; +} +export declare enum SoundActionType { + SetDefaultVolume = "SetDefaultVolume", + StartSound = "StartSound", + StopSound = "StopSound" +} +export interface SoundContent { + language?: string; + referenceId?: string; + soundFormat?: SoundFormatType; + value?: string; +} +export declare enum SoundFormatType { + MessageRef = "MessageRef", + SoundRef = "SoundRef", + Text = "Text" +} +export interface StoredValueRequest { + customerLanguage?: string; + saleData: SaleData; + storedValueData: StoredValueData[]; +} +export interface StoredValueData { + currency: string; + eanUpc?: string; + itemAmount: number; + originalPoiTransaction?: OriginalPoiTransaction; + productCode?: string; + storedValueAccountId?: StoredValueAccountId; + storedValueProvider?: string; + storedValueTransactionType: StoredValueTransactionType; +} +export interface StoredValueAccountId { + entryMode: EntryModeType[]; + expiryDate?: string; + identificationType: IdentificationType; + ownerName?: string; + storedValueAccountType: StoredValueAccountType; + storedValueProvider?: string; + value?: string; +} +export declare enum StoredValueAccountType { + GiftCard = "GiftCard", + Other = "Other", + PhoneCard = "PhoneCard" +} +export declare enum StoredValueTransactionType { + Activate = "Activate", + Duplicate = "Duplicate", + Load = "Load", + Reserve = "Reserve", + Reverse = "Reverse", + Unload = "Unload" +} +export interface TransactionStatusRequest { + documentQualifier?: DocumentQualifierType[]; + messageReference?: MessageReference; + receiptReprintFlag?: boolean; +} +export interface TransmitRequest { + destinationAddress: string; + maximumTransmitTime: number; + message: any; + waitResponseFlag?: boolean; +} +export interface TerminalApiResponse { + saleToPoiResponse?: SaleToPoiResponse; +} +export interface SaleToPoiResponse { + adminResponse?: AdminResponse; + balanceInquiryResponse?: BalanceInquiryResponse; + batchResponse?: BatchResponse; + cardAcquisitionResponse?: CardAcquisitionResponse; + cardReaderApduResponse?: CardReaderApduResponse; + cardReaderInitResponse?: CardReaderInitResponse; + cardReaderPowerOffResponse?: CardReaderPowerOffResponse; + diagnosisResponse?: DiagnosisResponse; + displayResponse?: DisplayResponse; + enableServiceResponse?: EnableServiceResponse; + getTotalsResponse?: GetTotalsResponse; + inputResponse?: InputResponse; + loginResponse?: LoginResponse; + logoutResponse?: LogoutResponse; + loyaltyResponse?: LoyaltyResponse; + messageHeader: MessageHeader; + paymentResponse?: PaymentResponse; + pinResponse?: PinResponse; + printResponse?: PrintResponse; + reconciliationResponse?: ReconciliationResponse; + reversalResponse?: ReversalResponse; + securityTrailer?: ContentInformation; + soundResponse?: SoundResponse; + storedValueResponse?: StoredValueResponse; + transactionStatusResponse?: TransactionStatusResponse; + transmitResponse?: TransmitResponse; +} +export interface AdminResponse { + response: Response; +} +export interface Response { + additionalResponse?: string; + errorCondition?: ErrorConditionType; + result: ResultType; +} +export declare enum ErrorConditionType { + Aborted = "Aborted", + Busy = "Busy", + Cancel = "Cancel", + DeviceOut = "DeviceOut", + InProgress = "InProgress", + InsertedCard = "InsertedCard", + InvalidCard = "InvalidCard", + LoggedOut = "LoggedOut", + MessageFormat = "MessageFormat", + NotAllowed = "NotAllowed", + NotFound = "NotFound", + PaymentRestriction = "PaymentRestriction", + Refusal = "Refusal", + UnavailableDevice = "UnavailableDevice", + UnavailableService = "UnavailableService", + UnreachableHost = "UnreachableHost", + WrongPin = "WrongPIN" +} +export declare enum ResultType { + Failure = "Failure", + Partial = "Partial", + Success = "Success" +} +export interface BalanceInquiryResponse { + loyaltyAccountStatus?: LoyaltyAccountStatus; + paymentAccountStatus?: PaymentAccountStatus; + response: Response; +} +export interface LoyaltyAccountStatus { + currency?: string; + currentBalance?: number; + loyaltyAccount: LoyaltyAccount; + loyaltyUnit?: LoyaltyUnitType; +} +export interface LoyaltyAccount { + loyaltyAccountId: LoyaltyAccountId; + loyaltyBrand?: string; +} +export interface PaymentAccountStatus { + currency?: string; + currentBalance?: number; + loyaltyAccountStatus?: LoyaltyAccountStatus; + paymentAcquirerData?: PaymentAcquirerData; + paymentInstrumentData?: PaymentInstrumentData; +} +export interface PaymentAcquirerData { + acquirerId?: string; + acquirerPoiid: string; + acquirerTransactionId?: TransactionIdentification; + approvalCode?: string; + merchantId: string; +} +export interface BatchResponse { + performedTransaction?: PerformedTransaction[]; + response: Response; +} +export interface PerformedTransaction { + loyaltyResult?: LoyaltyResult[]; + paymentResult?: PaymentResult; + poiData: PoiData; + response: Response; + reversedAmount?: number; + saleData?: SaleData; +} +export interface LoyaltyResult { + currentBalance?: number; + loyaltyAccount: LoyaltyAccount; + loyaltyAcquirerData?: LoyaltyAcquirerData; + loyaltyAmount?: LoyaltyAmount; + rebates?: Rebates; +} +export interface LoyaltyAcquirerData { + approvalCode?: string; + hostReconciliationId?: string; + loyaltyAcquirerId?: string; + loyaltyTransactionId?: TransactionIdentification; +} +export interface Rebates { + rebateLabel?: string; + saleItemRebate?: SaleItemRebate[]; + totalRebate?: number; +} +export interface SaleItemRebate { + eanUpc?: string; + itemAmount?: number; + itemId: number; + productCode: string; + quantity?: number; + rebateLabel?: string; + unitOfMeasure?: UnitOfMeasureType; +} +export interface PoiData { + poiReconciliationId?: string; + poiTransactionId: TransactionIdentification; +} +export interface PaymentResult { + amountsResp?: AmountsResp; + authenticationMethod?: AuthenticationMethodType[]; + capturedSignature?: CapturedSignature; + currencyConversion?: CurrencyConversion[]; + customerLanguage?: string; + instalment?: Instalment; + merchantOverrideFlag?: boolean; + onlineFlag?: boolean; + paymentAcquirerData?: PaymentAcquirerData; + paymentInstrumentData?: PaymentInstrumentData; + paymentType?: PaymentType; + protectedSignature?: ContentInformation; + validityDate?: string; +} +export interface AmountsResp { + authorizedAmount: number; + cashBackAmount?: number; + currency?: string; + tipAmount?: number; + totalFeesAmount?: number; + totalRebatesAmount?: number; +} +export declare enum AuthenticationMethodType { + Bypass = "Bypass", + ManualVerification = "ManualVerification", + MerchantAuthentication = "MerchantAuthentication", + OfflinePin = "OfflinePIN", + OnLinePin = "OnLinePIN", + PaperSignature = "PaperSignature", + SecureCertificate = "SecureCertificate", + SecureNoCertificate = "SecureNoCertificate", + SecuredChannel = "SecuredChannel", + SignatureCapture = "SignatureCapture", + UnknownMethod = "UnknownMethod" +} +export interface CapturedSignature { + areaSize?: AreaSize; + signaturePoint: SignaturePoint[]; +} +export interface AreaSize { + x: string; + y: string; +} +export interface SignaturePoint { + x: string; + y: string; +} +export interface CurrencyConversion { + commission?: number; + convertedAmount: Amount; + customerApprovedFlag?: boolean; + declaration?: string; + markup?: number; + rate?: number; +} +export interface Amount { + currency?: string; + value?: number; +} +export interface CardAcquisitionResponse { + customerOrder?: CustomerOrder[]; + loyaltyAccount?: LoyaltyAccount[]; + paymentBrand?: string[]; + paymentInstrumentData?: PaymentInstrumentData; + poiData: PoiData; + response: Response; + saleData: SaleData; +} +export interface CardReaderApduResponse { + apduData?: any; + cardStatusWords: any; + response: Response; +} +export interface CardReaderInitResponse { + entryMode?: EntryModeType[]; + iccResetData?: IccResetData; + response: Response; + trackData?: TrackData[]; +} +export interface IccResetData { + atrValue?: any; + cardStatusWords?: any; +} +export interface CardReaderPowerOffResponse { + response: Response; +} +export interface DiagnosisResponse { + hostStatus?: HostStatus[]; + loggedSaleId?: string[]; + poiStatus?: PoiStatus; + response: Response; +} +export interface HostStatus { + acquirerId: string; + isReachableFlag?: boolean; +} +export interface PoiStatus { + cardReaderOkFlag?: boolean; + cashHandlingDevice?: CashHandlingDevice[]; + communicationOkFlag?: boolean; + fraudPreventionFlag?: boolean; + globalStatus: GlobalStatusType; + pedokFlag?: boolean; + printerStatus?: PrinterStatusType; + securityOkFlag?: boolean; +} +export interface CashHandlingDevice { + cashHandlingOkFlag: boolean; + coinsOrBills: CoinsOrBills[]; + currency: string; +} +export interface CoinsOrBills { + number: number; + unitValue: number; +} +export declare enum GlobalStatusType { + Busy = "Busy", + Maintenance = "Maintenance", + Ok = "OK", + Unreachable = "Unreachable" +} +export declare enum PrinterStatusType { + NoPaper = "NoPaper", + Ok = "OK", + OutOfOrder = "OutOfOrder", + PaperJam = "PaperJam", + PaperLow = "PaperLow" +} +export interface DisplayResponse { + outputResult: OutputResult[]; +} +export interface OutputResult { + device: DeviceType; + infoQualify: InfoQualifyType; + response: Response; +} +export interface EnableServiceResponse { + response: Response; +} +export interface GetTotalsResponse { + poiReconciliationId: string; + response: Response; + transactionTotals?: TransactionTotals[]; +} +export interface TransactionTotals { + acquirerId?: string; + cardBrand?: string; + errorCondition?: ErrorConditionType; + hostReconciliationId?: string; + loyaltyCurrency?: string; + loyaltyTotals?: LoyaltyTotals[]; + loyaltyUnit?: LoyaltyUnitType; + operatorId?: string; + paymentCurrency?: string; + paymentInstrumentType: PaymentInstrumentType; + paymentTotals?: PaymentTotals[]; + poiid?: string; + saleId?: string; + shiftNumber?: string; + totalsGroupId?: string; +} +export interface LoyaltyTotals { + transactionAmount: number; + transactionCount: number; + transactionType: TransactionType; +} +export declare enum TransactionType { + Award = "Award", + CashAdvance = "CashAdvance", + CompletedDeffered = "CompletedDeffered", + CompletedReservation = "CompletedReservation", + Credit = "Credit", + Debit = "Debit", + Declined = "Declined", + Failed = "Failed", + FirstReservation = "FirstReservation", + IssuerInstalment = "IssuerInstalment", + OneTimeReservation = "OneTimeReservation", + Rebate = "Rebate", + Redemption = "Redemption", + ReverseAward = "ReverseAward", + ReverseCredit = "ReverseCredit", + ReverseDebit = "ReverseDebit", + ReverseRebate = "ReverseRebate", + ReverseRedemption = "ReverseRedemption", + UpdateReservation = "UpdateReservation" +} +export interface PaymentTotals { + transactionAmount: number; + transactionCount: number; + transactionType: TransactionType; +} +export interface InputResponse { + inputResult: InputResult; + outputResult?: OutputResult; +} +export interface InputResult { + device: DeviceType; + infoQualify: InfoQualifyType; + input?: Input; + response: Response; +} +export interface Input { + confirmedFlag?: boolean; + digitInput?: string; + functionKey?: string; + inputCommand: InputCommandType; + menuEntryNumber?: number; + password?: ContentInformation; + textInput?: string; +} +export interface LoginResponse { + poiSystemData?: PoiSystemData; + response: Response; +} +export interface PoiSystemData { + dateTime: { + [key: string]: any; + }; + poiSoftware: PoiSoftware; + poiStatus?: PoiStatus; + poiTerminalData?: PoiTerminalData; +} +export interface PoiSoftware { + applicationName: string; + certificationCode: string; + manufacturerId: string; + softwareVersion: string; +} +export interface PoiTerminalData { + poiCapabilities: PoiCapabilitiesType[]; + poiProfile?: PoiProfile; + poiSerialNumber: string; + terminalEnvironment: TerminalEnvironmentType; +} +export declare enum PoiCapabilitiesType { + CashHandling = "CashHandling", + CashierDisplay = "CashierDisplay", + CashierError = "CashierError", + CashierInput = "CashierInput", + CustomerDisplay = "CustomerDisplay", + CustomerError = "CustomerError", + CustomerInput = "CustomerInput", + EmvContactless = "EMVContactless", + Icc = "ICC", + MagStripe = "MagStripe", + PrinterDocument = "PrinterDocument", + PrinterReceipt = "PrinterReceipt", + PrinterVoucher = "PrinterVoucher" +} +export interface PoiProfile { + genericProfile?: GenericProfileType; + serviceProfiles?: ServiceProfilesType[]; +} +export interface LogoutResponse { + response: Response; +} +export interface LoyaltyResponse { + loyaltyResult?: LoyaltyResult[]; + paymentReceipt?: PaymentReceipt[]; + poiData: PoiData; + response: Response; + saleData: SaleData; +} +export interface PaymentReceipt { + documentQualifier: DocumentQualifierType; + integratedPrintFlag?: boolean; + outputContent: OutputContent; + requiredSignatureFlag?: boolean; +} +export interface PinResponse { + cardholderPin?: CardholderPin; + response: Response; +} +export interface PaymentResponse { + customerOrder?: CustomerOrder[]; + loyaltyResult?: LoyaltyResult[]; + paymentReceipt?: PaymentReceipt[]; + paymentResult?: PaymentResult; + poiData: PoiData; + response: Response; + saleData: SaleData; +} +export interface PrintResponse { + documentQualifier: DocumentQualifierType; + response: Response; +} +export interface ReconciliationResponse { + poiReconciliationId?: string; + reconciliationType: ReconciliationType; + response: Response; + transactionTotals?: TransactionTotals[]; +} +export interface ReversalResponse { + customerOrderId?: string; + originalPoiTransaction?: OriginalPoiTransaction; + paymentReceipt?: PaymentReceipt[]; + poiData?: PoiData; + response: Response; + reversedAmount?: number; +} +export interface SoundResponse { + response: Response; +} +export interface StoredValueResponse { + poiData: PoiData; + response: Response; + saleData: SaleData; + storedValueResult?: StoredValueResult[]; +} +export interface StoredValueResult { + currency: string; + eanUpc?: string; + hostTransactionId?: TransactionIdentification; + itemAmount: number; + productCode: string; + storedValueAccountStatus: StoredValueAccountStatus; + storedValueTransactionType: StoredValueTransactionType; +} +export interface StoredValueAccountStatus { + currentBalance?: number; + storedValueAccountId: StoredValueAccountId; +} +export interface TransactionStatusResponse { + messageReference?: MessageReference; + repeatedMessageResponse?: RepeatedMessageResponse; + response: Response; +} +export interface RepeatedMessageResponse { + messageHeader: MessageHeader; + repeatedResponseMessageBody: RepeatedResponseMessageBody; +} +export interface RepeatedResponseMessageBody { + cardAcquisitionResponse?: CardAcquisitionResponse; + cardReaderApduResponse?: CardReaderApduResponse; + loyaltyResponse?: LoyaltyResponse; + paymentResponse?: PaymentResponse; + reversalResponse?: ReversalResponse; + storedValueResponse?: StoredValueResponse; +} +export interface TransmitResponse { + message?: any; + response: Response; +} +export interface TerminalApiSecuredRequest { + saleToPoiRequest?: SaleToPoiSecuredMessage; +} +export interface SaleToPoiSecuredMessage { + messageHeader?: MessageHeader; + nexoBlob?: string; + securityTrailer?: SecurityTrailer; +} +export interface SecurityTrailer { + adyenCryptoVersion?: number; + hmac?: any; + keyIdentifier?: string; + keyVersion?: number; + nonce?: any; +} +export interface TerminalApiSecuredResponse { + saleToPoiResponse?: SaleToPoiSecuredMessage; +} +export interface NexoDerivedKey { + cipherKey?: any; + hmacKey?: any; + iv?: any; +} +export interface SecurityKey { + adyenCryptoVersion?: number; + keyIdentifier?: string; + keyVersion?: number; + passphrase?: string; +} +export declare class Convert { + static toTerminalApiRequest(json: string): TerminalApiRequest; + static terminalApiRequestToJson(value: TerminalApiRequest): string; + static toTerminalApiResponse(json: string): TerminalApiResponse; + static terminalApiResponseToJson(value: TerminalApiResponse): string; + static toTerminalApiSecuredRequest(json: string): TerminalApiSecuredRequest; + static terminalApiSecuredRequestToJson(value: TerminalApiSecuredRequest): string; + static toTerminalApiSecuredResponse(json: string): TerminalApiSecuredResponse; + static terminalApiSecuredResponseToJson(value: TerminalApiSecuredResponse): string; + static toNexoDerivedKey(json: string): NexoDerivedKey; + static nexoDerivedKeyToJson(value: NexoDerivedKey): string; + static toSaleToPoiSecuredMessage(json: string): SaleToPoiSecuredMessage; + static saleToPoiSecuredMessageToJson(value: SaleToPoiSecuredMessage): string; + static toSecurityKey(json: string): SecurityKey; + static securityKeyToJson(value: SecurityKey): string; + static toSecurityTrailer(json: string): SecurityTrailer; + static securityTrailerToJson(value: SecurityTrailer): string; + static toSaleToPoiRequest(json: string): SaleToPoiRequest; + static saleToPoiRequestToJson(value: SaleToPoiRequest): string; + static toSaleToPoiResponse(json: string): SaleToPoiResponse; + static saleToPoiResponseToJson(value: SaleToPoiResponse): string; + static toMessageHeader(json: string): MessageHeader; + static messageHeaderToJson(value: MessageHeader): string; + static toAbortRequest(json: string): AbortRequest; + static abortRequestToJson(value: AbortRequest): string; + static toBalanceInquiryRequest(json: string): BalanceInquiryRequest; + static balanceInquiryRequestToJson(value: BalanceInquiryRequest): string; + static toBatchRequest(json: string): BatchRequest; + static batchRequestToJson(value: BatchRequest): string; + static toCardAcquisitionRequest(json: string): CardAcquisitionRequest; + static cardAcquisitionRequestToJson(value: CardAcquisitionRequest): string; + static toAdminRequest(json: string): AdminRequest; + static adminRequestToJson(value: AdminRequest): string; + static toDiagnosisRequest(json: string): DiagnosisRequest; + static diagnosisRequestToJson(value: DiagnosisRequest): string; + static toDisplayRequest(json: string): DisplayRequest; + static displayRequestToJson(value: DisplayRequest): string; + static toEnableServiceRequest(json: string): EnableServiceRequest; + static enableServiceRequestToJson(value: EnableServiceRequest): string; + static toEventNotification(json: string): EventNotification; + static eventNotificationToJson(value: EventNotification): string; + static toGetTotalsRequest(json: string): GetTotalsRequest; + static getTotalsRequestToJson(value: GetTotalsRequest): string; + static toInputRequest(json: string): InputRequest; + static inputRequestToJson(value: InputRequest): string; + static toInputUpdate(json: string): InputUpdate; + static inputUpdateToJson(value: InputUpdate): string; + static toLoginRequest(json: string): LoginRequest; + static loginRequestToJson(value: LoginRequest): string; + static toLogoutRequest(json: string): LogoutRequest; + static logoutRequestToJson(value: LogoutRequest): string; + static toLoyaltyRequest(json: string): LoyaltyRequest; + static loyaltyRequestToJson(value: LoyaltyRequest): string; + static toPaymentRequest(json: string): PaymentRequest; + static paymentRequestToJson(value: PaymentRequest): string; + static toPinRequest(json: string): PinRequest; + static pinRequestToJson(value: PinRequest): string; + static toPrintRequest(json: string): PrintRequest; + static printRequestToJson(value: PrintRequest): string; + static toCardReaderInitRequest(json: string): CardReaderInitRequest; + static cardReaderInitRequestToJson(value: CardReaderInitRequest): string; + static toCardReaderApduRequest(json: string): CardReaderApduRequest; + static cardReaderApduRequestToJson(value: CardReaderApduRequest): string; + static toCardReaderPowerOffRequest(json: string): CardReaderPowerOffRequest; + static cardReaderPowerOffRequestToJson(value: CardReaderPowerOffRequest): string; + static toReconciliationRequest(json: string): ReconciliationRequest; + static reconciliationRequestToJson(value: ReconciliationRequest): string; + static toReversalRequest(json: string): ReversalRequest; + static reversalRequestToJson(value: ReversalRequest): string; + static toSoundRequest(json: string): SoundRequest; + static soundRequestToJson(value: SoundRequest): string; + static toStoredValueRequest(json: string): StoredValueRequest; + static storedValueRequestToJson(value: StoredValueRequest): string; + static toTransactionStatusRequest(json: string): TransactionStatusRequest; + static transactionStatusRequestToJson(value: TransactionStatusRequest): string; + static toTransmitRequest(json: string): TransmitRequest; + static transmitRequestToJson(value: TransmitRequest): string; + static toContentInformation(json: string): ContentInformation; + static contentInformationToJson(value: ContentInformation): string; + static toBalanceInquiryResponse(json: string): BalanceInquiryResponse; + static balanceInquiryResponseToJson(value: BalanceInquiryResponse): string; + static toBatchResponse(json: string): BatchResponse; + static batchResponseToJson(value: BatchResponse): string; + static toCardAcquisitionResponse(json: string): CardAcquisitionResponse; + static cardAcquisitionResponseToJson(value: CardAcquisitionResponse): string; + static toAdminResponse(json: string): AdminResponse; + static adminResponseToJson(value: AdminResponse): string; + static toDiagnosisResponse(json: string): DiagnosisResponse; + static diagnosisResponseToJson(value: DiagnosisResponse): string; + static toDisplayResponse(json: string): DisplayResponse; + static displayResponseToJson(value: DisplayResponse): string; + static toEnableServiceResponse(json: string): EnableServiceResponse; + static enableServiceResponseToJson(value: EnableServiceResponse): string; + static toGetTotalsResponse(json: string): GetTotalsResponse; + static getTotalsResponseToJson(value: GetTotalsResponse): string; + static toInputResponse(json: string): InputResponse; + static inputResponseToJson(value: InputResponse): string; + static toLoginResponse(json: string): LoginResponse; + static loginResponseToJson(value: LoginResponse): string; + static toLogoutResponse(json: string): LogoutResponse; + static logoutResponseToJson(value: LogoutResponse): string; + static toLoyaltyResponse(json: string): LoyaltyResponse; + static loyaltyResponseToJson(value: LoyaltyResponse): string; + static toPaymentResponse(json: string): PaymentResponse; + static paymentResponseToJson(value: PaymentResponse): string; + static toPinResponse(json: string): PinResponse; + static pinResponseToJson(value: PinResponse): string; + static toPrintResponse(json: string): PrintResponse; + static printResponseToJson(value: PrintResponse): string; + static toCardReaderInitResponse(json: string): CardReaderInitResponse; + static cardReaderInitResponseToJson(value: CardReaderInitResponse): string; + static toCardReaderApduResponse(json: string): CardReaderApduResponse; + static cardReaderApduResponseToJson(value: CardReaderApduResponse): string; + static toCardReaderPowerOffResponse(json: string): CardReaderPowerOffResponse; + static cardReaderPowerOffResponseToJson(value: CardReaderPowerOffResponse): string; + static toReconciliationResponse(json: string): ReconciliationResponse; + static reconciliationResponseToJson(value: ReconciliationResponse): string; + static toReversalResponse(json: string): ReversalResponse; + static reversalResponseToJson(value: ReversalResponse): string; + static toSoundResponse(json: string): SoundResponse; + static soundResponseToJson(value: SoundResponse): string; + static toStoredValueResponse(json: string): StoredValueResponse; + static storedValueResponseToJson(value: StoredValueResponse): string; + static toTransactionStatusResponse(json: string): TransactionStatusResponse; + static transactionStatusResponseToJson(value: TransactionStatusResponse): string; + static toTransmitResponse(json: string): TransmitResponse; + static transmitResponseToJson(value: TransmitResponse): string; + static toMessageReference(json: string): MessageReference; + static messageReferenceToJson(value: MessageReference): string; + static toDisplayOutput(json: string): DisplayOutput; + static displayOutputToJson(value: DisplayOutput): string; + static toPaymentAccountReq(json: string): PaymentAccountReq; + static paymentAccountReqToJson(value: PaymentAccountReq): string; + static toLoyaltyAccountReq(json: string): LoyaltyAccountReq; + static loyaltyAccountReqToJson(value: LoyaltyAccountReq): string; + static toTransactionToPerform(json: string): TransactionToPerform; + static transactionToPerformToJson(value: TransactionToPerform): string; + static toSaleData(json: string): SaleData; + static saleDataToJson(value: SaleData): string; + static toCardAcquisitionTransaction(json: string): CardAcquisitionTransaction; + static cardAcquisitionTransactionToJson(value: CardAcquisitionTransaction): string; + static toXmlGregorianCalendar(json: string): { + [key: string]: any; + }; + static xmlGregorianCalendarToJson(value: { + [key: string]: any; + }): string; + static toTotalFilter(json: string): TotalFilter; + static totalFilterToJson(value: TotalFilter): string; + static toInputData(json: string): InputData; + static inputDataToJson(value: InputData): string; + static toOutputContent(json: string): OutputContent; + static outputContentToJson(value: OutputContent): string; + static toMenuEntry(json: string): MenuEntry; + static menuEntryToJson(value: MenuEntry): string; + static toSaleSoftware(json: string): SaleSoftware; + static saleSoftwareToJson(value: SaleSoftware): string; + static toSaleTerminalData(json: string): SaleTerminalData; + static saleTerminalDataToJson(value: SaleTerminalData): string; + static toLoyaltyTransaction(json: string): LoyaltyTransaction; + static loyaltyTransactionToJson(value: LoyaltyTransaction): string; + static toLoyaltyData(json: string): LoyaltyData; + static loyaltyDataToJson(value: LoyaltyData): string; + static toPaymentTransaction(json: string): PaymentTransaction; + static paymentTransactionToJson(value: PaymentTransaction): string; + static toPaymentData(json: string): PaymentData; + static paymentDataToJson(value: PaymentData): string; + static toCardholderPin(json: string): CardholderPin; + static cardholderPinToJson(value: CardholderPin): string; + static toPrintOutput(json: string): PrintOutput; + static printOutputToJson(value: PrintOutput): string; + static toOriginalPoiTransaction(json: string): OriginalPoiTransaction; + static originalPoiTransactionToJson(value: OriginalPoiTransaction): string; + static toCustomerOrder(json: string): CustomerOrder; + static customerOrderToJson(value: CustomerOrder): string; + static toSoundContent(json: string): SoundContent; + static soundContentToJson(value: SoundContent): string; + static toStoredValueData(json: string): StoredValueData; + static storedValueDataToJson(value: StoredValueData): string; + static toEnvelopedData(json: string): EnvelopedData; + static envelopedDataToJson(value: EnvelopedData): string; + static toAuthenticatedData(json: string): AuthenticatedData; + static authenticatedDataToJson(value: AuthenticatedData): string; + static toSignedData(json: string): SignedData; + static signedDataToJson(value: SignedData): string; + static toDigestedData(json: string): DigestedData; + static digestedDataToJson(value: DigestedData): string; + static toNamedKeyEncryptedData(json: string): NamedKeyEncryptedData; + static namedKeyEncryptedDataToJson(value: NamedKeyEncryptedData): string; + static toResponse(json: string): Response; + static responseToJson(value: Response): string; + static toPaymentAccountStatus(json: string): PaymentAccountStatus; + static paymentAccountStatusToJson(value: PaymentAccountStatus): string; + static toLoyaltyAccountStatus(json: string): LoyaltyAccountStatus; + static loyaltyAccountStatusToJson(value: LoyaltyAccountStatus): string; + static toPerformedTransaction(json: string): PerformedTransaction; + static performedTransactionToJson(value: PerformedTransaction): string; + static toPoiData(json: string): PoiData; + static poiDataToJson(value: PoiData): string; + static toPaymentInstrumentData(json: string): PaymentInstrumentData; + static paymentInstrumentDataToJson(value: PaymentInstrumentData): string; + static toLoyaltyAccount(json: string): LoyaltyAccount; + static loyaltyAccountToJson(value: LoyaltyAccount): string; + static toPoiStatus(json: string): PoiStatus; + static poiStatusToJson(value: PoiStatus): string; + static toHostStatus(json: string): HostStatus; + static hostStatusToJson(value: HostStatus): string; + static toOutputResult(json: string): OutputResult; + static outputResultToJson(value: OutputResult): string; + static toTransactionTotals(json: string): TransactionTotals; + static transactionTotalsToJson(value: TransactionTotals): string; + static toInputResult(json: string): InputResult; + static inputResultToJson(value: InputResult): string; + static toPoiSystemData(json: string): PoiSystemData; + static poiSystemDataToJson(value: PoiSystemData): string; + static toLoyaltyResult(json: string): LoyaltyResult; + static loyaltyResultToJson(value: LoyaltyResult): string; + static toPaymentReceipt(json: string): PaymentReceipt; + static paymentReceiptToJson(value: PaymentReceipt): string; + static toPaymentResult(json: string): PaymentResult; + static paymentResultToJson(value: PaymentResult): string; + static toTrackData(json: string): TrackData; + static trackDataToJson(value: TrackData): string; + static toIccResetData(json: string): IccResetData; + static iccResetDataToJson(value: IccResetData): string; + static toStoredValueResult(json: string): StoredValueResult; + static storedValueResultToJson(value: StoredValueResult): string; + static toRepeatedMessageResponse(json: string): RepeatedMessageResponse; + static repeatedMessageResponseToJson(value: RepeatedMessageResponse): string; + static toTransactionIdentification(json: string): TransactionIdentification; + static transactionIdentificationToJson(value: TransactionIdentification): string; + static toLoyaltyAccountId(json: string): LoyaltyAccountId; + static loyaltyAccountIdToJson(value: LoyaltyAccountId): string; + static toSponsoredMerchant(json: string): SponsoredMerchant; + static sponsoredMerchantToJson(value: SponsoredMerchant): string; + static toSaleToIssuerData(json: string): SaleToIssuerData; + static saleToIssuerDataToJson(value: SaleToIssuerData): string; + static toCloneable(json: string): { + [key: string]: any; + }; + static cloneableToJson(value: { + [key: string]: any; + }): string; + static toPredefinedContent(json: string): PredefinedContent; + static predefinedContentToJson(value: PredefinedContent): string; + static toOutputText(json: string): OutputText; + static outputTextToJson(value: OutputText): string; + static toOutputBarcode(json: string): OutputBarcode; + static outputBarcodeToJson(value: OutputBarcode): string; + static toSaleProfile(json: string): SaleProfile; + static saleProfileToJson(value: SaleProfile): string; + static toTransactionConditions(json: string): TransactionConditions; + static transactionConditionsToJson(value: TransactionConditions): string; + static toSaleItem(json: string): SaleItem; + static saleItemToJson(value: SaleItem): string; + static toLoyaltyAmount(json: string): LoyaltyAmount; + static loyaltyAmountToJson(value: LoyaltyAmount): string; + static toAmountsReq(json: string): AmountsReq; + static amountsReqToJson(value: AmountsReq): string; + static toInstalment(json: string): Instalment; + static instalmentToJson(value: Instalment): string; + static toStoredValueAccountId(json: string): StoredValueAccountId; + static storedValueAccountIdToJson(value: StoredValueAccountId): string; + static toEncryptedContent(json: string): EncryptedContent; + static encryptedContentToJson(value: EncryptedContent): string; + static toAlgorithmIdentifier(json: string): AlgorithmIdentifier; + static algorithmIdentifierToJson(value: AlgorithmIdentifier): string; + static toEncapsulatedContent(json: string): EncapsulatedContent; + static encapsulatedContentToJson(value: EncapsulatedContent): string; + static toSigner(json: string): Signer; + static signerToJson(value: Signer): string; + static toPaymentAcquirerData(json: string): PaymentAcquirerData; + static paymentAcquirerDataToJson(value: PaymentAcquirerData): string; + static toCardData(json: string): CardData; + static cardDataToJson(value: CardData): string; + static toCheckData(json: string): CheckData; + static checkDataToJson(value: CheckData): string; + static toMobileData(json: string): MobileData; + static mobileDataToJson(value: MobileData): string; + static toCashHandlingDevice(json: string): CashHandlingDevice; + static cashHandlingDeviceToJson(value: CashHandlingDevice): string; + static toPaymentTotals(json: string): PaymentTotals; + static paymentTotalsToJson(value: PaymentTotals): string; + static toLoyaltyTotals(json: string): LoyaltyTotals; + static loyaltyTotalsToJson(value: LoyaltyTotals): string; + static toInput(json: string): Input; + static inputToJson(value: Input): string; + static toPoiSoftware(json: string): PoiSoftware; + static poiSoftwareToJson(value: PoiSoftware): string; + static toPoiTerminalData(json: string): PoiTerminalData; + static poiTerminalDataToJson(value: PoiTerminalData): string; + static toLoyaltyAcquirerData(json: string): LoyaltyAcquirerData; + static loyaltyAcquirerDataToJson(value: LoyaltyAcquirerData): string; + static toRebates(json: string): Rebates; + static rebatesToJson(value: Rebates): string; + static toAmountsResp(json: string): AmountsResp; + static amountsRespToJson(value: AmountsResp): string; + static toCurrencyConversion(json: string): CurrencyConversion; + static currencyConversionToJson(value: CurrencyConversion): string; + static toCapturedSignature(json: string): CapturedSignature; + static capturedSignatureToJson(value: CapturedSignature): string; + static toStoredValueAccountStatus(json: string): StoredValueAccountStatus; + static storedValueAccountStatusToJson(value: StoredValueAccountStatus): string; + static toRepeatedResponseMessageBody(json: string): RepeatedResponseMessageBody; + static repeatedResponseMessageBodyToJson(value: RepeatedResponseMessageBody): string; + static toParameter(json: string): Parameter; + static parameterToJson(value: Parameter): string; + static toSignerIdentifier(json: string): SignerIdentifier; + static signerIdentifierToJson(value: SignerIdentifier): string; + static toSensitiveCardData(json: string): SensitiveCardData; + static sensitiveCardDataToJson(value: SensitiveCardData): string; + static toAllowedProduct(json: string): AllowedProduct; + static allowedProductToJson(value: AllowedProduct): string; + static toPaymentToken(json: string): PaymentToken; + static paymentTokenToJson(value: PaymentToken): string; + static toGeolocation(json: string): Geolocation; + static geolocationToJson(value: Geolocation): string; + static toSensitiveMobileData(json: string): SensitiveMobileData; + static sensitiveMobileDataToJson(value: SensitiveMobileData): string; + static toCoinsOrBills(json: string): CoinsOrBills; + static coinsOrBillsToJson(value: CoinsOrBills): string; + static toPoiProfile(json: string): PoiProfile; + static poiProfileToJson(value: PoiProfile): string; + static toSaleItemRebate(json: string): SaleItemRebate; + static saleItemRebateToJson(value: SaleItemRebate): string; + static toAmount(json: string): Amount; + static amountToJson(value: Amount): string; + static toAreaSize(json: string): AreaSize; + static areaSizeToJson(value: AreaSize): string; + static toSignaturePoint(json: string): SignaturePoint; + static signaturePointToJson(value: SignaturePoint): string; + static toIssuerAndSerialNumber(json: string): IssuerAndSerialNumber; + static issuerAndSerialNumberToJson(value: IssuerAndSerialNumber): string; + static toGeographicCoordinates(json: string): GeographicCoordinates; + static geographicCoordinatesToJson(value: GeographicCoordinates): string; + static toUtmCoordinates(json: string): UtmCoordinates; + static utmCoordinatesToJson(value: UtmCoordinates): string; + static toIssuer(json: string): Issuer; + static issuerToJson(value: Issuer): string; + static toRelativeDistinguishedName(json: string): RelativeDistinguishedName; + static relativeDistinguishedNameToJson(value: RelativeDistinguishedName): string; + static toMessageClassType(json: string): MessageClassType; + static messageClassTypeToJson(value: MessageClassType): string; + static toMessageCategoryType(json: string): MessageCategoryType; + static messageCategoryTypeToJson(value: MessageCategoryType): string; + static toMessageType(json: string): MessageType; + static messageTypeToJson(value: MessageType): string; + static toServicesEnabledType(json: string): ServicesEnabledType; + static servicesEnabledTypeToJson(value: ServicesEnabledType): string; + static toTransactionActionType(json: string): TransactionActionType; + static transactionActionTypeToJson(value: TransactionActionType): string; + static toEventToNotifyType(json: string): EventToNotifyType; + static eventToNotifyTypeToJson(value: EventToNotifyType): string; + static toTotalDetailsType(json: string): TotalDetailsType; + static totalDetailsTypeToJson(value: TotalDetailsType): string; + static toTokenRequestedType(json: string): TokenRequestedType; + static tokenRequestedTypeToJson(value: TokenRequestedType): string; + static toCustomerOrderReqType(json: string): CustomerOrderReqType; + static customerOrderReqTypeToJson(value: CustomerOrderReqType): string; + static toPinRequestType(json: string): PinRequestType; + static pinRequestTypeToJson(value: PinRequestType): string; + static toPinFormatType(json: string): PinFormatType; + static pinFormatTypeToJson(value: PinFormatType): string; + static toForceEntryModeType(json: string): ForceEntryModeType; + static forceEntryModeTypeToJson(value: ForceEntryModeType): string; + static toReconciliationType(json: string): ReconciliationType; + static reconciliationTypeToJson(value: ReconciliationType): string; + static toReversalReasonType(json: string): ReversalReasonType; + static reversalReasonTypeToJson(value: ReversalReasonType): string; + static toResponseModeType(json: string): ResponseModeType; + static responseModeTypeToJson(value: ResponseModeType): string; + static toSoundActionType(json: string): SoundActionType; + static soundActionTypeToJson(value: SoundActionType): string; + static toDocumentQualifierType(json: string): DocumentQualifierType; + static documentQualifierTypeToJson(value: DocumentQualifierType): string; + static toContentType(json: string): ContentType; + static contentTypeToJson(value: ContentType): string; + static toEntryModeType(json: string): EntryModeType; + static entryModeTypeToJson(value: EntryModeType): string; + static toDeviceType(json: string): DeviceType; + static deviceTypeToJson(value: DeviceType): string; + static toInfoQualifyType(json: string): InfoQualifyType; + static infoQualifyTypeToJson(value: InfoQualifyType): string; + static toAccountType(json: string): AccountType; + static accountTypeToJson(value: AccountType): string; + static toLoyaltyHandlingType(json: string): LoyaltyHandlingType; + static loyaltyHandlingTypeToJson(value: LoyaltyHandlingType): string; + static toPaymentType(json: string): PaymentType; + static paymentTypeToJson(value: PaymentType): string; + static toInputCommandType(json: string): InputCommandType; + static inputCommandTypeToJson(value: InputCommandType): string; + static toOutputFormatType(json: string): OutputFormatType; + static outputFormatTypeToJson(value: OutputFormatType): string; + static toMenuEntryTagType(json: string): MenuEntryTagType; + static menuEntryTagTypeToJson(value: MenuEntryTagType): string; + static toSaleCapabilitiesType(json: string): SaleCapabilitiesType; + static saleCapabilitiesTypeToJson(value: SaleCapabilitiesType): string; + static toTerminalEnvironmentType(json: string): TerminalEnvironmentType; + static terminalEnvironmentTypeToJson(value: TerminalEnvironmentType): string; + static toLoyaltyTransactionType(json: string): LoyaltyTransactionType; + static loyaltyTransactionTypeToJson(value: LoyaltyTransactionType): string; + static toSoundFormatType(json: string): SoundFormatType; + static soundFormatTypeToJson(value: SoundFormatType): string; + static toStoredValueTransactionType(json: string): StoredValueTransactionType; + static storedValueTransactionTypeToJson(value: StoredValueTransactionType): string; + static toVersionType(json: string): VersionType; + static versionTypeToJson(value: VersionType): string; + static toResultType(json: string): ResultType; + static resultTypeToJson(value: ResultType): string; + static toErrorConditionType(json: string): ErrorConditionType; + static errorConditionTypeToJson(value: ErrorConditionType): string; + static toLoyaltyUnitType(json: string): LoyaltyUnitType; + static loyaltyUnitTypeToJson(value: LoyaltyUnitType): string; + static toPaymentInstrumentType(json: string): PaymentInstrumentType; + static paymentInstrumentTypeToJson(value: PaymentInstrumentType): string; + static toGlobalStatusType(json: string): GlobalStatusType; + static globalStatusTypeToJson(value: GlobalStatusType): string; + static toPrinterStatusType(json: string): PrinterStatusType; + static printerStatusTypeToJson(value: PrinterStatusType): string; + static toAuthenticationMethodType(json: string): AuthenticationMethodType; + static authenticationMethodTypeToJson(value: AuthenticationMethodType): string; + static toTrackFormatType(json: string): TrackFormatType; + static trackFormatTypeToJson(value: TrackFormatType): string; + static toIdentificationType(json: string): IdentificationType; + static identificationTypeToJson(value: IdentificationType): string; + static toIdentificationSupportType(json: string): IdentificationSupportType; + static identificationSupportTypeToJson(value: IdentificationSupportType): string; + static toColorType(json: string): ColorType; + static colorTypeToJson(value: ColorType): string; + static toCharacterWidthType(json: string): CharacterWidthType; + static characterWidthTypeToJson(value: CharacterWidthType): string; + static toCharacterHeightType(json: string): CharacterHeightType; + static characterHeightTypeToJson(value: CharacterHeightType): string; + static toCharacterStyleType(json: string): CharacterStyleType; + static characterStyleTypeToJson(value: CharacterStyleType): string; + static toAlignmentType(json: string): AlignmentType; + static alignmentTypeToJson(value: AlignmentType): string; + static toBarcodeType(json: string): BarcodeType; + static barcodeTypeToJson(value: BarcodeType): string; + static toServiceProfilesType(json: string): ServiceProfilesType; + static serviceProfilesTypeToJson(value: ServiceProfilesType): string; + static toGenericProfileType(json: string): GenericProfileType; + static genericProfileTypeToJson(value: GenericProfileType): string; + static toUnitOfMeasureType(json: string): UnitOfMeasureType; + static unitOfMeasureTypeToJson(value: UnitOfMeasureType): string; + static toInstalmentType(json: string): InstalmentType; + static instalmentTypeToJson(value: InstalmentType): string; + static toPeriodUnitType(json: string): PeriodUnitType; + static periodUnitTypeToJson(value: PeriodUnitType): string; + static toStoredValueAccountType(json: string): StoredValueAccountType; + static storedValueAccountTypeToJson(value: StoredValueAccountType): string; + static toAlgorithmType(json: string): AlgorithmType; + static algorithmTypeToJson(value: AlgorithmType): string; + static toCheckTypeCodeType(json: string): CheckTypeCodeType; + static checkTypeCodeTypeToJson(value: CheckTypeCodeType): string; + static toTransactionType(json: string): TransactionType; + static transactionTypeToJson(value: TransactionType): string; + static toPoiCapabilitiesType(json: string): PoiCapabilitiesType; + static poiCapabilitiesTypeToJson(value: PoiCapabilitiesType): string; +} diff --git a/dist/lib/typings/terminal.js b/dist/lib/typings/terminal.js new file mode 100644 index 0000000..ea77d88 --- /dev/null +++ b/dist/lib/typings/terminal.js @@ -0,0 +1,3858 @@ +"use strict"; +// To parse this data: +// +// import { Convert, TerminalApiRequest, TerminalApiResponse, TerminalApiSecuredRequest, TerminalApiSecuredResponse, NexoDerivedKey, SaleToPoiSecuredMessage, SecurityKey, SecurityTrailer, SaleToPoiRequest, SaleToPoiResponse, MessageHeader, AbortRequest, BalanceInquiryRequest, BatchRequest, CardAcquisitionRequest, AdminRequest, DiagnosisRequest, DisplayRequest, EnableServiceRequest, EventNotification, GetTotalsRequest, InputRequest, InputUpdate, LoginRequest, LogoutRequest, LoyaltyRequest, PaymentRequest, PinRequest, PrintRequest, CardReaderInitRequest, CardReaderApduRequest, CardReaderPowerOffRequest, ReconciliationRequest, ReversalRequest, SoundRequest, StoredValueRequest, TransactionStatusRequest, TransmitRequest, ContentInformation, BalanceInquiryResponse, BatchResponse, CardAcquisitionResponse, AdminResponse, DiagnosisResponse, DisplayResponse, EnableServiceResponse, GetTotalsResponse, InputResponse, LoginResponse, LogoutResponse, LoyaltyResponse, PaymentResponse, PinResponse, PrintResponse, CardReaderInitResponse, CardReaderApduResponse, CardReaderPowerOffResponse, ReconciliationResponse, ReversalResponse, SoundResponse, StoredValueResponse, TransactionStatusResponse, TransmitResponse, MessageReference, DisplayOutput, PaymentAccountReq, LoyaltyAccountReq, TransactionToPerform, SaleData, CardAcquisitionTransaction, TotalFilter, InputData, OutputContent, MenuEntry, SaleSoftware, SaleTerminalData, LoyaltyTransaction, LoyaltyData, PaymentTransaction, PaymentData, CardholderPin, PrintOutput, OriginalPoiTransaction, CustomerOrder, SoundContent, StoredValueData, EnvelopedData, AuthenticatedData, SignedData, DigestedData, NamedKeyEncryptedData, Response, PaymentAccountStatus, LoyaltyAccountStatus, PerformedTransaction, PoiData, PaymentInstrumentData, LoyaltyAccount, PoiStatus, HostStatus, OutputResult, TransactionTotals, InputResult, PoiSystemData, LoyaltyResult, PaymentReceipt, PaymentResult, TrackData, IccResetData, StoredValueResult, RepeatedMessageResponse, TransactionIdentification, LoyaltyAccountId, SponsoredMerchant, SaleToIssuerData, PredefinedContent, OutputText, OutputBarcode, SaleProfile, TransactionConditions, SaleItem, LoyaltyAmount, AmountsReq, Instalment, StoredValueAccountId, EncryptedContent, AlgorithmIdentifier, EncapsulatedContent, Signer, PaymentAcquirerData, CardData, CheckData, MobileData, CashHandlingDevice, PaymentTotals, LoyaltyTotals, Input, PoiSoftware, PoiTerminalData, LoyaltyAcquirerData, Rebates, AmountsResp, CurrencyConversion, CapturedSignature, StoredValueAccountStatus, RepeatedResponseMessageBody, Parameter, SignerIdentifier, SensitiveCardData, AllowedProduct, PaymentToken, Geolocation, SensitiveMobileData, CoinsOrBills, PoiProfile, SaleItemRebate, Amount, AreaSize, SignaturePoint, IssuerAndSerialNumber, GeographicCoordinates, UtmCoordinates, Issuer, RelativeDistinguishedName, MessageClassType, MessageCategoryType, MessageType, ServicesEnabledType, TransactionActionType, EventToNotifyType, TotalDetailsType, TokenRequestedType, CustomerOrderReqType, PinRequestType, PinFormatType, ForceEntryModeType, ReconciliationType, ReversalReasonType, ResponseModeType, SoundActionType, DocumentQualifierType, ContentType, EntryModeType, DeviceType, InfoQualifyType, AccountType, LoyaltyHandlingType, PaymentType, InputCommandType, OutputFormatType, MenuEntryTagType, SaleCapabilitiesType, TerminalEnvironmentType, LoyaltyTransactionType, SoundFormatType, StoredValueTransactionType, VersionType, ResultType, ErrorConditionType, LoyaltyUnitType, PaymentInstrumentType, GlobalStatusType, PrinterStatusType, AuthenticationMethodType, TrackFormatType, IdentificationType, IdentificationSupportType, ColorType, CharacterWidthType, CharacterHeightType, CharacterStyleType, AlignmentType, BarcodeType, ServiceProfilesType, GenericProfileType, UnitOfMeasureType, InstalmentType, PeriodUnitType, StoredValueAccountType, AlgorithmType, CheckTypeCodeType, TransactionType, PoiCapabilitiesType } from "./file"; +// +// const terminalApiRequest = Convert.toTerminalApiRequest(json); +// const terminalApiResponse = Convert.toTerminalApiResponse(json); +// const terminalApiSecuredRequest = Convert.toTerminalApiSecuredRequest(json); +// const terminalApiSecuredResponse = Convert.toTerminalApiSecuredResponse(json); +// const nexoDerivedKey = Convert.toNexoDerivedKey(json); +// const saleToPoiSecuredMessage = Convert.toSaleToPoiSecuredMessage(json); +// const securityKey = Convert.toSecurityKey(json); +// const securityTrailer = Convert.toSecurityTrailer(json); +// const saleToPoiRequest = Convert.toSaleToPoiRequest(json); +// const saleToPoiResponse = Convert.toSaleToPoiResponse(json); +// const messageHeader = Convert.toMessageHeader(json); +// const abortRequest = Convert.toAbortRequest(json); +// const balanceInquiryRequest = Convert.toBalanceInquiryRequest(json); +// const batchRequest = Convert.toBatchRequest(json); +// const cardAcquisitionRequest = Convert.toCardAcquisitionRequest(json); +// const adminRequest = Convert.toAdminRequest(json); +// const diagnosisRequest = Convert.toDiagnosisRequest(json); +// const displayRequest = Convert.toDisplayRequest(json); +// const enableServiceRequest = Convert.toEnableServiceRequest(json); +// const eventNotification = Convert.toEventNotification(json); +// const getTotalsRequest = Convert.toGetTotalsRequest(json); +// const inputRequest = Convert.toInputRequest(json); +// const inputUpdate = Convert.toInputUpdate(json); +// const loginRequest = Convert.toLoginRequest(json); +// const logoutRequest = Convert.toLogoutRequest(json); +// const loyaltyRequest = Convert.toLoyaltyRequest(json); +// const paymentRequest = Convert.toPaymentRequest(json); +// const pinRequest = Convert.toPinRequest(json); +// const printRequest = Convert.toPrintRequest(json); +// const cardReaderInitRequest = Convert.toCardReaderInitRequest(json); +// const cardReaderApduRequest = Convert.toCardReaderApduRequest(json); +// const cardReaderPowerOffRequest = Convert.toCardReaderPowerOffRequest(json); +// const reconciliationRequest = Convert.toReconciliationRequest(json); +// const reversalRequest = Convert.toReversalRequest(json); +// const soundRequest = Convert.toSoundRequest(json); +// const storedValueRequest = Convert.toStoredValueRequest(json); +// const transactionStatusRequest = Convert.toTransactionStatusRequest(json); +// const transmitRequest = Convert.toTransmitRequest(json); +// const contentInformation = Convert.toContentInformation(json); +// const balanceInquiryResponse = Convert.toBalanceInquiryResponse(json); +// const batchResponse = Convert.toBatchResponse(json); +// const cardAcquisitionResponse = Convert.toCardAcquisitionResponse(json); +// const adminResponse = Convert.toAdminResponse(json); +// const diagnosisResponse = Convert.toDiagnosisResponse(json); +// const displayResponse = Convert.toDisplayResponse(json); +// const enableServiceResponse = Convert.toEnableServiceResponse(json); +// const getTotalsResponse = Convert.toGetTotalsResponse(json); +// const inputResponse = Convert.toInputResponse(json); +// const loginResponse = Convert.toLoginResponse(json); +// const logoutResponse = Convert.toLogoutResponse(json); +// const loyaltyResponse = Convert.toLoyaltyResponse(json); +// const paymentResponse = Convert.toPaymentResponse(json); +// const pinResponse = Convert.toPinResponse(json); +// const printResponse = Convert.toPrintResponse(json); +// const cardReaderInitResponse = Convert.toCardReaderInitResponse(json); +// const cardReaderApduResponse = Convert.toCardReaderApduResponse(json); +// const cardReaderPowerOffResponse = Convert.toCardReaderPowerOffResponse(json); +// const reconciliationResponse = Convert.toReconciliationResponse(json); +// const reversalResponse = Convert.toReversalResponse(json); +// const soundResponse = Convert.toSoundResponse(json); +// const storedValueResponse = Convert.toStoredValueResponse(json); +// const transactionStatusResponse = Convert.toTransactionStatusResponse(json); +// const transmitResponse = Convert.toTransmitResponse(json); +// const messageReference = Convert.toMessageReference(json); +// const displayOutput = Convert.toDisplayOutput(json); +// const paymentAccountReq = Convert.toPaymentAccountReq(json); +// const loyaltyAccountReq = Convert.toLoyaltyAccountReq(json); +// const transactionToPerform = Convert.toTransactionToPerform(json); +// const saleData = Convert.toSaleData(json); +// const cardAcquisitionTransaction = Convert.toCardAcquisitionTransaction(json); +// const xmlGregorianCalendar = Convert.toXmlGregorianCalendar(json); +// const totalFilter = Convert.toTotalFilter(json); +// const inputData = Convert.toInputData(json); +// const outputContent = Convert.toOutputContent(json); +// const menuEntry = Convert.toMenuEntry(json); +// const saleSoftware = Convert.toSaleSoftware(json); +// const saleTerminalData = Convert.toSaleTerminalData(json); +// const loyaltyTransaction = Convert.toLoyaltyTransaction(json); +// const loyaltyData = Convert.toLoyaltyData(json); +// const paymentTransaction = Convert.toPaymentTransaction(json); +// const paymentData = Convert.toPaymentData(json); +// const cardholderPin = Convert.toCardholderPin(json); +// const printOutput = Convert.toPrintOutput(json); +// const originalPoiTransaction = Convert.toOriginalPoiTransaction(json); +// const customerOrder = Convert.toCustomerOrder(json); +// const soundContent = Convert.toSoundContent(json); +// const storedValueData = Convert.toStoredValueData(json); +// const envelopedData = Convert.toEnvelopedData(json); +// const authenticatedData = Convert.toAuthenticatedData(json); +// const signedData = Convert.toSignedData(json); +// const digestedData = Convert.toDigestedData(json); +// const namedKeyEncryptedData = Convert.toNamedKeyEncryptedData(json); +// const response = Convert.toResponse(json); +// const paymentAccountStatus = Convert.toPaymentAccountStatus(json); +// const loyaltyAccountStatus = Convert.toLoyaltyAccountStatus(json); +// const performedTransaction = Convert.toPerformedTransaction(json); +// const poiData = Convert.toPoiData(json); +// const paymentInstrumentData = Convert.toPaymentInstrumentData(json); +// const loyaltyAccount = Convert.toLoyaltyAccount(json); +// const poiStatus = Convert.toPoiStatus(json); +// const hostStatus = Convert.toHostStatus(json); +// const outputResult = Convert.toOutputResult(json); +// const transactionTotals = Convert.toTransactionTotals(json); +// const inputResult = Convert.toInputResult(json); +// const poiSystemData = Convert.toPoiSystemData(json); +// const loyaltyResult = Convert.toLoyaltyResult(json); +// const paymentReceipt = Convert.toPaymentReceipt(json); +// const paymentResult = Convert.toPaymentResult(json); +// const trackData = Convert.toTrackData(json); +// const iccResetData = Convert.toIccResetData(json); +// const storedValueResult = Convert.toStoredValueResult(json); +// const repeatedMessageResponse = Convert.toRepeatedMessageResponse(json); +// const transactionIdentification = Convert.toTransactionIdentification(json); +// const loyaltyAccountId = Convert.toLoyaltyAccountId(json); +// const sponsoredMerchant = Convert.toSponsoredMerchant(json); +// const saleToIssuerData = Convert.toSaleToIssuerData(json); +// const cloneable = Convert.toCloneable(json); +// const predefinedContent = Convert.toPredefinedContent(json); +// const outputText = Convert.toOutputText(json); +// const outputBarcode = Convert.toOutputBarcode(json); +// const saleProfile = Convert.toSaleProfile(json); +// const transactionConditions = Convert.toTransactionConditions(json); +// const saleItem = Convert.toSaleItem(json); +// const loyaltyAmount = Convert.toLoyaltyAmount(json); +// const amountsReq = Convert.toAmountsReq(json); +// const instalment = Convert.toInstalment(json); +// const storedValueAccountId = Convert.toStoredValueAccountId(json); +// const encryptedContent = Convert.toEncryptedContent(json); +// const algorithmIdentifier = Convert.toAlgorithmIdentifier(json); +// const encapsulatedContent = Convert.toEncapsulatedContent(json); +// const signer = Convert.toSigner(json); +// const paymentAcquirerData = Convert.toPaymentAcquirerData(json); +// const cardData = Convert.toCardData(json); +// const checkData = Convert.toCheckData(json); +// const mobileData = Convert.toMobileData(json); +// const cashHandlingDevice = Convert.toCashHandlingDevice(json); +// const paymentTotals = Convert.toPaymentTotals(json); +// const loyaltyTotals = Convert.toLoyaltyTotals(json); +// const input = Convert.toInput(json); +// const poiSoftware = Convert.toPoiSoftware(json); +// const poiTerminalData = Convert.toPoiTerminalData(json); +// const loyaltyAcquirerData = Convert.toLoyaltyAcquirerData(json); +// const rebates = Convert.toRebates(json); +// const amountsResp = Convert.toAmountsResp(json); +// const currencyConversion = Convert.toCurrencyConversion(json); +// const capturedSignature = Convert.toCapturedSignature(json); +// const storedValueAccountStatus = Convert.toStoredValueAccountStatus(json); +// const repeatedResponseMessageBody = Convert.toRepeatedResponseMessageBody(json); +// const parameter = Convert.toParameter(json); +// const signerIdentifier = Convert.toSignerIdentifier(json); +// const sensitiveCardData = Convert.toSensitiveCardData(json); +// const allowedProduct = Convert.toAllowedProduct(json); +// const paymentToken = Convert.toPaymentToken(json); +// const geolocation = Convert.toGeolocation(json); +// const sensitiveMobileData = Convert.toSensitiveMobileData(json); +// const coinsOrBills = Convert.toCoinsOrBills(json); +// const poiProfile = Convert.toPoiProfile(json); +// const saleItemRebate = Convert.toSaleItemRebate(json); +// const amount = Convert.toAmount(json); +// const areaSize = Convert.toAreaSize(json); +// const signaturePoint = Convert.toSignaturePoint(json); +// const issuerAndSerialNumber = Convert.toIssuerAndSerialNumber(json); +// const geographicCoordinates = Convert.toGeographicCoordinates(json); +// const utmCoordinates = Convert.toUtmCoordinates(json); +// const issuer = Convert.toIssuer(json); +// const relativeDistinguishedName = Convert.toRelativeDistinguishedName(json); +// const messageClassType = Convert.toMessageClassType(json); +// const messageCategoryType = Convert.toMessageCategoryType(json); +// const messageType = Convert.toMessageType(json); +// const servicesEnabledType = Convert.toServicesEnabledType(json); +// const transactionActionType = Convert.toTransactionActionType(json); +// const eventToNotifyType = Convert.toEventToNotifyType(json); +// const totalDetailsType = Convert.toTotalDetailsType(json); +// const tokenRequestedType = Convert.toTokenRequestedType(json); +// const customerOrderReqType = Convert.toCustomerOrderReqType(json); +// const pinRequestType = Convert.toPinRequestType(json); +// const pinFormatType = Convert.toPinFormatType(json); +// const forceEntryModeType = Convert.toForceEntryModeType(json); +// const reconciliationType = Convert.toReconciliationType(json); +// const reversalReasonType = Convert.toReversalReasonType(json); +// const responseModeType = Convert.toResponseModeType(json); +// const soundActionType = Convert.toSoundActionType(json); +// const documentQualifierType = Convert.toDocumentQualifierType(json); +// const contentType = Convert.toContentType(json); +// const entryModeType = Convert.toEntryModeType(json); +// const deviceType = Convert.toDeviceType(json); +// const infoQualifyType = Convert.toInfoQualifyType(json); +// const accountType = Convert.toAccountType(json); +// const loyaltyHandlingType = Convert.toLoyaltyHandlingType(json); +// const paymentType = Convert.toPaymentType(json); +// const inputCommandType = Convert.toInputCommandType(json); +// const outputFormatType = Convert.toOutputFormatType(json); +// const menuEntryTagType = Convert.toMenuEntryTagType(json); +// const saleCapabilitiesType = Convert.toSaleCapabilitiesType(json); +// const terminalEnvironmentType = Convert.toTerminalEnvironmentType(json); +// const loyaltyTransactionType = Convert.toLoyaltyTransactionType(json); +// const soundFormatType = Convert.toSoundFormatType(json); +// const storedValueTransactionType = Convert.toStoredValueTransactionType(json); +// const versionType = Convert.toVersionType(json); +// const resultType = Convert.toResultType(json); +// const errorConditionType = Convert.toErrorConditionType(json); +// const loyaltyUnitType = Convert.toLoyaltyUnitType(json); +// const paymentInstrumentType = Convert.toPaymentInstrumentType(json); +// const globalStatusType = Convert.toGlobalStatusType(json); +// const printerStatusType = Convert.toPrinterStatusType(json); +// const authenticationMethodType = Convert.toAuthenticationMethodType(json); +// const trackFormatType = Convert.toTrackFormatType(json); +// const identificationType = Convert.toIdentificationType(json); +// const identificationSupportType = Convert.toIdentificationSupportType(json); +// const colorType = Convert.toColorType(json); +// const characterWidthType = Convert.toCharacterWidthType(json); +// const characterHeightType = Convert.toCharacterHeightType(json); +// const characterStyleType = Convert.toCharacterStyleType(json); +// const alignmentType = Convert.toAlignmentType(json); +// const barcodeType = Convert.toBarcodeType(json); +// const serviceProfilesType = Convert.toServiceProfilesType(json); +// const genericProfileType = Convert.toGenericProfileType(json); +// const unitOfMeasureType = Convert.toUnitOfMeasureType(json); +// const instalmentType = Convert.toInstalmentType(json); +// const periodUnitType = Convert.toPeriodUnitType(json); +// const storedValueAccountType = Convert.toStoredValueAccountType(json); +// const algorithmType = Convert.toAlgorithmType(json); +// const checkTypeCodeType = Convert.toCheckTypeCodeType(json); +// const transactionType = Convert.toTransactionType(json); +// const poiCapabilitiesType = Convert.toPoiCapabilitiesType(json); +// +// These functions will throw an error if the JSON doesn't +// match the expected interface, even if the JSON is valid. +Object.defineProperty(exports, "__esModule", { value: true }); +var DeviceType; +(function (DeviceType) { + DeviceType["CashierDisplay"] = "CashierDisplay"; + DeviceType["CashierInput"] = "CashierInput"; + DeviceType["CustomerDisplay"] = "CustomerDisplay"; + DeviceType["CustomerInput"] = "CustomerInput"; +})(DeviceType = exports.DeviceType || (exports.DeviceType = {})); +var InfoQualifyType; +(function (InfoQualifyType) { + InfoQualifyType["CustomerAssistance"] = "CustomerAssistance"; + InfoQualifyType["Display"] = "Display"; + InfoQualifyType["Document"] = "Document"; + InfoQualifyType["Error"] = "Error"; + InfoQualifyType["Input"] = "Input"; + InfoQualifyType["PoiReplication"] = "POIReplication"; + InfoQualifyType["Receipt"] = "Receipt"; + InfoQualifyType["Sound"] = "Sound"; + InfoQualifyType["Status"] = "Status"; + InfoQualifyType["Voucher"] = "Voucher"; +})(InfoQualifyType = exports.InfoQualifyType || (exports.InfoQualifyType = {})); +var MenuEntryTagType; +(function (MenuEntryTagType) { + MenuEntryTagType["NonSelectable"] = "NonSelectable"; + MenuEntryTagType["NonSelectableSubMenu"] = "NonSelectableSubMenu"; + MenuEntryTagType["Selectable"] = "Selectable"; + MenuEntryTagType["SubMenu"] = "SubMenu"; +})(MenuEntryTagType = exports.MenuEntryTagType || (exports.MenuEntryTagType = {})); +var OutputFormatType; +(function (OutputFormatType) { + OutputFormatType["BarCode"] = "BarCode"; + OutputFormatType["MessageRef"] = "MessageRef"; + OutputFormatType["Text"] = "Text"; + OutputFormatType["Xhtml"] = "XHTML"; +})(OutputFormatType = exports.OutputFormatType || (exports.OutputFormatType = {})); +var AlignmentType; +(function (AlignmentType) { + AlignmentType["Centred"] = "Centred"; + AlignmentType["Justified"] = "Justified"; + AlignmentType["Left"] = "Left"; + AlignmentType["Right"] = "Right"; +})(AlignmentType = exports.AlignmentType || (exports.AlignmentType = {})); +var CharacterHeightType; +(function (CharacterHeightType) { + CharacterHeightType["DoubleHeight"] = "DoubleHeight"; + CharacterHeightType["HalfHeight"] = "HalfHeight"; + CharacterHeightType["SingleHeight"] = "SingleHeight"; +})(CharacterHeightType = exports.CharacterHeightType || (exports.CharacterHeightType = {})); +var CharacterStyleType; +(function (CharacterStyleType) { + CharacterStyleType["Bold"] = "Bold"; + CharacterStyleType["Italic"] = "Italic"; + CharacterStyleType["Normal"] = "Normal"; + CharacterStyleType["Underlined"] = "Underlined"; +})(CharacterStyleType = exports.CharacterStyleType || (exports.CharacterStyleType = {})); +var CharacterWidthType; +(function (CharacterWidthType) { + CharacterWidthType["DoubleWidth"] = "DoubleWidth"; + CharacterWidthType["SingleWidth"] = "SingleWidth"; +})(CharacterWidthType = exports.CharacterWidthType || (exports.CharacterWidthType = {})); +var ColorType; +(function (ColorType) { + ColorType["Black"] = "Black"; + ColorType["Blue"] = "Blue"; + ColorType["Cyan"] = "Cyan"; + ColorType["Green"] = "Green"; + ColorType["Magenta"] = "Magenta"; + ColorType["Red"] = "Red"; + ColorType["White"] = "White"; + ColorType["Yellow"] = "Yellow"; +})(ColorType = exports.ColorType || (exports.ColorType = {})); +var BarcodeType; +(function (BarcodeType) { + BarcodeType["Code128"] = "Code128"; + BarcodeType["Code25"] = "Code25"; + BarcodeType["Ean13"] = "EAN13"; + BarcodeType["Ean8"] = "EAN8"; + BarcodeType["Pdf417"] = "PDF417"; + BarcodeType["Qrcode"] = "QRCODE"; + BarcodeType["Upca"] = "UPCA"; +})(BarcodeType = exports.BarcodeType || (exports.BarcodeType = {})); +var MessageCategoryType; +(function (MessageCategoryType) { + MessageCategoryType["Abort"] = "Abort"; + MessageCategoryType["Admin"] = "Admin"; + MessageCategoryType["BalanceInquiry"] = "BalanceInquiry"; + MessageCategoryType["Batch"] = "Batch"; + MessageCategoryType["CardAcquisition"] = "CardAcquisition"; + MessageCategoryType["CardReaderApdu"] = "CardReaderAPDU"; + MessageCategoryType["CardReaderInit"] = "CardReaderInit"; + MessageCategoryType["CardReaderPowerOff"] = "CardReaderPowerOff"; + MessageCategoryType["Diagnosis"] = "Diagnosis"; + MessageCategoryType["Display"] = "Display"; + MessageCategoryType["EnableService"] = "EnableService"; + MessageCategoryType["Event"] = "Event"; + MessageCategoryType["GetTotals"] = "GetTotals"; + MessageCategoryType["Input"] = "Input"; + MessageCategoryType["InputUpdate"] = "InputUpdate"; + MessageCategoryType["Login"] = "Login"; + MessageCategoryType["Logout"] = "Logout"; + MessageCategoryType["Loyalty"] = "Loyalty"; + MessageCategoryType["Payment"] = "Payment"; + MessageCategoryType["Pin"] = "PIN"; + MessageCategoryType["Print"] = "Print"; + MessageCategoryType["Reconciliation"] = "Reconciliation"; + MessageCategoryType["Reversal"] = "Reversal"; + MessageCategoryType["Sound"] = "Sound"; + MessageCategoryType["StoredValue"] = "StoredValue"; + MessageCategoryType["TransactionStatus"] = "TransactionStatus"; + MessageCategoryType["Transmit"] = "Transmit"; +})(MessageCategoryType = exports.MessageCategoryType || (exports.MessageCategoryType = {})); +var EntryModeType; +(function (EntryModeType) { + EntryModeType["Contactless"] = "Contactless"; + EntryModeType["File"] = "File"; + EntryModeType["Icc"] = "ICC"; + EntryModeType["Keyed"] = "Keyed"; + EntryModeType["MagStripe"] = "MagStripe"; + EntryModeType["Manual"] = "Manual"; + EntryModeType["Mobile"] = "Mobile"; + EntryModeType["Rfid"] = "RFID"; + EntryModeType["Scanned"] = "Scanned"; + EntryModeType["SynchronousIcc"] = "SynchronousICC"; + EntryModeType["Tapped"] = "Tapped"; +})(EntryModeType = exports.EntryModeType || (exports.EntryModeType = {})); +var IdentificationSupportType; +(function (IdentificationSupportType) { + IdentificationSupportType["HybridCard"] = "HybridCard"; + IdentificationSupportType["LinkedCard"] = "LinkedCard"; + IdentificationSupportType["LoyaltyCard"] = "LoyaltyCard"; + IdentificationSupportType["NoCard"] = "NoCard"; +})(IdentificationSupportType = exports.IdentificationSupportType || (exports.IdentificationSupportType = {})); +var IdentificationType; +(function (IdentificationType) { + IdentificationType["AccountNumber"] = "AccountNumber"; + IdentificationType["BarCode"] = "BarCode"; + IdentificationType["IsoTrack2"] = "ISOTrack2"; + IdentificationType["Pan"] = "PAN"; + IdentificationType["PhoneNumber"] = "PhoneNumber"; +})(IdentificationType = exports.IdentificationType || (exports.IdentificationType = {})); +var AccountType; +(function (AccountType) { + AccountType["CardTotals"] = "CardTotals"; + AccountType["Checking"] = "Checking"; + AccountType["CreditCard"] = "CreditCard"; + AccountType["Default"] = "Default"; + AccountType["EpurseCard"] = "EpurseCard"; + AccountType["Investment"] = "Investment"; + AccountType["Savings"] = "Savings"; + AccountType["Universal"] = "Universal"; +})(AccountType = exports.AccountType || (exports.AccountType = {})); +var TokenRequestedType; +(function (TokenRequestedType) { + TokenRequestedType["Customer"] = "Customer"; + TokenRequestedType["Transaction"] = "Transaction"; +})(TokenRequestedType = exports.TokenRequestedType || (exports.TokenRequestedType = {})); +var ContentType; +(function (ContentType) { + ContentType["IdCtAuthData"] = "id-ct-authData"; + ContentType["IdData"] = "id-data"; + ContentType["IdDigestedData"] = "id-digestedData"; + ContentType["IdEncryptedData"] = "id-encryptedData"; + ContentType["IdEnvelopedData"] = "id-envelopedData"; + ContentType["IdSignedData"] = "id-signedData"; +})(ContentType = exports.ContentType || (exports.ContentType = {})); +var AlgorithmType; +(function (AlgorithmType) { + AlgorithmType["DesEde3Cbc"] = "des-ede3-cbc"; + AlgorithmType["DesEde3Ecb"] = "des-ede3-ecb"; + AlgorithmType["IdDukptWrap"] = "id-dukpt-wrap"; + AlgorithmType["IdRetailCbcMac"] = "id-retail-cbc-mac"; + AlgorithmType["IdRetailCbcMacSha256"] = "id-retail-cbc-mac-sha-256"; + AlgorithmType["IdSha256"] = "id-sha256"; + AlgorithmType["IdUkptWrap"] = "id-ukpt-wrap "; + AlgorithmType["RsaEncryption"] = "rsaEncryption"; + AlgorithmType["Sha256WithRsaEncryption"] = "sha256WithRSAEncryption"; +})(AlgorithmType = exports.AlgorithmType || (exports.AlgorithmType = {})); +var VersionType; +(function (VersionType) { + VersionType["V0"] = "v0"; + VersionType["V1"] = "v1"; + VersionType["V2"] = "v2"; + VersionType["V3"] = "v3"; + VersionType["V4"] = "v4"; + VersionType["V5"] = "v5"; +})(VersionType = exports.VersionType || (exports.VersionType = {})); +var TrackFormatType; +(function (TrackFormatType) { + TrackFormatType["Aamva"] = "AAMVA"; + TrackFormatType["Cmc7"] = "CMC-7"; + TrackFormatType["E13B"] = "E-13B"; + TrackFormatType["Iso"] = "ISO"; + TrackFormatType["JisI"] = "JIS-I"; + TrackFormatType["JisIi"] = "JIS-II"; +})(TrackFormatType = exports.TrackFormatType || (exports.TrackFormatType = {})); +var CheckTypeCodeType; +(function (CheckTypeCodeType) { + CheckTypeCodeType["Company"] = "Company"; + CheckTypeCodeType["Personal"] = "Personal"; +})(CheckTypeCodeType = exports.CheckTypeCodeType || (exports.CheckTypeCodeType = {})); +var PaymentInstrumentType; +(function (PaymentInstrumentType) { + PaymentInstrumentType["Card"] = "Card"; + PaymentInstrumentType["Cash"] = "Cash"; + PaymentInstrumentType["Check"] = "Check"; + PaymentInstrumentType["Mobile"] = "Mobile"; + PaymentInstrumentType["StoredValue"] = "StoredValue"; +})(PaymentInstrumentType = exports.PaymentInstrumentType || (exports.PaymentInstrumentType = {})); +var LoyaltyUnitType; +(function (LoyaltyUnitType) { + LoyaltyUnitType["Monetary"] = "Monetary"; + LoyaltyUnitType["Point"] = "Point"; +})(LoyaltyUnitType = exports.LoyaltyUnitType || (exports.LoyaltyUnitType = {})); +var LoyaltyTransactionType; +(function (LoyaltyTransactionType) { + LoyaltyTransactionType["Award"] = "Award"; + LoyaltyTransactionType["AwardRefund"] = "AwardRefund"; + LoyaltyTransactionType["Rebate"] = "Rebate"; + LoyaltyTransactionType["RebateRefund"] = "RebateRefund"; + LoyaltyTransactionType["Redemption"] = "Redemption"; + LoyaltyTransactionType["RedemptionRefund"] = "RedemptionRefund"; +})(LoyaltyTransactionType = exports.LoyaltyTransactionType || (exports.LoyaltyTransactionType = {})); +var UnitOfMeasureType; +(function (UnitOfMeasureType) { + UnitOfMeasureType["Case"] = "Case"; + UnitOfMeasureType["Centilitre"] = "Centilitre"; + UnitOfMeasureType["Centimetre"] = "Centimetre"; + UnitOfMeasureType["Foot"] = "Foot"; + UnitOfMeasureType["Gram"] = "Gram"; + UnitOfMeasureType["Inch"] = "Inch"; + UnitOfMeasureType["Kilogram"] = "Kilogram"; + UnitOfMeasureType["Kilometre"] = "Kilometre"; + UnitOfMeasureType["Litre"] = "Litre"; + UnitOfMeasureType["Meter"] = "Meter"; + UnitOfMeasureType["Mile"] = "Mile"; + UnitOfMeasureType["Other"] = "Other"; + UnitOfMeasureType["Ounce"] = "Ounce"; + UnitOfMeasureType["Pint"] = "Pint"; + UnitOfMeasureType["Pound"] = "Pound"; + UnitOfMeasureType["Quart"] = "Quart"; + UnitOfMeasureType["UkGallon"] = "UKGallon"; + UnitOfMeasureType["UsGallon"] = "USGallon"; + UnitOfMeasureType["Yard"] = "Yard"; +})(UnitOfMeasureType = exports.UnitOfMeasureType || (exports.UnitOfMeasureType = {})); +var ForceEntryModeType; +(function (ForceEntryModeType) { + ForceEntryModeType["CheckReader"] = "CheckReader"; + ForceEntryModeType["Contactless"] = "Contactless"; + ForceEntryModeType["File"] = "File"; + ForceEntryModeType["Icc"] = "ICC"; + ForceEntryModeType["Keyed"] = "Keyed"; + ForceEntryModeType["MagStripe"] = "MagStripe"; + ForceEntryModeType["Manual"] = "Manual"; + ForceEntryModeType["Rfid"] = "RFID"; + ForceEntryModeType["Scanned"] = "Scanned"; + ForceEntryModeType["SynchronousIcc"] = "SynchronousICC"; + ForceEntryModeType["Tapped"] = "Tapped"; +})(ForceEntryModeType = exports.ForceEntryModeType || (exports.ForceEntryModeType = {})); +var LoyaltyHandlingType; +(function (LoyaltyHandlingType) { + LoyaltyHandlingType["Allowed"] = "Allowed"; + LoyaltyHandlingType["Forbidden"] = "Forbidden"; + LoyaltyHandlingType["Processed"] = "Processed"; + LoyaltyHandlingType["Proposed"] = "Proposed"; + LoyaltyHandlingType["Required"] = "Required"; +})(LoyaltyHandlingType = exports.LoyaltyHandlingType || (exports.LoyaltyHandlingType = {})); +var CustomerOrderReqType; +(function (CustomerOrderReqType) { + CustomerOrderReqType["Both"] = "Both"; + CustomerOrderReqType["Closed"] = "Closed"; + CustomerOrderReqType["Open"] = "Open"; +})(CustomerOrderReqType = exports.CustomerOrderReqType || (exports.CustomerOrderReqType = {})); +var SaleCapabilitiesType; +(function (SaleCapabilitiesType) { + SaleCapabilitiesType["CashierDisplay"] = "CashierDisplay"; + SaleCapabilitiesType["CashierError"] = "CashierError"; + SaleCapabilitiesType["CashierInput"] = "CashierInput"; + SaleCapabilitiesType["CashierStatus"] = "CashierStatus"; + SaleCapabilitiesType["CustomerAssistance"] = "CustomerAssistance"; + SaleCapabilitiesType["CustomerDisplay"] = "CustomerDisplay"; + SaleCapabilitiesType["CustomerError"] = "CustomerError"; + SaleCapabilitiesType["CustomerInput"] = "CustomerInput"; + SaleCapabilitiesType["EmvContactless"] = "EMVContactless"; + SaleCapabilitiesType["Icc"] = "ICC"; + SaleCapabilitiesType["MagStripe"] = "MagStripe"; + SaleCapabilitiesType["PoiReplication"] = "POIReplication"; + SaleCapabilitiesType["PrinterDocument"] = "PrinterDocument"; + SaleCapabilitiesType["PrinterReceipt"] = "PrinterReceipt"; + SaleCapabilitiesType["PrinterVoucher"] = "PrinterVoucher"; +})(SaleCapabilitiesType = exports.SaleCapabilitiesType || (exports.SaleCapabilitiesType = {})); +var GenericProfileType; +(function (GenericProfileType) { + GenericProfileType["Basic"] = "Basic"; + GenericProfileType["Extended"] = "Extended"; + GenericProfileType["Standard"] = "Standard"; +})(GenericProfileType = exports.GenericProfileType || (exports.GenericProfileType = {})); +var ServiceProfilesType; +(function (ServiceProfilesType) { + ServiceProfilesType["Batch"] = "Batch"; + ServiceProfilesType["CardReader"] = "CardReader"; + ServiceProfilesType["Communication"] = "Communication"; + ServiceProfilesType["Loyalty"] = "Loyalty"; + ServiceProfilesType["OneTimeRes"] = "OneTimeRes"; + ServiceProfilesType["Pin"] = "PIN"; + ServiceProfilesType["Reservation"] = "Reservation"; + ServiceProfilesType["Sound"] = "Sound"; + ServiceProfilesType["StoredValue"] = "StoredValue"; + ServiceProfilesType["Synchro"] = "Synchro"; +})(ServiceProfilesType = exports.ServiceProfilesType || (exports.ServiceProfilesType = {})); +var TerminalEnvironmentType; +(function (TerminalEnvironmentType) { + TerminalEnvironmentType["Attended"] = "Attended"; + TerminalEnvironmentType["SemiAttended"] = "SemiAttended"; + TerminalEnvironmentType["Unattended"] = "Unattended"; +})(TerminalEnvironmentType = exports.TerminalEnvironmentType || (exports.TerminalEnvironmentType = {})); +var InstalmentType; +(function (InstalmentType) { + InstalmentType["DeferredInstalments"] = "DeferredInstalments"; + InstalmentType["EqualInstalments"] = "EqualInstalments"; + InstalmentType["InequalInstalments"] = "InequalInstalments"; +})(InstalmentType = exports.InstalmentType || (exports.InstalmentType = {})); +var PeriodUnitType; +(function (PeriodUnitType) { + PeriodUnitType["Annual"] = "Annual"; + PeriodUnitType["Daily"] = "Daily"; + PeriodUnitType["Monthly"] = "Monthly"; + PeriodUnitType["Weekly"] = "Weekly"; +})(PeriodUnitType = exports.PeriodUnitType || (exports.PeriodUnitType = {})); +var PaymentType; +(function (PaymentType) { + PaymentType["CashAdvance"] = "CashAdvance"; + PaymentType["CashDeposit"] = "CashDeposit"; + PaymentType["Completion"] = "Completion"; + PaymentType["FirstReservation"] = "FirstReservation"; + PaymentType["Instalment"] = "Instalment"; + PaymentType["IssuerInstalment"] = "IssuerInstalment"; + PaymentType["Normal"] = "Normal"; + PaymentType["OneTimeReservation"] = "OneTimeReservation"; + PaymentType["PaidOut"] = "PaidOut"; + PaymentType["Recurring"] = "Recurring"; + PaymentType["Refund"] = "Refund"; + PaymentType["UpdateReservation"] = "UpdateReservation"; +})(PaymentType = exports.PaymentType || (exports.PaymentType = {})); +var ReversalReasonType; +(function (ReversalReasonType) { + ReversalReasonType["CustCancel"] = "CustCancel"; + ReversalReasonType["Malfunction"] = "Malfunction"; + ReversalReasonType["MerchantCancel"] = "MerchantCancel"; + ReversalReasonType["Unable2Compl"] = "Unable2Compl"; +})(ReversalReasonType = exports.ReversalReasonType || (exports.ReversalReasonType = {})); +var ServicesEnabledType; +(function (ServicesEnabledType) { + ServicesEnabledType["CardAcquisition"] = "CardAcquisition"; + ServicesEnabledType["Loyalty"] = "Loyalty"; + ServicesEnabledType["Payment"] = "Payment"; +})(ServicesEnabledType = exports.ServicesEnabledType || (exports.ServicesEnabledType = {})); +var TransactionActionType; +(function (TransactionActionType) { + TransactionActionType["AbortTransaction"] = "AbortTransaction"; + TransactionActionType["StartTransaction"] = "StartTransaction"; +})(TransactionActionType = exports.TransactionActionType || (exports.TransactionActionType = {})); +var EventToNotifyType; +(function (EventToNotifyType) { + EventToNotifyType["Abort"] = "Abort"; + EventToNotifyType["BeginMaintenance"] = "BeginMaintenance"; + EventToNotifyType["CardInserted"] = "CardInserted"; + EventToNotifyType["CardRemoved"] = "CardRemoved"; + EventToNotifyType["Completed"] = "Completed"; + EventToNotifyType["CustomerLanguage"] = "CustomerLanguage"; + EventToNotifyType["EndMaintenance"] = "EndMaintenance"; + EventToNotifyType["Initialised"] = "Initialised"; + EventToNotifyType["KeyPressed"] = "KeyPressed"; + EventToNotifyType["OutOfOrder"] = "OutOfOrder"; + EventToNotifyType["Reject"] = "Reject"; + EventToNotifyType["SaleAdmin"] = "SaleAdmin"; + EventToNotifyType["SaleWakeUp"] = "SaleWakeUp"; + EventToNotifyType["SecurityAlarm"] = "SecurityAlarm"; + EventToNotifyType["Shutdown"] = "Shutdown"; + EventToNotifyType["StopAssistance"] = "StopAssistance"; +})(EventToNotifyType = exports.EventToNotifyType || (exports.EventToNotifyType = {})); +var TotalDetailsType; +(function (TotalDetailsType) { + TotalDetailsType["OperatorId"] = "OperatorID"; + TotalDetailsType["Poiid"] = "POIID"; + TotalDetailsType["SaleId"] = "SaleID"; + TotalDetailsType["ShiftNumber"] = "ShiftNumber"; + TotalDetailsType["TotalsGroupId"] = "TotalsGroupID"; +})(TotalDetailsType = exports.TotalDetailsType || (exports.TotalDetailsType = {})); +var InputCommandType; +(function (InputCommandType) { + InputCommandType["DecimalString"] = "DecimalString"; + InputCommandType["DigitString"] = "DigitString"; + InputCommandType["GetAnyKey"] = "GetAnyKey"; + InputCommandType["GetConfirmation"] = "GetConfirmation"; + InputCommandType["GetFunctionKey"] = "GetFunctionKey"; + InputCommandType["GetMenuEntry"] = "GetMenuEntry"; + InputCommandType["Password"] = "Password"; + InputCommandType["SiteManager"] = "SiteManager"; + InputCommandType["TextString"] = "TextString"; +})(InputCommandType = exports.InputCommandType || (exports.InputCommandType = {})); +var MessageClassType; +(function (MessageClassType) { + MessageClassType["Device"] = "Device"; + MessageClassType["Event"] = "Event"; + MessageClassType["Service"] = "Service"; +})(MessageClassType = exports.MessageClassType || (exports.MessageClassType = {})); +var MessageType; +(function (MessageType) { + MessageType["Notification"] = "Notification"; + MessageType["Request"] = "Request"; + MessageType["Response"] = "Response"; +})(MessageType = exports.MessageType || (exports.MessageType = {})); +var PinFormatType; +(function (PinFormatType) { + PinFormatType["Iso0"] = "ISO0"; + PinFormatType["Iso1"] = "ISO1"; + PinFormatType["Iso2"] = "ISO2"; + PinFormatType["Iso3"] = "ISO3"; +})(PinFormatType = exports.PinFormatType || (exports.PinFormatType = {})); +var PinRequestType; +(function (PinRequestType) { + PinRequestType["PinEnter"] = "PINEnter"; + PinRequestType["PinVerify"] = "PINVerify"; + PinRequestType["PinVerifyOnly"] = "PINVerifyOnly"; +})(PinRequestType = exports.PinRequestType || (exports.PinRequestType = {})); +var DocumentQualifierType; +(function (DocumentQualifierType) { + DocumentQualifierType["CashierReceipt"] = "CashierReceipt"; + DocumentQualifierType["CustomerReceipt"] = "CustomerReceipt"; + DocumentQualifierType["Document"] = "Document"; + DocumentQualifierType["Journal"] = "Journal"; + DocumentQualifierType["SaleReceipt"] = "SaleReceipt"; + DocumentQualifierType["Voucher"] = "Voucher"; +})(DocumentQualifierType = exports.DocumentQualifierType || (exports.DocumentQualifierType = {})); +var ResponseModeType; +(function (ResponseModeType) { + ResponseModeType["Immediate"] = "Immediate"; + ResponseModeType["NotRequired"] = "NotRequired"; + ResponseModeType["PrintEnd"] = "PrintEnd"; + ResponseModeType["SoundEnd"] = "SoundEnd"; +})(ResponseModeType = exports.ResponseModeType || (exports.ResponseModeType = {})); +var ReconciliationType; +(function (ReconciliationType) { + ReconciliationType["AcquirerReconciliation"] = "AcquirerReconciliation"; + ReconciliationType["AcquirerSynchronisation"] = "AcquirerSynchronisation"; + ReconciliationType["PreviousReconciliation"] = "PreviousReconciliation"; + ReconciliationType["SaleReconciliation"] = "SaleReconciliation"; +})(ReconciliationType = exports.ReconciliationType || (exports.ReconciliationType = {})); +var SoundActionType; +(function (SoundActionType) { + SoundActionType["SetDefaultVolume"] = "SetDefaultVolume"; + SoundActionType["StartSound"] = "StartSound"; + SoundActionType["StopSound"] = "StopSound"; +})(SoundActionType = exports.SoundActionType || (exports.SoundActionType = {})); +var SoundFormatType; +(function (SoundFormatType) { + SoundFormatType["MessageRef"] = "MessageRef"; + SoundFormatType["SoundRef"] = "SoundRef"; + SoundFormatType["Text"] = "Text"; +})(SoundFormatType = exports.SoundFormatType || (exports.SoundFormatType = {})); +var StoredValueAccountType; +(function (StoredValueAccountType) { + StoredValueAccountType["GiftCard"] = "GiftCard"; + StoredValueAccountType["Other"] = "Other"; + StoredValueAccountType["PhoneCard"] = "PhoneCard"; +})(StoredValueAccountType = exports.StoredValueAccountType || (exports.StoredValueAccountType = {})); +var StoredValueTransactionType; +(function (StoredValueTransactionType) { + StoredValueTransactionType["Activate"] = "Activate"; + StoredValueTransactionType["Duplicate"] = "Duplicate"; + StoredValueTransactionType["Load"] = "Load"; + StoredValueTransactionType["Reserve"] = "Reserve"; + StoredValueTransactionType["Reverse"] = "Reverse"; + StoredValueTransactionType["Unload"] = "Unload"; +})(StoredValueTransactionType = exports.StoredValueTransactionType || (exports.StoredValueTransactionType = {})); +var ErrorConditionType; +(function (ErrorConditionType) { + ErrorConditionType["Aborted"] = "Aborted"; + ErrorConditionType["Busy"] = "Busy"; + ErrorConditionType["Cancel"] = "Cancel"; + ErrorConditionType["DeviceOut"] = "DeviceOut"; + ErrorConditionType["InProgress"] = "InProgress"; + ErrorConditionType["InsertedCard"] = "InsertedCard"; + ErrorConditionType["InvalidCard"] = "InvalidCard"; + ErrorConditionType["LoggedOut"] = "LoggedOut"; + ErrorConditionType["MessageFormat"] = "MessageFormat"; + ErrorConditionType["NotAllowed"] = "NotAllowed"; + ErrorConditionType["NotFound"] = "NotFound"; + ErrorConditionType["PaymentRestriction"] = "PaymentRestriction"; + ErrorConditionType["Refusal"] = "Refusal"; + ErrorConditionType["UnavailableDevice"] = "UnavailableDevice"; + ErrorConditionType["UnavailableService"] = "UnavailableService"; + ErrorConditionType["UnreachableHost"] = "UnreachableHost"; + ErrorConditionType["WrongPin"] = "WrongPIN"; +})(ErrorConditionType = exports.ErrorConditionType || (exports.ErrorConditionType = {})); +var ResultType; +(function (ResultType) { + ResultType["Failure"] = "Failure"; + ResultType["Partial"] = "Partial"; + ResultType["Success"] = "Success"; +})(ResultType = exports.ResultType || (exports.ResultType = {})); +var AuthenticationMethodType; +(function (AuthenticationMethodType) { + AuthenticationMethodType["Bypass"] = "Bypass"; + AuthenticationMethodType["ManualVerification"] = "ManualVerification"; + AuthenticationMethodType["MerchantAuthentication"] = "MerchantAuthentication"; + AuthenticationMethodType["OfflinePin"] = "OfflinePIN"; + AuthenticationMethodType["OnLinePin"] = "OnLinePIN"; + AuthenticationMethodType["PaperSignature"] = "PaperSignature"; + AuthenticationMethodType["SecureCertificate"] = "SecureCertificate"; + AuthenticationMethodType["SecureNoCertificate"] = "SecureNoCertificate"; + AuthenticationMethodType["SecuredChannel"] = "SecuredChannel"; + AuthenticationMethodType["SignatureCapture"] = "SignatureCapture"; + AuthenticationMethodType["UnknownMethod"] = "UnknownMethod"; +})(AuthenticationMethodType = exports.AuthenticationMethodType || (exports.AuthenticationMethodType = {})); +var GlobalStatusType; +(function (GlobalStatusType) { + GlobalStatusType["Busy"] = "Busy"; + GlobalStatusType["Maintenance"] = "Maintenance"; + GlobalStatusType["Ok"] = "OK"; + GlobalStatusType["Unreachable"] = "Unreachable"; +})(GlobalStatusType = exports.GlobalStatusType || (exports.GlobalStatusType = {})); +var PrinterStatusType; +(function (PrinterStatusType) { + PrinterStatusType["NoPaper"] = "NoPaper"; + PrinterStatusType["Ok"] = "OK"; + PrinterStatusType["OutOfOrder"] = "OutOfOrder"; + PrinterStatusType["PaperJam"] = "PaperJam"; + PrinterStatusType["PaperLow"] = "PaperLow"; +})(PrinterStatusType = exports.PrinterStatusType || (exports.PrinterStatusType = {})); +var TransactionType; +(function (TransactionType) { + TransactionType["Award"] = "Award"; + TransactionType["CashAdvance"] = "CashAdvance"; + TransactionType["CompletedDeffered"] = "CompletedDeffered"; + TransactionType["CompletedReservation"] = "CompletedReservation"; + TransactionType["Credit"] = "Credit"; + TransactionType["Debit"] = "Debit"; + TransactionType["Declined"] = "Declined"; + TransactionType["Failed"] = "Failed"; + TransactionType["FirstReservation"] = "FirstReservation"; + TransactionType["IssuerInstalment"] = "IssuerInstalment"; + TransactionType["OneTimeReservation"] = "OneTimeReservation"; + TransactionType["Rebate"] = "Rebate"; + TransactionType["Redemption"] = "Redemption"; + TransactionType["ReverseAward"] = "ReverseAward"; + TransactionType["ReverseCredit"] = "ReverseCredit"; + TransactionType["ReverseDebit"] = "ReverseDebit"; + TransactionType["ReverseRebate"] = "ReverseRebate"; + TransactionType["ReverseRedemption"] = "ReverseRedemption"; + TransactionType["UpdateReservation"] = "UpdateReservation"; +})(TransactionType = exports.TransactionType || (exports.TransactionType = {})); +var PoiCapabilitiesType; +(function (PoiCapabilitiesType) { + PoiCapabilitiesType["CashHandling"] = "CashHandling"; + PoiCapabilitiesType["CashierDisplay"] = "CashierDisplay"; + PoiCapabilitiesType["CashierError"] = "CashierError"; + PoiCapabilitiesType["CashierInput"] = "CashierInput"; + PoiCapabilitiesType["CustomerDisplay"] = "CustomerDisplay"; + PoiCapabilitiesType["CustomerError"] = "CustomerError"; + PoiCapabilitiesType["CustomerInput"] = "CustomerInput"; + PoiCapabilitiesType["EmvContactless"] = "EMVContactless"; + PoiCapabilitiesType["Icc"] = "ICC"; + PoiCapabilitiesType["MagStripe"] = "MagStripe"; + PoiCapabilitiesType["PrinterDocument"] = "PrinterDocument"; + PoiCapabilitiesType["PrinterReceipt"] = "PrinterReceipt"; + PoiCapabilitiesType["PrinterVoucher"] = "PrinterVoucher"; +})(PoiCapabilitiesType = exports.PoiCapabilitiesType || (exports.PoiCapabilitiesType = {})); +// Converts JSON strings to/from your types +// and asserts the results of JSON.parse at runtime +var Convert = /** @class */ (function () { + function Convert() { + } + Convert.toTerminalApiRequest = function (json) { + return cast(JSON.parse(json), r("TerminalApiRequest")); + }; + Convert.terminalApiRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("TerminalApiRequest")), null, 2); + }; + Convert.toTerminalApiResponse = function (json) { + return cast(JSON.parse(json), r("TerminalApiResponse")); + }; + Convert.terminalApiResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("TerminalApiResponse")), null, 2); + }; + Convert.toTerminalApiSecuredRequest = function (json) { + return cast(JSON.parse(json), r("TerminalApiSecuredRequest")); + }; + Convert.terminalApiSecuredRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("TerminalApiSecuredRequest")), null, 2); + }; + Convert.toTerminalApiSecuredResponse = function (json) { + return cast(JSON.parse(json), r("TerminalApiSecuredResponse")); + }; + Convert.terminalApiSecuredResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("TerminalApiSecuredResponse")), null, 2); + }; + Convert.toNexoDerivedKey = function (json) { + return cast(JSON.parse(json), r("NexoDerivedKey")); + }; + Convert.nexoDerivedKeyToJson = function (value) { + return JSON.stringify(uncast(value, r("NexoDerivedKey")), null, 2); + }; + Convert.toSaleToPoiSecuredMessage = function (json) { + return cast(JSON.parse(json), r("SaleToPoiSecuredMessage")); + }; + Convert.saleToPoiSecuredMessageToJson = function (value) { + return JSON.stringify(uncast(value, r("SaleToPoiSecuredMessage")), null, 2); + }; + Convert.toSecurityKey = function (json) { + return cast(JSON.parse(json), r("SecurityKey")); + }; + Convert.securityKeyToJson = function (value) { + return JSON.stringify(uncast(value, r("SecurityKey")), null, 2); + }; + Convert.toSecurityTrailer = function (json) { + return cast(JSON.parse(json), r("SecurityTrailer")); + }; + Convert.securityTrailerToJson = function (value) { + return JSON.stringify(uncast(value, r("SecurityTrailer")), null, 2); + }; + Convert.toSaleToPoiRequest = function (json) { + return cast(JSON.parse(json), r("SaleToPoiRequest")); + }; + Convert.saleToPoiRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("SaleToPoiRequest")), null, 2); + }; + Convert.toSaleToPoiResponse = function (json) { + return cast(JSON.parse(json), r("SaleToPoiResponse")); + }; + Convert.saleToPoiResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("SaleToPoiResponse")), null, 2); + }; + Convert.toMessageHeader = function (json) { + return cast(JSON.parse(json), r("MessageHeader")); + }; + Convert.messageHeaderToJson = function (value) { + return JSON.stringify(uncast(value, r("MessageHeader")), null, 2); + }; + Convert.toAbortRequest = function (json) { + return cast(JSON.parse(json), r("AbortRequest")); + }; + Convert.abortRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("AbortRequest")), null, 2); + }; + Convert.toBalanceInquiryRequest = function (json) { + return cast(JSON.parse(json), r("BalanceInquiryRequest")); + }; + Convert.balanceInquiryRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("BalanceInquiryRequest")), null, 2); + }; + Convert.toBatchRequest = function (json) { + return cast(JSON.parse(json), r("BatchRequest")); + }; + Convert.batchRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("BatchRequest")), null, 2); + }; + Convert.toCardAcquisitionRequest = function (json) { + return cast(JSON.parse(json), r("CardAcquisitionRequest")); + }; + Convert.cardAcquisitionRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("CardAcquisitionRequest")), null, 2); + }; + Convert.toAdminRequest = function (json) { + return cast(JSON.parse(json), r("AdminRequest")); + }; + Convert.adminRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("AdminRequest")), null, 2); + }; + Convert.toDiagnosisRequest = function (json) { + return cast(JSON.parse(json), r("DiagnosisRequest")); + }; + Convert.diagnosisRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("DiagnosisRequest")), null, 2); + }; + Convert.toDisplayRequest = function (json) { + return cast(JSON.parse(json), r("DisplayRequest")); + }; + Convert.displayRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("DisplayRequest")), null, 2); + }; + Convert.toEnableServiceRequest = function (json) { + return cast(JSON.parse(json), r("EnableServiceRequest")); + }; + Convert.enableServiceRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("EnableServiceRequest")), null, 2); + }; + Convert.toEventNotification = function (json) { + return cast(JSON.parse(json), r("EventNotification")); + }; + Convert.eventNotificationToJson = function (value) { + return JSON.stringify(uncast(value, r("EventNotification")), null, 2); + }; + Convert.toGetTotalsRequest = function (json) { + return cast(JSON.parse(json), r("GetTotalsRequest")); + }; + Convert.getTotalsRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("GetTotalsRequest")), null, 2); + }; + Convert.toInputRequest = function (json) { + return cast(JSON.parse(json), r("InputRequest")); + }; + Convert.inputRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("InputRequest")), null, 2); + }; + Convert.toInputUpdate = function (json) { + return cast(JSON.parse(json), r("InputUpdate")); + }; + Convert.inputUpdateToJson = function (value) { + return JSON.stringify(uncast(value, r("InputUpdate")), null, 2); + }; + Convert.toLoginRequest = function (json) { + return cast(JSON.parse(json), r("LoginRequest")); + }; + Convert.loginRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("LoginRequest")), null, 2); + }; + Convert.toLogoutRequest = function (json) { + return cast(JSON.parse(json), r("LogoutRequest")); + }; + Convert.logoutRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("LogoutRequest")), null, 2); + }; + Convert.toLoyaltyRequest = function (json) { + return cast(JSON.parse(json), r("LoyaltyRequest")); + }; + Convert.loyaltyRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyRequest")), null, 2); + }; + Convert.toPaymentRequest = function (json) { + return cast(JSON.parse(json), r("PaymentRequest")); + }; + Convert.paymentRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentRequest")), null, 2); + }; + Convert.toPinRequest = function (json) { + return cast(JSON.parse(json), r("PinRequest")); + }; + Convert.pinRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("PinRequest")), null, 2); + }; + Convert.toPrintRequest = function (json) { + return cast(JSON.parse(json), r("PrintRequest")); + }; + Convert.printRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("PrintRequest")), null, 2); + }; + Convert.toCardReaderInitRequest = function (json) { + return cast(JSON.parse(json), r("CardReaderInitRequest")); + }; + Convert.cardReaderInitRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("CardReaderInitRequest")), null, 2); + }; + Convert.toCardReaderApduRequest = function (json) { + return cast(JSON.parse(json), r("CardReaderApduRequest")); + }; + Convert.cardReaderApduRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("CardReaderApduRequest")), null, 2); + }; + Convert.toCardReaderPowerOffRequest = function (json) { + return cast(JSON.parse(json), r("CardReaderPowerOffRequest")); + }; + Convert.cardReaderPowerOffRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("CardReaderPowerOffRequest")), null, 2); + }; + Convert.toReconciliationRequest = function (json) { + return cast(JSON.parse(json), r("ReconciliationRequest")); + }; + Convert.reconciliationRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("ReconciliationRequest")), null, 2); + }; + Convert.toReversalRequest = function (json) { + return cast(JSON.parse(json), r("ReversalRequest")); + }; + Convert.reversalRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("ReversalRequest")), null, 2); + }; + Convert.toSoundRequest = function (json) { + return cast(JSON.parse(json), r("SoundRequest")); + }; + Convert.soundRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("SoundRequest")), null, 2); + }; + Convert.toStoredValueRequest = function (json) { + return cast(JSON.parse(json), r("StoredValueRequest")); + }; + Convert.storedValueRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("StoredValueRequest")), null, 2); + }; + Convert.toTransactionStatusRequest = function (json) { + return cast(JSON.parse(json), r("TransactionStatusRequest")); + }; + Convert.transactionStatusRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("TransactionStatusRequest")), null, 2); + }; + Convert.toTransmitRequest = function (json) { + return cast(JSON.parse(json), r("TransmitRequest")); + }; + Convert.transmitRequestToJson = function (value) { + return JSON.stringify(uncast(value, r("TransmitRequest")), null, 2); + }; + Convert.toContentInformation = function (json) { + return cast(JSON.parse(json), r("ContentInformation")); + }; + Convert.contentInformationToJson = function (value) { + return JSON.stringify(uncast(value, r("ContentInformation")), null, 2); + }; + Convert.toBalanceInquiryResponse = function (json) { + return cast(JSON.parse(json), r("BalanceInquiryResponse")); + }; + Convert.balanceInquiryResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("BalanceInquiryResponse")), null, 2); + }; + Convert.toBatchResponse = function (json) { + return cast(JSON.parse(json), r("BatchResponse")); + }; + Convert.batchResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("BatchResponse")), null, 2); + }; + Convert.toCardAcquisitionResponse = function (json) { + return cast(JSON.parse(json), r("CardAcquisitionResponse")); + }; + Convert.cardAcquisitionResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("CardAcquisitionResponse")), null, 2); + }; + Convert.toAdminResponse = function (json) { + return cast(JSON.parse(json), r("AdminResponse")); + }; + Convert.adminResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("AdminResponse")), null, 2); + }; + Convert.toDiagnosisResponse = function (json) { + return cast(JSON.parse(json), r("DiagnosisResponse")); + }; + Convert.diagnosisResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("DiagnosisResponse")), null, 2); + }; + Convert.toDisplayResponse = function (json) { + return cast(JSON.parse(json), r("DisplayResponse")); + }; + Convert.displayResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("DisplayResponse")), null, 2); + }; + Convert.toEnableServiceResponse = function (json) { + return cast(JSON.parse(json), r("EnableServiceResponse")); + }; + Convert.enableServiceResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("EnableServiceResponse")), null, 2); + }; + Convert.toGetTotalsResponse = function (json) { + return cast(JSON.parse(json), r("GetTotalsResponse")); + }; + Convert.getTotalsResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("GetTotalsResponse")), null, 2); + }; + Convert.toInputResponse = function (json) { + return cast(JSON.parse(json), r("InputResponse")); + }; + Convert.inputResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("InputResponse")), null, 2); + }; + Convert.toLoginResponse = function (json) { + return cast(JSON.parse(json), r("LoginResponse")); + }; + Convert.loginResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("LoginResponse")), null, 2); + }; + Convert.toLogoutResponse = function (json) { + return cast(JSON.parse(json), r("LogoutResponse")); + }; + Convert.logoutResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("LogoutResponse")), null, 2); + }; + Convert.toLoyaltyResponse = function (json) { + return cast(JSON.parse(json), r("LoyaltyResponse")); + }; + Convert.loyaltyResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyResponse")), null, 2); + }; + Convert.toPaymentResponse = function (json) { + return cast(JSON.parse(json), r("PaymentResponse")); + }; + Convert.paymentResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentResponse")), null, 2); + }; + Convert.toPinResponse = function (json) { + return cast(JSON.parse(json), r("PinResponse")); + }; + Convert.pinResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("PinResponse")), null, 2); + }; + Convert.toPrintResponse = function (json) { + return cast(JSON.parse(json), r("PrintResponse")); + }; + Convert.printResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("PrintResponse")), null, 2); + }; + Convert.toCardReaderInitResponse = function (json) { + return cast(JSON.parse(json), r("CardReaderInitResponse")); + }; + Convert.cardReaderInitResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("CardReaderInitResponse")), null, 2); + }; + Convert.toCardReaderApduResponse = function (json) { + return cast(JSON.parse(json), r("CardReaderApduResponse")); + }; + Convert.cardReaderApduResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("CardReaderApduResponse")), null, 2); + }; + Convert.toCardReaderPowerOffResponse = function (json) { + return cast(JSON.parse(json), r("CardReaderPowerOffResponse")); + }; + Convert.cardReaderPowerOffResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("CardReaderPowerOffResponse")), null, 2); + }; + Convert.toReconciliationResponse = function (json) { + return cast(JSON.parse(json), r("ReconciliationResponse")); + }; + Convert.reconciliationResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("ReconciliationResponse")), null, 2); + }; + Convert.toReversalResponse = function (json) { + return cast(JSON.parse(json), r("ReversalResponse")); + }; + Convert.reversalResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("ReversalResponse")), null, 2); + }; + Convert.toSoundResponse = function (json) { + return cast(JSON.parse(json), r("SoundResponse")); + }; + Convert.soundResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("SoundResponse")), null, 2); + }; + Convert.toStoredValueResponse = function (json) { + return cast(JSON.parse(json), r("StoredValueResponse")); + }; + Convert.storedValueResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("StoredValueResponse")), null, 2); + }; + Convert.toTransactionStatusResponse = function (json) { + return cast(JSON.parse(json), r("TransactionStatusResponse")); + }; + Convert.transactionStatusResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("TransactionStatusResponse")), null, 2); + }; + Convert.toTransmitResponse = function (json) { + return cast(JSON.parse(json), r("TransmitResponse")); + }; + Convert.transmitResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("TransmitResponse")), null, 2); + }; + Convert.toMessageReference = function (json) { + return cast(JSON.parse(json), r("MessageReference")); + }; + Convert.messageReferenceToJson = function (value) { + return JSON.stringify(uncast(value, r("MessageReference")), null, 2); + }; + Convert.toDisplayOutput = function (json) { + return cast(JSON.parse(json), r("DisplayOutput")); + }; + Convert.displayOutputToJson = function (value) { + return JSON.stringify(uncast(value, r("DisplayOutput")), null, 2); + }; + Convert.toPaymentAccountReq = function (json) { + return cast(JSON.parse(json), r("PaymentAccountReq")); + }; + Convert.paymentAccountReqToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentAccountReq")), null, 2); + }; + Convert.toLoyaltyAccountReq = function (json) { + return cast(JSON.parse(json), r("LoyaltyAccountReq")); + }; + Convert.loyaltyAccountReqToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyAccountReq")), null, 2); + }; + Convert.toTransactionToPerform = function (json) { + return cast(JSON.parse(json), r("TransactionToPerform")); + }; + Convert.transactionToPerformToJson = function (value) { + return JSON.stringify(uncast(value, r("TransactionToPerform")), null, 2); + }; + Convert.toSaleData = function (json) { + return cast(JSON.parse(json), r("SaleData")); + }; + Convert.saleDataToJson = function (value) { + return JSON.stringify(uncast(value, r("SaleData")), null, 2); + }; + Convert.toCardAcquisitionTransaction = function (json) { + return cast(JSON.parse(json), r("CardAcquisitionTransaction")); + }; + Convert.cardAcquisitionTransactionToJson = function (value) { + return JSON.stringify(uncast(value, r("CardAcquisitionTransaction")), null, 2); + }; + Convert.toXmlGregorianCalendar = function (json) { + return cast(JSON.parse(json), m("any")); + }; + Convert.xmlGregorianCalendarToJson = function (value) { + return JSON.stringify(uncast(value, m("any")), null, 2); + }; + Convert.toTotalFilter = function (json) { + return cast(JSON.parse(json), r("TotalFilter")); + }; + Convert.totalFilterToJson = function (value) { + return JSON.stringify(uncast(value, r("TotalFilter")), null, 2); + }; + Convert.toInputData = function (json) { + return cast(JSON.parse(json), r("InputData")); + }; + Convert.inputDataToJson = function (value) { + return JSON.stringify(uncast(value, r("InputData")), null, 2); + }; + Convert.toOutputContent = function (json) { + return cast(JSON.parse(json), r("OutputContent")); + }; + Convert.outputContentToJson = function (value) { + return JSON.stringify(uncast(value, r("OutputContent")), null, 2); + }; + Convert.toMenuEntry = function (json) { + return cast(JSON.parse(json), r("MenuEntry")); + }; + Convert.menuEntryToJson = function (value) { + return JSON.stringify(uncast(value, r("MenuEntry")), null, 2); + }; + Convert.toSaleSoftware = function (json) { + return cast(JSON.parse(json), r("SaleSoftware")); + }; + Convert.saleSoftwareToJson = function (value) { + return JSON.stringify(uncast(value, r("SaleSoftware")), null, 2); + }; + Convert.toSaleTerminalData = function (json) { + return cast(JSON.parse(json), r("SaleTerminalData")); + }; + Convert.saleTerminalDataToJson = function (value) { + return JSON.stringify(uncast(value, r("SaleTerminalData")), null, 2); + }; + Convert.toLoyaltyTransaction = function (json) { + return cast(JSON.parse(json), r("LoyaltyTransaction")); + }; + Convert.loyaltyTransactionToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyTransaction")), null, 2); + }; + Convert.toLoyaltyData = function (json) { + return cast(JSON.parse(json), r("LoyaltyData")); + }; + Convert.loyaltyDataToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyData")), null, 2); + }; + Convert.toPaymentTransaction = function (json) { + return cast(JSON.parse(json), r("PaymentTransaction")); + }; + Convert.paymentTransactionToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentTransaction")), null, 2); + }; + Convert.toPaymentData = function (json) { + return cast(JSON.parse(json), r("PaymentData")); + }; + Convert.paymentDataToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentData")), null, 2); + }; + Convert.toCardholderPin = function (json) { + return cast(JSON.parse(json), r("CardholderPin")); + }; + Convert.cardholderPinToJson = function (value) { + return JSON.stringify(uncast(value, r("CardholderPin")), null, 2); + }; + Convert.toPrintOutput = function (json) { + return cast(JSON.parse(json), r("PrintOutput")); + }; + Convert.printOutputToJson = function (value) { + return JSON.stringify(uncast(value, r("PrintOutput")), null, 2); + }; + Convert.toOriginalPoiTransaction = function (json) { + return cast(JSON.parse(json), r("OriginalPoiTransaction")); + }; + Convert.originalPoiTransactionToJson = function (value) { + return JSON.stringify(uncast(value, r("OriginalPoiTransaction")), null, 2); + }; + Convert.toCustomerOrder = function (json) { + return cast(JSON.parse(json), r("CustomerOrder")); + }; + Convert.customerOrderToJson = function (value) { + return JSON.stringify(uncast(value, r("CustomerOrder")), null, 2); + }; + Convert.toSoundContent = function (json) { + return cast(JSON.parse(json), r("SoundContent")); + }; + Convert.soundContentToJson = function (value) { + return JSON.stringify(uncast(value, r("SoundContent")), null, 2); + }; + Convert.toStoredValueData = function (json) { + return cast(JSON.parse(json), r("StoredValueData")); + }; + Convert.storedValueDataToJson = function (value) { + return JSON.stringify(uncast(value, r("StoredValueData")), null, 2); + }; + Convert.toEnvelopedData = function (json) { + return cast(JSON.parse(json), r("EnvelopedData")); + }; + Convert.envelopedDataToJson = function (value) { + return JSON.stringify(uncast(value, r("EnvelopedData")), null, 2); + }; + Convert.toAuthenticatedData = function (json) { + return cast(JSON.parse(json), r("AuthenticatedData")); + }; + Convert.authenticatedDataToJson = function (value) { + return JSON.stringify(uncast(value, r("AuthenticatedData")), null, 2); + }; + Convert.toSignedData = function (json) { + return cast(JSON.parse(json), r("SignedData")); + }; + Convert.signedDataToJson = function (value) { + return JSON.stringify(uncast(value, r("SignedData")), null, 2); + }; + Convert.toDigestedData = function (json) { + return cast(JSON.parse(json), r("DigestedData")); + }; + Convert.digestedDataToJson = function (value) { + return JSON.stringify(uncast(value, r("DigestedData")), null, 2); + }; + Convert.toNamedKeyEncryptedData = function (json) { + return cast(JSON.parse(json), r("NamedKeyEncryptedData")); + }; + Convert.namedKeyEncryptedDataToJson = function (value) { + return JSON.stringify(uncast(value, r("NamedKeyEncryptedData")), null, 2); + }; + Convert.toResponse = function (json) { + return cast(JSON.parse(json), r("Response")); + }; + Convert.responseToJson = function (value) { + return JSON.stringify(uncast(value, r("Response")), null, 2); + }; + Convert.toPaymentAccountStatus = function (json) { + return cast(JSON.parse(json), r("PaymentAccountStatus")); + }; + Convert.paymentAccountStatusToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentAccountStatus")), null, 2); + }; + Convert.toLoyaltyAccountStatus = function (json) { + return cast(JSON.parse(json), r("LoyaltyAccountStatus")); + }; + Convert.loyaltyAccountStatusToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyAccountStatus")), null, 2); + }; + Convert.toPerformedTransaction = function (json) { + return cast(JSON.parse(json), r("PerformedTransaction")); + }; + Convert.performedTransactionToJson = function (value) { + return JSON.stringify(uncast(value, r("PerformedTransaction")), null, 2); + }; + Convert.toPoiData = function (json) { + return cast(JSON.parse(json), r("PoiData")); + }; + Convert.poiDataToJson = function (value) { + return JSON.stringify(uncast(value, r("PoiData")), null, 2); + }; + Convert.toPaymentInstrumentData = function (json) { + return cast(JSON.parse(json), r("PaymentInstrumentData")); + }; + Convert.paymentInstrumentDataToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentInstrumentData")), null, 2); + }; + Convert.toLoyaltyAccount = function (json) { + return cast(JSON.parse(json), r("LoyaltyAccount")); + }; + Convert.loyaltyAccountToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyAccount")), null, 2); + }; + Convert.toPoiStatus = function (json) { + return cast(JSON.parse(json), r("PoiStatus")); + }; + Convert.poiStatusToJson = function (value) { + return JSON.stringify(uncast(value, r("PoiStatus")), null, 2); + }; + Convert.toHostStatus = function (json) { + return cast(JSON.parse(json), r("HostStatus")); + }; + Convert.hostStatusToJson = function (value) { + return JSON.stringify(uncast(value, r("HostStatus")), null, 2); + }; + Convert.toOutputResult = function (json) { + return cast(JSON.parse(json), r("OutputResult")); + }; + Convert.outputResultToJson = function (value) { + return JSON.stringify(uncast(value, r("OutputResult")), null, 2); + }; + Convert.toTransactionTotals = function (json) { + return cast(JSON.parse(json), r("TransactionTotals")); + }; + Convert.transactionTotalsToJson = function (value) { + return JSON.stringify(uncast(value, r("TransactionTotals")), null, 2); + }; + Convert.toInputResult = function (json) { + return cast(JSON.parse(json), r("InputResult")); + }; + Convert.inputResultToJson = function (value) { + return JSON.stringify(uncast(value, r("InputResult")), null, 2); + }; + Convert.toPoiSystemData = function (json) { + return cast(JSON.parse(json), r("PoiSystemData")); + }; + Convert.poiSystemDataToJson = function (value) { + return JSON.stringify(uncast(value, r("PoiSystemData")), null, 2); + }; + Convert.toLoyaltyResult = function (json) { + return cast(JSON.parse(json), r("LoyaltyResult")); + }; + Convert.loyaltyResultToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyResult")), null, 2); + }; + Convert.toPaymentReceipt = function (json) { + return cast(JSON.parse(json), r("PaymentReceipt")); + }; + Convert.paymentReceiptToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentReceipt")), null, 2); + }; + Convert.toPaymentResult = function (json) { + return cast(JSON.parse(json), r("PaymentResult")); + }; + Convert.paymentResultToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentResult")), null, 2); + }; + Convert.toTrackData = function (json) { + return cast(JSON.parse(json), r("TrackData")); + }; + Convert.trackDataToJson = function (value) { + return JSON.stringify(uncast(value, r("TrackData")), null, 2); + }; + Convert.toIccResetData = function (json) { + return cast(JSON.parse(json), r("IccResetData")); + }; + Convert.iccResetDataToJson = function (value) { + return JSON.stringify(uncast(value, r("IccResetData")), null, 2); + }; + Convert.toStoredValueResult = function (json) { + return cast(JSON.parse(json), r("StoredValueResult")); + }; + Convert.storedValueResultToJson = function (value) { + return JSON.stringify(uncast(value, r("StoredValueResult")), null, 2); + }; + Convert.toRepeatedMessageResponse = function (json) { + return cast(JSON.parse(json), r("RepeatedMessageResponse")); + }; + Convert.repeatedMessageResponseToJson = function (value) { + return JSON.stringify(uncast(value, r("RepeatedMessageResponse")), null, 2); + }; + Convert.toTransactionIdentification = function (json) { + return cast(JSON.parse(json), r("TransactionIdentification")); + }; + Convert.transactionIdentificationToJson = function (value) { + return JSON.stringify(uncast(value, r("TransactionIdentification")), null, 2); + }; + Convert.toLoyaltyAccountId = function (json) { + return cast(JSON.parse(json), r("LoyaltyAccountId")); + }; + Convert.loyaltyAccountIdToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyAccountId")), null, 2); + }; + Convert.toSponsoredMerchant = function (json) { + return cast(JSON.parse(json), r("SponsoredMerchant")); + }; + Convert.sponsoredMerchantToJson = function (value) { + return JSON.stringify(uncast(value, r("SponsoredMerchant")), null, 2); + }; + Convert.toSaleToIssuerData = function (json) { + return cast(JSON.parse(json), r("SaleToIssuerData")); + }; + Convert.saleToIssuerDataToJson = function (value) { + return JSON.stringify(uncast(value, r("SaleToIssuerData")), null, 2); + }; + Convert.toCloneable = function (json) { + return cast(JSON.parse(json), m("any")); + }; + Convert.cloneableToJson = function (value) { + return JSON.stringify(uncast(value, m("any")), null, 2); + }; + Convert.toPredefinedContent = function (json) { + return cast(JSON.parse(json), r("PredefinedContent")); + }; + Convert.predefinedContentToJson = function (value) { + return JSON.stringify(uncast(value, r("PredefinedContent")), null, 2); + }; + Convert.toOutputText = function (json) { + return cast(JSON.parse(json), r("OutputText")); + }; + Convert.outputTextToJson = function (value) { + return JSON.stringify(uncast(value, r("OutputText")), null, 2); + }; + Convert.toOutputBarcode = function (json) { + return cast(JSON.parse(json), r("OutputBarcode")); + }; + Convert.outputBarcodeToJson = function (value) { + return JSON.stringify(uncast(value, r("OutputBarcode")), null, 2); + }; + Convert.toSaleProfile = function (json) { + return cast(JSON.parse(json), r("SaleProfile")); + }; + Convert.saleProfileToJson = function (value) { + return JSON.stringify(uncast(value, r("SaleProfile")), null, 2); + }; + Convert.toTransactionConditions = function (json) { + return cast(JSON.parse(json), r("TransactionConditions")); + }; + Convert.transactionConditionsToJson = function (value) { + return JSON.stringify(uncast(value, r("TransactionConditions")), null, 2); + }; + Convert.toSaleItem = function (json) { + return cast(JSON.parse(json), r("SaleItem")); + }; + Convert.saleItemToJson = function (value) { + return JSON.stringify(uncast(value, r("SaleItem")), null, 2); + }; + Convert.toLoyaltyAmount = function (json) { + return cast(JSON.parse(json), r("LoyaltyAmount")); + }; + Convert.loyaltyAmountToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyAmount")), null, 2); + }; + Convert.toAmountsReq = function (json) { + return cast(JSON.parse(json), r("AmountsReq")); + }; + Convert.amountsReqToJson = function (value) { + return JSON.stringify(uncast(value, r("AmountsReq")), null, 2); + }; + Convert.toInstalment = function (json) { + return cast(JSON.parse(json), r("Instalment")); + }; + Convert.instalmentToJson = function (value) { + return JSON.stringify(uncast(value, r("Instalment")), null, 2); + }; + Convert.toStoredValueAccountId = function (json) { + return cast(JSON.parse(json), r("StoredValueAccountId")); + }; + Convert.storedValueAccountIdToJson = function (value) { + return JSON.stringify(uncast(value, r("StoredValueAccountId")), null, 2); + }; + Convert.toEncryptedContent = function (json) { + return cast(JSON.parse(json), r("EncryptedContent")); + }; + Convert.encryptedContentToJson = function (value) { + return JSON.stringify(uncast(value, r("EncryptedContent")), null, 2); + }; + Convert.toAlgorithmIdentifier = function (json) { + return cast(JSON.parse(json), r("AlgorithmIdentifier")); + }; + Convert.algorithmIdentifierToJson = function (value) { + return JSON.stringify(uncast(value, r("AlgorithmIdentifier")), null, 2); + }; + Convert.toEncapsulatedContent = function (json) { + return cast(JSON.parse(json), r("EncapsulatedContent")); + }; + Convert.encapsulatedContentToJson = function (value) { + return JSON.stringify(uncast(value, r("EncapsulatedContent")), null, 2); + }; + Convert.toSigner = function (json) { + return cast(JSON.parse(json), r("Signer")); + }; + Convert.signerToJson = function (value) { + return JSON.stringify(uncast(value, r("Signer")), null, 2); + }; + Convert.toPaymentAcquirerData = function (json) { + return cast(JSON.parse(json), r("PaymentAcquirerData")); + }; + Convert.paymentAcquirerDataToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentAcquirerData")), null, 2); + }; + Convert.toCardData = function (json) { + return cast(JSON.parse(json), r("CardData")); + }; + Convert.cardDataToJson = function (value) { + return JSON.stringify(uncast(value, r("CardData")), null, 2); + }; + Convert.toCheckData = function (json) { + return cast(JSON.parse(json), r("CheckData")); + }; + Convert.checkDataToJson = function (value) { + return JSON.stringify(uncast(value, r("CheckData")), null, 2); + }; + Convert.toMobileData = function (json) { + return cast(JSON.parse(json), r("MobileData")); + }; + Convert.mobileDataToJson = function (value) { + return JSON.stringify(uncast(value, r("MobileData")), null, 2); + }; + Convert.toCashHandlingDevice = function (json) { + return cast(JSON.parse(json), r("CashHandlingDevice")); + }; + Convert.cashHandlingDeviceToJson = function (value) { + return JSON.stringify(uncast(value, r("CashHandlingDevice")), null, 2); + }; + Convert.toPaymentTotals = function (json) { + return cast(JSON.parse(json), r("PaymentTotals")); + }; + Convert.paymentTotalsToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentTotals")), null, 2); + }; + Convert.toLoyaltyTotals = function (json) { + return cast(JSON.parse(json), r("LoyaltyTotals")); + }; + Convert.loyaltyTotalsToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyTotals")), null, 2); + }; + Convert.toInput = function (json) { + return cast(JSON.parse(json), r("Input")); + }; + Convert.inputToJson = function (value) { + return JSON.stringify(uncast(value, r("Input")), null, 2); + }; + Convert.toPoiSoftware = function (json) { + return cast(JSON.parse(json), r("PoiSoftware")); + }; + Convert.poiSoftwareToJson = function (value) { + return JSON.stringify(uncast(value, r("PoiSoftware")), null, 2); + }; + Convert.toPoiTerminalData = function (json) { + return cast(JSON.parse(json), r("PoiTerminalData")); + }; + Convert.poiTerminalDataToJson = function (value) { + return JSON.stringify(uncast(value, r("PoiTerminalData")), null, 2); + }; + Convert.toLoyaltyAcquirerData = function (json) { + return cast(JSON.parse(json), r("LoyaltyAcquirerData")); + }; + Convert.loyaltyAcquirerDataToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyAcquirerData")), null, 2); + }; + Convert.toRebates = function (json) { + return cast(JSON.parse(json), r("Rebates")); + }; + Convert.rebatesToJson = function (value) { + return JSON.stringify(uncast(value, r("Rebates")), null, 2); + }; + Convert.toAmountsResp = function (json) { + return cast(JSON.parse(json), r("AmountsResp")); + }; + Convert.amountsRespToJson = function (value) { + return JSON.stringify(uncast(value, r("AmountsResp")), null, 2); + }; + Convert.toCurrencyConversion = function (json) { + return cast(JSON.parse(json), r("CurrencyConversion")); + }; + Convert.currencyConversionToJson = function (value) { + return JSON.stringify(uncast(value, r("CurrencyConversion")), null, 2); + }; + Convert.toCapturedSignature = function (json) { + return cast(JSON.parse(json), r("CapturedSignature")); + }; + Convert.capturedSignatureToJson = function (value) { + return JSON.stringify(uncast(value, r("CapturedSignature")), null, 2); + }; + Convert.toStoredValueAccountStatus = function (json) { + return cast(JSON.parse(json), r("StoredValueAccountStatus")); + }; + Convert.storedValueAccountStatusToJson = function (value) { + return JSON.stringify(uncast(value, r("StoredValueAccountStatus")), null, 2); + }; + Convert.toRepeatedResponseMessageBody = function (json) { + return cast(JSON.parse(json), r("RepeatedResponseMessageBody")); + }; + Convert.repeatedResponseMessageBodyToJson = function (value) { + return JSON.stringify(uncast(value, r("RepeatedResponseMessageBody")), null, 2); + }; + Convert.toParameter = function (json) { + return cast(JSON.parse(json), r("Parameter")); + }; + Convert.parameterToJson = function (value) { + return JSON.stringify(uncast(value, r("Parameter")), null, 2); + }; + Convert.toSignerIdentifier = function (json) { + return cast(JSON.parse(json), r("SignerIdentifier")); + }; + Convert.signerIdentifierToJson = function (value) { + return JSON.stringify(uncast(value, r("SignerIdentifier")), null, 2); + }; + Convert.toSensitiveCardData = function (json) { + return cast(JSON.parse(json), r("SensitiveCardData")); + }; + Convert.sensitiveCardDataToJson = function (value) { + return JSON.stringify(uncast(value, r("SensitiveCardData")), null, 2); + }; + Convert.toAllowedProduct = function (json) { + return cast(JSON.parse(json), r("AllowedProduct")); + }; + Convert.allowedProductToJson = function (value) { + return JSON.stringify(uncast(value, r("AllowedProduct")), null, 2); + }; + Convert.toPaymentToken = function (json) { + return cast(JSON.parse(json), r("PaymentToken")); + }; + Convert.paymentTokenToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentToken")), null, 2); + }; + Convert.toGeolocation = function (json) { + return cast(JSON.parse(json), r("Geolocation")); + }; + Convert.geolocationToJson = function (value) { + return JSON.stringify(uncast(value, r("Geolocation")), null, 2); + }; + Convert.toSensitiveMobileData = function (json) { + return cast(JSON.parse(json), r("SensitiveMobileData")); + }; + Convert.sensitiveMobileDataToJson = function (value) { + return JSON.stringify(uncast(value, r("SensitiveMobileData")), null, 2); + }; + Convert.toCoinsOrBills = function (json) { + return cast(JSON.parse(json), r("CoinsOrBills")); + }; + Convert.coinsOrBillsToJson = function (value) { + return JSON.stringify(uncast(value, r("CoinsOrBills")), null, 2); + }; + Convert.toPoiProfile = function (json) { + return cast(JSON.parse(json), r("PoiProfile")); + }; + Convert.poiProfileToJson = function (value) { + return JSON.stringify(uncast(value, r("PoiProfile")), null, 2); + }; + Convert.toSaleItemRebate = function (json) { + return cast(JSON.parse(json), r("SaleItemRebate")); + }; + Convert.saleItemRebateToJson = function (value) { + return JSON.stringify(uncast(value, r("SaleItemRebate")), null, 2); + }; + Convert.toAmount = function (json) { + return cast(JSON.parse(json), r("Amount")); + }; + Convert.amountToJson = function (value) { + return JSON.stringify(uncast(value, r("Amount")), null, 2); + }; + Convert.toAreaSize = function (json) { + return cast(JSON.parse(json), r("AreaSize")); + }; + Convert.areaSizeToJson = function (value) { + return JSON.stringify(uncast(value, r("AreaSize")), null, 2); + }; + Convert.toSignaturePoint = function (json) { + return cast(JSON.parse(json), r("SignaturePoint")); + }; + Convert.signaturePointToJson = function (value) { + return JSON.stringify(uncast(value, r("SignaturePoint")), null, 2); + }; + Convert.toIssuerAndSerialNumber = function (json) { + return cast(JSON.parse(json), r("IssuerAndSerialNumber")); + }; + Convert.issuerAndSerialNumberToJson = function (value) { + return JSON.stringify(uncast(value, r("IssuerAndSerialNumber")), null, 2); + }; + Convert.toGeographicCoordinates = function (json) { + return cast(JSON.parse(json), r("GeographicCoordinates")); + }; + Convert.geographicCoordinatesToJson = function (value) { + return JSON.stringify(uncast(value, r("GeographicCoordinates")), null, 2); + }; + Convert.toUtmCoordinates = function (json) { + return cast(JSON.parse(json), r("UtmCoordinates")); + }; + Convert.utmCoordinatesToJson = function (value) { + return JSON.stringify(uncast(value, r("UtmCoordinates")), null, 2); + }; + Convert.toIssuer = function (json) { + return cast(JSON.parse(json), r("Issuer")); + }; + Convert.issuerToJson = function (value) { + return JSON.stringify(uncast(value, r("Issuer")), null, 2); + }; + Convert.toRelativeDistinguishedName = function (json) { + return cast(JSON.parse(json), r("RelativeDistinguishedName")); + }; + Convert.relativeDistinguishedNameToJson = function (value) { + return JSON.stringify(uncast(value, r("RelativeDistinguishedName")), null, 2); + }; + Convert.toMessageClassType = function (json) { + return cast(JSON.parse(json), r("MessageClassType")); + }; + Convert.messageClassTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("MessageClassType")), null, 2); + }; + Convert.toMessageCategoryType = function (json) { + return cast(JSON.parse(json), r("MessageCategoryType")); + }; + Convert.messageCategoryTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("MessageCategoryType")), null, 2); + }; + Convert.toMessageType = function (json) { + return cast(JSON.parse(json), r("MessageType")); + }; + Convert.messageTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("MessageType")), null, 2); + }; + Convert.toServicesEnabledType = function (json) { + return cast(JSON.parse(json), r("ServicesEnabledType")); + }; + Convert.servicesEnabledTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("ServicesEnabledType")), null, 2); + }; + Convert.toTransactionActionType = function (json) { + return cast(JSON.parse(json), r("TransactionActionType")); + }; + Convert.transactionActionTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("TransactionActionType")), null, 2); + }; + Convert.toEventToNotifyType = function (json) { + return cast(JSON.parse(json), r("EventToNotifyType")); + }; + Convert.eventToNotifyTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("EventToNotifyType")), null, 2); + }; + Convert.toTotalDetailsType = function (json) { + return cast(JSON.parse(json), r("TotalDetailsType")); + }; + Convert.totalDetailsTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("TotalDetailsType")), null, 2); + }; + Convert.toTokenRequestedType = function (json) { + return cast(JSON.parse(json), r("TokenRequestedType")); + }; + Convert.tokenRequestedTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("TokenRequestedType")), null, 2); + }; + Convert.toCustomerOrderReqType = function (json) { + return cast(JSON.parse(json), r("CustomerOrderReqType")); + }; + Convert.customerOrderReqTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("CustomerOrderReqType")), null, 2); + }; + Convert.toPinRequestType = function (json) { + return cast(JSON.parse(json), r("PinRequestType")); + }; + Convert.pinRequestTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("PinRequestType")), null, 2); + }; + Convert.toPinFormatType = function (json) { + return cast(JSON.parse(json), r("PinFormatType")); + }; + Convert.pinFormatTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("PinFormatType")), null, 2); + }; + Convert.toForceEntryModeType = function (json) { + return cast(JSON.parse(json), r("ForceEntryModeType")); + }; + Convert.forceEntryModeTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("ForceEntryModeType")), null, 2); + }; + Convert.toReconciliationType = function (json) { + return cast(JSON.parse(json), r("ReconciliationType")); + }; + Convert.reconciliationTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("ReconciliationType")), null, 2); + }; + Convert.toReversalReasonType = function (json) { + return cast(JSON.parse(json), r("ReversalReasonType")); + }; + Convert.reversalReasonTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("ReversalReasonType")), null, 2); + }; + Convert.toResponseModeType = function (json) { + return cast(JSON.parse(json), r("ResponseModeType")); + }; + Convert.responseModeTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("ResponseModeType")), null, 2); + }; + Convert.toSoundActionType = function (json) { + return cast(JSON.parse(json), r("SoundActionType")); + }; + Convert.soundActionTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("SoundActionType")), null, 2); + }; + Convert.toDocumentQualifierType = function (json) { + return cast(JSON.parse(json), r("DocumentQualifierType")); + }; + Convert.documentQualifierTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("DocumentQualifierType")), null, 2); + }; + Convert.toContentType = function (json) { + return cast(JSON.parse(json), r("ContentType")); + }; + Convert.contentTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("ContentType")), null, 2); + }; + Convert.toEntryModeType = function (json) { + return cast(JSON.parse(json), r("EntryModeType")); + }; + Convert.entryModeTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("EntryModeType")), null, 2); + }; + Convert.toDeviceType = function (json) { + return cast(JSON.parse(json), r("DeviceType")); + }; + Convert.deviceTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("DeviceType")), null, 2); + }; + Convert.toInfoQualifyType = function (json) { + return cast(JSON.parse(json), r("InfoQualifyType")); + }; + Convert.infoQualifyTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("InfoQualifyType")), null, 2); + }; + Convert.toAccountType = function (json) { + return cast(JSON.parse(json), r("AccountType")); + }; + Convert.accountTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("AccountType")), null, 2); + }; + Convert.toLoyaltyHandlingType = function (json) { + return cast(JSON.parse(json), r("LoyaltyHandlingType")); + }; + Convert.loyaltyHandlingTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyHandlingType")), null, 2); + }; + Convert.toPaymentType = function (json) { + return cast(JSON.parse(json), r("PaymentType")); + }; + Convert.paymentTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentType")), null, 2); + }; + Convert.toInputCommandType = function (json) { + return cast(JSON.parse(json), r("InputCommandType")); + }; + Convert.inputCommandTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("InputCommandType")), null, 2); + }; + Convert.toOutputFormatType = function (json) { + return cast(JSON.parse(json), r("OutputFormatType")); + }; + Convert.outputFormatTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("OutputFormatType")), null, 2); + }; + Convert.toMenuEntryTagType = function (json) { + return cast(JSON.parse(json), r("MenuEntryTagType")); + }; + Convert.menuEntryTagTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("MenuEntryTagType")), null, 2); + }; + Convert.toSaleCapabilitiesType = function (json) { + return cast(JSON.parse(json), r("SaleCapabilitiesType")); + }; + Convert.saleCapabilitiesTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("SaleCapabilitiesType")), null, 2); + }; + Convert.toTerminalEnvironmentType = function (json) { + return cast(JSON.parse(json), r("TerminalEnvironmentType")); + }; + Convert.terminalEnvironmentTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("TerminalEnvironmentType")), null, 2); + }; + Convert.toLoyaltyTransactionType = function (json) { + return cast(JSON.parse(json), r("LoyaltyTransactionType")); + }; + Convert.loyaltyTransactionTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyTransactionType")), null, 2); + }; + Convert.toSoundFormatType = function (json) { + return cast(JSON.parse(json), r("SoundFormatType")); + }; + Convert.soundFormatTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("SoundFormatType")), null, 2); + }; + Convert.toStoredValueTransactionType = function (json) { + return cast(JSON.parse(json), r("StoredValueTransactionType")); + }; + Convert.storedValueTransactionTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("StoredValueTransactionType")), null, 2); + }; + Convert.toVersionType = function (json) { + return cast(JSON.parse(json), r("VersionType")); + }; + Convert.versionTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("VersionType")), null, 2); + }; + Convert.toResultType = function (json) { + return cast(JSON.parse(json), r("ResultType")); + }; + Convert.resultTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("ResultType")), null, 2); + }; + Convert.toErrorConditionType = function (json) { + return cast(JSON.parse(json), r("ErrorConditionType")); + }; + Convert.errorConditionTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("ErrorConditionType")), null, 2); + }; + Convert.toLoyaltyUnitType = function (json) { + return cast(JSON.parse(json), r("LoyaltyUnitType")); + }; + Convert.loyaltyUnitTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("LoyaltyUnitType")), null, 2); + }; + Convert.toPaymentInstrumentType = function (json) { + return cast(JSON.parse(json), r("PaymentInstrumentType")); + }; + Convert.paymentInstrumentTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("PaymentInstrumentType")), null, 2); + }; + Convert.toGlobalStatusType = function (json) { + return cast(JSON.parse(json), r("GlobalStatusType")); + }; + Convert.globalStatusTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("GlobalStatusType")), null, 2); + }; + Convert.toPrinterStatusType = function (json) { + return cast(JSON.parse(json), r("PrinterStatusType")); + }; + Convert.printerStatusTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("PrinterStatusType")), null, 2); + }; + Convert.toAuthenticationMethodType = function (json) { + return cast(JSON.parse(json), r("AuthenticationMethodType")); + }; + Convert.authenticationMethodTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("AuthenticationMethodType")), null, 2); + }; + Convert.toTrackFormatType = function (json) { + return cast(JSON.parse(json), r("TrackFormatType")); + }; + Convert.trackFormatTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("TrackFormatType")), null, 2); + }; + Convert.toIdentificationType = function (json) { + return cast(JSON.parse(json), r("IdentificationType")); + }; + Convert.identificationTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("IdentificationType")), null, 2); + }; + Convert.toIdentificationSupportType = function (json) { + return cast(JSON.parse(json), r("IdentificationSupportType")); + }; + Convert.identificationSupportTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("IdentificationSupportType")), null, 2); + }; + Convert.toColorType = function (json) { + return cast(JSON.parse(json), r("ColorType")); + }; + Convert.colorTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("ColorType")), null, 2); + }; + Convert.toCharacterWidthType = function (json) { + return cast(JSON.parse(json), r("CharacterWidthType")); + }; + Convert.characterWidthTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("CharacterWidthType")), null, 2); + }; + Convert.toCharacterHeightType = function (json) { + return cast(JSON.parse(json), r("CharacterHeightType")); + }; + Convert.characterHeightTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("CharacterHeightType")), null, 2); + }; + Convert.toCharacterStyleType = function (json) { + return cast(JSON.parse(json), r("CharacterStyleType")); + }; + Convert.characterStyleTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("CharacterStyleType")), null, 2); + }; + Convert.toAlignmentType = function (json) { + return cast(JSON.parse(json), r("AlignmentType")); + }; + Convert.alignmentTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("AlignmentType")), null, 2); + }; + Convert.toBarcodeType = function (json) { + return cast(JSON.parse(json), r("BarcodeType")); + }; + Convert.barcodeTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("BarcodeType")), null, 2); + }; + Convert.toServiceProfilesType = function (json) { + return cast(JSON.parse(json), r("ServiceProfilesType")); + }; + Convert.serviceProfilesTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("ServiceProfilesType")), null, 2); + }; + Convert.toGenericProfileType = function (json) { + return cast(JSON.parse(json), r("GenericProfileType")); + }; + Convert.genericProfileTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("GenericProfileType")), null, 2); + }; + Convert.toUnitOfMeasureType = function (json) { + return cast(JSON.parse(json), r("UnitOfMeasureType")); + }; + Convert.unitOfMeasureTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("UnitOfMeasureType")), null, 2); + }; + Convert.toInstalmentType = function (json) { + return cast(JSON.parse(json), r("InstalmentType")); + }; + Convert.instalmentTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("InstalmentType")), null, 2); + }; + Convert.toPeriodUnitType = function (json) { + return cast(JSON.parse(json), r("PeriodUnitType")); + }; + Convert.periodUnitTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("PeriodUnitType")), null, 2); + }; + Convert.toStoredValueAccountType = function (json) { + return cast(JSON.parse(json), r("StoredValueAccountType")); + }; + Convert.storedValueAccountTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("StoredValueAccountType")), null, 2); + }; + Convert.toAlgorithmType = function (json) { + return cast(JSON.parse(json), r("AlgorithmType")); + }; + Convert.algorithmTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("AlgorithmType")), null, 2); + }; + Convert.toCheckTypeCodeType = function (json) { + return cast(JSON.parse(json), r("CheckTypeCodeType")); + }; + Convert.checkTypeCodeTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("CheckTypeCodeType")), null, 2); + }; + Convert.toTransactionType = function (json) { + return cast(JSON.parse(json), r("TransactionType")); + }; + Convert.transactionTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("TransactionType")), null, 2); + }; + Convert.toPoiCapabilitiesType = function (json) { + return cast(JSON.parse(json), r("PoiCapabilitiesType")); + }; + Convert.poiCapabilitiesTypeToJson = function (value) { + return JSON.stringify(uncast(value, r("PoiCapabilitiesType")), null, 2); + }; + return Convert; +}()); +exports.Convert = Convert; +function invalidValue(typ, val) { + throw Error("Invalid value " + JSON.stringify(val) + " for type " + JSON.stringify(typ)); +} +function jsonToJSProps(typ) { + if (typ.jsonToJS === undefined) { + var map = {}; + typ.props.forEach(function (p) { return map[p.json] = { key: p.js, typ: p.typ }; }); + typ.jsonToJS = map; + } + return typ.jsonToJS; +} +function jsToJSONProps(typ) { + if (typ.jsToJSON === undefined) { + var map = {}; + typ.props.forEach(function (p) { return map[p.js] = { key: p.json, typ: p.typ }; }); + typ.jsToJSON = map; + } + return typ.jsToJSON; +} +function transform(val, typ, getProps) { + function transformPrimitive(typ, val) { + if (typeof typ === typeof val) + return val; + return invalidValue(typ, val); + } + function transformUnion(typs, val) { + // val must validate against one typ in typs + var l = typs.length; + for (var i = 0; i < l; i++) { + var typ = typs[i]; + try { + return transform(val, typ, getProps); + } + catch (_) { } + } + return invalidValue(typs, val); + } + function transformEnum(cases, val) { + if (cases.indexOf(val) !== -1) + return val; + return invalidValue(cases, val); + } + function transformArray(typ, val) { + // val must be an array with no invalid elements + if (!Array.isArray(val)) + return invalidValue("array", val); + return val.map(function (el) { return transform(el, typ, getProps); }); + } + function transformDate(typ, val) { + if (val === null) { + return null; + } + var d = new Date(val); + if (isNaN(d.valueOf())) { + return invalidValue("Date", val); + } + return d; + } + function transformObject(props, additional, val) { + if (val === null || typeof val !== "object" || Array.isArray(val)) { + return invalidValue("object", val); + } + var result = {}; + Object.getOwnPropertyNames(props).forEach(function (key) { + var prop = props[key]; + var v = Object.prototype.hasOwnProperty.call(val, key) ? val[key] : undefined; + result[prop.key] = transform(v, prop.typ, getProps); + }); + Object.getOwnPropertyNames(val).forEach(function (key) { + if (!Object.prototype.hasOwnProperty.call(props, key)) { + result[key] = transform(val[key], additional, getProps); + } + }); + return result; + } + if (typ === "any") + return val; + if (typ === null) { + if (val === null) + return val; + return invalidValue(typ, val); + } + if (typ === false) + return invalidValue(typ, val); + while (typeof typ === "object" && typ.ref !== undefined) { + typ = typeMap[typ.ref]; + } + if (Array.isArray(typ)) + return transformEnum(typ, val); + if (typeof typ === "object") { + return typ.hasOwnProperty("unionMembers") ? transformUnion(typ.unionMembers, val) + : typ.hasOwnProperty("arrayItems") ? transformArray(typ.arrayItems, val) + : typ.hasOwnProperty("props") ? transformObject(getProps(typ), typ.additional, val) + : invalidValue(typ, val); + } + // Numbers can be parsed by Date but shouldn't be. + if (typ === Date && typeof val !== "number") + return transformDate(typ, val); + return transformPrimitive(typ, val); +} +function cast(val, typ) { + return transform(val, typ, jsonToJSProps); +} +function uncast(val, typ) { + return transform(val, typ, jsToJSONProps); +} +function a(typ) { + return { arrayItems: typ }; +} +function u() { + var typs = []; + for (var _i = 0; _i < arguments.length; _i++) { + typs[_i] = arguments[_i]; + } + return { unionMembers: typs }; +} +function o(props, additional) { + return { props: props, additional: additional }; +} +function m(additional) { + // @ts-ignore + return { props: [], additional: additional }; +} +function r(name) { + return { ref: name }; +} +var typeMap = { + "TerminalApiRequest": o([ + { json: "SaleToPOIRequest", js: "saleToPoiRequest", typ: u(undefined, r("SaleToPoiRequest")) }, + ], "any"), + "SaleToPoiRequest": o([ + { json: "AbortRequest", js: "abortRequest", typ: u(undefined, r("AbortRequest")) }, + { json: "AdminRequest", js: "adminRequest", typ: u(undefined, r("AdminRequest")) }, + { json: "BalanceInquiryRequest", js: "balanceInquiryRequest", typ: u(undefined, r("BalanceInquiryRequest")) }, + { json: "BatchRequest", js: "batchRequest", typ: u(undefined, r("BatchRequest")) }, + { json: "CardAcquisitionRequest", js: "cardAcquisitionRequest", typ: u(undefined, r("CardAcquisitionRequest")) }, + { json: "CardReaderAPDURequest", js: "cardReaderApduRequest", typ: u(undefined, r("CardReaderApduRequest")) }, + { json: "CardReaderInitRequest", js: "cardReaderInitRequest", typ: u(undefined, r("CardReaderInitRequest")) }, + { json: "CardReaderPowerOffRequest", js: "cardReaderPowerOffRequest", typ: u(undefined, r("CardReaderPowerOffRequest")) }, + { json: "DiagnosisRequest", js: "diagnosisRequest", typ: u(undefined, r("DiagnosisRequest")) }, + { json: "DisplayRequest", js: "displayRequest", typ: u(undefined, r("DisplayRequest")) }, + { json: "EnableServiceRequest", js: "enableServiceRequest", typ: u(undefined, r("EnableServiceRequest")) }, + { json: "EventNotification", js: "eventNotification", typ: u(undefined, r("EventNotification")) }, + { json: "GetTotalsRequest", js: "getTotalsRequest", typ: u(undefined, r("GetTotalsRequest")) }, + { json: "InputRequest", js: "inputRequest", typ: u(undefined, r("InputRequest")) }, + { json: "InputUpdate", js: "inputUpdate", typ: u(undefined, r("InputUpdate")) }, + { json: "LoginRequest", js: "loginRequest", typ: u(undefined, r("LoginRequest")) }, + { json: "LogoutRequest", js: "logoutRequest", typ: u(undefined, r("LogoutRequest")) }, + { json: "LoyaltyRequest", js: "loyaltyRequest", typ: u(undefined, r("LoyaltyRequest")) }, + { json: "MessageHeader", js: "messageHeader", typ: r("MessageHeader") }, + { json: "PaymentRequest", js: "paymentRequest", typ: u(undefined, r("PaymentRequest")) }, + { json: "PINRequest", js: "pinRequest", typ: u(undefined, r("PinRequest")) }, + { json: "PrintRequest", js: "printRequest", typ: u(undefined, r("PrintRequest")) }, + { json: "ReconciliationRequest", js: "reconciliationRequest", typ: u(undefined, r("ReconciliationRequest")) }, + { json: "ReversalRequest", js: "reversalRequest", typ: u(undefined, r("ReversalRequest")) }, + { json: "SecurityTrailer", js: "securityTrailer", typ: u(undefined, r("ContentInformation")) }, + { json: "SoundRequest", js: "soundRequest", typ: u(undefined, r("SoundRequest")) }, + { json: "StoredValueRequest", js: "storedValueRequest", typ: u(undefined, r("StoredValueRequest")) }, + { json: "TransactionStatusRequest", js: "transactionStatusRequest", typ: u(undefined, r("TransactionStatusRequest")) }, + { json: "TransmitRequest", js: "transmitRequest", typ: u(undefined, r("TransmitRequest")) }, + ], "any"), + "AbortRequest": o([ + { json: "AbortReason", js: "abortReason", typ: "" }, + { json: "DisplayOutput", js: "displayOutput", typ: u(undefined, r("DisplayOutput")) }, + { json: "MessageReference", js: "messageReference", typ: r("MessageReference") }, + ], "any"), + "DisplayOutput": o([ + { json: "Device", js: "device", typ: r("DeviceType") }, + { json: "InfoQualify", js: "infoQualify", typ: r("InfoQualifyType") }, + { json: "MenuEntry", js: "menuEntry", typ: u(undefined, a(r("MenuEntry"))) }, + { json: "MinimumDisplayTime", js: "minimumDisplayTime", typ: u(undefined, 3.14) }, + { json: "OutputContent", js: "outputContent", typ: r("OutputContent") }, + { json: "OutputSignature", js: "outputSignature", typ: u(undefined, "any") }, + { json: "ResponseRequiredFlag", js: "responseRequiredFlag", typ: u(undefined, true) }, + ], "any"), + "MenuEntry": o([ + { json: "DefaultSelectedFlag", js: "defaultSelectedFlag", typ: u(undefined, true) }, + { json: "MenuEntryTag", js: "menuEntryTag", typ: u(undefined, r("MenuEntryTagType")) }, + { json: "OutputFormat", js: "outputFormat", typ: r("OutputFormatType") }, + { json: "OutputText", js: "outputText", typ: u(undefined, a(r("OutputText"))) }, + { json: "OutputXHTML", js: "outputXhtml", typ: u(undefined, "any") }, + { json: "PredefinedContent", js: "predefinedContent", typ: u(undefined, r("PredefinedContent")) }, + ], "any"), + "OutputText": o([ + { json: "Alignment", js: "alignment", typ: u(undefined, r("AlignmentType")) }, + { json: "CharacterHeight", js: "characterHeight", typ: u(undefined, r("CharacterHeightType")) }, + { json: "CharacterSet", js: "characterSet", typ: u(undefined, 3.14) }, + { json: "CharacterStyle", js: "characterStyle", typ: u(undefined, r("CharacterStyleType")) }, + { json: "CharacterWidth", js: "characterWidth", typ: u(undefined, r("CharacterWidthType")) }, + { json: "Color", js: "color", typ: u(undefined, r("ColorType")) }, + { json: "EndOfLineFlag", js: "endOfLineFlag", typ: u(undefined, true) }, + { json: "Font", js: "font", typ: u(undefined, "") }, + { json: "StartColumn", js: "startColumn", typ: u(undefined, 3.14) }, + { json: "StartRow", js: "startRow", typ: u(undefined, 3.14) }, + { json: "Text", js: "text", typ: u(undefined, "") }, + ], "any"), + "PredefinedContent": o([ + { json: "Language", js: "language", typ: u(undefined, "") }, + { json: "ReferenceID", js: "referenceId", typ: "" }, + ], "any"), + "OutputContent": o([ + { json: "OutputBarcode", js: "outputBarcode", typ: u(undefined, r("OutputBarcode")) }, + { json: "OutputFormat", js: "outputFormat", typ: r("OutputFormatType") }, + { json: "OutputText", js: "outputText", typ: u(undefined, a(r("OutputText"))) }, + { json: "OutputXHTML", js: "outputXhtml", typ: u(undefined, "any") }, + { json: "PredefinedContent", js: "predefinedContent", typ: u(undefined, r("PredefinedContent")) }, + ], "any"), + "OutputBarcode": o([ + { json: "BarcodeType", js: "barcodeType", typ: u(undefined, r("BarcodeType")) }, + { json: "value", js: "value", typ: u(undefined, "") }, + ], "any"), + "MessageReference": o([ + { json: "DeviceID", js: "deviceId", typ: u(undefined, "") }, + { json: "MessageCategory", js: "messageCategory", typ: u(undefined, r("MessageCategoryType")) }, + { json: "POIID", js: "poiid", typ: u(undefined, "") }, + { json: "SaleID", js: "saleId", typ: u(undefined, "") }, + { json: "ServiceID", js: "serviceId", typ: u(undefined, "") }, + ], "any"), + "AdminRequest": o([ + { json: "ServiceIdentification", js: "serviceIdentification", typ: u(undefined, "") }, + ], "any"), + "BalanceInquiryRequest": o([ + { json: "LoyaltyAccountReq", js: "loyaltyAccountReq", typ: u(undefined, r("LoyaltyAccountReq")) }, + { json: "PaymentAccountReq", js: "paymentAccountReq", typ: u(undefined, r("PaymentAccountReq")) }, + ], "any"), + "LoyaltyAccountReq": o([ + { json: "CardAcquisitionReference", js: "cardAcquisitionReference", typ: u(undefined, r("TransactionIdentification")) }, + { json: "LoyaltyAccountID", js: "loyaltyAccountId", typ: u(undefined, r("LoyaltyAccountId")) }, + ], "any"), + "TransactionIdentification": o([ + { json: "TimeStamp", js: "timeStamp", typ: "" }, + { json: "TransactionID", js: "transactionId", typ: "" }, + ], "any"), + "LoyaltyAccountId": o([ + { json: "EntryMode", js: "entryMode", typ: a(r("EntryModeType")) }, + { json: "IdentificationSupport", js: "identificationSupport", typ: u(undefined, r("IdentificationSupportType")) }, + { json: "IdentificationType", js: "identificationType", typ: r("IdentificationType") }, + { json: "value", js: "value", typ: u(undefined, "") }, + ], "any"), + "PaymentAccountReq": o([ + { json: "AccountType", js: "accountType", typ: u(undefined, r("AccountType")) }, + { json: "CardAcquisitionReference", js: "cardAcquisitionReference", typ: u(undefined, r("TransactionIdentification")) }, + { json: "PaymentInstrumentData", js: "paymentInstrumentData", typ: u(undefined, r("PaymentInstrumentData")) }, + ], "any"), + "PaymentInstrumentData": o([ + { json: "CardData", js: "cardData", typ: u(undefined, r("CardData")) }, + { json: "CheckData", js: "checkData", typ: u(undefined, r("CheckData")) }, + { json: "MobileData", js: "mobileData", typ: u(undefined, r("MobileData")) }, + { json: "PaymentInstrumentType", js: "paymentInstrumentType", typ: r("PaymentInstrumentType") }, + ], "any"), + "CardData": o([ + { json: "AllowedProduct", js: "allowedProduct", typ: u(undefined, a(r("AllowedProduct"))) }, + { json: "AllowedProductCode", js: "allowedProductCode", typ: u(undefined, a("")) }, + { json: "CardCountryCode", js: "cardCountryCode", typ: u(undefined, "") }, + { json: "CustomerOrder", js: "customerOrder", typ: u(undefined, a(r("CustomerOrder"))) }, + { json: "EntryMode", js: "entryMode", typ: u(undefined, a(r("EntryModeType"))) }, + { json: "MaskedPan", js: "maskedPan", typ: u(undefined, "") }, + { json: "PaymentAccountRef", js: "paymentAccountRef", typ: u(undefined, "") }, + { json: "PaymentBrand", js: "paymentBrand", typ: u(undefined, "") }, + { json: "PaymentToken", js: "paymentToken", typ: u(undefined, r("PaymentToken")) }, + { json: "ProtectedCardData", js: "protectedCardData", typ: u(undefined, r("ContentInformation")) }, + { json: "SensitiveCardData", js: "sensitiveCardData", typ: u(undefined, r("SensitiveCardData")) }, + ], "any"), + "AllowedProduct": o([ + { json: "AdditionalProductInfo", js: "additionalProductInfo", typ: u(undefined, "") }, + { json: "EanUpc", js: "eanUpc", typ: u(undefined, "") }, + { json: "ProductCode", js: "productCode", typ: "" }, + { json: "ProductLabel", js: "productLabel", typ: u(undefined, "") }, + ], "any"), + "CustomerOrder": o([ + { json: "AccessedBy", js: "accessedBy", typ: u(undefined, "") }, + { json: "AdditionalInformation", js: "additionalInformation", typ: u(undefined, "") }, + { json: "Currency", js: "currency", typ: u(undefined, "") }, + { json: "CurrentAmount", js: "currentAmount", typ: 3.14 }, + { json: "CustomerOrderID", js: "customerOrderId", typ: "" }, + { json: "EndDate", js: "endDate", typ: u(undefined, m("any")) }, + { json: "ForecastedAmount", js: "forecastedAmount", typ: 3.14 }, + { json: "OpenOrderState", js: "openOrderState", typ: u(undefined, true) }, + { json: "StartDate", js: "startDate", typ: m("any") }, + ], "any"), + "PaymentToken": o([ + { json: "ExpiryDateTime", js: "expiryDateTime", typ: u(undefined, m("any")) }, + { json: "TokenRequestedType", js: "tokenRequestedType", typ: r("TokenRequestedType") }, + { json: "TokenValue", js: "tokenValue", typ: "" }, + ], "any"), + "ContentInformation": o([ + { json: "AuthenticatedData", js: "authenticatedData", typ: u(undefined, r("AuthenticatedData")) }, + { json: "ContentType", js: "contentType", typ: r("ContentType") }, + { json: "DigestedData", js: "digestedData", typ: u(undefined, r("DigestedData")) }, + { json: "EnvelopedData", js: "envelopedData", typ: u(undefined, r("EnvelopedData")) }, + { json: "NamedKeyEncryptedData", js: "namedKeyEncryptedData", typ: u(undefined, r("NamedKeyEncryptedData")) }, + { json: "SignedData", js: "signedData", typ: u(undefined, r("SignedData")) }, + ], "any"), + "AuthenticatedData": o([ + { json: "EncapsulatedContent", js: "encapsulatedContent", typ: r("EncapsulatedContent") }, + { json: "keyTransportOrKEK", js: "keyTransportOrKek", typ: u(undefined, a("any")) }, + { json: "MAC", js: "mac", typ: "any" }, + { json: "MACAlgorithm", js: "macAlgorithm", typ: r("AlgorithmIdentifier") }, + { json: "Version", js: "version", typ: u(undefined, r("VersionType")) }, + ], "any"), + "EncapsulatedContent": o([ + { json: "Content", js: "content", typ: u(undefined, "any") }, + { json: "ContentType", js: "contentType", typ: r("ContentType") }, + ], "any"), + "AlgorithmIdentifier": o([ + { json: "Algorithm", js: "algorithm", typ: r("AlgorithmType") }, + { json: "Parameter", js: "parameter", typ: u(undefined, r("Parameter")) }, + ], "any"), + "Parameter": o([ + { json: "InitialisationVector", js: "initialisationVector", typ: u(undefined, "any") }, + ], "any"), + "DigestedData": o([ + { json: "Digest", js: "digest", typ: "any" }, + { json: "DigestAlgorithm", js: "digestAlgorithm", typ: r("AlgorithmIdentifier") }, + { json: "EncapsulatedContent", js: "encapsulatedContent", typ: r("EncapsulatedContent") }, + { json: "Version", js: "version", typ: u(undefined, r("VersionType")) }, + ], "any"), + "EnvelopedData": o([ + { json: "EncryptedContent", js: "encryptedContent", typ: r("EncryptedContent") }, + { json: "keyTransportOrKEK", js: "keyTransportOrKek", typ: u(undefined, a("any")) }, + { json: "Version", js: "version", typ: u(undefined, r("VersionType")) }, + ], "any"), + "EncryptedContent": o([ + { json: "ContentEncryptionAlgorithm", js: "contentEncryptionAlgorithm", typ: r("AlgorithmIdentifier") }, + { json: "ContentType", js: "contentType", typ: r("ContentType") }, + { json: "EncryptedData", js: "encryptedData", typ: "any" }, + ], "any"), + "NamedKeyEncryptedData": o([ + { json: "EncryptedContent", js: "encryptedContent", typ: r("EncryptedContent") }, + { json: "KeyName", js: "keyName", typ: u(undefined, "") }, + { json: "Version", js: "version", typ: u(undefined, r("VersionType")) }, + ], "any"), + "SignedData": o([ + { json: "Certificate", js: "certificate", typ: u(undefined, a("any")) }, + { json: "DigestAlgorithm", js: "digestAlgorithm", typ: a(r("AlgorithmIdentifier")) }, + { json: "EncapsulatedContent", js: "encapsulatedContent", typ: r("EncapsulatedContent") }, + { json: "Signer", js: "signer", typ: a(r("Signer")) }, + { json: "Version", js: "version", typ: u(undefined, r("VersionType")) }, + ], "any"), + "Signer": o([ + { json: "DigestAlgorithm", js: "digestAlgorithm", typ: r("AlgorithmIdentifier") }, + { json: "Signature", js: "signature", typ: "any" }, + { json: "SignatureAlgorithm", js: "signatureAlgorithm", typ: r("AlgorithmIdentifier") }, + { json: "SignerIdentifier", js: "signerIdentifier", typ: r("SignerIdentifier") }, + { json: "Version", js: "version", typ: u(undefined, r("VersionType")) }, + ], "any"), + "SignerIdentifier": o([ + { json: "IssuerAndSerialNumber", js: "issuerAndSerialNumber", typ: r("IssuerAndSerialNumber") }, + ], "any"), + "IssuerAndSerialNumber": o([ + { json: "Issuer", js: "issuer", typ: r("Issuer") }, + { json: "SerialNumber", js: "serialNumber", typ: 3.14 }, + ], "any"), + "Issuer": o([ + { json: "RelativeDistinguishedName", js: "relativeDistinguishedName", typ: a(r("RelativeDistinguishedName")) }, + ], "any"), + "RelativeDistinguishedName": o([ + { json: "Attribute", js: "attribute", typ: "" }, + { json: "AttributeValue", js: "attributeValue", typ: "" }, + ], "any"), + "SensitiveCardData": o([ + { json: "CardSeqNumb", js: "cardSeqNumb", typ: u(undefined, "") }, + { json: "ExpiryDate", js: "expiryDate", typ: u(undefined, "") }, + { json: "PAN", js: "pan", typ: u(undefined, "") }, + { json: "TrackData", js: "trackData", typ: u(undefined, a(r("TrackData"))) }, + ], "any"), + "TrackData": o([ + { json: "TrackFormat", js: "trackFormat", typ: u(undefined, r("TrackFormatType")) }, + { json: "TrackNumb", js: "trackNumb", typ: u(undefined, 3.14) }, + { json: "value", js: "value", typ: u(undefined, "") }, + ], "any"), + "CheckData": o([ + { json: "AccountNumber", js: "accountNumber", typ: u(undefined, "") }, + { json: "BankID", js: "bankId", typ: u(undefined, "") }, + { json: "CheckCardNumber", js: "checkCardNumber", typ: u(undefined, "") }, + { json: "CheckNumber", js: "checkNumber", typ: u(undefined, "") }, + { json: "Country", js: "country", typ: u(undefined, "") }, + { json: "TrackData", js: "trackData", typ: u(undefined, r("TrackData")) }, + { json: "Type", js: "type", typ: u(undefined, r("CheckTypeCodeType")) }, + ], "any"), + "MobileData": o([ + { json: "Geolocation", js: "geolocation", typ: u(undefined, r("Geolocation")) }, + { json: "MaskedMSISDN", js: "maskedMsisdn", typ: u(undefined, "") }, + { json: "MobileCountryCode", js: "mobileCountryCode", typ: u(undefined, "") }, + { json: "MobileNetworkCode", js: "mobileNetworkCode", typ: u(undefined, "") }, + { json: "ProtectedMobileData", js: "protectedMobileData", typ: u(undefined, r("ContentInformation")) }, + { json: "SensitiveMobileData", js: "sensitiveMobileData", typ: u(undefined, r("SensitiveMobileData")) }, + ], "any"), + "Geolocation": o([ + { json: "GeographicCoordinates", js: "geographicCoordinates", typ: u(undefined, r("GeographicCoordinates")) }, + { json: "UTMCoordinates", js: "utmCoordinates", typ: u(undefined, r("UtmCoordinates")) }, + ], "any"), + "GeographicCoordinates": o([ + { json: "Latitude", js: "latitude", typ: "" }, + { json: "Longitude", js: "longitude", typ: "" }, + ], "any"), + "UtmCoordinates": o([ + { json: "UTMEastward", js: "utmEastward", typ: "" }, + { json: "UTMNorthward", js: "utmNorthward", typ: "" }, + { json: "UTMZone", js: "utmZone", typ: "" }, + ], "any"), + "SensitiveMobileData": o([ + { json: "IMEI", js: "imei", typ: u(undefined, "") }, + { json: "IMSI", js: "imsi", typ: u(undefined, "") }, + { json: "MSISDN", js: "msisdn", typ: "" }, + ], "any"), + "BatchRequest": o([ + { json: "RemoveAllFlag", js: "removeAllFlag", typ: u(undefined, true) }, + { json: "TransactionToPerform", js: "transactionToPerform", typ: u(undefined, a(r("TransactionToPerform"))) }, + ], "any"), + "TransactionToPerform": o([ + { json: "LoyaltyRequest", js: "loyaltyRequest", typ: u(undefined, r("LoyaltyRequest")) }, + { json: "PaymentRequest", js: "paymentRequest", typ: u(undefined, r("PaymentRequest")) }, + { json: "ReversalRequest", js: "reversalRequest", typ: u(undefined, r("ReversalRequest")) }, + ], "any"), + "LoyaltyRequest": o([ + { json: "LoyaltyData", js: "loyaltyData", typ: u(undefined, a(r("LoyaltyData"))) }, + { json: "LoyaltyTransaction", js: "loyaltyTransaction", typ: r("LoyaltyTransaction") }, + { json: "SaleData", js: "saleData", typ: r("SaleData") }, + ], "any"), + "LoyaltyData": o([ + { json: "CardAcquisitionReference", js: "cardAcquisitionReference", typ: u(undefined, r("TransactionIdentification")) }, + { json: "LoyaltyAccountID", js: "loyaltyAccountId", typ: u(undefined, r("LoyaltyAccountId")) }, + { json: "LoyaltyAmount", js: "loyaltyAmount", typ: u(undefined, r("LoyaltyAmount")) }, + ], "any"), + "LoyaltyAmount": o([ + { json: "Currency", js: "currency", typ: u(undefined, "") }, + { json: "LoyaltyUnit", js: "loyaltyUnit", typ: u(undefined, r("LoyaltyUnitType")) }, + { json: "value", js: "value", typ: u(undefined, 3.14) }, + ], "any"), + "LoyaltyTransaction": o([ + { json: "Currency", js: "currency", typ: u(undefined, "") }, + { json: "LoyaltyTransactionType", js: "loyaltyTransactionType", typ: r("LoyaltyTransactionType") }, + { json: "OriginalPOITransaction", js: "originalPoiTransaction", typ: u(undefined, r("OriginalPoiTransaction")) }, + { json: "SaleItem", js: "saleItem", typ: u(undefined, a(r("SaleItem"))) }, + { json: "TotalAmount", js: "totalAmount", typ: u(undefined, 3.14) }, + { json: "TransactionConditions", js: "transactionConditions", typ: u(undefined, r("TransactionConditions")) }, + ], "any"), + "OriginalPoiTransaction": o([ + { json: "AcquirerID", js: "acquirerId", typ: u(undefined, "") }, + { json: "ApprovalCode", js: "approvalCode", typ: u(undefined, "") }, + { json: "CustomerLanguage", js: "customerLanguage", typ: u(undefined, "") }, + { json: "HostTransactionID", js: "hostTransactionId", typ: u(undefined, r("TransactionIdentification")) }, + { json: "POIID", js: "poiid", typ: u(undefined, "") }, + { json: "POITransactionID", js: "poiTransactionId", typ: u(undefined, r("TransactionIdentification")) }, + { json: "ReuseCardDataFlag", js: "reuseCardDataFlag", typ: u(undefined, true) }, + { json: "SaleID", js: "saleId", typ: u(undefined, "") }, + ], "any"), + "SaleItem": o([ + { json: "AdditionalProductInfo", js: "additionalProductInfo", typ: u(undefined, "") }, + { json: "EanUpc", js: "eanUpc", typ: u(undefined, "") }, + { json: "ItemAmount", js: "itemAmount", typ: 3.14 }, + { json: "ItemID", js: "itemId", typ: 3.14 }, + { json: "ProductCode", js: "productCode", typ: "" }, + { json: "ProductLabel", js: "productLabel", typ: u(undefined, "") }, + { json: "Quantity", js: "quantity", typ: u(undefined, 3.14) }, + { json: "SaleChannel", js: "saleChannel", typ: u(undefined, "") }, + { json: "TaxCode", js: "taxCode", typ: u(undefined, "") }, + { json: "UnitOfMeasure", js: "unitOfMeasure", typ: u(undefined, r("UnitOfMeasureType")) }, + { json: "UnitPrice", js: "unitPrice", typ: u(undefined, 3.14) }, + ], "any"), + "TransactionConditions": o([ + { json: "AcquirerID", js: "acquirerId", typ: u(undefined, a("")) }, + { json: "AllowedLoyaltyBrand", js: "allowedLoyaltyBrand", typ: u(undefined, a("")) }, + { json: "AllowedPaymentBrand", js: "allowedPaymentBrand", typ: u(undefined, a("")) }, + { json: "CustomerLanguage", js: "customerLanguage", typ: u(undefined, "") }, + { json: "DebitPreferredFlag", js: "debitPreferredFlag", typ: u(undefined, true) }, + { json: "ForceEntryMode", js: "forceEntryMode", typ: u(undefined, a(a(r("ForceEntryModeType")))) }, + { json: "ForceOnlineFlag", js: "forceOnlineFlag", typ: u(undefined, true) }, + { json: "LoyaltyHandling", js: "loyaltyHandling", typ: u(undefined, r("LoyaltyHandlingType")) }, + { json: "MerchantCategoryCode", js: "merchantCategoryCode", typ: u(undefined, "") }, + ], "any"), + "SaleData": o([ + { json: "CustomerOrderID", js: "customerOrderId", typ: u(undefined, "") }, + { json: "CustomerOrderReq", js: "customerOrderReq", typ: u(undefined, a(r("CustomerOrderReqType"))) }, + { json: "OperatorID", js: "operatorId", typ: u(undefined, "") }, + { json: "OperatorLanguage", js: "operatorLanguage", typ: u(undefined, "") }, + { json: "SaleReferenceID", js: "saleReferenceId", typ: u(undefined, "") }, + { json: "SaleTerminalData", js: "saleTerminalData", typ: u(undefined, r("SaleTerminalData")) }, + { json: "SaleToAcquirerData", js: "saleToAcquirerData", typ: u(undefined, "") }, + { json: "SaleToIssuerData", js: "saleToIssuerData", typ: u(undefined, r("SaleToIssuerData")) }, + { json: "SaleToPOIData", js: "saleToPoiData", typ: u(undefined, "") }, + { json: "SaleTransactionID", js: "saleTransactionId", typ: r("TransactionIdentification") }, + { json: "ShiftNumber", js: "shiftNumber", typ: u(undefined, "") }, + { json: "SponsoredMerchant", js: "sponsoredMerchant", typ: u(undefined, a(r("SponsoredMerchant"))) }, + { json: "TokenRequestedType", js: "tokenRequestedType", typ: u(undefined, r("TokenRequestedType")) }, + ], "any"), + "SaleTerminalData": o([ + { json: "SaleCapabilities", js: "saleCapabilities", typ: u(undefined, a(r("SaleCapabilitiesType"))) }, + { json: "SaleProfile", js: "saleProfile", typ: u(undefined, r("SaleProfile")) }, + { json: "TerminalEnvironment", js: "terminalEnvironment", typ: u(undefined, r("TerminalEnvironmentType")) }, + { json: "TotalsGroupID", js: "totalsGroupId", typ: u(undefined, "") }, + ], "any"), + "SaleProfile": o([ + { json: "GenericProfile", js: "genericProfile", typ: u(undefined, r("GenericProfileType")) }, + { json: "ServiceProfiles", js: "serviceProfiles", typ: u(undefined, a(r("ServiceProfilesType"))) }, + ], "any"), + "SaleToIssuerData": o([ + { json: "StatementReference", js: "statementReference", typ: u(undefined, "") }, + ], "any"), + "SponsoredMerchant": o([ + { json: "MerchantAddress", js: "merchantAddress", typ: u(undefined, "") }, + { json: "MerchantCategoryCode", js: "merchantCategoryCode", typ: "" }, + { json: "MerchantCountry", js: "merchantCountry", typ: "" }, + { json: "MerchantName", js: "merchantName", typ: "" }, + { json: "RegistrationID", js: "registrationId", typ: "" }, + ], "any"), + "PaymentRequest": o([ + { json: "LoyaltyData", js: "loyaltyData", typ: u(undefined, a(r("LoyaltyData"))) }, + { json: "PaymentData", js: "paymentData", typ: u(undefined, r("PaymentData")) }, + { json: "PaymentTransaction", js: "paymentTransaction", typ: r("PaymentTransaction") }, + { json: "SaleData", js: "saleData", typ: r("SaleData") }, + ], "any"), + "PaymentData": o([ + { json: "CardAcquisitionReference", js: "cardAcquisitionReference", typ: u(undefined, r("TransactionIdentification")) }, + { json: "CustomerOrder", js: "customerOrder", typ: u(undefined, r("CustomerOrder")) }, + { json: "Instalment", js: "instalment", typ: u(undefined, r("Instalment")) }, + { json: "PaymentInstrumentData", js: "paymentInstrumentData", typ: u(undefined, r("PaymentInstrumentData")) }, + { json: "PaymentType", js: "paymentType", typ: u(undefined, r("PaymentType")) }, + { json: "RequestedValidityDate", js: "requestedValidityDate", typ: u(undefined, "") }, + { json: "SplitPaymentFlag", js: "splitPaymentFlag", typ: u(undefined, true) }, + ], "any"), + "Instalment": o([ + { json: "Charges", js: "charges", typ: u(undefined, 3.14) }, + { json: "CumulativeAmount", js: "cumulativeAmount", typ: u(undefined, 3.14) }, + { json: "FirstAmount", js: "firstAmount", typ: u(undefined, 3.14) }, + { json: "FirstPaymentDate", js: "firstPaymentDate", typ: u(undefined, "") }, + { json: "Instalment", js: "instalment", typ: u(undefined, a(r("InstalmentType"))) }, + { json: "Period", js: "period", typ: u(undefined, 3.14) }, + { json: "PeriodUnit", js: "periodUnit", typ: u(undefined, r("PeriodUnitType")) }, + { json: "PlanID", js: "planId", typ: u(undefined, "") }, + { json: "SequenceNumber", js: "sequenceNumber", typ: u(undefined, 3.14) }, + { json: "TotalNbOfPayments", js: "totalNbOfPayments", typ: u(undefined, 3.14) }, + ], "any"), + "PaymentTransaction": o([ + { json: "AmountsReq", js: "amountsReq", typ: r("AmountsReq") }, + { json: "OriginalPOITransaction", js: "originalPoiTransaction", typ: u(undefined, r("OriginalPoiTransaction")) }, + { json: "SaleItem", js: "saleItem", typ: u(undefined, a(r("SaleItem"))) }, + { json: "TransactionConditions", js: "transactionConditions", typ: u(undefined, r("TransactionConditions")) }, + ], "any"), + "AmountsReq": o([ + { json: "CashBackAmount", js: "cashBackAmount", typ: u(undefined, 3.14) }, + { json: "Currency", js: "currency", typ: "" }, + { json: "MaximumCashBackAmount", js: "maximumCashBackAmount", typ: u(undefined, 3.14) }, + { json: "MinimumAmountToDeliver", js: "minimumAmountToDeliver", typ: u(undefined, 3.14) }, + { json: "MinimumSplitAmount", js: "minimumSplitAmount", typ: u(undefined, 3.14) }, + { json: "PaidAmount", js: "paidAmount", typ: u(undefined, 3.14) }, + { json: "RequestedAmount", js: "requestedAmount", typ: u(undefined, 3.14) }, + { json: "TipAmount", js: "tipAmount", typ: u(undefined, 3.14) }, + ], "any"), + "ReversalRequest": o([ + { json: "CustomerOrderID", js: "customerOrderId", typ: u(undefined, r("CustomerOrder")) }, + { json: "OriginalPOITransaction", js: "originalPoiTransaction", typ: r("OriginalPoiTransaction") }, + { json: "ReversalReason", js: "reversalReason", typ: r("ReversalReasonType") }, + { json: "ReversedAmount", js: "reversedAmount", typ: u(undefined, 3.14) }, + { json: "SaleReferenceID", js: "saleReferenceId", typ: u(undefined, "") }, + ], "any"), + "CardAcquisitionRequest": o([ + { json: "CardAcquisitionTransaction", js: "cardAcquisitionTransaction", typ: r("CardAcquisitionTransaction") }, + { json: "SaleData", js: "saleData", typ: r("SaleData") }, + ], "any"), + "CardAcquisitionTransaction": o([ + { json: "AllowedLoyaltyBrand", js: "allowedLoyaltyBrand", typ: u(undefined, a("")) }, + { json: "AllowedPaymentBrand", js: "allowedPaymentBrand", typ: u(undefined, a("")) }, + { json: "CashBackFlag", js: "cashBackFlag", typ: u(undefined, true) }, + { json: "CustomerLanguage", js: "customerLanguage", typ: u(undefined, "") }, + { json: "ForceCustomerSelectionFlag", js: "forceCustomerSelectionFlag", typ: u(undefined, true) }, + { json: "ForceEntryMode", js: "forceEntryMode", typ: u(undefined, a(a(r("ForceEntryModeType")))) }, + { json: "LoyaltyHandling", js: "loyaltyHandling", typ: u(undefined, r("LoyaltyHandlingType")) }, + { json: "PaymentType", js: "paymentType", typ: u(undefined, r("PaymentType")) }, + { json: "TotalAmount", js: "totalAmount", typ: u(undefined, 3.14) }, + ], "any"), + "CardReaderApduRequest": o([ + { json: "APDUClass", js: "apduClass", typ: "any" }, + { json: "APDUData", js: "apduData", typ: u(undefined, "any") }, + { json: "APDUExpectedLength", js: "apduExpectedLength", typ: u(undefined, "any") }, + { json: "APDUInstruction", js: "apduInstruction", typ: "any" }, + { json: "APDUPar1", js: "apduPar1", typ: "any" }, + { json: "APDUPar2", js: "apduPar2", typ: "any" }, + ], "any"), + "CardReaderInitRequest": o([ + { json: "DisplayOutput", js: "displayOutput", typ: u(undefined, r("DisplayOutput")) }, + { json: "ForceEntryMode", js: "forceEntryMode", typ: u(undefined, a(a(r("ForceEntryModeType")))) }, + { json: "LeaveCardFlag", js: "leaveCardFlag", typ: u(undefined, true) }, + { json: "MaxWaitingTime", js: "maxWaitingTime", typ: u(undefined, 3.14) }, + { json: "WarmResetFlag", js: "warmResetFlag", typ: u(undefined, true) }, + ], "any"), + "CardReaderPowerOffRequest": o([ + { json: "DisplayOutput", js: "displayOutput", typ: u(undefined, r("DisplayOutput")) }, + { json: "MaxWaitingTime", js: "maxWaitingTime", typ: u(undefined, 3.14) }, + ], "any"), + "DiagnosisRequest": o([ + { json: "AcquirerID", js: "acquirerId", typ: u(undefined, a("")) }, + { json: "HostDiagnosisFlag", js: "hostDiagnosisFlag", typ: u(undefined, true) }, + { json: "POIID", js: "poiid", typ: u(undefined, "") }, + ], "any"), + "DisplayRequest": o([ + { json: "DisplayOutput", js: "displayOutput", typ: a(r("DisplayOutput")) }, + ], "any"), + "EnableServiceRequest": o([ + { json: "DisplayOutput", js: "displayOutput", typ: u(undefined, r("DisplayOutput")) }, + { json: "ServicesEnabled", js: "servicesEnabled", typ: u(undefined, a(r("ServicesEnabledType"))) }, + { json: "TransactionAction", js: "transactionAction", typ: r("TransactionActionType") }, + ], "any"), + "EventNotification": o([ + { json: "CustomerLanguage", js: "customerLanguage", typ: u(undefined, "") }, + { json: "DisplayOutput", js: "displayOutput", typ: u(undefined, r("DisplayOutput")) }, + { json: "EventDetails", js: "eventDetails", typ: u(undefined, "") }, + { json: "EventToNotify", js: "eventToNotify", typ: r("EventToNotifyType") }, + { json: "MaintenanceRequiredFlag", js: "maintenanceRequiredFlag", typ: u(undefined, true) }, + { json: "RejectedMessage", js: "rejectedMessage", typ: u(undefined, "any") }, + { json: "TimeStamp", js: "timeStamp", typ: "" }, + ], "any"), + "GetTotalsRequest": o([ + { json: "TotalDetails", js: "totalDetails", typ: u(undefined, a(r("TotalDetailsType"))) }, + { json: "TotalFilter", js: "totalFilter", typ: u(undefined, r("TotalFilter")) }, + ], "any"), + "TotalFilter": o([ + { json: "OperatorID", js: "operatorId", typ: u(undefined, "") }, + { json: "POIID", js: "poiid", typ: u(undefined, "") }, + { json: "SaleID", js: "saleId", typ: u(undefined, "") }, + { json: "ShiftNumber", js: "shiftNumber", typ: u(undefined, "") }, + { json: "TotalsGroupID", js: "totalsGroupId", typ: u(undefined, "") }, + ], "any"), + "InputRequest": o([ + { json: "DisplayOutput", js: "displayOutput", typ: u(undefined, r("DisplayOutput")) }, + { json: "InputData", js: "inputData", typ: r("InputData") }, + ], "any"), + "InputData": o([ + { json: "BeepKeyFlag", js: "beepKeyFlag", typ: u(undefined, true) }, + { json: "DefaultInputString", js: "defaultInputString", typ: u(undefined, "") }, + { json: "Device", js: "device", typ: r("DeviceType") }, + { json: "DisableCancelFlag", js: "disableCancelFlag", typ: u(undefined, true) }, + { json: "DisableCorrectFlag", js: "disableCorrectFlag", typ: u(undefined, true) }, + { json: "DisableValidFlag", js: "disableValidFlag", typ: u(undefined, true) }, + { json: "FromRightToLeftFlag", js: "fromRightToLeftFlag", typ: u(undefined, true) }, + { json: "GlobalCorrectionFlag", js: "globalCorrectionFlag", typ: u(undefined, true) }, + { json: "ImmediateResponseFlag", js: "immediateResponseFlag", typ: u(undefined, true) }, + { json: "InfoQualify", js: "infoQualify", typ: r("InfoQualifyType") }, + { json: "InputCommand", js: "inputCommand", typ: r("InputCommandType") }, + { json: "MaskCharactersFlag", js: "maskCharactersFlag", typ: u(undefined, true) }, + { json: "MaxDecimalLength", js: "maxDecimalLength", typ: u(undefined, 3.14) }, + { json: "MaxInputTime", js: "maxInputTime", typ: u(undefined, 3.14) }, + { json: "MaxLength", js: "maxLength", typ: u(undefined, 3.14) }, + { json: "MenuBackFlag", js: "menuBackFlag", typ: u(undefined, true) }, + { json: "MinLength", js: "minLength", typ: u(undefined, 3.14) }, + { json: "NotifyCardInputFlag", js: "notifyCardInputFlag", typ: u(undefined, true) }, + { json: "StringMask", js: "stringMask", typ: u(undefined, "") }, + { json: "WaitUserValidationFlag", js: "waitUserValidationFlag", typ: u(undefined, true) }, + ], "any"), + "InputUpdate": o([ + { json: "MaxDecimalLength", js: "maxDecimalLength", typ: u(undefined, 3.14) }, + { json: "MaxLength", js: "maxLength", typ: u(undefined, 3.14) }, + { json: "MenuEntry", js: "menuEntry", typ: u(undefined, a(r("MenuEntry"))) }, + { json: "MessageReference", js: "messageReference", typ: r("MessageReference") }, + { json: "MinLength", js: "minLength", typ: u(undefined, 3.14) }, + { json: "OutputContent", js: "outputContent", typ: r("OutputContent") }, + { json: "OutputSignature", js: "outputSignature", typ: u(undefined, "any") }, + ], "any"), + "LoginRequest": o([ + { json: "CustomerOrderReq", js: "customerOrderReq", typ: u(undefined, a(r("CustomerOrderReqType"))) }, + { json: "DateTime", js: "dateTime", typ: m("any") }, + { json: "OperatorID", js: "operatorId", typ: u(undefined, "") }, + { json: "OperatorLanguage", js: "operatorLanguage", typ: "" }, + { json: "POISerialNumber", js: "poiSerialNumber", typ: u(undefined, "") }, + { json: "SaleSoftware", js: "saleSoftware", typ: r("SaleSoftware") }, + { json: "SaleTerminalData", js: "saleTerminalData", typ: u(undefined, r("SaleTerminalData")) }, + { json: "ShiftNumber", js: "shiftNumber", typ: u(undefined, "") }, + { json: "TokenRequestedType", js: "tokenRequestedType", typ: u(undefined, r("TokenRequestedType")) }, + { json: "TrainingModeFlag", js: "trainingModeFlag", typ: u(undefined, true) }, + ], "any"), + "SaleSoftware": o([ + { json: "ApplicationName", js: "applicationName", typ: "" }, + { json: "CertificationCode", js: "certificationCode", typ: "" }, + { json: "ManufacturerID", js: "manufacturerId", typ: "" }, + { json: "SoftwareVersion", js: "softwareVersion", typ: "" }, + ], "any"), + "LogoutRequest": o([ + { json: "MaintenanceAllowed", js: "maintenanceAllowed", typ: u(undefined, true) }, + ], "any"), + "MessageHeader": o([ + { json: "DeviceID", js: "deviceId", typ: u(undefined, "") }, + { json: "MessageCategory", js: "messageCategory", typ: r("MessageCategoryType") }, + { json: "MessageClass", js: "messageClass", typ: r("MessageClassType") }, + { json: "MessageType", js: "messageType", typ: r("MessageType") }, + { json: "POIID", js: "poiid", typ: "" }, + { json: "ProtocolVersion", js: "protocolVersion", typ: u(undefined, "") }, + { json: "SaleID", js: "saleId", typ: "" }, + { json: "ServiceID", js: "serviceId", typ: u(undefined, "") }, + ], "any"), + "PinRequest": o([ + { json: "AdditionalInput", js: "additionalInput", typ: u(undefined, "") }, + { json: "CardholderPIN", js: "cardholderPin", typ: u(undefined, r("CardholderPin")) }, + { json: "KeyReference", js: "keyReference", typ: u(undefined, "") }, + { json: "MaxWaitingTime", js: "maxWaitingTime", typ: u(undefined, 3.14) }, + { json: "PINEncAlgorithm", js: "pinEncAlgorithm", typ: u(undefined, "") }, + { json: "PINFormat", js: "pinFormat", typ: u(undefined, r("PinFormatType")) }, + { json: "PINRequestType", js: "pinRequestType", typ: r("PinRequestType") }, + { json: "PINVerifMethod", js: "pinVerifMethod", typ: u(undefined, "") }, + ], "any"), + "CardholderPin": o([ + { json: "AdditionalInput", js: "additionalInput", typ: u(undefined, "") }, + { json: "EncrPINBlock", js: "encrPinBlock", typ: r("ContentInformation") }, + { json: "PINFormat", js: "pinFormat", typ: r("PinFormatType") }, + ], "any"), + "PrintRequest": o([ + { json: "PrintOutput", js: "printOutput", typ: r("PrintOutput") }, + ], "any"), + "PrintOutput": o([ + { json: "DocumentQualifier", js: "documentQualifier", typ: r("DocumentQualifierType") }, + { json: "IntegratedPrintFlag", js: "integratedPrintFlag", typ: u(undefined, true) }, + { json: "OutputContent", js: "outputContent", typ: r("OutputContent") }, + { json: "OutputSignature", js: "outputSignature", typ: u(undefined, "any") }, + { json: "RequiredSignatureFlag", js: "requiredSignatureFlag", typ: u(undefined, true) }, + { json: "ResponseMode", js: "responseMode", typ: r("ResponseModeType") }, + ], "any"), + "ReconciliationRequest": o([ + { json: "AcquirerID", js: "acquirerId", typ: u(undefined, a("")) }, + { json: "POIReconciliationID", js: "poiReconciliationId", typ: u(undefined, "") }, + { json: "ReconciliationType", js: "reconciliationType", typ: r("ReconciliationType") }, + ], "any"), + "SoundRequest": o([ + { json: "ResponseMode", js: "responseMode", typ: u(undefined, r("ResponseModeType")) }, + { json: "SoundAction", js: "soundAction", typ: r("SoundActionType") }, + { json: "SoundContent", js: "soundContent", typ: r("SoundContent") }, + { json: "SoundVolume", js: "soundVolume", typ: u(undefined, 3.14) }, + ], "any"), + "SoundContent": o([ + { json: "Language", js: "language", typ: u(undefined, "") }, + { json: "ReferenceID", js: "referenceId", typ: u(undefined, "") }, + { json: "SoundFormat", js: "soundFormat", typ: u(undefined, r("SoundFormatType")) }, + { json: "value", js: "value", typ: u(undefined, "") }, + ], "any"), + "StoredValueRequest": o([ + { json: "CustomerLanguage", js: "customerLanguage", typ: u(undefined, "") }, + { json: "SaleData", js: "saleData", typ: r("SaleData") }, + { json: "StoredValueData", js: "storedValueData", typ: a(r("StoredValueData")) }, + ], "any"), + "StoredValueData": o([ + { json: "Currency", js: "currency", typ: "" }, + { json: "EanUpc", js: "eanUpc", typ: u(undefined, "") }, + { json: "ItemAmount", js: "itemAmount", typ: 3.14 }, + { json: "OriginalPOITransaction", js: "originalPoiTransaction", typ: u(undefined, r("OriginalPoiTransaction")) }, + { json: "ProductCode", js: "productCode", typ: u(undefined, "") }, + { json: "StoredValueAccountID", js: "storedValueAccountId", typ: u(undefined, r("StoredValueAccountId")) }, + { json: "StoredValueProvider", js: "storedValueProvider", typ: u(undefined, "") }, + { json: "StoredValueTransactionType", js: "storedValueTransactionType", typ: r("StoredValueTransactionType") }, + ], "any"), + "StoredValueAccountId": o([ + { json: "EntryMode", js: "entryMode", typ: a(r("EntryModeType")) }, + { json: "ExpiryDate", js: "expiryDate", typ: u(undefined, "") }, + { json: "IdentificationType", js: "identificationType", typ: r("IdentificationType") }, + { json: "OwnerName", js: "ownerName", typ: u(undefined, "") }, + { json: "StoredValueAccountType", js: "storedValueAccountType", typ: r("StoredValueAccountType") }, + { json: "StoredValueProvider", js: "storedValueProvider", typ: u(undefined, "") }, + { json: "value", js: "value", typ: u(undefined, "") }, + ], "any"), + "TransactionStatusRequest": o([ + { json: "DocumentQualifier", js: "documentQualifier", typ: u(undefined, a(r("DocumentQualifierType"))) }, + { json: "MessageReference", js: "messageReference", typ: u(undefined, r("MessageReference")) }, + { json: "ReceiptReprintFlag", js: "receiptReprintFlag", typ: u(undefined, true) }, + ], "any"), + "TransmitRequest": o([ + { json: "DestinationAddress", js: "destinationAddress", typ: "" }, + { json: "MaximumTransmitTime", js: "maximumTransmitTime", typ: 3.14 }, + { json: "Message", js: "message", typ: "any" }, + { json: "WaitResponseFlag", js: "waitResponseFlag", typ: u(undefined, true) }, + ], "any"), + "TerminalApiResponse": o([ + { json: "SaleToPOIResponse", js: "saleToPoiResponse", typ: u(undefined, r("SaleToPoiResponse")) }, + ], "any"), + "SaleToPoiResponse": o([ + { json: "AdminResponse", js: "adminResponse", typ: u(undefined, r("AdminResponse")) }, + { json: "BalanceInquiryResponse", js: "balanceInquiryResponse", typ: u(undefined, r("BalanceInquiryResponse")) }, + { json: "BatchResponse", js: "batchResponse", typ: u(undefined, r("BatchResponse")) }, + { json: "CardAcquisitionResponse", js: "cardAcquisitionResponse", typ: u(undefined, r("CardAcquisitionResponse")) }, + { json: "CardReaderAPDUResponse", js: "cardReaderApduResponse", typ: u(undefined, r("CardReaderApduResponse")) }, + { json: "CardReaderInitResponse", js: "cardReaderInitResponse", typ: u(undefined, r("CardReaderInitResponse")) }, + { json: "CardReaderPowerOffResponse", js: "cardReaderPowerOffResponse", typ: u(undefined, r("CardReaderPowerOffResponse")) }, + { json: "DiagnosisResponse", js: "diagnosisResponse", typ: u(undefined, r("DiagnosisResponse")) }, + { json: "DisplayResponse", js: "displayResponse", typ: u(undefined, r("DisplayResponse")) }, + { json: "EnableServiceResponse", js: "enableServiceResponse", typ: u(undefined, r("EnableServiceResponse")) }, + { json: "GetTotalsResponse", js: "getTotalsResponse", typ: u(undefined, r("GetTotalsResponse")) }, + { json: "InputResponse", js: "inputResponse", typ: u(undefined, r("InputResponse")) }, + { json: "LoginResponse", js: "loginResponse", typ: u(undefined, r("LoginResponse")) }, + { json: "LogoutResponse", js: "logoutResponse", typ: u(undefined, r("LogoutResponse")) }, + { json: "LoyaltyResponse", js: "loyaltyResponse", typ: u(undefined, r("LoyaltyResponse")) }, + { json: "MessageHeader", js: "messageHeader", typ: r("MessageHeader") }, + { json: "PaymentResponse", js: "paymentResponse", typ: u(undefined, r("PaymentResponse")) }, + { json: "PINResponse", js: "pinResponse", typ: u(undefined, r("PinResponse")) }, + { json: "PrintResponse", js: "printResponse", typ: u(undefined, r("PrintResponse")) }, + { json: "ReconciliationResponse", js: "reconciliationResponse", typ: u(undefined, r("ReconciliationResponse")) }, + { json: "ReversalResponse", js: "reversalResponse", typ: u(undefined, r("ReversalResponse")) }, + { json: "SecurityTrailer", js: "securityTrailer", typ: u(undefined, r("ContentInformation")) }, + { json: "SoundResponse", js: "soundResponse", typ: u(undefined, r("SoundResponse")) }, + { json: "StoredValueResponse", js: "storedValueResponse", typ: u(undefined, r("StoredValueResponse")) }, + { json: "TransactionStatusResponse", js: "transactionStatusResponse", typ: u(undefined, r("TransactionStatusResponse")) }, + { json: "TransmitResponse", js: "transmitResponse", typ: u(undefined, r("TransmitResponse")) }, + ], "any"), + "AdminResponse": o([ + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "Response": o([ + { json: "AdditionalResponse", js: "additionalResponse", typ: u(undefined, "") }, + { json: "ErrorCondition", js: "errorCondition", typ: u(undefined, r("ErrorConditionType")) }, + { json: "Result", js: "result", typ: r("ResultType") }, + ], "any"), + "BalanceInquiryResponse": o([ + { json: "LoyaltyAccountStatus", js: "loyaltyAccountStatus", typ: u(undefined, r("LoyaltyAccountStatus")) }, + { json: "PaymentAccountStatus", js: "paymentAccountStatus", typ: u(undefined, r("PaymentAccountStatus")) }, + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "LoyaltyAccountStatus": o([ + { json: "Currency", js: "currency", typ: u(undefined, "") }, + { json: "CurrentBalance", js: "currentBalance", typ: u(undefined, 3.14) }, + { json: "LoyaltyAccount", js: "loyaltyAccount", typ: r("LoyaltyAccount") }, + { json: "LoyaltyUnit", js: "loyaltyUnit", typ: u(undefined, r("LoyaltyUnitType")) }, + ], "any"), + "LoyaltyAccount": o([ + { json: "LoyaltyAccountID", js: "loyaltyAccountId", typ: r("LoyaltyAccountId") }, + { json: "LoyaltyBrand", js: "loyaltyBrand", typ: u(undefined, "") }, + ], "any"), + "PaymentAccountStatus": o([ + { json: "Currency", js: "currency", typ: u(undefined, "") }, + { json: "CurrentBalance", js: "currentBalance", typ: u(undefined, 3.14) }, + { json: "LoyaltyAccountStatus", js: "loyaltyAccountStatus", typ: u(undefined, r("LoyaltyAccountStatus")) }, + { json: "PaymentAcquirerData", js: "paymentAcquirerData", typ: u(undefined, r("PaymentAcquirerData")) }, + { json: "PaymentInstrumentData", js: "paymentInstrumentData", typ: u(undefined, r("PaymentInstrumentData")) }, + ], "any"), + "PaymentAcquirerData": o([ + { json: "AcquirerID", js: "acquirerId", typ: u(undefined, "") }, + { json: "AcquirerPOIID", js: "acquirerPoiid", typ: "" }, + { json: "AcquirerTransactionID", js: "acquirerTransactionId", typ: u(undefined, r("TransactionIdentification")) }, + { json: "ApprovalCode", js: "approvalCode", typ: u(undefined, "") }, + { json: "MerchantID", js: "merchantId", typ: "" }, + ], "any"), + "BatchResponse": o([ + { json: "PerformedTransaction", js: "performedTransaction", typ: u(undefined, a(r("PerformedTransaction"))) }, + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "PerformedTransaction": o([ + { json: "LoyaltyResult", js: "loyaltyResult", typ: u(undefined, a(r("LoyaltyResult"))) }, + { json: "PaymentResult", js: "paymentResult", typ: u(undefined, r("PaymentResult")) }, + { json: "POIData", js: "poiData", typ: r("PoiData") }, + { json: "Response", js: "response", typ: r("Response") }, + { json: "ReversedAmount", js: "reversedAmount", typ: u(undefined, 3.14) }, + { json: "SaleData", js: "saleData", typ: u(undefined, r("SaleData")) }, + ], "any"), + "LoyaltyResult": o([ + { json: "CurrentBalance", js: "currentBalance", typ: u(undefined, 3.14) }, + { json: "LoyaltyAccount", js: "loyaltyAccount", typ: r("LoyaltyAccount") }, + { json: "LoyaltyAcquirerData", js: "loyaltyAcquirerData", typ: u(undefined, r("LoyaltyAcquirerData")) }, + { json: "LoyaltyAmount", js: "loyaltyAmount", typ: u(undefined, r("LoyaltyAmount")) }, + { json: "Rebates", js: "rebates", typ: u(undefined, r("Rebates")) }, + ], "any"), + "LoyaltyAcquirerData": o([ + { json: "ApprovalCode", js: "approvalCode", typ: u(undefined, "") }, + { json: "HostReconciliationID", js: "hostReconciliationId", typ: u(undefined, "") }, + { json: "LoyaltyAcquirerID", js: "loyaltyAcquirerId", typ: u(undefined, "") }, + { json: "LoyaltyTransactionID", js: "loyaltyTransactionId", typ: u(undefined, r("TransactionIdentification")) }, + ], "any"), + "Rebates": o([ + { json: "RebateLabel", js: "rebateLabel", typ: u(undefined, "") }, + { json: "SaleItemRebate", js: "saleItemRebate", typ: u(undefined, a(r("SaleItemRebate"))) }, + { json: "TotalRebate", js: "totalRebate", typ: u(undefined, 3.14) }, + ], "any"), + "SaleItemRebate": o([ + { json: "EanUpc", js: "eanUpc", typ: u(undefined, "") }, + { json: "ItemAmount", js: "itemAmount", typ: u(undefined, 3.14) }, + { json: "ItemID", js: "itemId", typ: 3.14 }, + { json: "ProductCode", js: "productCode", typ: "" }, + { json: "Quantity", js: "quantity", typ: u(undefined, 3.14) }, + { json: "RebateLabel", js: "rebateLabel", typ: u(undefined, "") }, + { json: "UnitOfMeasure", js: "unitOfMeasure", typ: u(undefined, r("UnitOfMeasureType")) }, + ], "any"), + "PoiData": o([ + { json: "POIReconciliationID", js: "poiReconciliationId", typ: u(undefined, "") }, + { json: "POITransactionID", js: "poiTransactionId", typ: r("TransactionIdentification") }, + ], "any"), + "PaymentResult": o([ + { json: "AmountsResp", js: "amountsResp", typ: u(undefined, r("AmountsResp")) }, + { json: "AuthenticationMethod", js: "authenticationMethod", typ: u(undefined, a(r("AuthenticationMethodType"))) }, + { json: "CapturedSignature", js: "capturedSignature", typ: u(undefined, r("CapturedSignature")) }, + { json: "CurrencyConversion", js: "currencyConversion", typ: u(undefined, a(r("CurrencyConversion"))) }, + { json: "CustomerLanguage", js: "customerLanguage", typ: u(undefined, "") }, + { json: "Instalment", js: "instalment", typ: u(undefined, r("Instalment")) }, + { json: "MerchantOverrideFlag", js: "merchantOverrideFlag", typ: u(undefined, true) }, + { json: "OnlineFlag", js: "onlineFlag", typ: u(undefined, true) }, + { json: "PaymentAcquirerData", js: "paymentAcquirerData", typ: u(undefined, r("PaymentAcquirerData")) }, + { json: "PaymentInstrumentData", js: "paymentInstrumentData", typ: u(undefined, r("PaymentInstrumentData")) }, + { json: "PaymentType", js: "paymentType", typ: u(undefined, r("PaymentType")) }, + { json: "ProtectedSignature", js: "protectedSignature", typ: u(undefined, r("ContentInformation")) }, + { json: "ValidityDate", js: "validityDate", typ: u(undefined, "") }, + ], "any"), + "AmountsResp": o([ + { json: "AuthorizedAmount", js: "authorizedAmount", typ: 3.14 }, + { json: "CashBackAmount", js: "cashBackAmount", typ: u(undefined, 3.14) }, + { json: "Currency", js: "currency", typ: u(undefined, "") }, + { json: "TipAmount", js: "tipAmount", typ: u(undefined, 3.14) }, + { json: "TotalFeesAmount", js: "totalFeesAmount", typ: u(undefined, 3.14) }, + { json: "TotalRebatesAmount", js: "totalRebatesAmount", typ: u(undefined, 3.14) }, + ], "any"), + "CapturedSignature": o([ + { json: "AreaSize", js: "areaSize", typ: u(undefined, r("AreaSize")) }, + { json: "SignaturePoint", js: "signaturePoint", typ: a(r("SignaturePoint")) }, + ], "any"), + "AreaSize": o([ + { json: "X", js: "x", typ: "" }, + { json: "Y", js: "y", typ: "" }, + ], "any"), + "SignaturePoint": o([ + { json: "X", js: "x", typ: "" }, + { json: "Y", js: "y", typ: "" }, + ], "any"), + "CurrencyConversion": o([ + { json: "Commission", js: "commission", typ: u(undefined, 3.14) }, + { json: "ConvertedAmount", js: "convertedAmount", typ: r("Amount") }, + { json: "CustomerApprovedFlag", js: "customerApprovedFlag", typ: u(undefined, true) }, + { json: "Declaration", js: "declaration", typ: u(undefined, "") }, + { json: "Markup", js: "markup", typ: u(undefined, 3.14) }, + { json: "Rate", js: "rate", typ: u(undefined, 3.14) }, + ], "any"), + "Amount": o([ + { json: "Currency", js: "currency", typ: u(undefined, "") }, + { json: "value", js: "value", typ: u(undefined, 3.14) }, + ], "any"), + "CardAcquisitionResponse": o([ + { json: "CustomerOrder", js: "customerOrder", typ: u(undefined, a(r("CustomerOrder"))) }, + { json: "LoyaltyAccount", js: "loyaltyAccount", typ: u(undefined, a(r("LoyaltyAccount"))) }, + { json: "PaymentBrand", js: "paymentBrand", typ: u(undefined, a("")) }, + { json: "PaymentInstrumentData", js: "paymentInstrumentData", typ: u(undefined, r("PaymentInstrumentData")) }, + { json: "POIData", js: "poiData", typ: r("PoiData") }, + { json: "Response", js: "response", typ: r("Response") }, + { json: "SaleData", js: "saleData", typ: r("SaleData") }, + ], "any"), + "CardReaderApduResponse": o([ + { json: "APDUData", js: "apduData", typ: u(undefined, "any") }, + { json: "CardStatusWords", js: "cardStatusWords", typ: "any" }, + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "CardReaderInitResponse": o([ + { json: "EntryMode", js: "entryMode", typ: u(undefined, a(r("EntryModeType"))) }, + { json: "ICCResetData", js: "iccResetData", typ: u(undefined, r("IccResetData")) }, + { json: "Response", js: "response", typ: r("Response") }, + { json: "TrackData", js: "trackData", typ: u(undefined, a(r("TrackData"))) }, + ], "any"), + "IccResetData": o([ + { json: "ATRValue", js: "atrValue", typ: u(undefined, "any") }, + { json: "CardStatusWords", js: "cardStatusWords", typ: u(undefined, "any") }, + ], "any"), + "CardReaderPowerOffResponse": o([ + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "DiagnosisResponse": o([ + { json: "HostStatus", js: "hostStatus", typ: u(undefined, a(r("HostStatus"))) }, + { json: "LoggedSaleID", js: "loggedSaleId", typ: u(undefined, a("")) }, + { json: "POIStatus", js: "poiStatus", typ: u(undefined, r("PoiStatus")) }, + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "HostStatus": o([ + { json: "AcquirerID", js: "acquirerId", typ: "" }, + { json: "IsReachableFlag", js: "isReachableFlag", typ: u(undefined, true) }, + ], "any"), + "PoiStatus": o([ + { json: "CardReaderOKFlag", js: "cardReaderOkFlag", typ: u(undefined, true) }, + { json: "CashHandlingDevice", js: "cashHandlingDevice", typ: u(undefined, a(r("CashHandlingDevice"))) }, + { json: "CommunicationOKFlag", js: "communicationOkFlag", typ: u(undefined, true) }, + { json: "FraudPreventionFlag", js: "fraudPreventionFlag", typ: u(undefined, true) }, + { json: "GlobalStatus", js: "globalStatus", typ: r("GlobalStatusType") }, + { json: "PEDOKFlag", js: "pedokFlag", typ: u(undefined, true) }, + { json: "PrinterStatus", js: "printerStatus", typ: u(undefined, r("PrinterStatusType")) }, + { json: "SecurityOKFlag", js: "securityOkFlag", typ: u(undefined, true) }, + ], "any"), + "CashHandlingDevice": o([ + { json: "CashHandlingOKFlag", js: "cashHandlingOkFlag", typ: true }, + { json: "CoinsOrBills", js: "coinsOrBills", typ: a(r("CoinsOrBills")) }, + { json: "Currency", js: "currency", typ: "" }, + ], "any"), + "CoinsOrBills": o([ + { json: "Number", js: "number", typ: 3.14 }, + { json: "UnitValue", js: "unitValue", typ: 3.14 }, + ], "any"), + "DisplayResponse": o([ + { json: "OutputResult", js: "outputResult", typ: a(r("OutputResult")) }, + ], "any"), + "OutputResult": o([ + { json: "Device", js: "device", typ: r("DeviceType") }, + { json: "InfoQualify", js: "infoQualify", typ: r("InfoQualifyType") }, + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "EnableServiceResponse": o([ + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "GetTotalsResponse": o([ + { json: "POIReconciliationID", js: "poiReconciliationId", typ: "" }, + { json: "Response", js: "response", typ: r("Response") }, + { json: "TransactionTotals", js: "transactionTotals", typ: u(undefined, a(r("TransactionTotals"))) }, + ], "any"), + "TransactionTotals": o([ + { json: "AcquirerID", js: "acquirerId", typ: u(undefined, "") }, + { json: "CardBrand", js: "cardBrand", typ: u(undefined, "") }, + { json: "ErrorCondition", js: "errorCondition", typ: u(undefined, r("ErrorConditionType")) }, + { json: "HostReconciliationID", js: "hostReconciliationId", typ: u(undefined, "") }, + { json: "LoyaltyCurrency", js: "loyaltyCurrency", typ: u(undefined, "") }, + { json: "LoyaltyTotals", js: "loyaltyTotals", typ: u(undefined, a(r("LoyaltyTotals"))) }, + { json: "LoyaltyUnit", js: "loyaltyUnit", typ: u(undefined, r("LoyaltyUnitType")) }, + { json: "OperatorID", js: "operatorId", typ: u(undefined, "") }, + { json: "PaymentCurrency", js: "paymentCurrency", typ: u(undefined, "") }, + { json: "PaymentInstrumentType", js: "paymentInstrumentType", typ: r("PaymentInstrumentType") }, + { json: "PaymentTotals", js: "paymentTotals", typ: u(undefined, a(r("PaymentTotals"))) }, + { json: "POIID", js: "poiid", typ: u(undefined, "") }, + { json: "SaleID", js: "saleId", typ: u(undefined, "") }, + { json: "ShiftNumber", js: "shiftNumber", typ: u(undefined, "") }, + { json: "TotalsGroupID", js: "totalsGroupId", typ: u(undefined, "") }, + ], "any"), + "LoyaltyTotals": o([ + { json: "TransactionAmount", js: "transactionAmount", typ: 3.14 }, + { json: "TransactionCount", js: "transactionCount", typ: 3.14 }, + { json: "TransactionType", js: "transactionType", typ: r("TransactionType") }, + ], "any"), + "PaymentTotals": o([ + { json: "TransactionAmount", js: "transactionAmount", typ: 3.14 }, + { json: "TransactionCount", js: "transactionCount", typ: 3.14 }, + { json: "TransactionType", js: "transactionType", typ: r("TransactionType") }, + ], "any"), + "InputResponse": o([ + { json: "InputResult", js: "inputResult", typ: r("InputResult") }, + { json: "OutputResult", js: "outputResult", typ: u(undefined, r("OutputResult")) }, + ], "any"), + "InputResult": o([ + { json: "Device", js: "device", typ: r("DeviceType") }, + { json: "InfoQualify", js: "infoQualify", typ: r("InfoQualifyType") }, + { json: "Input", js: "input", typ: u(undefined, r("Input")) }, + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "Input": o([ + { json: "ConfirmedFlag", js: "confirmedFlag", typ: u(undefined, true) }, + { json: "DigitInput", js: "digitInput", typ: u(undefined, "") }, + { json: "FunctionKey", js: "functionKey", typ: u(undefined, "") }, + { json: "InputCommand", js: "inputCommand", typ: r("InputCommandType") }, + { json: "MenuEntryNumber", js: "menuEntryNumber", typ: u(undefined, 3.14) }, + { json: "Password", js: "password", typ: u(undefined, r("ContentInformation")) }, + { json: "TextInput", js: "textInput", typ: u(undefined, "") }, + ], "any"), + "LoginResponse": o([ + { json: "POISystemData", js: "poiSystemData", typ: u(undefined, r("PoiSystemData")) }, + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "PoiSystemData": o([ + { json: "DateTime", js: "dateTime", typ: m("any") }, + { json: "POISoftware", js: "poiSoftware", typ: r("PoiSoftware") }, + { json: "POIStatus", js: "poiStatus", typ: u(undefined, r("PoiStatus")) }, + { json: "POITerminalData", js: "poiTerminalData", typ: u(undefined, r("PoiTerminalData")) }, + ], "any"), + "PoiSoftware": o([ + { json: "ApplicationName", js: "applicationName", typ: "" }, + { json: "CertificationCode", js: "certificationCode", typ: "" }, + { json: "ManufacturerID", js: "manufacturerId", typ: "" }, + { json: "SoftwareVersion", js: "softwareVersion", typ: "" }, + ], "any"), + "PoiTerminalData": o([ + { json: "POICapabilities", js: "poiCapabilities", typ: a(r("PoiCapabilitiesType")) }, + { json: "POIProfile", js: "poiProfile", typ: u(undefined, r("PoiProfile")) }, + { json: "POISerialNumber", js: "poiSerialNumber", typ: "" }, + { json: "TerminalEnvironment", js: "terminalEnvironment", typ: r("TerminalEnvironmentType") }, + ], "any"), + "PoiProfile": o([ + { json: "GenericProfile", js: "genericProfile", typ: u(undefined, r("GenericProfileType")) }, + { json: "ServiceProfiles", js: "serviceProfiles", typ: u(undefined, a(r("ServiceProfilesType"))) }, + ], "any"), + "LogoutResponse": o([ + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "LoyaltyResponse": o([ + { json: "LoyaltyResult", js: "loyaltyResult", typ: u(undefined, a(r("LoyaltyResult"))) }, + { json: "PaymentReceipt", js: "paymentReceipt", typ: u(undefined, a(r("PaymentReceipt"))) }, + { json: "POIData", js: "poiData", typ: r("PoiData") }, + { json: "Response", js: "response", typ: r("Response") }, + { json: "SaleData", js: "saleData", typ: r("SaleData") }, + ], "any"), + "PaymentReceipt": o([ + { json: "DocumentQualifier", js: "documentQualifier", typ: r("DocumentQualifierType") }, + { json: "IntegratedPrintFlag", js: "integratedPrintFlag", typ: u(undefined, true) }, + { json: "OutputContent", js: "outputContent", typ: r("OutputContent") }, + { json: "RequiredSignatureFlag", js: "requiredSignatureFlag", typ: u(undefined, true) }, + ], "any"), + "PinResponse": o([ + { json: "CardholderPIN", js: "cardholderPin", typ: u(undefined, r("CardholderPin")) }, + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "PaymentResponse": o([ + { json: "CustomerOrder", js: "customerOrder", typ: u(undefined, a(r("CustomerOrder"))) }, + { json: "LoyaltyResult", js: "loyaltyResult", typ: u(undefined, a(r("LoyaltyResult"))) }, + { json: "PaymentReceipt", js: "paymentReceipt", typ: u(undefined, a(r("PaymentReceipt"))) }, + { json: "PaymentResult", js: "paymentResult", typ: u(undefined, r("PaymentResult")) }, + { json: "POIData", js: "poiData", typ: r("PoiData") }, + { json: "Response", js: "response", typ: r("Response") }, + { json: "SaleData", js: "saleData", typ: r("SaleData") }, + ], "any"), + "PrintResponse": o([ + { json: "DocumentQualifier", js: "documentQualifier", typ: r("DocumentQualifierType") }, + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "ReconciliationResponse": o([ + { json: "POIReconciliationID", js: "poiReconciliationId", typ: u(undefined, "") }, + { json: "ReconciliationType", js: "reconciliationType", typ: r("ReconciliationType") }, + { json: "Response", js: "response", typ: r("Response") }, + { json: "TransactionTotals", js: "transactionTotals", typ: u(undefined, a(r("TransactionTotals"))) }, + ], "any"), + "ReversalResponse": o([ + { json: "CustomerOrderID", js: "customerOrderId", typ: u(undefined, "") }, + { json: "OriginalPOITransaction", js: "originalPoiTransaction", typ: u(undefined, r("OriginalPoiTransaction")) }, + { json: "PaymentReceipt", js: "paymentReceipt", typ: u(undefined, a(r("PaymentReceipt"))) }, + { json: "POIData", js: "poiData", typ: u(undefined, r("PoiData")) }, + { json: "Response", js: "response", typ: r("Response") }, + { json: "ReversedAmount", js: "reversedAmount", typ: u(undefined, 3.14) }, + ], "any"), + "SoundResponse": o([ + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "StoredValueResponse": o([ + { json: "POIData", js: "poiData", typ: r("PoiData") }, + { json: "Response", js: "response", typ: r("Response") }, + { json: "SaleData", js: "saleData", typ: r("SaleData") }, + { json: "StoredValueResult", js: "storedValueResult", typ: u(undefined, a(r("StoredValueResult"))) }, + ], "any"), + "StoredValueResult": o([ + { json: "Currency", js: "currency", typ: "" }, + { json: "EanUpc", js: "eanUpc", typ: u(undefined, "") }, + { json: "HostTransactionID", js: "hostTransactionId", typ: u(undefined, r("TransactionIdentification")) }, + { json: "ItemAmount", js: "itemAmount", typ: 3.14 }, + { json: "ProductCode", js: "productCode", typ: "" }, + { json: "StoredValueAccountStatus", js: "storedValueAccountStatus", typ: r("StoredValueAccountStatus") }, + { json: "StoredValueTransactionType", js: "storedValueTransactionType", typ: r("StoredValueTransactionType") }, + ], "any"), + "StoredValueAccountStatus": o([ + { json: "CurrentBalance", js: "currentBalance", typ: u(undefined, 3.14) }, + { json: "StoredValueAccountID", js: "storedValueAccountId", typ: r("StoredValueAccountId") }, + ], "any"), + "TransactionStatusResponse": o([ + { json: "MessageReference", js: "messageReference", typ: u(undefined, r("MessageReference")) }, + { json: "RepeatedMessageResponse", js: "repeatedMessageResponse", typ: u(undefined, r("RepeatedMessageResponse")) }, + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "RepeatedMessageResponse": o([ + { json: "MessageHeader", js: "messageHeader", typ: r("MessageHeader") }, + { json: "RepeatedResponseMessageBody", js: "repeatedResponseMessageBody", typ: r("RepeatedResponseMessageBody") }, + ], "any"), + "RepeatedResponseMessageBody": o([ + { json: "CardAcquisitionResponse", js: "cardAcquisitionResponse", typ: u(undefined, r("CardAcquisitionResponse")) }, + { json: "CardReaderAPDUResponse", js: "cardReaderApduResponse", typ: u(undefined, r("CardReaderApduResponse")) }, + { json: "LoyaltyResponse", js: "loyaltyResponse", typ: u(undefined, r("LoyaltyResponse")) }, + { json: "PaymentResponse", js: "paymentResponse", typ: u(undefined, r("PaymentResponse")) }, + { json: "ReversalResponse", js: "reversalResponse", typ: u(undefined, r("ReversalResponse")) }, + { json: "StoredValueResponse", js: "storedValueResponse", typ: u(undefined, r("StoredValueResponse")) }, + ], "any"), + "TransmitResponse": o([ + { json: "Message", js: "message", typ: u(undefined, "any") }, + { json: "Response", js: "response", typ: r("Response") }, + ], "any"), + "TerminalApiSecuredRequest": o([ + { json: "SaleToPOIRequest", js: "saleToPoiRequest", typ: u(undefined, r("SaleToPoiSecuredMessage")) }, + ], "any"), + "SaleToPoiSecuredMessage": o([ + { json: "MessageHeader", js: "messageHeader", typ: u(undefined, r("MessageHeader")) }, + { json: "NexoBlob", js: "nexoBlob", typ: u(undefined, "") }, + { json: "SecurityTrailer", js: "securityTrailer", typ: u(undefined, r("SecurityTrailer")) }, + ], "any"), + "SecurityTrailer": o([ + { json: "AdyenCryptoVersion", js: "adyenCryptoVersion", typ: u(undefined, 3.14) }, + { json: "Hmac", js: "hmac", typ: u(undefined, "any") }, + { json: "KeyIdentifier", js: "keyIdentifier", typ: u(undefined, "") }, + { json: "KeyVersion", js: "keyVersion", typ: u(undefined, 3.14) }, + { json: "Nonce", js: "nonce", typ: u(undefined, "any") }, + ], "any"), + "TerminalApiSecuredResponse": o([ + { json: "SaleToPOIResponse", js: "saleToPoiResponse", typ: u(undefined, r("SaleToPoiSecuredMessage")) }, + ], "any"), + "NexoDerivedKey": o([ + { json: "CipherKey", js: "cipherKey", typ: u(undefined, "any") }, + { json: "HmacKey", js: "hmacKey", typ: u(undefined, "any") }, + { json: "Iv", js: "iv", typ: u(undefined, "any") }, + ], "any"), + "SecurityKey": o([ + { json: "adyenCryptoVersion", js: "adyenCryptoVersion", typ: u(undefined, 3.14) }, + { json: "keyIdentifier", js: "keyIdentifier", typ: u(undefined, "") }, + { json: "keyVersion", js: "keyVersion", typ: u(undefined, 3.14) }, + { json: "passphrase", js: "passphrase", typ: u(undefined, "") }, + ], "any"), + "DeviceType": [ + "CashierDisplay", + "CashierInput", + "CustomerDisplay", + "CustomerInput", + ], + "InfoQualifyType": [ + "CustomerAssistance", + "Display", + "Document", + "Error", + "Input", + "POIReplication", + "Receipt", + "Sound", + "Status", + "Voucher", + ], + "MenuEntryTagType": [ + "NonSelectable", + "NonSelectableSubMenu", + "Selectable", + "SubMenu", + ], + "OutputFormatType": [ + "BarCode", + "MessageRef", + "Text", + "XHTML", + ], + "AlignmentType": [ + "Centred", + "Justified", + "Left", + "Right", + ], + "CharacterHeightType": [ + "DoubleHeight", + "HalfHeight", + "SingleHeight", + ], + "CharacterStyleType": [ + "Bold", + "Italic", + "Normal", + "Underlined", + ], + "CharacterWidthType": [ + "DoubleWidth", + "SingleWidth", + ], + "ColorType": [ + "Black", + "Blue", + "Cyan", + "Green", + "Magenta", + "Red", + "White", + "Yellow", + ], + "BarcodeType": [ + "Code128", + "Code25", + "EAN13", + "EAN8", + "PDF417", + "QRCODE", + "UPCA", + ], + "MessageCategoryType": [ + "Abort", + "Admin", + "BalanceInquiry", + "Batch", + "CardAcquisition", + "CardReaderAPDU", + "CardReaderInit", + "CardReaderPowerOff", + "Diagnosis", + "Display", + "EnableService", + "Event", + "GetTotals", + "Input", + "InputUpdate", + "Login", + "Logout", + "Loyalty", + "Payment", + "PIN", + "Print", + "Reconciliation", + "Reversal", + "Sound", + "StoredValue", + "TransactionStatus", + "Transmit", + ], + "EntryModeType": [ + "Contactless", + "File", + "ICC", + "Keyed", + "MagStripe", + "Manual", + "Mobile", + "RFID", + "Scanned", + "SynchronousICC", + "Tapped", + ], + "IdentificationSupportType": [ + "HybridCard", + "LinkedCard", + "LoyaltyCard", + "NoCard", + ], + "IdentificationType": [ + "AccountNumber", + "BarCode", + "ISOTrack2", + "PAN", + "PhoneNumber", + ], + "AccountType": [ + "CardTotals", + "Checking", + "CreditCard", + "Default", + "EpurseCard", + "Investment", + "Savings", + "Universal", + ], + "TokenRequestedType": [ + "Customer", + "Transaction", + ], + "ContentType": [ + "id-ct-authData", + "id-data", + "id-digestedData", + "id-encryptedData", + "id-envelopedData", + "id-signedData", + ], + "AlgorithmType": [ + "des-ede3-cbc", + "des-ede3-ecb", + "id-dukpt-wrap", + "id-retail-cbc-mac", + "id-retail-cbc-mac-sha-256", + "id-sha256", + "id-ukpt-wrap ", + "rsaEncryption", + "sha256WithRSAEncryption", + ], + "VersionType": [ + "v0", + "v1", + "v2", + "v3", + "v4", + "v5", + ], + "TrackFormatType": [ + "AAMVA", + "CMC-7", + "E-13B", + "ISO", + "JIS-I", + "JIS-II", + ], + "CheckTypeCodeType": [ + "Company", + "Personal", + ], + "PaymentInstrumentType": [ + "Card", + "Cash", + "Check", + "Mobile", + "StoredValue", + ], + "LoyaltyUnitType": [ + "Monetary", + "Point", + ], + "LoyaltyTransactionType": [ + "Award", + "AwardRefund", + "Rebate", + "RebateRefund", + "Redemption", + "RedemptionRefund", + ], + "UnitOfMeasureType": [ + "Case", + "Centilitre", + "Centimetre", + "Foot", + "Gram", + "Inch", + "Kilogram", + "Kilometre", + "Litre", + "Meter", + "Mile", + "Other", + "Ounce", + "Pint", + "Pound", + "Quart", + "UKGallon", + "USGallon", + "Yard", + ], + "ForceEntryModeType": [ + "CheckReader", + "Contactless", + "File", + "ICC", + "Keyed", + "MagStripe", + "Manual", + "RFID", + "Scanned", + "SynchronousICC", + "Tapped", + ], + "LoyaltyHandlingType": [ + "Allowed", + "Forbidden", + "Processed", + "Proposed", + "Required", + ], + "CustomerOrderReqType": [ + "Both", + "Closed", + "Open", + ], + "SaleCapabilitiesType": [ + "CashierDisplay", + "CashierError", + "CashierInput", + "CashierStatus", + "CustomerAssistance", + "CustomerDisplay", + "CustomerError", + "CustomerInput", + "EMVContactless", + "ICC", + "MagStripe", + "POIReplication", + "PrinterDocument", + "PrinterReceipt", + "PrinterVoucher", + ], + "GenericProfileType": [ + "Basic", + "Extended", + "Standard", + ], + "ServiceProfilesType": [ + "Batch", + "CardReader", + "Communication", + "Loyalty", + "OneTimeRes", + "PIN", + "Reservation", + "Sound", + "StoredValue", + "Synchro", + ], + "TerminalEnvironmentType": [ + "Attended", + "SemiAttended", + "Unattended", + ], + "InstalmentType": [ + "DeferredInstalments", + "EqualInstalments", + "InequalInstalments", + ], + "PeriodUnitType": [ + "Annual", + "Daily", + "Monthly", + "Weekly", + ], + "PaymentType": [ + "CashAdvance", + "CashDeposit", + "Completion", + "FirstReservation", + "Instalment", + "IssuerInstalment", + "Normal", + "OneTimeReservation", + "PaidOut", + "Recurring", + "Refund", + "UpdateReservation", + ], + "ReversalReasonType": [ + "CustCancel", + "Malfunction", + "MerchantCancel", + "Unable2Compl", + ], + "ServicesEnabledType": [ + "CardAcquisition", + "Loyalty", + "Payment", + ], + "TransactionActionType": [ + "AbortTransaction", + "StartTransaction", + ], + "EventToNotifyType": [ + "Abort", + "BeginMaintenance", + "CardInserted", + "CardRemoved", + "Completed", + "CustomerLanguage", + "EndMaintenance", + "Initialised", + "KeyPressed", + "OutOfOrder", + "Reject", + "SaleAdmin", + "SaleWakeUp", + "SecurityAlarm", + "Shutdown", + "StopAssistance", + ], + "TotalDetailsType": [ + "OperatorID", + "POIID", + "SaleID", + "ShiftNumber", + "TotalsGroupID", + ], + "InputCommandType": [ + "DecimalString", + "DigitString", + "GetAnyKey", + "GetConfirmation", + "GetFunctionKey", + "GetMenuEntry", + "Password", + "SiteManager", + "TextString", + ], + "MessageClassType": [ + "Device", + "Event", + "Service", + ], + "MessageType": [ + "Notification", + "Request", + "Response", + ], + "PinFormatType": [ + "ISO0", + "ISO1", + "ISO2", + "ISO3", + ], + "PinRequestType": [ + "PINEnter", + "PINVerify", + "PINVerifyOnly", + ], + "DocumentQualifierType": [ + "CashierReceipt", + "CustomerReceipt", + "Document", + "Journal", + "SaleReceipt", + "Voucher", + ], + "ResponseModeType": [ + "Immediate", + "NotRequired", + "PrintEnd", + "SoundEnd", + ], + "ReconciliationType": [ + "AcquirerReconciliation", + "AcquirerSynchronisation", + "PreviousReconciliation", + "SaleReconciliation", + ], + "SoundActionType": [ + "SetDefaultVolume", + "StartSound", + "StopSound", + ], + "SoundFormatType": [ + "MessageRef", + "SoundRef", + "Text", + ], + "StoredValueAccountType": [ + "GiftCard", + "Other", + "PhoneCard", + ], + "StoredValueTransactionType": [ + "Activate", + "Duplicate", + "Load", + "Reserve", + "Reverse", + "Unload", + ], + "ErrorConditionType": [ + "Aborted", + "Busy", + "Cancel", + "DeviceOut", + "InProgress", + "InsertedCard", + "InvalidCard", + "LoggedOut", + "MessageFormat", + "NotAllowed", + "NotFound", + "PaymentRestriction", + "Refusal", + "UnavailableDevice", + "UnavailableService", + "UnreachableHost", + "WrongPIN", + ], + "ResultType": [ + "Failure", + "Partial", + "Success", + ], + "AuthenticationMethodType": [ + "Bypass", + "ManualVerification", + "MerchantAuthentication", + "OfflinePIN", + "OnLinePIN", + "PaperSignature", + "SecureCertificate", + "SecureNoCertificate", + "SecuredChannel", + "SignatureCapture", + "UnknownMethod", + ], + "GlobalStatusType": [ + "Busy", + "Maintenance", + "OK", + "Unreachable", + ], + "PrinterStatusType": [ + "NoPaper", + "OK", + "OutOfOrder", + "PaperJam", + "PaperLow", + ], + "TransactionType": [ + "Award", + "CashAdvance", + "CompletedDeffered", + "CompletedReservation", + "Credit", + "Debit", + "Declined", + "Failed", + "FirstReservation", + "IssuerInstalment", + "OneTimeReservation", + "Rebate", + "Redemption", + "ReverseAward", + "ReverseCredit", + "ReverseDebit", + "ReverseRebate", + "ReverseRedemption", + "UpdateReservation", + ], + "PoiCapabilitiesType": [ + "CashHandling", + "CashierDisplay", + "CashierError", + "CashierInput", + "CustomerDisplay", + "CustomerError", + "CustomerInput", + "EMVContactless", + "ICC", + "MagStripe", + "PrinterDocument", + "PrinterReceipt", + "PrinterVoucher", + ], +}; +//# sourceMappingURL=terminal.js.map \ No newline at end of file diff --git a/dist/lib/typings/terminal.js.map b/dist/lib/typings/terminal.js.map new file mode 100644 index 0000000..0fb04c9 --- /dev/null +++ b/dist/lib/typings/terminal.js.map @@ -0,0 +1 @@ +{"version":3,"file":"terminal.js","sourceRoot":"","sources":["../../../src/typings/terminal.ts"],"names":[],"mappings":";AAAA,sBAAsB;AACtB,EAAE;AACF,s4HAAs4H;AACt4H,EAAE;AACF,mEAAmE;AACnE,qEAAqE;AACrE,iFAAiF;AACjF,mFAAmF;AACnF,2DAA2D;AAC3D,6EAA6E;AAC7E,qDAAqD;AACrD,6DAA6D;AAC7D,+DAA+D;AAC/D,iEAAiE;AACjE,yDAAyD;AACzD,uDAAuD;AACvD,yEAAyE;AACzE,uDAAuD;AACvD,2EAA2E;AAC3E,uDAAuD;AACvD,+DAA+D;AAC/D,2DAA2D;AAC3D,uEAAuE;AACvE,iEAAiE;AACjE,+DAA+D;AAC/D,uDAAuD;AACvD,qDAAqD;AACrD,uDAAuD;AACvD,yDAAyD;AACzD,2DAA2D;AAC3D,2DAA2D;AAC3D,mDAAmD;AACnD,uDAAuD;AACvD,yEAAyE;AACzE,yEAAyE;AACzE,iFAAiF;AACjF,yEAAyE;AACzE,6DAA6D;AAC7D,uDAAuD;AACvD,mEAAmE;AACnE,+EAA+E;AAC/E,6DAA6D;AAC7D,mEAAmE;AACnE,2EAA2E;AAC3E,yDAAyD;AACzD,6EAA6E;AAC7E,yDAAyD;AACzD,iEAAiE;AACjE,6DAA6D;AAC7D,yEAAyE;AACzE,iEAAiE;AACjE,yDA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KACb;IACD,YAAY,EAAE;QACV,SAAS;QACT,SAAS;QACT,SAAS;KACZ;IACD,0BAA0B,EAAE;QACxB,QAAQ;QACR,oBAAoB;QACpB,wBAAwB;QACxB,YAAY;QACZ,WAAW;QACX,gBAAgB;QAChB,mBAAmB;QACnB,qBAAqB;QACrB,gBAAgB;QAChB,kBAAkB;QAClB,eAAe;KAClB;IACD,kBAAkB,EAAE;QAChB,MAAM;QACN,aAAa;QACb,IAAI;QACJ,aAAa;KAChB;IACD,mBAAmB,EAAE;QACjB,SAAS;QACT,IAAI;QACJ,YAAY;QACZ,UAAU;QACV,UAAU;KACb;IACD,iBAAiB,EAAE;QACf,OAAO;QACP,aAAa;QACb,mBAAmB;QACnB,sBAAsB;QACtB,QAAQ;QACR,OAAO;QACP,UAAU;QACV,QAAQ;QACR,kBAAkB;QAClB,kBAAkB;QAClB,oBAAoB;QACpB,QAAQ;QACR,YAAY;QACZ,cAAc;QACd,eAAe;QACf,cAAc;QACd,eAAe;QACf,mBAAmB;QACnB,mBAAmB;KACtB;IACD,qBAAqB,EAAE;QACnB,cAAc;QACd,gBAAgB;QAChB,cAAc;QACd,cAAc;QACd,iBAAiB;QACjB,eAAe;QACf,eAAe;QACf,gBAAgB;QAChB,KAAK;QACL,WAAW;QACX,iBAAiB;QACjB,gBAAgB;QAChB,gBAAgB;KACnB;CACJ,CAAC"} \ No newline at end of file diff --git a/package.json b/package.json index 7fc54aa..f671bbf 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,10 @@ "build": "npm run clean && tsc && tsc -m es6 --outDir dist/lib-esm && webpack", "lint": "eslint 'src/**/*.ts'", "lint:fix": "eslint --fix 'src/**/*.ts'", - "test": "jest" + "test": "jest", + "preversion": "npm test", + "version": "npm run build && git add -A dist", + "postversion": "git push && git push --tags && rm -rf build/temp" }, "author": "Ricardo Ambrogi", "license": "MIT",