/*
 *                       ######
 *                       ######
 * ############    ####( ######  #####. ######  ############   ############
 * #############  #####( ######  #####. ######  #############  #############
 *        ######  #####( ######  #####. ######  #####  ######  #####  ######
 * ###### ######  #####( ######  #####. ######  #####  #####   #####  ######
 * ###### ######  #####( ######  #####. ######  #####          #####  ######
 * #############  #############  #############  #############  #####  ######
 *  ############   ############  #############   ############  #####  ######
 *                                      ######
 *                               #############
 *                               ############
 * Adyen NodeJS API Library
 * Copyright (c) 2020 Adyen B.V.
 * This file is open source and available under the MIT license.
 * See the LICENSE file for more info.
 */

export const localSecuredRes = {
    SaleToPOIResponse: {
        MessageHeader: {
            MessageCategory: "Payment",
            MessageClass: "Service",
            MessageType: "Response",
            POIID: "P400Plus-275039202",
            ProtocolVersion: "3.0",
            SaleID: "325488592",
            ServiceID: "325488592"
        },
        PaymentResponse: {}
    }
};

export const localEncRes = {
    SaleToPOIResponse: {
        MessageHeader: {
            MessageCategory: "Payment",
            MessageClass: "Service",
            MessageType: "Response",
            POIID: "P400Plus-275039202",
            ProtocolVersion: "3.0",
            SaleID: "325488592",
            ServiceID: "325488592",
        },
        NexoBlob: `ei2mTwLeXBRLw6yBzfG7gxinRqVqJB8RKvGRKK+vFmSwSzMtbb3ziiRBVAjgcdTHMoDUewrr56wIqVa1YWw/WexEm3XHbFxxE5in
[encoded data, 10200 characters]
        wfTX9+q35vzFfexggzH0KA7aG8i5DaE+E2qrgras6dpwRWmpzVyX1hNbV8ZENNnTz`,
        SecurityTrailer: {
            AdyenCryptoVersion: 1,
            Hmac: "l+5/pYiAbC0V9Xx78ELNDcLMaqTlqx2OyGha37i/g5g=",
            KeyIdentifier: "CryptoKeyIdentifier12345",
            KeyVersion: 1,
            Nonce: "9iiJMpzKfYs3106ozIKNFQ==",
        },
    },
};

export const wrongEncRes = {
    SaleToPOIResponse: {
        MessageHeader: {
            MessageCategory: "Payment",
            MessageClass: "Service",
            MessageType: "Response",
            POIID: "P400Plus-275039202",
            ProtocolVersion: "3.0",
            SaleID: "325488592",
            ServiceID: "325488592",
        },
        NexoBlob: `WRONG-LeXBRLw6yBzfG7gxinRqVqJB8RKvGRKK+vFmSwSzMtbb3ziiRBVAjgcdTHMoDUewrr56wIqVa1YWw/WexEm3XHbFxxE5in
[encoded data, 10200 characters]
        wfTX9+q35vzFfexggzH0KA7aG8i5DaE+E2qrgras6dpwRWmpzVyX1hNbV8ZENNnTz`,
        SecurityTrailer: {
            AdyenCryptoVersion: 1,
            Hmac: "l+5/pYiAbC0V9Xx78ELNDcLMaqTlqx2OyGha37i/g5g=",
            KeyIdentifier: "CryptoKeyIdentifier12345",
            KeyVersion: 1,
            Nonce: "9iiJMpzKfYs3106ozIKNFQ==",
        },
    },
};
