From a21f14e14355d9eeb4601cb24dc8d47a7ffe67a9 Mon Sep 17 00:00:00 2001 From: Wouter Boereboom Date: Wed, 21 Jul 2021 14:01:10 +0200 Subject: [PATCH] updated terminal api types. fixed capitalization in service classes --- src/__mocks__/base.ts | 52 ++--- src/__tests__/terminalCloudAPI.spec.ts | 8 +- src/__tests__/terminalLocalAPI.spec.ts | 20 +- src/security/nexoCrypto.ts | 34 +-- src/services/terminalCloudAPI.ts | 2 +- src/services/terminalLocalAPI.ts | 4 +- src/typings/terminal/abortRequest.ts | 39 +--- src/typings/terminal/accountType.ts | 37 +--- src/typings/terminal/adminRequest.ts | 27 +-- src/typings/terminal/adminResponse.ts | 29 +-- src/typings/terminal/algorithmIdentifier.ts | 35 +--- src/typings/terminal/algorithmType.ts | 39 +--- src/typings/terminal/alignmentType.ts | 29 +-- src/typings/terminal/allowedProduct.ts | 39 +--- src/typings/terminal/amount.ts | 31 +-- src/typings/terminal/amountsReq.ts | 55 ++--- src/typings/terminal/amountsResp.ts | 47 ++--- src/typings/terminal/applicationInfo.ts | 45 ++-- src/typings/terminal/areaSize.ts | 31 +-- src/typings/terminal/authenticatedData.ts | 64 ++---- .../terminal/authenticationMethodType.ts | 43 ++-- src/typings/terminal/balanceInquiryRequest.ts | 35 +--- .../terminal/balanceInquiryResponse.ts | 41 +--- src/typings/terminal/barcodeType.ts | 35 +--- src/typings/terminal/batchRequest.ts | 33 +-- src/typings/terminal/batchResponse.ts | 35 +--- src/typings/terminal/capturedSignature.ts | 35 +--- .../terminal/cardAcquisitionRequest.ts | 35 +--- .../terminal/cardAcquisitionResponse.ts | 63 ++---- .../terminal/cardAcquisitionTransaction.ts | 115 +++++----- src/typings/terminal/cardData.ts | 99 ++++----- src/typings/terminal/cardReaderAPDURequest.ts | 60 ++---- .../terminal/cardReaderAPDUResponse.ts | 42 +--- src/typings/terminal/cardReaderInitRequest.ts | 67 +++--- .../terminal/cardReaderInitResponse.ts | 67 +++--- .../terminal/cardReaderPowerOffRequest.ts | 33 +-- .../terminal/cardReaderPowerOffResponse.ts | 29 +-- src/typings/terminal/cardholderPIN.ts | 39 +--- src/typings/terminal/cashHandlingDevice.ts | 37 +--- src/typings/terminal/characterHeightType.ts | 27 +-- src/typings/terminal/characterStyleType.ts | 29 +-- src/typings/terminal/characterWidthType.ts | 25 +-- src/typings/terminal/checkData.ts | 57 ++--- src/typings/terminal/checkTypeCodeType.ts | 25 +-- src/typings/terminal/coinsOrBills.ts | 31 +-- src/typings/terminal/colorType.ts | 37 +--- src/typings/terminal/commonField.ts | 27 +-- src/typings/terminal/contentInformation.ts | 59 ++---- src/typings/terminal/contentType.ts | 33 +-- src/typings/terminal/currencyConversion.ts | 49 ++--- src/typings/terminal/customerOrder.ts | 64 ++---- src/typings/terminal/customerOrderReqType.ts | 27 +-- src/typings/terminal/deviceType.ts | 29 +-- src/typings/terminal/diagnosisRequest.ts | 35 +--- src/typings/terminal/diagnosisResponse.ts | 45 ++-- src/typings/terminal/digestedData.ts | 58 ++---- src/typings/terminal/displayOutput.ts | 62 ++---- src/typings/terminal/displayRequest.ts | 29 +-- src/typings/terminal/displayResponse.ts | 29 +-- src/typings/terminal/documentQualifierType.ts | 33 +-- src/typings/terminal/enableServiceRequest.ts | 45 ++-- src/typings/terminal/enableServiceResponse.ts | 29 +-- src/typings/terminal/encapsulatedContent.ts | 36 +--- src/typings/terminal/encryptedContent.ts | 42 +--- src/typings/terminal/entryModeType.ts | 43 ++-- src/typings/terminal/envelopedData.ts | 52 ++--- src/typings/terminal/errorConditionType.ts | 55 ++--- src/typings/terminal/eventNotification.ts | 58 ++---- src/typings/terminal/eventToNotifyType.ts | 53 ++--- src/typings/terminal/externalPlatform.ts | 27 +-- src/typings/terminal/forceEntryModeType.ts | 43 ++-- src/typings/terminal/genericProfileType.ts | 27 +-- src/typings/terminal/geographicCoordinates.ts | 31 +-- src/typings/terminal/geolocation.ts | 35 +--- src/typings/terminal/getTotalsRequest.ts | 43 ++-- src/typings/terminal/getTotalsResponse.ts | 39 +--- src/typings/terminal/globalStatusType.ts | 29 +-- src/typings/terminal/hostStatus.ts | 31 +-- src/typings/terminal/iCCResetData.ts | 36 +--- .../terminal/identificationSupportType.ts | 29 +-- src/typings/terminal/identificationType.ts | 31 +-- src/typings/terminal/infoQualifyType.ts | 41 +--- src/typings/terminal/input.ts | 55 ++--- src/typings/terminal/inputCommandType.ts | 39 +--- src/typings/terminal/inputData.ts | 109 ++++------ src/typings/terminal/inputRequest.ts | 35 +--- src/typings/terminal/inputResponse.ts | 35 +--- src/typings/terminal/inputResult.ts | 47 ++--- src/typings/terminal/inputUpdate.ts | 60 ++---- src/typings/terminal/instalment.ts | 77 +++---- src/typings/terminal/instalmentType.ts | 27 +-- src/typings/terminal/issuer.ts | 29 +-- src/typings/terminal/issuerAndSerialNumber.ts | 33 +-- src/typings/terminal/loginRequest.ts | 80 +++---- src/typings/terminal/loginResponse.ts | 35 +--- src/typings/terminal/logoutRequest.ts | 27 +-- src/typings/terminal/logoutResponse.ts | 29 +-- src/typings/terminal/loyaltyAccount.ts | 33 +-- src/typings/terminal/loyaltyAccountId.ts | 71 +++---- src/typings/terminal/loyaltyAccountReq.ts | 35 +--- src/typings/terminal/loyaltyAccountStatus.ts | 45 ++-- src/typings/terminal/loyaltyAcquirerData.ts | 41 +--- src/typings/terminal/loyaltyAmount.ts | 39 +--- src/typings/terminal/loyaltyData.ts | 41 +--- src/typings/terminal/loyaltyHandlingType.ts | 31 +-- src/typings/terminal/loyaltyRequest.ts | 41 +--- src/typings/terminal/loyaltyResponse.ts | 53 ++--- src/typings/terminal/loyaltyResult.ts | 51 ++--- src/typings/terminal/loyaltyTotals.ts | 37 +--- src/typings/terminal/loyaltyTransaction.ts | 55 ++--- .../terminal/loyaltyTransactionType.ts | 33 +-- src/typings/terminal/loyaltyUnitType.ts | 25 +-- src/typings/terminal/menuEntry.ts | 64 ++---- src/typings/terminal/menuEntryTagType.ts | 29 +-- src/typings/terminal/merchantDevice.ts | 29 +-- src/typings/terminal/messageCategoryType.ts | 75 +++---- src/typings/terminal/messageClassType.ts | 27 +-- src/typings/terminal/messageHeader.ts | 61 ++---- src/typings/terminal/messageReference.ts | 97 ++++----- src/typings/terminal/messageType.ts | 27 +-- src/typings/terminal/mobileData.ts | 53 ++--- src/typings/terminal/namedKeyEncryptedData.ts | 49 ++--- src/typings/terminal/nexoDerivedKey.ts | 42 +--- .../terminal/originalPOITransaction.ts | 57 ++--- src/typings/terminal/outputBarcode.ts | 47 ++--- src/typings/terminal/outputContent.ts | 54 ++--- src/typings/terminal/outputFormatType.ts | 29 +-- src/typings/terminal/outputResult.ts | 41 +--- src/typings/terminal/outputText.ts | 109 ++++------ src/typings/terminal/pINFormatType.ts | 29 +-- src/typings/terminal/pINRequest.ts | 67 +++--- src/typings/terminal/pINRequestType.ts | 27 +-- src/typings/terminal/pINResponse.ts | 35 +--- src/typings/terminal/pOICapabilitiesType.ts | 47 ++--- src/typings/terminal/pOIData.ts | 33 +-- src/typings/terminal/pOIProfile.ts | 57 ++--- src/typings/terminal/pOISoftware.ts | 39 +--- src/typings/terminal/pOIStatus.ts | 69 +++--- src/typings/terminal/pOISystemData.ts | 48 ++--- src/typings/terminal/pOITerminalData.ts | 69 +++--- src/typings/terminal/parameter.ts | 30 +-- src/typings/terminal/paymentAccountReq.ts | 55 ++--- src/typings/terminal/paymentAccountStatus.ts | 49 ++--- src/typings/terminal/paymentAcquirerData.ts | 45 ++-- src/typings/terminal/paymentData.ts | 83 +++----- src/typings/terminal/paymentInstrumentData.ts | 47 ++--- src/typings/terminal/paymentInstrumentType.ts | 31 +-- src/typings/terminal/paymentReceipt.ts | 43 ++-- src/typings/terminal/paymentRequest.ts | 47 ++--- src/typings/terminal/paymentResponse.ts | 65 ++---- src/typings/terminal/paymentResult.ts | 135 ++++++------ src/typings/terminal/paymentToken.ts | 40 +--- src/typings/terminal/paymentTotals.ts | 37 +--- src/typings/terminal/paymentTransaction.ts | 47 ++--- src/typings/terminal/paymentType.ts | 45 ++-- src/typings/terminal/performedTransaction.ts | 57 ++--- src/typings/terminal/periodUnitType.ts | 29 +-- src/typings/terminal/predefinedContent.ts | 31 +-- src/typings/terminal/printOutput.ts | 56 ++--- src/typings/terminal/printRequest.ts | 29 +-- src/typings/terminal/printResponse.ts | 35 +--- src/typings/terminal/printerStatusType.ts | 31 +-- src/typings/terminal/rebates.ts | 37 +--- src/typings/terminal/reconciliationRequest.ts | 37 +--- .../terminal/reconciliationResponse.ts | 45 ++-- src/typings/terminal/reconciliationType.ts | 29 +-- .../terminal/relativeDistinguishedName.ts | 31 +-- .../terminal/repeatedMessageResponse.ts | 35 +--- .../terminal/repeatedResponseMessageBody.ts | 59 ++---- src/typings/terminal/response.ts | 71 +++---- src/typings/terminal/responseModeType.ts | 29 +-- src/typings/terminal/resultType.ts | 27 +-- src/typings/terminal/reversalReasonType.ts | 29 +-- src/typings/terminal/reversalRequest.ts | 49 ++--- src/typings/terminal/reversalResponse.ts | 55 ++--- src/typings/terminal/saleCapabilitiesType.ts | 51 ++--- src/typings/terminal/saleData.ts | 95 ++++----- src/typings/terminal/saleItem.ts | 105 ++++------ src/typings/terminal/saleItemRebate.ts | 89 ++++---- src/typings/terminal/saleProfile.ts | 57 ++--- src/typings/terminal/saleSoftware.ts | 39 +--- src/typings/terminal/saleTerminalData.ts | 77 +++---- src/typings/terminal/saleToAcquirerData.ts | 82 ++++---- src/typings/terminal/saleToIssuerData.ts | 27 +-- src/typings/terminal/saleToPOIRequest.ts | 197 ++++++++---------- src/typings/terminal/saleToPOIResponse.ts | 179 +++++++--------- .../terminal/saleToPOISecuredMessage.ts | 39 +--- src/typings/terminal/securityKey.ts | 39 +--- src/typings/terminal/securityTrailer.ts | 48 ++--- src/typings/terminal/sensitiveCardData.ts | 41 +--- src/typings/terminal/sensitiveMobileData.ts | 35 +--- src/typings/terminal/serviceProfilesType.ts | 41 +--- src/typings/terminal/servicesEnabledType.ts | 27 +-- .../terminal/shopperInteractionDevice.ts | 29 +-- src/typings/terminal/signaturePoint.ts | 31 +-- src/typings/terminal/signedData.ts | 64 ++---- src/typings/terminal/signer.ts | 62 ++---- src/typings/terminal/signerIdentifier.ts | 29 +-- src/typings/terminal/soundActionType.ts | 27 +-- src/typings/terminal/soundContent.ts | 45 ++-- src/typings/terminal/soundFormatType.ts | 27 +-- src/typings/terminal/soundRequest.ts | 51 ++--- src/typings/terminal/soundResponse.ts | 29 +-- src/typings/terminal/sponsoredMerchant.ts | 43 ++-- src/typings/terminal/storedValueAccountId.ts | 77 +++---- .../terminal/storedValueAccountStatus.ts | 33 +-- .../terminal/storedValueAccountType.ts | 27 +-- src/typings/terminal/storedValueData.ts | 61 ++---- src/typings/terminal/storedValueRequest.ts | 39 +--- src/typings/terminal/storedValueResponse.ts | 47 ++--- src/typings/terminal/storedValueResult.ts | 57 ++--- .../terminal/storedValueTransactionType.ts | 33 +-- src/typings/terminal/terminalApiRequest.ts | 29 +-- src/typings/terminal/terminalApiResponse.ts | 29 +-- .../terminal/terminalApiSecuredRequest.ts | 29 +-- .../terminal/terminalApiSecuredResponse.ts | 29 +-- .../terminal/terminalEnvironmentType.ts | 27 +-- src/typings/terminal/tokenRequestedType.ts | 25 +-- src/typings/terminal/totalDetailsType.ts | 31 +-- src/typings/terminal/totalFilter.ts | 43 ++-- src/typings/terminal/trackData.ts | 47 ++--- src/typings/terminal/trackFormatType.ts | 33 +-- src/typings/terminal/transactionActionType.ts | 25 +-- src/typings/terminal/transactionConditions.ts | 91 ++++---- .../terminal/transactionIdentification.ts | 31 +-- .../terminal/transactionStatusRequest.ts | 49 ++--- .../terminal/transactionStatusResponse.ts | 41 +--- src/typings/terminal/transactionToPerform.ts | 41 +--- src/typings/terminal/transactionTotals.ts | 127 +++++------ src/typings/terminal/transactionType.ts | 59 ++---- src/typings/terminal/transmitRequest.ts | 42 +--- src/typings/terminal/transmitResponse.ts | 36 +--- src/typings/terminal/uTMCoordinates.ts | 35 +--- src/typings/terminal/unitOfMeasureType.ts | 59 ++---- src/typings/terminal/versionType.ts | 33 +-- 235 files changed, 3168 insertions(+), 7535 deletions(-) diff --git a/src/__mocks__/base.ts b/src/__mocks__/base.ts index 0902a82..ebf9f3b 100644 --- a/src/__mocks__/base.ts +++ b/src/__mocks__/base.ts @@ -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 => ({ - 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 }; }; diff --git a/src/__tests__/terminalCloudAPI.spec.ts b/src/__tests__/terminalCloudAPI.spec.ts index a780602..66c05bb 100644 --- a/src/__tests__/terminalCloudAPI.spec.ts +++ b/src/__tests__/terminalCloudAPI.spec.ts @@ -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 => { @@ -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(); }); }); diff --git a/src/__tests__/terminalLocalAPI.spec.ts b/src/__tests__/terminalLocalAPI.spec.ts index b1113f6..42f3fd9 100644 --- a/src/__tests__/terminalLocalAPI.spec.ts +++ b/src/__tests__/terminalLocalAPI.spec.ts @@ -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 => { @@ -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 { diff --git a/src/security/nexoCrypto.ts b/src/security/nexoCrypto.ts index ffa8395..aeb0b1d 100644 --- a/src/security/nexoCrypto.ts +++ b/src/security/nexoCrypto.ts @@ -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"); } diff --git a/src/services/terminalCloudAPI.ts b/src/services/terminalCloudAPI.ts index 08c55fa..286f155 100644 --- a/src/services/terminalCloudAPI.ts +++ b/src/services/terminalCloudAPI.ts @@ -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}; diff --git a/src/services/terminalLocalAPI.ts b/src/services/terminalLocalAPI.ts index b13e45b..3b8fefa 100644 --- a/src/services/terminalLocalAPI.ts +++ b/src/services/terminalLocalAPI.ts @@ -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, ); diff --git a/src/typings/terminal/abortRequest.ts b/src/typings/terminal/abortRequest.ts index af13046..732d779 100644 --- a/src/typings/terminal/abortRequest.ts +++ b/src/typings/terminal/abortRequest.ts @@ -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" } ]; diff --git a/src/typings/terminal/accountType.ts b/src/typings/terminal/accountType.ts index 17ad3cd..9e7538d 100644 --- a/src/typings/terminal/accountType.ts +++ b/src/typings/terminal/accountType.ts @@ -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 = 'CardTotals', + Checking = 'Checking', + CreditCard = 'CreditCard', + Default = 'Default', + EpurseCard = 'EpurseCard', + Investment = 'Investment', + Savings = 'Savings', + Universal = 'Universal' } diff --git a/src/typings/terminal/adminRequest.ts b/src/typings/terminal/adminRequest.ts index b8dc553..4b7c463 100644 --- a/src/typings/terminal/adminRequest.ts +++ b/src/typings/terminal/adminRequest.ts @@ -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" } ]; diff --git a/src/typings/terminal/adminResponse.ts b/src/typings/terminal/adminResponse.ts index 62f430d..d7b5bcf 100644 --- a/src/typings/terminal/adminResponse.ts +++ b/src/typings/terminal/adminResponse.ts @@ -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" } ]; diff --git a/src/typings/terminal/algorithmIdentifier.ts b/src/typings/terminal/algorithmIdentifier.ts index 489646b..b222c83 100644 --- a/src/typings/terminal/algorithmIdentifier.ts +++ b/src/typings/terminal/algorithmIdentifier.ts @@ -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" } ]; diff --git a/src/typings/terminal/algorithmType.ts b/src/typings/terminal/algorithmType.ts index bc36516..8b23697 100644 --- a/src/typings/terminal/algorithmType.ts +++ b/src/typings/terminal/algorithmType.ts @@ -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 = 'Des-ede3-cbc', + DesEde3Ecb = 'Des-ede3-ecb', + IdDukptWrap = 'Id-dukpt-wrap', + IdRetailCbcMac = 'Id-retail-cbc-MAC', + IdRetailCbcMacSha256 = 'Id-retail-cbc-MAC-sha-256', + IdSha256 = 'Id-sha256', + IdUkptWrap = 'id-ukpt-wrap ', + RsaEncryption = 'RsaEncryption', + Sha256WithRsaEncryption = 'Sha256WithRSAEncryption' } diff --git a/src/typings/terminal/alignmentType.ts b/src/typings/terminal/alignmentType.ts index 81c411b..6217979 100644 --- a/src/typings/terminal/alignmentType.ts +++ b/src/typings/terminal/alignmentType.ts @@ -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 = 'Centred', + Justified = 'Justified', + Left = 'Left', + Right = 'Right' } diff --git a/src/typings/terminal/allowedProduct.ts b/src/typings/terminal/allowedProduct.ts index 76751d5..018758d 100644 --- a/src/typings/terminal/allowedProduct.ts +++ b/src/typings/terminal/allowedProduct.ts @@ -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" } ]; diff --git a/src/typings/terminal/amount.ts b/src/typings/terminal/amount.ts index 34bc7b7..780713a 100644 --- a/src/typings/terminal/amount.ts +++ b/src/typings/terminal/amount.ts @@ -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" } ]; diff --git a/src/typings/terminal/amountsReq.ts b/src/typings/terminal/amountsReq.ts index 6247d48..10d21be 100644 --- a/src/typings/terminal/amountsReq.ts +++ b/src/typings/terminal/amountsReq.ts @@ -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" } ]; diff --git a/src/typings/terminal/amountsResp.ts b/src/typings/terminal/amountsResp.ts index 5bf19c6..673c5aa 100644 --- a/src/typings/terminal/amountsResp.ts +++ b/src/typings/terminal/amountsResp.ts @@ -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" } ]; diff --git a/src/typings/terminal/applicationInfo.ts b/src/typings/terminal/applicationInfo.ts index 95b8a19..9d97959 100644 --- a/src/typings/terminal/applicationInfo.ts +++ b/src/typings/terminal/applicationInfo.ts @@ -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", diff --git a/src/typings/terminal/areaSize.ts b/src/typings/terminal/areaSize.ts index 059c7ae..79144ba 100644 --- a/src/typings/terminal/areaSize.ts +++ b/src/typings/terminal/areaSize.ts @@ -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" } ]; diff --git a/src/typings/terminal/authenticatedData.ts b/src/typings/terminal/authenticatedData.ts index 354b417..ab9153a 100644 --- a/src/typings/terminal/authenticatedData.ts +++ b/src/typings/terminal/authenticatedData.ts @@ -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; + '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" + "type": "Array" }, { - "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 = 'V0', + V1 = 'V1', + V2 = 'V2', + V3 = 'V3', + V4 = 'V4', + V5 = 'V5' } } diff --git a/src/typings/terminal/authenticationMethodType.ts b/src/typings/terminal/authenticationMethodType.ts index 1e093ee..79489a2 100644 --- a/src/typings/terminal/authenticationMethodType.ts +++ b/src/typings/terminal/authenticationMethodType.ts @@ -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 = 'Bypass', + ManualVerification = 'ManualVerification', + MerchantAuthentication = 'MerchantAuthentication', + OfflinePin = 'OfflinePIN', + OnlinePin = 'OnlinePIN', + PaperSignature = 'PaperSignature', + SecureCertificate = 'SecureCertificate', + SecureNoCertificate = 'SecureNoCertificate', + SecuredChannel = 'SecuredChannel', + SignatureCapture = 'SignatureCapture', + UnknownMethod = 'UnknownMethod' } diff --git a/src/typings/terminal/balanceInquiryRequest.ts b/src/typings/terminal/balanceInquiryRequest.ts index 5d41655..d072eb6 100644 --- a/src/typings/terminal/balanceInquiryRequest.ts +++ b/src/typings/terminal/balanceInquiryRequest.ts @@ -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" } ]; diff --git a/src/typings/terminal/balanceInquiryResponse.ts b/src/typings/terminal/balanceInquiryResponse.ts index 546c244..c5c377f 100644 --- a/src/typings/terminal/balanceInquiryResponse.ts +++ b/src/typings/terminal/balanceInquiryResponse.ts @@ -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" } ]; diff --git a/src/typings/terminal/barcodeType.ts b/src/typings/terminal/barcodeType.ts index 26825af..cf74ccb 100644 --- a/src/typings/terminal/barcodeType.ts +++ b/src/typings/terminal/barcodeType.ts @@ -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 = 'Code128', + Code25 = 'Code25', + Ean13 = 'EAN13', + Ean8 = 'EAN8', + Pdf417 = 'PDF417', + Qrcode = 'QRCODE', + Upca = 'UPCA' } diff --git a/src/typings/terminal/batchRequest.ts b/src/typings/terminal/batchRequest.ts index b3dfe02..56cc60d 100644 --- a/src/typings/terminal/batchRequest.ts +++ b/src/typings/terminal/batchRequest.ts @@ -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; 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" } ]; diff --git a/src/typings/terminal/batchResponse.ts b/src/typings/terminal/batchResponse.ts index 548314b..32a7080 100644 --- a/src/typings/terminal/batchResponse.ts +++ b/src/typings/terminal/batchResponse.ts @@ -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; + '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" }, { - "name": "response", + "name": "Response", "baseName": "Response", "type": "Response" } ]; diff --git a/src/typings/terminal/capturedSignature.ts b/src/typings/terminal/capturedSignature.ts index b295784..f78b794 100644 --- a/src/typings/terminal/capturedSignature.ts +++ b/src/typings/terminal/capturedSignature.ts @@ -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; 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" } ]; diff --git a/src/typings/terminal/cardAcquisitionRequest.ts b/src/typings/terminal/cardAcquisitionRequest.ts index 31dd54c..46e832e 100644 --- a/src/typings/terminal/cardAcquisitionRequest.ts +++ b/src/typings/terminal/cardAcquisitionRequest.ts @@ -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" } ]; diff --git a/src/typings/terminal/cardAcquisitionResponse.ts b/src/typings/terminal/cardAcquisitionResponse.ts index bcc1b21..e0fe5e8 100644 --- a/src/typings/terminal/cardAcquisitionResponse.ts +++ b/src/typings/terminal/cardAcquisitionResponse.ts @@ -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; + 'LoyaltyAccount'?: Array; + 'PaymentBrand'?: Array; + '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" }, { - "name": "loyaltyAccount", + "name": "LoyaltyAccount", "baseName": "LoyaltyAccount", "type": "Array" }, { - "name": "paymentBrand", + "name": "PaymentBrand", "baseName": "PaymentBrand", "type": "Array" }, { - "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" } ]; diff --git a/src/typings/terminal/cardAcquisitionTransaction.ts b/src/typings/terminal/cardAcquisitionTransaction.ts index f43249a..97ee83e 100644 --- a/src/typings/terminal/cardAcquisitionTransaction.ts +++ b/src/typings/terminal/cardAcquisitionTransaction.ts @@ -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; + 'AllowedPaymentBrand'?: Array; + 'CashBackFlag'?: boolean; + 'CustomerLanguage'?: string; + 'ForceCustomerSelectionFlag'?: boolean; + 'ForceEntryMode'?: Array>; + '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" }, { - "name": "allowedPaymentBrand", + "name": "AllowedPaymentBrand", "baseName": "AllowedPaymentBrand", "type": "Array" }, { - "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>" }, { - "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 = 'CheckReader', + Contactless = 'Contactless', + File = 'File', + Icc = 'ICC', + Keyed = 'Keyed', + MagStripe = 'MagStripe', + Manual = 'Manual', + Rfid = 'RFID', + Scanned = 'Scanned', + SynchronousIcc = 'SynchronousICC', + Tapped = '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 = 'Allowed', + Forbidden = 'Forbidden', + Processed = 'Processed', + Proposed = 'Proposed', + Required = '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 = 'CashAdvance', + CashDeposit = 'CashDeposit', + Completion = 'Completion', + FirstReservation = 'FirstReservation', + Instalment = 'Instalment', + IssuerInstalment = 'IssuerInstalment', + Normal = 'Normal', + OneTimeReservation = 'OneTimeReservation', + PaidOut = 'PaidOut', + Recurring = 'Recurring', + Refund = 'Refund', + UpdateReservation = 'UpdateReservation' } } diff --git a/src/typings/terminal/cardData.ts b/src/typings/terminal/cardData.ts index 7c4b277..784208b 100644 --- a/src/typings/terminal/cardData.ts +++ b/src/typings/terminal/cardData.ts @@ -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; + 'AllowedProductCode'?: Array; + 'CardCountryCode'?: string; + 'CustomerOrder'?: Array; + 'EntryMode'?: Array; + '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" }, { - "name": "allowedProductCode", + "name": "AllowedProductCode", "baseName": "AllowedProductCode", "type": "Array" }, { - "name": "cardCountryCode", + "name": "CardCountryCode", "baseName": "CardCountryCode", "type": "string" }, { - "name": "customerOrder", + "name": "CustomerOrder", "baseName": "CustomerOrder", "type": "Array" }, { - "name": "entryMode", + "name": "EntryMode", "baseName": "EntryMode", "type": "Array" }, { - "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 = 'Contactless', + File = 'File', + Icc = 'ICC', + Keyed = 'Keyed', + MagStripe = 'MagStripe', + Manual = 'Manual', + Mobile = 'Mobile', + Rfid = 'RFID', + Scanned = 'Scanned', + SynchronousIcc = 'SynchronousICC', + Tapped = 'Tapped' } } diff --git a/src/typings/terminal/cardReaderAPDURequest.ts b/src/typings/terminal/cardReaderAPDURequest.ts index 9799f6f..a3f41ef 100644 --- a/src/typings/terminal/cardReaderAPDURequest.ts +++ b/src/typings/terminal/cardReaderAPDURequest.ts @@ -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() { diff --git a/src/typings/terminal/cardReaderAPDUResponse.ts b/src/typings/terminal/cardReaderAPDUResponse.ts index 4b6c63f..03d14e1 100644 --- a/src/typings/terminal/cardReaderAPDUResponse.ts +++ b/src/typings/terminal/cardReaderAPDUResponse.ts @@ -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" } ]; diff --git a/src/typings/terminal/cardReaderInitRequest.ts b/src/typings/terminal/cardReaderInitRequest.ts index 7847f97..c3b497a 100644 --- a/src/typings/terminal/cardReaderInitRequest.ts +++ b/src/typings/terminal/cardReaderInitRequest.ts @@ -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>; + '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>" }, { - "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 = 'CheckReader', + Contactless = 'Contactless', + File = 'File', + Icc = 'ICC', + Keyed = 'Keyed', + MagStripe = 'MagStripe', + Manual = 'Manual', + Rfid = 'RFID', + Scanned = 'Scanned', + SynchronousIcc = 'SynchronousICC', + Tapped = 'Tapped' } } diff --git a/src/typings/terminal/cardReaderInitResponse.ts b/src/typings/terminal/cardReaderInitResponse.ts index b97701f..f6d0903 100644 --- a/src/typings/terminal/cardReaderInitResponse.ts +++ b/src/typings/terminal/cardReaderInitResponse.ts @@ -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; + 'ICCResetData'?: ICCResetData; + 'Response': Response; + 'TrackData'?: Array; 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" }, { - "name": "iCCResetData", + "name": "ICCResetData", "baseName": "ICCResetData", "type": "ICCResetData" }, { - "name": "response", + "name": "Response", "baseName": "Response", "type": "Response" }, { - "name": "trackData", + "name": "TrackData", "baseName": "TrackData", "type": "Array" } ]; @@ -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 = 'Contactless', + File = 'File', + Icc = 'ICC', + Keyed = 'Keyed', + MagStripe = 'MagStripe', + Manual = 'Manual', + Mobile = 'Mobile', + Rfid = 'RFID', + Scanned = 'Scanned', + SynchronousIcc = 'SynchronousICC', + Tapped = 'Tapped' } } diff --git a/src/typings/terminal/cardReaderPowerOffRequest.ts b/src/typings/terminal/cardReaderPowerOffRequest.ts index f7c3f8f..3928279 100644 --- a/src/typings/terminal/cardReaderPowerOffRequest.ts +++ b/src/typings/terminal/cardReaderPowerOffRequest.ts @@ -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" } ]; diff --git a/src/typings/terminal/cardReaderPowerOffResponse.ts b/src/typings/terminal/cardReaderPowerOffResponse.ts index 9c419f8..b540a03 100644 --- a/src/typings/terminal/cardReaderPowerOffResponse.ts +++ b/src/typings/terminal/cardReaderPowerOffResponse.ts @@ -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" } ]; diff --git a/src/typings/terminal/cardholderPIN.ts b/src/typings/terminal/cardholderPIN.ts index 93a7098..0d57746 100644 --- a/src/typings/terminal/cardholderPIN.ts +++ b/src/typings/terminal/cardholderPIN.ts @@ -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" } ]; diff --git a/src/typings/terminal/cashHandlingDevice.ts b/src/typings/terminal/cashHandlingDevice.ts index c6d9f55..c89d32c 100644 --- a/src/typings/terminal/cashHandlingDevice.ts +++ b/src/typings/terminal/cashHandlingDevice.ts @@ -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; + '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" }, { - "name": "currency", + "name": "Currency", "baseName": "Currency", "type": "string" } ]; diff --git a/src/typings/terminal/characterHeightType.ts b/src/typings/terminal/characterHeightType.ts index 5d3f9e0..1240625 100644 --- a/src/typings/terminal/characterHeightType.ts +++ b/src/typings/terminal/characterHeightType.ts @@ -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 = 'DoubleHeight', + HalfHeight = 'HalfHeight', + SingleHeight = 'SingleHeight' } diff --git a/src/typings/terminal/characterStyleType.ts b/src/typings/terminal/characterStyleType.ts index 329a6c5..899becb 100644 --- a/src/typings/terminal/characterStyleType.ts +++ b/src/typings/terminal/characterStyleType.ts @@ -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 = 'Bold', + Italic = 'Italic', + Normal = 'Normal', + Underlined = 'Underlined' } diff --git a/src/typings/terminal/characterWidthType.ts b/src/typings/terminal/characterWidthType.ts index 5331de2..2c0dd27 100644 --- a/src/typings/terminal/characterWidthType.ts +++ b/src/typings/terminal/characterWidthType.ts @@ -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 = 'DoubleWidth', + SingleWidth = 'SingleWidth' } diff --git a/src/typings/terminal/checkData.ts b/src/typings/terminal/checkData.ts index 56f4fab..e84d106 100644 --- a/src/typings/terminal/checkData.ts +++ b/src/typings/terminal/checkData.ts @@ -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 = 'Company', + Personal = 'Personal' } } diff --git a/src/typings/terminal/checkTypeCodeType.ts b/src/typings/terminal/checkTypeCodeType.ts index fdf330b..a97afd1 100644 --- a/src/typings/terminal/checkTypeCodeType.ts +++ b/src/typings/terminal/checkTypeCodeType.ts @@ -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 = 'Company', + Personal = 'Personal' } diff --git a/src/typings/terminal/coinsOrBills.ts b/src/typings/terminal/coinsOrBills.ts index 7217a83..3180873 100644 --- a/src/typings/terminal/coinsOrBills.ts +++ b/src/typings/terminal/coinsOrBills.ts @@ -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" } ]; diff --git a/src/typings/terminal/colorType.ts b/src/typings/terminal/colorType.ts index 4492001..8d2d468 100644 --- a/src/typings/terminal/colorType.ts +++ b/src/typings/terminal/colorType.ts @@ -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 = 'Black', + Blue = 'Blue', + Cyan = 'Cyan', + Green = 'Green', + Magenta = 'Magenta', + Red = 'Red', + White = 'White', + Yellow = 'Yellow' } diff --git a/src/typings/terminal/commonField.ts b/src/typings/terminal/commonField.ts index e2f76ee..0ccd302 100644 --- a/src/typings/terminal/commonField.ts +++ b/src/typings/terminal/commonField.ts @@ -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", diff --git a/src/typings/terminal/contentInformation.ts b/src/typings/terminal/contentInformation.ts index b82f010..a44edae 100644 --- a/src/typings/terminal/contentInformation.ts +++ b/src/typings/terminal/contentInformation.ts @@ -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" } ]; diff --git a/src/typings/terminal/contentType.ts b/src/typings/terminal/contentType.ts index 36caba7..9cee483 100644 --- a/src/typings/terminal/contentType.ts +++ b/src/typings/terminal/contentType.ts @@ -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 = 'Id-ct-authData', + Data = 'Id-data', + DigestedData = 'Id-digestedData', + EncryptedData = 'Id-encryptedData', + EnvelopedData = 'Id-envelopedData', + SignedData = 'Id-signedData' } diff --git a/src/typings/terminal/currencyConversion.ts b/src/typings/terminal/currencyConversion.ts index 31c8e87..a37eaa2 100644 --- a/src/typings/terminal/currencyConversion.ts +++ b/src/typings/terminal/currencyConversion.ts @@ -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" } ]; diff --git a/src/typings/terminal/customerOrder.ts b/src/typings/terminal/customerOrder.ts index 1090553..9edab4f 100644 --- a/src/typings/terminal/customerOrder.ts +++ b/src/typings/terminal/customerOrder.ts @@ -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() { diff --git a/src/typings/terminal/customerOrderReqType.ts b/src/typings/terminal/customerOrderReqType.ts index 3246655..ea0ff2d 100644 --- a/src/typings/terminal/customerOrderReqType.ts +++ b/src/typings/terminal/customerOrderReqType.ts @@ -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 = 'Both', + Closed = 'Closed', + Open = 'Open' } diff --git a/src/typings/terminal/deviceType.ts b/src/typings/terminal/deviceType.ts index 0b28ca9..802234e 100644 --- a/src/typings/terminal/deviceType.ts +++ b/src/typings/terminal/deviceType.ts @@ -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 = 'CashierDisplay', + CashierInput = 'CashierInput', + CustomerDisplay = 'CustomerDisplay', + CustomerInput = 'CustomerInput' } diff --git a/src/typings/terminal/diagnosisRequest.ts b/src/typings/terminal/diagnosisRequest.ts index 42c578c..24b1c20 100644 --- a/src/typings/terminal/diagnosisRequest.ts +++ b/src/typings/terminal/diagnosisRequest.ts @@ -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; + '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" }, { - "name": "hostDiagnosisFlag", + "name": "HostDiagnosisFlag", "baseName": "HostDiagnosisFlag", "type": "boolean" }, { - "name": "pOIID", + "name": "POIID", "baseName": "POIID", "type": "string" } ]; diff --git a/src/typings/terminal/diagnosisResponse.ts b/src/typings/terminal/diagnosisResponse.ts index edbfb3a..6e8b1f0 100644 --- a/src/typings/terminal/diagnosisResponse.ts +++ b/src/typings/terminal/diagnosisResponse.ts @@ -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; + 'LoggedSaleID'?: Array; + '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" }, { - "name": "loggedSaleID", + "name": "LoggedSaleID", "baseName": "LoggedSaleID", "type": "Array" }, { - "name": "pOIStatus", + "name": "POIStatus", "baseName": "POIStatus", "type": "POIStatus" }, { - "name": "response", + "name": "Response", "baseName": "Response", "type": "Response" } ]; diff --git a/src/typings/terminal/digestedData.ts b/src/typings/terminal/digestedData.ts index 9181840..9f35db1 100644 --- a/src/typings/terminal/digestedData.ts +++ b/src/typings/terminal/digestedData.ts @@ -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 = 'V0', + V1 = 'V1', + V2 = 'V2', + V3 = 'V3', + V4 = 'V4', + V5 = 'V5' } } diff --git a/src/typings/terminal/displayOutput.ts b/src/typings/terminal/displayOutput.ts index 6b8c2b6..7d8b995 100644 --- a/src/typings/terminal/displayOutput.ts +++ b/src/typings/terminal/displayOutput.ts @@ -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; + '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" }, { - "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" } ]; diff --git a/src/typings/terminal/displayRequest.ts b/src/typings/terminal/displayRequest.ts index f474719..f239187 100644 --- a/src/typings/terminal/displayRequest.ts +++ b/src/typings/terminal/displayRequest.ts @@ -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; 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" } ]; diff --git a/src/typings/terminal/displayResponse.ts b/src/typings/terminal/displayResponse.ts index 0ec1b02..23bea92 100644 --- a/src/typings/terminal/displayResponse.ts +++ b/src/typings/terminal/displayResponse.ts @@ -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; 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" } ]; diff --git a/src/typings/terminal/documentQualifierType.ts b/src/typings/terminal/documentQualifierType.ts index 0bc5559..1465ce9 100644 --- a/src/typings/terminal/documentQualifierType.ts +++ b/src/typings/terminal/documentQualifierType.ts @@ -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 = 'CashierReceipt', + CustomerReceipt = 'CustomerReceipt', + Document = 'Document', + Journal = 'Journal', + SaleReceipt = 'SaleReceipt', + Voucher = 'Voucher' } diff --git a/src/typings/terminal/enableServiceRequest.ts b/src/typings/terminal/enableServiceRequest.ts index 6c26070..f7ad908 100644 --- a/src/typings/terminal/enableServiceRequest.ts +++ b/src/typings/terminal/enableServiceRequest.ts @@ -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; + '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" }, { - "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 = 'CardAcquisition', + Loyalty = 'Loyalty', + Payment = 'Payment' } } diff --git a/src/typings/terminal/enableServiceResponse.ts b/src/typings/terminal/enableServiceResponse.ts index 258da3a..1f8a104 100644 --- a/src/typings/terminal/enableServiceResponse.ts +++ b/src/typings/terminal/enableServiceResponse.ts @@ -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" } ]; diff --git a/src/typings/terminal/encapsulatedContent.ts b/src/typings/terminal/encapsulatedContent.ts index 783f35f..086d3c0 100644 --- a/src/typings/terminal/encapsulatedContent.ts +++ b/src/typings/terminal/encapsulatedContent.ts @@ -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" } ]; diff --git a/src/typings/terminal/encryptedContent.ts b/src/typings/terminal/encryptedContent.ts index e76b054..fecd960 100644 --- a/src/typings/terminal/encryptedContent.ts +++ b/src/typings/terminal/encryptedContent.ts @@ -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() { diff --git a/src/typings/terminal/entryModeType.ts b/src/typings/terminal/entryModeType.ts index 077c8ed..6a123ec 100644 --- a/src/typings/terminal/entryModeType.ts +++ b/src/typings/terminal/entryModeType.ts @@ -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 = 'Contactless', + File = 'File', + Icc = 'ICC', + Keyed = 'Keyed', + MagStripe = 'MagStripe', + Manual = 'Manual', + Mobile = 'Mobile', + Rfid = 'RFID', + Scanned = 'Scanned', + SynchronousIcc = 'SynchronousICC', + Tapped = 'Tapped' } diff --git a/src/typings/terminal/envelopedData.ts b/src/typings/terminal/envelopedData.ts index 8533f47..544d810 100644 --- a/src/typings/terminal/envelopedData.ts +++ b/src/typings/terminal/envelopedData.ts @@ -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; + '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" + "type": "Array" }, { - "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 = 'V0', + V1 = 'V1', + V2 = 'V2', + V3 = 'V3', + V4 = 'V4', + V5 = 'V5' } } diff --git a/src/typings/terminal/errorConditionType.ts b/src/typings/terminal/errorConditionType.ts index ba78054..6473344 100644 --- a/src/typings/terminal/errorConditionType.ts +++ b/src/typings/terminal/errorConditionType.ts @@ -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 = 'Aborted', + Busy = 'Busy', + Cancel = 'Cancel', + DeviceOut = 'DeviceOut', + InProgress = 'InProgress', + InsertedCard = 'InsertedCard', + InvalidCard = 'InvalidCard', + LoggedOut = 'LoggedOut', + MessageFormat = 'MessageFormat', + NotAllowed = 'NotAllowed', + NotFound = 'NotFound', + PaymentRestriction = 'PaymentRestriction', + Refusal = 'Refusal', + UnavailableDevice = 'UnavailableDevice', + UnavailableService = 'UnavailableService', + UnreachableHost = 'UnreachableHost', + WrongPin = 'WrongPIN' } diff --git a/src/typings/terminal/eventNotification.ts b/src/typings/terminal/eventNotification.ts index 3e69497..36c9d52 100644 --- a/src/typings/terminal/eventNotification.ts +++ b/src/typings/terminal/eventNotification.ts @@ -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" } ]; diff --git a/src/typings/terminal/eventToNotifyType.ts b/src/typings/terminal/eventToNotifyType.ts index e774549..2bdc537 100644 --- a/src/typings/terminal/eventToNotifyType.ts +++ b/src/typings/terminal/eventToNotifyType.ts @@ -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 = 'Abort', + BeginMaintenance = 'BeginMaintenance', + CardInserted = 'CardInserted', + CardRemoved = 'CardRemoved', + Completed = 'Completed', + CustomerLanguage = 'CustomerLanguage', + EndMaintenance = 'EndMaintenance', + Initialised = 'Initialised', + KeyPressed = 'KeyPressed', + OutOfOrder = 'OutOfOrder', + Reject = 'Reject', + SaleAdmin = 'SaleAdmin', + SaleWakeUp = 'SaleWakeUp', + SecurityAlarm = 'SecurityAlarm', + Shutdown = 'Shutdown', + StopAssistance = 'StopAssistance' } diff --git a/src/typings/terminal/externalPlatform.ts b/src/typings/terminal/externalPlatform.ts index e3c06bf..e67d434 100644 --- a/src/typings/terminal/externalPlatform.ts +++ b/src/typings/terminal/externalPlatform.ts @@ -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", diff --git a/src/typings/terminal/forceEntryModeType.ts b/src/typings/terminal/forceEntryModeType.ts index 7c1634b..ce6a526 100644 --- a/src/typings/terminal/forceEntryModeType.ts +++ b/src/typings/terminal/forceEntryModeType.ts @@ -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 = 'CheckReader', + Contactless = 'Contactless', + File = 'File', + Icc = 'ICC', + Keyed = 'Keyed', + MagStripe = 'MagStripe', + Manual = 'Manual', + Rfid = 'RFID', + Scanned = 'Scanned', + SynchronousIcc = 'SynchronousICC', + Tapped = 'Tapped' } diff --git a/src/typings/terminal/genericProfileType.ts b/src/typings/terminal/genericProfileType.ts index 2d7946e..4c2172a 100644 --- a/src/typings/terminal/genericProfileType.ts +++ b/src/typings/terminal/genericProfileType.ts @@ -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 = 'Basic', + Extended = 'Extended', + Standard = 'Standard' } diff --git a/src/typings/terminal/geographicCoordinates.ts b/src/typings/terminal/geographicCoordinates.ts index 09966e3..7ddfc9d 100644 --- a/src/typings/terminal/geographicCoordinates.ts +++ b/src/typings/terminal/geographicCoordinates.ts @@ -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" } ]; diff --git a/src/typings/terminal/geolocation.ts b/src/typings/terminal/geolocation.ts index 6f21e36..d21e718 100644 --- a/src/typings/terminal/geolocation.ts +++ b/src/typings/terminal/geolocation.ts @@ -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" } ]; diff --git a/src/typings/terminal/getTotalsRequest.ts b/src/typings/terminal/getTotalsRequest.ts index 023a383..19d42da 100644 --- a/src/typings/terminal/getTotalsRequest.ts +++ b/src/typings/terminal/getTotalsRequest.ts @@ -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; + '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" }, { - "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 = 'OperatorID', + Poiid = 'POIID', + SaleId = 'SaleID', + ShiftNumber = 'ShiftNumber', + TotalsGroupId = 'TotalsGroupID' } } diff --git a/src/typings/terminal/getTotalsResponse.ts b/src/typings/terminal/getTotalsResponse.ts index f6ddb8d..bd480ff 100644 --- a/src/typings/terminal/getTotalsResponse.ts +++ b/src/typings/terminal/getTotalsResponse.ts @@ -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; 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" } ]; diff --git a/src/typings/terminal/globalStatusType.ts b/src/typings/terminal/globalStatusType.ts index 39d8b60..4720d63 100644 --- a/src/typings/terminal/globalStatusType.ts +++ b/src/typings/terminal/globalStatusType.ts @@ -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 = 'Busy', + Maintenance = 'Maintenance', + Ok = 'OK', + Unreachable = 'Unreachable' } diff --git a/src/typings/terminal/hostStatus.ts b/src/typings/terminal/hostStatus.ts index 4223560..f53d195 100644 --- a/src/typings/terminal/hostStatus.ts +++ b/src/typings/terminal/hostStatus.ts @@ -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" } ]; diff --git a/src/typings/terminal/iCCResetData.ts b/src/typings/terminal/iCCResetData.ts index 048a187..4ce1f7b 100644 --- a/src/typings/terminal/iCCResetData.ts +++ b/src/typings/terminal/iCCResetData.ts @@ -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() { diff --git a/src/typings/terminal/identificationSupportType.ts b/src/typings/terminal/identificationSupportType.ts index 66be367..ad94551 100644 --- a/src/typings/terminal/identificationSupportType.ts +++ b/src/typings/terminal/identificationSupportType.ts @@ -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 = 'HybridCard', + LinkedCard = 'LinkedCard', + LoyaltyCard = 'LoyaltyCard', + NoCard = 'NoCard' } diff --git a/src/typings/terminal/identificationType.ts b/src/typings/terminal/identificationType.ts index e7be6bc..8d95a2b 100644 --- a/src/typings/terminal/identificationType.ts +++ b/src/typings/terminal/identificationType.ts @@ -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 = 'AccountNumber', + BarCode = 'BarCode', + IsoTrack2 = 'ISOTrack2', + Pan = 'PAN', + PhoneNumber = 'PhoneNumber' } diff --git a/src/typings/terminal/infoQualifyType.ts b/src/typings/terminal/infoQualifyType.ts index b46a817..39c7d0b 100644 --- a/src/typings/terminal/infoQualifyType.ts +++ b/src/typings/terminal/infoQualifyType.ts @@ -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 = 'CustomerAssistance', + Display = 'Display', + Document = 'Document', + Error = 'Error', + Input = 'Input', + PoiReplication = 'POIReplication', + Receipt = 'Receipt', + Sound = 'Sound', + Status = 'Status', + Voucher = 'Voucher' } diff --git a/src/typings/terminal/input.ts b/src/typings/terminal/input.ts index e282f4d..599efc6 100644 --- a/src/typings/terminal/input.ts +++ b/src/typings/terminal/input.ts @@ -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" } ]; diff --git a/src/typings/terminal/inputCommandType.ts b/src/typings/terminal/inputCommandType.ts index a884ea4..8d534a5 100644 --- a/src/typings/terminal/inputCommandType.ts +++ b/src/typings/terminal/inputCommandType.ts @@ -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 = 'DecimalString', + DigitString = 'DigitString', + GetAnyKey = 'GetAnyKey', + GetConfirmation = 'GetConfirmation', + GetFunctionKey = 'GetFunctionKey', + GetMenuEntry = 'GetMenuEntry', + Password = 'Password', + SiteManager = 'SiteManager', + TextString = 'TextString' } diff --git a/src/typings/terminal/inputData.ts b/src/typings/terminal/inputData.ts index 5e51b10..2e28f95 100644 --- a/src/typings/terminal/inputData.ts +++ b/src/typings/terminal/inputData.ts @@ -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" } ]; diff --git a/src/typings/terminal/inputRequest.ts b/src/typings/terminal/inputRequest.ts index 24cf9eb..114f286 100644 --- a/src/typings/terminal/inputRequest.ts +++ b/src/typings/terminal/inputRequest.ts @@ -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" } ]; diff --git a/src/typings/terminal/inputResponse.ts b/src/typings/terminal/inputResponse.ts index 8725f03..32f5c98 100644 --- a/src/typings/terminal/inputResponse.ts +++ b/src/typings/terminal/inputResponse.ts @@ -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" } ]; diff --git a/src/typings/terminal/inputResult.ts b/src/typings/terminal/inputResult.ts index 32cd3e9..7a09a2d 100644 --- a/src/typings/terminal/inputResult.ts +++ b/src/typings/terminal/inputResult.ts @@ -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" } ]; diff --git a/src/typings/terminal/inputUpdate.ts b/src/typings/terminal/inputUpdate.ts index edcb8b0..51ad7f3 100644 --- a/src/typings/terminal/inputUpdate.ts +++ b/src/typings/terminal/inputUpdate.ts @@ -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; + '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" }, { - "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() { diff --git a/src/typings/terminal/instalment.ts b/src/typings/terminal/instalment.ts index 33d5e78..c884361 100644 --- a/src/typings/terminal/instalment.ts +++ b/src/typings/terminal/instalment.ts @@ -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; + '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" }, { - "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 = 'DeferredInstalments', + EqualInstalments = 'EqualInstalments', + InequalInstalments = 'InequalInstalments' } export enum PeriodUnitEnum { - Annual = "Annual" as any, - Daily = "Daily" as any, - Monthly = "Monthly" as any, - Weekly = "Weekly" as any + Annual = 'Annual', + Daily = 'Daily', + Monthly = 'Monthly', + Weekly = 'Weekly' } } diff --git a/src/typings/terminal/instalmentType.ts b/src/typings/terminal/instalmentType.ts index f3ca0c6..5c4d127 100644 --- a/src/typings/terminal/instalmentType.ts +++ b/src/typings/terminal/instalmentType.ts @@ -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 = 'DeferredInstalments', + EqualInstalments = 'EqualInstalments', + InequalInstalments = 'InequalInstalments' } diff --git a/src/typings/terminal/issuer.ts b/src/typings/terminal/issuer.ts index a1562ac..ada4af9 100644 --- a/src/typings/terminal/issuer.ts +++ b/src/typings/terminal/issuer.ts @@ -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; 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" } ]; diff --git a/src/typings/terminal/issuerAndSerialNumber.ts b/src/typings/terminal/issuerAndSerialNumber.ts index 3fae042..6d43ec3 100644 --- a/src/typings/terminal/issuerAndSerialNumber.ts +++ b/src/typings/terminal/issuerAndSerialNumber.ts @@ -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" } ]; diff --git a/src/typings/terminal/loginRequest.ts b/src/typings/terminal/loginRequest.ts index 722bfa9..43c1011 100644 --- a/src/typings/terminal/loginRequest.ts +++ b/src/typings/terminal/loginRequest.ts @@ -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; + '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" }, { - "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 = 'Both', + Closed = 'Closed', + Open = 'Open' } export enum TokenRequestedTypeEnum { - Customer = "Customer" as any, - Transaction = "Transaction" as any + Customer = 'Customer', + Transaction = 'Transaction' } } diff --git a/src/typings/terminal/loginResponse.ts b/src/typings/terminal/loginResponse.ts index bb7f722..511ba66 100644 --- a/src/typings/terminal/loginResponse.ts +++ b/src/typings/terminal/loginResponse.ts @@ -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" } ]; diff --git a/src/typings/terminal/logoutRequest.ts b/src/typings/terminal/logoutRequest.ts index 5993522..d3940e8 100644 --- a/src/typings/terminal/logoutRequest.ts +++ b/src/typings/terminal/logoutRequest.ts @@ -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" } ]; diff --git a/src/typings/terminal/logoutResponse.ts b/src/typings/terminal/logoutResponse.ts index f57bf61..1df60cd 100644 --- a/src/typings/terminal/logoutResponse.ts +++ b/src/typings/terminal/logoutResponse.ts @@ -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" } ]; diff --git a/src/typings/terminal/loyaltyAccount.ts b/src/typings/terminal/loyaltyAccount.ts index fe4822e..c0974d5 100644 --- a/src/typings/terminal/loyaltyAccount.ts +++ b/src/typings/terminal/loyaltyAccount.ts @@ -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" } ]; diff --git a/src/typings/terminal/loyaltyAccountId.ts b/src/typings/terminal/loyaltyAccountId.ts index a01b0b4..58dd954 100644 --- a/src/typings/terminal/loyaltyAccountId.ts +++ b/src/typings/terminal/loyaltyAccountId.ts @@ -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; + '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" }, { - "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 = 'Contactless', + File = 'File', + Icc = 'ICC', + Keyed = 'Keyed', + MagStripe = 'MagStripe', + Manual = 'Manual', + Mobile = 'Mobile', + Rfid = 'RFID', + Scanned = 'Scanned', + SynchronousIcc = 'SynchronousICC', + Tapped = 'Tapped' } export enum IdentificationSupportEnum { - HybridCard = "HybridCard" as any, - LinkedCard = "LinkedCard" as any, - LoyaltyCard = "LoyaltyCard" as any, - NoCard = "NoCard" as any + HybridCard = 'HybridCard', + LinkedCard = 'LinkedCard', + LoyaltyCard = 'LoyaltyCard', + NoCard = 'NoCard' } } diff --git a/src/typings/terminal/loyaltyAccountReq.ts b/src/typings/terminal/loyaltyAccountReq.ts index c5ef3a1..b1c3d28 100644 --- a/src/typings/terminal/loyaltyAccountReq.ts +++ b/src/typings/terminal/loyaltyAccountReq.ts @@ -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" } ]; diff --git a/src/typings/terminal/loyaltyAccountStatus.ts b/src/typings/terminal/loyaltyAccountStatus.ts index b0f278d..10d64b0 100644 --- a/src/typings/terminal/loyaltyAccountStatus.ts +++ b/src/typings/terminal/loyaltyAccountStatus.ts @@ -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 { LoyaltyAccount } from "./loyaltyAccount"; +import { LoyaltyAccount } from './loyaltyAccount'; export class LoyaltyAccountStatus { - "currency"?: string; - "currentBalance"?: number; - "loyaltyAccount": LoyaltyAccount; - "loyaltyUnit"?: LoyaltyAccountStatus.LoyaltyUnitEnum; + 'Currency'?: string; + 'CurrentBalance'?: number; + 'LoyaltyAccount': LoyaltyAccount; + 'LoyaltyUnit'?: LoyaltyAccountStatus.LoyaltyUnitEnum; 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": "currentBalance", + "name": "CurrentBalance", "baseName": "CurrentBalance", "type": "number" }, { - "name": "loyaltyAccount", + "name": "LoyaltyAccount", "baseName": "LoyaltyAccount", "type": "LoyaltyAccount" }, { - "name": "loyaltyUnit", + "name": "LoyaltyUnit", "baseName": "LoyaltyUnit", "type": "LoyaltyAccountStatus.LoyaltyUnitEnum" } ]; @@ -69,7 +50,7 @@ export class LoyaltyAccountStatus { export namespace LoyaltyAccountStatus { export enum LoyaltyUnitEnum { - Monetary = "Monetary" as any, - Point = "Point" as any + Monetary = 'Monetary', + Point = 'Point' } } diff --git a/src/typings/terminal/loyaltyAcquirerData.ts b/src/typings/terminal/loyaltyAcquirerData.ts index ca716fd..564fb22 100644 --- a/src/typings/terminal/loyaltyAcquirerData.ts +++ b/src/typings/terminal/loyaltyAcquirerData.ts @@ -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 { TransactionIdentification } from "./transactionIdentification"; +import { TransactionIdentification } from './transactionIdentification'; export class LoyaltyAcquirerData { - "approvalCode"?: string; - "hostReconciliationID"?: string; - "loyaltyAcquirerID"?: string; - "loyaltyTransactionID"?: TransactionIdentification; + 'ApprovalCode'?: string; + 'HostReconciliationID'?: string; + 'LoyaltyAcquirerID'?: string; + 'LoyaltyTransactionID'?: TransactionIdentification; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "approvalCode", + "name": "ApprovalCode", "baseName": "ApprovalCode", "type": "string" }, { - "name": "hostReconciliationID", + "name": "HostReconciliationID", "baseName": "HostReconciliationID", "type": "string" }, { - "name": "loyaltyAcquirerID", + "name": "LoyaltyAcquirerID", "baseName": "LoyaltyAcquirerID", "type": "string" }, { - "name": "loyaltyTransactionID", + "name": "LoyaltyTransactionID", "baseName": "LoyaltyTransactionID", "type": "TransactionIdentification" } ]; diff --git a/src/typings/terminal/loyaltyAmount.ts b/src/typings/terminal/loyaltyAmount.ts index 8ac1061..7b0eb05 100644 --- a/src/typings/terminal/loyaltyAmount.ts +++ b/src/typings/terminal/loyaltyAmount.ts @@ -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 LoyaltyAmount { - "currency"?: string; - "loyaltyUnit"?: LoyaltyAmount.LoyaltyUnitEnum; - "value"?: number; + 'Currency'?: string; + 'LoyaltyUnit'?: LoyaltyAmount.LoyaltyUnitEnum; + '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": "loyaltyUnit", + "name": "LoyaltyUnit", "baseName": "LoyaltyUnit", "type": "LoyaltyAmount.LoyaltyUnitEnum" }, { - "name": "value", + "name": "Value", "baseName": "Value", "type": "number" } ]; @@ -62,7 +43,7 @@ export class LoyaltyAmount { export namespace LoyaltyAmount { export enum LoyaltyUnitEnum { - Monetary = "Monetary" as any, - Point = "Point" as any + Monetary = 'Monetary', + Point = 'Point' } } diff --git a/src/typings/terminal/loyaltyData.ts b/src/typings/terminal/loyaltyData.ts index c117f68..683f85d 100644 --- a/src/typings/terminal/loyaltyData.ts +++ b/src/typings/terminal/loyaltyData.ts @@ -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 { LoyaltyAccountId } from "./loyaltyAccountId"; -import { LoyaltyAmount } from "./loyaltyAmount"; -import { TransactionIdentification } from "./transactionIdentification"; +import { LoyaltyAccountId } from './loyaltyAccountId'; +import { LoyaltyAmount } from './loyaltyAmount'; +import { TransactionIdentification } from './transactionIdentification'; export class LoyaltyData { - "cardAcquisitionReference"?: TransactionIdentification; - "loyaltyAccountID"?: LoyaltyAccountId; - "loyaltyAmount"?: LoyaltyAmount; + 'CardAcquisitionReference'?: TransactionIdentification; + 'LoyaltyAccountID'?: LoyaltyAccountId; + 'LoyaltyAmount'?: LoyaltyAmount; 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" }, { - "name": "loyaltyAmount", + "name": "LoyaltyAmount", "baseName": "LoyaltyAmount", "type": "LoyaltyAmount" } ]; diff --git a/src/typings/terminal/loyaltyHandlingType.ts b/src/typings/terminal/loyaltyHandlingType.ts index 9f6062a..3f1f96b 100644 --- a/src/typings/terminal/loyaltyHandlingType.ts +++ b/src/typings/terminal/loyaltyHandlingType.ts @@ -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 LoyaltyHandlingType { - Allowed = "Allowed" as any, - Forbidden = "Forbidden" as any, - Processed = "Processed" as any, - Proposed = "Proposed" as any, - Required = "Required" as any + Allowed = 'Allowed', + Forbidden = 'Forbidden', + Processed = 'Processed', + Proposed = 'Proposed', + Required = 'Required' } diff --git a/src/typings/terminal/loyaltyRequest.ts b/src/typings/terminal/loyaltyRequest.ts index e6e8482..55254c4 100644 --- a/src/typings/terminal/loyaltyRequest.ts +++ b/src/typings/terminal/loyaltyRequest.ts @@ -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 { LoyaltyData } from "./loyaltyData"; -import { LoyaltyTransaction } from "./loyaltyTransaction"; -import { SaleData } from "./saleData"; +import { LoyaltyData } from './loyaltyData'; +import { LoyaltyTransaction } from './loyaltyTransaction'; +import { SaleData } from './saleData'; export class LoyaltyRequest { - "loyaltyData"?: LoyaltyData[]; - "loyaltyTransaction": LoyaltyTransaction; - "saleData": SaleData; + 'LoyaltyData'?: Array; + 'LoyaltyTransaction': LoyaltyTransaction; + '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": "loyaltyData", + "name": "LoyaltyData", "baseName": "LoyaltyData", "type": "Array" }, { - "name": "loyaltyTransaction", + "name": "LoyaltyTransaction", "baseName": "LoyaltyTransaction", "type": "LoyaltyTransaction" }, { - "name": "saleData", + "name": "SaleData", "baseName": "SaleData", "type": "SaleData" } ]; diff --git a/src/typings/terminal/loyaltyResponse.ts b/src/typings/terminal/loyaltyResponse.ts index bba5ae2..278647b 100644 --- a/src/typings/terminal/loyaltyResponse.ts +++ b/src/typings/terminal/loyaltyResponse.ts @@ -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,44 +11,44 @@ */ -import { LoyaltyResult } from "./loyaltyResult"; -import { POIData } from "./pOIData"; -import { PaymentReceipt } from "./paymentReceipt"; -import { Response } from "./response"; -import { SaleData } from "./saleData"; +import { LoyaltyResult } from './loyaltyResult'; +import { POIData } from './pOIData'; +import { PaymentReceipt } from './paymentReceipt'; +import { Response } from './response'; +import { SaleData } from './saleData'; export class LoyaltyResponse { - "loyaltyResult"?: LoyaltyResult[]; - "paymentReceipt"?: PaymentReceipt[]; - "pOIData": POIData; - "response": Response; - "saleData": SaleData; + 'LoyaltyResult'?: Array; + 'PaymentReceipt'?: Array; + '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": "loyaltyResult", + "name": "LoyaltyResult", "baseName": "LoyaltyResult", "type": "Array" }, { - "name": "paymentReceipt", + "name": "PaymentReceipt", "baseName": "PaymentReceipt", "type": "Array" }, { - "name": "pOIData", + "name": "POIData", "baseName": "POIData", "type": "POIData" }, { - "name": "response", + "name": "Response", "baseName": "Response", "type": "Response" }, { - "name": "saleData", + "name": "SaleData", "baseName": "SaleData", "type": "SaleData" } ]; diff --git a/src/typings/terminal/loyaltyResult.ts b/src/typings/terminal/loyaltyResult.ts index 6d54fdc..98cd839 100644 --- a/src/typings/terminal/loyaltyResult.ts +++ b/src/typings/terminal/loyaltyResult.ts @@ -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,43 +11,43 @@ */ -import { LoyaltyAccount } from "./loyaltyAccount"; -import { LoyaltyAcquirerData } from "./loyaltyAcquirerData"; -import { LoyaltyAmount } from "./loyaltyAmount"; -import { Rebates } from "./rebates"; +import { LoyaltyAccount } from './loyaltyAccount'; +import { LoyaltyAcquirerData } from './loyaltyAcquirerData'; +import { LoyaltyAmount } from './loyaltyAmount'; +import { Rebates } from './rebates'; export class LoyaltyResult { - "currentBalance"?: number; - "loyaltyAccount": LoyaltyAccount; - "loyaltyAcquirerData"?: LoyaltyAcquirerData; - "loyaltyAmount"?: LoyaltyAmount; - "rebates"?: Rebates; + 'CurrentBalance'?: number; + 'LoyaltyAccount': LoyaltyAccount; + 'LoyaltyAcquirerData'?: LoyaltyAcquirerData; + 'LoyaltyAmount'?: LoyaltyAmount; + 'Rebates'?: Rebates; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "currentBalance", + "name": "CurrentBalance", "baseName": "CurrentBalance", "type": "number" }, { - "name": "loyaltyAccount", + "name": "LoyaltyAccount", "baseName": "LoyaltyAccount", "type": "LoyaltyAccount" }, { - "name": "loyaltyAcquirerData", + "name": "LoyaltyAcquirerData", "baseName": "LoyaltyAcquirerData", "type": "LoyaltyAcquirerData" }, { - "name": "loyaltyAmount", + "name": "LoyaltyAmount", "baseName": "LoyaltyAmount", "type": "LoyaltyAmount" }, { - "name": "rebates", + "name": "Rebates", "baseName": "Rebates", "type": "Rebates" } ]; diff --git a/src/typings/terminal/loyaltyTotals.ts b/src/typings/terminal/loyaltyTotals.ts index b41b541..eeac0a1 100644 --- a/src/typings/terminal/loyaltyTotals.ts +++ b/src/typings/terminal/loyaltyTotals.ts @@ -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 { TransactionType } from "./transactionType"; +import { TransactionType } from './transactionType'; export class LoyaltyTotals { - "transactionAmount": number; - "transactionCount": number; - "transactionType": TransactionType; + 'TransactionAmount': number; + 'TransactionCount': number; + 'TransactionType': TransactionType; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "transactionAmount", + "name": "TransactionAmount", "baseName": "TransactionAmount", "type": "number" }, { - "name": "transactionCount", + "name": "TransactionCount", "baseName": "TransactionCount", "type": "number" }, { - "name": "transactionType", + "name": "TransactionType", "baseName": "TransactionType", "type": "TransactionType" } ]; diff --git a/src/typings/terminal/loyaltyTransaction.ts b/src/typings/terminal/loyaltyTransaction.ts index c001cfe..5c10286 100644 --- a/src/typings/terminal/loyaltyTransaction.ts +++ b/src/typings/terminal/loyaltyTransaction.ts @@ -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,49 +11,49 @@ */ -import { LoyaltyTransactionType } from "./loyaltyTransactionType"; -import { OriginalPOITransaction } from "./originalPOITransaction"; -import { SaleItem } from "./saleItem"; -import { TransactionConditions } from "./transactionConditions"; +import { LoyaltyTransactionType } from './loyaltyTransactionType'; +import { OriginalPOITransaction } from './originalPOITransaction'; +import { SaleItem } from './saleItem'; +import { TransactionConditions } from './transactionConditions'; export class LoyaltyTransaction { - "currency"?: string; - "loyaltyTransactionType": LoyaltyTransactionType; - "originalPOITransaction"?: OriginalPOITransaction; - "saleItem"?: SaleItem[]; - "totalAmount"?: number; - "transactionConditions"?: TransactionConditions; + 'Currency'?: string; + 'LoyaltyTransactionType': LoyaltyTransactionType; + 'OriginalPOITransaction'?: OriginalPOITransaction; + 'SaleItem'?: Array; + 'TotalAmount'?: number; + 'TransactionConditions'?: TransactionConditions; 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": "loyaltyTransactionType", + "name": "LoyaltyTransactionType", "baseName": "LoyaltyTransactionType", "type": "LoyaltyTransactionType" }, { - "name": "originalPOITransaction", + "name": "OriginalPOITransaction", "baseName": "OriginalPOITransaction", "type": "OriginalPOITransaction" }, { - "name": "saleItem", + "name": "SaleItem", "baseName": "SaleItem", "type": "Array" }, { - "name": "totalAmount", + "name": "TotalAmount", "baseName": "TotalAmount", "type": "number" }, { - "name": "transactionConditions", + "name": "TransactionConditions", "baseName": "TransactionConditions", "type": "TransactionConditions" } ]; diff --git a/src/typings/terminal/loyaltyTransactionType.ts b/src/typings/terminal/loyaltyTransactionType.ts index bb6b4c8..21bda88 100644 --- a/src/typings/terminal/loyaltyTransactionType.ts +++ b/src/typings/terminal/loyaltyTransactionType.ts @@ -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 LoyaltyTransactionType { - Award = "Award" as any, - AwardRefund = "AwardRefund" as any, - Rebate = "Rebate" as any, - RebateRefund = "RebateRefund" as any, - Redemption = "Redemption" as any, - RedemptionRefund = "RedemptionRefund" as any + Award = 'Award', + AwardRefund = 'AwardRefund', + Rebate = 'Rebate', + RebateRefund = 'RebateRefund', + Redemption = 'Redemption', + RedemptionRefund = 'RedemptionRefund' } diff --git a/src/typings/terminal/loyaltyUnitType.ts b/src/typings/terminal/loyaltyUnitType.ts index 193267c..daa2374 100644 --- a/src/typings/terminal/loyaltyUnitType.ts +++ b/src/typings/terminal/loyaltyUnitType.ts @@ -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 LoyaltyUnitType { - Monetary = "Monetary" as any, - Point = "Point" as any + Monetary = 'Monetary', + Point = 'Point' } diff --git a/src/typings/terminal/menuEntry.ts b/src/typings/terminal/menuEntry.ts index c3ecf8f..d5a5735 100644 --- a/src/typings/terminal/menuEntry.ts +++ b/src/typings/terminal/menuEntry.ts @@ -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,49 +11,48 @@ */ -import { AnyType } from "./anyType"; -import { OutputFormatType } from "./outputFormatType"; -import { OutputText } from "./outputText"; -import { PredefinedContent } from "./predefinedContent"; +import { OutputFormatType } from './outputFormatType'; +import { OutputText } from './outputText'; +import { PredefinedContent } from './predefinedContent'; export class MenuEntry { - "defaultSelectedFlag"?: boolean; - "menuEntryTag"?: MenuEntry.MenuEntryTagEnum; - "outputFormat": OutputFormatType; - "outputText"?: OutputText[]; - "outputXHTML"?: AnyType; - "predefinedContent"?: PredefinedContent; + 'DefaultSelectedFlag'?: boolean; + 'MenuEntryTag'?: MenuEntry.MenuEntryTagEnum; + 'OutputFormat': OutputFormatType; + 'OutputText'?: Array; + 'OutputXHTML'?: any | null; + 'PredefinedContent'?: PredefinedContent; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "defaultSelectedFlag", + "name": "DefaultSelectedFlag", "baseName": "DefaultSelectedFlag", "type": "boolean" }, { - "name": "menuEntryTag", + "name": "MenuEntryTag", "baseName": "MenuEntryTag", "type": "MenuEntry.MenuEntryTagEnum" }, { - "name": "outputFormat", + "name": "OutputFormat", "baseName": "OutputFormat", "type": "OutputFormatType" }, { - "name": "outputText", + "name": "OutputText", "baseName": "OutputText", "type": "Array" }, { - "name": "outputXHTML", + "name": "OutputXHTML", "baseName": "OutputXHTML", - "type": "AnyType" + "type": "any" }, { - "name": "predefinedContent", + "name": "PredefinedContent", "baseName": "PredefinedContent", "type": "PredefinedContent" } ]; @@ -84,9 +64,9 @@ export class MenuEntry { export namespace MenuEntry { export enum MenuEntryTagEnum { - NonSelectable = "NonSelectable" as any, - NonSelectableSubMenu = "NonSelectableSubMenu" as any, - Selectable = "Selectable" as any, - SubMenu = "SubMenu" as any + NonSelectable = 'NonSelectable', + NonSelectableSubMenu = 'NonSelectableSubMenu', + Selectable = 'Selectable', + SubMenu = 'SubMenu' } } diff --git a/src/typings/terminal/menuEntryTagType.ts b/src/typings/terminal/menuEntryTagType.ts index 09c3f3b..5de4a8c 100644 --- a/src/typings/terminal/menuEntryTagType.ts +++ b/src/typings/terminal/menuEntryTagType.ts @@ -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 MenuEntryTagType { - NonSelectable = "NonSelectable" as any, - NonSelectableSubMenu = "NonSelectableSubMenu" as any, - Selectable = "Selectable" as any, - SubMenu = "SubMenu" as any + NonSelectable = 'NonSelectable', + NonSelectableSubMenu = 'NonSelectableSubMenu', + Selectable = 'Selectable', + SubMenu = 'SubMenu' } diff --git a/src/typings/terminal/merchantDevice.ts b/src/typings/terminal/merchantDevice.ts index 9bf5542..eac4ff3 100644 --- a/src/typings/terminal/merchantDevice.ts +++ b/src/typings/terminal/merchantDevice.ts @@ -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 MerchantDevice { - "os"?: string; - "osVersion"?: string; - "reference"?: string; + 'os'?: string; + 'osVersion'?: string; + 'reference'?: string; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "os", "baseName": "os", diff --git a/src/typings/terminal/messageCategoryType.ts b/src/typings/terminal/messageCategoryType.ts index 4c455a4..a22f3c7 100644 --- a/src/typings/terminal/messageCategoryType.ts +++ b/src/typings/terminal/messageCategoryType.ts @@ -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 enum MessageCategoryType { - Abort = "Abort" as any, - Admin = "Admin" as any, - BalanceInquiry = "BalanceInquiry" as any, - Batch = "Batch" as any, - CardAcquisition = "CardAcquisition" as any, - CardReaderAPDU = "CardReaderAPDU" as any, - CardReaderInit = "CardReaderInit" as any, - CardReaderPowerOff = "CardReaderPowerOff" as any, - Diagnosis = "Diagnosis" as any, - Display = "Display" as any, - EnableService = "EnableService" as any, - Event = "Event" as any, - GetTotals = "GetTotals" as any, - Input = "Input" as any, - InputUpdate = "InputUpdate" as any, - Login = "Login" as any, - Logout = "Logout" as any, - Loyalty = "Loyalty" as any, - PIN = "PIN" as any, - Payment = "Payment" as any, - Print = "Print" as any, - Reconciliation = "Reconciliation" as any, - Reversal = "Reversal" as any, - Sound = "Sound" as any, - StoredValue = "StoredValue" as any, - TransactionStatus = "TransactionStatus" as any, - Transmit = "Transmit" as any + Abort = 'Abort', + Admin = 'Admin', + BalanceInquiry = 'BalanceInquiry', + Batch = 'Batch', + CardAcquisition = 'CardAcquisition', + CardReaderApdu = 'CardReaderAPDU', + CardReaderInit = 'CardReaderInit', + CardReaderPowerOff = 'CardReaderPowerOff', + Diagnosis = 'Diagnosis', + Display = 'Display', + EnableService = 'EnableService', + Event = 'Event', + GetTotals = 'GetTotals', + Input = 'Input', + InputUpdate = 'InputUpdate', + Login = 'Login', + Logout = 'Logout', + Loyalty = 'Loyalty', + Pin = 'PIN', + Payment = 'Payment', + Print = 'Print', + Reconciliation = 'Reconciliation', + Reversal = 'Reversal', + Sound = 'Sound', + StoredValue = 'StoredValue', + TransactionStatus = 'TransactionStatus', + Transmit = 'Transmit' } diff --git a/src/typings/terminal/messageClassType.ts b/src/typings/terminal/messageClassType.ts index 28a563e..f7aa8c2 100644 --- a/src/typings/terminal/messageClassType.ts +++ b/src/typings/terminal/messageClassType.ts @@ -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 MessageClassType { - Device = "Device" as any, - Event = "Event" as any, - Service = "Service" as any + Device = 'Device', + Event = 'Event', + Service = 'Service' } diff --git a/src/typings/terminal/messageHeader.ts b/src/typings/terminal/messageHeader.ts index aa5f10f..ec8eb9a 100644 --- a/src/typings/terminal/messageHeader.ts +++ b/src/typings/terminal/messageHeader.ts @@ -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,60 +11,60 @@ */ -import { MessageCategoryType } from "./messageCategoryType"; -import { MessageClassType } from "./messageClassType"; -import { MessageType } from "./messageType"; +import { MessageCategoryType } from './messageCategoryType'; +import { MessageClassType } from './messageClassType'; +import { MessageType } from './messageType'; export class MessageHeader { - "deviceID"?: string; - "messageCategory": MessageCategoryType; - "messageClass": MessageClassType; - "messageType": MessageType; - "pOIID": string; - "protocolVersion"?: string; - "saleID"?: string; - "serviceID"?: string; + 'DeviceID'?: string; + 'MessageCategory': MessageCategoryType; + 'MessageClass': MessageClassType; + 'MessageType': MessageType; + 'POIID': string; + 'ProtocolVersion'?: string; + 'SaleID'?: string; + 'ServiceID'?: string; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "deviceID", + "name": "DeviceID", "baseName": "DeviceID", "type": "string" }, { - "name": "messageCategory", + "name": "MessageCategory", "baseName": "MessageCategory", "type": "MessageCategoryType" }, { - "name": "messageClass", + "name": "MessageClass", "baseName": "MessageClass", "type": "MessageClassType" }, { - "name": "messageType", + "name": "MessageType", "baseName": "MessageType", "type": "MessageType" }, { - "name": "pOIID", + "name": "POIID", "baseName": "POIID", "type": "string" }, { - "name": "protocolVersion", + "name": "ProtocolVersion", "baseName": "ProtocolVersion", "type": "string" }, { - "name": "saleID", + "name": "SaleID", "baseName": "SaleID", "type": "string" }, { - "name": "serviceID", + "name": "ServiceID", "baseName": "ServiceID", "type": "string" } ]; diff --git a/src/typings/terminal/messageReference.ts b/src/typings/terminal/messageReference.ts index 9472533..a644131 100644 --- a/src/typings/terminal/messageReference.ts +++ b/src/typings/terminal/messageReference.ts @@ -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,37 +13,37 @@ export class MessageReference { - "deviceID"?: string; - "messageCategory"?: MessageReference.MessageCategoryEnum; - "pOIID"?: string; - "saleID"?: string; - "serviceID"?: string; + 'DeviceID'?: string; + 'MessageCategory'?: MessageReference.MessageCategoryEnum; + 'POIID'?: string; + 'SaleID'?: string; + 'ServiceID'?: string; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "deviceID", + "name": "DeviceID", "baseName": "DeviceID", "type": "string" }, { - "name": "messageCategory", + "name": "MessageCategory", "baseName": "MessageCategory", "type": "MessageReference.MessageCategoryEnum" }, { - "name": "pOIID", + "name": "POIID", "baseName": "POIID", "type": "string" }, { - "name": "saleID", + "name": "SaleID", "baseName": "SaleID", "type": "string" }, { - "name": "serviceID", + "name": "ServiceID", "baseName": "ServiceID", "type": "string" } ]; @@ -74,32 +55,32 @@ export class MessageReference { export namespace MessageReference { export enum MessageCategoryEnum { - Abort = "Abort" as any, - Admin = "Admin" as any, - BalanceInquiry = "BalanceInquiry" as any, - Batch = "Batch" as any, - CardAcquisition = "CardAcquisition" as any, - CardReaderAPDU = "CardReaderAPDU" as any, - CardReaderInit = "CardReaderInit" as any, - CardReaderPowerOff = "CardReaderPowerOff" as any, - Diagnosis = "Diagnosis" as any, - Display = "Display" as any, - EnableService = "EnableService" as any, - Event = "Event" as any, - GetTotals = "GetTotals" as any, - Input = "Input" as any, - InputUpdate = "InputUpdate" as any, - Login = "Login" as any, - Logout = "Logout" as any, - Loyalty = "Loyalty" as any, - PIN = "PIN" as any, - Payment = "Payment" as any, - Print = "Print" as any, - Reconciliation = "Reconciliation" as any, - Reversal = "Reversal" as any, - Sound = "Sound" as any, - StoredValue = "StoredValue" as any, - TransactionStatus = "TransactionStatus" as any, - Transmit = "Transmit" as any + Abort = 'Abort', + Admin = 'Admin', + BalanceInquiry = 'BalanceInquiry', + Batch = 'Batch', + CardAcquisition = 'CardAcquisition', + CardReaderApdu = 'CardReaderAPDU', + CardReaderInit = 'CardReaderInit', + CardReaderPowerOff = 'CardReaderPowerOff', + Diagnosis = 'Diagnosis', + Display = 'Display', + EnableService = 'EnableService', + Event = 'Event', + GetTotals = 'GetTotals', + Input = 'Input', + InputUpdate = 'InputUpdate', + Login = 'Login', + Logout = 'Logout', + Loyalty = 'Loyalty', + Pin = 'PIN', + Payment = 'Payment', + Print = 'Print', + Reconciliation = 'Reconciliation', + Reversal = 'Reversal', + Sound = 'Sound', + StoredValue = 'StoredValue', + TransactionStatus = 'TransactionStatus', + Transmit = 'Transmit' } } diff --git a/src/typings/terminal/messageType.ts b/src/typings/terminal/messageType.ts index 7d7df71..05b77f2 100644 --- a/src/typings/terminal/messageType.ts +++ b/src/typings/terminal/messageType.ts @@ -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 MessageType { - Notification = "Notification" as any, - Request = "Request" as any, - Response = "Response" as any + Notification = 'Notification', + Request = 'Request', + Response = 'Response' } diff --git a/src/typings/terminal/mobileData.ts b/src/typings/terminal/mobileData.ts index 3e76dde..239fdbc 100644 --- a/src/typings/terminal/mobileData.ts +++ b/src/typings/terminal/mobileData.ts @@ -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,48 @@ */ -import { ContentInformation } from "./contentInformation"; -import { Geolocation } from "./geolocation"; -import { SensitiveMobileData } from "./sensitiveMobileData"; +import { ContentInformation } from './contentInformation'; +import { Geolocation } from './geolocation'; +import { SensitiveMobileData } from './sensitiveMobileData'; export class MobileData { - "geolocation"?: Geolocation; - "maskedMSISDN"?: string; - "mobileCountryCode"?: string; - "mobileNetworkCode"?: string; - "protectedMobileData"?: ContentInformation; - "sensitiveMobileData"?: SensitiveMobileData; + 'Geolocation'?: Geolocation; + 'MaskedMSISDN'?: string; + 'MobileCountryCode'?: string; + 'MobileNetworkCode'?: string; + 'ProtectedMobileData'?: ContentInformation; + 'SensitiveMobileData'?: SensitiveMobileData; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "geolocation", + "name": "Geolocation", "baseName": "Geolocation", "type": "Geolocation" }, { - "name": "maskedMSISDN", + "name": "MaskedMSISDN", "baseName": "MaskedMSISDN", "type": "string" }, { - "name": "mobileCountryCode", + "name": "MobileCountryCode", "baseName": "MobileCountryCode", "type": "string" }, { - "name": "mobileNetworkCode", + "name": "MobileNetworkCode", "baseName": "MobileNetworkCode", "type": "string" }, { - "name": "protectedMobileData", + "name": "ProtectedMobileData", "baseName": "ProtectedMobileData", "type": "ContentInformation" }, { - "name": "sensitiveMobileData", + "name": "SensitiveMobileData", "baseName": "SensitiveMobileData", "type": "SensitiveMobileData" } ]; diff --git a/src/typings/terminal/namedKeyEncryptedData.ts b/src/typings/terminal/namedKeyEncryptedData.ts index cdac132..330bda1 100644 --- a/src/typings/terminal/namedKeyEncryptedData.ts +++ b/src/typings/terminal/namedKeyEncryptedData.ts @@ -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 { EncryptedContent } from "./encryptedContent"; +import { EncryptedContent } from './encryptedContent'; export class NamedKeyEncryptedData { - "encryptedContent": EncryptedContent; - "keyName"?: string; - "version"?: NamedKeyEncryptedData.VersionEnum; + 'EncryptedContent': EncryptedContent; + 'KeyName'?: string; + 'Version'?: NamedKeyEncryptedData.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": "keyName", + "name": "KeyName", "baseName": "KeyName", "type": "string" }, { - "name": "version", + "name": "Version", "baseName": "Version", "type": "NamedKeyEncryptedData.VersionEnum" } ]; @@ -63,11 +44,11 @@ export class NamedKeyEncryptedData { export namespace NamedKeyEncryptedData { 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 = 'V0', + V1 = 'V1', + V2 = 'V2', + V3 = 'V3', + V4 = 'V4', + V5 = 'V5' } } diff --git a/src/typings/terminal/nexoDerivedKey.ts b/src/typings/terminal/nexoDerivedKey.ts index 8e1bdc3..8f908e1 100644 --- a/src/typings/terminal/nexoDerivedKey.ts +++ b/src/typings/terminal/nexoDerivedKey.ts @@ -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,29 @@ */ -import { AnyType } from "./anyType"; export class NexoDerivedKey { - "cipherKey"?: AnyType; - "hmacKey"?: AnyType; - "iv"?: AnyType; + 'cipherKey'?: any | null; + 'hmacKey'?: any | null; + 'iv'?: 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": "cipherKey", - "baseName": "CipherKey", - "type": "AnyType" + "baseName": "cipherKey", + "type": "any" }, { "name": "hmacKey", - "baseName": "HmacKey", - "type": "AnyType" + "baseName": "hmacKey", + "type": "any" }, { "name": "iv", - "baseName": "Iv", - "type": "AnyType" + "baseName": "iv", + "type": "any" } ]; static getAttributeTypeMap() { diff --git a/src/typings/terminal/originalPOITransaction.ts b/src/typings/terminal/originalPOITransaction.ts index b675c2a..c483860 100644 --- a/src/typings/terminal/originalPOITransaction.ts +++ b/src/typings/terminal/originalPOITransaction.ts @@ -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,58 +11,58 @@ */ -import { TransactionIdentification } from "./transactionIdentification"; +import { TransactionIdentification } from './transactionIdentification'; export class OriginalPOITransaction { - "acquirerID"?: string; - "approvalCode"?: string; - "customerLanguage"?: string; - "hostTransactionID"?: TransactionIdentification; - "pOIID"?: string; - "pOITransactionID"?: TransactionIdentification; - "reuseCardDataFlag"?: boolean; - "saleID"?: string; + 'AcquirerID'?: string; + 'ApprovalCode'?: string; + 'CustomerLanguage'?: string; + 'HostTransactionID'?: TransactionIdentification; + 'POIID'?: string; + 'POITransactionID'?: TransactionIdentification; + 'ReuseCardDataFlag'?: boolean; + 'SaleID'?: 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": "string" }, { - "name": "approvalCode", + "name": "ApprovalCode", "baseName": "ApprovalCode", "type": "string" }, { - "name": "customerLanguage", + "name": "CustomerLanguage", "baseName": "CustomerLanguage", "type": "string" }, { - "name": "hostTransactionID", + "name": "HostTransactionID", "baseName": "HostTransactionID", "type": "TransactionIdentification" }, { - "name": "pOIID", + "name": "POIID", "baseName": "POIID", "type": "string" }, { - "name": "pOITransactionID", + "name": "POITransactionID", "baseName": "POITransactionID", "type": "TransactionIdentification" }, { - "name": "reuseCardDataFlag", + "name": "ReuseCardDataFlag", "baseName": "ReuseCardDataFlag", "type": "boolean" }, { - "name": "saleID", + "name": "SaleID", "baseName": "SaleID", "type": "string" } ]; diff --git a/src/typings/terminal/outputBarcode.ts b/src/typings/terminal/outputBarcode.ts index 5099574..cec904b 100644 --- a/src/typings/terminal/outputBarcode.ts +++ b/src/typings/terminal/outputBarcode.ts @@ -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 class OutputBarcode { - "barcodeType"?: OutputBarcode.BarcodeTypeEnum; - "barcodeValue"?: string; + 'BarcodeType'?: OutputBarcode.BarcodeTypeEnum; + '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": "barcodeType", + "name": "BarcodeType", "baseName": "BarcodeType", "type": "OutputBarcode.BarcodeTypeEnum" }, { - "name": "barcodeValue", - "baseName": "BarcodeValue", + "name": "Value", + "baseName": "Value", "type": "string" } ]; @@ -56,12 +37,12 @@ export class OutputBarcode { export namespace OutputBarcode { export enum BarcodeTypeEnum { - 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 = 'Code128', + Code25 = 'Code25', + Ean13 = 'EAN13', + Ean8 = 'EAN8', + Pdf417 = 'PDF417', + Qrcode = 'QRCODE', + Upca = 'UPCA' } } diff --git a/src/typings/terminal/outputContent.ts b/src/typings/terminal/outputContent.ts index da31125..ff63d5a 100644 --- a/src/typings/terminal/outputContent.ts +++ b/src/typings/terminal/outputContent.ts @@ -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,44 +11,43 @@ */ -import { AnyType } from "./anyType"; -import { OutputBarcode } from "./outputBarcode"; -import { OutputFormatType } from "./outputFormatType"; -import { OutputText } from "./outputText"; -import { PredefinedContent } from "./predefinedContent"; +import { OutputBarcode } from './outputBarcode'; +import { OutputFormatType } from './outputFormatType'; +import { OutputText } from './outputText'; +import { PredefinedContent } from './predefinedContent'; export class OutputContent { - "outputBarcode"?: OutputBarcode; - "outputFormat": OutputFormatType; - "outputText"?: OutputText[]; - "outputXHTML"?: AnyType; - "predefinedContent"?: PredefinedContent; + 'OutputBarcode'?: OutputBarcode; + 'OutputFormat': OutputFormatType; + 'OutputText'?: Array; + 'OutputXHTML'?: any | null; + 'PredefinedContent'?: PredefinedContent; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "outputBarcode", + "name": "OutputBarcode", "baseName": "OutputBarcode", "type": "OutputBarcode" }, { - "name": "outputFormat", + "name": "OutputFormat", "baseName": "OutputFormat", "type": "OutputFormatType" }, { - "name": "outputText", + "name": "OutputText", "baseName": "OutputText", "type": "Array" }, { - "name": "outputXHTML", + "name": "OutputXHTML", "baseName": "OutputXHTML", - "type": "AnyType" + "type": "any" }, { - "name": "predefinedContent", + "name": "PredefinedContent", "baseName": "PredefinedContent", "type": "PredefinedContent" } ]; diff --git a/src/typings/terminal/outputFormatType.ts b/src/typings/terminal/outputFormatType.ts index d6ce9e2..78361d6 100644 --- a/src/typings/terminal/outputFormatType.ts +++ b/src/typings/terminal/outputFormatType.ts @@ -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 OutputFormatType { - BarCode = "BarCode" as any, - MessageRef = "MessageRef" as any, - Text = "Text" as any, - XHTML = "XHTML" as any + BarCode = 'BarCode', + MessageRef = 'MessageRef', + Text = 'Text', + Xhtml = 'XHTML' } diff --git a/src/typings/terminal/outputResult.ts b/src/typings/terminal/outputResult.ts index 44e8c63..9721f33 100644 --- a/src/typings/terminal/outputResult.ts +++ b/src/typings/terminal/outputResult.ts @@ -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 { DeviceType } from "./deviceType"; -import { InfoQualifyType } from "./infoQualifyType"; -import { Response } from "./response"; +import { DeviceType } from './deviceType'; +import { InfoQualifyType } from './infoQualifyType'; +import { Response } from './response'; export class OutputResult { - "device": DeviceType; - "infoQualify": InfoQualifyType; - "response": Response; + 'Device': DeviceType; + 'InfoQualify': InfoQualifyType; + '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": "response", + "name": "Response", "baseName": "Response", "type": "Response" } ]; diff --git a/src/typings/terminal/outputText.ts b/src/typings/terminal/outputText.ts index 05b6adc..13a2147 100644 --- a/src/typings/terminal/outputText.ts +++ b/src/typings/terminal/outputText.ts @@ -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,73 +13,73 @@ export class OutputText { - "alignment"?: OutputText.AlignmentEnum; - "characterHeight"?: OutputText.CharacterHeightEnum; - "characterSet"?: number; - "characterStyle"?: OutputText.CharacterStyleEnum; - "characterWidth"?: OutputText.CharacterWidthEnum; - "color"?: OutputText.ColorEnum; - "endOfLineFlag"?: boolean; - "font"?: string; - "startColumn"?: number; - "startRow"?: number; - "text"?: string; + 'Alignment'?: OutputText.AlignmentEnum; + 'CharacterHeight'?: OutputText.CharacterHeightEnum; + 'CharacterSet'?: number; + 'CharacterStyle'?: OutputText.CharacterStyleEnum; + 'CharacterWidth'?: OutputText.CharacterWidthEnum; + 'Color'?: OutputText.ColorEnum; + 'EndOfLineFlag'?: boolean; + 'Font'?: string; + 'StartColumn'?: number; + 'StartRow'?: number; + 'Text'?: string; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "alignment", + "name": "Alignment", "baseName": "Alignment", "type": "OutputText.AlignmentEnum" }, { - "name": "characterHeight", + "name": "CharacterHeight", "baseName": "CharacterHeight", "type": "OutputText.CharacterHeightEnum" }, { - "name": "characterSet", + "name": "CharacterSet", "baseName": "CharacterSet", "type": "number" }, { - "name": "characterStyle", + "name": "CharacterStyle", "baseName": "CharacterStyle", "type": "OutputText.CharacterStyleEnum" }, { - "name": "characterWidth", + "name": "CharacterWidth", "baseName": "CharacterWidth", "type": "OutputText.CharacterWidthEnum" }, { - "name": "color", + "name": "Color", "baseName": "Color", "type": "OutputText.ColorEnum" }, { - "name": "endOfLineFlag", + "name": "EndOfLineFlag", "baseName": "EndOfLineFlag", "type": "boolean" }, { - "name": "font", + "name": "Font", "baseName": "Font", "type": "string" }, { - "name": "startColumn", + "name": "StartColumn", "baseName": "StartColumn", "type": "number" }, { - "name": "startRow", + "name": "StartRow", "baseName": "StartRow", "type": "number" }, { - "name": "text", + "name": "Text", "baseName": "Text", "type": "string" } ]; @@ -110,34 +91,34 @@ export class OutputText { export namespace OutputText { export enum AlignmentEnum { - Centred = "Centred" as any, - Justified = "Justified" as any, - Left = "Left" as any, - Right = "Right" as any + Centred = 'Centred', + Justified = 'Justified', + Left = 'Left', + Right = 'Right' } export enum CharacterHeightEnum { - DoubleHeight = "DoubleHeight" as any, - HalfHeight = "HalfHeight" as any, - SingleHeight = "SingleHeight" as any + DoubleHeight = 'DoubleHeight', + HalfHeight = 'HalfHeight', + SingleHeight = 'SingleHeight' } export enum CharacterStyleEnum { - Bold = "Bold" as any, - Italic = "Italic" as any, - Normal = "Normal" as any, - Underlined = "Underlined" as any + Bold = 'Bold', + Italic = 'Italic', + Normal = 'Normal', + Underlined = 'Underlined' } export enum CharacterWidthEnum { - DoubleWidth = "DoubleWidth" as any, - SingleWidth = "SingleWidth" as any + DoubleWidth = 'DoubleWidth', + SingleWidth = 'SingleWidth' } export enum ColorEnum { - 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 = 'Black', + Blue = 'Blue', + Cyan = 'Cyan', + Green = 'Green', + Magenta = 'Magenta', + Red = 'Red', + White = 'White', + Yellow = 'Yellow' } } diff --git a/src/typings/terminal/pINFormatType.ts b/src/typings/terminal/pINFormatType.ts index aa272fc..da8ccf2 100644 --- a/src/typings/terminal/pINFormatType.ts +++ b/src/typings/terminal/pINFormatType.ts @@ -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 PINFormatType { - ISO0 = "ISO0" as any, - ISO1 = "ISO1" as any, - ISO2 = "ISO2" as any, - ISO3 = "ISO3" as any + Iso0 = 'ISO0', + Iso1 = 'ISO1', + Iso2 = 'ISO2', + Iso3 = 'ISO3' } diff --git a/src/typings/terminal/pINRequest.ts b/src/typings/terminal/pINRequest.ts index d280b3f..f90740f 100644 --- a/src/typings/terminal/pINRequest.ts +++ b/src/typings/terminal/pINRequest.ts @@ -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,59 +11,59 @@ */ -import { CardholderPIN } from "./cardholderPIN"; -import { PINRequestType } from "./pINRequestType"; +import { CardholderPIN } from './cardholderPIN'; +import { PINRequestType } from './pINRequestType'; export class PINRequest { - "additionalInput"?: string; - "cardholderPIN"?: CardholderPIN; - "keyReference"?: string; - "maxWaitingTime"?: number; - "pINEncAlgorithm"?: string; - "pINFormat"?: PINRequest.PINFormatEnum; - "pINRequestType": PINRequestType; - "pINVerifMethod"?: string; + 'AdditionalInput'?: string; + 'CardholderPIN'?: CardholderPIN; + 'KeyReference'?: string; + 'MaxWaitingTime'?: number; + 'PINEncAlgorithm'?: string; + 'PINFormat'?: PINRequest.PINFormatEnum; + 'PINRequestType': PINRequestType; + 'PINVerifMethod'?: string; 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": "cardholderPIN", + "name": "CardholderPIN", "baseName": "CardholderPIN", "type": "CardholderPIN" }, { - "name": "keyReference", + "name": "KeyReference", "baseName": "KeyReference", "type": "string" }, { - "name": "maxWaitingTime", + "name": "MaxWaitingTime", "baseName": "MaxWaitingTime", "type": "number" }, { - "name": "pINEncAlgorithm", + "name": "PINEncAlgorithm", "baseName": "PINEncAlgorithm", "type": "string" }, { - "name": "pINFormat", + "name": "PINFormat", "baseName": "PINFormat", "type": "PINRequest.PINFormatEnum" }, { - "name": "pINRequestType", + "name": "PINRequestType", "baseName": "PINRequestType", "type": "PINRequestType" }, { - "name": "pINVerifMethod", + "name": "PINVerifMethod", "baseName": "PINVerifMethod", "type": "string" } ]; @@ -94,9 +75,9 @@ export class PINRequest { export namespace PINRequest { export enum PINFormatEnum { - ISO0 = "ISO0" as any, - ISO1 = "ISO1" as any, - ISO2 = "ISO2" as any, - ISO3 = "ISO3" as any + Iso0 = 'ISO0', + Iso1 = 'ISO1', + Iso2 = 'ISO2', + Iso3 = 'ISO3' } } diff --git a/src/typings/terminal/pINRequestType.ts b/src/typings/terminal/pINRequestType.ts index 6f8ece1..8834d4c 100644 --- a/src/typings/terminal/pINRequestType.ts +++ b/src/typings/terminal/pINRequestType.ts @@ -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 PINRequestType { - PINEnter = "PINEnter" as any, - PINVerify = "PINVerify" as any, - PINVerifyOnly = "PINVerifyOnly" as any + PinEnter = 'PINEnter', + PinVerify = 'PINVerify', + PinVerifyOnly = 'PINVerifyOnly' } diff --git a/src/typings/terminal/pINResponse.ts b/src/typings/terminal/pINResponse.ts index dda90f3..66698f1 100644 --- a/src/typings/terminal/pINResponse.ts +++ b/src/typings/terminal/pINResponse.ts @@ -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 { CardholderPIN } from "./cardholderPIN"; -import { Response } from "./response"; +import { CardholderPIN } from './cardholderPIN'; +import { Response } from './response'; export class PINResponse { - "cardholderPIN"?: CardholderPIN; - "response": Response; + 'CardholderPIN'?: CardholderPIN; + '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": "cardholderPIN", + "name": "CardholderPIN", "baseName": "CardholderPIN", "type": "CardholderPIN" }, { - "name": "response", + "name": "Response", "baseName": "Response", "type": "Response" } ]; diff --git a/src/typings/terminal/pOICapabilitiesType.ts b/src/typings/terminal/pOICapabilitiesType.ts index 6525822..d697467 100644 --- a/src/typings/terminal/pOICapabilitiesType.ts +++ b/src/typings/terminal/pOICapabilitiesType.ts @@ -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,17 +13,17 @@ export enum POICapabilitiesType { - CashHandling = "CashHandling" as any, - CashierDisplay = "CashierDisplay" as any, - CashierError = "CashierError" as any, - CashierInput = "CashierInput" as any, - CustomerDisplay = "CustomerDisplay" as any, - CustomerError = "CustomerError" as any, - CustomerInput = "CustomerInput" as any, - EMVContactless = "EMVContactless" as any, - ICC = "ICC" as any, - MagStripe = "MagStripe" as any, - PrinterDocument = "PrinterDocument" as any, - PrinterReceipt = "PrinterReceipt" as any, - PrinterVoucher = "PrinterVoucher" as any + CashHandling = 'CashHandling', + CashierDisplay = 'CashierDisplay', + CashierError = 'CashierError', + CashierInput = 'CashierInput', + CustomerDisplay = 'CustomerDisplay', + CustomerError = 'CustomerError', + CustomerInput = 'CustomerInput', + EmvContactless = 'EMVContactless', + Icc = 'ICC', + MagStripe = 'MagStripe', + PrinterDocument = 'PrinterDocument', + PrinterReceipt = 'PrinterReceipt', + PrinterVoucher = 'PrinterVoucher' } diff --git a/src/typings/terminal/pOIData.ts b/src/typings/terminal/pOIData.ts index 2476493..828124f 100644 --- a/src/typings/terminal/pOIData.ts +++ b/src/typings/terminal/pOIData.ts @@ -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 { TransactionIdentification } from "./transactionIdentification"; +import { TransactionIdentification } from './transactionIdentification'; export class POIData { - "pOIReconciliationID"?: string; - "pOITransactionID": TransactionIdentification; + 'POIReconciliationID'?: string; + 'POITransactionID': TransactionIdentification; 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": "pOITransactionID", + "name": "POITransactionID", "baseName": "POITransactionID", "type": "TransactionIdentification" } ]; diff --git a/src/typings/terminal/pOIProfile.ts b/src/typings/terminal/pOIProfile.ts index 128c2e7..d02ff96 100644 --- a/src/typings/terminal/pOIProfile.ts +++ b/src/typings/terminal/pOIProfile.ts @@ -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 POIProfile { - "genericProfile"?: POIProfile.GenericProfileEnum; - "serviceProfiles"?: POIProfile.ServiceProfilesEnum[]; + 'GenericProfile'?: POIProfile.GenericProfileEnum; + 'ServiceProfiles'?: Array; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "genericProfile", + "name": "GenericProfile", "baseName": "GenericProfile", "type": "POIProfile.GenericProfileEnum" }, { - "name": "serviceProfiles", + "name": "ServiceProfiles", "baseName": "ServiceProfiles", "type": "Array" } ]; @@ -56,20 +37,20 @@ export class POIProfile { export namespace POIProfile { export enum GenericProfileEnum { - Basic = "Basic" as any, - Extended = "Extended" as any, - Standard = "Standard" as any + Basic = 'Basic', + Extended = 'Extended', + Standard = 'Standard' } export enum ServiceProfilesEnum { - Batch = "Batch" as any, - CardReader = "CardReader" as any, - Communication = "Communication" as any, - Loyalty = "Loyalty" as any, - OneTimeRes = "OneTimeRes" as any, - PIN = "PIN" as any, - Reservation = "Reservation" as any, - Sound = "Sound" as any, - StoredValue = "StoredValue" as any, - Synchro = "Synchro" as any + Batch = 'Batch', + CardReader = 'CardReader', + Communication = 'Communication', + Loyalty = 'Loyalty', + OneTimeRes = 'OneTimeRes', + Pin = 'PIN', + Reservation = 'Reservation', + Sound = 'Sound', + StoredValue = 'StoredValue', + Synchro = 'Synchro' } } diff --git a/src/typings/terminal/pOISoftware.ts b/src/typings/terminal/pOISoftware.ts index 4b20355..622cced 100644 --- a/src/typings/terminal/pOISoftware.ts +++ b/src/typings/terminal/pOISoftware.ts @@ -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 POISoftware { - "applicationName": string; - "certificationCode": string; - "manufacturerID": string; - "softwareVersion": string; + 'ApplicationName': string; + 'CertificationCode': string; + 'ManufacturerID': string; + 'SoftwareVersion': string; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "applicationName", + "name": "ApplicationName", "baseName": "ApplicationName", "type": "string" }, { - "name": "certificationCode", + "name": "CertificationCode", "baseName": "CertificationCode", "type": "string" }, { - "name": "manufacturerID", + "name": "ManufacturerID", "baseName": "ManufacturerID", "type": "string" }, { - "name": "softwareVersion", + "name": "SoftwareVersion", "baseName": "SoftwareVersion", "type": "string" } ]; diff --git a/src/typings/terminal/pOIStatus.ts b/src/typings/terminal/pOIStatus.ts index a6cc53c..3f42833 100644 --- a/src/typings/terminal/pOIStatus.ts +++ b/src/typings/terminal/pOIStatus.ts @@ -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,59 +11,59 @@ */ -import { CashHandlingDevice } from "./cashHandlingDevice"; -import { GlobalStatusType } from "./globalStatusType"; +import { CashHandlingDevice } from './cashHandlingDevice'; +import { GlobalStatusType } from './globalStatusType'; export class POIStatus { - "cardReaderOkFlag"?: boolean; - "cashHandlingDevice"?: CashHandlingDevice[]; - "communicationOkFlag"?: boolean; - "fraudPreventionFlag"?: boolean; - "globalStatus": GlobalStatusType; - "pEDOKFlag"?: boolean; - "printerStatus"?: POIStatus.PrinterStatusEnum; - "securityOkFlag"?: boolean; + 'CardReaderOkFlag'?: boolean; + 'CashHandlingDevice'?: Array; + 'CommunicationOkFlag'?: boolean; + 'FraudPreventionFlag'?: boolean; + 'GlobalStatus': GlobalStatusType; + 'PEDOKFlag'?: boolean; + 'PrinterStatus'?: POIStatus.PrinterStatusEnum; + 'SecurityOkFlag'?: boolean; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "cardReaderOkFlag", + "name": "CardReaderOkFlag", "baseName": "CardReaderOkFlag", "type": "boolean" }, { - "name": "cashHandlingDevice", + "name": "CashHandlingDevice", "baseName": "CashHandlingDevice", "type": "Array" }, { - "name": "communicationOkFlag", + "name": "CommunicationOkFlag", "baseName": "CommunicationOkFlag", "type": "boolean" }, { - "name": "fraudPreventionFlag", + "name": "FraudPreventionFlag", "baseName": "FraudPreventionFlag", "type": "boolean" }, { - "name": "globalStatus", + "name": "GlobalStatus", "baseName": "GlobalStatus", "type": "GlobalStatusType" }, { - "name": "pEDOKFlag", + "name": "PEDOKFlag", "baseName": "PEDOKFlag", "type": "boolean" }, { - "name": "printerStatus", + "name": "PrinterStatus", "baseName": "PrinterStatus", "type": "POIStatus.PrinterStatusEnum" }, { - "name": "securityOkFlag", + "name": "SecurityOkFlag", "baseName": "SecurityOkFlag", "type": "boolean" } ]; @@ -94,10 +75,10 @@ export class POIStatus { export namespace POIStatus { export enum PrinterStatusEnum { - NoPaper = "NoPaper" as any, - OK = "OK" as any, - OutOfOrder = "OutOfOrder" as any, - PaperJam = "PaperJam" as any, - PaperLow = "PaperLow" as any + NoPaper = 'NoPaper', + Ok = 'OK', + OutOfOrder = 'OutOfOrder', + PaperJam = 'PaperJam', + PaperLow = 'PaperLow' } } diff --git a/src/typings/terminal/pOISystemData.ts b/src/typings/terminal/pOISystemData.ts index ae8199f..f2d7852 100644 --- a/src/typings/terminal/pOISystemData.ts +++ b/src/typings/terminal/pOISystemData.ts @@ -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,36 @@ */ -import { AnyType } from "./anyType"; -import { POISoftware } from "./pOISoftware"; -import { POIStatus } from "./pOIStatus"; -import { POITerminalData } from "./pOITerminalData"; +import { POISoftware } from './pOISoftware'; +import { POIStatus } from './pOIStatus'; +import { POITerminalData } from './pOITerminalData'; export class POISystemData { - "dateTime": { [key: string]: AnyType; }; - "pOISoftware": POISoftware; - "pOIStatus"?: POIStatus; - "pOITerminalData"?: POITerminalData; + 'DateTime': { [key: string]: any; }; + 'POISoftware': POISoftware; + 'POIStatus'?: POIStatus; + 'POITerminalData'?: POITerminalData; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "dateTime", + "name": "DateTime", "baseName": "DateTime", - "type": "{ [key: string]: AnyType; }" + "type": "{ [key: string]: any; }" }, { - "name": "pOISoftware", + "name": "POISoftware", "baseName": "POISoftware", "type": "POISoftware" }, { - "name": "pOIStatus", + "name": "POIStatus", "baseName": "POIStatus", "type": "POIStatus" }, { - "name": "pOITerminalData", + "name": "POITerminalData", "baseName": "POITerminalData", "type": "POITerminalData" } ]; diff --git a/src/typings/terminal/pOITerminalData.ts b/src/typings/terminal/pOITerminalData.ts index 2b03039..ddd4f54 100644 --- a/src/typings/terminal/pOITerminalData.ts +++ b/src/typings/terminal/pOITerminalData.ts @@ -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,35 +11,35 @@ */ -import { POIProfile } from "./pOIProfile"; -import { TerminalEnvironmentType } from "./terminalEnvironmentType"; +import { POIProfile } from './pOIProfile'; +import { TerminalEnvironmentType } from './terminalEnvironmentType'; export class POITerminalData { - "pOICapabilities": POITerminalData.POICapabilitiesEnum[]; - "pOIProfile"?: POIProfile; - "pOISerialNumber": string; - "terminalEnvironment": TerminalEnvironmentType; + 'POICapabilities': Array; + 'POIProfile'?: POIProfile; + 'POISerialNumber': string; + 'TerminalEnvironment': TerminalEnvironmentType; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "pOICapabilities", + "name": "POICapabilities", "baseName": "POICapabilities", "type": "Array" }, { - "name": "pOIProfile", + "name": "POIProfile", "baseName": "POIProfile", "type": "POIProfile" }, { - "name": "pOISerialNumber", + "name": "POISerialNumber", "baseName": "POISerialNumber", "type": "string" }, { - "name": "terminalEnvironment", + "name": "TerminalEnvironment", "baseName": "TerminalEnvironment", "type": "TerminalEnvironmentType" } ]; @@ -70,18 +51,18 @@ export class POITerminalData { export namespace POITerminalData { export enum POICapabilitiesEnum { - CashHandling = "CashHandling" as any, - CashierDisplay = "CashierDisplay" as any, - CashierError = "CashierError" as any, - CashierInput = "CashierInput" as any, - CustomerDisplay = "CustomerDisplay" as any, - CustomerError = "CustomerError" as any, - CustomerInput = "CustomerInput" as any, - EMVContactless = "EMVContactless" as any, - ICC = "ICC" as any, - MagStripe = "MagStripe" as any, - PrinterDocument = "PrinterDocument" as any, - PrinterReceipt = "PrinterReceipt" as any, - PrinterVoucher = "PrinterVoucher" as any + CashHandling = 'CashHandling', + CashierDisplay = 'CashierDisplay', + CashierError = 'CashierError', + CashierInput = 'CashierInput', + CustomerDisplay = 'CustomerDisplay', + CustomerError = 'CustomerError', + CustomerInput = 'CustomerInput', + EmvContactless = 'EMVContactless', + Icc = 'ICC', + MagStripe = 'MagStripe', + PrinterDocument = 'PrinterDocument', + PrinterReceipt = 'PrinterReceipt', + PrinterVoucher = 'PrinterVoucher' } } diff --git a/src/typings/terminal/parameter.ts b/src/typings/terminal/parameter.ts index 62f1f10..75e2411 100644 --- a/src/typings/terminal/parameter.ts +++ b/src/typings/terminal/parameter.ts @@ -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,18 +11,17 @@ */ -import { AnyType } from "./anyType"; export class Parameter { - "initialisationVector"?: AnyType; + 'InitialisationVector'?: 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": "initialisationVector", + "name": "InitialisationVector", "baseName": "InitialisationVector", - "type": "AnyType" + "type": "any" } ]; static getAttributeTypeMap() { diff --git a/src/typings/terminal/paymentAccountReq.ts b/src/typings/terminal/paymentAccountReq.ts index ca6b394..11911ff 100644 --- a/src/typings/terminal/paymentAccountReq.ts +++ b/src/typings/terminal/paymentAccountReq.ts @@ -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 { PaymentInstrumentData } from "./paymentInstrumentData"; -import { TransactionIdentification } from "./transactionIdentification"; +import { PaymentInstrumentData } from './paymentInstrumentData'; +import { TransactionIdentification } from './transactionIdentification'; export class PaymentAccountReq { - "accountType"?: PaymentAccountReq.AccountTypeEnum; - "cardAcquisitionReference"?: TransactionIdentification; - "paymentInstrumentData"?: PaymentInstrumentData; + 'AccountType'?: PaymentAccountReq.AccountTypeEnum; + 'CardAcquisitionReference'?: TransactionIdentification; + 'PaymentInstrumentData'?: PaymentInstrumentData; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "accountType", + "name": "AccountType", "baseName": "AccountType", "type": "PaymentAccountReq.AccountTypeEnum" }, { - "name": "cardAcquisitionReference", + "name": "CardAcquisitionReference", "baseName": "CardAcquisitionReference", "type": "TransactionIdentification" }, { - "name": "paymentInstrumentData", + "name": "PaymentInstrumentData", "baseName": "PaymentInstrumentData", "type": "PaymentInstrumentData" } ]; @@ -64,13 +45,13 @@ export class PaymentAccountReq { export namespace PaymentAccountReq { export enum AccountTypeEnum { - 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 = 'CardTotals', + Checking = 'Checking', + CreditCard = 'CreditCard', + Default = 'Default', + EpurseCard = 'EpurseCard', + Investment = 'Investment', + Savings = 'Savings', + Universal = 'Universal' } } diff --git a/src/typings/terminal/paymentAccountStatus.ts b/src/typings/terminal/paymentAccountStatus.ts index ed21a31..dd6e0eb 100644 --- a/src/typings/terminal/paymentAccountStatus.ts +++ b/src/typings/terminal/paymentAccountStatus.ts @@ -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,42 @@ */ -import { LoyaltyAccountStatus } from "./loyaltyAccountStatus"; -import { PaymentAcquirerData } from "./paymentAcquirerData"; -import { PaymentInstrumentData } from "./paymentInstrumentData"; +import { LoyaltyAccountStatus } from './loyaltyAccountStatus'; +import { PaymentAcquirerData } from './paymentAcquirerData'; +import { PaymentInstrumentData } from './paymentInstrumentData'; export class PaymentAccountStatus { - "currency"?: string; - "currentBalance"?: number; - "loyaltyAccountStatus"?: LoyaltyAccountStatus; - "paymentAcquirerData"?: PaymentAcquirerData; - "paymentInstrumentData"?: PaymentInstrumentData; + 'Currency'?: string; + 'CurrentBalance'?: number; + 'LoyaltyAccountStatus'?: LoyaltyAccountStatus; + 'PaymentAcquirerData'?: PaymentAcquirerData; + 'PaymentInstrumentData'?: PaymentInstrumentData; 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": "currentBalance", + "name": "CurrentBalance", "baseName": "CurrentBalance", "type": "number" }, { - "name": "loyaltyAccountStatus", + "name": "LoyaltyAccountStatus", "baseName": "LoyaltyAccountStatus", "type": "LoyaltyAccountStatus" }, { - "name": "paymentAcquirerData", + "name": "PaymentAcquirerData", "baseName": "PaymentAcquirerData", "type": "PaymentAcquirerData" }, { - "name": "paymentInstrumentData", + "name": "PaymentInstrumentData", "baseName": "PaymentInstrumentData", "type": "PaymentInstrumentData" } ]; diff --git a/src/typings/terminal/paymentAcquirerData.ts b/src/typings/terminal/paymentAcquirerData.ts index 360c594..ab661f1 100644 --- a/src/typings/terminal/paymentAcquirerData.ts +++ b/src/typings/terminal/paymentAcquirerData.ts @@ -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 { TransactionIdentification } from "./transactionIdentification"; +import { TransactionIdentification } from './transactionIdentification'; export class PaymentAcquirerData { - "acquirerID"?: string; - "acquirerPOIID": string; - "acquirerTransactionID"?: TransactionIdentification; - "approvalCode"?: string; - "merchantID": string; + 'AcquirerID'?: string; + 'AcquirerPOIID': string; + 'AcquirerTransactionID'?: TransactionIdentification; + 'ApprovalCode'?: string; + 'MerchantID': 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": "string" }, { - "name": "acquirerPOIID", + "name": "AcquirerPOIID", "baseName": "AcquirerPOIID", "type": "string" }, { - "name": "acquirerTransactionID", + "name": "AcquirerTransactionID", "baseName": "AcquirerTransactionID", "type": "TransactionIdentification" }, { - "name": "approvalCode", + "name": "ApprovalCode", "baseName": "ApprovalCode", "type": "string" }, { - "name": "merchantID", + "name": "MerchantID", "baseName": "MerchantID", "type": "string" } ]; diff --git a/src/typings/terminal/paymentData.ts b/src/typings/terminal/paymentData.ts index e5eef79..4b91e81 100644 --- a/src/typings/terminal/paymentData.ts +++ b/src/typings/terminal/paymentData.ts @@ -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,55 +11,55 @@ */ -import { CustomerOrder } from "./customerOrder"; -import { Instalment } from "./instalment"; -import { PaymentInstrumentData } from "./paymentInstrumentData"; -import { TransactionIdentification } from "./transactionIdentification"; +import { CustomerOrder } from './customerOrder'; +import { Instalment } from './instalment'; +import { PaymentInstrumentData } from './paymentInstrumentData'; +import { TransactionIdentification } from './transactionIdentification'; export class PaymentData { - "cardAcquisitionReference"?: TransactionIdentification; - "customerOrder"?: CustomerOrder; - "instalment"?: Instalment; - "paymentInstrumentData"?: PaymentInstrumentData; - "paymentType"?: PaymentData.PaymentTypeEnum; - "requestedValidityDate"?: string; - "splitPaymentFlag"?: boolean; + 'CardAcquisitionReference'?: TransactionIdentification; + 'CustomerOrder'?: CustomerOrder; + 'Instalment'?: Instalment; + 'PaymentInstrumentData'?: PaymentInstrumentData; + 'PaymentType'?: PaymentData.PaymentTypeEnum; + 'RequestedValidityDate'?: string; + 'SplitPaymentFlag'?: boolean; 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": "customerOrder", + "name": "CustomerOrder", "baseName": "CustomerOrder", "type": "CustomerOrder" }, { - "name": "instalment", + "name": "Instalment", "baseName": "Instalment", "type": "Instalment" }, { - "name": "paymentInstrumentData", + "name": "PaymentInstrumentData", "baseName": "PaymentInstrumentData", "type": "PaymentInstrumentData" }, { - "name": "paymentType", + "name": "PaymentType", "baseName": "PaymentType", "type": "PaymentData.PaymentTypeEnum" }, { - "name": "requestedValidityDate", + "name": "RequestedValidityDate", "baseName": "RequestedValidityDate", "type": "string" }, { - "name": "splitPaymentFlag", + "name": "SplitPaymentFlag", "baseName": "SplitPaymentFlag", "type": "boolean" } ]; @@ -90,17 +71,17 @@ export class PaymentData { export namespace PaymentData { 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 = 'CashAdvance', + CashDeposit = 'CashDeposit', + Completion = 'Completion', + FirstReservation = 'FirstReservation', + Instalment = 'Instalment', + IssuerInstalment = 'IssuerInstalment', + Normal = 'Normal', + OneTimeReservation = 'OneTimeReservation', + PaidOut = 'PaidOut', + Recurring = 'Recurring', + Refund = 'Refund', + UpdateReservation = 'UpdateReservation' } } diff --git a/src/typings/terminal/paymentInstrumentData.ts b/src/typings/terminal/paymentInstrumentData.ts index 19954a8..10706ac 100644 --- a/src/typings/terminal/paymentInstrumentData.ts +++ b/src/typings/terminal/paymentInstrumentData.ts @@ -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 { CardData } from "./cardData"; -import { CheckData } from "./checkData"; -import { MobileData } from "./mobileData"; -import { PaymentInstrumentType } from "./paymentInstrumentType"; +import { CardData } from './cardData'; +import { CheckData } from './checkData'; +import { MobileData } from './mobileData'; +import { PaymentInstrumentType } from './paymentInstrumentType'; export class PaymentInstrumentData { - "cardData"?: CardData; - "checkData"?: CheckData; - "mobileData"?: MobileData; - "paymentInstrumentType": PaymentInstrumentType; + 'CardData'?: CardData; + 'CheckData'?: CheckData; + 'MobileData'?: MobileData; + 'PaymentInstrumentType': PaymentInstrumentType; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "cardData", + "name": "CardData", "baseName": "CardData", "type": "CardData" }, { - "name": "checkData", + "name": "CheckData", "baseName": "CheckData", "type": "CheckData" }, { - "name": "mobileData", + "name": "MobileData", "baseName": "MobileData", "type": "MobileData" }, { - "name": "paymentInstrumentType", + "name": "PaymentInstrumentType", "baseName": "PaymentInstrumentType", "type": "PaymentInstrumentType" } ]; diff --git a/src/typings/terminal/paymentInstrumentType.ts b/src/typings/terminal/paymentInstrumentType.ts index c40d81d..85acbcb 100644 --- a/src/typings/terminal/paymentInstrumentType.ts +++ b/src/typings/terminal/paymentInstrumentType.ts @@ -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 PaymentInstrumentType { - Card = "Card" as any, - Cash = "Cash" as any, - Check = "Check" as any, - Mobile = "Mobile" as any, - StoredValue = "StoredValue" as any + Card = 'Card', + Cash = 'Cash', + Check = 'Check', + Mobile = 'Mobile', + StoredValue = 'StoredValue' } diff --git a/src/typings/terminal/paymentReceipt.ts b/src/typings/terminal/paymentReceipt.ts index 8e69501..1c74fe2 100644 --- a/src/typings/terminal/paymentReceipt.ts +++ b/src/typings/terminal/paymentReceipt.ts @@ -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,35 +11,35 @@ */ -import { DocumentQualifierType } from "./documentQualifierType"; -import { OutputContent } from "./outputContent"; +import { DocumentQualifierType } from './documentQualifierType'; +import { OutputContent } from './outputContent'; export class PaymentReceipt { - "documentQualifier": DocumentQualifierType; - "integratedPrintFlag"?: boolean; - "outputContent": OutputContent; - "requiredSignatureFlag"?: boolean; + 'DocumentQualifier': DocumentQualifierType; + 'IntegratedPrintFlag'?: boolean; + 'OutputContent': OutputContent; + 'RequiredSignatureFlag'?: boolean; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "documentQualifier", + "name": "DocumentQualifier", "baseName": "DocumentQualifier", "type": "DocumentQualifierType" }, { - "name": "integratedPrintFlag", + "name": "IntegratedPrintFlag", "baseName": "IntegratedPrintFlag", "type": "boolean" }, { - "name": "outputContent", + "name": "OutputContent", "baseName": "OutputContent", "type": "OutputContent" }, { - "name": "requiredSignatureFlag", + "name": "RequiredSignatureFlag", "baseName": "RequiredSignatureFlag", "type": "boolean" } ]; diff --git a/src/typings/terminal/paymentRequest.ts b/src/typings/terminal/paymentRequest.ts index 21c23cc..ba88e8e 100644 --- a/src/typings/terminal/paymentRequest.ts +++ b/src/typings/terminal/paymentRequest.ts @@ -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 { LoyaltyData } from "./loyaltyData"; -import { PaymentData } from "./paymentData"; -import { PaymentTransaction } from "./paymentTransaction"; -import { SaleData } from "./saleData"; +import { LoyaltyData } from './loyaltyData'; +import { PaymentData } from './paymentData'; +import { PaymentTransaction } from './paymentTransaction'; +import { SaleData } from './saleData'; export class PaymentRequest { - "loyaltyData"?: LoyaltyData[]; - "paymentData"?: PaymentData; - "paymentTransaction": PaymentTransaction; - "saleData": SaleData; + 'LoyaltyData'?: Array; + 'PaymentData'?: PaymentData; + 'PaymentTransaction': PaymentTransaction; + '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": "loyaltyData", + "name": "LoyaltyData", "baseName": "LoyaltyData", "type": "Array" }, { - "name": "paymentData", + "name": "PaymentData", "baseName": "PaymentData", "type": "PaymentData" }, { - "name": "paymentTransaction", + "name": "PaymentTransaction", "baseName": "PaymentTransaction", "type": "PaymentTransaction" }, { - "name": "saleData", + "name": "SaleData", "baseName": "SaleData", "type": "SaleData" } ]; diff --git a/src/typings/terminal/paymentResponse.ts b/src/typings/terminal/paymentResponse.ts index 075c19d..fe927f3 100644 --- a/src/typings/terminal/paymentResponse.ts +++ b/src/typings/terminal/paymentResponse.ts @@ -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,58 +11,58 @@ */ -import { CustomerOrder } from "./customerOrder"; -import { LoyaltyResult } from "./loyaltyResult"; -import { POIData } from "./pOIData"; -import { PaymentReceipt } from "./paymentReceipt"; -import { PaymentResult } from "./paymentResult"; -import { Response } from "./response"; -import { SaleData } from "./saleData"; +import { CustomerOrder } from './customerOrder'; +import { LoyaltyResult } from './loyaltyResult'; +import { POIData } from './pOIData'; +import { PaymentReceipt } from './paymentReceipt'; +import { PaymentResult } from './paymentResult'; +import { Response } from './response'; +import { SaleData } from './saleData'; export class PaymentResponse { - "customerOrder"?: CustomerOrder[]; - "loyaltyResult"?: LoyaltyResult[]; - "paymentReceipt"?: PaymentReceipt[]; - "paymentResult"?: PaymentResult; - "pOIData": POIData; - "response": Response; - "saleData": SaleData; + 'CustomerOrder'?: Array; + 'LoyaltyResult'?: Array; + 'PaymentReceipt'?: Array; + 'PaymentResult'?: PaymentResult; + '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" }, { - "name": "loyaltyResult", + "name": "LoyaltyResult", "baseName": "LoyaltyResult", "type": "Array" }, { - "name": "paymentReceipt", + "name": "PaymentReceipt", "baseName": "PaymentReceipt", "type": "Array" }, { - "name": "paymentResult", + "name": "PaymentResult", "baseName": "PaymentResult", "type": "PaymentResult" }, { - "name": "pOIData", + "name": "POIData", "baseName": "POIData", "type": "POIData" }, { - "name": "response", + "name": "Response", "baseName": "Response", "type": "Response" }, { - "name": "saleData", + "name": "SaleData", "baseName": "SaleData", "type": "SaleData" } ]; diff --git a/src/typings/terminal/paymentResult.ts b/src/typings/terminal/paymentResult.ts index ed75813..8663ef0 100644 --- a/src/typings/terminal/paymentResult.ts +++ b/src/typings/terminal/paymentResult.ts @@ -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,94 +11,94 @@ */ -import { AmountsResp } from "./amountsResp"; -import { CapturedSignature } from "./capturedSignature"; -import { ContentInformation } from "./contentInformation"; -import { CurrencyConversion } from "./currencyConversion"; -import { Instalment } from "./instalment"; -import { PaymentAcquirerData } from "./paymentAcquirerData"; -import { PaymentInstrumentData } from "./paymentInstrumentData"; +import { AmountsResp } from './amountsResp'; +import { CapturedSignature } from './capturedSignature'; +import { ContentInformation } from './contentInformation'; +import { CurrencyConversion } from './currencyConversion'; +import { Instalment } from './instalment'; +import { PaymentAcquirerData } from './paymentAcquirerData'; +import { PaymentInstrumentData } from './paymentInstrumentData'; export class PaymentResult { - "amountsResp"?: AmountsResp; - "authenticationMethod"?: PaymentResult.AuthenticationMethodEnum[]; - "capturedSignature"?: CapturedSignature; - "currencyConversion"?: CurrencyConversion[]; - "customerLanguage"?: string; - "instalmentType"?: Instalment; - "merchantOverrideFlag"?: boolean; - "onlineFlag"?: boolean; - "paymentAcquirerData"?: PaymentAcquirerData; - "paymentInstrumentData"?: PaymentInstrumentData; - "paymentType"?: PaymentResult.PaymentTypeEnum; - "protectedSignature"?: ContentInformation; - "validityDate"?: string; + 'AmountsResp'?: AmountsResp; + 'AuthenticationMethod'?: Array; + 'CapturedSignature'?: CapturedSignature; + 'CurrencyConversion'?: Array; + 'CustomerLanguage'?: string; + 'InstalmentType'?: Instalment; + 'MerchantOverrideFlag'?: boolean; + 'OnlineFlag'?: boolean; + 'PaymentAcquirerData'?: PaymentAcquirerData; + 'PaymentInstrumentData'?: PaymentInstrumentData; + 'PaymentType'?: PaymentResult.PaymentTypeEnum; + 'ProtectedSignature'?: ContentInformation; + 'ValidityDate'?: string; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "amountsResp", + "name": "AmountsResp", "baseName": "AmountsResp", "type": "AmountsResp" }, { - "name": "authenticationMethod", + "name": "AuthenticationMethod", "baseName": "AuthenticationMethod", "type": "Array" }, { - "name": "capturedSignature", + "name": "CapturedSignature", "baseName": "CapturedSignature", "type": "CapturedSignature" }, { - "name": "currencyConversion", + "name": "CurrencyConversion", "baseName": "CurrencyConversion", "type": "Array" }, { - "name": "customerLanguage", + "name": "CustomerLanguage", "baseName": "CustomerLanguage", "type": "string" }, { - "name": "instalmentType", + "name": "InstalmentType", "baseName": "InstalmentType", "type": "Instalment" }, { - "name": "merchantOverrideFlag", + "name": "MerchantOverrideFlag", "baseName": "MerchantOverrideFlag", "type": "boolean" }, { - "name": "onlineFlag", + "name": "OnlineFlag", "baseName": "OnlineFlag", "type": "boolean" }, { - "name": "paymentAcquirerData", + "name": "PaymentAcquirerData", "baseName": "PaymentAcquirerData", "type": "PaymentAcquirerData" }, { - "name": "paymentInstrumentData", + "name": "PaymentInstrumentData", "baseName": "PaymentInstrumentData", "type": "PaymentInstrumentData" }, { - "name": "paymentType", + "name": "PaymentType", "baseName": "PaymentType", "type": "PaymentResult.PaymentTypeEnum" }, { - "name": "protectedSignature", + "name": "ProtectedSignature", "baseName": "ProtectedSignature", "type": "ContentInformation" }, { - "name": "validityDate", + "name": "ValidityDate", "baseName": "ValidityDate", "type": "string" } ]; @@ -129,30 +110,30 @@ export class PaymentResult { export namespace PaymentResult { export enum AuthenticationMethodEnum { - 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 = 'Bypass', + ManualVerification = 'ManualVerification', + MerchantAuthentication = 'MerchantAuthentication', + OfflinePin = 'OfflinePIN', + OnlinePin = 'OnlinePIN', + PaperSignature = 'PaperSignature', + SecureCertificate = 'SecureCertificate', + SecureNoCertificate = 'SecureNoCertificate', + SecuredChannel = 'SecuredChannel', + SignatureCapture = 'SignatureCapture', + UnknownMethod = 'UnknownMethod' } 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 = 'CashAdvance', + CashDeposit = 'CashDeposit', + Completion = 'Completion', + FirstReservation = 'FirstReservation', + Instalment = 'Instalment', + IssuerInstalment = 'IssuerInstalment', + Normal = 'Normal', + OneTimeReservation = 'OneTimeReservation', + PaidOut = 'PaidOut', + Recurring = 'Recurring', + Refund = 'Refund', + UpdateReservation = 'UpdateReservation' } } diff --git a/src/typings/terminal/paymentToken.ts b/src/typings/terminal/paymentToken.ts index 598fd06..79d6817 100644 --- a/src/typings/terminal/paymentToken.ts +++ b/src/typings/terminal/paymentToken.ts @@ -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 { TokenRequestedType } from "./tokenRequestedType"; +import { TokenRequestedType } from './tokenRequestedType'; export class PaymentToken { - "expiryDateTime"?: { [key: string]: AnyType; }; - "tokenRequestedType": TokenRequestedType; - "tokenValue": string; + 'ExpiryDateTime'?: { [key: string]: any; }; + 'TokenRequestedType': TokenRequestedType; + 'TokenValue': string; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "expiryDateTime", + "name": "ExpiryDateTime", "baseName": "ExpiryDateTime", - "type": "{ [key: string]: AnyType; }" + "type": "{ [key: string]: any; }" }, { - "name": "tokenRequestedType", + "name": "TokenRequestedType", "baseName": "TokenRequestedType", "type": "TokenRequestedType" }, { - "name": "tokenValue", + "name": "TokenValue", "baseName": "TokenValue", "type": "string" } ]; diff --git a/src/typings/terminal/paymentTotals.ts b/src/typings/terminal/paymentTotals.ts index 4088744..5b46c67 100644 --- a/src/typings/terminal/paymentTotals.ts +++ b/src/typings/terminal/paymentTotals.ts @@ -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 { TransactionType } from "./transactionType"; +import { TransactionType } from './transactionType'; export class PaymentTotals { - "transactionAmount": number; - "transactionCount": number; - "transactionType": TransactionType; + 'TransactionAmount': number; + 'TransactionCount': number; + 'TransactionType': TransactionType; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "transactionAmount", + "name": "TransactionAmount", "baseName": "TransactionAmount", "type": "number" }, { - "name": "transactionCount", + "name": "TransactionCount", "baseName": "TransactionCount", "type": "number" }, { - "name": "transactionType", + "name": "TransactionType", "baseName": "TransactionType", "type": "TransactionType" } ]; diff --git a/src/typings/terminal/paymentTransaction.ts b/src/typings/terminal/paymentTransaction.ts index ea9672e..1e3f878 100644 --- a/src/typings/terminal/paymentTransaction.ts +++ b/src/typings/terminal/paymentTransaction.ts @@ -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 { AmountsReq } from "./amountsReq"; -import { OriginalPOITransaction } from "./originalPOITransaction"; -import { SaleItem } from "./saleItem"; -import { TransactionConditions } from "./transactionConditions"; +import { AmountsReq } from './amountsReq'; +import { OriginalPOITransaction } from './originalPOITransaction'; +import { SaleItem } from './saleItem'; +import { TransactionConditions } from './transactionConditions'; export class PaymentTransaction { - "amountsReq": AmountsReq; - "originalPOITransaction"?: OriginalPOITransaction; - "saleItem"?: SaleItem[]; - "transactionConditions"?: TransactionConditions; + 'AmountsReq': AmountsReq; + 'OriginalPOITransaction'?: OriginalPOITransaction; + 'SaleItem'?: Array; + 'TransactionConditions'?: TransactionConditions; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "amountsReq", + "name": "AmountsReq", "baseName": "AmountsReq", "type": "AmountsReq" }, { - "name": "originalPOITransaction", + "name": "OriginalPOITransaction", "baseName": "OriginalPOITransaction", "type": "OriginalPOITransaction" }, { - "name": "saleItem", + "name": "SaleItem", "baseName": "SaleItem", "type": "Array" }, { - "name": "transactionConditions", + "name": "TransactionConditions", "baseName": "TransactionConditions", "type": "TransactionConditions" } ]; diff --git a/src/typings/terminal/paymentType.ts b/src/typings/terminal/paymentType.ts index 489c82f..2b3b535 100644 --- a/src/typings/terminal/paymentType.ts +++ b/src/typings/terminal/paymentType.ts @@ -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,16 +13,16 @@ export enum PaymentType { - 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 = 'CashAdvance', + CashDeposit = 'CashDeposit', + Completion = 'Completion', + FirstReservation = 'FirstReservation', + Instalment = 'Instalment', + IssuerInstalment = 'IssuerInstalment', + Normal = 'Normal', + OneTimeReservation = 'OneTimeReservation', + PaidOut = 'PaidOut', + Recurring = 'Recurring', + Refund = 'Refund', + UpdateReservation = 'UpdateReservation' } diff --git a/src/typings/terminal/performedTransaction.ts b/src/typings/terminal/performedTransaction.ts index 25c1f3c..5ce36dd 100644 --- a/src/typings/terminal/performedTransaction.ts +++ b/src/typings/terminal/performedTransaction.ts @@ -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,50 +11,50 @@ */ -import { LoyaltyResult } from "./loyaltyResult"; -import { POIData } from "./pOIData"; -import { PaymentResult } from "./paymentResult"; -import { Response } from "./response"; -import { SaleData } from "./saleData"; +import { LoyaltyResult } from './loyaltyResult'; +import { POIData } from './pOIData'; +import { PaymentResult } from './paymentResult'; +import { Response } from './response'; +import { SaleData } from './saleData'; export class PerformedTransaction { - "loyaltyResult"?: LoyaltyResult[]; - "paymentResult"?: PaymentResult; - "pOIData": POIData; - "response": Response; - "reversedAmount"?: number; - "saleData"?: SaleData; + 'LoyaltyResult'?: Array; + 'PaymentResult'?: PaymentResult; + 'POIData': POIData; + 'Response': Response; + 'ReversedAmount'?: number; + '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": "loyaltyResult", + "name": "LoyaltyResult", "baseName": "LoyaltyResult", "type": "Array" }, { - "name": "paymentResult", + "name": "PaymentResult", "baseName": "PaymentResult", "type": "PaymentResult" }, { - "name": "pOIData", + "name": "POIData", "baseName": "POIData", "type": "POIData" }, { - "name": "response", + "name": "Response", "baseName": "Response", "type": "Response" }, { - "name": "reversedAmount", + "name": "ReversedAmount", "baseName": "ReversedAmount", "type": "number" }, { - "name": "saleData", + "name": "SaleData", "baseName": "SaleData", "type": "SaleData" } ]; diff --git a/src/typings/terminal/periodUnitType.ts b/src/typings/terminal/periodUnitType.ts index ab75d25..44573f3 100644 --- a/src/typings/terminal/periodUnitType.ts +++ b/src/typings/terminal/periodUnitType.ts @@ -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 PeriodUnitType { - Annual = "Annual" as any, - Daily = "Daily" as any, - Monthly = "Monthly" as any, - Weekly = "Weekly" as any + Annual = 'Annual', + Daily = 'Daily', + Monthly = 'Monthly', + Weekly = 'Weekly' } diff --git a/src/typings/terminal/predefinedContent.ts b/src/typings/terminal/predefinedContent.ts index 8547aba..fdac425 100644 --- a/src/typings/terminal/predefinedContent.ts +++ b/src/typings/terminal/predefinedContent.ts @@ -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 PredefinedContent { - "language"?: string; - "referenceID": string; + 'Language'?: string; + 'ReferenceID': string; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "language", + "name": "Language", "baseName": "Language", "type": "string" }, { - "name": "referenceID", + "name": "ReferenceID", "baseName": "ReferenceID", "type": "string" } ]; diff --git a/src/typings/terminal/printOutput.ts b/src/typings/terminal/printOutput.ts index 29f1c3e..08694ff 100644 --- a/src/typings/terminal/printOutput.ts +++ b/src/typings/terminal/printOutput.ts @@ -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,49 +11,48 @@ */ -import { AnyType } from "./anyType"; -import { DocumentQualifierType } from "./documentQualifierType"; -import { OutputContent } from "./outputContent"; -import { ResponseModeType } from "./responseModeType"; +import { DocumentQualifierType } from './documentQualifierType'; +import { OutputContent } from './outputContent'; +import { ResponseModeType } from './responseModeType'; export class PrintOutput { - "documentQualifier": DocumentQualifierType; - "integratedPrintFlag"?: boolean; - "outputContent": OutputContent; - "outputSignature"?: AnyType; - "requiredSignatureFlag"?: boolean; - "responseMode": ResponseModeType; + 'DocumentQualifier': DocumentQualifierType; + 'IntegratedPrintFlag'?: boolean; + 'OutputContent': OutputContent; + 'OutputSignature'?: any | null; + 'RequiredSignatureFlag'?: boolean; + 'ResponseMode': ResponseModeType; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "documentQualifier", + "name": "DocumentQualifier", "baseName": "DocumentQualifier", "type": "DocumentQualifierType" }, { - "name": "integratedPrintFlag", + "name": "IntegratedPrintFlag", "baseName": "IntegratedPrintFlag", "type": "boolean" }, { - "name": "outputContent", + "name": "OutputContent", "baseName": "OutputContent", "type": "OutputContent" }, { - "name": "outputSignature", + "name": "OutputSignature", "baseName": "OutputSignature", - "type": "AnyType" + "type": "any" }, { - "name": "requiredSignatureFlag", + "name": "RequiredSignatureFlag", "baseName": "RequiredSignatureFlag", "type": "boolean" }, { - "name": "responseMode", + "name": "ResponseMode", "baseName": "ResponseMode", "type": "ResponseModeType" } ]; diff --git a/src/typings/terminal/printRequest.ts b/src/typings/terminal/printRequest.ts index bd33eb9..d2f2324 100644 --- a/src/typings/terminal/printRequest.ts +++ b/src/typings/terminal/printRequest.ts @@ -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 { PrintOutput } from "./printOutput"; +import { PrintOutput } from './printOutput'; export class PrintRequest { - "printOutput": PrintOutput; + 'PrintOutput': PrintOutput; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "printOutput", + "name": "PrintOutput", "baseName": "PrintOutput", "type": "PrintOutput" } ]; diff --git a/src/typings/terminal/printResponse.ts b/src/typings/terminal/printResponse.ts index 489d774..f1112ea 100644 --- a/src/typings/terminal/printResponse.ts +++ b/src/typings/terminal/printResponse.ts @@ -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 { DocumentQualifierType } from "./documentQualifierType"; -import { Response } from "./response"; +import { DocumentQualifierType } from './documentQualifierType'; +import { Response } from './response'; export class PrintResponse { - "documentQualifier": DocumentQualifierType; - "response": Response; + 'DocumentQualifier': DocumentQualifierType; + '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": "documentQualifier", + "name": "DocumentQualifier", "baseName": "DocumentQualifier", "type": "DocumentQualifierType" }, { - "name": "response", + "name": "Response", "baseName": "Response", "type": "Response" } ]; diff --git a/src/typings/terminal/printerStatusType.ts b/src/typings/terminal/printerStatusType.ts index a0bd06d..9fa59c4 100644 --- a/src/typings/terminal/printerStatusType.ts +++ b/src/typings/terminal/printerStatusType.ts @@ -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 PrinterStatusType { - NoPaper = "NoPaper" as any, - OK = "OK" as any, - OutOfOrder = "OutOfOrder" as any, - PaperJam = "PaperJam" as any, - PaperLow = "PaperLow" as any + NoPaper = 'NoPaper', + Ok = 'OK', + OutOfOrder = 'OutOfOrder', + PaperJam = 'PaperJam', + PaperLow = 'PaperLow' } diff --git a/src/typings/terminal/rebates.ts b/src/typings/terminal/rebates.ts index 61165b8..47b37db 100644 --- a/src/typings/terminal/rebates.ts +++ b/src/typings/terminal/rebates.ts @@ -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 { SaleItemRebate } from "./saleItemRebate"; +import { SaleItemRebate } from './saleItemRebate'; export class Rebates { - "rebateLabel"?: string; - "saleItemRebate"?: SaleItemRebate[]; - "totalRebate"?: number; + 'RebateLabel'?: string; + 'SaleItemRebate'?: Array; + 'TotalRebate'?: number; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "rebateLabel", + "name": "RebateLabel", "baseName": "RebateLabel", "type": "string" }, { - "name": "saleItemRebate", + "name": "SaleItemRebate", "baseName": "SaleItemRebate", "type": "Array" }, { - "name": "totalRebate", + "name": "TotalRebate", "baseName": "TotalRebate", "type": "number" } ]; diff --git a/src/typings/terminal/reconciliationRequest.ts b/src/typings/terminal/reconciliationRequest.ts index 53ef5ab..b1df1b4 100644 --- a/src/typings/terminal/reconciliationRequest.ts +++ b/src/typings/terminal/reconciliationRequest.ts @@ -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 { ReconciliationType } from "./reconciliationType"; +import { ReconciliationType } from './reconciliationType'; export class ReconciliationRequest { - "acquirerID"?: string[]; - "pOIReconciliationID"?: string; - "reconciliationType": ReconciliationType; + 'AcquirerID'?: Array; + 'POIReconciliationID'?: string; + 'ReconciliationType': ReconciliationType; 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" }, { - "name": "pOIReconciliationID", + "name": "POIReconciliationID", "baseName": "POIReconciliationID", "type": "string" }, { - "name": "reconciliationType", + "name": "ReconciliationType", "baseName": "ReconciliationType", "type": "ReconciliationType" } ]; diff --git a/src/typings/terminal/reconciliationResponse.ts b/src/typings/terminal/reconciliationResponse.ts index 3222698..543c98f 100644 --- a/src/typings/terminal/reconciliationResponse.ts +++ b/src/typings/terminal/reconciliationResponse.ts @@ -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 { ReconciliationType } from "./reconciliationType"; -import { Response } from "./response"; -import { TransactionTotals } from "./transactionTotals"; +import { ReconciliationType } from './reconciliationType'; +import { Response } from './response'; +import { TransactionTotals } from './transactionTotals'; export class ReconciliationResponse { - "pOIReconciliationID"?: string; - "reconciliationType": ReconciliationType; - "response": Response; - "transactionTotals"?: TransactionTotals[]; + 'POIReconciliationID'?: string; + 'ReconciliationType': ReconciliationType; + 'Response': Response; + 'TransactionTotals'?: Array; 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": "reconciliationType", + "name": "ReconciliationType", "baseName": "ReconciliationType", "type": "ReconciliationType" }, { - "name": "response", + "name": "Response", "baseName": "Response", "type": "Response" }, { - "name": "transactionTotals", + "name": "TransactionTotals", "baseName": "TransactionTotals", "type": "Array" } ]; diff --git a/src/typings/terminal/reconciliationType.ts b/src/typings/terminal/reconciliationType.ts index 97250e1..75cfb26 100644 --- a/src/typings/terminal/reconciliationType.ts +++ b/src/typings/terminal/reconciliationType.ts @@ -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 ReconciliationType { - AcquirerReconciliation = "AcquirerReconciliation" as any, - AcquirerSynchronisation = "AcquirerSynchronisation" as any, - PreviousReconciliation = "PreviousReconciliation" as any, - SaleReconciliation = "SaleReconciliation" as any + AcquirerReconciliation = 'AcquirerReconciliation', + AcquirerSynchronisation = 'AcquirerSynchronisation', + PreviousReconciliation = 'PreviousReconciliation', + SaleReconciliation = 'SaleReconciliation' } diff --git a/src/typings/terminal/relativeDistinguishedName.ts b/src/typings/terminal/relativeDistinguishedName.ts index f9f574e..02e8cdc 100644 --- a/src/typings/terminal/relativeDistinguishedName.ts +++ b/src/typings/terminal/relativeDistinguishedName.ts @@ -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 RelativeDistinguishedName { - "attribute": string; - "attributeValue": string; + 'Attribute': string; + 'AttributeValue': string; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "attribute", + "name": "Attribute", "baseName": "Attribute", "type": "string" }, { - "name": "attributeValue", + "name": "AttributeValue", "baseName": "AttributeValue", "type": "string" } ]; diff --git a/src/typings/terminal/repeatedMessageResponse.ts b/src/typings/terminal/repeatedMessageResponse.ts index d451486..c31a30f 100644 --- a/src/typings/terminal/repeatedMessageResponse.ts +++ b/src/typings/terminal/repeatedMessageResponse.ts @@ -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 { MessageHeader } from "./messageHeader"; -import { RepeatedResponseMessageBody } from "./repeatedResponseMessageBody"; +import { MessageHeader } from './messageHeader'; +import { RepeatedResponseMessageBody } from './repeatedResponseMessageBody'; export class RepeatedMessageResponse { - "messageHeader": MessageHeader; - "repeatedResponseMessageBody": RepeatedResponseMessageBody; + 'MessageHeader': MessageHeader; + 'RepeatedResponseMessageBody': RepeatedResponseMessageBody; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "messageHeader", + "name": "MessageHeader", "baseName": "MessageHeader", "type": "MessageHeader" }, { - "name": "repeatedResponseMessageBody", + "name": "RepeatedResponseMessageBody", "baseName": "RepeatedResponseMessageBody", "type": "RepeatedResponseMessageBody" } ]; diff --git a/src/typings/terminal/repeatedResponseMessageBody.ts b/src/typings/terminal/repeatedResponseMessageBody.ts index 67125dc..84fb6a0 100644 --- a/src/typings/terminal/repeatedResponseMessageBody.ts +++ b/src/typings/terminal/repeatedResponseMessageBody.ts @@ -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 { CardAcquisitionResponse } from "./cardAcquisitionResponse"; -import { CardReaderAPDUResponse } from "./cardReaderAPDUResponse"; -import { LoyaltyResponse } from "./loyaltyResponse"; -import { PaymentResponse } from "./paymentResponse"; -import { ReversalResponse } from "./reversalResponse"; -import { StoredValueResponse } from "./storedValueResponse"; +import { CardAcquisitionResponse } from './cardAcquisitionResponse'; +import { CardReaderAPDUResponse } from './cardReaderAPDUResponse'; +import { LoyaltyResponse } from './loyaltyResponse'; +import { PaymentResponse } from './paymentResponse'; +import { ReversalResponse } from './reversalResponse'; +import { StoredValueResponse } from './storedValueResponse'; export class RepeatedResponseMessageBody { - "cardAcquisitionResponse"?: CardAcquisitionResponse; - "cardReaderAPDUResponse"?: CardReaderAPDUResponse; - "loyaltyResponse"?: LoyaltyResponse; - "paymentResponse"?: PaymentResponse; - "reversalResponse"?: ReversalResponse; - "storedValueResponse"?: StoredValueResponse; + 'CardAcquisitionResponse'?: CardAcquisitionResponse; + 'CardReaderAPDUResponse'?: CardReaderAPDUResponse; + 'LoyaltyResponse'?: LoyaltyResponse; + 'PaymentResponse'?: PaymentResponse; + 'ReversalResponse'?: ReversalResponse; + 'StoredValueResponse'?: StoredValueResponse; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "cardAcquisitionResponse", + "name": "CardAcquisitionResponse", "baseName": "CardAcquisitionResponse", "type": "CardAcquisitionResponse" }, { - "name": "cardReaderAPDUResponse", + "name": "CardReaderAPDUResponse", "baseName": "CardReaderAPDUResponse", "type": "CardReaderAPDUResponse" }, { - "name": "loyaltyResponse", + "name": "LoyaltyResponse", "baseName": "LoyaltyResponse", "type": "LoyaltyResponse" }, { - "name": "paymentResponse", + "name": "PaymentResponse", "baseName": "PaymentResponse", "type": "PaymentResponse" }, { - "name": "reversalResponse", + "name": "ReversalResponse", "baseName": "ReversalResponse", "type": "ReversalResponse" }, { - "name": "storedValueResponse", + "name": "StoredValueResponse", "baseName": "StoredValueResponse", "type": "StoredValueResponse" } ]; diff --git a/src/typings/terminal/response.ts b/src/typings/terminal/response.ts index 69a5523..a49d1a5 100644 --- a/src/typings/terminal/response.ts +++ b/src/typings/terminal/response.ts @@ -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 { ResultType } from "./resultType"; +import { ResultType } from './resultType'; export class Response { - "additionalResponse"?: string; - "errorCondition"?: Response.ErrorConditionEnum; - "result": ResultType; + 'AdditionalResponse'?: string; + 'ErrorCondition'?: Response.ErrorConditionEnum; + 'Result': ResultType; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "additionalResponse", + "name": "AdditionalResponse", "baseName": "AdditionalResponse", "type": "string" }, { - "name": "errorCondition", + "name": "ErrorCondition", "baseName": "ErrorCondition", "type": "Response.ErrorConditionEnum" }, { - "name": "result", + "name": "Result", "baseName": "Result", "type": "ResultType" } ]; @@ -63,22 +44,22 @@ export class Response { export namespace Response { export enum ErrorConditionEnum { - 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 = 'Aborted', + Busy = 'Busy', + Cancel = 'Cancel', + DeviceOut = 'DeviceOut', + InProgress = 'InProgress', + InsertedCard = 'InsertedCard', + InvalidCard = 'InvalidCard', + LoggedOut = 'LoggedOut', + MessageFormat = 'MessageFormat', + NotAllowed = 'NotAllowed', + NotFound = 'NotFound', + PaymentRestriction = 'PaymentRestriction', + Refusal = 'Refusal', + UnavailableDevice = 'UnavailableDevice', + UnavailableService = 'UnavailableService', + UnreachableHost = 'UnreachableHost', + WrongPin = 'WrongPIN' } } diff --git a/src/typings/terminal/responseModeType.ts b/src/typings/terminal/responseModeType.ts index 6a266dd..711469b 100644 --- a/src/typings/terminal/responseModeType.ts +++ b/src/typings/terminal/responseModeType.ts @@ -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 ResponseModeType { - Immediate = "Immediate" as any, - NotRequired = "NotRequired" as any, - PrintEnd = "PrintEnd" as any, - SoundEnd = "SoundEnd" as any + Immediate = 'Immediate', + NotRequired = 'NotRequired', + PrintEnd = 'PrintEnd', + SoundEnd = 'SoundEnd' } diff --git a/src/typings/terminal/resultType.ts b/src/typings/terminal/resultType.ts index 30a9655..42f1ff7 100644 --- a/src/typings/terminal/resultType.ts +++ b/src/typings/terminal/resultType.ts @@ -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 ResultType { - Failure = "Failure" as any, - Partial = "Partial" as any, - Success = "Success" as any + Failure = 'Failure', + Partial = 'Partial', + Success = 'Success' } diff --git a/src/typings/terminal/reversalReasonType.ts b/src/typings/terminal/reversalReasonType.ts index 356b4bc..d114aec 100644 --- a/src/typings/terminal/reversalReasonType.ts +++ b/src/typings/terminal/reversalReasonType.ts @@ -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 ReversalReasonType { - CustCancel = "CustCancel" as any, - Malfunction = "Malfunction" as any, - MerchantCancel = "MerchantCancel" as any, - Unable2Compl = "Unable2Compl" as any + CustCancel = 'CustCancel', + Malfunction = 'Malfunction', + MerchantCancel = 'MerchantCancel', + Unable2Compl = 'Unable2Compl' } diff --git a/src/typings/terminal/reversalRequest.ts b/src/typings/terminal/reversalRequest.ts index 5866743..6acb614 100644 --- a/src/typings/terminal/reversalRequest.ts +++ b/src/typings/terminal/reversalRequest.ts @@ -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,42 @@ */ -import { CustomerOrder } from "./customerOrder"; -import { OriginalPOITransaction } from "./originalPOITransaction"; -import { ReversalReasonType } from "./reversalReasonType"; +import { CustomerOrder } from './customerOrder'; +import { OriginalPOITransaction } from './originalPOITransaction'; +import { ReversalReasonType } from './reversalReasonType'; export class ReversalRequest { - "customerOrderID"?: CustomerOrder; - "originalPOITransaction": OriginalPOITransaction; - "reversalReason": ReversalReasonType; - "reversedAmount"?: number; - "saleReferenceID"?: string; + 'CustomerOrderID'?: CustomerOrder; + 'OriginalPOITransaction': OriginalPOITransaction; + 'ReversalReason': ReversalReasonType; + 'ReversedAmount'?: number; + 'SaleReferenceID'?: string; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "customerOrderID", + "name": "CustomerOrderID", "baseName": "CustomerOrderID", "type": "CustomerOrder" }, { - "name": "originalPOITransaction", + "name": "OriginalPOITransaction", "baseName": "OriginalPOITransaction", "type": "OriginalPOITransaction" }, { - "name": "reversalReason", + "name": "ReversalReason", "baseName": "ReversalReason", "type": "ReversalReasonType" }, { - "name": "reversedAmount", + "name": "ReversedAmount", "baseName": "ReversedAmount", "type": "number" }, { - "name": "saleReferenceID", + "name": "SaleReferenceID", "baseName": "SaleReferenceID", "type": "string" } ]; diff --git a/src/typings/terminal/reversalResponse.ts b/src/typings/terminal/reversalResponse.ts index 966c89b..168c7ca 100644 --- a/src/typings/terminal/reversalResponse.ts +++ b/src/typings/terminal/reversalResponse.ts @@ -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,49 +11,49 @@ */ -import { OriginalPOITransaction } from "./originalPOITransaction"; -import { POIData } from "./pOIData"; -import { PaymentReceipt } from "./paymentReceipt"; -import { Response } from "./response"; +import { OriginalPOITransaction } from './originalPOITransaction'; +import { POIData } from './pOIData'; +import { PaymentReceipt } from './paymentReceipt'; +import { Response } from './response'; export class ReversalResponse { - "customerOrderID"?: string; - "originalPOITransaction"?: OriginalPOITransaction; - "paymentReceipt"?: PaymentReceipt[]; - "pOIData"?: POIData; - "response": Response; - "reversedAmount"?: number; + 'CustomerOrderID'?: string; + 'OriginalPOITransaction'?: OriginalPOITransaction; + 'PaymentReceipt'?: Array; + 'POIData'?: POIData; + 'Response': Response; + 'ReversedAmount'?: number; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "customerOrderID", + "name": "CustomerOrderID", "baseName": "CustomerOrderID", "type": "string" }, { - "name": "originalPOITransaction", + "name": "OriginalPOITransaction", "baseName": "OriginalPOITransaction", "type": "OriginalPOITransaction" }, { - "name": "paymentReceipt", + "name": "PaymentReceipt", "baseName": "PaymentReceipt", "type": "Array" }, { - "name": "pOIData", + "name": "POIData", "baseName": "POIData", "type": "POIData" }, { - "name": "response", + "name": "Response", "baseName": "Response", "type": "Response" }, { - "name": "reversedAmount", + "name": "ReversedAmount", "baseName": "ReversedAmount", "type": "number" } ]; diff --git a/src/typings/terminal/saleCapabilitiesType.ts b/src/typings/terminal/saleCapabilitiesType.ts index 2823134..665f2ae 100644 --- a/src/typings/terminal/saleCapabilitiesType.ts +++ b/src/typings/terminal/saleCapabilitiesType.ts @@ -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 enum SaleCapabilitiesType { - CashierDisplay = "CashierDisplay" as any, - CashierError = "CashierError" as any, - CashierInput = "CashierInput" as any, - CashierStatus = "CashierStatus" as any, - CustomerAssistance = "CustomerAssistance" as any, - CustomerDisplay = "CustomerDisplay" as any, - CustomerError = "CustomerError" as any, - CustomerInput = "CustomerInput" as any, - EMVContactless = "EMVContactless" as any, - ICC = "ICC" as any, - MagStripe = "MagStripe" as any, - POIReplication = "POIReplication" as any, - PrinterDocument = "PrinterDocument" as any, - PrinterReceipt = "PrinterReceipt" as any, - PrinterVoucher = "PrinterVoucher" as any + CashierDisplay = 'CashierDisplay', + CashierError = 'CashierError', + CashierInput = 'CashierInput', + CashierStatus = 'CashierStatus', + CustomerAssistance = 'CustomerAssistance', + CustomerDisplay = 'CustomerDisplay', + CustomerError = 'CustomerError', + CustomerInput = 'CustomerInput', + EmvContactless = 'EMVContactless', + Icc = 'ICC', + MagStripe = 'MagStripe', + PoiReplication = 'POIReplication', + PrinterDocument = 'PrinterDocument', + PrinterReceipt = 'PrinterReceipt', + PrinterVoucher = 'PrinterVoucher' } diff --git a/src/typings/terminal/saleData.ts b/src/typings/terminal/saleData.ts index 7d13e71..cc64ef0 100644 --- a/src/typings/terminal/saleData.ts +++ b/src/typings/terminal/saleData.ts @@ -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,92 +11,92 @@ */ -import { SaleTerminalData } from "./saleTerminalData"; -import { SaleToAcquirerData } from "./saleToAcquirerData"; -import { SaleToIssuerData } from "./saleToIssuerData"; -import { SponsoredMerchant } from "./sponsoredMerchant"; -import { TransactionIdentification } from "./transactionIdentification"; +import { SaleTerminalData } from './saleTerminalData'; +import { SaleToAcquirerData } from './saleToAcquirerData'; +import { SaleToIssuerData } from './saleToIssuerData'; +import { SponsoredMerchant } from './sponsoredMerchant'; +import { TransactionIdentification } from './transactionIdentification'; export class SaleData { - "customerOrderID"?: string; - "customerOrderReq"?: SaleData.CustomerOrderReqEnum[]; - "operatorID"?: string; - "operatorLanguage"?: string; - "saleReferenceID"?: string; - "saleTerminalData"?: SaleTerminalData; - "saleToAcquirerData"?: SaleToAcquirerData; - "saleToIssuerData"?: SaleToIssuerData; - "saleToPOIData"?: string; - "saleTransactionID": TransactionIdentification; - "shiftNumber"?: string; - "sponsoredMerchant"?: SponsoredMerchant[]; - "tokenRequestedType"?: SaleData.TokenRequestedTypeEnum; + 'CustomerOrderID'?: string; + 'CustomerOrderReq'?: Array; + 'OperatorID'?: string; + 'OperatorLanguage'?: string; + 'SaleReferenceID'?: string; + 'SaleTerminalData'?: SaleTerminalData; + 'SaleToAcquirerData'?: SaleToAcquirerData; + 'SaleToIssuerData'?: SaleToIssuerData; + 'SaleToPOIData'?: string; + 'SaleTransactionID': TransactionIdentification; + 'ShiftNumber'?: string; + 'SponsoredMerchant'?: Array; + 'TokenRequestedType'?: SaleData.TokenRequestedTypeEnum; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "customerOrderID", + "name": "CustomerOrderID", "baseName": "CustomerOrderID", "type": "string" }, { - "name": "customerOrderReq", + "name": "CustomerOrderReq", "baseName": "CustomerOrderReq", "type": "Array" }, { - "name": "operatorID", + "name": "OperatorID", "baseName": "OperatorID", "type": "string" }, { - "name": "operatorLanguage", + "name": "OperatorLanguage", "baseName": "OperatorLanguage", "type": "string" }, { - "name": "saleReferenceID", + "name": "SaleReferenceID", "baseName": "SaleReferenceID", "type": "string" }, { - "name": "saleTerminalData", + "name": "SaleTerminalData", "baseName": "SaleTerminalData", "type": "SaleTerminalData" }, { - "name": "saleToAcquirerData", + "name": "SaleToAcquirerData", "baseName": "SaleToAcquirerData", "type": "SaleToAcquirerData" }, { - "name": "saleToIssuerData", + "name": "SaleToIssuerData", "baseName": "SaleToIssuerData", "type": "SaleToIssuerData" }, { - "name": "saleToPOIData", + "name": "SaleToPOIData", "baseName": "SaleToPOIData", "type": "string" }, { - "name": "saleTransactionID", + "name": "SaleTransactionID", "baseName": "SaleTransactionID", "type": "TransactionIdentification" }, { - "name": "shiftNumber", + "name": "ShiftNumber", "baseName": "ShiftNumber", "type": "string" }, { - "name": "sponsoredMerchant", + "name": "SponsoredMerchant", "baseName": "SponsoredMerchant", "type": "Array" }, { - "name": "tokenRequestedType", + "name": "TokenRequestedType", "baseName": "TokenRequestedType", "type": "SaleData.TokenRequestedTypeEnum" } ]; @@ -127,12 +108,12 @@ export class SaleData { export namespace SaleData { export enum CustomerOrderReqEnum { - Both = "Both" as any, - Closed = "Closed" as any, - Open = "Open" as any + Both = 'Both', + Closed = 'Closed', + Open = 'Open' } export enum TokenRequestedTypeEnum { - Customer = "Customer" as any, - Transaction = "Transaction" as any + Customer = 'Customer', + Transaction = 'Transaction' } } diff --git a/src/typings/terminal/saleItem.ts b/src/typings/terminal/saleItem.ts index c7afee1..838899f 100644 --- a/src/typings/terminal/saleItem.ts +++ b/src/typings/terminal/saleItem.ts @@ -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,73 +13,73 @@ export class SaleItem { - "additionalProductInfo"?: string; - "eanUpc"?: string; - "itemAmount": number; - "itemID": number; - "productCode": string; - "productLabel"?: string; - "quantity"?: number; - "saleChannel"?: string; - "taxCode"?: string; - "unitOfMeasure"?: SaleItem.UnitOfMeasureEnum; - "unitPrice"?: number; + 'AdditionalProductInfo'?: string; + 'EanUpc'?: string; + 'ItemAmount': number; + 'ItemID': number; + 'ProductCode': string; + 'ProductLabel'?: string; + 'Quantity'?: number; + 'SaleChannel'?: string; + 'TaxCode'?: string; + 'UnitOfMeasure'?: SaleItem.UnitOfMeasureEnum; + 'UnitPrice'?: number; 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": "itemAmount", + "name": "ItemAmount", "baseName": "ItemAmount", "type": "number" }, { - "name": "itemID", + "name": "ItemID", "baseName": "ItemID", "type": "number" }, { - "name": "productCode", + "name": "ProductCode", "baseName": "ProductCode", "type": "string" }, { - "name": "productLabel", + "name": "ProductLabel", "baseName": "ProductLabel", "type": "string" }, { - "name": "quantity", + "name": "Quantity", "baseName": "Quantity", "type": "number" }, { - "name": "saleChannel", + "name": "SaleChannel", "baseName": "SaleChannel", "type": "string" }, { - "name": "taxCode", + "name": "TaxCode", "baseName": "TaxCode", "type": "string" }, { - "name": "unitOfMeasure", + "name": "UnitOfMeasure", "baseName": "UnitOfMeasure", "type": "SaleItem.UnitOfMeasureEnum" }, { - "name": "unitPrice", + "name": "UnitPrice", "baseName": "UnitPrice", "type": "number" } ]; @@ -110,24 +91,24 @@ export class SaleItem { export namespace SaleItem { export enum UnitOfMeasureEnum { - Case = "Case" as any, - Centilitre = "Centilitre" as any, - Centimetre = "Centimetre" as any, - Foot = "Foot" as any, - Gram = "Gram" as any, - Inch = "Inch" as any, - Kilogram = "Kilogram" as any, - Kilometre = "Kilometre" as any, - Litre = "Litre" as any, - Meter = "Meter" as any, - Mile = "Mile" as any, - Other = "Other" as any, - Ounce = "Ounce" as any, - Pint = "Pint" as any, - Pound = "Pound" as any, - Quart = "Quart" as any, - UKGallon = "UKGallon" as any, - USGallon = "USGallon" as any, - Yard = "Yard" as any + Case = 'Case', + Centilitre = 'Centilitre', + Centimetre = 'Centimetre', + Foot = 'Foot', + Gram = 'Gram', + Inch = 'Inch', + Kilogram = 'Kilogram', + Kilometre = 'Kilometre', + Litre = 'Litre', + Meter = 'Meter', + Mile = 'Mile', + Other = 'Other', + Ounce = 'Ounce', + Pint = 'Pint', + Pound = 'Pound', + Quart = 'Quart', + UkGallon = 'UKGallon', + UsGallon = 'USGallon', + Yard = 'Yard' } } diff --git a/src/typings/terminal/saleItemRebate.ts b/src/typings/terminal/saleItemRebate.ts index 12e783b..f118ff0 100644 --- a/src/typings/terminal/saleItemRebate.ts +++ b/src/typings/terminal/saleItemRebate.ts @@ -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,49 +13,49 @@ export class SaleItemRebate { - "eanUpc"?: string; - "itemAmount"?: number; - "itemID": number; - "productCode": string; - "quantity"?: number; - "rebateLabel"?: string; - "unitOfMeasure"?: SaleItemRebate.UnitOfMeasureEnum; + 'EanUpc'?: string; + 'ItemAmount'?: number; + 'ItemID': number; + 'ProductCode': string; + 'Quantity'?: number; + 'RebateLabel'?: string; + 'UnitOfMeasure'?: SaleItemRebate.UnitOfMeasureEnum; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "eanUpc", + "name": "EanUpc", "baseName": "EanUpc", "type": "string" }, { - "name": "itemAmount", + "name": "ItemAmount", "baseName": "ItemAmount", "type": "number" }, { - "name": "itemID", + "name": "ItemID", "baseName": "ItemID", "type": "number" }, { - "name": "productCode", + "name": "ProductCode", "baseName": "ProductCode", "type": "string" }, { - "name": "quantity", + "name": "Quantity", "baseName": "Quantity", "type": "number" }, { - "name": "rebateLabel", + "name": "RebateLabel", "baseName": "RebateLabel", "type": "string" }, { - "name": "unitOfMeasure", + "name": "UnitOfMeasure", "baseName": "UnitOfMeasure", "type": "SaleItemRebate.UnitOfMeasureEnum" } ]; @@ -86,24 +67,24 @@ export class SaleItemRebate { export namespace SaleItemRebate { export enum UnitOfMeasureEnum { - Case = "Case" as any, - Centilitre = "Centilitre" as any, - Centimetre = "Centimetre" as any, - Foot = "Foot" as any, - Gram = "Gram" as any, - Inch = "Inch" as any, - Kilogram = "Kilogram" as any, - Kilometre = "Kilometre" as any, - Litre = "Litre" as any, - Meter = "Meter" as any, - Mile = "Mile" as any, - Other = "Other" as any, - Ounce = "Ounce" as any, - Pint = "Pint" as any, - Pound = "Pound" as any, - Quart = "Quart" as any, - UKGallon = "UKGallon" as any, - USGallon = "USGallon" as any, - Yard = "Yard" as any + Case = 'Case', + Centilitre = 'Centilitre', + Centimetre = 'Centimetre', + Foot = 'Foot', + Gram = 'Gram', + Inch = 'Inch', + Kilogram = 'Kilogram', + Kilometre = 'Kilometre', + Litre = 'Litre', + Meter = 'Meter', + Mile = 'Mile', + Other = 'Other', + Ounce = 'Ounce', + Pint = 'Pint', + Pound = 'Pound', + Quart = 'Quart', + UkGallon = 'UKGallon', + UsGallon = 'USGallon', + Yard = 'Yard' } } diff --git a/src/typings/terminal/saleProfile.ts b/src/typings/terminal/saleProfile.ts index cea42e2..0a91557 100644 --- a/src/typings/terminal/saleProfile.ts +++ b/src/typings/terminal/saleProfile.ts @@ -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 SaleProfile { - "genericProfile"?: SaleProfile.GenericProfileEnum; - "serviceProfiles"?: SaleProfile.ServiceProfilesEnum[]; + 'GenericProfile'?: SaleProfile.GenericProfileEnum; + 'ServiceProfiles'?: Array; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "genericProfile", + "name": "GenericProfile", "baseName": "GenericProfile", "type": "SaleProfile.GenericProfileEnum" }, { - "name": "serviceProfiles", + "name": "ServiceProfiles", "baseName": "ServiceProfiles", "type": "Array" } ]; @@ -56,20 +37,20 @@ export class SaleProfile { export namespace SaleProfile { export enum GenericProfileEnum { - Basic = "Basic" as any, - Extended = "Extended" as any, - Standard = "Standard" as any + Basic = 'Basic', + Extended = 'Extended', + Standard = 'Standard' } export enum ServiceProfilesEnum { - Batch = "Batch" as any, - CardReader = "CardReader" as any, - Communication = "Communication" as any, - Loyalty = "Loyalty" as any, - OneTimeRes = "OneTimeRes" as any, - PIN = "PIN" as any, - Reservation = "Reservation" as any, - Sound = "Sound" as any, - StoredValue = "StoredValue" as any, - Synchro = "Synchro" as any + Batch = 'Batch', + CardReader = 'CardReader', + Communication = 'Communication', + Loyalty = 'Loyalty', + OneTimeRes = 'OneTimeRes', + Pin = 'PIN', + Reservation = 'Reservation', + Sound = 'Sound', + StoredValue = 'StoredValue', + Synchro = 'Synchro' } } diff --git a/src/typings/terminal/saleSoftware.ts b/src/typings/terminal/saleSoftware.ts index 5b708fc..84f9463 100644 --- a/src/typings/terminal/saleSoftware.ts +++ b/src/typings/terminal/saleSoftware.ts @@ -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 SaleSoftware { - "applicationName": string; - "certificationCode": string; - "manufacturerID"?: string; - "softwareVersion": string; + 'ApplicationName': string; + 'CertificationCode': string; + 'ManufacturerID'?: string; + 'SoftwareVersion': string; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "applicationName", + "name": "ApplicationName", "baseName": "ApplicationName", "type": "string" }, { - "name": "certificationCode", + "name": "CertificationCode", "baseName": "CertificationCode", "type": "string" }, { - "name": "manufacturerID", + "name": "ManufacturerID", "baseName": "ManufacturerID", "type": "string" }, { - "name": "softwareVersion", + "name": "SoftwareVersion", "baseName": "SoftwareVersion", "type": "string" } ]; diff --git a/src/typings/terminal/saleTerminalData.ts b/src/typings/terminal/saleTerminalData.ts index 850e4e5..11e229d 100644 --- a/src/typings/terminal/saleTerminalData.ts +++ b/src/typings/terminal/saleTerminalData.ts @@ -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 { SaleProfile } from "./saleProfile"; +import { SaleProfile } from './saleProfile'; export class SaleTerminalData { - "saleCapabilities"?: SaleTerminalData.SaleCapabilitiesEnum[]; - "saleProfile"?: SaleProfile; - "terminalEnvironment"?: SaleTerminalData.TerminalEnvironmentEnum; - "totalsGroupID"?: string; + 'SaleCapabilities'?: Array; + 'SaleProfile'?: SaleProfile; + 'TerminalEnvironment'?: SaleTerminalData.TerminalEnvironmentEnum; + 'TotalsGroupID'?: string; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "saleCapabilities", + "name": "SaleCapabilities", "baseName": "SaleCapabilities", "type": "Array" }, { - "name": "saleProfile", + "name": "SaleProfile", "baseName": "SaleProfile", "type": "SaleProfile" }, { - "name": "terminalEnvironment", + "name": "TerminalEnvironment", "baseName": "TerminalEnvironment", "type": "SaleTerminalData.TerminalEnvironmentEnum" }, { - "name": "totalsGroupID", + "name": "TotalsGroupID", "baseName": "TotalsGroupID", "type": "string" } ]; @@ -69,25 +50,25 @@ export class SaleTerminalData { export namespace SaleTerminalData { export enum SaleCapabilitiesEnum { - CashierDisplay = "CashierDisplay" as any, - CashierError = "CashierError" as any, - CashierInput = "CashierInput" as any, - CashierStatus = "CashierStatus" as any, - CustomerAssistance = "CustomerAssistance" as any, - CustomerDisplay = "CustomerDisplay" as any, - CustomerError = "CustomerError" as any, - CustomerInput = "CustomerInput" as any, - EMVContactless = "EMVContactless" as any, - ICC = "ICC" as any, - MagStripe = "MagStripe" as any, - POIReplication = "POIReplication" as any, - PrinterDocument = "PrinterDocument" as any, - PrinterReceipt = "PrinterReceipt" as any, - PrinterVoucher = "PrinterVoucher" as any + CashierDisplay = 'CashierDisplay', + CashierError = 'CashierError', + CashierInput = 'CashierInput', + CashierStatus = 'CashierStatus', + CustomerAssistance = 'CustomerAssistance', + CustomerDisplay = 'CustomerDisplay', + CustomerError = 'CustomerError', + CustomerInput = 'CustomerInput', + EmvContactless = 'EMVContactless', + Icc = 'ICC', + MagStripe = 'MagStripe', + PoiReplication = 'POIReplication', + PrinterDocument = 'PrinterDocument', + PrinterReceipt = 'PrinterReceipt', + PrinterVoucher = 'PrinterVoucher' } export enum TerminalEnvironmentEnum { - Attended = "Attended" as any, - SemiAttended = "SemiAttended" as any, - Unattended = "Unattended" as any + Attended = 'Attended', + SemiAttended = 'SemiAttended', + Unattended = 'Unattended' } } diff --git a/src/typings/terminal/saleToAcquirerData.ts b/src/typings/terminal/saleToAcquirerData.ts index 44d8b0d..b34c1a7 100644 --- a/src/typings/terminal/saleToAcquirerData.ts +++ b/src/typings/terminal/saleToAcquirerData.ts @@ -1,75 +1,40 @@ /** - * Adyen Terminal API - * Adyen Terminal API description + * Terminal API + * Definition of Terminal API Schema * - * The version of the OpenAPI document: 3 - * Contact: developer-experience@adyen.com + * 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 * Do not edit the class manually. */ + import { ApplicationInfo } from './applicationInfo'; export class SaleToAcquirerData { - 'additionalData'?: { [key: string]: string; }; 'applicationInfo'?: ApplicationInfo; - 'currency'?: string; - 'merchantAccount'?: string; - 'metadata'?: { [key: string]: string; }; - 'recurringContract'?: string; - 'recurringDetailName'?: string; - 'recurringTokenService'?: string; 'shopperEmail'?: string; 'shopperReference'?: string; + 'recurringContract'?: string; 'shopperStatement'?: string; + 'recurringDetailName'?: string; 'store'?: string; + 'merchantAccount'?: string; + 'currency'?: string; 'tenderOption'?: string; + 'additionalData'?: object; + 'metadata'?: { [key: string]: string; }; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ - { - "name": "additionalData", - "baseName": "additionalData", - "type": "{ [key: string]: string; }" - }, { "name": "applicationInfo", "baseName": "applicationInfo", "type": "ApplicationInfo" }, - { - "name": "currency", - "baseName": "currency", - "type": "string" - }, - { - "name": "merchantAccount", - "baseName": "merchantAccount", - "type": "string" - }, - { - "name": "metadata", - "baseName": "metadata", - "type": "{ [key: string]: string; }" - }, - { - "name": "recurringContract", - "baseName": "recurringContract", - "type": "string" - }, - { - "name": "recurringDetailName", - "baseName": "recurringDetailName", - "type": "string" - }, - { - "name": "recurringTokenService", - "baseName": "recurringTokenService", - "type": "string" - }, { "name": "shopperEmail", "baseName": "shopperEmail", @@ -80,20 +45,45 @@ export class SaleToAcquirerData { "baseName": "shopperReference", "type": "string" }, + { + "name": "recurringContract", + "baseName": "recurringContract", + "type": "string" + }, { "name": "shopperStatement", "baseName": "shopperStatement", "type": "string" }, + { + "name": "recurringDetailName", + "baseName": "recurringDetailName", + "type": "string" + }, { "name": "store", "baseName": "store", "type": "string" }, + { + "name": "merchantAccount", + "baseName": "merchantAccount", + "type": "string" + }, + { + "name": "currency", + "baseName": "currency", + "type": "string" + }, { "name": "tenderOption", "baseName": "tenderOption", "type": "string" + }, + { + "name": "additionalData", + "baseName": "additionalData", + "type": "object" } ]; static getAttributeTypeMap() { diff --git a/src/typings/terminal/saleToIssuerData.ts b/src/typings/terminal/saleToIssuerData.ts index ec2ac15..bcdf5e9 100644 --- a/src/typings/terminal/saleToIssuerData.ts +++ b/src/typings/terminal/saleToIssuerData.ts @@ -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 SaleToIssuerData { - "statementReference"?: string; + 'StatementReference'?: string; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "statementReference", + "name": "StatementReference", "baseName": "StatementReference", "type": "string" } ]; diff --git a/src/typings/terminal/saleToPOIRequest.ts b/src/typings/terminal/saleToPOIRequest.ts index 9bca462..087d00a 100644 --- a/src/typings/terminal/saleToPOIRequest.ts +++ b/src/typings/terminal/saleToPOIRequest.ts @@ -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,212 +11,212 @@ */ -import { AbortRequest } from "./abortRequest"; -import { AdminRequest } from "./adminRequest"; -import { BalanceInquiryRequest } from "./balanceInquiryRequest"; -import { BatchRequest } from "./batchRequest"; -import { CardAcquisitionRequest } from "./cardAcquisitionRequest"; -import { CardReaderAPDURequest } from "./cardReaderAPDURequest"; -import { CardReaderInitRequest } from "./cardReaderInitRequest"; -import { CardReaderPowerOffRequest } from "./cardReaderPowerOffRequest"; -import { ContentInformation } from "./contentInformation"; -import { DiagnosisRequest } from "./diagnosisRequest"; -import { DisplayRequest } from "./displayRequest"; -import { EnableServiceRequest } from "./enableServiceRequest"; -import { EventNotification } from "./eventNotification"; -import { GetTotalsRequest } from "./getTotalsRequest"; -import { InputRequest } from "./inputRequest"; -import { InputUpdate } from "./inputUpdate"; -import { LoginRequest } from "./loginRequest"; -import { LogoutRequest } from "./logoutRequest"; -import { LoyaltyRequest } from "./loyaltyRequest"; -import { MessageHeader } from "./messageHeader"; -import { PINRequest } from "./pINRequest"; -import { PaymentRequest } from "./paymentRequest"; -import { PrintRequest } from "./printRequest"; -import { ReconciliationRequest } from "./reconciliationRequest"; -import { ReversalRequest } from "./reversalRequest"; -import { SoundRequest } from "./soundRequest"; -import { StoredValueRequest } from "./storedValueRequest"; -import { TransactionStatusRequest } from "./transactionStatusRequest"; -import { TransmitRequest } from "./transmitRequest"; +import { AbortRequest } from './abortRequest'; +import { AdminRequest } from './adminRequest'; +import { BalanceInquiryRequest } from './balanceInquiryRequest'; +import { BatchRequest } from './batchRequest'; +import { CardAcquisitionRequest } from './cardAcquisitionRequest'; +import { CardReaderAPDURequest } from './cardReaderAPDURequest'; +import { CardReaderInitRequest } from './cardReaderInitRequest'; +import { CardReaderPowerOffRequest } from './cardReaderPowerOffRequest'; +import { ContentInformation } from './contentInformation'; +import { DiagnosisRequest } from './diagnosisRequest'; +import { DisplayRequest } from './displayRequest'; +import { EnableServiceRequest } from './enableServiceRequest'; +import { EventNotification } from './eventNotification'; +import { GetTotalsRequest } from './getTotalsRequest'; +import { InputRequest } from './inputRequest'; +import { InputUpdate } from './inputUpdate'; +import { LoginRequest } from './loginRequest'; +import { LogoutRequest } from './logoutRequest'; +import { LoyaltyRequest } from './loyaltyRequest'; +import { MessageHeader } from './messageHeader'; +import { PINRequest } from './pINRequest'; +import { PaymentRequest } from './paymentRequest'; +import { PrintRequest } from './printRequest'; +import { ReconciliationRequest } from './reconciliationRequest'; +import { ReversalRequest } from './reversalRequest'; +import { SoundRequest } from './soundRequest'; +import { StoredValueRequest } from './storedValueRequest'; +import { TransactionStatusRequest } from './transactionStatusRequest'; +import { TransmitRequest } from './transmitRequest'; export class SaleToPOIRequest { - "abortRequest"?: AbortRequest; - "adminRequest"?: AdminRequest; - "balanceInquiryRequest"?: BalanceInquiryRequest; - "batchRequest"?: BatchRequest; - "cardAcquisitionRequest"?: CardAcquisitionRequest; - "cardReaderAPDURequest"?: CardReaderAPDURequest; - "cardReaderInitRequest"?: CardReaderInitRequest; - "cardReaderPowerOffRequest"?: CardReaderPowerOffRequest; - "diagnosisRequest"?: DiagnosisRequest; - "displayRequest"?: DisplayRequest; - "enableServiceRequest"?: EnableServiceRequest; - "eventNotification"?: EventNotification; - "getTotalsRequest"?: GetTotalsRequest; - "inputRequest"?: InputRequest; - "inputUpdate"?: InputUpdate; - "loginRequest"?: LoginRequest; - "logoutRequest"?: LogoutRequest; - "loyaltyRequest"?: LoyaltyRequest; - "messageHeader": MessageHeader; - "paymentRequest"?: PaymentRequest; - "pINRequest"?: PINRequest; - "printRequest"?: PrintRequest; - "reconciliationRequest"?: ReconciliationRequest; - "reversalRequest"?: ReversalRequest; - "securityTrailer"?: ContentInformation; - "soundRequest"?: SoundRequest; - "storedValueRequest"?: StoredValueRequest; - "transactionStatusRequest"?: TransactionStatusRequest; - "transmitRequest"?: TransmitRequest; + 'AbortRequest'?: AbortRequest; + 'AdminRequest'?: AdminRequest; + 'BalanceInquiryRequest'?: BalanceInquiryRequest; + 'BatchRequest'?: BatchRequest; + 'CardAcquisitionRequest'?: CardAcquisitionRequest; + 'CardReaderAPDURequest'?: CardReaderAPDURequest; + 'CardReaderInitRequest'?: CardReaderInitRequest; + 'CardReaderPowerOffRequest'?: CardReaderPowerOffRequest; + 'DiagnosisRequest'?: DiagnosisRequest; + 'DisplayRequest'?: DisplayRequest; + 'EnableServiceRequest'?: EnableServiceRequest; + 'EventNotification'?: EventNotification; + 'GetTotalsRequest'?: GetTotalsRequest; + 'InputRequest'?: InputRequest; + 'InputUpdate'?: InputUpdate; + 'LoginRequest'?: LoginRequest; + 'LogoutRequest'?: LogoutRequest; + 'LoyaltyRequest'?: LoyaltyRequest; + 'MessageHeader': MessageHeader; + 'PaymentRequest'?: PaymentRequest; + 'PINRequest'?: PINRequest; + 'PrintRequest'?: PrintRequest; + 'ReconciliationRequest'?: ReconciliationRequest; + 'ReversalRequest'?: ReversalRequest; + 'SecurityTrailer'?: ContentInformation; + 'SoundRequest'?: SoundRequest; + 'StoredValueRequest'?: StoredValueRequest; + 'TransactionStatusRequest'?: TransactionStatusRequest; + 'TransmitRequest'?: TransmitRequest; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "abortRequest", + "name": "AbortRequest", "baseName": "AbortRequest", "type": "AbortRequest" }, { - "name": "adminRequest", + "name": "AdminRequest", "baseName": "AdminRequest", "type": "AdminRequest" }, { - "name": "balanceInquiryRequest", + "name": "BalanceInquiryRequest", "baseName": "BalanceInquiryRequest", "type": "BalanceInquiryRequest" }, { - "name": "batchRequest", + "name": "BatchRequest", "baseName": "BatchRequest", "type": "BatchRequest" }, { - "name": "cardAcquisitionRequest", + "name": "CardAcquisitionRequest", "baseName": "CardAcquisitionRequest", "type": "CardAcquisitionRequest" }, { - "name": "cardReaderAPDURequest", + "name": "CardReaderAPDURequest", "baseName": "CardReaderAPDURequest", "type": "CardReaderAPDURequest" }, { - "name": "cardReaderInitRequest", + "name": "CardReaderInitRequest", "baseName": "CardReaderInitRequest", "type": "CardReaderInitRequest" }, { - "name": "cardReaderPowerOffRequest", + "name": "CardReaderPowerOffRequest", "baseName": "CardReaderPowerOffRequest", "type": "CardReaderPowerOffRequest" }, { - "name": "diagnosisRequest", + "name": "DiagnosisRequest", "baseName": "DiagnosisRequest", "type": "DiagnosisRequest" }, { - "name": "displayRequest", + "name": "DisplayRequest", "baseName": "DisplayRequest", "type": "DisplayRequest" }, { - "name": "enableServiceRequest", + "name": "EnableServiceRequest", "baseName": "EnableServiceRequest", "type": "EnableServiceRequest" }, { - "name": "eventNotification", + "name": "EventNotification", "baseName": "EventNotification", "type": "EventNotification" }, { - "name": "getTotalsRequest", + "name": "GetTotalsRequest", "baseName": "GetTotalsRequest", "type": "GetTotalsRequest" }, { - "name": "inputRequest", + "name": "InputRequest", "baseName": "InputRequest", "type": "InputRequest" }, { - "name": "inputUpdate", + "name": "InputUpdate", "baseName": "InputUpdate", "type": "InputUpdate" }, { - "name": "loginRequest", + "name": "LoginRequest", "baseName": "LoginRequest", "type": "LoginRequest" }, { - "name": "logoutRequest", + "name": "LogoutRequest", "baseName": "LogoutRequest", "type": "LogoutRequest" }, { - "name": "loyaltyRequest", + "name": "LoyaltyRequest", "baseName": "LoyaltyRequest", "type": "LoyaltyRequest" }, { - "name": "messageHeader", + "name": "MessageHeader", "baseName": "MessageHeader", "type": "MessageHeader" }, { - "name": "paymentRequest", + "name": "PaymentRequest", "baseName": "PaymentRequest", "type": "PaymentRequest" }, { - "name": "pINRequest", + "name": "PINRequest", "baseName": "PINRequest", "type": "PINRequest" }, { - "name": "printRequest", + "name": "PrintRequest", "baseName": "PrintRequest", "type": "PrintRequest" }, { - "name": "reconciliationRequest", + "name": "ReconciliationRequest", "baseName": "ReconciliationRequest", "type": "ReconciliationRequest" }, { - "name": "reversalRequest", + "name": "ReversalRequest", "baseName": "ReversalRequest", "type": "ReversalRequest" }, { - "name": "securityTrailer", + "name": "SecurityTrailer", "baseName": "SecurityTrailer", "type": "ContentInformation" }, { - "name": "soundRequest", + "name": "SoundRequest", "baseName": "SoundRequest", "type": "SoundRequest" }, { - "name": "storedValueRequest", + "name": "StoredValueRequest", "baseName": "StoredValueRequest", "type": "StoredValueRequest" }, { - "name": "transactionStatusRequest", + "name": "TransactionStatusRequest", "baseName": "TransactionStatusRequest", "type": "TransactionStatusRequest" }, { - "name": "transmitRequest", + "name": "TransmitRequest", "baseName": "TransmitRequest", "type": "TransmitRequest" } ]; diff --git a/src/typings/terminal/saleToPOIResponse.ts b/src/typings/terminal/saleToPOIResponse.ts index 2602c87..7cb6101 100644 --- a/src/typings/terminal/saleToPOIResponse.ts +++ b/src/typings/terminal/saleToPOIResponse.ts @@ -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,191 +11,191 @@ */ -import { AdminResponse } from "./adminResponse"; -import { BalanceInquiryResponse } from "./balanceInquiryResponse"; -import { BatchResponse } from "./batchResponse"; -import { CardAcquisitionResponse } from "./cardAcquisitionResponse"; -import { CardReaderAPDUResponse } from "./cardReaderAPDUResponse"; -import { CardReaderInitResponse } from "./cardReaderInitResponse"; -import { CardReaderPowerOffResponse } from "./cardReaderPowerOffResponse"; -import { ContentInformation } from "./contentInformation"; -import { DiagnosisResponse } from "./diagnosisResponse"; -import { DisplayResponse } from "./displayResponse"; -import { EnableServiceResponse } from "./enableServiceResponse"; -import { GetTotalsResponse } from "./getTotalsResponse"; -import { InputResponse } from "./inputResponse"; -import { LoginResponse } from "./loginResponse"; -import { LogoutResponse } from "./logoutResponse"; -import { LoyaltyResponse } from "./loyaltyResponse"; -import { MessageHeader } from "./messageHeader"; -import { PINResponse } from "./pINResponse"; -import { PaymentResponse } from "./paymentResponse"; -import { PrintResponse } from "./printResponse"; -import { ReconciliationResponse } from "./reconciliationResponse"; -import { ReversalResponse } from "./reversalResponse"; -import { SoundResponse } from "./soundResponse"; -import { StoredValueResponse } from "./storedValueResponse"; -import { TransactionStatusResponse } from "./transactionStatusResponse"; -import { TransmitResponse } from "./transmitResponse"; +import { AdminResponse } from './adminResponse'; +import { BalanceInquiryResponse } from './balanceInquiryResponse'; +import { BatchResponse } from './batchResponse'; +import { CardAcquisitionResponse } from './cardAcquisitionResponse'; +import { CardReaderAPDUResponse } from './cardReaderAPDUResponse'; +import { CardReaderInitResponse } from './cardReaderInitResponse'; +import { CardReaderPowerOffResponse } from './cardReaderPowerOffResponse'; +import { ContentInformation } from './contentInformation'; +import { DiagnosisResponse } from './diagnosisResponse'; +import { DisplayResponse } from './displayResponse'; +import { EnableServiceResponse } from './enableServiceResponse'; +import { GetTotalsResponse } from './getTotalsResponse'; +import { InputResponse } from './inputResponse'; +import { LoginResponse } from './loginResponse'; +import { LogoutResponse } from './logoutResponse'; +import { LoyaltyResponse } from './loyaltyResponse'; +import { MessageHeader } from './messageHeader'; +import { PINResponse } from './pINResponse'; +import { PaymentResponse } from './paymentResponse'; +import { PrintResponse } from './printResponse'; +import { ReconciliationResponse } from './reconciliationResponse'; +import { ReversalResponse } from './reversalResponse'; +import { SoundResponse } from './soundResponse'; +import { StoredValueResponse } from './storedValueResponse'; +import { TransactionStatusResponse } from './transactionStatusResponse'; +import { TransmitResponse } from './transmitResponse'; export class SaleToPOIResponse { - "adminResponse"?: AdminResponse; - "balanceInquiryResponse"?: BalanceInquiryResponse; - "batchResponse"?: BatchResponse; - "cardAcquisitionResponse"?: CardAcquisitionResponse; - "cardReaderAPDUResponse"?: CardReaderAPDUResponse; - "cardReaderInitResponse"?: CardReaderInitResponse; - "cardReaderPowerOffResponse"?: CardReaderPowerOffResponse; - "diagnosisResponse"?: DiagnosisResponse; - "displayResponse"?: DisplayResponse; - "enableServiceResponse"?: EnableServiceResponse; - "getTotalsResponse"?: GetTotalsResponse; - "inputResponse"?: InputResponse; - "loginResponse"?: LoginResponse; - "logoutResponse"?: LogoutResponse; - "loyaltyResponse"?: LoyaltyResponse; - "messageHeader": MessageHeader; - "paymentResponse"?: PaymentResponse; - "pINResponse"?: PINResponse; - "printResponse"?: PrintResponse; - "reconciliationResponse"?: ReconciliationResponse; - "reversalResponse"?: ReversalResponse; - "securityTrailer"?: ContentInformation; - "soundResponse"?: SoundResponse; - "storedValueResponse"?: StoredValueResponse; - "transactionStatusResponse"?: TransactionStatusResponse; - "transmitResponse"?: TransmitResponse; + 'AdminResponse'?: AdminResponse; + 'BalanceInquiryResponse'?: BalanceInquiryResponse; + 'BatchResponse'?: BatchResponse; + 'CardAcquisitionResponse'?: CardAcquisitionResponse; + 'CardReaderAPDUResponse'?: CardReaderAPDUResponse; + 'CardReaderInitResponse'?: CardReaderInitResponse; + 'CardReaderPowerOffResponse'?: CardReaderPowerOffResponse; + 'DiagnosisResponse'?: DiagnosisResponse; + 'DisplayResponse'?: DisplayResponse; + 'EnableServiceResponse'?: EnableServiceResponse; + 'GetTotalsResponse'?: GetTotalsResponse; + 'InputResponse'?: InputResponse; + 'LoginResponse'?: LoginResponse; + 'LogoutResponse'?: LogoutResponse; + 'LoyaltyResponse'?: LoyaltyResponse; + 'MessageHeader': MessageHeader; + 'PaymentResponse'?: PaymentResponse; + 'PINResponse'?: PINResponse; + 'PrintResponse'?: PrintResponse; + 'ReconciliationResponse'?: ReconciliationResponse; + 'ReversalResponse'?: ReversalResponse; + 'SecurityTrailer'?: ContentInformation; + 'SoundResponse'?: SoundResponse; + 'StoredValueResponse'?: StoredValueResponse; + 'TransactionStatusResponse'?: TransactionStatusResponse; + 'TransmitResponse'?: TransmitResponse; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "adminResponse", + "name": "AdminResponse", "baseName": "AdminResponse", "type": "AdminResponse" }, { - "name": "balanceInquiryResponse", + "name": "BalanceInquiryResponse", "baseName": "BalanceInquiryResponse", "type": "BalanceInquiryResponse" }, { - "name": "batchResponse", + "name": "BatchResponse", "baseName": "BatchResponse", "type": "BatchResponse" }, { - "name": "cardAcquisitionResponse", + "name": "CardAcquisitionResponse", "baseName": "CardAcquisitionResponse", "type": "CardAcquisitionResponse" }, { - "name": "cardReaderAPDUResponse", + "name": "CardReaderAPDUResponse", "baseName": "CardReaderAPDUResponse", "type": "CardReaderAPDUResponse" }, { - "name": "cardReaderInitResponse", + "name": "CardReaderInitResponse", "baseName": "CardReaderInitResponse", "type": "CardReaderInitResponse" }, { - "name": "cardReaderPowerOffResponse", + "name": "CardReaderPowerOffResponse", "baseName": "CardReaderPowerOffResponse", "type": "CardReaderPowerOffResponse" }, { - "name": "diagnosisResponse", + "name": "DiagnosisResponse", "baseName": "DiagnosisResponse", "type": "DiagnosisResponse" }, { - "name": "displayResponse", + "name": "DisplayResponse", "baseName": "DisplayResponse", "type": "DisplayResponse" }, { - "name": "enableServiceResponse", + "name": "EnableServiceResponse", "baseName": "EnableServiceResponse", "type": "EnableServiceResponse" }, { - "name": "getTotalsResponse", + "name": "GetTotalsResponse", "baseName": "GetTotalsResponse", "type": "GetTotalsResponse" }, { - "name": "inputResponse", + "name": "InputResponse", "baseName": "InputResponse", "type": "InputResponse" }, { - "name": "loginResponse", + "name": "LoginResponse", "baseName": "LoginResponse", "type": "LoginResponse" }, { - "name": "logoutResponse", + "name": "LogoutResponse", "baseName": "LogoutResponse", "type": "LogoutResponse" }, { - "name": "loyaltyResponse", + "name": "LoyaltyResponse", "baseName": "LoyaltyResponse", "type": "LoyaltyResponse" }, { - "name": "messageHeader", + "name": "MessageHeader", "baseName": "MessageHeader", "type": "MessageHeader" }, { - "name": "paymentResponse", + "name": "PaymentResponse", "baseName": "PaymentResponse", "type": "PaymentResponse" }, { - "name": "pINResponse", + "name": "PINResponse", "baseName": "PINResponse", "type": "PINResponse" }, { - "name": "printResponse", + "name": "PrintResponse", "baseName": "PrintResponse", "type": "PrintResponse" }, { - "name": "reconciliationResponse", + "name": "ReconciliationResponse", "baseName": "ReconciliationResponse", "type": "ReconciliationResponse" }, { - "name": "reversalResponse", + "name": "ReversalResponse", "baseName": "ReversalResponse", "type": "ReversalResponse" }, { - "name": "securityTrailer", + "name": "SecurityTrailer", "baseName": "SecurityTrailer", "type": "ContentInformation" }, { - "name": "soundResponse", + "name": "SoundResponse", "baseName": "SoundResponse", "type": "SoundResponse" }, { - "name": "storedValueResponse", + "name": "StoredValueResponse", "baseName": "StoredValueResponse", "type": "StoredValueResponse" }, { - "name": "transactionStatusResponse", + "name": "TransactionStatusResponse", "baseName": "TransactionStatusResponse", "type": "TransactionStatusResponse" }, { - "name": "transmitResponse", + "name": "TransmitResponse", "baseName": "TransmitResponse", "type": "TransmitResponse" } ]; diff --git a/src/typings/terminal/saleToPOISecuredMessage.ts b/src/typings/terminal/saleToPOISecuredMessage.ts index 5a53cd7..8c89945 100644 --- a/src/typings/terminal/saleToPOISecuredMessage.ts +++ b/src/typings/terminal/saleToPOISecuredMessage.ts @@ -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 { MessageHeader } from "./messageHeader"; -import { SecurityTrailer } from "./securityTrailer"; +import { MessageHeader } from './messageHeader'; +import { SecurityTrailer } from './securityTrailer'; export class SaleToPOISecuredMessage { - "messageHeader": MessageHeader; - "nexoBlob": string; - "securityTrailer": SecurityTrailer; + 'MessageHeader': MessageHeader; + 'NexoBlob': string; + 'SecurityTrailer': SecurityTrailer; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "messageHeader", + "name": "MessageHeader", "baseName": "MessageHeader", "type": "MessageHeader" }, { - "name": "nexoBlob", + "name": "NexoBlob", "baseName": "NexoBlob", "type": "string" }, { - "name": "securityTrailer", + "name": "SecurityTrailer", "baseName": "SecurityTrailer", "type": "SecurityTrailer" } ]; diff --git a/src/typings/terminal/securityKey.ts b/src/typings/terminal/securityKey.ts index 5461cfe..035db05 100644 --- a/src/typings/terminal/securityKey.ts +++ b/src/typings/terminal/securityKey.ts @@ -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 SecurityKey { - "adyenCryptoVersion": number; - "keyIdentifier": string; - "keyVersion": number; - "passphrase": string; + 'AdyenCryptoVersion': number; + 'KeyIdentifier': string; + 'KeyVersion': number; + 'Passphrase': string; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "adyenCryptoVersion", + "name": "AdyenCryptoVersion", "baseName": "AdyenCryptoVersion", "type": "number" }, { - "name": "keyIdentifier", + "name": "KeyIdentifier", "baseName": "KeyIdentifier", "type": "string" }, { - "name": "keyVersion", + "name": "KeyVersion", "baseName": "KeyVersion", "type": "number" }, { - "name": "passphrase", + "name": "Passphrase", "baseName": "Passphrase", "type": "string" } ]; diff --git a/src/typings/terminal/securityTrailer.ts b/src/typings/terminal/securityTrailer.ts index dacd660..adea101 100644 --- a/src/typings/terminal/securityTrailer.ts +++ b/src/typings/terminal/securityTrailer.ts @@ -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 { AnyType } from "./anyType"; export class SecurityTrailer { - "adyenCryptoVersion"?: number; - "hmac"?: AnyType; - "keyIdentifier"?: string; - "keyVersion"?: number; - "nonce"?: AnyType; + 'AdyenCryptoVersion'?: number; + 'Hmac'?: any | null; + 'KeyIdentifier'?: string; + 'KeyVersion'?: number; + 'Nonce'?: 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": "adyenCryptoVersion", + "name": "AdyenCryptoVersion", "baseName": "AdyenCryptoVersion", "type": "number" }, { - "name": "hmac", + "name": "Hmac", "baseName": "Hmac", - "type": "AnyType" + "type": "any" }, { - "name": "keyIdentifier", + "name": "KeyIdentifier", "baseName": "KeyIdentifier", "type": "string" }, { - "name": "keyVersion", + "name": "KeyVersion", "baseName": "KeyVersion", "type": "number" }, { - "name": "nonce", + "name": "Nonce", "baseName": "Nonce", - "type": "AnyType" + "type": "any" } ]; static getAttributeTypeMap() { diff --git a/src/typings/terminal/sensitiveCardData.ts b/src/typings/terminal/sensitiveCardData.ts index cad329d..5080db5 100644 --- a/src/typings/terminal/sensitiveCardData.ts +++ b/src/typings/terminal/sensitiveCardData.ts @@ -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 { TrackData } from "./trackData"; +import { TrackData } from './trackData'; export class SensitiveCardData { - "cardSeqNumb"?: string; - "expiryDate"?: string; - "pAN"?: string; - "trackData"?: TrackData[]; + 'CardSeqNumb'?: string; + 'ExpiryDate'?: string; + 'PAN'?: string; + 'TrackData'?: Array; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "cardSeqNumb", + "name": "CardSeqNumb", "baseName": "CardSeqNumb", "type": "string" }, { - "name": "expiryDate", + "name": "ExpiryDate", "baseName": "ExpiryDate", "type": "string" }, { - "name": "pAN", + "name": "PAN", "baseName": "PAN", "type": "string" }, { - "name": "trackData", + "name": "TrackData", "baseName": "TrackData", "type": "Array" } ]; diff --git a/src/typings/terminal/sensitiveMobileData.ts b/src/typings/terminal/sensitiveMobileData.ts index 07ebdbe..3f73d9e 100644 --- a/src/typings/terminal/sensitiveMobileData.ts +++ b/src/typings/terminal/sensitiveMobileData.ts @@ -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 SensitiveMobileData { - "iMEI"?: string; - "iMSI"?: string; - "mSISDN": string; + 'IMEI'?: string; + 'IMSI'?: string; + 'MSISDN': string; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "iMEI", + "name": "IMEI", "baseName": "IMEI", "type": "string" }, { - "name": "iMSI", + "name": "IMSI", "baseName": "IMSI", "type": "string" }, { - "name": "mSISDN", + "name": "MSISDN", "baseName": "MSISDN", "type": "string" } ]; diff --git a/src/typings/terminal/serviceProfilesType.ts b/src/typings/terminal/serviceProfilesType.ts index b6df580..61eefda 100644 --- a/src/typings/terminal/serviceProfilesType.ts +++ b/src/typings/terminal/serviceProfilesType.ts @@ -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 ServiceProfilesType { - Batch = "Batch" as any, - CardReader = "CardReader" as any, - Communication = "Communication" as any, - Loyalty = "Loyalty" as any, - OneTimeRes = "OneTimeRes" as any, - PIN = "PIN" as any, - Reservation = "Reservation" as any, - Sound = "Sound" as any, - StoredValue = "StoredValue" as any, - Synchro = "Synchro" as any + Batch = 'Batch', + CardReader = 'CardReader', + Communication = 'Communication', + Loyalty = 'Loyalty', + OneTimeRes = 'OneTimeRes', + Pin = 'PIN', + Reservation = 'Reservation', + Sound = 'Sound', + StoredValue = 'StoredValue', + Synchro = 'Synchro' } diff --git a/src/typings/terminal/servicesEnabledType.ts b/src/typings/terminal/servicesEnabledType.ts index 73f7333..b9a82b2 100644 --- a/src/typings/terminal/servicesEnabledType.ts +++ b/src/typings/terminal/servicesEnabledType.ts @@ -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 ServicesEnabledType { - CardAcquisition = "CardAcquisition" as any, - Loyalty = "Loyalty" as any, - Payment = "Payment" as any + CardAcquisition = 'CardAcquisition', + Loyalty = 'Loyalty', + Payment = 'Payment' } diff --git a/src/typings/terminal/shopperInteractionDevice.ts b/src/typings/terminal/shopperInteractionDevice.ts index e4cc357..5b54bf9 100644 --- a/src/typings/terminal/shopperInteractionDevice.ts +++ b/src/typings/terminal/shopperInteractionDevice.ts @@ -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 ShopperInteractionDevice { - "os"?: string; - "osVersion"?: string; - "locale"?: string; + 'os'?: string; + 'osVersion'?: string; + 'locale'?: string; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "os", "baseName": "os", diff --git a/src/typings/terminal/signaturePoint.ts b/src/typings/terminal/signaturePoint.ts index 93bc8d5..9b77418 100644 --- a/src/typings/terminal/signaturePoint.ts +++ b/src/typings/terminal/signaturePoint.ts @@ -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 SignaturePoint { - "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" } ]; diff --git a/src/typings/terminal/signedData.ts b/src/typings/terminal/signedData.ts index d264f8c..e42bb1a 100644 --- a/src/typings/terminal/signedData.ts +++ b/src/typings/terminal/signedData.ts @@ -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,43 +11,42 @@ */ -import { AlgorithmIdentifier } from "./algorithmIdentifier"; -import { AnyType } from "./anyType"; -import { EncapsulatedContent } from "./encapsulatedContent"; -import { Signer } from "./signer"; +import { AlgorithmIdentifier } from './algorithmIdentifier'; +import { EncapsulatedContent } from './encapsulatedContent'; +import { Signer } from './signer'; export class SignedData { - "certificate"?: AnyType[]; - "digestAlgorithm": AlgorithmIdentifier[]; - "encapsulatedContent": EncapsulatedContent; - "signer": Signer[]; - "version"?: SignedData.VersionEnum; + 'Certificate'?: Array; + 'DigestAlgorithm': Array; + 'EncapsulatedContent': EncapsulatedContent; + 'Signer': Array; + 'Version'?: SignedData.VersionEnum; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "certificate", + "name": "Certificate", "baseName": "Certificate", - "type": "Array" + "type": "Array" }, { - "name": "digestAlgorithm", + "name": "DigestAlgorithm", "baseName": "DigestAlgorithm", "type": "Array" }, { - "name": "encapsulatedContent", + "name": "EncapsulatedContent", "baseName": "EncapsulatedContent", "type": "EncapsulatedContent" }, { - "name": "signer", + "name": "Signer", "baseName": "Signer", "type": "Array" }, { - "name": "version", + "name": "Version", "baseName": "Version", "type": "SignedData.VersionEnum" } ]; @@ -78,11 +58,11 @@ export class SignedData { export namespace SignedData { 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 = 'V0', + V1 = 'V1', + V2 = 'V2', + V3 = 'V3', + V4 = 'V4', + V5 = 'V5' } } diff --git a/src/typings/terminal/signer.ts b/src/typings/terminal/signer.ts index a9922b3..1c0dd07 100644 --- a/src/typings/terminal/signer.ts +++ b/src/typings/terminal/signer.ts @@ -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 { SignerIdentifier } from "./signerIdentifier"; +import { AlgorithmIdentifier } from './algorithmIdentifier'; +import { SignerIdentifier } from './signerIdentifier'; export class Signer { - "digestAlgorithm": AlgorithmIdentifier; - "signature": AnyType; - "signatureAlgorithm": AlgorithmIdentifier; - "signerIdentifier": SignerIdentifier; - "version"?: Signer.VersionEnum; + 'DigestAlgorithm': AlgorithmIdentifier; + 'Signature': any | null; + 'SignatureAlgorithm': AlgorithmIdentifier; + 'SignerIdentifier': SignerIdentifier; + 'Version'?: Signer.VersionEnum; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "digestAlgorithm", + "name": "DigestAlgorithm", "baseName": "DigestAlgorithm", "type": "AlgorithmIdentifier" }, { - "name": "signature", + "name": "Signature", "baseName": "Signature", - "type": "AnyType" + "type": "any" }, { - "name": "signatureAlgorithm", + "name": "SignatureAlgorithm", "baseName": "SignatureAlgorithm", "type": "AlgorithmIdentifier" }, { - "name": "signerIdentifier", + "name": "SignerIdentifier", "baseName": "SignerIdentifier", "type": "SignerIdentifier" }, { - "name": "version", + "name": "Version", "baseName": "Version", "type": "Signer.VersionEnum" } ]; @@ -77,11 +57,11 @@ export class Signer { export namespace Signer { 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 = 'V0', + V1 = 'V1', + V2 = 'V2', + V3 = 'V3', + V4 = 'V4', + V5 = 'V5' } } diff --git a/src/typings/terminal/signerIdentifier.ts b/src/typings/terminal/signerIdentifier.ts index ef83f7f..b042d63 100644 --- a/src/typings/terminal/signerIdentifier.ts +++ b/src/typings/terminal/signerIdentifier.ts @@ -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 { IssuerAndSerialNumber } from "./issuerAndSerialNumber"; +import { IssuerAndSerialNumber } from './issuerAndSerialNumber'; export class SignerIdentifier { - "issuerAndSerialNumber": IssuerAndSerialNumber; + 'IssuerAndSerialNumber': IssuerAndSerialNumber; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "issuerAndSerialNumber", + "name": "IssuerAndSerialNumber", "baseName": "IssuerAndSerialNumber", "type": "IssuerAndSerialNumber" } ]; diff --git a/src/typings/terminal/soundActionType.ts b/src/typings/terminal/soundActionType.ts index 2fb6fec..e4992f2 100644 --- a/src/typings/terminal/soundActionType.ts +++ b/src/typings/terminal/soundActionType.ts @@ -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 SoundActionType { - SetDefaultVolume = "SetDefaultVolume" as any, - StartSound = "StartSound" as any, - StopSound = "StopSound" as any + SetDefaultVolume = 'SetDefaultVolume', + StartSound = 'StartSound', + StopSound = 'StopSound' } diff --git a/src/typings/terminal/soundContent.ts b/src/typings/terminal/soundContent.ts index 31b83e6..af0e84f 100644 --- a/src/typings/terminal/soundContent.ts +++ b/src/typings/terminal/soundContent.ts @@ -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 SoundContent { - "language"?: string; - "referenceID"?: string; - "soundFormat"?: SoundContent.SoundFormatEnum; - "value"?: string; + 'Language'?: string; + 'ReferenceID'?: string; + 'SoundFormat'?: SoundContent.SoundFormatEnum; + '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": "language", + "name": "Language", "baseName": "Language", "type": "string" }, { - "name": "referenceID", + "name": "ReferenceID", "baseName": "ReferenceID", "type": "string" }, { - "name": "soundFormat", + "name": "SoundFormat", "baseName": "SoundFormat", "type": "SoundContent.SoundFormatEnum" }, { - "name": "value", + "name": "Value", "baseName": "Value", "type": "string" } ]; @@ -68,8 +49,8 @@ export class SoundContent { export namespace SoundContent { export enum SoundFormatEnum { - MessageRef = "MessageRef" as any, - SoundRef = "SoundRef" as any, - Text = "Text" as any + MessageRef = 'MessageRef', + SoundRef = 'SoundRef', + Text = 'Text' } } diff --git a/src/typings/terminal/soundFormatType.ts b/src/typings/terminal/soundFormatType.ts index aeb24b4..b7379bd 100644 --- a/src/typings/terminal/soundFormatType.ts +++ b/src/typings/terminal/soundFormatType.ts @@ -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 SoundFormatType { - MessageRef = "MessageRef" as any, - SoundRef = "SoundRef" as any, - Text = "Text" as any + MessageRef = 'MessageRef', + SoundRef = 'SoundRef', + Text = 'Text' } diff --git a/src/typings/terminal/soundRequest.ts b/src/typings/terminal/soundRequest.ts index 91476e9..a180c64 100644 --- a/src/typings/terminal/soundRequest.ts +++ b/src/typings/terminal/soundRequest.ts @@ -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,35 +11,35 @@ */ -import { SoundActionType } from "./soundActionType"; -import { SoundContent } from "./soundContent"; +import { SoundActionType } from './soundActionType'; +import { SoundContent } from './soundContent'; export class SoundRequest { - "responseMode"?: SoundRequest.ResponseModeEnum; - "soundAction": SoundActionType; - "soundContent": SoundContent; - "soundVolume"?: number; + 'ResponseMode'?: SoundRequest.ResponseModeEnum; + 'SoundAction': SoundActionType; + 'SoundContent': SoundContent; + 'SoundVolume'?: number; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "responseMode", + "name": "ResponseMode", "baseName": "ResponseMode", "type": "SoundRequest.ResponseModeEnum" }, { - "name": "soundAction", + "name": "SoundAction", "baseName": "SoundAction", "type": "SoundActionType" }, { - "name": "soundContent", + "name": "SoundContent", "baseName": "SoundContent", "type": "SoundContent" }, { - "name": "soundVolume", + "name": "SoundVolume", "baseName": "SoundVolume", "type": "number" } ]; @@ -70,9 +51,9 @@ export class SoundRequest { export namespace SoundRequest { export enum ResponseModeEnum { - Immediate = "Immediate" as any, - NotRequired = "NotRequired" as any, - PrintEnd = "PrintEnd" as any, - SoundEnd = "SoundEnd" as any + Immediate = 'Immediate', + NotRequired = 'NotRequired', + PrintEnd = 'PrintEnd', + SoundEnd = 'SoundEnd' } } diff --git a/src/typings/terminal/soundResponse.ts b/src/typings/terminal/soundResponse.ts index 0c79a3f..d3a1627 100644 --- a/src/typings/terminal/soundResponse.ts +++ b/src/typings/terminal/soundResponse.ts @@ -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 SoundResponse { - "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" } ]; diff --git a/src/typings/terminal/sponsoredMerchant.ts b/src/typings/terminal/sponsoredMerchant.ts index d5e6cdc..c47decb 100644 --- a/src/typings/terminal/sponsoredMerchant.ts +++ b/src/typings/terminal/sponsoredMerchant.ts @@ -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,37 +13,37 @@ export class SponsoredMerchant { - "merchantAddress"?: string; - "merchantCategoryCode": string; - "merchantCountry": string; - "merchantName": string; - "registrationID"?: string; + 'MerchantAddress'?: string; + 'MerchantCategoryCode': string; + 'MerchantCountry': string; + 'MerchantName': string; + 'RegistrationID'?: string; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "merchantAddress", + "name": "MerchantAddress", "baseName": "MerchantAddress", "type": "string" }, { - "name": "merchantCategoryCode", + "name": "MerchantCategoryCode", "baseName": "MerchantCategoryCode", "type": "string" }, { - "name": "merchantCountry", + "name": "MerchantCountry", "baseName": "MerchantCountry", "type": "string" }, { - "name": "merchantName", + "name": "MerchantName", "baseName": "MerchantName", "type": "string" }, { - "name": "registrationID", + "name": "RegistrationID", "baseName": "RegistrationID", "type": "string" } ]; diff --git a/src/typings/terminal/storedValueAccountId.ts b/src/typings/terminal/storedValueAccountId.ts index 8d22eae..f9aecb0 100644 --- a/src/typings/terminal/storedValueAccountId.ts +++ b/src/typings/terminal/storedValueAccountId.ts @@ -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 { IdentificationType } from "./identificationType"; -import { StoredValueAccountType } from "./storedValueAccountType"; +import { IdentificationType } from './identificationType'; +import { StoredValueAccountType } from './storedValueAccountType'; export class StoredValueAccountId { - "entryMode": StoredValueAccountId.EntryModeEnum[]; - "expiryDate"?: string; - "identificationType": IdentificationType; - "ownerName"?: string; - "storedValueAccountType": StoredValueAccountType; - "storedValueProvider"?: string; - "value"?: string; + 'EntryMode': Array; + 'ExpiryDate'?: string; + 'IdentificationType': IdentificationType; + 'OwnerName'?: string; + 'StoredValueAccountType': StoredValueAccountType; + 'StoredValueProvider'?: string; + '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" }, { - "name": "expiryDate", + "name": "ExpiryDate", "baseName": "ExpiryDate", "type": "string" }, { - "name": "identificationType", + "name": "IdentificationType", "baseName": "IdentificationType", "type": "IdentificationType" }, { - "name": "ownerName", + "name": "OwnerName", "baseName": "OwnerName", "type": "string" }, { - "name": "storedValueAccountType", + "name": "StoredValueAccountType", "baseName": "StoredValueAccountType", "type": "StoredValueAccountType" }, { - "name": "storedValueProvider", + "name": "StoredValueProvider", "baseName": "StoredValueProvider", "type": "string" }, { - "name": "value", + "name": "Value", "baseName": "Value", "type": "string" } ]; @@ -88,16 +69,16 @@ export class StoredValueAccountId { export namespace StoredValueAccountId { 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 = 'Contactless', + File = 'File', + Icc = 'ICC', + Keyed = 'Keyed', + MagStripe = 'MagStripe', + Manual = 'Manual', + Mobile = 'Mobile', + Rfid = 'RFID', + Scanned = 'Scanned', + SynchronousIcc = 'SynchronousICC', + Tapped = 'Tapped' } } diff --git a/src/typings/terminal/storedValueAccountStatus.ts b/src/typings/terminal/storedValueAccountStatus.ts index dd0ff25..4d30a44 100644 --- a/src/typings/terminal/storedValueAccountStatus.ts +++ b/src/typings/terminal/storedValueAccountStatus.ts @@ -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 { StoredValueAccountId } from "./storedValueAccountId"; +import { StoredValueAccountId } from './storedValueAccountId'; export class StoredValueAccountStatus { - "currentBalance"?: number; - "storedValueAccountID": StoredValueAccountId; + 'CurrentBalance'?: number; + 'StoredValueAccountID': StoredValueAccountId; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "currentBalance", + "name": "CurrentBalance", "baseName": "CurrentBalance", "type": "number" }, { - "name": "storedValueAccountID", + "name": "StoredValueAccountID", "baseName": "StoredValueAccountID", "type": "StoredValueAccountId" } ]; diff --git a/src/typings/terminal/storedValueAccountType.ts b/src/typings/terminal/storedValueAccountType.ts index d34f08b..b38781c 100644 --- a/src/typings/terminal/storedValueAccountType.ts +++ b/src/typings/terminal/storedValueAccountType.ts @@ -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 StoredValueAccountType { - GiftCard = "GiftCard" as any, - Other = "Other" as any, - PhoneCard = "PhoneCard" as any + GiftCard = 'GiftCard', + Other = 'Other', + PhoneCard = 'PhoneCard' } diff --git a/src/typings/terminal/storedValueData.ts b/src/typings/terminal/storedValueData.ts index 1aa07e0..51e1bf4 100644 --- a/src/typings/terminal/storedValueData.ts +++ b/src/typings/terminal/storedValueData.ts @@ -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,60 +11,60 @@ */ -import { OriginalPOITransaction } from "./originalPOITransaction"; -import { StoredValueAccountId } from "./storedValueAccountId"; -import { StoredValueTransactionType } from "./storedValueTransactionType"; +import { OriginalPOITransaction } from './originalPOITransaction'; +import { StoredValueAccountId } from './storedValueAccountId'; +import { StoredValueTransactionType } from './storedValueTransactionType'; export class StoredValueData { - "currency": string; - "eanUpc"?: string; - "itemAmount": number; - "originalPOITransaction"?: OriginalPOITransaction; - "productCode"?: string; - "storedValueAccountID"?: StoredValueAccountId; - "storedValueProvider"?: string; - "storedValueTransactionType": StoredValueTransactionType; + 'Currency': string; + 'EanUpc'?: string; + 'ItemAmount': number; + 'OriginalPOITransaction'?: OriginalPOITransaction; + 'ProductCode'?: string; + 'StoredValueAccountID'?: StoredValueAccountId; + 'StoredValueProvider'?: string; + 'StoredValueTransactionType': StoredValueTransactionType; 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": "eanUpc", + "name": "EanUpc", "baseName": "EanUpc", "type": "string" }, { - "name": "itemAmount", + "name": "ItemAmount", "baseName": "ItemAmount", "type": "number" }, { - "name": "originalPOITransaction", + "name": "OriginalPOITransaction", "baseName": "OriginalPOITransaction", "type": "OriginalPOITransaction" }, { - "name": "productCode", + "name": "ProductCode", "baseName": "ProductCode", "type": "string" }, { - "name": "storedValueAccountID", + "name": "StoredValueAccountID", "baseName": "StoredValueAccountID", "type": "StoredValueAccountId" }, { - "name": "storedValueProvider", + "name": "StoredValueProvider", "baseName": "StoredValueProvider", "type": "string" }, { - "name": "storedValueTransactionType", + "name": "StoredValueTransactionType", "baseName": "StoredValueTransactionType", "type": "StoredValueTransactionType" } ]; diff --git a/src/typings/terminal/storedValueRequest.ts b/src/typings/terminal/storedValueRequest.ts index c308d39..3da5cd0 100644 --- a/src/typings/terminal/storedValueRequest.ts +++ b/src/typings/terminal/storedValueRequest.ts @@ -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 { SaleData } from "./saleData"; -import { StoredValueData } from "./storedValueData"; +import { SaleData } from './saleData'; +import { StoredValueData } from './storedValueData'; export class StoredValueRequest { - "customerLanguage"?: string; - "saleData": SaleData; - "storedValueData": StoredValueData[]; + 'CustomerLanguage'?: string; + 'SaleData': SaleData; + 'StoredValueData': Array; 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": "saleData", + "name": "SaleData", "baseName": "SaleData", "type": "SaleData" }, { - "name": "storedValueData", + "name": "StoredValueData", "baseName": "StoredValueData", "type": "Array" } ]; diff --git a/src/typings/terminal/storedValueResponse.ts b/src/typings/terminal/storedValueResponse.ts index 4628ffe..c48a4dd 100644 --- a/src/typings/terminal/storedValueResponse.ts +++ b/src/typings/terminal/storedValueResponse.ts @@ -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 { POIData } from "./pOIData"; -import { Response } from "./response"; -import { SaleData } from "./saleData"; -import { StoredValueResult } from "./storedValueResult"; +import { POIData } from './pOIData'; +import { Response } from './response'; +import { SaleData } from './saleData'; +import { StoredValueResult } from './storedValueResult'; export class StoredValueResponse { - "pOIData": POIData; - "response": Response; - "saleData": SaleData; - "storedValueResult"?: StoredValueResult[]; + 'POIData': POIData; + 'Response': Response; + 'SaleData': SaleData; + 'StoredValueResult'?: Array; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "pOIData", + "name": "POIData", "baseName": "POIData", "type": "POIData" }, { - "name": "response", + "name": "Response", "baseName": "Response", "type": "Response" }, { - "name": "saleData", + "name": "SaleData", "baseName": "SaleData", "type": "SaleData" }, { - "name": "storedValueResult", + "name": "StoredValueResult", "baseName": "StoredValueResult", "type": "Array" } ]; diff --git a/src/typings/terminal/storedValueResult.ts b/src/typings/terminal/storedValueResult.ts index d51c06d..8694cfe 100644 --- a/src/typings/terminal/storedValueResult.ts +++ b/src/typings/terminal/storedValueResult.ts @@ -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,54 @@ */ -import { StoredValueAccountStatus } from "./storedValueAccountStatus"; -import { StoredValueTransactionType } from "./storedValueTransactionType"; -import { TransactionIdentification } from "./transactionIdentification"; +import { StoredValueAccountStatus } from './storedValueAccountStatus'; +import { StoredValueTransactionType } from './storedValueTransactionType'; +import { TransactionIdentification } from './transactionIdentification'; export class StoredValueResult { - "currency": string; - "eanUpc"?: string; - "hostTransactionID"?: TransactionIdentification; - "itemAmount": number; - "productCode": string; - "storedValueAccountStatus": StoredValueAccountStatus; - "storedValueTransactionType": StoredValueTransactionType; + 'Currency': string; + 'EanUpc'?: string; + 'HostTransactionID'?: TransactionIdentification; + 'ItemAmount': number; + 'ProductCode': string; + 'StoredValueAccountStatus': StoredValueAccountStatus; + 'StoredValueTransactionType': StoredValueTransactionType; 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": "eanUpc", + "name": "EanUpc", "baseName": "EanUpc", "type": "string" }, { - "name": "hostTransactionID", + "name": "HostTransactionID", "baseName": "HostTransactionID", "type": "TransactionIdentification" }, { - "name": "itemAmount", + "name": "ItemAmount", "baseName": "ItemAmount", "type": "number" }, { - "name": "productCode", + "name": "ProductCode", "baseName": "ProductCode", "type": "string" }, { - "name": "storedValueAccountStatus", + "name": "StoredValueAccountStatus", "baseName": "StoredValueAccountStatus", "type": "StoredValueAccountStatus" }, { - "name": "storedValueTransactionType", + "name": "StoredValueTransactionType", "baseName": "StoredValueTransactionType", "type": "StoredValueTransactionType" } ]; diff --git a/src/typings/terminal/storedValueTransactionType.ts b/src/typings/terminal/storedValueTransactionType.ts index 431979c..109534a 100644 --- a/src/typings/terminal/storedValueTransactionType.ts +++ b/src/typings/terminal/storedValueTransactionType.ts @@ -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 StoredValueTransactionType { - Activate = "Activate" as any, - Duplicate = "Duplicate" as any, - Load = "Load" as any, - Reserve = "Reserve" as any, - Reverse = "Reverse" as any, - Unload = "Unload" as any + Activate = 'Activate', + Duplicate = 'Duplicate', + Load = 'Load', + Reserve = 'Reserve', + Reverse = 'Reverse', + Unload = 'Unload' } diff --git a/src/typings/terminal/terminalApiRequest.ts b/src/typings/terminal/terminalApiRequest.ts index 23fcc45..2230970 100644 --- a/src/typings/terminal/terminalApiRequest.ts +++ b/src/typings/terminal/terminalApiRequest.ts @@ -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 { SaleToPOIRequest } from "./saleToPOIRequest"; +import { SaleToPOIRequest } from './saleToPOIRequest'; export class TerminalApiRequest { - "saleToPOIRequest": SaleToPOIRequest; + 'SaleToPOIRequest': SaleToPOIRequest; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "saleToPOIRequest", + "name": "SaleToPOIRequest", "baseName": "SaleToPOIRequest", "type": "SaleToPOIRequest" } ]; diff --git a/src/typings/terminal/terminalApiResponse.ts b/src/typings/terminal/terminalApiResponse.ts index 474ae54..ee0a2f1 100644 --- a/src/typings/terminal/terminalApiResponse.ts +++ b/src/typings/terminal/terminalApiResponse.ts @@ -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 { SaleToPOIResponse } from "./saleToPOIResponse"; +import { SaleToPOIResponse } from './saleToPOIResponse'; export class TerminalApiResponse { - "saleToPOIResponse"?: SaleToPOIResponse; + 'SaleToPOIResponse'?: SaleToPOIResponse; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "saleToPOIResponse", + "name": "SaleToPOIResponse", "baseName": "SaleToPOIResponse", "type": "SaleToPOIResponse" } ]; diff --git a/src/typings/terminal/terminalApiSecuredRequest.ts b/src/typings/terminal/terminalApiSecuredRequest.ts index 9ee2a11..c94351c 100644 --- a/src/typings/terminal/terminalApiSecuredRequest.ts +++ b/src/typings/terminal/terminalApiSecuredRequest.ts @@ -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 { SaleToPOISecuredMessage } from "./saleToPOISecuredMessage"; +import { SaleToPOISecuredMessage } from './saleToPOISecuredMessage'; export class TerminalApiSecuredRequest { - "saleToPOIRequest"?: SaleToPOISecuredMessage; + 'SaleToPOIRequest'?: SaleToPOISecuredMessage; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "saleToPOIRequest", + "name": "SaleToPOIRequest", "baseName": "SaleToPOIRequest", "type": "SaleToPOISecuredMessage" } ]; diff --git a/src/typings/terminal/terminalApiSecuredResponse.ts b/src/typings/terminal/terminalApiSecuredResponse.ts index c5c10f1..50c3321 100644 --- a/src/typings/terminal/terminalApiSecuredResponse.ts +++ b/src/typings/terminal/terminalApiSecuredResponse.ts @@ -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 { SaleToPOISecuredMessage } from "./saleToPOISecuredMessage"; +import { SaleToPOISecuredMessage } from './saleToPOISecuredMessage'; export class TerminalApiSecuredResponse { - "saleToPOIResponse": SaleToPOISecuredMessage; + 'SaleToPOIResponse': SaleToPOISecuredMessage; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "saleToPOIResponse", + "name": "SaleToPOIResponse", "baseName": "SaleToPOIResponse", "type": "SaleToPOISecuredMessage" } ]; diff --git a/src/typings/terminal/terminalEnvironmentType.ts b/src/typings/terminal/terminalEnvironmentType.ts index 7654723..3af901b 100644 --- a/src/typings/terminal/terminalEnvironmentType.ts +++ b/src/typings/terminal/terminalEnvironmentType.ts @@ -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 TerminalEnvironmentType { - Attended = "Attended" as any, - SemiAttended = "SemiAttended" as any, - Unattended = "Unattended" as any + Attended = 'Attended', + SemiAttended = 'SemiAttended', + Unattended = 'Unattended' } diff --git a/src/typings/terminal/tokenRequestedType.ts b/src/typings/terminal/tokenRequestedType.ts index 3a5ecfc..757c054 100644 --- a/src/typings/terminal/tokenRequestedType.ts +++ b/src/typings/terminal/tokenRequestedType.ts @@ -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 TokenRequestedType { - Customer = "Customer" as any, - Transaction = "Transaction" as any + Customer = 'Customer', + Transaction = 'Transaction' } diff --git a/src/typings/terminal/totalDetailsType.ts b/src/typings/terminal/totalDetailsType.ts index b997c6a..7f6631e 100644 --- a/src/typings/terminal/totalDetailsType.ts +++ b/src/typings/terminal/totalDetailsType.ts @@ -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 TotalDetailsType { - OperatorID = "OperatorID" as any, - POIID = "POIID" as any, - SaleID = "SaleID" as any, - ShiftNumber = "ShiftNumber" as any, - TotalsGroupID = "TotalsGroupID" as any + OperatorId = 'OperatorID', + Poiid = 'POIID', + SaleId = 'SaleID', + ShiftNumber = 'ShiftNumber', + TotalsGroupId = 'TotalsGroupID' } diff --git a/src/typings/terminal/totalFilter.ts b/src/typings/terminal/totalFilter.ts index 86133a7..63373b0 100644 --- a/src/typings/terminal/totalFilter.ts +++ b/src/typings/terminal/totalFilter.ts @@ -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,37 +13,37 @@ export class TotalFilter { - "operatorID"?: string; - "pOIID"?: string; - "saleID"?: string; - "shiftNumber"?: string; - "totalsGroupID"?: string; + 'OperatorID'?: string; + 'POIID'?: string; + 'SaleID'?: string; + 'ShiftNumber'?: string; + 'TotalsGroupID'?: string; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "operatorID", + "name": "OperatorID", "baseName": "OperatorID", "type": "string" }, { - "name": "pOIID", + "name": "POIID", "baseName": "POIID", "type": "string" }, { - "name": "saleID", + "name": "SaleID", "baseName": "SaleID", "type": "string" }, { - "name": "shiftNumber", + "name": "ShiftNumber", "baseName": "ShiftNumber", "type": "string" }, { - "name": "totalsGroupID", + "name": "TotalsGroupID", "baseName": "TotalsGroupID", "type": "string" } ]; diff --git a/src/typings/terminal/trackData.ts b/src/typings/terminal/trackData.ts index d0b2eb6..c7681ca 100644 --- a/src/typings/terminal/trackData.ts +++ b/src/typings/terminal/trackData.ts @@ -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 TrackData { - "trackFormat"?: TrackData.TrackFormatEnum; - "trackNumb"?: number; - "value"?: string; + 'TrackFormat'?: TrackData.TrackFormatEnum; + 'TrackNumb'?: number; + '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": "trackFormat", + "name": "TrackFormat", "baseName": "TrackFormat", "type": "TrackData.TrackFormatEnum" }, { - "name": "trackNumb", + "name": "TrackNumb", "baseName": "TrackNumb", "type": "number" }, { - "name": "value", + "name": "Value", "baseName": "Value", "type": "string" } ]; @@ -62,11 +43,11 @@ export class TrackData { export namespace TrackData { export enum TrackFormatEnum { - AAMVA = "AAMVA" as any, - CMC7 = "CMC-7" as any, - E13B = "E-13B" as any, - ISO = "ISO" as any, - JISI = "JIS-I" as any, - JISII = "JIS-II" as any + Aamva = 'AAMVA', + Cmc7 = 'CMC-7', + E13B = 'E-13B', + Iso = 'ISO', + JisI = 'JIS-I', + JisIi = 'JIS-II' } } diff --git a/src/typings/terminal/trackFormatType.ts b/src/typings/terminal/trackFormatType.ts index 04a98bd..4d7de5c 100644 --- a/src/typings/terminal/trackFormatType.ts +++ b/src/typings/terminal/trackFormatType.ts @@ -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 TrackFormatType { - AAMVA = "AAMVA" as any, - CMC7 = "CMC-7" as any, - E13B = "E-13B" as any, - ISO = "ISO" as any, - JISI = "JIS-I" as any, - JISII = "JIS-II" as any + Aamva = 'AAMVA', + Cmc7 = 'CMC-7', + E13B = 'E-13B', + Iso = 'ISO', + JisI = 'JIS-I', + JisIi = 'JIS-II' } diff --git a/src/typings/terminal/transactionActionType.ts b/src/typings/terminal/transactionActionType.ts index 65bc781..8543e5b 100644 --- a/src/typings/terminal/transactionActionType.ts +++ b/src/typings/terminal/transactionActionType.ts @@ -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 TransactionActionType { - AbortTransaction = "AbortTransaction" as any, - StartTransaction = "StartTransaction" as any + AbortTransaction = 'AbortTransaction', + StartTransaction = 'StartTransaction' } diff --git a/src/typings/terminal/transactionConditions.ts b/src/typings/terminal/transactionConditions.ts index 93f92c9..8bb8b1c 100644 --- a/src/typings/terminal/transactionConditions.ts +++ b/src/typings/terminal/transactionConditions.ts @@ -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 TransactionConditions { - "acquirerID"?: string[]; - "allowedLoyaltyBrand"?: string[]; - "allowedPaymentBrand"?: string[]; - "customerLanguage"?: string; - "debitPreferredFlag"?: boolean; - "forceEntryMode"?: TransactionConditions.ForceEntryModeEnum[][]; - "forceOnlineFlag"?: boolean; - "loyaltyHandling"?: TransactionConditions.LoyaltyHandlingEnum; - "merchantCategoryCode"?: string; + 'AcquirerID'?: Array; + 'AllowedLoyaltyBrand'?: Array; + 'AllowedPaymentBrand'?: Array; + 'CustomerLanguage'?: string; + 'DebitPreferredFlag'?: boolean; + 'ForceEntryMode'?: Array>; + 'ForceOnlineFlag'?: boolean; + 'LoyaltyHandling'?: TransactionConditions.LoyaltyHandlingEnum; + 'MerchantCategoryCode'?: 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" }, { - "name": "allowedLoyaltyBrand", + "name": "AllowedLoyaltyBrand", "baseName": "AllowedLoyaltyBrand", "type": "Array" }, { - "name": "allowedPaymentBrand", + "name": "AllowedPaymentBrand", "baseName": "AllowedPaymentBrand", "type": "Array" }, { - "name": "customerLanguage", + "name": "CustomerLanguage", "baseName": "CustomerLanguage", "type": "string" }, { - "name": "debitPreferredFlag", + "name": "DebitPreferredFlag", "baseName": "DebitPreferredFlag", "type": "boolean" }, { - "name": "forceEntryMode", + "name": "ForceEntryMode", "baseName": "ForceEntryMode", "type": "Array>" }, { - "name": "forceOnlineFlag", + "name": "ForceOnlineFlag", "baseName": "ForceOnlineFlag", "type": "boolean" }, { - "name": "loyaltyHandling", + "name": "LoyaltyHandling", "baseName": "LoyaltyHandling", "type": "TransactionConditions.LoyaltyHandlingEnum" }, { - "name": "merchantCategoryCode", + "name": "MerchantCategoryCode", "baseName": "MerchantCategoryCode", "type": "string" } ]; @@ -98,23 +79,23 @@ export class TransactionConditions { export namespace TransactionConditions { 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 = 'CheckReader', + Contactless = 'Contactless', + File = 'File', + Icc = 'ICC', + Keyed = 'Keyed', + MagStripe = 'MagStripe', + Manual = 'Manual', + Rfid = 'RFID', + Scanned = 'Scanned', + SynchronousIcc = 'SynchronousICC', + Tapped = '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 = 'Allowed', + Forbidden = 'Forbidden', + Processed = 'Processed', + Proposed = 'Proposed', + Required = 'Required' } } diff --git a/src/typings/terminal/transactionIdentification.ts b/src/typings/terminal/transactionIdentification.ts index 981a968..5da35ef 100644 --- a/src/typings/terminal/transactionIdentification.ts +++ b/src/typings/terminal/transactionIdentification.ts @@ -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 TransactionIdentification { - "timeStamp": string; - "transactionID": string; + 'TimeStamp': string; + 'TransactionID': string; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "timeStamp", + "name": "TimeStamp", "baseName": "TimeStamp", "type": "string" }, { - "name": "transactionID", + "name": "TransactionID", "baseName": "TransactionID", "type": "string" } ]; diff --git a/src/typings/terminal/transactionStatusRequest.ts b/src/typings/terminal/transactionStatusRequest.ts index db038b2..dc5dd4c 100644 --- a/src/typings/terminal/transactionStatusRequest.ts +++ b/src/typings/terminal/transactionStatusRequest.ts @@ -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 { MessageReference } from "./messageReference"; +import { MessageReference } from './messageReference'; export class TransactionStatusRequest { - "documentQualifier"?: TransactionStatusRequest.DocumentQualifierEnum[]; - "messageReference"?: MessageReference; - "receiptReprintFlag"?: boolean; + 'DocumentQualifier'?: Array; + 'MessageReference'?: MessageReference; + 'ReceiptReprintFlag'?: boolean; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "documentQualifier", + "name": "DocumentQualifier", "baseName": "DocumentQualifier", "type": "Array" }, { - "name": "messageReference", + "name": "MessageReference", "baseName": "MessageReference", "type": "MessageReference" }, { - "name": "receiptReprintFlag", + "name": "ReceiptReprintFlag", "baseName": "ReceiptReprintFlag", "type": "boolean" } ]; @@ -63,11 +44,11 @@ export class TransactionStatusRequest { export namespace TransactionStatusRequest { export enum DocumentQualifierEnum { - 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 = 'CashierReceipt', + CustomerReceipt = 'CustomerReceipt', + Document = 'Document', + Journal = 'Journal', + SaleReceipt = 'SaleReceipt', + Voucher = 'Voucher' } } diff --git a/src/typings/terminal/transactionStatusResponse.ts b/src/typings/terminal/transactionStatusResponse.ts index f5f51b6..f9263c5 100644 --- a/src/typings/terminal/transactionStatusResponse.ts +++ b/src/typings/terminal/transactionStatusResponse.ts @@ -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 { MessageReference } from "./messageReference"; -import { RepeatedMessageResponse } from "./repeatedMessageResponse"; -import { Response } from "./response"; +import { MessageReference } from './messageReference'; +import { RepeatedMessageResponse } from './repeatedMessageResponse'; +import { Response } from './response'; export class TransactionStatusResponse { - "messageReference"?: MessageReference; - "repeatedMessageResponse"?: RepeatedMessageResponse; - "response": Response; + 'MessageReference'?: MessageReference; + 'RepeatedMessageResponse'?: RepeatedMessageResponse; + '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": "messageReference", + "name": "MessageReference", "baseName": "MessageReference", "type": "MessageReference" }, { - "name": "repeatedMessageResponse", + "name": "RepeatedMessageResponse", "baseName": "RepeatedMessageResponse", "type": "RepeatedMessageResponse" }, { - "name": "response", + "name": "Response", "baseName": "Response", "type": "Response" } ]; diff --git a/src/typings/terminal/transactionToPerform.ts b/src/typings/terminal/transactionToPerform.ts index a741c96..7788c7f 100644 --- a/src/typings/terminal/transactionToPerform.ts +++ b/src/typings/terminal/transactionToPerform.ts @@ -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 { LoyaltyRequest } from "./loyaltyRequest"; -import { PaymentRequest } from "./paymentRequest"; -import { ReversalRequest } from "./reversalRequest"; +import { LoyaltyRequest } from './loyaltyRequest'; +import { PaymentRequest } from './paymentRequest'; +import { ReversalRequest } from './reversalRequest'; export class TransactionToPerform { - "loyaltyRequest"?: LoyaltyRequest; - "paymentRequest"?: PaymentRequest; - "reversalRequest"?: ReversalRequest; + 'LoyaltyRequest'?: LoyaltyRequest; + 'PaymentRequest'?: PaymentRequest; + 'ReversalRequest'?: ReversalRequest; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "loyaltyRequest", + "name": "LoyaltyRequest", "baseName": "LoyaltyRequest", "type": "LoyaltyRequest" }, { - "name": "paymentRequest", + "name": "PaymentRequest", "baseName": "PaymentRequest", "type": "PaymentRequest" }, { - "name": "reversalRequest", + "name": "ReversalRequest", "baseName": "ReversalRequest", "type": "ReversalRequest" } ]; diff --git a/src/typings/terminal/transactionTotals.ts b/src/typings/terminal/transactionTotals.ts index b4e6be8..d70431d 100644 --- a/src/typings/terminal/transactionTotals.ts +++ b/src/typings/terminal/transactionTotals.ts @@ -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,102 +11,102 @@ */ -import { LoyaltyTotals } from "./loyaltyTotals"; -import { PaymentInstrumentType } from "./paymentInstrumentType"; -import { PaymentTotals } from "./paymentTotals"; +import { LoyaltyTotals } from './loyaltyTotals'; +import { PaymentInstrumentType } from './paymentInstrumentType'; +import { PaymentTotals } from './paymentTotals'; export class TransactionTotals { - "acquirerID"?: string; - "cardBrand"?: string; - "errorCondition"?: TransactionTotals.ErrorConditionEnum; - "hostReconciliationID"?: string; - "loyaltyCurrency"?: string; - "loyaltyTotals"?: LoyaltyTotals[]; - "loyaltyUnit"?: TransactionTotals.LoyaltyUnitEnum; - "operatorID"?: string; - "paymentCurrency"?: string; - "paymentInstrumentType": PaymentInstrumentType; - "paymentTotals"?: PaymentTotals[]; - "pOIID"?: string; - "saleID"?: string; - "shiftNumber"?: string; - "totalsGroupID"?: string; + 'AcquirerID'?: string; + 'CardBrand'?: string; + 'ErrorCondition'?: TransactionTotals.ErrorConditionEnum; + 'HostReconciliationID'?: string; + 'LoyaltyCurrency'?: string; + 'LoyaltyTotals'?: Array; + 'LoyaltyUnit'?: TransactionTotals.LoyaltyUnitEnum; + 'OperatorID'?: string; + 'PaymentCurrency'?: string; + 'PaymentInstrumentType': PaymentInstrumentType; + 'PaymentTotals'?: Array; + 'POIID'?: string; + 'SaleID'?: string; + 'ShiftNumber'?: string; + 'TotalsGroupID'?: 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": "string" }, { - "name": "cardBrand", + "name": "CardBrand", "baseName": "CardBrand", "type": "string" }, { - "name": "errorCondition", + "name": "ErrorCondition", "baseName": "ErrorCondition", "type": "TransactionTotals.ErrorConditionEnum" }, { - "name": "hostReconciliationID", + "name": "HostReconciliationID", "baseName": "HostReconciliationID", "type": "string" }, { - "name": "loyaltyCurrency", + "name": "LoyaltyCurrency", "baseName": "LoyaltyCurrency", "type": "string" }, { - "name": "loyaltyTotals", + "name": "LoyaltyTotals", "baseName": "LoyaltyTotals", "type": "Array" }, { - "name": "loyaltyUnit", + "name": "LoyaltyUnit", "baseName": "LoyaltyUnit", "type": "TransactionTotals.LoyaltyUnitEnum" }, { - "name": "operatorID", + "name": "OperatorID", "baseName": "OperatorID", "type": "string" }, { - "name": "paymentCurrency", + "name": "PaymentCurrency", "baseName": "PaymentCurrency", "type": "string" }, { - "name": "paymentInstrumentType", + "name": "PaymentInstrumentType", "baseName": "PaymentInstrumentType", "type": "PaymentInstrumentType" }, { - "name": "paymentTotals", + "name": "PaymentTotals", "baseName": "PaymentTotals", "type": "Array" }, { - "name": "pOIID", + "name": "POIID", "baseName": "POIID", "type": "string" }, { - "name": "saleID", + "name": "SaleID", "baseName": "SaleID", "type": "string" }, { - "name": "shiftNumber", + "name": "ShiftNumber", "baseName": "ShiftNumber", "type": "string" }, { - "name": "totalsGroupID", + "name": "TotalsGroupID", "baseName": "TotalsGroupID", "type": "string" } ]; @@ -137,26 +118,26 @@ export class TransactionTotals { export namespace TransactionTotals { export enum ErrorConditionEnum { - 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 = 'Aborted', + Busy = 'Busy', + Cancel = 'Cancel', + DeviceOut = 'DeviceOut', + InProgress = 'InProgress', + InsertedCard = 'InsertedCard', + InvalidCard = 'InvalidCard', + LoggedOut = 'LoggedOut', + MessageFormat = 'MessageFormat', + NotAllowed = 'NotAllowed', + NotFound = 'NotFound', + PaymentRestriction = 'PaymentRestriction', + Refusal = 'Refusal', + UnavailableDevice = 'UnavailableDevice', + UnavailableService = 'UnavailableService', + UnreachableHost = 'UnreachableHost', + WrongPin = 'WrongPIN' } export enum LoyaltyUnitEnum { - Monetary = "Monetary" as any, - Point = "Point" as any + Monetary = 'Monetary', + Point = 'Point' } } diff --git a/src/typings/terminal/transactionType.ts b/src/typings/terminal/transactionType.ts index f03bf87..d80a7cf 100644 --- a/src/typings/terminal/transactionType.ts +++ b/src/typings/terminal/transactionType.ts @@ -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,23 +13,23 @@ export enum TransactionType { - Award = "Award" as any, - CashAdvance = "CashAdvance" as any, - CompletedDeffered = "CompletedDeffered" as any, - CompletedReservation = "CompletedReservation" as any, - Credit = "Credit" as any, - Debit = "Debit" as any, - Declined = "Declined" as any, - Failed = "Failed" as any, - FirstReservation = "FirstReservation" as any, - IssuerInstalment = "IssuerInstalment" as any, - OneTimeReservation = "OneTimeReservation" as any, - Rebate = "Rebate" as any, - Redemption = "Redemption" as any, - ReverseAward = "ReverseAward" as any, - ReverseCredit = "ReverseCredit" as any, - ReverseDebit = "ReverseDebit" as any, - ReverseRebate = "ReverseRebate" as any, - ReverseRedemption = "ReverseRedemption" as any, - UpdateReservation = "UpdateReservation" as any + Award = 'Award', + CashAdvance = 'CashAdvance', + CompletedDeffered = 'CompletedDeffered', + CompletedReservation = 'CompletedReservation', + Credit = 'Credit', + Debit = 'Debit', + Declined = 'Declined', + Failed = 'Failed', + FirstReservation = 'FirstReservation', + IssuerInstalment = 'IssuerInstalment', + OneTimeReservation = 'OneTimeReservation', + Rebate = 'Rebate', + Redemption = 'Redemption', + ReverseAward = 'ReverseAward', + ReverseCredit = 'ReverseCredit', + ReverseDebit = 'ReverseDebit', + ReverseRebate = 'ReverseRebate', + ReverseRedemption = 'ReverseRedemption', + UpdateReservation = 'UpdateReservation' } diff --git a/src/typings/terminal/transmitRequest.ts b/src/typings/terminal/transmitRequest.ts index df91a1d..0c98535 100644 --- a/src/typings/terminal/transmitRequest.ts +++ b/src/typings/terminal/transmitRequest.ts @@ -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,33 @@ */ -import { AnyType } from "./anyType"; export class TransmitRequest { - "destinationAddress": string; - "maximumTransmitTime": number; - "message": AnyType; - "waitResponseFlag"?: boolean; + 'DestinationAddress': string; + 'MaximumTransmitTime': number; + 'Message': any | null; + 'WaitResponseFlag'?: boolean; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "destinationAddress", + "name": "DestinationAddress", "baseName": "DestinationAddress", "type": "string" }, { - "name": "maximumTransmitTime", + "name": "MaximumTransmitTime", "baseName": "MaximumTransmitTime", "type": "number" }, { - "name": "message", + "name": "Message", "baseName": "Message", - "type": "AnyType" + "type": "any" }, { - "name": "waitResponseFlag", + "name": "WaitResponseFlag", "baseName": "WaitResponseFlag", "type": "boolean" } ]; diff --git a/src/typings/terminal/transmitResponse.ts b/src/typings/terminal/transmitResponse.ts index 47015a2..1f6fdfa 100644 --- a/src/typings/terminal/transmitResponse.ts +++ b/src/typings/terminal/transmitResponse.ts @@ -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 { Response } from "./response"; +import { Response } from './response'; export class TransmitResponse { - "message"?: AnyType; - "response": Response; + 'Message'?: 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": "message", + "name": "Message", "baseName": "Message", - "type": "AnyType" + "type": "any" }, { - "name": "response", + "name": "Response", "baseName": "Response", "type": "Response" } ]; diff --git a/src/typings/terminal/uTMCoordinates.ts b/src/typings/terminal/uTMCoordinates.ts index 4211ad1..35cb17e 100644 --- a/src/typings/terminal/uTMCoordinates.ts +++ b/src/typings/terminal/uTMCoordinates.ts @@ -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 UTMCoordinates { - "uTMEastward": string; - "uTMNorthward": string; - "uTMZone": string; + 'UTMEastward': string; + 'UTMNorthward': string; + 'UTMZone': string; static discriminator: string | undefined = undefined; - static attributeTypeMap: {name: string, baseName: string, type: string}[] = [ + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { - "name": "uTMEastward", + "name": "UTMEastward", "baseName": "UTMEastward", "type": "string" }, { - "name": "uTMNorthward", + "name": "UTMNorthward", "baseName": "UTMNorthward", "type": "string" }, { - "name": "uTMZone", + "name": "UTMZone", "baseName": "UTMZone", "type": "string" } ]; diff --git a/src/typings/terminal/unitOfMeasureType.ts b/src/typings/terminal/unitOfMeasureType.ts index 94aecaf..fe005cb 100644 --- a/src/typings/terminal/unitOfMeasureType.ts +++ b/src/typings/terminal/unitOfMeasureType.ts @@ -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,23 +13,23 @@ export enum UnitOfMeasureType { - Case = "Case" as any, - Centilitre = "Centilitre" as any, - Centimetre = "Centimetre" as any, - Foot = "Foot" as any, - Gram = "Gram" as any, - Inch = "Inch" as any, - Kilogram = "Kilogram" as any, - Kilometre = "Kilometre" as any, - Litre = "Litre" as any, - Meter = "Meter" as any, - Mile = "Mile" as any, - Other = "Other" as any, - Ounce = "Ounce" as any, - Pint = "Pint" as any, - Pound = "Pound" as any, - Quart = "Quart" as any, - UKGallon = "UKGallon" as any, - USGallon = "USGallon" as any, - Yard = "Yard" as any + Case = 'Case', + Centilitre = 'Centilitre', + Centimetre = 'Centimetre', + Foot = 'Foot', + Gram = 'Gram', + Inch = 'Inch', + Kilogram = 'Kilogram', + Kilometre = 'Kilometre', + Litre = 'Litre', + Meter = 'Meter', + Mile = 'Mile', + Other = 'Other', + Ounce = 'Ounce', + Pint = 'Pint', + Pound = 'Pound', + Quart = 'Quart', + UkGallon = 'UKGallon', + UsGallon = 'USGallon', + Yard = 'Yard' } diff --git a/src/typings/terminal/versionType.ts b/src/typings/terminal/versionType.ts index 692bb39..68cfe70 100644 --- a/src/typings/terminal/versionType.ts +++ b/src/typings/terminal/versionType.ts @@ -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 VersionType { - 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 = 'V0', + V1 = 'V1', + V2 = 'V2', + V3 = 'V3', + V4 = 'V4', + V5 = 'V5' }