/**
 * Copyright (c) 2022 International Business Group, Ant Group. All rights reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), the rights to use, copy, modify, merge, and/or distribute the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
 * 1. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE; and
 * 2. If applicable, the use of the Software is also subject to the terms and conditions of any non-disclosure agreement signed by you and the relevant Ant Group entity.
 */
/* eslint-disable @typescript-eslint/no-explicit-any */
// https://developer.apple.com/documentation/apple_pay_on_the_web/apple_pay_on_the_web_version_history

export var APPLE_PAY_VERSION = 2;
export var APPLE_PAY_RECURRING_VERSION = 14;

// https://developer.apple.com/documentation/apple_pay_on_the_web/applepayvalidatemerchantevent

// https://developer.apple.com/documentation/apple_pay_on_the_web/applepaymerchantcapability

// https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymentrequest/1916122-supportednetworks

// https://developer.apple.com/documentation/apple_pay_on_the_web/applepaycontactfield

// https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymentcontact

// https://developer.apple.com/documentation/apple_pay_on_the_web/applepaylineitemtype

//https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymenttiming

//https://developer.apple.com/documentation/apple_pay_on_the_web/applepayrecurringpaymentdateunit

// https://developer.apple.com/documentation/apple_pay_on_the_web/applepaylineitem
/**
 * 
{
    "label": "Subscription",
    "amount": "20.00",
    "type": "final",
    "paymentTiming": "recurring",
    "recurringPaymentStartDate": new Date("2022-01-01T00:00:00"),
    "recurringPaymentIntervalUnit": "month",
    "recurringPaymentIntervalCount": 6,
    "recurringPaymentEndDate": new Date("2024-01-01T00:00:00"),
}
 */

// https://developer.apple.com/documentation/apple_pay_on_the_web/applepayshippingtype

// https://developer.apple.com/documentation/apple_pay_on_the_web/applepayshippingmethod

// https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypayment

// https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymentauthorizedevent

// https://developer.apple.com/documentation/apple_pay_on_the_web/apple_pay_js_api/apple_pay_status_codes

// https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymentauthorizationresult

// https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymentrequest

// https://developer.apple.com/documentation/apple_pay_on_the_web/applepayrecurringpaymentrequest

// https://developer.apple.com/documentation/apple_pay_on_the_web/applepaysession

// IGetMerchantSession spi type

// ICompletePaymentAuthorized spi type

// ICompleteApplePay spi type

// ILogError spi type