updated terminal api types. fixed capitalization in service classes

This commit is contained in:
Wouter Boereboom
2021-07-21 14:01:10 +02:00
parent 4882931b1f
commit a21f14e143
235 changed files with 3168 additions and 7535 deletions

View File

@@ -60,24 +60,24 @@ export const createBasicAuthClient = (): Client => {
const id = Math.floor(Math.random() * Math.floor(10000000)).toString();
const getMessageHeader = ({ messageCategory = MessageCategoryType.Payment }: { messageCategory?: MessageCategoryType } = {}): MessageHeader => ({
messageCategory,
messageClass: MessageClassType.Service,
messageType: MessageType.Request,
pOIID: process.env.ADYEN_TERMINAL_POIID!,
protocolVersion: "3.0",
saleID: id,
serviceID: id,
MessageCategory: messageCategory,
MessageClass: MessageClassType.Service,
MessageType: MessageType.Request,
POIID: process.env.ADYEN_TERMINAL_POIID!,
ProtocolVersion: "3.0",
SaleID: id,
ServiceID: id,
});
const timestamp = (): string => new Date().toISOString();
const transactionIdentification: TransactionIdentification = {
timeStamp: timestamp(),
transactionID: id,
TimeStamp: timestamp(),
TransactionID: id,
};
const saleData: SaleData = {
saleTransactionID: transactionIdentification,
saleToAcquirerData: {
SaleTransactionID: transactionIdentification,
SaleToAcquirerData: {
applicationInfo: {
merchantApplication: {
version: "1",
@@ -92,43 +92,43 @@ const saleData: SaleData = {
};
const amountsReq: AmountsReq = {
currency: "EUR",
requestedAmount: 1,
Currency: "EUR",
RequestedAmount: 1,
};
const paymentTransaction: PaymentTransaction = {
amountsReq,
AmountsReq: amountsReq,
};
const paymentRequest: PaymentRequest = {
paymentTransaction,
saleData,
PaymentTransaction: paymentTransaction,
SaleData: saleData,
};
const getReversalRequest = (poiTransaction: TransactionIdentification): ReversalRequest => ({
originalPOITransaction: {
pOITransactionID: {
transactionID: poiTransaction.transactionID,
timeStamp: poiTransaction.timeStamp
OriginalPOITransaction: {
POITransactionID: {
TransactionID: poiTransaction.TransactionID,
TimeStamp: poiTransaction.TimeStamp
},
},
reversalReason: ReversalReasonType.MerchantCancel
ReversalReason: ReversalReasonType.MerchantCancel
});
const getSaleToPOIRequest = (messageHeader: MessageHeader, request: Partial<SaleToPOIRequest>): SaleToPOIRequest => ({
messageHeader,
MessageHeader: messageHeader,
...request
});
export const createTerminalAPIPaymentRequest = (): TerminalApiRequest => {
const messageHeader = getMessageHeader();
const saleToPOIRequest = getSaleToPOIRequest(messageHeader, { paymentRequest });
return { saleToPOIRequest };
const saleToPOIRequest = getSaleToPOIRequest(messageHeader, { PaymentRequest: paymentRequest });
return { SaleToPOIRequest: saleToPOIRequest };
};
export const createTerminalAPIRefundRequest = (transactionIdentification: TransactionIdentification): TerminalApiRequest => {
const messageHeader = getMessageHeader({ messageCategory: MessageCategoryType.Reversal });
const saleToPOIRequest = getSaleToPOIRequest(messageHeader, { reversalRequest: getReversalRequest(transactionIdentification) });
return { saleToPOIRequest };
const saleToPOIRequest = getSaleToPOIRequest(messageHeader, { ReversalRequest: getReversalRequest(transactionIdentification) });
return { SaleToPOIRequest: saleToPOIRequest };
};

View File

@@ -64,8 +64,8 @@ describe("Terminal Cloud API", (): void => {
const terminalAPIPaymentRequest = createTerminalAPIPaymentRequest();
const terminalAPIResponse: TerminalApiResponse = await terminalCloudAPI.sync(terminalAPIPaymentRequest);
expect(terminalAPIResponse.saleToPOIResponse?.paymentResponse).toBeDefined();
expect(terminalAPIResponse.saleToPOIResponse?.messageHeader).toBeDefined();
expect(terminalAPIResponse.SaleToPOIResponse?.PaymentResponse).toBeDefined();
expect(terminalAPIResponse.SaleToPOIResponse?.MessageHeader).toBeDefined();
});
test.each([isCI, true])("should make an async refund request, isMock: %p", async (isMock): Promise<void> => {
@@ -77,9 +77,9 @@ describe("Terminal Cloud API", (): void => {
scope.post("/sync").reply(200, syncRefund);
const terminalAPIRefundRequest = createTerminalAPIRefundRequest(terminalAPIResponse.saleToPOIResponse?.paymentResponse?.pOIData.pOITransactionID!);
const terminalAPIRefundRequest = createTerminalAPIRefundRequest(terminalAPIResponse.SaleToPOIResponse?.PaymentResponse?.POIData.POITransactionID!);
const terminalAPIRefundResponse = await terminalCloudAPI.sync(terminalAPIRefundRequest);
expect(terminalAPIRefundResponse.saleToPOIResponse?.reversalResponse).toBeDefined();
expect(terminalAPIRefundResponse.SaleToPOIResponse?.ReversalResponse).toBeDefined();
});
});

View File

@@ -52,17 +52,17 @@ describe("Terminal Local API", (): void => {
const terminalAPIPaymentRequest = createTerminalAPIPaymentRequest();
const securityKey: SecurityKey = {
adyenCryptoVersion: 0,
keyIdentifier: "CryptoKeyIdentifier12345",
keyVersion: 0,
passphrase: "p@ssw0rd123456",
AdyenCryptoVersion: 0,
KeyIdentifier: "CryptoKeyIdentifier12345",
KeyVersion: 0,
Passphrase: "p@ssw0rd123456",
};
const terminalApiResponse: TerminalApiResponse =
await terminalLocalAPI.request(terminalAPIPaymentRequest, securityKey);
expect(terminalApiResponse.saleToPOIResponse?.paymentResponse).toBeDefined();
expect(terminalApiResponse.saleToPOIResponse?.messageHeader).toBeDefined();
expect(terminalApiResponse.SaleToPOIResponse?.PaymentResponse).toBeDefined();
expect(terminalApiResponse.SaleToPOIResponse?.MessageHeader).toBeDefined();
});
test.each([isCI, true])("should return NexoCryptoException, isMock: %p", async (isMock: boolean): Promise<void> => {
@@ -71,10 +71,10 @@ describe("Terminal Local API", (): void => {
const terminalAPIPaymentRequest = createTerminalAPIPaymentRequest();
const securityKey: SecurityKey = {
adyenCryptoVersion: 0,
keyIdentifier: "CryptoKeyIdentifier12345",
keyVersion: 0,
passphrase: "p@ssw0rd123456",
AdyenCryptoVersion: 0,
KeyIdentifier: "CryptoKeyIdentifier12345",
KeyVersion: 0,
Passphrase: "p@ssw0rd123456",
};
try {

View File

@@ -41,37 +41,37 @@ class NexoCrypto {
saleToPoiMessageJson: string,
securityKey: SecurityKey,
): SaleToPOISecuredMessage {
const derivedKey: NexoDerivedKey = NexoDerivedKeyGenerator.deriveKeyMaterial(securityKey.passphrase);
const derivedKey: NexoDerivedKey = NexoDerivedKeyGenerator.deriveKeyMaterial(securityKey.Passphrase);
const saleToPoiMessageByteArray = Buffer.from(saleToPoiMessageJson, "utf-8");
const ivNonce = NexoCrypto.generateRandomIvNonce();
const encryptedSaleToPoiMessage = NexoCrypto.crypt(saleToPoiMessageByteArray, derivedKey, ivNonce, Modes.ENCRYPT);
const encryptedSaleToPoiMessageHmac = NexoCrypto.hmac(saleToPoiMessageByteArray, derivedKey);
const securityTrailer: SecurityTrailer = {
adyenCryptoVersion: securityKey.adyenCryptoVersion,
hmac: encryptedSaleToPoiMessageHmac.toString("base64"),
keyIdentifier: securityKey.keyIdentifier,
keyVersion: securityKey.keyVersion,
nonce: ivNonce.toString("base64"),
AdyenCryptoVersion: securityKey.AdyenCryptoVersion,
Hmac: encryptedSaleToPoiMessageHmac.toString("base64"),
KeyIdentifier: securityKey.KeyIdentifier,
KeyVersion: securityKey.KeyVersion,
Nonce: ivNonce.toString("base64"),
};
return {
messageHeader,
nexoBlob: encryptedSaleToPoiMessage.toString("base64"),
securityTrailer,
MessageHeader: messageHeader,
NexoBlob: encryptedSaleToPoiMessage.toString("base64"),
SecurityTrailer: securityTrailer,
};
}
public decrypt(saleToPoiSecureMessage: SaleToPOISecuredMessage, securityKey: SecurityKey): string {
NexoCrypto.validateSecurityKey(securityKey);
const encryptedSaleToPoiMessageByteArray = Buffer.from(saleToPoiSecureMessage.nexoBlob, "base64");
const derivedKey = NexoDerivedKeyGenerator.deriveKeyMaterial(securityKey.passphrase);
const ivNonce = Buffer.from(saleToPoiSecureMessage.securityTrailer.nonce, "base64");
const encryptedSaleToPoiMessageByteArray = Buffer.from(saleToPoiSecureMessage.NexoBlob, "base64");
const derivedKey = NexoDerivedKeyGenerator.deriveKeyMaterial(securityKey.Passphrase);
const ivNonce = Buffer.from(saleToPoiSecureMessage.SecurityTrailer.Nonce, "base64");
const decryptedSaleToPoiMessageByteArray =
NexoCrypto.crypt(encryptedSaleToPoiMessageByteArray, derivedKey, ivNonce, Modes.DECRYPT);
const receivedHmac = Buffer.from(saleToPoiSecureMessage.securityTrailer.hmac, "base64");
const receivedHmac = Buffer.from(saleToPoiSecureMessage.SecurityTrailer.Hmac, "base64");
this.validateHmac(receivedHmac, decryptedSaleToPoiMessageByteArray, derivedKey);
return decryptedSaleToPoiMessageByteArray.toString("utf-8");
@@ -79,10 +79,10 @@ class NexoCrypto {
private static validateSecurityKey(securityKey: SecurityKey): void {
const isValid = securityKey
&& securityKey.passphrase
&& securityKey.keyIdentifier
&& !isNaN(securityKey.keyVersion)
&& !isNaN(securityKey.adyenCryptoVersion);
&& securityKey.Passphrase
&& securityKey.KeyIdentifier
&& !isNaN(securityKey.KeyVersion)
&& !isNaN(securityKey.AdyenCryptoVersion);
if (!isValid) {
throw new InvalidSecurityKeyException("Invalid Security Key");
}

View File

@@ -37,7 +37,7 @@ class TerminalCloudAPI extends ApiKeyAuthenticatedService {
}
private static setApplicationInfo(request: TerminalApiRequest): TerminalApiRequest {
if (request.saleToPOIRequest.paymentRequest) {
if (request.SaleToPOIRequest.PaymentRequest) {
const applicationInfo = new ApplicationInfo();
const saleToAcquirerData = {applicationInfo};
const saleData = {saleToAcquirerData};

View File

@@ -54,7 +54,7 @@ class TerminalLocalAPI extends ApiKeyAuthenticatedService {
}
const saleToPoiSecuredMessage: SaleToPOISecuredMessage = NexoCrypto.encrypt(
terminalApiRequest.saleToPOIRequest.messageHeader,
terminalApiRequest.SaleToPOIRequest.MessageHeader,
JSON.stringify(formattedRequest),
securityKey,
);
@@ -72,7 +72,7 @@ class TerminalLocalAPI extends ApiKeyAuthenticatedService {
ObjectSerializer.deserialize(jsonResponse, "TerminalApiSecuredResponse");
const response = this.nexoCrypto.decrypt(
terminalApiSecuredResponse.saleToPOIResponse,
terminalApiSecuredResponse.SaleToPOIResponse,
securityKey,
);

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,29 +11,29 @@
*/
import { DisplayOutput } from "./displayOutput";
import { MessageReference } from "./messageReference";
import { DisplayOutput } from './displayOutput';
import { MessageReference } from './messageReference';
export class AbortRequest {
"abortReason": string;
"displayOutput"?: DisplayOutput;
"messageReference": MessageReference;
'AbortReason': string;
'DisplayOutput'?: DisplayOutput;
'MessageReference': MessageReference;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "abortReason",
"name": "AbortReason",
"baseName": "AbortReason",
"type": "string"
},
{
"name": "displayOutput",
"name": "DisplayOutput",
"baseName": "DisplayOutput",
"type": "DisplayOutput"
},
{
"name": "messageReference",
"name": "MessageReference",
"baseName": "MessageReference",
"type": "MessageReference"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,12 +13,12 @@
export enum AccountType {
CardTotals = "CardTotals" as any,
Checking = "Checking" as any,
CreditCard = "CreditCard" as any,
Default = "Default" as any,
EpurseCard = "EpurseCard" as any,
Investment = "Investment" as any,
Savings = "Savings" as any,
Universal = "Universal" as any
CardTotals = <any> 'CardTotals',
Checking = <any> 'Checking',
CreditCard = <any> 'CreditCard',
Default = <any> 'Default',
EpurseCard = <any> 'EpurseCard',
Investment = <any> 'Investment',
Savings = <any> 'Savings',
Universal = <any> 'Universal'
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,13 +13,13 @@
export class AdminRequest {
"serviceIdentification"?: string;
'ServiceIdentification'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "serviceIdentification",
"name": "ServiceIdentification",
"baseName": "ServiceIdentification",
"type": "string"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,16 +11,16 @@
*/
import { Response } from "./response";
import { Response } from './response';
export class AdminResponse {
"response": Response;
'Response': Response;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "response",
"name": "Response",
"baseName": "Response",
"type": "Response"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,23 +11,23 @@
*/
import { AlgorithmType } from "./algorithmType";
import { Parameter } from "./parameter";
import { AlgorithmType } from './algorithmType';
import { Parameter } from './parameter';
export class AlgorithmIdentifier {
"algorithm": AlgorithmType;
"parameter"?: Parameter;
'Algorithm': AlgorithmType;
'Parameter'?: Parameter;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "algorithm",
"name": "Algorithm",
"baseName": "Algorithm",
"type": "AlgorithmType"
},
{
"name": "parameter",
"name": "Parameter",
"baseName": "Parameter",
"type": "Parameter"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,13 +13,13 @@
export enum AlgorithmType {
DesEde3Cbc = "Des-ede3-cbc" as any,
DesEde3Ecb = "Des-ede3-ecb" as any,
IdDukptWrap = "Id-dukpt-wrap" as any,
IdRetailCbcMAC = "Id-retail-cbc-MAC" as any,
IdRetailCbcMACSha256 = "Id-retail-cbc-MAC-sha-256" as any,
IdSha256 = "Id-sha256" as any,
IdUkptWrap = "id-ukpt-wrap " as any,
RsaEncryption = "RsaEncryption" as any,
Sha256WithRSAEncryption = "Sha256WithRSAEncryption" as any
DesEde3Cbc = <any> 'Des-ede3-cbc',
DesEde3Ecb = <any> 'Des-ede3-ecb',
IdDukptWrap = <any> 'Id-dukpt-wrap',
IdRetailCbcMac = <any> 'Id-retail-cbc-MAC',
IdRetailCbcMacSha256 = <any> 'Id-retail-cbc-MAC-sha-256',
IdSha256 = <any> 'Id-sha256',
IdUkptWrap = <any> 'id-ukpt-wrap ',
RsaEncryption = <any> 'RsaEncryption',
Sha256WithRsaEncryption = <any> 'Sha256WithRSAEncryption'
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,8 +13,8 @@
export enum AlignmentType {
Centred = "Centred" as any,
Justified = "Justified" as any,
Left = "Left" as any,
Right = "Right" as any
Centred = <any> 'Centred',
Justified = <any> 'Justified',
Left = <any> 'Left',
Right = <any> 'Right'
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,31 +13,31 @@
export class AllowedProduct {
"additionalProductInfo"?: string;
"eanUpc"?: string;
"productCode": string;
"productLabel"?: string;
'AdditionalProductInfo'?: string;
'EanUpc'?: string;
'ProductCode': string;
'ProductLabel'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "additionalProductInfo",
"name": "AdditionalProductInfo",
"baseName": "AdditionalProductInfo",
"type": "string"
},
{
"name": "eanUpc",
"name": "EanUpc",
"baseName": "EanUpc",
"type": "string"
},
{
"name": "productCode",
"name": "ProductCode",
"baseName": "ProductCode",
"type": "string"
},
{
"name": "productLabel",
"name": "ProductLabel",
"baseName": "ProductLabel",
"type": "string"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,19 +13,19 @@
export class Amount {
"currency"?: string;
"value"?: number;
'Currency'?: string;
'Value'?: number;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "currency",
"name": "Currency",
"baseName": "Currency",
"type": "string"
},
{
"name": "value",
"name": "Value",
"baseName": "Value",
"type": "number"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,55 +13,55 @@
export class AmountsReq {
"cashBackAmount"?: number;
"currency": string;
"maximumCashBackAmount"?: number;
"minimumAmountToDeliver"?: number;
"minimumSplitAmount"?: number;
"paidAmount"?: number;
"requestedAmount"?: number;
"tipAmount"?: number;
'CashBackAmount'?: number;
'Currency': string;
'MaximumCashBackAmount'?: number;
'MinimumAmountToDeliver'?: number;
'MinimumSplitAmount'?: number;
'PaidAmount'?: number;
'RequestedAmount'?: number;
'TipAmount'?: number;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "cashBackAmount",
"name": "CashBackAmount",
"baseName": "CashBackAmount",
"type": "number"
},
{
"name": "currency",
"name": "Currency",
"baseName": "Currency",
"type": "string"
},
{
"name": "maximumCashBackAmount",
"name": "MaximumCashBackAmount",
"baseName": "MaximumCashBackAmount",
"type": "number"
},
{
"name": "minimumAmountToDeliver",
"name": "MinimumAmountToDeliver",
"baseName": "MinimumAmountToDeliver",
"type": "number"
},
{
"name": "minimumSplitAmount",
"name": "MinimumSplitAmount",
"baseName": "MinimumSplitAmount",
"type": "number"
},
{
"name": "paidAmount",
"name": "PaidAmount",
"baseName": "PaidAmount",
"type": "number"
},
{
"name": "requestedAmount",
"name": "RequestedAmount",
"baseName": "RequestedAmount",
"type": "number"
},
{
"name": "tipAmount",
"name": "TipAmount",
"baseName": "TipAmount",
"type": "number"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,43 +13,43 @@
export class AmountsResp {
"authorizedAmount": number;
"cashBackAmount"?: number;
"currency"?: string;
"tipAmount"?: number;
"totalFeesAmount"?: number;
"totalRebatesAmount"?: number;
'AuthorizedAmount': number;
'CashBackAmount'?: number;
'Currency'?: string;
'TipAmount'?: number;
'TotalFeesAmount'?: number;
'TotalRebatesAmount'?: number;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "authorizedAmount",
"name": "AuthorizedAmount",
"baseName": "AuthorizedAmount",
"type": "number"
},
{
"name": "cashBackAmount",
"name": "CashBackAmount",
"baseName": "CashBackAmount",
"type": "number"
},
{
"name": "currency",
"name": "Currency",
"baseName": "Currency",
"type": "string"
},
{
"name": "tipAmount",
"name": "TipAmount",
"baseName": "TipAmount",
"type": "number"
},
{
"name": "totalFeesAmount",
"name": "TotalFeesAmount",
"baseName": "TotalFeesAmount",
"type": "number"
},
{
"name": "totalRebatesAmount",
"name": "TotalRebatesAmount",
"baseName": "TotalRebatesAmount",
"type": "number"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,23 +11,23 @@
*/
import { CommonField } from "./commonField";
import { ExternalPlatform } from "./externalPlatform";
import { MerchantDevice } from "./merchantDevice";
import { ShopperInteractionDevice } from "./shopperInteractionDevice";
import { CommonField } from './commonField';
import { ExternalPlatform } from './externalPlatform';
import { MerchantDevice } from './merchantDevice';
import { ShopperInteractionDevice } from './shopperInteractionDevice';
export class ApplicationInfo {
"adyenLibrary"?: CommonField;
"adyenPaymentSource"?: CommonField;
"externalPlatform"?: ExternalPlatform;
"merchantApplication"?: CommonField;
"merchantDevice"?: MerchantDevice;
"paymentDetailsSource"?: CommonField;
"shopperInteractionDevice"?: ShopperInteractionDevice;
'adyenLibrary'?: CommonField;
'adyenPaymentSource'?: CommonField;
'externalPlatform'?: ExternalPlatform;
'merchantApplication'?: CommonField;
'merchantDevice'?: MerchantDevice;
'paymentDetailsSource'?: CommonField;
'shopperInteractionDevice'?: ShopperInteractionDevice;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "adyenLibrary",
"baseName": "adyenLibrary",

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,19 +13,19 @@
export class AreaSize {
"x": string;
"y": string;
'X': string;
'Y': string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "x",
"name": "X",
"baseName": "X",
"type": "string"
},
{
"name": "y",
"name": "Y",
"baseName": "Y",
"type": "string"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,42 +11,41 @@
*/
import { AlgorithmIdentifier } from "./algorithmIdentifier";
import { AnyType } from "./anyType";
import { EncapsulatedContent } from "./encapsulatedContent";
import { AlgorithmIdentifier } from './algorithmIdentifier';
import { EncapsulatedContent } from './encapsulatedContent';
export class AuthenticatedData {
"encapsulatedContent": EncapsulatedContent;
"keyTransportOrKEK"?: AnyType[];
"mAC": AnyType;
"mACAlgorithm": AlgorithmIdentifier;
"version"?: AuthenticatedData.VersionEnum;
'EncapsulatedContent': EncapsulatedContent;
'KeyTransportOrKEK'?: Array<any>;
'MAC': any | null;
'MACAlgorithm': AlgorithmIdentifier;
'Version'?: AuthenticatedData.VersionEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "encapsulatedContent",
"name": "EncapsulatedContent",
"baseName": "EncapsulatedContent",
"type": "EncapsulatedContent"
},
{
"name": "keyTransportOrKEK",
"name": "KeyTransportOrKEK",
"baseName": "KeyTransportOrKEK",
"type": "Array<AnyType>"
"type": "Array<any>"
},
{
"name": "mAC",
"name": "MAC",
"baseName": "MAC",
"type": "AnyType"
"type": "any"
},
{
"name": "mACAlgorithm",
"name": "MACAlgorithm",
"baseName": "MACAlgorithm",
"type": "AlgorithmIdentifier"
},
{
"name": "version",
"name": "Version",
"baseName": "Version",
"type": "AuthenticatedData.VersionEnum"
} ];
@@ -77,11 +57,11 @@ export class AuthenticatedData {
export namespace AuthenticatedData {
export enum VersionEnum {
V0 = "V0" as any,
V1 = "V1" as any,
V2 = "V2" as any,
V3 = "V3" as any,
V4 = "V4" as any,
V5 = "V5" as any
V0 = <any> 'V0',
V1 = <any> 'V1',
V2 = <any> 'V2',
V3 = <any> 'V3',
V4 = <any> 'V4',
V5 = <any> 'V5'
}
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,15 +13,15 @@
export enum AuthenticationMethodType {
Bypass = "Bypass" as any,
ManualVerification = "ManualVerification" as any,
MerchantAuthentication = "MerchantAuthentication" as any,
OfflinePIN = "OfflinePIN" as any,
OnlinePIN = "OnlinePIN" as any,
PaperSignature = "PaperSignature" as any,
SecureCertificate = "SecureCertificate" as any,
SecureNoCertificate = "SecureNoCertificate" as any,
SecuredChannel = "SecuredChannel" as any,
SignatureCapture = "SignatureCapture" as any,
UnknownMethod = "UnknownMethod" as any
Bypass = <any> 'Bypass',
ManualVerification = <any> 'ManualVerification',
MerchantAuthentication = <any> 'MerchantAuthentication',
OfflinePin = <any> 'OfflinePIN',
OnlinePin = <any> 'OnlinePIN',
PaperSignature = <any> 'PaperSignature',
SecureCertificate = <any> 'SecureCertificate',
SecureNoCertificate = <any> 'SecureNoCertificate',
SecuredChannel = <any> 'SecuredChannel',
SignatureCapture = <any> 'SignatureCapture',
UnknownMethod = <any> 'UnknownMethod'
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,23 +11,23 @@
*/
import { LoyaltyAccountReq } from "./loyaltyAccountReq";
import { PaymentAccountReq } from "./paymentAccountReq";
import { LoyaltyAccountReq } from './loyaltyAccountReq';
import { PaymentAccountReq } from './paymentAccountReq';
export class BalanceInquiryRequest {
"loyaltyAccountReq"?: LoyaltyAccountReq;
"paymentAccountReq"?: PaymentAccountReq;
'LoyaltyAccountReq'?: LoyaltyAccountReq;
'PaymentAccountReq'?: PaymentAccountReq;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "loyaltyAccountReq",
"name": "LoyaltyAccountReq",
"baseName": "LoyaltyAccountReq",
"type": "LoyaltyAccountReq"
},
{
"name": "paymentAccountReq",
"name": "PaymentAccountReq",
"baseName": "PaymentAccountReq",
"type": "PaymentAccountReq"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,30 +11,30 @@
*/
import { LoyaltyAccountStatus } from "./loyaltyAccountStatus";
import { PaymentAccountStatus } from "./paymentAccountStatus";
import { Response } from "./response";
import { LoyaltyAccountStatus } from './loyaltyAccountStatus';
import { PaymentAccountStatus } from './paymentAccountStatus';
import { Response } from './response';
export class BalanceInquiryResponse {
"loyaltyAccountStatus"?: LoyaltyAccountStatus;
"paymentAccountStatus"?: PaymentAccountStatus;
"response": Response;
'LoyaltyAccountStatus'?: LoyaltyAccountStatus;
'PaymentAccountStatus'?: PaymentAccountStatus;
'Response': Response;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "loyaltyAccountStatus",
"name": "LoyaltyAccountStatus",
"baseName": "LoyaltyAccountStatus",
"type": "LoyaltyAccountStatus"
},
{
"name": "paymentAccountStatus",
"name": "PaymentAccountStatus",
"baseName": "PaymentAccountStatus",
"type": "PaymentAccountStatus"
},
{
"name": "response",
"name": "Response",
"baseName": "Response",
"type": "Response"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,11 +13,11 @@
export enum BarcodeType {
Code128 = "Code128" as any,
Code25 = "Code25" as any,
EAN13 = "EAN13" as any,
EAN8 = "EAN8" as any,
PDF417 = "PDF417" as any,
QRCode = "QRCode" as any,
UPCA = "UPCA" as any
Code128 = <any> 'Code128',
Code25 = <any> 'Code25',
Ean13 = <any> 'EAN13',
Ean8 = <any> 'EAN8',
Pdf417 = <any> 'PDF417',
Qrcode = <any> 'QRCODE',
Upca = <any> 'UPCA'
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,22 +11,22 @@
*/
import { TransactionToPerform } from "./transactionToPerform";
import { TransactionToPerform } from './transactionToPerform';
export class BatchRequest {
"removeAllFlag"?: boolean;
"transactionToPerform"?: TransactionToPerform[];
'RemoveAllFlag'?: boolean;
'TransactionToPerform'?: Array<TransactionToPerform>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "removeAllFlag",
"name": "RemoveAllFlag",
"baseName": "RemoveAllFlag",
"type": "boolean"
},
{
"name": "transactionToPerform",
"name": "TransactionToPerform",
"baseName": "TransactionToPerform",
"type": "Array<TransactionToPerform>"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,23 +11,23 @@
*/
import { PerformedTransaction } from "./performedTransaction";
import { Response } from "./response";
import { PerformedTransaction } from './performedTransaction';
import { Response } from './response';
export class BatchResponse {
"performedTransaction"?: PerformedTransaction[];
"response": Response;
'PerformedTransaction'?: Array<PerformedTransaction>;
'Response': Response;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "performedTransaction",
"name": "PerformedTransaction",
"baseName": "PerformedTransaction",
"type": "Array<PerformedTransaction>"
},
{
"name": "response",
"name": "Response",
"baseName": "Response",
"type": "Response"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,23 +11,23 @@
*/
import { AreaSize } from "./areaSize";
import { SignaturePoint } from "./signaturePoint";
import { AreaSize } from './areaSize';
import { SignaturePoint } from './signaturePoint';
export class CapturedSignature {
"areaSize"?: AreaSize;
"signaturePoint": SignaturePoint[];
'AreaSize'?: AreaSize;
'SignaturePoint': Array<SignaturePoint>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "areaSize",
"name": "AreaSize",
"baseName": "AreaSize",
"type": "AreaSize"
},
{
"name": "signaturePoint",
"name": "SignaturePoint",
"baseName": "SignaturePoint",
"type": "Array<SignaturePoint>"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,23 +11,23 @@
*/
import { CardAcquisitionTransaction } from "./cardAcquisitionTransaction";
import { SaleData } from "./saleData";
import { CardAcquisitionTransaction } from './cardAcquisitionTransaction';
import { SaleData } from './saleData';
export class CardAcquisitionRequest {
"cardAcquisitionTransaction": CardAcquisitionTransaction;
"saleData": SaleData;
'CardAcquisitionTransaction': CardAcquisitionTransaction;
'SaleData': SaleData;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "cardAcquisitionTransaction",
"name": "CardAcquisitionTransaction",
"baseName": "CardAcquisitionTransaction",
"type": "CardAcquisitionTransaction"
},
{
"name": "saleData",
"name": "SaleData",
"baseName": "SaleData",
"type": "SaleData"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,57 +11,57 @@
*/
import { CustomerOrder } from "./customerOrder";
import { LoyaltyAccount } from "./loyaltyAccount";
import { POIData } from "./pOIData";
import { PaymentInstrumentData } from "./paymentInstrumentData";
import { Response } from "./response";
import { SaleData } from "./saleData";
import { CustomerOrder } from './customerOrder';
import { LoyaltyAccount } from './loyaltyAccount';
import { POIData } from './pOIData';
import { PaymentInstrumentData } from './paymentInstrumentData';
import { Response } from './response';
import { SaleData } from './saleData';
export class CardAcquisitionResponse {
"customerOrder"?: CustomerOrder[];
"loyaltyAccount"?: LoyaltyAccount[];
"paymentBrand"?: string[];
"paymentInstrumentData"?: PaymentInstrumentData;
"pOIData": POIData;
"response": Response;
"saleData": SaleData;
'CustomerOrder'?: Array<CustomerOrder>;
'LoyaltyAccount'?: Array<LoyaltyAccount>;
'PaymentBrand'?: Array<string>;
'PaymentInstrumentData'?: PaymentInstrumentData;
'POIData': POIData;
'Response': Response;
'SaleData': SaleData;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "customerOrder",
"name": "CustomerOrder",
"baseName": "CustomerOrder",
"type": "Array<CustomerOrder>"
},
{
"name": "loyaltyAccount",
"name": "LoyaltyAccount",
"baseName": "LoyaltyAccount",
"type": "Array<LoyaltyAccount>"
},
{
"name": "paymentBrand",
"name": "PaymentBrand",
"baseName": "PaymentBrand",
"type": "Array<string>"
},
{
"name": "paymentInstrumentData",
"name": "PaymentInstrumentData",
"baseName": "PaymentInstrumentData",
"type": "PaymentInstrumentData"
},
{
"name": "pOIData",
"name": "POIData",
"baseName": "POIData",
"type": "POIData"
},
{
"name": "response",
"name": "Response",
"baseName": "Response",
"type": "Response"
},
{
"name": "saleData",
"name": "SaleData",
"baseName": "SaleData",
"type": "SaleData"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,61 +13,61 @@
export class CardAcquisitionTransaction {
"allowedLoyaltyBrand"?: string[];
"allowedPaymentBrand"?: string[];
"cashBackFlag"?: boolean;
"customerLanguage"?: string;
"forceCustomerSelectionFlag"?: boolean;
"forceEntryMode"?: CardAcquisitionTransaction.ForceEntryModeEnum[][];
"loyaltyHandling"?: CardAcquisitionTransaction.LoyaltyHandlingEnum;
"paymentType"?: CardAcquisitionTransaction.PaymentTypeEnum;
"totalAmount"?: number;
'AllowedLoyaltyBrand'?: Array<string>;
'AllowedPaymentBrand'?: Array<string>;
'CashBackFlag'?: boolean;
'CustomerLanguage'?: string;
'ForceCustomerSelectionFlag'?: boolean;
'ForceEntryMode'?: Array<Array<CardAcquisitionTransaction.ForceEntryModeEnum>>;
'LoyaltyHandling'?: CardAcquisitionTransaction.LoyaltyHandlingEnum;
'PaymentType'?: CardAcquisitionTransaction.PaymentTypeEnum;
'TotalAmount'?: number;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "allowedLoyaltyBrand",
"name": "AllowedLoyaltyBrand",
"baseName": "AllowedLoyaltyBrand",
"type": "Array<string>"
},
{
"name": "allowedPaymentBrand",
"name": "AllowedPaymentBrand",
"baseName": "AllowedPaymentBrand",
"type": "Array<string>"
},
{
"name": "cashBackFlag",
"name": "CashBackFlag",
"baseName": "CashBackFlag",
"type": "boolean"
},
{
"name": "customerLanguage",
"name": "CustomerLanguage",
"baseName": "CustomerLanguage",
"type": "string"
},
{
"name": "forceCustomerSelectionFlag",
"name": "ForceCustomerSelectionFlag",
"baseName": "ForceCustomerSelectionFlag",
"type": "boolean"
},
{
"name": "forceEntryMode",
"name": "ForceEntryMode",
"baseName": "ForceEntryMode",
"type": "Array<Array<CardAcquisitionTransaction.ForceEntryModeEnum>>"
},
{
"name": "loyaltyHandling",
"name": "LoyaltyHandling",
"baseName": "LoyaltyHandling",
"type": "CardAcquisitionTransaction.LoyaltyHandlingEnum"
},
{
"name": "paymentType",
"name": "PaymentType",
"baseName": "PaymentType",
"type": "CardAcquisitionTransaction.PaymentTypeEnum"
},
{
"name": "totalAmount",
"name": "TotalAmount",
"baseName": "TotalAmount",
"type": "number"
} ];
@@ -98,37 +79,37 @@ export class CardAcquisitionTransaction {
export namespace CardAcquisitionTransaction {
export enum ForceEntryModeEnum {
CheckReader = "CheckReader" as any,
Contactless = "Contactless" as any,
File = "File" as any,
ICC = "ICC" as any,
Keyed = "Keyed" as any,
MagStripe = "MagStripe" as any,
Manual = "Manual" as any,
RFID = "RFID" as any,
Scanned = "Scanned" as any,
SynchronousICC = "SynchronousICC" as any,
Tapped = "Tapped" as any
CheckReader = <any> 'CheckReader',
Contactless = <any> 'Contactless',
File = <any> 'File',
Icc = <any> 'ICC',
Keyed = <any> 'Keyed',
MagStripe = <any> 'MagStripe',
Manual = <any> 'Manual',
Rfid = <any> 'RFID',
Scanned = <any> 'Scanned',
SynchronousIcc = <any> 'SynchronousICC',
Tapped = <any> 'Tapped'
}
export enum LoyaltyHandlingEnum {
Allowed = "Allowed" as any,
Forbidden = "Forbidden" as any,
Processed = "Processed" as any,
Proposed = "Proposed" as any,
Required = "Required" as any
Allowed = <any> 'Allowed',
Forbidden = <any> 'Forbidden',
Processed = <any> 'Processed',
Proposed = <any> 'Proposed',
Required = <any> 'Required'
}
export enum PaymentTypeEnum {
CashAdvance = "CashAdvance" as any,
CashDeposit = "CashDeposit" as any,
Completion = "Completion" as any,
FirstReservation = "FirstReservation" as any,
Instalment = "Instalment" as any,
IssuerInstalment = "IssuerInstalment" as any,
Normal = "Normal" as any,
OneTimeReservation = "OneTimeReservation" as any,
PaidOut = "PaidOut" as any,
Recurring = "Recurring" as any,
Refund = "Refund" as any,
UpdateReservation = "UpdateReservation" as any
CashAdvance = <any> 'CashAdvance',
CashDeposit = <any> 'CashDeposit',
Completion = <any> 'Completion',
FirstReservation = <any> 'FirstReservation',
Instalment = <any> 'Instalment',
IssuerInstalment = <any> 'IssuerInstalment',
Normal = <any> 'Normal',
OneTimeReservation = <any> 'OneTimeReservation',
PaidOut = <any> 'PaidOut',
Recurring = <any> 'Recurring',
Refund = <any> 'Refund',
UpdateReservation = <any> 'UpdateReservation'
}
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,80 +11,80 @@
*/
import { AllowedProduct } from "./allowedProduct";
import { ContentInformation } from "./contentInformation";
import { CustomerOrder } from "./customerOrder";
import { PaymentToken } from "./paymentToken";
import { SensitiveCardData } from "./sensitiveCardData";
import { AllowedProduct } from './allowedProduct';
import { ContentInformation } from './contentInformation';
import { CustomerOrder } from './customerOrder';
import { PaymentToken } from './paymentToken';
import { SensitiveCardData } from './sensitiveCardData';
export class CardData {
"allowedProduct"?: AllowedProduct[];
"allowedProductCode"?: string[];
"cardCountryCode"?: string;
"customerOrder"?: CustomerOrder[];
"entryMode"?: CardData.EntryModeEnum[];
"maskedPAN"?: string;
"paymentAccountRef"?: string;
"paymentBrand"?: string;
"paymentToken"?: PaymentToken;
"protectedCardData"?: ContentInformation;
"sensitiveCardData"?: SensitiveCardData;
'AllowedProduct'?: Array<AllowedProduct>;
'AllowedProductCode'?: Array<string>;
'CardCountryCode'?: string;
'CustomerOrder'?: Array<CustomerOrder>;
'EntryMode'?: Array<CardData.EntryModeEnum>;
'MaskedPAN'?: string;
'PaymentAccountRef'?: string;
'PaymentBrand'?: string;
'PaymentToken'?: PaymentToken;
'ProtectedCardData'?: ContentInformation;
'SensitiveCardData'?: SensitiveCardData;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "allowedProduct",
"name": "AllowedProduct",
"baseName": "AllowedProduct",
"type": "Array<AllowedProduct>"
},
{
"name": "allowedProductCode",
"name": "AllowedProductCode",
"baseName": "AllowedProductCode",
"type": "Array<string>"
},
{
"name": "cardCountryCode",
"name": "CardCountryCode",
"baseName": "CardCountryCode",
"type": "string"
},
{
"name": "customerOrder",
"name": "CustomerOrder",
"baseName": "CustomerOrder",
"type": "Array<CustomerOrder>"
},
{
"name": "entryMode",
"name": "EntryMode",
"baseName": "EntryMode",
"type": "Array<CardData.EntryModeEnum>"
},
{
"name": "maskedPAN",
"name": "MaskedPAN",
"baseName": "MaskedPAN",
"type": "string"
},
{
"name": "paymentAccountRef",
"name": "PaymentAccountRef",
"baseName": "PaymentAccountRef",
"type": "string"
},
{
"name": "paymentBrand",
"name": "PaymentBrand",
"baseName": "PaymentBrand",
"type": "string"
},
{
"name": "paymentToken",
"name": "PaymentToken",
"baseName": "PaymentToken",
"type": "PaymentToken"
},
{
"name": "protectedCardData",
"name": "ProtectedCardData",
"baseName": "ProtectedCardData",
"type": "ContentInformation"
},
{
"name": "sensitiveCardData",
"name": "SensitiveCardData",
"baseName": "SensitiveCardData",
"type": "SensitiveCardData"
} ];
@@ -115,16 +96,16 @@ export class CardData {
export namespace CardData {
export enum EntryModeEnum {
Contactless = "Contactless" as any,
File = "File" as any,
ICC = "ICC" as any,
Keyed = "Keyed" as any,
MagStripe = "MagStripe" as any,
Manual = "Manual" as any,
Mobile = "Mobile" as any,
RFID = "RFID" as any,
Scanned = "Scanned" as any,
SynchronousICC = "SynchronousICC" as any,
Tapped = "Tapped" as any
Contactless = <any> 'Contactless',
File = <any> 'File',
Icc = <any> 'ICC',
Keyed = <any> 'Keyed',
MagStripe = <any> 'MagStripe',
Manual = <any> 'Manual',
Mobile = <any> 'Mobile',
Rfid = <any> 'RFID',
Scanned = <any> 'Scanned',
SynchronousIcc = <any> 'SynchronousICC',
Tapped = <any> 'Tapped'
}
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,48 +11,47 @@
*/
import { AnyType } from "./anyType";
export class CardReaderAPDURequest {
"aPDUClass": AnyType;
"aPDUData"?: AnyType;
"aPDUExpectedLength"?: AnyType;
"aPDUInstruction": AnyType;
"aPDUPar1": AnyType;
"aPDUPar2": AnyType;
'APDUClass': any | null;
'APDUData'?: any | null;
'APDUExpectedLength'?: any | null;
'APDUInstruction': any | null;
'APDUPar1': any | null;
'APDUPar2': any | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "aPDUClass",
"name": "APDUClass",
"baseName": "APDUClass",
"type": "AnyType"
"type": "any"
},
{
"name": "aPDUData",
"name": "APDUData",
"baseName": "APDUData",
"type": "AnyType"
"type": "any"
},
{
"name": "aPDUExpectedLength",
"name": "APDUExpectedLength",
"baseName": "APDUExpectedLength",
"type": "AnyType"
"type": "any"
},
{
"name": "aPDUInstruction",
"name": "APDUInstruction",
"baseName": "APDUInstruction",
"type": "AnyType"
"type": "any"
},
{
"name": "aPDUPar1",
"name": "APDUPar1",
"baseName": "APDUPar1",
"type": "AnyType"
"type": "any"
},
{
"name": "aPDUPar2",
"name": "APDUPar2",
"baseName": "APDUPar2",
"type": "AnyType"
"type": "any"
} ];
static getAttributeTypeMap() {

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,29 +11,28 @@
*/
import { AnyType } from "./anyType";
import { Response } from "./response";
import { Response } from './response';
export class CardReaderAPDUResponse {
"aPDUData"?: AnyType;
"cardStatusWords": AnyType;
"response": Response;
'APDUData'?: any | null;
'CardStatusWords': any | null;
'Response': Response;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "aPDUData",
"name": "APDUData",
"baseName": "APDUData",
"type": "AnyType"
"type": "any"
},
{
"name": "cardStatusWords",
"name": "CardStatusWords",
"baseName": "CardStatusWords",
"type": "AnyType"
"type": "any"
},
{
"name": "response",
"name": "Response",
"baseName": "Response",
"type": "Response"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,40 +11,40 @@
*/
import { DisplayOutput } from "./displayOutput";
import { DisplayOutput } from './displayOutput';
export class CardReaderInitRequest {
"displayOutput"?: DisplayOutput;
"forceEntryMode"?: CardReaderInitRequest.ForceEntryModeEnum[][];
"leaveCardFlag"?: boolean;
"maxWaitingTime"?: number;
"warmResetFlag"?: boolean;
'DisplayOutput'?: DisplayOutput;
'ForceEntryMode'?: Array<Array<CardReaderInitRequest.ForceEntryModeEnum>>;
'LeaveCardFlag'?: boolean;
'MaxWaitingTime'?: number;
'WarmResetFlag'?: boolean;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "displayOutput",
"name": "DisplayOutput",
"baseName": "DisplayOutput",
"type": "DisplayOutput"
},
{
"name": "forceEntryMode",
"name": "ForceEntryMode",
"baseName": "ForceEntryMode",
"type": "Array<Array<CardReaderInitRequest.ForceEntryModeEnum>>"
},
{
"name": "leaveCardFlag",
"name": "LeaveCardFlag",
"baseName": "LeaveCardFlag",
"type": "boolean"
},
{
"name": "maxWaitingTime",
"name": "MaxWaitingTime",
"baseName": "MaxWaitingTime",
"type": "number"
},
{
"name": "warmResetFlag",
"name": "WarmResetFlag",
"baseName": "WarmResetFlag",
"type": "boolean"
} ];
@@ -75,16 +56,16 @@ export class CardReaderInitRequest {
export namespace CardReaderInitRequest {
export enum ForceEntryModeEnum {
CheckReader = "CheckReader" as any,
Contactless = "Contactless" as any,
File = "File" as any,
ICC = "ICC" as any,
Keyed = "Keyed" as any,
MagStripe = "MagStripe" as any,
Manual = "Manual" as any,
RFID = "RFID" as any,
Scanned = "Scanned" as any,
SynchronousICC = "SynchronousICC" as any,
Tapped = "Tapped" as any
CheckReader = <any> 'CheckReader',
Contactless = <any> 'Contactless',
File = <any> 'File',
Icc = <any> 'ICC',
Keyed = <any> 'Keyed',
MagStripe = <any> 'MagStripe',
Manual = <any> 'Manual',
Rfid = <any> 'RFID',
Scanned = <any> 'Scanned',
SynchronousIcc = <any> 'SynchronousICC',
Tapped = <any> 'Tapped'
}
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,36 +11,36 @@
*/
import { ICCResetData } from "./iCCResetData";
import { Response } from "./response";
import { TrackData } from "./trackData";
import { ICCResetData } from './iCCResetData';
import { Response } from './response';
import { TrackData } from './trackData';
export class CardReaderInitResponse {
"entryMode"?: CardReaderInitResponse.EntryModeEnum[];
"iCCResetData"?: ICCResetData;
"response": Response;
"trackData"?: TrackData[];
'EntryMode'?: Array<CardReaderInitResponse.EntryModeEnum>;
'ICCResetData'?: ICCResetData;
'Response': Response;
'TrackData'?: Array<TrackData>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "entryMode",
"name": "EntryMode",
"baseName": "EntryMode",
"type": "Array<CardReaderInitResponse.EntryModeEnum>"
},
{
"name": "iCCResetData",
"name": "ICCResetData",
"baseName": "ICCResetData",
"type": "ICCResetData"
},
{
"name": "response",
"name": "Response",
"baseName": "Response",
"type": "Response"
},
{
"name": "trackData",
"name": "TrackData",
"baseName": "TrackData",
"type": "Array<TrackData>"
} ];
@@ -71,16 +52,16 @@ export class CardReaderInitResponse {
export namespace CardReaderInitResponse {
export enum EntryModeEnum {
Contactless = "Contactless" as any,
File = "File" as any,
ICC = "ICC" as any,
Keyed = "Keyed" as any,
MagStripe = "MagStripe" as any,
Manual = "Manual" as any,
Mobile = "Mobile" as any,
RFID = "RFID" as any,
Scanned = "Scanned" as any,
SynchronousICC = "SynchronousICC" as any,
Tapped = "Tapped" as any
Contactless = <any> 'Contactless',
File = <any> 'File',
Icc = <any> 'ICC',
Keyed = <any> 'Keyed',
MagStripe = <any> 'MagStripe',
Manual = <any> 'Manual',
Mobile = <any> 'Mobile',
Rfid = <any> 'RFID',
Scanned = <any> 'Scanned',
SynchronousIcc = <any> 'SynchronousICC',
Tapped = <any> 'Tapped'
}
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,22 +11,22 @@
*/
import { DisplayOutput } from "./displayOutput";
import { DisplayOutput } from './displayOutput';
export class CardReaderPowerOffRequest {
"displayOutput"?: DisplayOutput;
"maxWaitingTime"?: number;
'DisplayOutput'?: DisplayOutput;
'MaxWaitingTime'?: number;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "displayOutput",
"name": "DisplayOutput",
"baseName": "DisplayOutput",
"type": "DisplayOutput"
},
{
"name": "maxWaitingTime",
"name": "MaxWaitingTime",
"baseName": "MaxWaitingTime",
"type": "number"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,16 +11,16 @@
*/
import { Response } from "./response";
import { Response } from './response';
export class CardReaderPowerOffResponse {
"response": Response;
'Response': Response;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "response",
"name": "Response",
"baseName": "Response",
"type": "Response"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,29 +11,29 @@
*/
import { ContentInformation } from "./contentInformation";
import { PINFormatType } from "./pINFormatType";
import { ContentInformation } from './contentInformation';
import { PINFormatType } from './pINFormatType';
export class CardholderPIN {
"additionalInput"?: string;
"encrPINBlock": ContentInformation;
"pINFormat": PINFormatType;
'AdditionalInput'?: string;
'EncrPINBlock': ContentInformation;
'PINFormat': PINFormatType;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "additionalInput",
"name": "AdditionalInput",
"baseName": "AdditionalInput",
"type": "string"
},
{
"name": "encrPINBlock",
"name": "EncrPINBlock",
"baseName": "EncrPINBlock",
"type": "ContentInformation"
},
{
"name": "pINFormat",
"name": "PINFormat",
"baseName": "PINFormat",
"type": "PINFormatType"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,28 +11,28 @@
*/
import { CoinsOrBills } from "./coinsOrBills";
import { CoinsOrBills } from './coinsOrBills';
export class CashHandlingDevice {
"cashHandlingOkFlag": boolean;
"coinsOrBills": CoinsOrBills[];
"currency": string;
'CashHandlingOkFlag': boolean;
'CoinsOrBills': Array<CoinsOrBills>;
'Currency': string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "cashHandlingOkFlag",
"name": "CashHandlingOkFlag",
"baseName": "CashHandlingOkFlag",
"type": "boolean"
},
{
"name": "coinsOrBills",
"name": "CoinsOrBills",
"baseName": "CoinsOrBills",
"type": "Array<CoinsOrBills>"
},
{
"name": "currency",
"name": "Currency",
"baseName": "Currency",
"type": "string"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,7 +13,7 @@
export enum CharacterHeightType {
DoubleHeight = "DoubleHeight" as any,
HalfHeight = "HalfHeight" as any,
SingleHeight = "SingleHeight" as any
DoubleHeight = <any> 'DoubleHeight',
HalfHeight = <any> 'HalfHeight',
SingleHeight = <any> 'SingleHeight'
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,8 +13,8 @@
export enum CharacterStyleType {
Bold = "Bold" as any,
Italic = "Italic" as any,
Normal = "Normal" as any,
Underlined = "Underlined" as any
Bold = <any> 'Bold',
Italic = <any> 'Italic',
Normal = <any> 'Normal',
Underlined = <any> 'Underlined'
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,6 +13,6 @@
export enum CharacterWidthType {
DoubleWidth = "DoubleWidth" as any,
SingleWidth = "SingleWidth" as any
DoubleWidth = <any> 'DoubleWidth',
SingleWidth = <any> 'SingleWidth'
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,52 +11,52 @@
*/
import { TrackData } from "./trackData";
import { TrackData } from './trackData';
export class CheckData {
"accountNumber"?: string;
"bankID"?: string;
"checkCardNumber"?: string;
"checkNumber"?: string;
"country"?: string;
"trackData"?: TrackData;
"typeCode"?: CheckData.TypeCodeEnum;
'AccountNumber'?: string;
'BankID'?: string;
'CheckCardNumber'?: string;
'CheckNumber'?: string;
'Country'?: string;
'TrackData'?: TrackData;
'TypeCode'?: CheckData.TypeCodeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "accountNumber",
"name": "AccountNumber",
"baseName": "AccountNumber",
"type": "string"
},
{
"name": "bankID",
"name": "BankID",
"baseName": "BankID",
"type": "string"
},
{
"name": "checkCardNumber",
"name": "CheckCardNumber",
"baseName": "CheckCardNumber",
"type": "string"
},
{
"name": "checkNumber",
"name": "CheckNumber",
"baseName": "CheckNumber",
"type": "string"
},
{
"name": "country",
"name": "Country",
"baseName": "Country",
"type": "string"
},
{
"name": "trackData",
"name": "TrackData",
"baseName": "TrackData",
"type": "TrackData"
},
{
"name": "typeCode",
"name": "TypeCode",
"baseName": "TypeCode",
"type": "CheckData.TypeCodeEnum"
} ];
@@ -87,7 +68,7 @@ export class CheckData {
export namespace CheckData {
export enum TypeCodeEnum {
Company = "Company" as any,
Personal = "Personal" as any
Company = <any> 'Company',
Personal = <any> 'Personal'
}
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,6 +13,6 @@
export enum CheckTypeCodeType {
Company = "Company" as any,
Personal = "Personal" as any
Company = <any> 'Company',
Personal = <any> 'Personal'
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,19 +13,19 @@
export class CoinsOrBills {
"number": number;
"unitValue": number;
'Number': number;
'UnitValue': number;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "number",
"name": "Number",
"baseName": "Number",
"type": "number"
},
{
"name": "unitValue",
"name": "UnitValue",
"baseName": "UnitValue",
"type": "number"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,12 +13,12 @@
export enum ColorType {
Black = "Black" as any,
Blue = "Blue" as any,
Cyan = "Cyan" as any,
Green = "Green" as any,
Magenta = "Magenta" as any,
Red = "Red" as any,
White = "White" as any,
Yellow = "Yellow" as any
Black = <any> 'Black',
Blue = <any> 'Blue',
Cyan = <any> 'Cyan',
Green = <any> 'Green',
Magenta = <any> 'Magenta',
Red = <any> 'Red',
White = <any> 'White',
Yellow = <any> 'Yellow'
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,12 +13,12 @@
export class CommonField {
"name"?: string;
"version"?: string;
'name'?: string;
'version'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "name",
"baseName": "name",

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,51 +11,51 @@
*/
import { AuthenticatedData } from "./authenticatedData";
import { ContentType } from "./contentType";
import { DigestedData } from "./digestedData";
import { EnvelopedData } from "./envelopedData";
import { NamedKeyEncryptedData } from "./namedKeyEncryptedData";
import { SignedData } from "./signedData";
import { AuthenticatedData } from './authenticatedData';
import { ContentType } from './contentType';
import { DigestedData } from './digestedData';
import { EnvelopedData } from './envelopedData';
import { NamedKeyEncryptedData } from './namedKeyEncryptedData';
import { SignedData } from './signedData';
export class ContentInformation {
"authenticatedData"?: AuthenticatedData;
"contentType": ContentType;
"digestedData"?: DigestedData;
"envelopedData"?: EnvelopedData;
"namedKeyEncryptedData"?: NamedKeyEncryptedData;
"signedData"?: SignedData;
'AuthenticatedData'?: AuthenticatedData;
'ContentType': ContentType;
'DigestedData'?: DigestedData;
'EnvelopedData'?: EnvelopedData;
'NamedKeyEncryptedData'?: NamedKeyEncryptedData;
'SignedData'?: SignedData;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "authenticatedData",
"name": "AuthenticatedData",
"baseName": "AuthenticatedData",
"type": "AuthenticatedData"
},
{
"name": "contentType",
"name": "ContentType",
"baseName": "ContentType",
"type": "ContentType"
},
{
"name": "digestedData",
"name": "DigestedData",
"baseName": "DigestedData",
"type": "DigestedData"
},
{
"name": "envelopedData",
"name": "EnvelopedData",
"baseName": "EnvelopedData",
"type": "EnvelopedData"
},
{
"name": "namedKeyEncryptedData",
"name": "NamedKeyEncryptedData",
"baseName": "NamedKeyEncryptedData",
"type": "NamedKeyEncryptedData"
},
{
"name": "signedData",
"name": "SignedData",
"baseName": "SignedData",
"type": "SignedData"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,10 +13,10 @@
export enum ContentType {
CtAuthData = "Id-ct-authData" as any,
Data = "Id-data" as any,
DigestedData = "Id-digestedData" as any,
EncryptedData = "Id-encryptedData" as any,
EnvelopedData = "Id-envelopedData" as any,
SignedData = "Id-signedData" as any
CtAuthData = <any> 'Id-ct-authData',
Data = <any> 'Id-data',
DigestedData = <any> 'Id-digestedData',
EncryptedData = <any> 'Id-encryptedData',
EnvelopedData = <any> 'Id-envelopedData',
SignedData = <any> 'Id-signedData'
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,46 +11,46 @@
*/
import { Amount } from "./amount";
import { Amount } from './amount';
export class CurrencyConversion {
"commission"?: number;
"convertedAmount": Amount;
"customerApprovedFlag"?: boolean;
"declaration"?: string;
"markup"?: number;
"rate"?: number;
'Commission'?: number;
'ConvertedAmount': Amount;
'CustomerApprovedFlag'?: boolean;
'Declaration'?: string;
'Markup'?: number;
'Rate'?: number;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "commission",
"name": "Commission",
"baseName": "Commission",
"type": "number"
},
{
"name": "convertedAmount",
"name": "ConvertedAmount",
"baseName": "ConvertedAmount",
"type": "Amount"
},
{
"name": "customerApprovedFlag",
"name": "CustomerApprovedFlag",
"baseName": "CustomerApprovedFlag",
"type": "boolean"
},
{
"name": "declaration",
"name": "Declaration",
"baseName": "Declaration",
"type": "string"
},
{
"name": "markup",
"name": "Markup",
"baseName": "Markup",
"type": "number"
},
{
"name": "rate",
"name": "Rate",
"baseName": "Rate",
"type": "number"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,66 +11,65 @@
*/
import { AnyType } from "./anyType";
export class CustomerOrder {
"accessedBy"?: string;
"additionalInformation"?: string;
"currency"?: string;
"currentAmount": number;
"customerOrderID": string;
"endDate"?: { [key: string]: AnyType; };
"forecastedAmount": number;
"openOrderState"?: boolean;
"startDate": { [key: string]: AnyType; };
'AccessedBy'?: string;
'AdditionalInformation'?: string;
'Currency'?: string;
'CurrentAmount': number;
'CustomerOrderID': string;
'EndDate'?: { [key: string]: any; };
'ForecastedAmount': number;
'OpenOrderState'?: boolean;
'StartDate': { [key: string]: any; };
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "accessedBy",
"name": "AccessedBy",
"baseName": "AccessedBy",
"type": "string"
},
{
"name": "additionalInformation",
"name": "AdditionalInformation",
"baseName": "AdditionalInformation",
"type": "string"
},
{
"name": "currency",
"name": "Currency",
"baseName": "Currency",
"type": "string"
},
{
"name": "currentAmount",
"name": "CurrentAmount",
"baseName": "CurrentAmount",
"type": "number"
},
{
"name": "customerOrderID",
"name": "CustomerOrderID",
"baseName": "CustomerOrderID",
"type": "string"
},
{
"name": "endDate",
"name": "EndDate",
"baseName": "EndDate",
"type": "{ [key: string]: AnyType; }"
"type": "{ [key: string]: any; }"
},
{
"name": "forecastedAmount",
"name": "ForecastedAmount",
"baseName": "ForecastedAmount",
"type": "number"
},
{
"name": "openOrderState",
"name": "OpenOrderState",
"baseName": "OpenOrderState",
"type": "boolean"
},
{
"name": "startDate",
"name": "StartDate",
"baseName": "StartDate",
"type": "{ [key: string]: AnyType; }"
"type": "{ [key: string]: any; }"
} ];
static getAttributeTypeMap() {

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,7 +13,7 @@
export enum CustomerOrderReqType {
Both = "Both" as any,
Closed = "Closed" as any,
Open = "Open" as any
Both = <any> 'Both',
Closed = <any> 'Closed',
Open = <any> 'Open'
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,8 +13,8 @@
export enum DeviceType {
CashierDisplay = "CashierDisplay" as any,
CashierInput = "CashierInput" as any,
CustomerDisplay = "CustomerDisplay" as any,
CustomerInput = "CustomerInput" as any
CashierDisplay = <any> 'CashierDisplay',
CashierInput = <any> 'CashierInput',
CustomerDisplay = <any> 'CustomerDisplay',
CustomerInput = <any> 'CustomerInput'
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,25 +13,25 @@
export class DiagnosisRequest {
"acquirerID"?: string[];
"hostDiagnosisFlag"?: boolean;
"pOIID"?: string;
'AcquirerID'?: Array<string>;
'HostDiagnosisFlag'?: boolean;
'POIID'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "acquirerID",
"name": "AcquirerID",
"baseName": "AcquirerID",
"type": "Array<string>"
},
{
"name": "hostDiagnosisFlag",
"name": "HostDiagnosisFlag",
"baseName": "HostDiagnosisFlag",
"type": "boolean"
},
{
"name": "pOIID",
"name": "POIID",
"baseName": "POIID",
"type": "string"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,36 +11,36 @@
*/
import { HostStatus } from "./hostStatus";
import { POIStatus } from "./pOIStatus";
import { Response } from "./response";
import { HostStatus } from './hostStatus';
import { POIStatus } from './pOIStatus';
import { Response } from './response';
export class DiagnosisResponse {
"hostStatus"?: HostStatus[];
"loggedSaleID"?: string[];
"pOIStatus"?: POIStatus;
"response": Response;
'HostStatus'?: Array<HostStatus>;
'LoggedSaleID'?: Array<string>;
'POIStatus'?: POIStatus;
'Response': Response;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "hostStatus",
"name": "HostStatus",
"baseName": "HostStatus",
"type": "Array<HostStatus>"
},
{
"name": "loggedSaleID",
"name": "LoggedSaleID",
"baseName": "LoggedSaleID",
"type": "Array<string>"
},
{
"name": "pOIStatus",
"name": "POIStatus",
"baseName": "POIStatus",
"type": "POIStatus"
},
{
"name": "response",
"name": "Response",
"baseName": "Response",
"type": "Response"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,36 +11,35 @@
*/
import { AlgorithmIdentifier } from "./algorithmIdentifier";
import { AnyType } from "./anyType";
import { EncapsulatedContent } from "./encapsulatedContent";
import { AlgorithmIdentifier } from './algorithmIdentifier';
import { EncapsulatedContent } from './encapsulatedContent';
export class DigestedData {
"digest": AnyType;
"digestAlgorithm": AlgorithmIdentifier;
"encapsulatedContent": EncapsulatedContent;
"version"?: DigestedData.VersionEnum;
'Digest': any | null;
'DigestAlgorithm': AlgorithmIdentifier;
'EncapsulatedContent': EncapsulatedContent;
'Version'?: DigestedData.VersionEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "digest",
"name": "Digest",
"baseName": "Digest",
"type": "AnyType"
"type": "any"
},
{
"name": "digestAlgorithm",
"name": "DigestAlgorithm",
"baseName": "DigestAlgorithm",
"type": "AlgorithmIdentifier"
},
{
"name": "encapsulatedContent",
"name": "EncapsulatedContent",
"baseName": "EncapsulatedContent",
"type": "EncapsulatedContent"
},
{
"name": "version",
"name": "Version",
"baseName": "Version",
"type": "DigestedData.VersionEnum"
} ];
@@ -71,11 +51,11 @@ export class DigestedData {
export namespace DigestedData {
export enum VersionEnum {
V0 = "V0" as any,
V1 = "V1" as any,
V2 = "V2" as any,
V3 = "V3" as any,
V4 = "V4" as any,
V5 = "V5" as any
V0 = <any> 'V0',
V1 = <any> 'V1',
V2 = <any> 'V2',
V3 = <any> 'V3',
V4 = <any> 'V4',
V5 = <any> 'V5'
}
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,56 +11,55 @@
*/
import { AnyType } from "./anyType";
import { DeviceType } from "./deviceType";
import { InfoQualifyType } from "./infoQualifyType";
import { MenuEntry } from "./menuEntry";
import { OutputContent } from "./outputContent";
import { DeviceType } from './deviceType';
import { InfoQualifyType } from './infoQualifyType';
import { MenuEntry } from './menuEntry';
import { OutputContent } from './outputContent';
export class DisplayOutput {
"device": DeviceType;
"infoQualify": InfoQualifyType;
"menuEntry"?: MenuEntry[];
"minimumDisplayTime"?: number;
"outputContent": OutputContent;
"outputSignature"?: AnyType;
"responseRequiredFlag"?: boolean;
'Device': DeviceType;
'InfoQualify': InfoQualifyType;
'MenuEntry'?: Array<MenuEntry>;
'MinimumDisplayTime'?: number;
'OutputContent': OutputContent;
'OutputSignature'?: any | null;
'ResponseRequiredFlag'?: boolean;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "device",
"name": "Device",
"baseName": "Device",
"type": "DeviceType"
},
{
"name": "infoQualify",
"name": "InfoQualify",
"baseName": "InfoQualify",
"type": "InfoQualifyType"
},
{
"name": "menuEntry",
"name": "MenuEntry",
"baseName": "MenuEntry",
"type": "Array<MenuEntry>"
},
{
"name": "minimumDisplayTime",
"name": "MinimumDisplayTime",
"baseName": "MinimumDisplayTime",
"type": "number"
},
{
"name": "outputContent",
"name": "OutputContent",
"baseName": "OutputContent",
"type": "OutputContent"
},
{
"name": "outputSignature",
"name": "OutputSignature",
"baseName": "OutputSignature",
"type": "AnyType"
"type": "any"
},
{
"name": "responseRequiredFlag",
"name": "ResponseRequiredFlag",
"baseName": "ResponseRequiredFlag",
"type": "boolean"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,16 +11,16 @@
*/
import { DisplayOutput } from "./displayOutput";
import { DisplayOutput } from './displayOutput';
export class DisplayRequest {
"displayOutput": DisplayOutput[];
'DisplayOutput': Array<DisplayOutput>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "displayOutput",
"name": "DisplayOutput",
"baseName": "DisplayOutput",
"type": "Array<DisplayOutput>"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,16 +11,16 @@
*/
import { OutputResult } from "./outputResult";
import { OutputResult } from './outputResult';
export class DisplayResponse {
"outputResult": OutputResult[];
'OutputResult': Array<OutputResult>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "outputResult",
"name": "OutputResult",
"baseName": "OutputResult",
"type": "Array<OutputResult>"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,10 +13,10 @@
export enum DocumentQualifierType {
CashierReceipt = "CashierReceipt" as any,
CustomerReceipt = "CustomerReceipt" as any,
Document = "Document" as any,
Journal = "Journal" as any,
SaleReceipt = "SaleReceipt" as any,
Voucher = "Voucher" as any
CashierReceipt = <any> 'CashierReceipt',
CustomerReceipt = <any> 'CustomerReceipt',
Document = <any> 'Document',
Journal = <any> 'Journal',
SaleReceipt = <any> 'SaleReceipt',
Voucher = <any> 'Voucher'
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,29 +11,29 @@
*/
import { DisplayOutput } from "./displayOutput";
import { TransactionActionType } from "./transactionActionType";
import { DisplayOutput } from './displayOutput';
import { TransactionActionType } from './transactionActionType';
export class EnableServiceRequest {
"displayOutput"?: DisplayOutput;
"servicesEnabled"?: EnableServiceRequest.ServicesEnabledEnum[];
"transactionAction": TransactionActionType;
'DisplayOutput'?: DisplayOutput;
'ServicesEnabled'?: Array<EnableServiceRequest.ServicesEnabledEnum>;
'TransactionAction': TransactionActionType;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "displayOutput",
"name": "DisplayOutput",
"baseName": "DisplayOutput",
"type": "DisplayOutput"
},
{
"name": "servicesEnabled",
"name": "ServicesEnabled",
"baseName": "ServicesEnabled",
"type": "Array<EnableServiceRequest.ServicesEnabledEnum>"
},
{
"name": "transactionAction",
"name": "TransactionAction",
"baseName": "TransactionAction",
"type": "TransactionActionType"
} ];
@@ -64,8 +45,8 @@ export class EnableServiceRequest {
export namespace EnableServiceRequest {
export enum ServicesEnabledEnum {
CardAcquisition = "CardAcquisition" as any,
Loyalty = "Loyalty" as any,
Payment = "Payment" as any
CardAcquisition = <any> 'CardAcquisition',
Loyalty = <any> 'Loyalty',
Payment = <any> 'Payment'
}
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,16 +11,16 @@
*/
import { Response } from "./response";
import { Response } from './response';
export class EnableServiceResponse {
"response": Response;
'Response': Response;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "response",
"name": "Response",
"baseName": "Response",
"type": "Response"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,23 +11,22 @@
*/
import { AnyType } from "./anyType";
import { ContentType } from "./contentType";
import { ContentType } from './contentType';
export class EncapsulatedContent {
"content"?: AnyType;
"contentType": ContentType;
'Content'?: any | null;
'ContentType': ContentType;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "content",
"name": "Content",
"baseName": "Content",
"type": "AnyType"
"type": "any"
},
{
"name": "contentType",
"name": "ContentType",
"baseName": "ContentType",
"type": "ContentType"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,32 +11,31 @@
*/
import { AlgorithmIdentifier } from "./algorithmIdentifier";
import { AnyType } from "./anyType";
import { ContentType } from "./contentType";
import { AlgorithmIdentifier } from './algorithmIdentifier';
import { ContentType } from './contentType';
export class EncryptedContent {
"contentEncryptionAlgorithm": AlgorithmIdentifier;
"contentType": ContentType;
"encryptedData": AnyType;
'ContentEncryptionAlgorithm': AlgorithmIdentifier;
'ContentType': ContentType;
'EncryptedData': any | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "contentEncryptionAlgorithm",
"name": "ContentEncryptionAlgorithm",
"baseName": "ContentEncryptionAlgorithm",
"type": "AlgorithmIdentifier"
},
{
"name": "contentType",
"name": "ContentType",
"baseName": "ContentType",
"type": "ContentType"
},
{
"name": "encryptedData",
"name": "EncryptedData",
"baseName": "EncryptedData",
"type": "AnyType"
"type": "any"
} ];
static getAttributeTypeMap() {

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,15 +13,15 @@
export enum EntryModeType {
Contactless = "Contactless" as any,
File = "File" as any,
ICC = "ICC" as any,
Keyed = "Keyed" as any,
MagStripe = "MagStripe" as any,
Manual = "Manual" as any,
Mobile = "Mobile" as any,
RFID = "RFID" as any,
Scanned = "Scanned" as any,
SynchronousICC = "SynchronousICC" as any,
Tapped = "Tapped" as any
Contactless = <any> 'Contactless',
File = <any> 'File',
Icc = <any> 'ICC',
Keyed = <any> 'Keyed',
MagStripe = <any> 'MagStripe',
Manual = <any> 'Manual',
Mobile = <any> 'Mobile',
Rfid = <any> 'RFID',
Scanned = <any> 'Scanned',
SynchronousIcc = <any> 'SynchronousICC',
Tapped = <any> 'Tapped'
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,29 +11,28 @@
*/
import { AnyType } from "./anyType";
import { EncryptedContent } from "./encryptedContent";
import { EncryptedContent } from './encryptedContent';
export class EnvelopedData {
"encryptedContent": EncryptedContent;
"keyTransportOrKEK"?: AnyType[];
"version"?: EnvelopedData.VersionEnum;
'EncryptedContent': EncryptedContent;
'KeyTransportOrKEK'?: Array<any>;
'Version'?: EnvelopedData.VersionEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "encryptedContent",
"name": "EncryptedContent",
"baseName": "EncryptedContent",
"type": "EncryptedContent"
},
{
"name": "keyTransportOrKEK",
"name": "KeyTransportOrKEK",
"baseName": "KeyTransportOrKEK",
"type": "Array<AnyType>"
"type": "Array<any>"
},
{
"name": "version",
"name": "Version",
"baseName": "Version",
"type": "EnvelopedData.VersionEnum"
} ];
@@ -64,11 +44,11 @@ export class EnvelopedData {
export namespace EnvelopedData {
export enum VersionEnum {
V0 = "V0" as any,
V1 = "V1" as any,
V2 = "V2" as any,
V3 = "V3" as any,
V4 = "V4" as any,
V5 = "V5" as any
V0 = <any> 'V0',
V1 = <any> 'V1',
V2 = <any> 'V2',
V3 = <any> 'V3',
V4 = <any> 'V4',
V5 = <any> 'V5'
}
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,21 +13,21 @@
export enum ErrorConditionType {
Aborted = "Aborted" as any,
Busy = "Busy" as any,
Cancel = "Cancel" as any,
DeviceOut = "DeviceOut" as any,
InProgress = "InProgress" as any,
InsertedCard = "InsertedCard" as any,
InvalidCard = "InvalidCard" as any,
LoggedOut = "LoggedOut" as any,
MessageFormat = "MessageFormat" as any,
NotAllowed = "NotAllowed" as any,
NotFound = "NotFound" as any,
PaymentRestriction = "PaymentRestriction" as any,
Refusal = "Refusal" as any,
UnavailableDevice = "UnavailableDevice" as any,
UnavailableService = "UnavailableService" as any,
UnreachableHost = "UnreachableHost" as any,
WrongPIN = "WrongPIN" as any
Aborted = <any> 'Aborted',
Busy = <any> 'Busy',
Cancel = <any> 'Cancel',
DeviceOut = <any> 'DeviceOut',
InProgress = <any> 'InProgress',
InsertedCard = <any> 'InsertedCard',
InvalidCard = <any> 'InvalidCard',
LoggedOut = <any> 'LoggedOut',
MessageFormat = <any> 'MessageFormat',
NotAllowed = <any> 'NotAllowed',
NotFound = <any> 'NotFound',
PaymentRestriction = <any> 'PaymentRestriction',
Refusal = <any> 'Refusal',
UnavailableDevice = <any> 'UnavailableDevice',
UnavailableService = <any> 'UnavailableService',
UnreachableHost = <any> 'UnreachableHost',
WrongPin = <any> 'WrongPIN'
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,54 +11,53 @@
*/
import { AnyType } from "./anyType";
import { DisplayOutput } from "./displayOutput";
import { EventToNotifyType } from "./eventToNotifyType";
import { DisplayOutput } from './displayOutput';
import { EventToNotifyType } from './eventToNotifyType';
export class EventNotification {
"customerLanguage"?: string;
"displayOutput"?: DisplayOutput;
"eventDetails"?: string;
"eventToNotify": EventToNotifyType;
"maintenanceRequiredFlag"?: boolean;
"rejectedMessage"?: AnyType;
"timeStamp": string;
'CustomerLanguage'?: string;
'DisplayOutput'?: DisplayOutput;
'EventDetails'?: string;
'EventToNotify': EventToNotifyType;
'MaintenanceRequiredFlag'?: boolean;
'RejectedMessage'?: any | null;
'TimeStamp': string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "customerLanguage",
"name": "CustomerLanguage",
"baseName": "CustomerLanguage",
"type": "string"
},
{
"name": "displayOutput",
"name": "DisplayOutput",
"baseName": "DisplayOutput",
"type": "DisplayOutput"
},
{
"name": "eventDetails",
"name": "EventDetails",
"baseName": "EventDetails",
"type": "string"
},
{
"name": "eventToNotify",
"name": "EventToNotify",
"baseName": "EventToNotify",
"type": "EventToNotifyType"
},
{
"name": "maintenanceRequiredFlag",
"name": "MaintenanceRequiredFlag",
"baseName": "MaintenanceRequiredFlag",
"type": "boolean"
},
{
"name": "rejectedMessage",
"name": "RejectedMessage",
"baseName": "RejectedMessage",
"type": "AnyType"
"type": "any"
},
{
"name": "timeStamp",
"name": "TimeStamp",
"baseName": "TimeStamp",
"type": "string"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,20 +13,20 @@
export enum EventToNotifyType {
Abort = "Abort" as any,
BeginMaintenance = "BeginMaintenance" as any,
CardInserted = "CardInserted" as any,
CardRemoved = "CardRemoved" as any,
Completed = "Completed" as any,
CustomerLanguage = "CustomerLanguage" as any,
EndMaintenance = "EndMaintenance" as any,
Initialised = "Initialised" as any,
KeyPressed = "KeyPressed" as any,
OutOfOrder = "OutOfOrder" as any,
Reject = "Reject" as any,
SaleAdmin = "SaleAdmin" as any,
SaleWakeUp = "SaleWakeUp" as any,
SecurityAlarm = "SecurityAlarm" as any,
Shutdown = "Shutdown" as any,
StopAssistance = "StopAssistance" as any
Abort = <any> 'Abort',
BeginMaintenance = <any> 'BeginMaintenance',
CardInserted = <any> 'CardInserted',
CardRemoved = <any> 'CardRemoved',
Completed = <any> 'Completed',
CustomerLanguage = <any> 'CustomerLanguage',
EndMaintenance = <any> 'EndMaintenance',
Initialised = <any> 'Initialised',
KeyPressed = <any> 'KeyPressed',
OutOfOrder = <any> 'OutOfOrder',
Reject = <any> 'Reject',
SaleAdmin = <any> 'SaleAdmin',
SaleWakeUp = <any> 'SaleWakeUp',
SecurityAlarm = <any> 'SecurityAlarm',
Shutdown = <any> 'Shutdown',
StopAssistance = <any> 'StopAssistance'
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,12 +13,12 @@
export class ExternalPlatform {
"name"?: string;
"version"?: string;
'name'?: string;
'version'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "name",
"baseName": "name",

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,15 +13,15 @@
export enum ForceEntryModeType {
CheckReader = "CheckReader" as any,
Contactless = "Contactless" as any,
File = "File" as any,
ICC = "ICC" as any,
Keyed = "Keyed" as any,
MagStripe = "MagStripe" as any,
Manual = "Manual" as any,
RFID = "RFID" as any,
Scanned = "Scanned" as any,
SynchronousICC = "SynchronousICC" as any,
Tapped = "Tapped" as any
CheckReader = <any> 'CheckReader',
Contactless = <any> 'Contactless',
File = <any> 'File',
Icc = <any> 'ICC',
Keyed = <any> 'Keyed',
MagStripe = <any> 'MagStripe',
Manual = <any> 'Manual',
Rfid = <any> 'RFID',
Scanned = <any> 'Scanned',
SynchronousIcc = <any> 'SynchronousICC',
Tapped = <any> 'Tapped'
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,7 +13,7 @@
export enum GenericProfileType {
Basic = "Basic" as any,
Extended = "Extended" as any,
Standard = "Standard" as any
Basic = <any> 'Basic',
Extended = <any> 'Extended',
Standard = <any> 'Standard'
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,19 +13,19 @@
export class GeographicCoordinates {
"latitude": string;
"longitude": string;
'Latitude': string;
'Longitude': string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "latitude",
"name": "Latitude",
"baseName": "Latitude",
"type": "string"
},
{
"name": "longitude",
"name": "Longitude",
"baseName": "Longitude",
"type": "string"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,23 +11,23 @@
*/
import { GeographicCoordinates } from "./geographicCoordinates";
import { UTMCoordinates } from "./uTMCoordinates";
import { GeographicCoordinates } from './geographicCoordinates';
import { UTMCoordinates } from './uTMCoordinates';
export class Geolocation {
"geographicCoordinates"?: GeographicCoordinates;
"uTMCoordinates"?: UTMCoordinates;
'GeographicCoordinates'?: GeographicCoordinates;
'UTMCoordinates'?: UTMCoordinates;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "geographicCoordinates",
"name": "GeographicCoordinates",
"baseName": "GeographicCoordinates",
"type": "GeographicCoordinates"
},
{
"name": "uTMCoordinates",
"name": "UTMCoordinates",
"baseName": "UTMCoordinates",
"type": "UTMCoordinates"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,22 +11,22 @@
*/
import { TotalFilter } from "./totalFilter";
import { TotalFilter } from './totalFilter';
export class GetTotalsRequest {
"totalDetails"?: GetTotalsRequest.TotalDetailsEnum[];
"totalFilter"?: TotalFilter;
'TotalDetails'?: Array<GetTotalsRequest.TotalDetailsEnum>;
'TotalFilter'?: TotalFilter;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "totalDetails",
"name": "TotalDetails",
"baseName": "TotalDetails",
"type": "Array<GetTotalsRequest.TotalDetailsEnum>"
},
{
"name": "totalFilter",
"name": "TotalFilter",
"baseName": "TotalFilter",
"type": "TotalFilter"
} ];
@@ -57,10 +38,10 @@ export class GetTotalsRequest {
export namespace GetTotalsRequest {
export enum TotalDetailsEnum {
OperatorID = "OperatorID" as any,
POIID = "POIID" as any,
SaleID = "SaleID" as any,
ShiftNumber = "ShiftNumber" as any,
TotalsGroupID = "TotalsGroupID" as any
OperatorId = <any> 'OperatorID',
Poiid = <any> 'POIID',
SaleId = <any> 'SaleID',
ShiftNumber = <any> 'ShiftNumber',
TotalsGroupId = <any> 'TotalsGroupID'
}
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,29 +11,29 @@
*/
import { Response } from "./response";
import { TransactionTotals } from "./transactionTotals";
import { Response } from './response';
import { TransactionTotals } from './transactionTotals';
export class GetTotalsResponse {
"pOIReconciliationID": string;
"response": Response;
"transactionTotals"?: TransactionTotals[];
'POIReconciliationID': string;
'Response': Response;
'TransactionTotals'?: Array<TransactionTotals>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "pOIReconciliationID",
"name": "POIReconciliationID",
"baseName": "POIReconciliationID",
"type": "string"
},
{
"name": "response",
"name": "Response",
"baseName": "Response",
"type": "Response"
},
{
"name": "transactionTotals",
"name": "TransactionTotals",
"baseName": "TransactionTotals",
"type": "Array<TransactionTotals>"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,8 +13,8 @@
export enum GlobalStatusType {
Busy = "Busy" as any,
Maintenance = "Maintenance" as any,
OK = "OK" as any,
Unreachable = "Unreachable" as any
Busy = <any> 'Busy',
Maintenance = <any> 'Maintenance',
Ok = <any> 'OK',
Unreachable = <any> 'Unreachable'
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,19 +13,19 @@
export class HostStatus {
"acquirerID": string;
"isReachableFlag"?: boolean;
'AcquirerID': string;
'IsReachableFlag'?: boolean;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "acquirerID",
"name": "AcquirerID",
"baseName": "AcquirerID",
"type": "string"
},
{
"name": "isReachableFlag",
"name": "IsReachableFlag",
"baseName": "IsReachableFlag",
"type": "boolean"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,24 +11,23 @@
*/
import { AnyType } from "./anyType";
export class ICCResetData {
"atrValue"?: AnyType;
"cardStatusWords"?: AnyType;
'AtrValue'?: any | null;
'CardStatusWords'?: any | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "atrValue",
"name": "AtrValue",
"baseName": "AtrValue",
"type": "AnyType"
"type": "any"
},
{
"name": "cardStatusWords",
"name": "CardStatusWords",
"baseName": "CardStatusWords",
"type": "AnyType"
"type": "any"
} ];
static getAttributeTypeMap() {

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,8 +13,8 @@
export enum IdentificationSupportType {
HybridCard = "HybridCard" as any,
LinkedCard = "LinkedCard" as any,
LoyaltyCard = "LoyaltyCard" as any,
NoCard = "NoCard" as any
HybridCard = <any> 'HybridCard',
LinkedCard = <any> 'LinkedCard',
LoyaltyCard = <any> 'LoyaltyCard',
NoCard = <any> 'NoCard'
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,9 +13,9 @@
export enum IdentificationType {
AccountNumber = "AccountNumber" as any,
BarCode = "BarCode" as any,
ISOTrack2 = "ISOTrack2" as any,
PAN = "PAN" as any,
PhoneNumber = "PhoneNumber" as any
AccountNumber = <any> 'AccountNumber',
BarCode = <any> 'BarCode',
IsoTrack2 = <any> 'ISOTrack2',
Pan = <any> 'PAN',
PhoneNumber = <any> 'PhoneNumber'
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,14 +13,14 @@
export enum InfoQualifyType {
CustomerAssistance = "CustomerAssistance" as any,
Display = "Display" as any,
Document = "Document" as any,
Error = "Error" as any,
Input = "Input" as any,
POIReplication = "POIReplication" as any,
Receipt = "Receipt" as any,
Sound = "Sound" as any,
Status = "Status" as any,
Voucher = "Voucher" as any
CustomerAssistance = <any> 'CustomerAssistance',
Display = <any> 'Display',
Document = <any> 'Document',
Error = <any> 'Error',
Input = <any> 'Input',
PoiReplication = <any> 'POIReplication',
Receipt = <any> 'Receipt',
Sound = <any> 'Sound',
Status = <any> 'Status',
Voucher = <any> 'Voucher'
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,53 +11,53 @@
*/
import { ContentInformation } from "./contentInformation";
import { InputCommandType } from "./inputCommandType";
import { ContentInformation } from './contentInformation';
import { InputCommandType } from './inputCommandType';
export class Input {
"confirmedFlag"?: boolean;
"digitInput"?: string;
"functionKey"?: string;
"inputCommand": InputCommandType;
"menuEntryNumber"?: number;
"password"?: ContentInformation;
"textInput"?: string;
'ConfirmedFlag'?: boolean;
'DigitInput'?: string;
'FunctionKey'?: string;
'InputCommand': InputCommandType;
'MenuEntryNumber'?: number;
'Password'?: ContentInformation;
'TextInput'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "confirmedFlag",
"name": "ConfirmedFlag",
"baseName": "ConfirmedFlag",
"type": "boolean"
},
{
"name": "digitInput",
"name": "DigitInput",
"baseName": "DigitInput",
"type": "string"
},
{
"name": "functionKey",
"name": "FunctionKey",
"baseName": "FunctionKey",
"type": "string"
},
{
"name": "inputCommand",
"name": "InputCommand",
"baseName": "InputCommand",
"type": "InputCommandType"
},
{
"name": "menuEntryNumber",
"name": "MenuEntryNumber",
"baseName": "MenuEntryNumber",
"type": "number"
},
{
"name": "password",
"name": "Password",
"baseName": "Password",
"type": "ContentInformation"
},
{
"name": "textInput",
"name": "TextInput",
"baseName": "TextInput",
"type": "string"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,13 +13,13 @@
export enum InputCommandType {
DecimalString = "DecimalString" as any,
DigitString = "DigitString" as any,
GetAnyKey = "GetAnyKey" as any,
GetConfirmation = "GetConfirmation" as any,
GetFunctionKey = "GetFunctionKey" as any,
GetMenuEntry = "GetMenuEntry" as any,
Password = "Password" as any,
SiteManager = "SiteManager" as any,
TextString = "TextString" as any
DecimalString = <any> 'DecimalString',
DigitString = <any> 'DigitString',
GetAnyKey = <any> 'GetAnyKey',
GetConfirmation = <any> 'GetConfirmation',
GetFunctionKey = <any> 'GetFunctionKey',
GetMenuEntry = <any> 'GetMenuEntry',
Password = <any> 'Password',
SiteManager = <any> 'SiteManager',
TextString = <any> 'TextString'
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,132 +11,132 @@
*/
import { DeviceType } from "./deviceType";
import { InfoQualifyType } from "./infoQualifyType";
import { InputCommandType } from "./inputCommandType";
import { DeviceType } from './deviceType';
import { InfoQualifyType } from './infoQualifyType';
import { InputCommandType } from './inputCommandType';
export class 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;
'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;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "beepKeyFlag",
"name": "BeepKeyFlag",
"baseName": "BeepKeyFlag",
"type": "boolean"
},
{
"name": "defaultInputString",
"name": "DefaultInputString",
"baseName": "DefaultInputString",
"type": "string"
},
{
"name": "device",
"name": "Device",
"baseName": "Device",
"type": "DeviceType"
},
{
"name": "disableCancelFlag",
"name": "DisableCancelFlag",
"baseName": "DisableCancelFlag",
"type": "boolean"
},
{
"name": "disableCorrectFlag",
"name": "DisableCorrectFlag",
"baseName": "DisableCorrectFlag",
"type": "boolean"
},
{
"name": "disableValidFlag",
"name": "DisableValidFlag",
"baseName": "DisableValidFlag",
"type": "boolean"
},
{
"name": "fromRightToLeftFlag",
"name": "FromRightToLeftFlag",
"baseName": "FromRightToLeftFlag",
"type": "boolean"
},
{
"name": "globalCorrectionFlag",
"name": "GlobalCorrectionFlag",
"baseName": "GlobalCorrectionFlag",
"type": "boolean"
},
{
"name": "immediateResponseFlag",
"name": "ImmediateResponseFlag",
"baseName": "ImmediateResponseFlag",
"type": "boolean"
},
{
"name": "infoQualify",
"name": "InfoQualify",
"baseName": "InfoQualify",
"type": "InfoQualifyType"
},
{
"name": "inputCommand",
"name": "InputCommand",
"baseName": "InputCommand",
"type": "InputCommandType"
},
{
"name": "maskCharactersFlag",
"name": "MaskCharactersFlag",
"baseName": "MaskCharactersFlag",
"type": "boolean"
},
{
"name": "maxDecimalLength",
"name": "MaxDecimalLength",
"baseName": "MaxDecimalLength",
"type": "number"
},
{
"name": "maxInputTime",
"name": "MaxInputTime",
"baseName": "MaxInputTime",
"type": "number"
},
{
"name": "maxLength",
"name": "MaxLength",
"baseName": "MaxLength",
"type": "number"
},
{
"name": "menuBackFlag",
"name": "MenuBackFlag",
"baseName": "MenuBackFlag",
"type": "boolean"
},
{
"name": "minLength",
"name": "MinLength",
"baseName": "MinLength",
"type": "number"
},
{
"name": "notifyCardInputFlag",
"name": "NotifyCardInputFlag",
"baseName": "NotifyCardInputFlag",
"type": "boolean"
},
{
"name": "stringMask",
"name": "StringMask",
"baseName": "StringMask",
"type": "string"
},
{
"name": "waitUserValidationFlag",
"name": "WaitUserValidationFlag",
"baseName": "WaitUserValidationFlag",
"type": "boolean"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,23 +11,23 @@
*/
import { DisplayOutput } from "./displayOutput";
import { InputData } from "./inputData";
import { DisplayOutput } from './displayOutput';
import { InputData } from './inputData';
export class InputRequest {
"displayOutput"?: DisplayOutput;
"inputData": InputData;
'DisplayOutput'?: DisplayOutput;
'InputData': InputData;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "displayOutput",
"name": "DisplayOutput",
"baseName": "DisplayOutput",
"type": "DisplayOutput"
},
{
"name": "inputData",
"name": "InputData",
"baseName": "InputData",
"type": "InputData"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,23 +11,23 @@
*/
import { InputResult } from "./inputResult";
import { OutputResult } from "./outputResult";
import { InputResult } from './inputResult';
import { OutputResult } from './outputResult';
export class InputResponse {
"inputResult": InputResult;
"outputResult"?: OutputResult;
'InputResult': InputResult;
'OutputResult'?: OutputResult;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "inputResult",
"name": "InputResult",
"baseName": "InputResult",
"type": "InputResult"
},
{
"name": "outputResult",
"name": "OutputResult",
"baseName": "OutputResult",
"type": "OutputResult"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,37 +11,37 @@
*/
import { DeviceType } from "./deviceType";
import { InfoQualifyType } from "./infoQualifyType";
import { Input } from "./input";
import { Response } from "./response";
import { DeviceType } from './deviceType';
import { InfoQualifyType } from './infoQualifyType';
import { Input } from './input';
import { Response } from './response';
export class InputResult {
"device": DeviceType;
"infoQualify": InfoQualifyType;
"input"?: Input;
"response": Response;
'Device': DeviceType;
'InfoQualify': InfoQualifyType;
'Input'?: Input;
'Response': Response;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "device",
"name": "Device",
"baseName": "Device",
"type": "DeviceType"
},
{
"name": "infoQualify",
"name": "InfoQualify",
"baseName": "InfoQualify",
"type": "InfoQualifyType"
},
{
"name": "input",
"name": "Input",
"baseName": "Input",
"type": "Input"
},
{
"name": "response",
"name": "Response",
"baseName": "Response",
"type": "Response"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,57 +11,56 @@
*/
import { AnyType } from "./anyType";
import { MenuEntry } from "./menuEntry";
import { MessageReference } from "./messageReference";
import { OutputContent } from "./outputContent";
import { MenuEntry } from './menuEntry';
import { MessageReference } from './messageReference';
import { OutputContent } from './outputContent';
export class InputUpdate {
"maxDecimalLength"?: number;
"maxLength"?: number;
"menuEntry"?: MenuEntry[];
"messageReference": MessageReference;
"minLength"?: number;
"outputContent": OutputContent;
"outputSignature"?: AnyType;
'MaxDecimalLength'?: number;
'MaxLength'?: number;
'MenuEntry'?: Array<MenuEntry>;
'MessageReference': MessageReference;
'MinLength'?: number;
'OutputContent': OutputContent;
'OutputSignature'?: any | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "maxDecimalLength",
"name": "MaxDecimalLength",
"baseName": "MaxDecimalLength",
"type": "number"
},
{
"name": "maxLength",
"name": "MaxLength",
"baseName": "MaxLength",
"type": "number"
},
{
"name": "menuEntry",
"name": "MenuEntry",
"baseName": "MenuEntry",
"type": "Array<MenuEntry>"
},
{
"name": "messageReference",
"name": "MessageReference",
"baseName": "MessageReference",
"type": "MessageReference"
},
{
"name": "minLength",
"name": "MinLength",
"baseName": "MinLength",
"type": "number"
},
{
"name": "outputContent",
"name": "OutputContent",
"baseName": "OutputContent",
"type": "OutputContent"
},
{
"name": "outputSignature",
"name": "OutputSignature",
"baseName": "OutputSignature",
"type": "AnyType"
"type": "any"
} ];
static getAttributeTypeMap() {

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,67 +13,67 @@
export class Instalment {
"charges"?: number;
"cumulativeAmount"?: number;
"firstAmount"?: number;
"firstPaymentDate"?: string;
"instalmentType"?: Instalment.InstalmentTypeEnum[];
"period"?: number;
"periodUnit"?: Instalment.PeriodUnitEnum;
"planID"?: string;
"sequenceNumber"?: number;
"totalNbOfPayments"?: number;
'Charges'?: number;
'CumulativeAmount'?: number;
'FirstAmount'?: number;
'FirstPaymentDate'?: string;
'InstalmentType'?: Array<Instalment.InstalmentTypeEnum>;
'Period'?: number;
'PeriodUnit'?: Instalment.PeriodUnitEnum;
'PlanID'?: string;
'SequenceNumber'?: number;
'TotalNbOfPayments'?: number;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "charges",
"name": "Charges",
"baseName": "Charges",
"type": "number"
},
{
"name": "cumulativeAmount",
"name": "CumulativeAmount",
"baseName": "CumulativeAmount",
"type": "number"
},
{
"name": "firstAmount",
"name": "FirstAmount",
"baseName": "FirstAmount",
"type": "number"
},
{
"name": "firstPaymentDate",
"name": "FirstPaymentDate",
"baseName": "FirstPaymentDate",
"type": "string"
},
{
"name": "instalmentType",
"name": "InstalmentType",
"baseName": "InstalmentType",
"type": "Array<Instalment.InstalmentTypeEnum>"
},
{
"name": "period",
"name": "Period",
"baseName": "Period",
"type": "number"
},
{
"name": "periodUnit",
"name": "PeriodUnit",
"baseName": "PeriodUnit",
"type": "Instalment.PeriodUnitEnum"
},
{
"name": "planID",
"name": "PlanID",
"baseName": "PlanID",
"type": "string"
},
{
"name": "sequenceNumber",
"name": "SequenceNumber",
"baseName": "SequenceNumber",
"type": "number"
},
{
"name": "totalNbOfPayments",
"name": "TotalNbOfPayments",
"baseName": "TotalNbOfPayments",
"type": "number"
} ];
@@ -104,14 +85,14 @@ export class Instalment {
export namespace Instalment {
export enum InstalmentTypeEnum {
DeferredInstalments = "DeferredInstalments" as any,
EqualInstalments = "EqualInstalments" as any,
InequalInstalments = "InequalInstalments" as any
DeferredInstalments = <any> 'DeferredInstalments',
EqualInstalments = <any> 'EqualInstalments',
InequalInstalments = <any> 'InequalInstalments'
}
export enum PeriodUnitEnum {
Annual = "Annual" as any,
Daily = "Daily" as any,
Monthly = "Monthly" as any,
Weekly = "Weekly" as any
Annual = <any> 'Annual',
Daily = <any> 'Daily',
Monthly = <any> 'Monthly',
Weekly = <any> 'Weekly'
}
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,7 +13,7 @@
export enum InstalmentType {
DeferredInstalments = "DeferredInstalments" as any,
EqualInstalments = "EqualInstalments" as any,
InequalInstalments = "InequalInstalments" as any
DeferredInstalments = <any> 'DeferredInstalments',
EqualInstalments = <any> 'EqualInstalments',
InequalInstalments = <any> 'InequalInstalments'
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,16 +11,16 @@
*/
import { RelativeDistinguishedName } from "./relativeDistinguishedName";
import { RelativeDistinguishedName } from './relativeDistinguishedName';
export class Issuer {
"relativeDistinguishedName": RelativeDistinguishedName[];
'RelativeDistinguishedName': Array<RelativeDistinguishedName>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "relativeDistinguishedName",
"name": "RelativeDistinguishedName",
"baseName": "RelativeDistinguishedName",
"type": "Array<RelativeDistinguishedName>"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,22 +11,22 @@
*/
import { Issuer } from "./issuer";
import { Issuer } from './issuer';
export class IssuerAndSerialNumber {
"issuer": Issuer;
"serialNumber": number;
'Issuer': Issuer;
'SerialNumber': number;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "issuer",
"name": "Issuer",
"baseName": "Issuer",
"type": "Issuer"
},
{
"name": "serialNumber",
"name": "SerialNumber",
"baseName": "SerialNumber",
"type": "number"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,72 +11,71 @@
*/
import { AnyType } from "./anyType";
import { SaleSoftware } from "./saleSoftware";
import { SaleTerminalData } from "./saleTerminalData";
import { SaleSoftware } from './saleSoftware';
import { SaleTerminalData } from './saleTerminalData';
export class LoginRequest {
"customerOrderReq"?: LoginRequest.CustomerOrderReqEnum[];
"dateTime": { [key: string]: AnyType; };
"operatorID"?: string;
"operatorLanguage": string;
"pOISerialNumber"?: string;
"saleSoftware": SaleSoftware;
"saleTerminalData"?: SaleTerminalData;
"shiftNumber"?: string;
"tokenRequestedType"?: LoginRequest.TokenRequestedTypeEnum;
"trainingModeFlag"?: boolean;
'CustomerOrderReq'?: Array<LoginRequest.CustomerOrderReqEnum>;
'DateTime': { [key: string]: any; };
'OperatorID'?: string;
'OperatorLanguage': string;
'POISerialNumber'?: string;
'SaleSoftware': SaleSoftware;
'SaleTerminalData'?: SaleTerminalData;
'ShiftNumber'?: string;
'TokenRequestedType'?: LoginRequest.TokenRequestedTypeEnum;
'TrainingModeFlag'?: boolean;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "customerOrderReq",
"name": "CustomerOrderReq",
"baseName": "CustomerOrderReq",
"type": "Array<LoginRequest.CustomerOrderReqEnum>"
},
{
"name": "dateTime",
"name": "DateTime",
"baseName": "DateTime",
"type": "{ [key: string]: AnyType; }"
"type": "{ [key: string]: any; }"
},
{
"name": "operatorID",
"name": "OperatorID",
"baseName": "OperatorID",
"type": "string"
},
{
"name": "operatorLanguage",
"name": "OperatorLanguage",
"baseName": "OperatorLanguage",
"type": "string"
},
{
"name": "pOISerialNumber",
"name": "POISerialNumber",
"baseName": "POISerialNumber",
"type": "string"
},
{
"name": "saleSoftware",
"name": "SaleSoftware",
"baseName": "SaleSoftware",
"type": "SaleSoftware"
},
{
"name": "saleTerminalData",
"name": "SaleTerminalData",
"baseName": "SaleTerminalData",
"type": "SaleTerminalData"
},
{
"name": "shiftNumber",
"name": "ShiftNumber",
"baseName": "ShiftNumber",
"type": "string"
},
{
"name": "tokenRequestedType",
"name": "TokenRequestedType",
"baseName": "TokenRequestedType",
"type": "LoginRequest.TokenRequestedTypeEnum"
},
{
"name": "trainingModeFlag",
"name": "TrainingModeFlag",
"baseName": "TrainingModeFlag",
"type": "boolean"
} ];
@@ -107,12 +87,12 @@ export class LoginRequest {
export namespace LoginRequest {
export enum CustomerOrderReqEnum {
Both = "Both" as any,
Closed = "Closed" as any,
Open = "Open" as any
Both = <any> 'Both',
Closed = <any> 'Closed',
Open = <any> 'Open'
}
export enum TokenRequestedTypeEnum {
Customer = "Customer" as any,
Transaction = "Transaction" as any
Customer = <any> 'Customer',
Transaction = <any> 'Transaction'
}
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,23 +11,23 @@
*/
import { POISystemData } from "./pOISystemData";
import { Response } from "./response";
import { POISystemData } from './pOISystemData';
import { Response } from './response';
export class LoginResponse {
"pOISystemData"?: POISystemData;
"response": Response;
'POISystemData'?: POISystemData;
'Response': Response;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "pOISystemData",
"name": "POISystemData",
"baseName": "POISystemData",
"type": "POISystemData"
},
{
"name": "response",
"name": "Response",
"baseName": "Response",
"type": "Response"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -32,13 +13,13 @@
export class LogoutRequest {
"maintenanceAllowed"?: boolean;
'MaintenanceAllowed'?: boolean;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "maintenanceAllowed",
"name": "MaintenanceAllowed",
"baseName": "MaintenanceAllowed",
"type": "boolean"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,16 +11,16 @@
*/
import { Response } from "./response";
import { Response } from './response';
export class LogoutResponse {
"response": Response;
'Response': Response;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "response",
"name": "Response",
"baseName": "Response",
"type": "Response"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,22 +11,22 @@
*/
import { LoyaltyAccountId } from "./loyaltyAccountId";
import { LoyaltyAccountId } from './loyaltyAccountId';
export class LoyaltyAccount {
"loyaltyAccountID": LoyaltyAccountId;
"loyaltyBrand"?: string;
'LoyaltyAccountID': LoyaltyAccountId;
'LoyaltyBrand'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "loyaltyAccountID",
"name": "LoyaltyAccountID",
"baseName": "LoyaltyAccountID",
"type": "LoyaltyAccountId"
},
{
"name": "loyaltyBrand",
"name": "LoyaltyBrand",
"baseName": "LoyaltyBrand",
"type": "string"
} ];

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,34 +11,34 @@
*/
import { IdentificationType } from "./identificationType";
import { IdentificationType } from './identificationType';
export class LoyaltyAccountId {
"entryMode": LoyaltyAccountId.EntryModeEnum[];
"identificationSupport"?: LoyaltyAccountId.IdentificationSupportEnum;
"identificationType": IdentificationType;
"value"?: string;
'EntryMode': Array<LoyaltyAccountId.EntryModeEnum>;
'IdentificationSupport'?: LoyaltyAccountId.IdentificationSupportEnum;
'IdentificationType': IdentificationType;
'Value'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "entryMode",
"name": "EntryMode",
"baseName": "EntryMode",
"type": "Array<LoyaltyAccountId.EntryModeEnum>"
},
{
"name": "identificationSupport",
"name": "IdentificationSupport",
"baseName": "IdentificationSupport",
"type": "LoyaltyAccountId.IdentificationSupportEnum"
},
{
"name": "identificationType",
"name": "IdentificationType",
"baseName": "IdentificationType",
"type": "IdentificationType"
},
{
"name": "value",
"name": "Value",
"baseName": "Value",
"type": "string"
} ];
@@ -69,22 +50,22 @@ export class LoyaltyAccountId {
export namespace LoyaltyAccountId {
export enum EntryModeEnum {
Contactless = "Contactless" as any,
File = "File" as any,
ICC = "ICC" as any,
Keyed = "Keyed" as any,
MagStripe = "MagStripe" as any,
Manual = "Manual" as any,
Mobile = "Mobile" as any,
RFID = "RFID" as any,
Scanned = "Scanned" as any,
SynchronousICC = "SynchronousICC" as any,
Tapped = "Tapped" as any
Contactless = <any> 'Contactless',
File = <any> 'File',
Icc = <any> 'ICC',
Keyed = <any> 'Keyed',
MagStripe = <any> 'MagStripe',
Manual = <any> 'Manual',
Mobile = <any> 'Mobile',
Rfid = <any> 'RFID',
Scanned = <any> 'Scanned',
SynchronousIcc = <any> 'SynchronousICC',
Tapped = <any> 'Tapped'
}
export enum IdentificationSupportEnum {
HybridCard = "HybridCard" as any,
LinkedCard = "LinkedCard" as any,
LoyaltyCard = "LoyaltyCard" as any,
NoCard = "NoCard" as any
HybridCard = <any> 'HybridCard',
LinkedCard = <any> 'LinkedCard',
LoyaltyCard = <any> 'LoyaltyCard',
NoCard = <any> 'NoCard'
}
}

View File

@@ -1,28 +1,9 @@
/*
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
* Adyen NodeJS API Library
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*/
/**
* Terminal API
* Definition of Terminal API Schema
*
* The version of the OpenAPI document: 1.0.0
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
@@ -30,23 +11,23 @@
*/
import { LoyaltyAccountId } from "./loyaltyAccountId";
import { TransactionIdentification } from "./transactionIdentification";
import { LoyaltyAccountId } from './loyaltyAccountId';
import { TransactionIdentification } from './transactionIdentification';
export class LoyaltyAccountReq {
"cardAcquisitionReference"?: TransactionIdentification;
"loyaltyAccountID"?: LoyaltyAccountId;
'CardAcquisitionReference'?: TransactionIdentification;
'LoyaltyAccountID'?: LoyaltyAccountId;
static discriminator: string | undefined = undefined;
static attributeTypeMap: {name: string, baseName: string, type: string}[] = [
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "cardAcquisitionReference",
"name": "CardAcquisitionReference",
"baseName": "CardAcquisitionReference",
"type": "TransactionIdentification"
},
{
"name": "loyaltyAccountID",
"name": "LoyaltyAccountID",
"baseName": "LoyaltyAccountID",
"type": "LoyaltyAccountId"
} ];

Some files were not shown because too many files have changed in this diff Show More